﻿:root {
    --cap_symbolblue: #001871;
    --cap_silvergray: #9EA2A2;
    --cap_scarletred: #BA0C2F;
    --cap_airforceyellow: #FFCD00;
    --cap_navyblue: #041E42;
    --cap_skyblue: #B7C9D3;
    --eservices_darkblue: #011526;
    --eservices_lighterblue: #053259;
    --eservices_gold: #f2b705;
    --eservices_widget_topblue: #053259;
    --eservices_widget_bottomblue: #079DD9;
    --eservices_contentbg: #828282;
    --eservices-header-height: 4rem;
    --eservices-20rem: 20rem;
    --eservices-negative-20rem: -20rem;
    --eservices-5rem: 5rem;
    --bs-card-border-radius: 0 !important;
    --bs-card-inner-border-radius: 0 !important;
}

.modal-header {
    background-color: var(--cap_airforceyellow);
    border-bottom: 2px solid var(--eservices_darkblue);
}

    .modal-header h1, .modal-header h2, .modal-header h3, .modal-header h4, .modal-header h5, .modal-header span {
        color: black !important;
    }

.cap-card-header a {
    text-decoration: none;
    color: #011526;
}

.cap-card-footer {
    background-color: #dbdbdb;
    border-top: thin solid var(--eservices_darkblue);
}

    .cap-card-footer a {
        text-decoration: none;
        color: var(--eservices_darkblue);
    }

.page_title {
    font-size: 1.75em;
    font-family: 'Kanit', sans-serif;
    text-transform: uppercase;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
}

.sub_page_title {
    font-size: 1.5em;
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    margin: 0 auto;
    margin-bottom: 10px;
    text-align: center;
    color: white;
    background-color: var(--cap_navyblue);
}

.fullwidth {
    width: 100%;
}

.cap-card-header {
    background-color: var(--cap_navyblue);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
}

.linked_ul {
    padding-top: 0.5em;
}

    .linked_ul li {
        list-style: none;
        list-style-type: none;
        line-height: 1em;
    }

.application_title_div {
    font-family: "Noticia Text", sans-serif;
    background-color: var(--cap_silvergray);
    font-size: 1.2em;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    height: 29px;
    top: 50px;
/*    position: fixed;*/
    z-index: 100;
    width: 100%;
}

.capicon_duo_withlightbg {
    --fa-primary-color: var(--eservices_darkblue);
    --fa-secondary-color: var(--eservices_darkblue);
}

.card_section_header {
    background-color: var(--cap_navyblue);
    color: white;
    padding: 5px;
    margin-left: -17px;
    margin-right: -17px;
    text-align: center;
    font-weight: bold;
}

.list-group-item.cap_active {
    background-color: var(--cap_skyblue);
}

    .list-group-item.cap_active a, .list-group-item.cap_active > i {
        color: black;
        font-weight: bold;
    }

.center_mytext_bro {
    text-align: center !important;
}

#medicalInformationDiv .cap-card-header:hover, #myEventsDiv .cap-card-header:hover {
    cursor: pointer;
    background-color: var(--cap_skyblue);
    color: black;
}

.active_record {
    color: #00a52c;
}

.inactive_record {
    color: #BA0C2F;
}

.invisible_text {
    color: transparent;
    font-size: 0px;
}

.header_row_div {
    background-color: var(--eservices_darkblue);
    color: white;
}

.block_links {
    display: block;
    text-decoration: none;
    background-color: var(--cap_navyblue);
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 1.1em;
}

    .block_links:hover {
        background-color: var(--cap_airforceyellow);
        color: black;
        font-weight: bold;
    }

.toggleableHeader:hover {
    cursor: pointer;
    background-color: var(--cap_skyblue);
    color: black;
}

.centerme_please {
    text-align: center !important;
}

