﻿
.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: 22px;
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    margin: 0 auto;
    padding: 10px;
    /* background: rgba(255,255,255,0.4);*/
    border-radius: 2px;
    padding: 0px 12px 10px;
}
.form-popup .form-text p.title{
    color: rgb(199 37 33);
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    line-height: 1.5;
    margin-top: 10px;
}
.form-popup .form-text p.pdf{
    font-weight: 600;font-size: 15px;color: #396a95;margin-bottom:8px;
}
.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-size: cover;
    background-repeat:no-repeat;
    /*    width: 900px;
    height: 540px;*/
    width: 960px;
    height: 674px;
    margin:0px;
    background-color:white;
    position: relative;
    margin: 70px  auto;
}

#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{
    position: absolute;
    top: 1px;
    right: 2px;
}
.form-popup-content{
    max-width: 100%;
    height: 100%;
    overflow: hidden;
    margin-right: 0px;
    margin-top: 0px;
    -moz-border-radius-topright: 0;
    -webkit-border-top-right-radius: 0;
    border-top-right-radius: 0;
    -moz-border-radius-bottomright: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 10px 2px 10px;
    margin: 0;
    width: calc(100% - 540px);
    /*background-image: url(/theme/lib/pop/popup-02.jpg);*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom;
    background: #fbfbf9;
    position:relative;
}
.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:15px;padding: 8px 12px;border-radius: 2px;margin-bottom: 4px;color: #212121;}
.form-popup textarea {min-height:56px;    border: 1px solid #999;}
.form-popup button
{
    background-color: #f94b00;
    border: 0!important;
    font-Weight: 600;
    font-size: 18px;
    color: #333;
    width: 100%;
    text-align: center;
    outline: none!important;
    text-transform: uppercase;
    height: 50px;
   /*background:rgb(232, 62, 48)!important;*/
    background-image: linear-gradient(135deg, #e2c74c 10%, #e37235 100%);
    margin-bottom: 4px;
    transition: all 0.2s;
    cursor: pointer;
    border-radius: 2px;
    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: 0px 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;
}
.popup1 .left-image {width: 540px;float:left;}
.popup1 .left-image img{
    max-width: 100%;
    height: auto;
}
.popup1 .pop-up-input {
    font-weight: 400;
    color: #1d55a4!important;
    font-size: 16px;
    width: 100%;
    border: none;
    border-bottom: 2px #1d55a4 solid;
    margin-bottom: 5px;
    background-color: transparent!important;
    box-shadow:unset;
    height: 40px !important;
    padding-left: 0;
}
@media only screen and (max-width:1120px) {
    .popup1 .left-image{display:none;}
    .form-popup {
        width: 470px;
        height: 690px;
    }
    .form-popup-content{width:100%;overflow-y: auto;}
}
@media only screen and (max-width:768px) {
    .form-popup {
        width: 97%;
        margin-left: 1.5%;
        margin-right: 1.5%;
        margin: 80px auto 0;
    }
}
@media only screen and (max-width:680px) {
    .form-popup-content{max-width:100%;padding:15px 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;
    }
    .form-popup {
        height: 572px;
    }
}
@media only screen and (max-width:520px) {
     .form-popup-right {
        width: calc(100% - 210px);
    }
     .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;
    }
}