﻿/* Style the Image Used to Trigger the Modal */
#representative1picture {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#representative2picture {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#representative1picture:hover {
    opacity: 0.7;
}

#representative2picture:hover {
    opacity: 0.7;
}
/* The Modal (background) */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    padding-top: 150px; /* 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.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 30%;
    max-width: 30%;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}


#modalValidateBusiness {
    padding-top: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

    #modalValidateBusiness .modal-body {
        background: linear-gradient(white, #ecdbd5);
        margin: 0;
    }

    #modalValidateBusiness .modal-dialog {
        margin: 60px auto;
    }

    #modalValidateBusiness .modal-content {
        max-width: 100%;
        width: 100%;
        border: 5px solid #c9302c;
        border-radius: 5px;
    }

    #modalValidateBusiness.dlg-alert .modal-body > div:not(.dlg-alert) {
        display: none;
    }

    #modalValidateBusiness:not(.dlg-alert) .modal-body > div.dlg-alert {
        display: none;
    }

    #modalValidateBusiness.dlg-alert .modal-content {
        width: 60%;
    }

    #modalValidateBusiness .panel-heading {
        background-color: #c9302c;
        border-color: #c9302c;
        border-radius: 0;
    }

    #modalValidateBusiness.dlg-alert .panel-heading h4:not(.dlg-alert) {
        display: none;
    }

    #modalValidateBusiness:not(.dlg-alert) .panel-heading h4.dlg-alert {
        display: none;
    }

.modal-title.dlg-alert {
}

#modalValidateBusiness fieldset {
    border-radius: 5px;
    padding: 1px 0px 10px 0px;
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

    #modalValidateBusiness fieldset label {
        width: 100%;
        padding: 0px 0px 0px 8px;
    }

        #modalValidateBusiness fieldset label > span {
            padding-left: 5px;
        }

#modalValidateBusiness legend {
    border-style: none;
    border-width: 0;
    font-size: large;
    line-height: 20px;
    margin-bottom: 0;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

#modalValidateBusiness fieldset > div {
    margin-top: 5px;
}




#modalMissing {
    padding-top: 0;
    background-color: rgba(0, 0, 0, 0.2);
}


#modalWebCapture {
    padding-top: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

#modalVerify {
    padding-top: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

#modalMissing .modal-body {
    background: linear-gradient(white, #ecdbd5);
    margin: 0;
}

#modalWebCapture .modal-body {
    background: linear-gradient(white, #ecdbd5);
    margin: 0;
    height: 350px;
}

#modalVerify .modal-body {
    background: linear-gradient(white, white);
    margin: 0;
    height: 350px;
}


#modalMissing .modal-dialog {
    margin: 60px auto;
}


#modalWebCapture .modal-dialog {
    margin: 60px auto;
}

#modalVerify .modal-dialog {
    margin: 60px auto;
}


#modalMissing .modal-content {
    max-width: 100%;
    width: 100%;
    border: 5px solid #c9302c;
    border-radius: 5px;
}

#modalWebCapture .modal-content {
    max-width: 100%;
    width: 100%;
    border: 5px solid #286090;
    border-radius: 5px;
}

#modalVerify .modal-content {
    max-width: 100%;
    width: 600px;
    border: 5px solid #286090;
    border-radius: 5px;
}

#modalMissing.dlg-alert .modal-body > div:not(.dlg-alert) {
    display: none;
}

#modalMissing:not(.dlg-alert) .modal-body > div.dlg-alert {
    display: none;
}

#modalMissing.dlg-alert .modal-content {
    width: 60%;
}

.dlg-alert .alert-desc {
    color: #c9302c;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    cursor: pointer;
}

#modalMissing .panel-heading {
    background-color: #c9302c;
    border-color: #c9302c;
    border-radius: 0;
}

#modalWebCapture .panel-heading {
    background-color: #286090;
    border-color: #286090;
    border-radius: 0;
}

#modalVerify .panel-heading {
    background-color: #286090;
    border-color: #286090;
    border-radius: 0;
}

#modalMissing.dlg-alert .panel-heading h4:not(.dlg-alert) {
    display: none;
}

#modalMissing:not(.dlg-alert) .panel-heading h4.dlg-alert {
    display: none;
}

.modal-title.dlg-alert {
}

#modalMissing fieldset {
    border-radius: 5px;
    padding: 1px 0px 10px 0px;
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

    #modalMissing fieldset label {
        width: 100%;
        padding: 0px 0px 0px 8px;
    }

        #modalMissing fieldset label > span {
            padding-left: 5px;
        }

#modalMissing legend {
    border-style: none;
    border-width: 0;
    font-size: large;
    line-height: 20px;
    margin-bottom: 0;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
}

#modalMissing fieldset > div {
    margin-top: 5px;
}



@media (min-width: 768px) {
    .modal-dialog {
        width: 768px;
    }
}
