﻿/* ------ Слайдер ------ */


.slider {
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.slider-line {
    display: block;
    position: relative;
    left: 0;
    transition: all ease 1s;
}
.imgWrapper > * {
  width: calc(25% - 10px);
 // margin: 5px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  cursor: pointer;
}
.slider-line > * {
    position: relative;
    float: left;
}

/* ------ Модальное окно ------ */

.owerlay {
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 790;
    background: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;

}
.owerlay.active {
    display: block !important;
    left: 0;
}

.block-webform {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
	background: #fff;
    z-index: 800;
    transition: .2s;
    right: -100%;
}

.owerlay.active .block-webform {
    opacity: 1;
    transition: .4s ease;
    right: 0;

}

.status {
    font-size: inherit;
    font-family: inherit;

    position: relative;
    padding: 15px;
    outline: none;
    border-radius: 3px;
    width: 100%;
    max-width: 100%;

    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

img.close-panel {
    position: relative;
    float: right;
    right: 6%;
    top: 6%;
    cursor: pointer;
    transition: transform 1s;
    z-index: 250;
    max-width: 31px;
}

img.close-panel:hover {
	transform: rotate(180deg);
}

.block-webform label {
	position: relative;
	top: 0;
	left: 0;
	color: #7F7F7F;
}

.panel_inner {
	padding: 35px 65px 35px 110px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);  
    max-width: 550px;
    color: var(--black);
}
.panel_inner.fetchLoad {
    max-width: 95%;
}

.zvonoktitle {
    font-size: 18px;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Roboto';
    font-weight: 700;
    letter-spacing: 0px;
}

.mstext {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 12px;
    letter-spacing: 0px;
}

.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 (min-width: 1334px) {
	.block-webform {
		max-width: 950px;
	}
}

@media (min-width: 840px) {
	.block-webform {
		max-width: 800px;
	}
}

@media (max-width: 768px) {

	.block-webform {
		max-width: 643px;
	}

	[data-adaptive~="flexcolumn-md"] {
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	.panel_inner {
		padding: 35px;
        padding-right: 35px !important;
		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;
	}
}
