:root {
    /*--bulma-scheme-main: grey;
    --bulma-text: #333;*/
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/*undo bulma defaults*/
html {
    background-color: unset;
}

.button.is-link:hover {
    border-width: 0;
}

.checkbox, .radio {
    cursor: default;
    display: block;
}

.list-disc {
    list-style: disc;
    margin-left: 2em;
}

@font-face {
    font-family: 'Audiowide-Regular';
    src: url('../webfonts/Audiowide-Regular.ttf') format('truetype');
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url("content/shared/images/bg.jpg") no-repeat center;
    background-size: cover;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    overflow:auto;
}

    body.soldier-bg {
        color: #333;
        background-color: black;
        background-image: url('../images/bg.jpg');
        background-size: cover;
        background-repeat: no-repeat;
    }

header {
    display: block;
    width: 100%;
    z-index: 10;
}

#jett-header {
    display: flex;
    margin-bottom: 0;
    flex-direction: row;
}

    #jett-header h2 {
        margin-top: .75rem;
        text-align: center;
    }

    #jett-header .title,
    #jett-header .subtitle {
        color: white;
    }

#jett-logo {
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1;
    flex-shrink: 1;
    margin-bottom: 0;
    padding: 0;
}

    #jett-logo h1 {
        font-family: 'Audiowide-Regular';
    }

    #jett-logo > div {
        margin-left: .5em;
    }

    #jett-logo img {
        width: 96px;
        height: 96px;
    }

fieldset {
    margin-bottom: .75em;
}

    fieldset > label {
        font-weight: bold;
        display: block;
    }

    fieldset.text div,
    fieldset.password div {
        /*background-color: #EEE;*/
        display: flex;
        align-items: center;
        /*border-radius: .375rem;*/
    }

        fieldset.text div i {
            margin: 0 .5em 0 1em;
        }

input[type=text], input[type=number], input[type=password] {
    /*background-color: transparent;*/
    /*border: none;*/
    width: 100%;
    /*font-size: 1.25em;*/
    outline: none;
    color: black;
    margin: .2em 0;
    border-width:2px;
    /*padding: .2em;*/
}

    fieldset input[type=text], fieldset input[type=number], fieldset input[type=password], fieldset textarea {
        width: 100%;
    }

    input[type=text] {
        width: 100%;
    }

input[type=number] {
    width: 70px;
}

input[type=radio] ~ .sub-question {
    display: none;
}

input[type=radio]:checked ~ .sub-question {
    display: block;
}

textarea {
    background-color: transparent;
    color: black;
    border: none;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 1.25em;
    font-family: Arial, Helvetica, sans-serif;
    resize: vertical;
    outline: 0;
    padding: .5em .5em .5em .5em;
    width: 100%;
}

fieldset.radio > div > div > label:before {
    position: absolute;
    width: 1em;
    height: 1em;
    display: block;
    border-radius: 50%;
    background-color: white;
    border: solid 2px #0f4eb0;
    content: "";
    top: .55rem;
    left: .65rem;
}

fieldset.radio input[type='radio']:disabled ~ label:before {
    background-color: #bbb;
}

fieldset.radio input[type='radio']:disabled ~ label {
    cursor: not-allowed;
}

fieldset.radio input[type='radio']:checked ~ label {
    background-color: #d2e0f9;
}

fieldset.radio > div > div > input[type='radio']:checked ~ label:before {
    background-color: #0f4eb0;
    background-image: url("../images/radio-checked.svg");
}

fieldset.info > div > div {
    margin-bottom: 8px;
}

    fieldset.info > div > div > label {
        display: inline-block;
        border-radius: 2px;
        padding: 8px 10px 8px 10px;
        position: relative;
    }

fieldset.checkbox > div,
fieldset.radio > div {
    display: flex;
    margin-right: 8px;
    flex-wrap: wrap;
}

fieldset.checkbox.stack > div,
fieldset.radio.stack > div {
    display: block;
}

fieldset.checkbox > div > div,
fieldset.radio > div > div {
    margin-right: 8px;
}

fieldset.checkbox.stack > div > div,
fieldset.radio.stack > div > div {
    margin-bottom: 8px;
}

fieldset.checkbox input[type='checkbox'],
fieldset.radio input[type='radio'] {
    display: none;
}

fieldset:disabled > div > div > label {
    cursor: not-allowed !important;
}

fieldset:disabled > div > div > label:before {
    background-color: #bbb !important;
}
fieldset.checkbox > div > div > label,
fieldset.radio > div > div > label {
    display: inline-block;
    border-radius: 2px;
    padding: 8px 10px 8px 2.25em;
    position: relative;
    user-select: none;
    cursor: pointer;
}

    fieldset.checkbox > div > div > label:before {
        position: absolute;
        width: 1em;
        height: 1em;
        display: block;
        border-radius: 2px;
        background-color: white;
        border: solid 2px #0f4eb0;
        content: "";
        top: .55rem;
        left: .65rem;
    }

