﻿/* ========================== новый css ==========================*/
.imgActionComeBack {
    background-image: url(http://santekhnikvufe.ru/www/images/montazh-otopitelnyh-priboroff.jpg);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 40%;
    height: 100px;
    margin-bottom: 10px;
}
.actionComeBack .zvonoktitle {
    font-size: 20px;
}
 
.block-webform {
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 220;
	background: #fff;
	width: 100%;
	height: 100%;
	transition: .2s;
}
.block-webform.active,
.actionComeBack.active .block-webform {
	opacity: 1;
    transition: .4s ease;
    right: 0;
}


@media (min-width: 768px) {
	.block-webform {
		max-width: 643px;
	}
}
@media (min-width: 840px) {
	.block-webform {
		max-width: 800px;
	}
}
@media (min-width: 1334px) {
	.block-webform {
		max-width: 950px;
	}
}

img.close-panel {
    position: relative;
    float: right;
    right: 6%;
    top: 6%;
    cursor: pointer;
    transition: transform 1s;
    z-index: 250;
}

img.close-panel:hover {
	transform: rotate(180deg);
}

.owerlay {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


.owerlay.active {
    display: block !important;
    z-index: 201;
    left: 0;
}

.block-webform label {
	position: relative;
	top: 0;
	left: 0;
	color: #7F7F7F;
}

 .form-control {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	-webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.panel_inner {
	padding: 35px 65px 35px 110px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);  
    max-width: 550px;
}


/* ========================== новый css =========================*/

.zvonoktitle {
    font-size: 26px;
    line-height: 1;
    text-transform: uppercase;
    font-family: NeoSansMed;
}
.autoreplay {
    max-width: 100% !important;
    padding: 30px;
    background-color: var(--prime);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #fff;
}

.mstext {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.InputBlock input {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    font-family: inherit;
}
input::-webkit-input-placeholder,
input::-webkit-input-placeholder,
input::-webkit-input-placeholder {

   }
.mscallback .InputBlock .select {
    width:250px;
}
.mscallback .InputBlock .checkbox {
    margin-bottom:0px;
    margin-left:50px;
    width:20px;
    height:20px;
    float:left;
}
.mscallback .InputBlock label {
    display:inline-block;
    width:75%;
    text-align:left;
}
.mscallback .InputBlock textarea.comment {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
    font-family: inherit; 
    height: 80px; 
    padding: 15px;
}
.submit {
    width: 100%;
}

.flexColumn {
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.flexBetween {
    -webkit-justify-content: space-between;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}
.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.flexGrow {
    -webkit-flex: 1;
	-ms-flex: 1;
	-webkit-box-flex: 1;
	flex: 1;

}

.flexGr > * {
    -webkit-flex: 1;
	-ms-flex: 1;
	-webkit-box-flex: 1;
	flex: 1;

}

.mscallback .col-lg-2 > * {
    max-width: calc(50% - 15px);
    width: auto;
}

.mscallback .col-lg-3 > * {
    max-width: calc(100%/3 - 15px);
    width: 100%;
}


.minMargin > * {
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
[data-adaptive~="flexcolumn-md"] {
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.panel_inner {
    padding: 35px;
    margin: 0 auto;
    left: 0;
    right: 0;
    max-width: 440px;
}
}

@media (max-width: 700px) {

.col-sm > * {
    min-width: 100%;
} 

.InputBlock:first-child {
    margin-bottom: 10px;
}
#global0 .InputBlock:first-child {
    margin-bottom: 5px;
}
}



@media (max-width: 425px) {
.panel_inn {
    padding: 80px 30px 35px 30px !important;
}
}
