@font-face {
    font-family: Quicksand;
    src: url('/fonts/Quicksand_Book.otf') format("opentype");
}

@font-face {
    font-family: Quicksand;
    src: url("/fonts/Quicksand_Bold.otf");
    font-weight: bold;
}

* {
    outline: none;
}

html, body {
    font-family: Quicksand, sans-serif !important;
    height: 100%;
}

body {
    ᅠᅠdisplay: flex;
    ᅠᅠflex-direction: column;
}

footer, header {
    width: 100%;
    color: white;
    background-color: black;
}

footer{
    display: flex!important;
}

footer .footer-bar{
    width: 100%;
}


main {
    min-height: 100%;
    margin: 15px;
}

main:after {
    content: "";
    display: block;
    height: 100px;
}


header {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.content {
    ᅠᅠflex: 1 0 auto;
}

.logo-image {
    width: 33%;
    margin-left: 33%;
    margin-right: 33%;
}

.header-links {
    float: right;
    vertical-align: middle;
    padding-right: 20px;
}

.header-link {
    text-transform: uppercase;
}

.header-link a {
    color: white !important;
    margin-left: 10px;
    margin-right: 10px;
}

.header-link a:not(:last-child) {
    border-right: 1px white;
}

.header-link a:hover {
    text-decoration: none;
}
.header-link a.active{
    text-decoration: underline;
}

header .header-bar {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

header .logo-image {
}

.index-links {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.index-links p {
    font-size: 14pt;
}

.index-links a {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}


.btn.btn-cfest {
    color: white;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
    background-color: black;
    border: solid black;
    width: fit-content;
    border-radius: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    margin: 10px;
}

a.btn.btn-cfest:disabled {
    background-color: lightgray;
    border: solid lightgray;
}

.btn.btn-cfest:hover {
    color: lightskyblue;
}

.btn.btn-cfest.apply-online {
    text-transform: uppercase;
    font-size: 30pt;
    width: fit-content;
}

.footer-bar {
    text-transform: uppercase !important;
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}

.footer-bar .copyright-block {
    font-size: 14pt;
    text-align: center;
}

@media (max-width: 991.98px) {
    .footer-bar .copyright-block {
        font-size: 10pt;
        text-align: left;
    }
}


.footer-bar .address-block {
    font-size: 8pt;
}

.alert.alert-danger {
    border-color: black;
}

main .container input:not([type=checkbox]),
main .container-fluid input:not([type=checkbox]),
textarea {
    border-radius: 0;
    border-width: 0 0 1px 0;
    border-color: #000;
}

form input {
    display: block;
    width: 100%;
}

button.btn.btn-cfest {
    width: fit-content;
}

.profile-body {
    word-wrap: break-word;
    text-transform: uppercase;
}

.profile-body .application-actions a:first-child {
    margin-left: 0;
}


#application_form input {
    border-color: #000;
    border-bottom-width: 1px;
    outline: none;
}

.cfest-section-title {
    text-align: center;
    color: #fff;
    background-color: #4a4a4a;
    font-weight: 900;
    margin-bottom: 15px;
}

.cfest-section-subtitle {
    font-style: italic;
}

@media (max-width: 991.98px) {
    .cfest-section-subtitle.text-indent {
        text-indent: 25px;
        margin-top: -7px;
    }
}

.section-hr {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    background: #87878b2b;
    height: 10px;
}

.cfest-label-bm {
    font-style: italic;
}

.cfest-label {
    float: left;
    color: #000000;
}

.question, .questions {
    margin-left: 15px;
    margin-right: 15px;
    display: flex;
    flex-direction: column-reverse;
}

#application_form [type="checkbox"]:checked,
#application_form [type="checkbox"]:not(:checked) {
    opacity: 0;
}

#application_form [type="checkbox"]:checked + label,
#application_form [type="checkbox"]:not(:checked) + label {
    position: relative;
    cursor: pointer;
    display: inline-block;
    color: #666;
}

#application_form [type="checkbox"]:checked + label:before,
#application_form [type="checkbox"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 3px;
    top: 28px;
    width: 18px;
    height: 18px;
    border: 2px solid #383838;
    background: #ababab;
}

