/**
 * @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.7);
    z-index: 100;
    top: 0;
    left: 0;
}




.modal {
    visibility: hidden;
    top: 50px;
    width: 370px;
    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;
    padding: 35px 20px;
    border: 1px transparent;
    border-radius: 5px;
    background: #e6f4fe;
}





.open-modal {
    transition: opacity .5s;
    opacity: 1;
   visibility: visible;
    -webkit-animation: flipInY .8s;
    animation: flipInY .8s;
    z-index: 101;
    position: fixed;
    max-height: 400px;
    

}

@-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: -8px;
    right: -7%;
    cursor: pointer;
    background: #f6f9f2;
    padding: 5px 10px;
    text-indent: -9999px;
    background: url("../img/close.png") no-repeat;
}
.modal h3{
    color: #b00d08;
    font: 20px "RobotoSlab-Bold";
    text-align: center;
    padding-bottom: 20px;
}
.modal p{
    color: #333;
    font: 16px "RobotoRegular";
    text-align: center;
    padding-bottom: 15px;
}

.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: 280px;
        box-sizing: border-box;
    }
     .modal form input{
        padding: 10px !important;
    }
     #call form button{
         width: 188px !important;
         font-size: 14px !important;
     }
    .modal-close {
        top: -25px;
        right: 0;

    }
}




 






