/*------------------------------------*\
    $FUNCTIONS
\*------------------------------------*/
:root {
  background-color: #F5F5F5;
  font-family: Open Sans, sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body .static-alerts > *:first-child {
  margin-top: 0.25rem;
}
body .static-alerts, body .messages {
  flex: 1;
  width: calc(100% - 1.25rem);
  max-width: 1120px;
  margin-left: 0.625rem;
  margin-right: 0.625rem;
}
body .static-alerts > .messages-alerts, body .messages > .messages-alerts {
  position: fixed;
  top: 10px;
  z-index: 2200;
}
body .main-content {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
body .main-content-inner {
  margin: 0.625rem 0.625rem 3rem 0.625rem;
}
body .help-button-container {
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-right: 1.25rem;
  max-width: calc(1120px + 40px + 1.25rem);
  width: 100%;
}
body .help-button-container > * {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  min-width: 6.25rem;
}