/*START - Step progress Bar*/
.stepper-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    /* @media (max-width: 768px) {
        font-size: 12px;
    }*/
}

    .stepper-item::before {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        left: -50%;
        z-index: 2;
    }

    .stepper-item::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #ccc;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 2;
    }

    .stepper-item .step-counter {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ccc;
        margin-bottom: 6px;
    }

    .stepper-item.active {
        font-weight: bold;
    }

    .stepper-item.completed .step-counter {
        background-color: #4bb543;
    }

    .stepper-item.active .step-counter {
        background-color: var(--cap_airforceyellow);
    }

    .stepper-item.completed::after {
        position: absolute;
        content: "";
        border-bottom: 2px solid #4bb543;
        width: 100%;
        top: 20px;
        left: 50%;
        z-index: 3;
    }

    .stepper-item:first-child::before {
        content: none;
    }

    .stepper-item:last-child::after {
        content: none;
    }

/*use case*/
/*<div class="stepper-wrapper" >
<div class="stepper-item completed" >
<div class="step-counter" > 1</div >
<div class="step-name" > First</div >
</div >
<div class="stepper-item completed" >
<div class="step-counter" > 2</div >
<div class="step-name" > Second</div >
</div >
<div class="stepper-item active" >
<div class="step-counter" > 3</div >
<div class="step-name" > Third</div >
</div >
<div class="stepper-item" >
<div class="step-counter" > 4</div >
<div class="step-name" > Forth</div >
</div >
</div >*/

/*END - Step progress Bar*/


/*Upload Files Styles Start*/
.drop-photos {
    border: 2px dashed var(--eservices_darkblue);
    border-radius: 10px;
    width: 100%;
    text-align: center;
    height: auto;
    padding: 10px;
    margin-bottom: 10px;
}

    .drop-photos.drop-photo-marked {
        background-color: #ccc;
        border-color: #000;
        opacity: .5;
    }

.selectFilesButton {
    display: inline-block;
    padding: 10px;
    background: var(--eservices_darkblue);
    color: white;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #000;
}

    .selectFilesButton:hover {
        background: #ddd;
        color: black;
    }

    .selectFilesButton.hide {
        display: none;
    }

.selectFiles {
    display: none;
}

.drop-hint.hide {
    display: none;
}

.drop-notice {
    display: none;
    padding: 25px;
}

    .drop-notice.show {
        display: block;
    }
/*Upload Files Styles End*/

.notextdecoration {
    text-decoration: none;
}

.required_blockelement {
    background-color: #ffa8a8;
}


.upload_saveinfo {
    color: var(--cap_symbolblue);
    text-decoration: none;
    font-weight: bold;
}

.upload_deletefile {
    color: var(--cap_symbolblue);
    text-decoration: none;
    font-weight: bold;
}

.upload_downloadall {
    color: var(--cap_symbolblue);
    text-decoration: none;
    font-weight: bold;
}

.copy_event {
    cursor: pointer;
}

.delete_event {
    cursor: pointer;
}

.copy_event:hover {
    color: var(--cap_scarletred);
}

.application_titleLink {
    text-decoration: none;
    color: var(--eservices_darkblue);
}

#app-menu a {
    text-decoration: none;
}

.document-editor {
    border: thin solid var(--cap_navyblue);
}

.status_bar_text {
    font-weight: bold;
    text-transform: uppercase;
}

.status_bar_text_dark {
    font-weight: bold;
    text-transform: uppercase;
    color: black;
}

.generic_status_color {
    background-color: var(--cap_symbolblue);
}

.btn-group .btn {
    border: thin solid var(--eservices_darkblue) !important;
}

label.btn-outline-primary {
    color: var(--cap_navyblue);
}

.btn-check:checked + .btn {
    background-color: var(--eservices_darkblue);
}

.showElement {
    display: block;
}
/*Added becasue display:block messes with a full width table */
.ShowTable{
    display: table;
}

.hideElement {
    display: none;
}

.bad_input_border {
    border: 2px solid red;
}
