﻿/*.form-popup h3{
    font-size: 22px;
    padding: 10px 0;
    color: #f94b00;
    text-align: center;
    background: rgba(255,255,255,0.9);
    margin: 0 auto;
    margin: 20px auto 15px;
    text-align: center;
    font-weight: bold;
    width: 350px;
    max-width: 100%;
    border-radius: 24px;
}*/

.form-popup p.des{
    line-height: 16px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    margin: 0 auto;
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
}
.form-popup .form-text {
    line-height: 16px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    margin: 0 auto;
    padding: 10px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    padding:30px 20px;
}
.form-popup .form-text h2{
    font-size: 24px;    margin-bottom: 18px;
}
.form-popup .form-text h3{
    font-size: 22px;
        margin-bottom: 18px;
}
#popup1{
padding-top:80px;
}
.form-popup{
    border-radius:2px;
    box-shadow:0 0 15px;
    font-size:14px;
    font-weight:bold;
    background-image: url(/theme/lib/pop/default.jpg);
    background-size: cover;
    background-repeat:no-repeat;
    width: 700px;
    height: 620px;
    margin:0px;
    background-color:white;
    position: relative;
    margin: 70px  auto;
    border-radius: 4px;
}

#contactdiv{
opacity:1;
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
background: #000;
display: none;
}
.popup1{
opacity:1;
position: fixed;
top: 50%;
left: 50%;
height: 100%;
width: 100%;
right: 0;
bottom: 0;
z-index: 999999;
visibility: hidden;
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.popup1.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 100000;
	opacity: 0;
	background: rgba(40,43,49,.9);
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}
.md-effect .form-popup {
	-webkit-transform: scale(0.7);
	-ms-transform: scale(0.7);
	transform: scale(0.7);
	opacity: 0;
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
}

.md-show.md-effect .form-popup {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1;
}
.form-popup .form-alert{   
    max-width: 480px;
    margin: 0 auto;
}
.form-popup .close{
    float: right;
    margin-top: -30px;
    margin-right: -12px;
}

.form-popup-content{
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    margin-right: 0px;
    margin-top: 0px;
    -moz-border-radius-topright: 12px;
    -webkit-border-top-right-radius: 12px;
    border-top-right-radius: 12px;
    -moz-border-radius-bottomright: 12px;
    -webkit-border-bottom-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 40px  20px 10px;
    margin: 0 auto;
}
.form-popup .form-inner{
    max-width: 480px;
    margin: 0 auto;
    padding: 0 15px;
}
.form-popup input{
width:100%;
height:38px;
margin-top:5px;
border:1px solid #999;
border-radius:3px;
padding:5px;
}
.form-popup textarea{
    height: 54px;
    margin-top: 5px;
    border-radius: 3px;
    padding: 5px;
    resize: none;
    margin-bottom: 0;
}
.form-popup input,.form-popup textarea
{
    margin-top:8px;
}
.form-popup input, .form-popup textarea {font-size:14px;padding: 8px 12px;border-radius: 24px;margin-bottom: 4px;}
.form-popup textarea {min-height:80px;    border: 1px solid #999;}
.form-popup button
{
    background-color: #f94b00;
    border: 0!important;
    font-Weight: 600;
    font-size: 17px;
    color: white;
    width: 100%;
    text-align: center;
    outline: none!important;
    text-shadow: 0 1px 1px #f34a00;
    text-transform: uppercase;
    height: 40px;
    background: linear-gradient(to bottom,#f94b00 0%,#f95c00 50%,#f95c00 50%,#f94b00 100%);
    margin-bottom: 4px;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 25px;
    margin-top: 4px;
}
.form-popup .close{cursor:pointer;}
.form-popup input[type=submit]:hover,.form-popup .close:hover
{
    opacity:0.9;
}
.form-popup #loading{
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background: rgba(255,255,255,0.7);
    z-index: 100;
    text-align: center;
    border-radius: 2px;
}
.form-popup #loading span{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    left:0;
    margin:auto;
    height:22px;
    width:90px;
    color:#333
}
.form-popup .send-success,.form-popup .send-error{
    padding: 20px 10px;
    color: #fff;
    text-align: center;
    border: none;
    background: none;
}
.form-popup .send-success  img,.form-popup .send-error img  {
    display: block;
    margin: 0 auto;
    width: 150px;
    margin-top: 30px;
}
.form-popup .send-success p
{color: #07970c; font-size: 14px;
    background: #fff;
    padding: 4px;
    border-radius: 24px;
}
.form-popup .send-error p
{color: #ec1e21;
    font-size: 14px;
    background: #fff;
    padding: 4px;
    border-radius: 24px;
}

@media only screen and (max-width:768px) {
    .form-popup {
        width: 97%;
        margin-left: 1.5%;
        margin-right: 1.5%;
        margin: 80px auto 0;
    }
   .form-popup .close {
        margin-top: -12px;
        margin-right: -12px;
    }
}
@media only screen and (max-width:680px) {
    .form-popup-content{max-width:100%;padding:40px 15px 10px;}
    .form-popup .form-inner{padding:0;}
}
@media only screen and (max-width:580px) {
    .form-popup-right {
        width: calc(100% - 240px);
        padding: 16px 12px;
    }
    .form-popup-right .form-inner {
        padding: 2px 6px;
    }
    .form-popup h3 {
        font-size: 20px;
    }
}
@media only screen and (max-width:520px) {
     .form-popup-right {
        width: calc(100% - 210px);
    }
     /*.form-popup p.des{display:none;}*/
     .form-popup-right .form-inner
     {
         margin-top:25px;
     }
}
@media only screen and (max-width:480px) {
    .form-popup p.des{display:block;}
     .form-popup-right {
        width: 100%;
    }
     .form-popup-right .form-inner
     {
         margin-top:10px;
     }
    .form-popup h3 {
        font-size: 20px;
    }
}