body::-webkit-scrollbar {
    width: 12px;
}
   
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
   
body::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    outline: 1px solid slategrey;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --blue: #4c8598;
    --dk-blue: #182c35;
    --teal: #04a1c1;
    --gray: #dadada;
    --white: #fff;
    --green: rgb(8, 163, 99);
    --warning: rgb(232, 141, 31);
    --delete: rgb(196, 64, 64);
    --body-copy: "Lora", "Georgia", serif;
    --pws-none: red;
    --pws-low: orange;
    --pws-mid: yellow;
    --pws-high: green;
    font-family: var(--body-copy);
    font-size: 16px;
}
@font-face {
    font-family: 'Lora'; 
    src: 'https://cdn.thebanyanteam.com/Lora.ttf' format('truetype');
}
body {
    background: linear-gradient(90deg, var(--dk-gray), #1a1a1a);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
.wrapper {
    display: grid;
    grid-template-columns: 1fr repeat(6, 1fr) 1fr;
    grid-template-rows: auto;
    width: 100%;
    padding: 2em 0;
}
.wrapper > div {
    grid-column: 2 / -2;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 36px;
}
h2, h3, h4, h5, h6 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 18px;
}
p {
    font-size: 16px;
}
a {
    color: inherit;
    text-decoration: none;
}
.dk_blue_text {
    color: var(--dk-blue);
}
.green {
    background-color: var(--green) !important;
    color: var(--white) !important;
    transition: all 0.2s ease-in-out;
}
.green_text {
    color: var(--green) !important;
}
.delete {
    color: var(--delete);
}
.header_public {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: var(--dk-blue);
    color: var(--white);
    padding: 48px;
    margin-bottom: 24px;
}
/* FOOTER */
.main_footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    padding: 24px 64px;
    margin-top: 24px;
    background-color: var(--dk-blue);
    color: var(--white);
}
.main_footer div {
    text-align: center;
}
.main_footer a:hover {
    color: var(--gray);
}
.main_footer img {
    width: 100px;
    height: 50px;
}

/* FILE UPLOADING */
#progress_bar_container {
    display: block; 
    width: 100%; 
    height: 32px; 
}
#recommendation_progress_bar, #transcript_progress_bar {
    display: block; 
    height: 30px; 
    width: 0%; 
    background-color: var(--teal);
}
#recommendation_upload, #transcript_upload {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}
#transcript_label, #recommendation_label {
    display: block;
    position: relative;
    width: 200px;
    height: 50px;
    background: var(--blue);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin: 6px 0;
}
#upload_transcript_btn, #upload_recommendation_btn, #finish_review_btn {
    position: relative;
    width: 200px;
    height: 50px;
    background: var(--gray);
    color: var(--dk-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-top: 6px;
}
#finish_review_btn {
    margin: 0;
    height: 40px;
}
@media only screen and (max-width: 500px) {
    .btn_wrapper {
        flex-flow: row wrap !important;
    }
    #finish_review {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 24px 0;
    }
}
#upload_img_btn img, #upload_file_btn img {
    width: 30px;
    height: 30px;
    filter: invert(20%);
    margin-right: 12px;
}
#image_label:hover, #upload_img_btn:hover, #upload_file_btn:hover {
    width: 205px;
    letter-spacing: 1px;
    background: #71a3b4;
}
#upload_img_btn:hover, #upload_file_btn:hover {
    background: #dddddd;
}
.current_img {
    width: 350px;
    height: 50px;
    background-color: var(--dk-blue);
    color: var(--white);
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    margin: 12px 0;
}
.rm_image_btn {
    background-color: var(--dk-blue);
    border-left: 2px solid var(--white);
}
#img_name {
    font-size: 12px;
    color: #555;
}

/* BASE CONTAINERS */
.row_container {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}
.column_container {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
}

