@import url(//fonts.googleapis.com/css?family=Exo+2:700,400&subset=latin,cyrillic);

/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
    overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
    visibility: hidden;
}

/* Necessary styles of the overlay */

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;

    display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 5px;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    overflow: auto;

    text-align: center;

    -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
	top:10%;
    height: 100%;
    margin-left: -0.05em;

    content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
    -webkit-transform: translateZ(0px);
}

/* Necessary styles of the modal dialog */

.remodal {
    position: relative;

    display: inline-block;
}

/* Anti-zoom. Font-size should be >= 16px. */

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

.remodal,
.remodal * {
}

/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s ease-out;
    -moz-transition: -moz-filter 0.2s ease-out;
    -o-transition: -o-filter 0.2s ease-out;
    transition: filter 0.2s ease-out;
}

body.remodal-is-active .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

/* Default theme styles of the overlay */

.remodal-overlay {
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;

    opacity: 0;
    background: rgba(33, 36, 46, 0.95);
}

body.remodal-is-active .remodal-overlay {
    opacity: 1;
}

/* Default theme styles of the modal dialog */

.remodal {

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 0px 0px;

    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);

    opacity: 0;
    background-clip: padding-box;
}

body.remodal-is-active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);

    opacity: 1;
}

/* Vertical align of the modal dialog */

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}

/* Close button */

.remodal-close {
    position: absolute;
    top: -25px;
    right: -5px;
	background:#dadada;

    width: 60px;
    height: 17px;
	background:url(../images/close.png) no-repeat;
	display:none;
}
/* Media queries
   ========================================================================== */

    .remodal {
        max-width: 668px;
        min-height: 0;
		position:relative;
        margin:5% auto 0px auto;
		display:table;
    }

/* IE8
   ========================================================================== */

.lt-ie9 .remodal-overlay {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F021242E, endColorstr=#F021242E);
}

.lt-ie9 .remodal {
    width: 668px;
    min-height: 0;
}

.lt-ie9 .remodal-close:after {
    margin: auto;

    text-align: center;
}

.lt-ie9 .remodal-close:hover,
.lt-ie9 .remodal-close:active {
    background: transparent;
}

.lt-ie9 .remodal-close:hover.remodal-close:after,
.lt-ie9 .remodal-close:active.remodal-close:after {
    color: #3e5368;
}
.remodal-bg a{
	color:#FFF;
	font-size:20px;
}
@media (max-width:667px){
.remodal {
	width:90%;
}
}
.main-contact-iner{
	float:left;
	width:100%;
	background:#FFF;
	border-radius:15px;
	padding:30px 0px;
}
.main-iner-contact{
	margin:auto;
	width:80%;
	clear:both;
	background:#FFF;
}
.main-contact-iner h1{
	font-size:30px;
	color:#2d150c;
	text-align:center;
	font-weight:700;
	font-family: 'PT Serif', serif;
	padding-bottom:30px;
}
.main-iner-spann{
	color:#8d1400;
	font-size:20px;
}
.main-iner-contact input{
	float:left;
	width:96%;
	padding:5px 2%;
	height:45px;
	background:#f2f2f2;
	border-radius:5px;
	font-family: 'Open Sans', sans-serif;
	font-size:16px;
	color:#393939;
	font-weight:700;
	margin-bottom:15px;
}
.main-iner-contact input[type=button]{
	float:left;
	width:100%;
	padding:15px 0;
	text-transform:uppercase;
	color:#FFF;
	font-weight:400;
	text-align:center;
	height:auto;
	background:#8d1400;
	border-radius:35px
}
.main-iner-contact textarea{
	float:left;
	width:96%;
	padding:5px 2%;
	height:120px;
	background:#f2f2f2;
	border-radius:5px;
	margin-bottom:20px;
	font-family: 'Open Sans', sans-serif;
	font-size:16px;
	color:#393939;
	font-weight:700;
}
@media (max-width:480px){
	
.main-contact-iner h1{
	font-size:20px;
}
.main-iner-spann{
	color:#8d1400;
	font-size:12px;
}
.main-iner-contact{
	width:90%;
}
.main-iner-contact input{
	font-size:12px;
}
.main-iner-contact textarea{
	font-size:12px;
}
}