#wjcallback-modal {
    position: fixed;
    text-align: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: block;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0);
    -webkit-transition: background .5s ease-out;
    -moz-transition: background .5s ease-out;
    -o-transition: background .5s ease-out;
    transition: background .5s ease-out;
}

#wjcallback-modal.show {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

#wjcallback-modal .wjcallbackform {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    min-width: 320px;
    padding: 16px;
    text-align: left;
    box-sizing: border-box;
    background: #FFF;
    opacity: 0;
    -webkit-transition: opacity .5s ease-out;
    -moz-transition: opacity .5s ease-out;
    -o-transition: opacity .5s ease-out;
    transition: opacity .5s ease-out;
    transform: translate(-50%, -50%);
}

#wjcallback-modal.show .wjcallbackform {
    opacity: 1;
}

#wjcallback-modal .form-validate {
    margin: 0;
}

#wjcallback-modal .form-validate .modal-body {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
}

#wjcallback-modal .form-validate input[type="text"],
#wjcallback-modal .form-validate textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px;
    display: block;
    height: auto;
    margin-bottom: 20px;
}

#wjcallback-modal .form-validate textarea {
    margin-bottom: 5px;
}

#wjcallback-modal .form-validate .informtext {
    padding-bottom: 20px;
}


/* Preloader
*********************************************/

#wjcallback-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1060;
}

#wjcallback-loader::after {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0088cc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    position: fixed;
    margin: 0 auto;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -40px;
    content: "";
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Media
*********************************************/

@media only screen and (max-width: 480px) {
    #wjcallback-modal .wjcallbackform {
        display: inline-block;
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 15px;
        top: 50%;
        padding: 16px;
        width: auto;
        text-align: left;
        box-sizing: border-box;
        background: #FFF;
        opacity: 0;
        -webkit-transition: opacity .5s ease-out;
        -moz-transition: opacity .5s ease-out;
        -o-transition: opacity .5s ease-out;
        transition: opacity .5s ease-out;
        transform: translate(0, -50%);
    }
}