﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}
nav.navbar {
    margin-bottom: 0 !important;
}
/* Provide sufficient contrast against white background */
a, a:hover {
    text-decoration: none !important;
    color: black;
}

.blockUI > h1 {
    font-size: 18px !important;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}
.max-width-950 {
    max-width: 950px;
}
.toupper {
    text-transform: uppercase;
}
.tolower {
    text-transform: lowercase;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    background: #1b1a18;
}
body {
    height: calc(100% - 50px - 68px);
}
header {
    height: 50px;
    z-index: 2;
}
    header + .container {
        margin-top: 50px;
        height: 100%;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        padding: 0 !important;
        min-width: 100%;
    }

main {
    width: 100%;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  header {
      height: 57px;
  }
    header + .container {
        margin-top: 57px;
    }
    body {
        height: calc(100% - 57px - 68px);
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
@font-face {
    font-family: "Foundry";
    src: url(../fonts/FoundryNewRegularCE.ttf) format("truetype"),url(../fonts/FoundryNEWMediumWE-Bold.ttf) format("truetype");
}

html {
    position: relative;
    min-height: 100%;
    height: 100%;
}

body {
    background: #FFE600;
    font-family: Foundry !important;
    overflow: hidden;
  
}
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}
footer {
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
header, main, footer {
    background: white;
}
main {
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.main-header {
    width: 100%;
    min-height: 50px !important;
    /* card */
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.11);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
}
    .main-header .back-link {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
        .main-header .back-link :first-child {
            font-size: 20px;
            margin: 0 20px 3px 20px;
        }
.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 0 0 0;
    overflow-y: auto;
}
    .main-content #firefox-scrollbar-fix {
        width: 100%;
        opacity: 0;
        height: 20px;
    }

.quiz-option {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4px 25px;
    /* Options */
    background: #FFE600;
    border-radius: 10px;
    /* Inside Auto Layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0 15px 30px;
    width: min(90%, 338px);
    height: 54px;
    line-height: 1rem;
}

.back-link, .quiz-option {
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}
article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 25px;
    /* Options */
    background: white;
    border: 1px solid #FFE600;
    border-radius: 5px;
    /* Inside Auto Layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    margin-bottom: 30px;
    min-width: min(90%, 338px);
    max-width: 950px;
    width: 80%;
    position: relative;
}

    article h3 {
        text-transform: uppercase;
        font-size: 16px;
        font-weight: bold;
        padding-top: 7px;
        padding-bottom: 7px;
        margin-bottom: 0;
        position: relative;
        width: 100%;
        cursor: pointer;
    }
    article:not(.collapsed) h3 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
article .description-toggle {
    position: absolute;
    right: -10px;
    font-size: 25px;
    font-weight: 300;
    top: -7px;
    cursor: pointer; 
}
    article a {
        text-decoration: underline !important;
    }
article.collapsed .description-toggle::before {
    content: "+";
}
article:not(.collapsed) .description-toggle::before {
    content: "-";
}
    article.collapsed .description-text,
    article.collapsed .toggle-collapse,
    article:not(.collapsed) .toggle-expand {
        display: none;
    }
.main-content .simplebar-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.navbar, .navbar-brand {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
    .navbar-brand img {
        height: 56px;
        padding: 5px 0 !important;
    }
.navbar-collapse {
    flex-grow: 0;
}


@media screen and (max-width: 767px) {
    footer .container a img {
        height: 37px !important;
    }
    .footer form {
        right: 10px !important;
    }
}
@media screen and (max-width: 575.98px), screen and (max-height: 555px) {
    main {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
    }

    header, nav.navbar {
        box-shadow: none;
        border-bottom-width: 0 !important;
        background-color: #FFE600 !important;
    }

    .main-header {
        background: #FFE600;
    }

    .container {
        max-width: 100% !important;
    }

    body {
        height: calc(100% - 50px - 68px);
    }
    .navbar-brand img {
        height: 49px;
    }
}

main > .row > div:last-child {
    display: none;
}
main > .row > div:first-child {
    min-width: 100% !important;
    margin: 0 auto !important;
}
main > .row form .form-group > p {
    display: none;
}
main > .row form > h4:first-child {
    display: none;
}
main > h1 {
    margin-top: 30px;
}

/* Bootbox setup */
.single-line-alert .modal-footer {
    display: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.single-line-alert .bootbox-body {
    text-align: center;
    line-height: 1.8rem;
}

/* End of bootbox setup */

article > .description-text > p:first-child {
    /*text-transform: uppercase;*/
    font-weight: bold;
}

.no-bullets {
    list-style-type: none;
}