/* Overlay
   ========================================================================== */
#overlay {
    z-index: 100 !important;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(255, 255, 255, 0.75); /* White Opacity */
}

#overlay_content {
    position: relative;
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto;
    margin-top: 5vh;

    width: 600px;
    height: auto;

    padding: 25px;

    background-color: rgba(223, 232, 232, 1.0); /* BOR Grey Bright */

    border-bottom-style: solid;
    border-bottom-width: 10px;
    border-bottom-color: rgba(193, 61, 67, 1.0); /* BOR Red */
}

#overlay_content h2 {
    display: inline-block;
    margin-bottom: 10px;
}

#overlay_content input {
    width: 60% !important;

    padding: 5px 15px 3px 15px;

    background-color: rgba(255, 255, 255, 1.0); /* White */
}

#overlay_content button {
    float: left;

    margin-top: 0px;
    margin-right: 25px;
    margin-left: 0px;

    text-transform: none;
}

#overlay_buttons {
    width: calc(100% - 100px);
    height: auto;
}

#overlay_form {
    width: calc(100% - 100px);
    height: auto;
}

#lead_workers {
    position: absolute;
    right: 1vw;
    bottom: 0px;

    width: 100px;
    height: auto;

    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

#overlay_form {
    display: none;
}

/* Overlay - Responsive
   ========================================================================== */
@media only screen and (max-width: 610px) {

    #overlay_content {
        width: 100%;
    }

}

@media only screen and (max-width: 580px) {

    #overlay_content input {
        width: 100% !important;
    }

    #overlay_content button:first-of-type {
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 410px) {

    #overlay_buttons, #overlay_form {
        width: 100%;
    }

    #lead_workers {
        display: none;
    }

}