:root {
    --myBlue: #1E305C;
    --myred: #D21919;
    --myOrange: #FF4032;
    --myPale: #FAF2F2;
    --myDisabledGrey: #CFCFCF;
    --myButtonFont: 'Gotham', sans-serif;
}


body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-y: scroll;
}

@media (max-width: 500px) {
    body {
        background-color: lightsteelblue;
    }
}

@media (max-width: 400px) {
    body {
        background-color: lightsteelblue;
    }
}

@media (max-width: 375px) {
    body {
        background-color: lightsteelblue;
        ;
    }
}




#divLogo,
#divLogoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color:#1E305C;*/
    background-color: var(--myBlue);
    z-index: 6;
}

@media (max-width: 500px) {

    #divLogo,
    #divLogoModal {
        background-color: var(--myBlue);
    }
}

@media (max-width: 400px) {

    #divLogo,
    #divLogoModal {
        background-color: var(--myBlue);
    }
}

@media (max-width: 375px) {

    #divLogo,
    #divLogoModal {
        background-color: var(--myBlue);
    }
}

#divLogin {
    display: block;
    position: fixed;
    margin-top: 38%;
    z-index: 2;
}


#text5DigitsMessage {
    margin-top: 5%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    color:var(--myBlue);
}

@media (max-width: 500px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 22px;
        color:var(--myBlue);
    }
}

@media (max-width: 400px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 22px;
        color: var(--myBlue);
    }
}

@media (max-width: 375px) {
    #text5DigitsMessage {
        margin-top: 5%;
        font-size: 22px;
        color:var(--myBlue);
    }
}



#inputCode {
    height: 42px;
    width: 40%;
    border-style: outset;
    border-width: 1px;
    border-color: #D21919;
    border-radius: 4px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 38px;
    color: var(--myBlue);
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 30px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family:Verdana, Geneva, Tahoma, sans-serif;
        border-color: black;
    }
}

@media (max-width: 400px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 30px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        border-color: var(--myBlue);
    }
}

@media (max-width: 375px) {
    #inputCode {
        height: 60px;
        width: 180px;
        font-size: 28px;
        border-radius: 4px;
        color: var(--myBlue);
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        border-color: black;
    }
}

#btnLogin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    height: 42px;
    width: 40%;
    font-size: 32px;
    color: white;
    background-color: #FF4032;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    border-color: transparent;
}

@media (max-width: 500px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}

@media (max-width: 400px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}

@media (max-width: 375px) {
    #btnLogin {
        width: 180px;
        color: white;
        background-color: var(--myBlue);
    }
}


#divLoginError {
    background-color: transparent;
    border-style: dashed;
    border-width: 5px;
    border-color: transparent;
}

#loginError {
    font-size: 20px;
    color: #D21919;
}

#divManagerName {
    display: block;
    position: absolute;
    /* margin-top: 110px; */
    height: 20px;
    background-color:  var(--myBlue);
    color: white;
    overflow: hidden;
    width: 100%;
    text-align: center;
    justify-content: center;
}

@media (max-width: 500px) {
    #divManagerName {
            /* margin-top: 110px; */
        height: 20px;
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    #divManagerName {
           /* margin-top: 110px; */
        height: 20px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    #divManagerName {
            /* margin-top: 110px; */
        height: 20px;
        font-size: 12px;
    }
}


#managerName {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    vertical-align: middle;
    font-size: 16px; 
}


#divSelector {
    position: relative;
    display: block;
    background-color: transparent;
    min-height: 50px;
    height: 50px;
    /*z-index: 8888;*/
}

#tableSelector {
    margin-left: 2%;
}

#tableSelector td {
    position: relative;
    /* Ensure relative positioning for width adjustment */
    padding-right: 0px;
    /* Adjust padding to accommodate the clear icon */
}

.select2-wrapper {
    position: relative;
}

.select-element {
    border-color: transparent;

    /*
    width: calc(100% - 50px);
    background-color:red;
    z-index: 998;
    */
}

.close-icon {
    z-index: 9;
    position: relative;
    top: 0;
    right: 0;
    margin-top: 2px;
    margin-left: 285px;
    cursor: pointer;
    color: whitesmoke;
    font-size: 35px;
    border-style: none;
}

.select2-results__option {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select2-container {
    position: absolute !important;
    /* Use absolute positioning */
    margin-left: 2px !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    left: 0 !important;
}

.select2-container--default .select2-dropdown--below {
    left: 10px !important;
    right: auto !important;
}

.select2-selection__clear {
    position: absolute;
    top: 90%;
    /* Adjust top position as needed */
    right: 100px;
    /* Adjust right position as needed */
    z-index: 11;
    /* Ensure the clear icon appears above other elements */
}

#divChecks {
    position: relative;
    display: block;
    margin-top: 5px;
    flex-direction: column;
    background-color: lightsteelblue;
    min-height: 65%;
    height: 65%;
    width: 100%;
    overflow-y: scroll;
}

