:root {
    --scale: 1.0; /* default scale value, will be overridden in each document wrapper */
}

html, body {
    height: 100%;
}

/* https://css-tricks.com/couple-takes-sticky-footer/ */
body {
    display: flex;
    flex-direction: column;
}

main.page-container {
    padding-top: 1rem;
    padding-bottom: 2rem;
    flex: 1 0 auto;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

h1, h2, h3, h4, h5, h6 {
    font-family: Nunito,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

#navbarContainer {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;  /* bootstrap overlays start at 1000 */
}

.header {
    width: 100%;
    -webkit-transition: -webkit-box-shadow .3s ease-in-out!important;
    transition: box-shadow .3s ease-in-out!important;
    z-index: 999;
}

.header:hover, .header__sticky {
    -webkit-box-shadow: 0 3px 2rem 0 rgb(0 0 0 / 13%);
    box-shadow: 0 3px 2rem rgb(0 0 0 / 13%);
    background-color: hsla(0,0%,100%,.9)!important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

nav.navbar {
    max-width: 124em;
}

a.nav-link {
    color: rgb(0,0,0,0.84);
}
a.nav-link:hover {
    color: #374bff;
}

#sidebar a.nav-link:hover {
    background-color: #f1f3f4;
    cursor: pointer
}

#sidebar {
    min-width: 250px;
    max-width: 280px;
}

#sidebarModal, #sidebar {
    height: 100vh;
}

.footer {
    background: #e8e9ea;
    position: relative;
    padding: 1.5rem 0;
}

.footer a {
    color: #5f6368
}

.footer a:hover {
    color: #202124
}

.flat-list li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0
}

.flat-list li+li:before {
    display: inline-block;
    padding-left: 6px;
    padding-right: 9px;
    content: "|"
}


.subcontent {
    margin-left: 1em;
    margin-right: 1em;
}

.center {
    width: -moz-fit-content;
    width: fit-content;
    margin: auto;
    display: block;
}
 /* End Positioning */


 /* Sizing */
.fill-window {
    position: absolute;
    top: 0;
    left: 0;
    min-width: -moz-fit-content;
    min-width: fit-content;
    width: 100%;
    height: max(calc(100vh - 1em), 100%);  /* prevent one scrollbar from creating another */
}

.small-width {
    max-width: 575px;
}

.w-45 {
    width: 45%;
}
 /* End Sizing */

.section-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

.flex-1 {
    flex: 1;
}

div.page-overlay {
    position: fixed;
    opacity: 0.2;
    background-color: black;
}

div.high-overlay {
    z-index: 2500 !important;
}

/* override btn-primary color */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #295bff;
    border-color: #295bff;
    color: #fff!important;
}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):hover {
    background-color: #4367f7;
    -webkit-box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
}

.section-title {
    font-size: 1.7em;
    font-weight: bold;
}

.fine-print {
    margin: auto;
    font-size: 0.75rem;
    font-weight: 300;
    text-align: center;
}

.secondary-tagline {
    font-size: 1.5rem;
}
.form-row {
    margin-bottom: 1rem;
}

.input-sizer {
    position: absolute;
    height: 0;
    overflow: hidden;
    white-space: pre;
    opacity: 0;
}

.hidden-compatibility {
    display: none;
}

/* normalize select height, border radius
   will only show the first line of a chosen select option */
select, .chosen-container .chosen-single {
    border-radius: 4px;
    height: 2rem;
}

.toast.bottom-right-toast {
    position: fixed;
    bottom: 2em;
    right: 2em;
    z-index: 1100;
}

.toast {
    transition: background-color 0.6s ease;
}
.toast-header {
    background-color: rgba(255,255,255,.5)
}
.toast.showing {
    background-color: #7f7;
}
#copyErrorToast.showing {
    background-color: #f77;
}
#RabbitSign-display-prepDoc-dateFormatToast-div.showing {
    background-color: #999;
}

.object-fit-contain {
    object-fit: contain;
}

.compliance-report-row img {
    max-height: 8em;
    object-fit: contain;
}
.compliance-report-row td i {
    font-size: 2em;
}

#sponsorFrame {
    margin: 1rem;
    text-align: center
}

/* not to be confused with the logo-customizable in the Cognito login.css, which isn't part of the website */
.logo-customizable {
    max-width: 300px;
    max-height: 200px;
    object-fit: contain;
}

.cta {
    font-size: 1.6rem;
}

.display-5 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
}

.font-size-inherit {
    font-size: inherit!important;
}

.white-space-pre-wrap {
    white-space: pre-wrap;
}

[data-toggle="collapse"]::before {
    content: "- ";
    font-family: monospace;
}
[data-toggle="collapse"].collapsed::before {
    content: "+ ";
}

#fullPageSpinner {
    position: absolute;
    height: 8rem;
    width: 8rem;
    top: calc(50% - 4rem);
    left: calc(50% - 4rem);
    z-index: 3000;
}
