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

#logon .overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    background: #31373b;
    /*z-index: 100;*/
    top: 0;
    left: 0;
}
.modal {
    visibility: hidden;
    top: 20%;
    width: 650px;
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    z-index: 99999;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 30px;
    color: #fff;
}

.open-modal {
    transition: opacity .5s;
    opacity: 1;
   visibility: visible;
    -webkit-animation: fadeInDown .8s;
    animation: fadeInDown .8s;
    z-index: 99999;
    position: fixed;
}
.modal form ::-webkit-input-placeholder {
    color: #fff;
    opacity: 1 !important
}

.modal form ::-moz-placeholder {
    color: #fff;
    opacity: 1 !important
}

.modal form :-moz-placeholder {
    color: #fff;
    opacity: 1 !important
}

.modal form :-ms-input-placeholder {
    color: #fff;
    opacity: 1 !important
}
@-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: 12px;
    right: 0;
    cursor: pointer;
    padding: 8px 20px;
    text-indent: -9999px;
    background: url(/img/close.png) no-repeat;
}
.modal h5, .bts-popup h5{
    font-family: 'Pacifico-Regular';
    padding-bottom: 30px;
    font-size: 36px;
    color: #fff;
}
.modal a{
    font-size: 15px;
    color: #2a82c5;
    cursor: pointer;
}
.modal input, .bts-popup input{
    display: block;
    font-size: 14px;    
}

.modal .big, .bts-popup .big{
 width: 100%;
}
.modal .small, .bts-popup .small{
    width: 45%;
    box-sizing: border-box;
}
.modal form{
    padding-top: 50px;
}
.modal .form input, .modal .form textarea, .bts-popup .form input, .bts-popup .form textarea {
    padding: 12px 0 12px 12px;
    border: none;
    color: #fff;
    border-bottom: 1px solid #fff;
    font-size: 17px;
    width: 100%;
    box-sizing: border-box;
    display: block;
    margin: 11px auto;
    background: transparent;
    font-family: "GothaProLig";
}
.modal textarea, .bts-popup textarea{
    height: 100px;
}
.modal .btn{
    display: block;
    margin: 50px auto 0;
    transition: none;
}

.modal::-webkit-input-placeholder {color:#fff;}
.modal::-moz-placeholder          {color:#fff;}/* Firefox 19+ */
.modal:-moz-placeholder           {color:#fff;}/* Firefox 18- */
.modal:-ms-input-placeholder      {color:#fff;}
.modal .form{
    margin-bottom: 10px;
}
.modal br{
    display: none;
}
.modal p{
    cursor: pointer;
}
.radio_box{
    width: 100%;
    display: block;
}
.modal .radio_box div input[type="radio"]+label {
    font-size: 17px;
    color: #fff;
    margin-left: 7px;
    font-family: "GothaProLig";
}
.modal form p{
    position: relative;
}
.modal p span{
    color: #9c0304;
    position: absolute;
    left: 33%;
    transform: translateX(-50%);
    top: 10%;
}
.modal p span.password2{
    left: 40%;
}
@media screen and (max-width: 650px){
    .modal{
        width: 96%;
    }
   .modal .radio_box div{
        width: 100%;
    }
}
@media screen and (max-width: 530px) {
    .modal p span {
        left: 98%;
    }
    .modal{
        top: 8%;
        padding: 10px;
    }
}
@media screen and (max-width: 450px){
    .modal input[type="submit"] {
        float: none;
    }
    .privat{
        float: none;
        text-align: center;
    }
}

@media screen and (max-width: 430px){
    .modal h5 {
        padding-top: 5px;
        font-size: 29px;
        text-align: center;
    }
    .modal form{
        padding-top: 10px;
    }

}
@media screen and (max-width: 380px){
    .form-block{
        width: 86%;
    }

    .modal h5{
        padding-top: 10px;
        padding-bottom: 15px;
    }
    .modal p{
        font-size: 14px;
        line-height: 21px;
    }

    .modal .form{
        margin: 5px 0; 
    }

    .modal-close {
        top: 5px;
        right: -5px;
    }
}




 







