#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;}
#m1-form {
    position: fixed;
    display: none;
    width: 450px;
    margin-left: -225px;
    margin-top: -280px;
    top: 50%;
    left: 50%;
    background: #fff;
    box-shadow: 0px 3px 31.04px 0.96px rgb(237, 49, 71);
    z-index: 99999999999;
    border-radius: 8px;
}
#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;
}
#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: #fff;
    background-color: #ff394b;
    font-style: italic;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px; 
}
#m1-form .popup-m1-cont{
    position: relative;
    padding: 20px;
    color: #333;
    font-size: 14px;
    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 input[type="text"],#m1-form .popup-m1-form button{
    border: 0;
    outline: 0;
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: 400;
    text-transform: none;
    background: #fff;
    -webkit-box-shadow: 0 0 0 0;
    -moz-box-shadow:    0 0 0 0;
    box-shadow:         0 0 0 0;
    position: relative;
    display: block;
    margin: 0 auto;
    text-align: left;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    outline: none;
}
#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: 90%;
    height: 50px;
    margin-bottom: 16px;
    line-height: 64px;
    font-size: 17px;
    color: #222;
    background: #fff;
    text-indent: 20px;
    border: 1px solid #ccc;
    text-shadow: none;
}
#m1-form .popup-m1-form input[type="text"]:focus{
    border-color: rgb(234, 67, 150);
}
#m1-form .popup-m1-form button{
  outline: none;
  cursor: pointer;
  -webkit-transition: all .5s;
  transition: all .5s;
  border-radius: 7px;
  background-color: #000;
  width: 90%;
  height: 71px;
  font-size: 30px;
  font-family: Fregat-Bold;
  color: rgb(255, 255, 255);
  border: 3px solid #ff394b;
  text-shadow: 1px 2px 1px rgb(146, 50, 98);
  padding-bottom: 6px;
  position: relative;
  display: block;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}
#m1-form .popup-m1-form button:hover{
  box-shadow: inset 0 0 15px 0 #fff;
}
#m1-form .popup-m1-form button:active{
    top: -1px;
}
#m1-form .popup-m1-cont div.popup-m1-text2{
    text-align: center;
}
#m1-form .popup-m1-cont div.popup-m1-text2:before{
    content: '';
    position: relative;
    display: inline-block;
    width: 20px;
    height: 16px;
    margin: 0 5px 0 0;
    top: 2px;
    background: url(../img/secure.png) 0 0 no-repeat;
}
#m1-form .popup-m1-form label {
    display: block;
    margin: 0 auto 5px;
    width: 90%;
}

/**********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=60)";
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
    z-index: 9999999999;
}
@media screen and (max-width: 500px) {
#m1-form {
    width: 90%;
    margin-left: 0;
    margin-top: 0;
    top: 5%;
    left: 5%;
}   
#m1-form .popup-m1-title {
    font-size: 18px;
    padding: 33px 10px 20px;
}
#m1-form .popup-m1-form button {
    font-size: 18px;
}
#m1-form .popup-m1-cont {
    padding: 25px 20px 25px;
}
}
@media screen and (max-width: 500px) and (max-height: 640px) {
#m1-form {
    height: 90%;
}
#m1-form>div {
    overflow: auto;
    height: 100%;
} 
}
@media screen and (min-width: 501px) and (max-height: 590px) {
#m1-form {
    height: 90%;
    margin-top: 0;
    top: 5%;
}
#m1-form>div {
    overflow: auto;
    height: 100%;
}
}