#application_form [type="checkbox"]:checked + label:after,
#application_form [type="checkbox"]:not(:checked) + label:after {
    content: '';
    width: 9px;
    height: 20px;
    position: absolute;
    top: 22px;
    left: 11px;
    border: solid #000;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#application_form [type="checkbox"]:checked.certify + label:before,
#application_form [type="checkbox"]:not(:checked).certify + label:before {
    left: -14px;
    top: 4px;
}

#application_form [type="checkbox"]:checked.certify + label:after,
#application_form [type="checkbox"]:not(:checked).certify + label:after {
    left: -5px;
    top: -2px;
}

#application_form [type="checkbox"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.certify {
    flex-direction: unset !important;
}
.section-table input, .borders input {
    border: none;
}

.section-table > .row:first-child {
    border-top: 1px solid #000;
}

.section-table > .row > div:first-child {
    border-left: 1px solid #000;
}

.section-table > .row > div:last-child {
    border-right: 1px solid #000;
}

.section-table > .row > div {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}

.dotted {
    white-space: nowrap;
    display: inline-flex;
}

@media (max-width: 991.98px) {
    .dotted {
        white-space: initial;
    }
}

.wr-line-dotted {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
}

.line-dotted {
    display: inline-block;
    width: 100%;
    border-bottom: 3px dotted;
}

.code, .phone{
    display: inline-flex;
    align-self: center;
}
.code input, .phone input {
    text-align: center;
}
.code {
    width: 50px;
}
.phone {
    width: 100px;
}

.signature, .field {
    border-bottom: 1px solid #000;
}

.field {
    margin-top: 2rem;
}

.fake-textarea {
    border: 1px solid #000 !important;
    height: 350px;
}

.cfest-date {

}

.cfest-submit-block {

}


.questions > label{
    display: inline !important;
}

table .status-rejected{
    color: #a71d2a;
}

table .status-accepted{
    color: #1c7430;
}

table .status-submitted{
    color: #0f6674;
}

table.application-list{
    width: 100%;
    text-align: center;
}

.form-errors + ul > li{
    color: #dc3545; /* text-danger */
}


.toasts-container {
    z-index: 1040;
    right: 0;
}

.files-section .file-section-header {
    background-color: #a9a9a9c9;
    font-size: 1.2rem;
    border: 1px solid #000;
    border-bottom: 0;
}

.files-section .file-section-body {
    border: 1px solid #000;
}

@media (min-width: 991.98px) {
    .files-section .file-section-header  {
        min-height: 90px;
    }

    .files-section .file-section-body {
        min-height: 206px;
    }
}

@media (min-width: 1440px) {
    .files-section .file-section-header  {
        min-height: 55px;
    }
}

.bg-light-gray {
    background-color: lightgray!important;
}

:root {
    --form-control-color: #000;
    --form-control-disabled: #959495;
}

.form-checkbox {
    font-size: 1.2rem;
    line-height: 1.1;
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.5em;
}

.form-checkbox + .form-checkbox {
    margin-top: 1em;
}

.form-checkbox--disabled {
    color: var(--form-control-disabled);
    cursor: not-allowed;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 */
    background-color: #fff;
    /* Not removed via appearance */
    margin: 0;

    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.1em solid #383838;
    border-radius: 0;
    transform: translateY(-0.075em);

    display: grid;
    place-content: center;
}

input[type="checkbox"]::before {
    content: "";
    width: 1em;
    height: 0.95em;
    clip-path: polygon(15.62% 57.7%, 6.39% 72.01%, 44.47% 96.57%, 100% 23.5%, 100% 0%, 41.81% 74.6%);

    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    /* Windows High Contrast Mode */
    background-color: CanvasText;
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

input[type="checkbox"]:focus {
    outline: max(2px, 0.1em) solid currentColor;
    outline-offset: max(2px, 0.1em);
}

input[type="checkbox"]:disabled {
    --form-control-color: var(--form-control-disabled);

    color: var(--form-control-disabled);
    cursor: not-allowed;
}