.credit-popup, .drawing-popup, .callback-popup, .reviews-popup, .login-popup {
    display: none;
    position: absolute;
    background-color: #fff;
    -webkit-box-shadow: inset 0 0 60px 0 #b1adac;
    -moz-box-shadow: inset 0 0 60px 0 #b1adac;
    box-shadow: inset 0 0 60px 0 #b1adac;
    left: 5%;
    top: 5%;
    width: 90%;
    -webkit-transition: margin-top .3s, top .3s;
    -o-transition: margin-top .3s, top .3s;
    transition: margin-top .3s, top .3s;
    padding: 0 15px 27px 15px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #505050;
    text-align: left;
    font-size: 14px;
    line-height: 17px;
    z-index: 9999
}

.credit-popup .close, .drawing-popup .close, .callback-popup .close, .reviews-popup .close, .login-popup .close {
    position: absolute;
    text-decoration: none;
    top: -5px;
    right: -5px;
    width: 88px;
    border-style: none;
    border-color: transparent;
    background-color: #29ABE2;
    color: #fff;
    line-height: 18px;
    text-align: center;
    font-size: 13px;
    font-family: Georgia, Palatino, "Palatino Linotype", Times, "Times New Roman", serif;
    font-weight: normal;
    text-shadow: none;
    padding: 6px 0;
    opacity: 1;
    filter: alpha(opacity=100)
}

.credit-popup .close:hover, .drawing-popup .close:hover, .callback-popup .close:hover, .reviews-popup .close:hover, .login-popup .close:hover {
    background-color: #999
}

.credit-popup-overlay, .drawing-popup-overlay, .callback-popup-overlay, .reviews-popup-overlay, .login-popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0);
    display: none;
    z-index: 3;
    cursor: pointer;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    z-index: 9999
}

.open-credit-popup .credit-popup-overlay, .open-drawing-popup .drawing-popup-overlay, .open-callback-popup .callback-popup-overlay, .open-reviews-popup .reviews-popup-overlay, .open-login-popup .login-popup-overlay {
    display: block;
    background-color: rgba(0, 0, 0, 0.5)
}

@media (min-width: 768px) {
    .credit-popup, .drawing-popup, .callback-popup, .reviews-popup, .login-popup {
        /*left: 50%;
        top: 30%;*/
        left: initial;
        top: initial;
        width: 480px;
        /*margin-left: -240px;*/
        margin-left: 0;
        height: auto;
        padding: 0 46px 27px 46px
    }
    .drawing-popup {
        top: 60px !important;
    }
    .callback-popup .input i {
        position: absolute;
        top: calc(50% - 8px);
        right: 20px;
    }

    .drawing-popup {
        width: 650px;
        margin-left: 0;
        /*margin-left: -325px;*/
    }

    .reviews-popup {
        width: 730px;
        margin-left: -365px
    }
}

@media (min-width: 1050px) {
    .reviews-popup {
        width: 780px;
        margin-left: -390px
    }
}


#drawing_ajax .form-control {
    margin-bottom: 0 !important;
}
#drawing_ajax label {
    font-size: 13px !important;
}
drawing_ajax .input {
    padding: 5px !important;
}