.submission_errors {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--warning);
    color: var(--white);
    z-index: 99;
    padding: 12px 48px;
    justify-content: flex-start;
    align-items: center;
}
.submission_errors .close {
    position: absolute;
    top: 18px;
    height: 15px;
    width: 15px;
    right: 48px;
    background-image: url('https://cdn.thebanyanteam.com/images/nav_icon_close.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}
.submission_warning {
    color: var(--warning);
    font-size: 14px;
    margin: 8px 0;
    text-align: center;
}

/* PAGE HEADERS */
.pg_header {
    width: 100%;
    padding: 48px;
    background-color: #132127cc;
    color: var(--white);
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
.pg_header_underlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-image: url('https://cdn.thebanyanteam.com/images/header_bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}
.header_logo {
    width: 75px;
    height: auto;
}
.pg_header a {
    position: absolute;
    top: 30px;
    left: 50px;
    font-size: 12px;
    line-height: 12px;
}
.pg_header a::before {
    content: "<";
    position: absolute;
    top: 0;
    left: -10px;
    fill: var(--white);
    transform: scaleY(120%);
}
.pg_header h1 {
    text-align: center;
}

/* BUTTON */
.btn_wrapper {
    width: 100%;
    margin: 12px 0;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
}
button, .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    background: var(--blue);
    border: 2px solid var(--white);
    color: var(--white);
    letter-spacing: 1px;
    font-weight: bold;
    min-width: 115px;
    height: 40px;
    line-height: 40px;
    transition: all 0.2s ease-in-out;
}
button:hover {
    background-color: #5d93a5;
}
.btn {
    position: relative;
    cursor: pointer;
}
.btn:hover {
    opacity: 0.85;
}
.btn input {
    background: transparent;
    outline: none;
    border: none;
    width: 100%;
    height: 100%;
    user-select: none;
    opacity: 0;
}
.btn_text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn_plain {
    text-decoration: underline;
    color: var(--blue);
}
.btn_icon {
    width: 24px;
    height: 24px;
    border: 2px solid transparent;
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: 8px;
    z-index: -1;
    transition: all 0.2s;
}
.btn_icon svg{
    width: 12px;
    position: absolute;
    top: calc(50% - 9px);
    left: calc(50% - 4px);
    transform: rotate(-45deg);
    fill: var(--white);
    transition: all 0.2s;
}
button:hover + .btn_icon {
    border: 2px solid var(--white);
    right: -10%;
}

/* MAIN FORMS */
form {
    width: 100%;
}
form .main_form {
    width: 100%;
    margin: 12px 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    color: var(--dk-blue);
}
.main_form label {
    width: 100%;
    margin: 24px 0;
}
.main_form input, .main_form textarea, .main_form select {
    outline: none;
    border: none;
    background: var(--gray);
    border-radius: 0;
    height: 40px;
    padding: 4px 8px;
    font-size: 18px;
    width: 100%;
}
.main_form textarea {
    height: unset;
}
.main_form input[type="radio"] {
    width: 24px;
    height: 24px;
    margin-right: 24px;
}
.main_form input[type='checkbox'] {
    width: 50px;
    height: 50px;
}
.form_label {
    display: flex;
    flex-flow: column nowrap;
}
.form_label span {
    order: -1;
    color: var(--teal);
    margin: 6px 0;
}
.form_label > div {
    margin: 12px 0;
    display: flex;
    gap: 12px;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
}
#signup_form .form_label {
    position: relative;
}

.form_steps {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 48px 0;
}
.form_steps::before {
    content: "";
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    width: 100%;
    height: 10px;
    z-index: -1;
    background-color: var(--teal);
}
.form_steps input {
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--teal);
    color: var(--white);
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s ease-in-out;
    outline: none;
    border: none;
}
.form_steps input:hover {
    background-color: #1eb7d6;
}
.form_steps input.active {
    transform: scale(130%);
    background-color: var(--gray);
    color: var(--teal);
    font-size: 12px;
    border: 2px solid var(--teal);
}

/* LOGIN/SIGNUP FORM */
.login_form {
    width: 400px;
    margin: auto;
}
.login_form h3 {
    color: var(--dk-blue);
}
.login_form button {
    margin-bottom: 24px;
}
.login_form span {
    cursor: pointer;
    color: var(--teal);
} 
.login_form button:hover {
    color: var(--white);
    background: #71a3b4;
    width: 115px;
    letter-spacing: 2px;
}
span.signup_err {
    position: absolute;
    top: -10px;
    right: 0px;
    background-color: var(--warning);
    color: var(--white);
    padding: 6px;
    font-size: 10px;
}
.login_form .switch_login {
    background: transparent;
    color: var(--blue);
    display: inline;
}
.login_form .switch_login:hover {
    color: var(--dk-blue);
    background: transparent;
}
.login_forgot_pass {
    width: 400px;
    color: var(--delete);
}
@media only screen and (max-width: 500px) {
    .login_forgot_pass {
        width: 300px;
    }
}

/* CARDS */
.app_card {
    width: 170px;
    height: 170px;
    color: var(--white);
    background: var(--blue);
    padding: 24px;
    margin: 12px;
    transition: all 0.25s ease-in-out;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    text-align: center;

    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: center;
}
.app_card:hover {
    transform: scale(103%);
}

/* VIEW SUBMISSIONS */
.submission_table {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: stretch;
    align-items: stretch;
}
.submission_group {
    margin: 24px 0;
}
.submission_entry:nth-of-type(2n + 1){
    background-color: rgba(0, 0, 0, 0.1);
}
.submission_entry {
    padding: 6px;
    margin: 4px 0;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 12px;
}
.submission_entry span {
    grid-column: 1;
}
.submission_entry span:last-of-type {
    grid-column: 2;
}


#delete_transcript, #delete_recommendation {
    background-color: var(--delete);
    color: var(--white);
    padding: 12px;
    cursor: pointer;
}
#delete_transcript:hover, #delete_recommendation:hover {
    background-color: rgb(196, 88, 88);
}
#transcript_delete_file, #recommendation_delete_file {
    color: var(--delete);
    padding: 2px;
}
#transcript_delete_file a, #recommendation_delete_file a {
    color: var(--body-copy);
    font-weight: bold;
    border-bottom: 2px solid var(var(--body-copy));
}


