/**
 * @preserve jQuery modal plugin v1.0
 * @email ongi.ua@gmail.com
 * (c) 2014, Alexandra Bespalova
 */
.result {
    margin-bottom: 10px;
}

.overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(45, 45, 53, 0.3);
    z-index: 100;
    top: 0;
    left: 0;
}




.modal {
    visibility: hidden;
    top: 50px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    z-index: 99999;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-align: center;
    opacity: 0;
    border: 1px transparent;
    background: #3cb371;
}





.open-modal {
    transition: opacity .5s;
    opacity: 1;
    visibility: visible;
    -webkit-animation: flipInY .8s;
    animation: flipInY .8s;
    z-index: 101;
    position: fixed;
    padding: 50px 0;
    height: 420px;
    width: 384px;
    border: 1px solid #fff;
    

}

@-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: -17px;
    right: -47px;
    cursor: pointer;
    background: #f6f9f2;
    padding: 5px 10px;
    text-indent: -9999px;
    background: url("../img/close.png") no-repeat;
    width: 30px;
}
.modal h2{
    color: #FFFFFF;
    font-family: "OpensansItalic";
    font-size: 32px;
    padding-bottom: 20px;
}
.modal input{
    width: 236px;
    height: 36px;
    line-height: 36px;
    z-index: 1;
    border: none;
    padding-left: 5px;
    border: 1px #A9A9A9 solid;
    background: #FFFFFF;
    margin-bottom: 10px;
    font-size: 13px;
    font-style: italic;
}
.modal p{
    color: #FFFFFF;
    font-family: "OpenSansRegular";
    font-size: 16px;
    padding-bottom: 35px;
}
.modal .bottom{
    font-size: 13px;
}
.modal .buttons{
    position: relative;
}
.modal .buttons:before{
    content: "";
    display: block;
    position: absolute;
    right: -56px;
    top: 5px;
    background: url("../img/button-before.png") no-repeat;
    height: 29px;
    width: 29px;
    color: #fff;
}
.modal button{
    font-size: 25px;
    font-family: "OpensansItalic";
    background: #00a076;
    text-align: center;
    width: 330px;
    border: none;
    border: 2px solid #fff;
    border-radius: 20px;
    color: #fff;
    padding: 3px 0;
}
.modal .arow{
    position: relative;
}
.modal .arow:before{
    content: "";
    display: block;
    position: absolute;
    left: 38px;
    top: 7px;
    background: url("../img/button-before.png") no-repeat;
    width: 30px;
    height: 30px;
}

.modal .name, .modal .number{
    position: relative;
}

@media screen and (max-width: 430px){
    .modal {
        width: 330px;
        padding: 25px 0px;
        height: auto;
    }

}
@media screen and (max-width: 380px){
    .modal {
        width: 290px;

    }
     .modal form input{
        padding: 10px !important;
    }
     #call form button{
         width: 218px !important;
         font-size: 20px !important;
     }
    .modal-close {
        top: -25px;
        right: 0;

    }
}




 







