/* CSS Document */
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 999;
    /* Sit on top */
    padding-top: 0px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

#myBtn {
}

#myBtn:hover {
    cursor: pointer;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #FEFEFE;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    
    to {
        top: 0;
        opacity: 1;
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0;
    }
    
    to {
        top: 0;
        opacity: 1;
    }
}

/* The Close Button */
.close {
    color: #A7A7A7;
    position: absolute;
    right: 21px;
    font-size: 32px;
    z-index: 999;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    padding: 5px 16px 2px;
    height: 83px;
}

/*Application Search*/
#application_search_wrapper {
    position: relative;
    background: rgba(239, 239, 239, 0.470);
    border: 1px solid rgba(177, 177, 177, 0.470);
    border-radius: 7px;
    height: 57px;
    width: 100%;
    max-width: 807px;
    margin: auto;
}

.app_searchbox_submit {
    border: 0px;
    /*important*/
    background-color: transparent;
    /*important*/
    position: absolute;
    /*important*/
    top: 4px;
    right: 12px;
    width: 38px;
    height: 38px;
    z-index: 9999;
}

.app_searchbox {
    border: 1px;
    /*important*/
    background-color: rgba(252, 252, 252, 0);
    /*important*/
    position: relative;
    /*important*/
    bottom: 0px;
    left: 2px;
    width: 90%;
    height: 44px;
    font-size: 1.5em;
    padding: 0;
}

/*Site Search*/
#searchwrapper {
    width: 98%;
    /*follow your image's size*/
    height: 44px;
    /*follow your image's size*/
    /*important*/
    margin: 0px;
    position: absolute;
    /*important*/
    top: 7px;
    left: 14px;
}

#searchwrapper FORM {
    display: inline;
}

.searchbox {
    border: 1px;
    /*important*/
    background-color: transparent;
    /*important*/
    position: relative;
    /*important*/
    top: 15px;
    left: 38px;
    width: 79%;
    height: 44px;
    font-size: 1.5em;
    padding: 0;
}

.searchbox_submit {
    margin: 0 auto;
    max-width: 100%;
    border: 0px solid;
    background-color: #0071BC;
    /*Changes color of button*/
    -webkit-box-shadow: #0071BC 0px 3px 0px;
    /*Changes color of button shadow*/
    -moz-box-shadow: #0071BC 0px 3px 0px;
    /*Changes color of button shadow*/
    box-shadow: #0071BC 0px 3px 0px;
    /*Changes color of button shadow*/
    color: #FFF;
    font-size: 1.1em;
    font-family: Sansation_Regular, arial, helvetica, sans-serif;
    padding: 12px 30px 6px;
    text-decoration: none;
    display: inline-block;
    /*font-weight: bold;*/
    cursor: pointer;
    opacity: 0.85;
    filter: alpha(opacity=85);
    /*important*/
    position: absolute;
    /*important*/
    top: 20px;
    right: 38px;
    /*width: 38px;*/
    /*height: 38px;*/
    z-index: 9999;
}

.searchbox_submit:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

#searchwrapper UL {
    float: left;
    position: relative;
    bottom: -20px;
    right: -6px;
}

#searchwrapper UL LI {
    list-style-type: none;
}

::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #A3A3A3;
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #A3A3A3;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #A3A3A3;
}

@media screen and (max-width: 1100px) {
    .searchbox {
        border: 1px;
        /*important*/
        background-color: transparent;
        /*important*/
        position: relative;
        /*important*/
        top: 15px;
        left: 38px;
        width: 44%;
        height: 44px;
        font-size: 1.5em;
        padding: 0;
    }
}

@media screen and (max-width: 800px) {
    .searchbox {
        border: 1px;
        /*important*/
        background-color: transparent;
        /*important*/
        position: relative;
        /*important*/
        top: 15px;
        left: 10px;
        width: 87%;
        height: 44px;
        font-size: 1.5em;
        padding: 0;
        /*background: rgba(159, 17, 17, 0.744);*/
    }
    
    .modal-body {
        padding: 5px 16px 2px;
        height: 184px;
    }
    
    .searchbox_submit {
        /*important*/
        position: absolute;
        /*important*/
        top: 129px;
        right: 0;
        left: 0;
        /*width: 38px;*/
        /*height: 38px;*/
        z-index: 9999;
    }
    
    #searchwrapper UL {
        float: none;
        position: relative;
        bottom: -32px;
        right: -6px;
    }
    
    #searchwrapper UL LI {
        list-style-type: none;
    }
}