fieldset.checkbox > div > div > input[type='checkbox']:checked ~ label {
    background-color: #d2e0f9;
}

    fieldset.checkbox > div > div > input[type='checkbox']:checked ~ label:before {
        background: 50%/50% 50% no-repeat;
        background-color: #fff;
        border-color: transparent;
        background-image: url("../images/checkbox-checked.svg");
    }

/* Dropdown Button */
.dropbtn {
    background-color: #4F87E9;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

    /* Dropdown button on hover & focus */
    .dropbtn:hover, .dropbtn:focus {
        background-color: #3c67b1;
    }

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    min-width: 30em;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #4d5660;
    min-width: 30em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content > div {
        width: 100%;
    }

        /* options inside the dropdown */
        .dropdown-content > div > label {
            color: white;
            padding: 6px 8px;
            text-decoration: none;
            display: block;
            width: 100%;
            box-sizing: border-box;
        }

            /* Change color of dropdown links on hover */
            .dropdown-content > div > label:hover {
                background-color: #393f47;
            }

.show {
    display: block;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .5em;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.dropbtn > .caret {
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

    .dropbtn > .caret.open {
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

.file-upload {
    display: block;
    width: 80%;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    background-color: rgb(240, 240, 240);
    position: relative;
    margin: 1em;
}

@media (min-width: 625px) {
    .file-upload {
        width: 500px;
    }
}

.file-upload-small {
    margin: .2em .5em .5em 1.3em;
    width: 382px;
    height: 30px;
}

.file-clip {
    background: url('../images/icon-attach.svg') 50% 50% no-repeat;
    background-color: rgb(240, 240, 240);
}

.file-upload .file-name {
    position: absolute;
    color: black;
    margin-top: 13px;
    margin-left: 10px;
}

.file-upload-small .file-name {
    margin-top: 5px;
    margin-left: 7px;
}

.file-upload input[type=file] {
    opacity: 0;
    position: absolute;
    width: 92%;
    height: 100%;
    top: 0;
    left: 0;
    font-size: 0;
    cursor: pointer;
}

.file-upload-small .clear-button {
    font-size: 1.4em;
    width: 8%;
}

fieldset.radio input[type="radio"].has-error ~ label:before {
    border: 4px solid hsl(347, 90%, 96%) !important;
    box-shadow: 0 0 0 1px hsl(348, 100%, 61%) !important;
}

textarea.has-error,
.input.has-error {
    background-color: hsl(347, 90%, 96%) !important;
    color: hsl(348, 100%, 61%) !important;
    border: solid 1px red !important;
}

select.has-error {
    background-color: hsl(347, 90%, 96%) !important;
    color: hsl(348, 100%, 61%) !important;
    border: solid 1px red !important;
}

.button {
    /*display: inline-block;*/
    font-weight: bold;
    /*padding: 12px 24px;*/
    font-size: 1.1em;
    min-width: 150px;
    text-align: center;
    box-sizing: border-box;
    padding: .1em 1em;
    background-color: #062C51;
    color:white;
}

    .button.small {
        font-size: .9em;
        padding: 5px 9px;
        min-width: 120px;
    }

.icon-button {
    padding: 5px 9px;
    min-width: 10px;
    font-size: 12px;
}

.button:hover {
    background-color: #0f4eb0;
    border: solid 1px #0f4eb0;
    color: white;
    cursor: pointer;
}

.button:disabled {
    background-color: #0C56A2;
    border: solid 1px #0C56A2;
    color: #BBB;
    cursor: not-allowed;
}

.bg-color-primary {
    background-color: #062C51;
}

.environment-banner {
    background-color: #062C51;
    padding: 4px;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border: 1px solid rgba(0,0,0,.5);
    box-sizing: border-box;
}

.info-banner {
    background-color: #3771d4;
    padding: 4px;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100%;
    border: 1px solid rgba(0,0,0,.5);
    border-radius: 5px;
    box-sizing: border-box;
    margin: 1em 0em;
    display: flex;
    justify-content: center;
}

.info-banner ul li {
    margin: .5em 0em;
}

.warning-banner {
    background-color: #FEF7D7;
    padding: 10px;
    color: black;
    border: 1px solid rgba(0,0,0,.5);
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

.title,
.subtitle {    
    font-weight: 400;
}

.title {
    color: #062C51;
}

.subtitle {
    color: #555;
}

.modal, .modal-background {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.modal {
    align-items: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: fixed;
    z-index: 40;
}

    .modal.is-active {
        display: flex;
    }

.modal-background {
    background-color: rgba(10, 10, 10, 0.86);
}

.modal-content,
.modal-card {
    margin: 0 20px;
    max-height: calc(100vh - 160px);
    overflow: auto;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 769px) {
    .modal-content,
    .modal-card {
        margin: 0 auto;
        max-height: calc(100vh - 40px);
        width: 640px;
    }
}

.modal-close {
    background: none;
    height: 40px;
    position: fixed;
    right: 20px;
    top: 20px;
    width: 40px;
}

.modal-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    overflow: hidden;
    -ms-overflow-y: visible;
    border-radius: 3px;
    /*color: white;*/
}

.modal-card-head {
    align-items: center;
    /*background-color: #484848;*/
    display: flex;
    flex-shrink: 0;
    justify-content: flex-start;
    padding: 1em;
    position: relative;
    /*border-bottom: 1px solid #8F8F8F;*/
    color: white;
}

.modal-card-title {
    /*color: white;*/
    flex-grow: 1;
    flex-shrink: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.modal-card-foot {
    padding: 1em;
}

    .modal-card footer .button {
        float: right !important;
    }

        .modal-card footer .button:not(:first-child) {
            margin-right: 0.5em;
        }

.modal-card-body {
    -webkit-overflow-scrolling: touch;
    /*background-color: #6E6E6E;*/
    flex-grow: 1;
    flex-shrink: 1;
    overflow: auto;
    padding: 20px;
}

#progress-modal modal-card-body {
    /*background-color: #828282;*/
}

@media screen and (max-width: 768px) {
    header {
        background-color: rgb(6,44,81);
    }

    #jett-header {
        padding: .5em 1.5em;
    }

    fieldset.checkbox.mobile-stack > div,
    fieldset.radio.mobile-stack > div {
        display: block;
    }

        fieldset.checkbox.mobile-stack > div > div,
        fieldset.radio.mobile-stack > div > div {
            margin-bottom: 8px;
        }
}

.scrollable-table {
/*    background-color: #dadada;*/
    overflow-x: auto;
    border-radius: 5px;
    border: 1px solid #999;
}

    .scrollable-table::-webkit-scrollbar {
        height: 12px;
        background-color: #dadada;
        border-radius: 0 0 5px 5px;
    }

    .scrollable-table::-webkit-scrollbar-thumb {
/*        background: grey;*/
        border-radius: 5px;
    }

    .scrollable-table > :first-child {
        width: max-content;
    }

    .scrollable-table .tabulator-col-content {
/*        background-color: #dadada;*/
    }

    .scrollable-table .tabulator-header-contents {
        background-color: #dadada;
    }


    @media screen and (min-width: 769px) and (max-width: 1023px) {
        #jett-header {
            padding-left: 1em;
        }
    }

    @media screen and (min-width: 769px) {
        header {
            margin: 0 auto;
            max-width: 1344px;
        }

        #jett-header {
            margin-top: 2.5em;
        }

            #jett-header h2 {
                text-align: left;
            }

        #jett-logo:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 170px;
            height: 4px;
            background-color: #FFD440;
        }

        #jett-logo {
            padding: .5em;
            margin-right: 1em;
        }

        input[type=text] {
            width: 375px;
        }

        textarea {
            width: 425px;
        }

        .button {
            font-size: 1.25em;
            min-width: 200px;
        }

            .button.small {
                font-size: 1em;
                min-width: 130px;
            }

        .scrollable-table > :first-child {
            width: 100%;
        }
    }

    .reminder-text {
    font-size: 14px;
    font-weight: 100;
}

