#modaljs-modals {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    text-align: center;
    z-index: 10000;
}
#modaljs-modals.normal {
	transition: opacity 0.3s;
    -webkit-transition: opacity 0.3s;
    -moz-transition: opacity 0.3s;
    -ms-transition: opacity 0.3s;
    -o-transition: opacity 0.3s;
}
#modaljs-modals.slow {
	transition: opacity 0.8s;
    -webkit-transition: opacity 0.8s;
    -moz-transition: opacity 0.8s;
    -ms-transition: opacity 0.8s;
    -o-transition: opacity 0.8s;
}
#modaljs-modals.hidden {
    display: none;
    opacity: 0;
    -khtml-opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
}


#modaljs-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: black;
    opacity: 0.7;
    -khtml-opacity: 0.7;
    -moz-opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
}


#modaljs-modal {
    position: absolute;
    top: 50%; left: 50%;
    width: 400px;
    margin: -125px 0 0 -200px;
    box-shadow: 0 2px 5px #333;
    background: #D9D9D9;
    border-radius: 2px;

    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}

#modaljs-modal > div {
    padding: 15px 20px;
}

/* 'colored' || '' */
#modaljs-modals.colored #modaljs-top,
#modaljs-modals.colored #modaljs-bottom {
	background: #eee;
}

#modaljs-top {
    border-radius: 2px 2px 0 0;
    min-height: 20px;
}
#modaljs-top-cancel {
    position: absolute;
    //top: 13px; right: 20px;
    top: -2px; right: 0;
}
#modaljs-top-cancel:before {
    content: 'x';
    padding: 0px 9px 4px 9px;
    background: transparent;
    color: #606060;
    font-weight: 600;
    font-size: 17px;
    border-radius: 2px;
    cursor: pointer;

    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    -o-transition: all 0.1s;
}
#modaljs-top-cancel:hover:before {
    background: #DADADA;
}
#modaljs-middle {
    text-align: left;
}
#modaljs-bottom {
    text-align: right;
    border-radius: 0 0 2px 2px;
}
#modaljs-bottom-cancel {
    border: 0px solid transparent;
    padding: 8px 17px;
    background: #8599CD;
    color: white;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    outline: none;

    transition: all 0.1s;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -ms-transition: all 0.1s;
    -o-transition: all 0.1s;
}
#modaljs-bottom-cancel:hover {
    background: #5E6E98;
}
