/**
 * @preserve jQuery modal plugin v1.0
 * @email ongi.ua@gmail.com
 * (c) 2014, Alexandra Bespalova
 */

.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    top: 0;
    left: 0;
}
.modal {
    opacity: 0;
    visibility: hidden;
    text-align: center;
    top: 17%;
    width: 400px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    color: #000;
    /*z-index: 999999;*/
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 25px 20px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border: 5px solid #9EC55F;
}

.open-modal {
    transition: opacity .5s;
    opacity: 1;
   visibility: visible;
    -webkit-animation: zoomIn .8s;
    animation: zoomIn .8s;
    z-index: 111;
    position: fixed;
}
@-webkit-keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.09);}
    0% {transform: scale(1);}
}

@keyframes pulse {
    0% {transform: scale(1);}
    50% {transform: scale(1.09);}
    0% {transform: scale(1);}
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 20px;
    text-indent: -9999px;
    background: url(../img/close.png) no-repeat;
    transition: 0.5s;
    height: 20px;
}
.modal-close:hover{
    transform: rotate(180deg) scale(1.3);
}

.modal h4{
    font-size: 30px;
    text-align: center;
    padding-bottom: 10px;
    font-weight: normal;
}

.modal br{
    display: none;
}
.modal input, .modal textarea{
    background: #f5f5f5;
    border-radius: 20px;
    padding: 15px 15px 15px 30px;
    font-size: 14px;
    font-family: "Fontfabric - MullerLight";
    margin: 10px 0;
    box-sizing: border-box;
    width: 100%;
    border: none;
}
.modal input[type=submit], .modal button{
    transition: none;
    cursor: pointer;
    width: 80%;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    background: #ffc000;
    border: none;
    border-bottom: 3px solid #f2b103;
    padding: 14px 0;
    display: block;
    margin: 0 auto;
}
.footer .modal .btn{
    margin: 0 auto;
}
/*input[type=submit]:hover{*/
    /*background: url(../img/button2.png) center no-repeat;*/
/*}*/
@media screen and (max-width: 650px) {
    .footer .modal .btn{
      margin: 0 auto;
    }
    .modal form input{
        margin: 10px 0;
    }

}
@media screen and (max-width: 430px){
    .modal{
        width: 98%;
        padding: 10px;
    }
    .modal h4{
        font-size: 18px;
        padding-bottom: 0;
    }
    .modal form input {
        margin: 5px 0;
        font-size: 14px;
    }
    .modal form input[type="submit"]{
        width: 200px;
        padding: 10px 0;
        display: block;
        margin: 10px auto 0;
    }
    .footer .modal .btn {
        margin: 10px auto 0;
    }

}






 