main {
    margin: 1em auto;
    width: 100%;
    max-width: 1344px;
    min-width: 800px;
}

.jett-page-container {
    background-color: #062C51;
    padding: 1em;
    border-radius: 7px;
    margin:0 1em;
}

.jett-page {
    background-color: white;
    padding: 1em;
    border-radius: 5px;
}

.jett-page-header {
    padding: 0 0 .75em 0;
    margin: 0 0 .25em 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ccc;
}

#profile-block {
    display: flex;
    align-items: center;
    gap: .5em;
    font-size: 15px;
    font-weight: 600;
    padding-right: .5em;
    
}

    #profile-block i {
        font-size: 30px;
    }

    #profile-block a {
        color: #062C51;
    }
        #small-logo {
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1;
    flex-shrink: 1;
}

    #small-logo h1 {
        font-family: 'Audiowide-Regular';
        font-size:1.75em;
        
        margin-bottom:.25em;
    }

            #small-logo > div {
                margin-left: .75em;
                color: #062C51;
            }

    #small-logo img {
        width: 70px;
        height: 70px;
    }

.jett-page-body {
    padding-top: 1em;
}

nav {
    margin:.25em;
}
 
nav a {
    color: #062C51;
}

nav a:hover {
    text-decoration:underline;
}

.card {
    --bulma-scheme-main: #062C51 !important;
    --bulma-card-content-background-color: #FFFFFF !important;
    border: 2px solid var(--bulma-scheme-main);
    --bulma-card-radius: 5px;
    --bulma-card-header-color: #EEE;
    --bulma-card-content-padding: 1rem;
}

.radio-container {
    width: fit-content;
}

.counter-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
}

.counter-area .input-counter {
    margin-top: .25em;
    margin-right: 1em;
    color: rgba(0, 0, 0, .5);
}