#m1-form, #m1-form>div, .close-m1, .popup-m1-title, .popup-m1-cont, .popup-m1-form, .popup-m1-text2, .popup-m1-text1, #m1-form .popup-m1-form input[type="text"],#m1-form .popup-m1-form button{width: auto; max-width: none; height: auto; max-height: none; margin: 0; padding: 0; border: 0; outline: 0; float: none; position: relative; background: none; line-height: normal; font-family: "Tahoma", "Geneva", "Kalimati", sans-serif; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;color: #fff;}
#m1-form {
    position: fixed;
    display: none;
    width: 450px;
    margin-left: -225px;
    margin-top: -280px;
    top: 50%;
/*    top: 10%;*/
    left: 50%;
    z-index: 9999999;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
    -moz-box-shadow:    0px 0px 0px 0px rgba(0, 0, 0, 0);
    box-shadow:         0px 0px 0px 0px rgba(0, 0, 0, 0);
    border: 2px solid #eeaa1c;
    background-size: cover;
    background-image: url(/anti-teplovizor/assets/design/bg.jpg);
    
}
#m1-form a.close-m1 {
    position: absolute;
    display: block;
    width: 28px;
    height: 28px;
    line-height: 26px;
    top: 3px;
    right: 3px;
    background: transparent;
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    z-index: 999;
}
#m1-form a.close-m1:before{
    content: '\00D7';
}
#m1-form>div{
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
#m1-form .popup-m1-title{
    position: relative;
    padding: 20px 0px 16px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 0.7px;
    line-height: 1.3em;
    color: #eeaa1c;
    font-family: Montserrat;
    font-weight:700;
    -webkit-text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.88);
    -moz-text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.88);
    text-shadow: 2px 2px 1px rgb(0 0 0 / 88%);
}

#m1-form .popup-m1-title:before {
    left: 0;
    transform: skew(0deg, 4deg);
}
#m1-form .popup-m1-title:after {
    right: 0;
    transform: skew(0deg, -4deg);
}
#m1-form .popup-m1-cont {
    position: relative;
    padding: 0px 20px 30px;
    color: #333;
    font-size: 17px;
    line-height: 1.5em;
}
#m1-form .popup-m1-cont div.popup-m1-text1{
    text-align: center;
}
#m1-form .popup-m1-form{
    position: relative;
    display: block;
    height: auto;
    width: auto;
    background: none;
    padding: 30px 0;
    border-radius: 0;
    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow:    0 0 0 0;
    box-shadow:         0 0 0 0;
}
#m1-form .popup-m1-form:after{
    content: '';
    display: block;
    clear: both;
    height: 0px;
}
#m1-form .popup-m1-form button{
    font-weight: 700;
    text-transform: uppercase;
}
#m1-form .popup-m1-form input[type="text"]::-webkit-input-placeholder {color: #a9a9a9; opacity: 1;}
#m1-form .popup-m1-form input[type="text"]:-moz-placeholder {color: #a9a9a9; opacity: 1;}
#m1-form .popup-m1-form input[type="text"]::-moz-placeholder {color: #a9a9a9; opacity: 1;}
#m1-form .popup-m1-form input[type="text"]:-ms-input-placeholder {color: #a9a9a9; opacity: 1;}

#m1-form .popup-m1-form input[type="text"]{
    width: 100%;
    height: 64px;
    margin-bottom: 16px;
    line-height: 64px;
    font-size: 17px;
    color: #222;
    background: #fff;
    text-indent: 20px;
    border: 1px solid #ccc;
    text-shadow: none;
    display: block;
    margin: 0 auto 15px;
        border-radius: 8px;
}
#m1-form .popup-m1-form input[type="text"]:focus{
    border-color: #aaa;
}
#m1-form .popup-m1-form button{
        border: none;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    height: 60px;
    width: 100%;
    display: block;
    border-radius: 8px;
    text-align: center;
    background: #ffe90b;
    background: -moz-linear-gradient(top, #ffe90b 0%, #ff7e2f 100%);
    background: -webkit-linear-gradient(top, #ffe90b 0%,#ff7e2f 100%);
    background: linear-gradient(to bottom, #ffe90b 0%,#ff7e2f 100%);
    border-bottom: 5px solid #ec5621;
    text-shadow: 0 1px 0 #ffe10e;
    box-shadow: 0 4px 10px 0 rgb(0 0 0 / 30%);
    font-size: 24px;
    margin: 0px auto;
    color: #222222;
    position: relative;
}
#m1-form .popup-m1-form button:hover{
    background: #ff8f00;
}
#m1-form .popup-m1-form button:active{
    top: -1px;
}
#m1-form .popup-m1-cont div.popup-m1-text2 {
    text-align: center;
    padding: 0 0 0 20px;
}
#m1-form .popup-m1-cont div.popup-m1-text2:before{
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    top: 2px;
    left:0;
    background: url(popup-m1-phone.png) 0 0 no-repeat;
    background-size:cover;
}

.main-order-form.popup-m1-form input , .main-order-form.popup-m1-form select{
    margin: 0 auto 16px;
    display: block;
}

/**********For screen**********/
 #overlay-popup-m1 {
    display: none;
    position:fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
    z-index: 999999;
}