@media only screen and (max-width: 500px) {
    .wrapper {
        grid-template-columns: 12px repeat(6, 1fr) 12px;
    }
    .login_form {
        width: 100%;
        padding: 24px;
    }
    /* FOOTER */
    .main_footer {
        grid-template-columns: auto;
        gap: 16px;
    }
}

/* LANDING PAGE */
.info_section {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.info_section p {
    padding: 12px 0;
}
.info_section .btn {
    display: inline;
    padding: 8px;
}
.accordion {
    background: rgba(0, 0, 0, 0.05);
    width: 100%;
    margin: 24px 0;
}
.accordion_header {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    position: relative;
    height: 48px;
}
.accordion_header:last-of-type {
    border: none;
}
.accordion_header::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 50px;
    width: 8px;
    height: 8px;
    color: black;
}
.accordion_body {
    padding: 12px;
}
.accordion_body p {
    margin: 12px 0;
}
.accordion_body ul {
    margin-left: 24px;
}

#first_time_modal_underlay {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 2, 94, 0.2);
    backdrop-filter: blur(5px);
}
#first_time_modal {
    z-index: 10001;
    position: fixed;
    top: 15%;
    left: 10%;
    width: 80%;
    height: 70%;
    background-color: var(--gray);
    display: grid;
    grid-template-columns: 48px auto 48px;
    grid-template-rows: 48px repeat(3, auto) 48px;
    align-items: center;
    border-radius: 3px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}
#first_time_modal h3 {
    text-align: center;
    grid-column: 1 / -1;
    grid-row: 2;
}
#first_time_modal p {
    grid-column: 1 / -1;
    margin: 24px;
    font-size: larger;
}
#first_time_modal p strong, #first_time_modal p span {
    color: var(--blue);
    font-size: larger;
}
#first_time_modal a {
    grid-column: 2;
}
.modal_close, #modal_done {
    grid-column: 3;
    grid-row: 1;
    font-weight: bold;
    transform: scaleY(0.9);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
#modal_done {
    grid-row: -1;
    grid-column: 2;
    width: 100%;
}
.modal_close:hover, #modal_done:hover {
    transform: scale(1.3);
    opacity: 0.8;
}
#modal_done:hover {
    transform: scale(1.1);
}

@media only screen and (max-width: 600px) {
    #first_time_modal {
        grid-template-columns: 12px auto 12px;
        width: 96%;
        left: 2%;
        top: 5%;
        height: auto;
        min-width: 350px;
        padding: 12px;
    } 
    #first_time_modal p {
        font-size: 16px;
    }
}

#spinner {
    z-index: 10000;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 2, 94, 0.2);
    backdrop-filter: blur(5px);
}
#spinner::after {
    content: "";
    background-image: url('https://cdn.thebanyanteam.com/images/loading-gear.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    position: fixed;
    top: calc(50% - 100px);
    right: calc(50% - 100px);
    filter: invert(1);
    animation: spin 2s infinite linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

#notfound_pg {
    width: 100%;
    height: 100%;
    background-color: var(--dk-blue);
    color: var(--white);
    font-size: larger;
    padding: 5em;
}
#notfound_pg body {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
#notfound_pg h1, #notfound_pg h2, #notfound_pg a {
    text-align: center;
    font-size: 10em;
}
#notfound_pg h2 {
    font-size: 5em;
}
#notfound_pg a {
    margin: 24px;
    font-size: 2em;
    text-decoration: none;
}

.pws_container {
    width: 100px;
    height: 15px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
#pws_bar {
    height: 100%;
    transition: all 0.1s ease-in-out;
}

@media only screen and (max-width: 900px) {
    .row_container {
        flex-flow: row wrap;
    }
}