#overlay {
    cursor: pointer;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #000000;
    filter:alpha(opacity=0);
    opacity: 0;
}

.overlay-visible {
    visibility: visible;
    filter:alpha(opacity=80);
    opacity: 0.8 !important;
    transition: opacity .5s linear;
    -webkit-transition: opacity .5s linear;
    -moz-transition: opacity .5s linear;
}

.overlay-hidden {
    visibility: hidden;
    filter:alpha(opacity=0);
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
    -webkit-transition: visibility 0s 0.5s, opacity 0.5s linear;
    -moz-transition: visibility 0s 0.5s, opacity 0.5s linear;
}

/*#overlay {
    cursor: pointer;
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10001;
}
.shadow{
    background: rgba(0,0,0,0.8);
    cursor: pointer;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

*/





.modal_div {
    background: none repeat scroll 0 0 #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    display: none;
    height: 350px;
    letter-spacing: 1px;
    margin-top: -175px;
    opacity: 0;
    top: 50% !important;
    max-width: 1000px;

    word-spacing: 4px;
    z-index: 101;
    cursor: default;



    position: fixed;
    /* center the element */
    right: 0;
    left: 0;
    margin-right: auto;
    margin-left: auto;
    /* give it dimensions */
    min-height: 10em;
    width: 90%;
}
#auth_modal {
    height: 488px !important;
    margin-top: -244px !important;
}

.modal-close {
    cursor: pointer;
    display: block;
    height: 21px;
    position: absolute;
    right: 12px;
    top: 9px;
    width: 21px;
    z-index: 100;
}

#callback_modal form{
    margin-top: 0;
}
#callback_modal {
    height: 316px !important;
    width:500px !important;
    margin-left: -250px;
    margin-top: -158px !important;
}
.title-modal {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 22px;
    font-weight: normal;
    text-transform: uppercase;
    color: #444;
    border-bottom: 3px solid #cb0119;
    padding-bottom: 10px;
}