@media (max-width: 500px) {
    #divChecks {
        /*margin-top: 35%;*/
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    #divChecks {
        /*margin-top: 30%;*/
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    #divChecks {
        /*margin-top: 25%;*/
        min-height: 75%;
        height: 75%;
        background-color: lightsteelblue;
        font-size: 11px;
    }
}

.button-container {
    display: flex;
    /* Make the container a flex container */
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: nowrap;
}


.check-button {
    width: 65%;
    /* Adjust the width of each button */
    margin-left: 0px;
    margin-bottom: 1px;
    /* Add some margin between buttons */
    margin-right: 1px;
    align-items: center;
    white-space: nowrap;
    background-color: white;
    color: #1E305C;
    cursor: not-allowed;
}

.btn.check-button:disabled {
    opacity: 100%;
    background-color: white;
    color: #1E305C;
    border-color: white;
    cursor: not-allowed;
    /* Change cursor to indicate it's not clickable */
    /* Add any other styles you want to apply to the disabled button */
}

@media (max-width: 500px) {
    .check-button {
        min-height: 80px;
        max-height: 80px;
        height: 80px;
    }
}

@media (max-width: 400px) {
    .check-button {
        min-height: 75px;
        max-height: 75px;
        height: 75px;
    }
}

@media (max-width: 375px) {
    .check-button {
        min-height: 72px;
        max-height: 72px;
        height: 72px;
    }
}

.span-date {
    padding-left: -10px;
}

.inout-button {
    width: 15%;
    margin-bottom: 1px;
    margin-right: 1px;
    align-items: center;
    white-space: nowrap;
    text-align: center;
    font-size: 16px;
    border-color: transparent;
    /* Add any other desired styling */
}

@media (max-width: 500px) {
    .inout-button {
        min-height: 80px;
        max-height: 80px;
        height: 80px;
        font-size: 14px;
        ;
    }
}

@media (max-width: 400px) {
    .inout-button {
        min-height: 75px;
        max-height: 75px;
        height: 75px;
        font-size: 13px;
        ;
    }
}

@media (max-width: 375px) {
    .inout-button {
        min-height: 72px;
        max-height: 72px;
        height: 72px;
        font-size: 12px;
        ;
    }
}

.inout-button span {
    display: block;
    width: 100%;
    text-align: center;
}



button span {
    display: block;
    /* Ensure each span is displayed as a block element */
    padding: 0;
    margin-bottom: -8px;
    border-color: transparent;
    /* Adjust margin-bottom as needed */
}

.button-container .btn-success {
    background-color: #1E305C;
    color: white;
    border-color: transparent;
}

.button-container .btn-danger {
    background-color: #FF4032;
    color: white;
    border-color: transparent;
}


.modal-dialog {
    background-color: lightsteelblue;
    margin: 0;
    height: 100%;
    width: 100%;
}

.modal-content {
    background-color: lightsteelblue;
    height: 100%;
}


.modal-body img {
    max-width: 100%;
    max-height: auto;
    margin: auto;
    display: block;
}


#divSpinner {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-left: 0%;
    margin-top: 90%;
    background-color: transparent;
    z-index: 9999;
}

#realSpinner {
    width: 4rem;
    height: 4rem;
}

#loadingText{
    margin-top: 10px;
    display: inline-block;
    background-color: transparent;
    color:  var(--myOrange);
    font-size: 18px;
}

.text-red {
    background-color: transparent;
    color: var(--myOrange)
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px;
    /* Adjust the line height to increase the height */
}

.select2-container--default .select2-selection--single {
    height: 40px;
    /* Adjust the height as needed */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    /* Match the height of the selection box */
}

#divVersion {
    background-color: transparent;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    z-index: 8;
    display: block;
    position: fixed;
    padding-right: 3px;
    /* Position the div */
    top: 0;
    /* Position at the top of the viewport */
    right: 5px;
    /* Align to the right of the viewport */
}

#shiftModalContent {
    margin-top: 22%;
    background-color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.modalFields {
    display: flex;
    flex-direction: row;
    justify-content: center;
    vertical-align: center;
    text-align: center;
    font-size: 14px;
}

.modalFields2 {
    margin-left: 1%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    vertical-align: center;
    text-align: center;
    font-size: 14px;
}

.shiftLabels2 {
    width: 90%;
    min-width: 90%;
    max-width: 90%;
    text-align: left;
}

.divSub {


    display: flex;
    flex-direction: column;

    border-style: solid;
    border-radius: 2px;
    border-color: lightsteelblue;
    border-width: 1px;
}

#shiftPk {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 17px;
    color: var(--myOrange);
    font-weight: 110%d;
}

#shiftPromoter {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    color: var(--myBlue);
    font-weight: bold;
}



input[type="checkbox"] {
    margin-left: 2px;
    width: 20px;
    height: 20px;
}