body {background-color: #24242a;}
.section-calcevak {
	background-color: white;
}
.section-calcevak h1 {
	font-size:1.5rem;
}
.calc-body {
	padding: 0 3rem 2rem 3rem;
}
.calc-tabs {width: 100%; display: table;}
.scroll-indicator-wrapper {
    position: relative;
	margin-bottom: 1rem;
    overflow: hidden;
}
.scroll-indicator {
	 display:none;
	 width:1em;
	 height:1em;
	 position:absolute;
	 top:35%;
	 right:0;
	 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 480'%3E%3Cg style='fill:%23d1d0d2;'%3E%3Cpolyline points='230 44.5 448 240 230 435.5'/%3E%3Cpolyline /%3E%3C/g%3E%3C/svg%3E");
	 padding-left:0.45em;
	 transform-origin:center center;
}
.block {
	display: table-cell;
	text-align: center;
	cursor:pointer;
}
.block h5 {color: #c3c3c8}
.block h5, .marker-from, .marker-to {transition: all 0.3s;}
.block.active h5 {color: #2b2b33;}
.block-icon {margin-bottom: 0.2rem;}
.block-icon>svg {height: 4rem;}

/* adress block */
.calc-adress label {
	margin-bottom: 0.3rem;
}
.adress {
    position: relative;
	display: flex;
    box-shadow: 0 1px 5px 0 RGBA(0,0,0,.1) inset;
	border: 1px solid #d2d2d2;
	margin-bottom: 10px;
}
.adress input {
	width: 100%;
	line-height: 2.4rem;
	padding: 0 0.3em;
	padding-left: 2rem;
	border: 0;
	color: #6a6a75;
	background: transparent;
	outline: 0;
}
.marker-from, .marker-to {
	width: 2.4rem;
	height: 2.4rem;
	background-color: #f6f6f9;
	border-left: 1px solid #d2d2d2;
	cursor: pointer;
}
.marker-from:hover, .marker-to:hover {
	background-color: #2b2b33;
	background-color: white;
}
.marker-to .techonline::before,
.marker-from .techonline::before{
	left: 50%;
	top: -0.2rem;
}
.geoposition {
    position: relative;
    display: inline;
}
.geoposition::before {
    position: absolute;
    width: 1.1em;
    height: 1.1em;
    content: '';
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23e72121' d='M256,0C156.7,0,76,80.7,76,180a177.5,177.5,0,0,0,27,94.5L254,511.8,410.5,272.1A177.5,177.5,0,0,0,436,180C436,80.7,355.3,0,256,0Zm0,270a89.9,89.9,0,0,1-90-90c0-49.5,40.5-90,90-90s90,40.5,90,90A89.7,89.7,0,0,1,256,270Z'/%3E%3C/svg%3E") no-repeat;
    left: 0.6em;
    top: 0;
}
.calc-handlers h5 {
	font-weight: 600;
	color: #2b2b33;
	text-transform: none;
}
.calc-resume {padding-top:1.5rem;}
.sum {
	font-size: 2.8rem;
	font-weight: 600;
	line-height: 1.1;
	margin-left: 0.6em;
}
.section-ymap {
	position: relative;
	z-index: 2000;
}
#ymap {
    display: none;
	width: 100%;
    height: 100%;
    min-width: 320px;
    position: fixed;
    background: white;
    left: 0;
    top: 0;
	padding-top: 4.5rem;
}

#ymap::before {
    position: absolute;
    top: 20%;
    left: 50%;
    content: "Подождите,идет загрузка карт...";
    font-weight: 700;
    color: #b1b1b5;
    text-align: center;
    margin-left: -120px;
}
.ymap-header, .ymap-bottom {
    position: absolute;
	width: 100%;
    left: 0;
    top: 0;
    text-align: center;
	z-index: 5;
}
.ymap-bottom {
    top: auto;
    left: -20%;
    width: 140%;
    bottom: -150px;
    height: 150px;
    background: #000;
    box-shadow: 0 -80px 100px #000;
}
#ymap .bottom-footer {
	width: 100%;
	position: absolute;
    left: 0;
    top: -105px;
}
#ymap .bottom-footer button {
	font-size: 1.2rem;
	padding: 1em 2.4em;
	margin-bottom: 15px;
	box-shadow: 1px 3px 11px rgba(0,0,0,0.5);
}
#ymap .return-link {font-size: 1rem;}

.icon-color {fill: #dcdbde;	transition: all 0.3s;}
.active .x-light {fill: #ededee;}
.active .light {fill: #dcdbde;}
.active .gray {fill: #a7a5ac;}
.active .dark-gray {fill: #625d6b;}
.active .pink {fill: #f88;}
.active .red {fill: #ff6464;}			
.active .bordo {fill: #d2555a;}			
.active .light-dark {fill: #736f7b;}			
.active .dark {fill: #504b5a;}

/**** slide Control ****/
.slideControl_deep {
	background-color: #f5f5f5;
	box-shadow: 0 1px 6px 0 RGBA(0, 0, 0, 0.2) inset;
	border: 1px solid #d2d2d2;
}
.slideControl_deep {
	width: 92%;
	height: 24px;
	position: relative;
	margin: 20px auto;
}
.slideControlContainer {
	width: calc(100% - 4px);
	height: 14px;
	float: left;
	margin-top: 4px;
	margin-left: 4px;
	cursor: pointer;
}

.slideControlFill {
	height: 100%;
	display: block;
	position: relative;
	background: #e72121;
	z-index: 1;
	overflow: visible !important;
}
 .slideControlHandle {
	width: 3.5em;
	height: 3.5em;
	line-height: 3.5em;
    border-radius: 50px;
    margin: 15px 5px;
	font-weight: 500;
	color: #8a8a91;
	background-color: white;
	box-shadow: 0 0 5px rgba(0,0,0,0.15);
	border: 1px solid #dedddd;
	cursor:pointer;
}

.slideControlHandle {
	position: absolute;
    top: -2.1rem;
    right: -1.8rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 490 490'%3E%3Cpath fill='%23cacacc' d='M189.8,245A55.2,55.2,0,1,1,245,300.2,55.2,55.2,0,0,1,189.8,245Zm245-55.2A55.2,55.2,0,1,0,490,245,55.2,55.2,0,0,0,434.8,189.8Zm-379.6,0A55.2,55.2,0,1,0,110.4,245,55.2,55.2,0,0,0,55.2,189.8Z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 50%;
	background-position: center;
	z-index: 5;
	cursor:pointer;
}

.slideControlValue {  /* раньше был .slideControl */
	width: 2.8em;
	font-size: 1.2em;
	font-weight: 600;
	color: #e72121;
	text-align: right;
	padding: 0;
	border: 0;
}
/**** стили UI *****/
.search-addr {
    z-index: 9999;
}
.ui-menu {
    background: rgba(43,43,51,0.9);
	color: white;
	box-shadow: 0 0 3px rgba(0,0,0,0.4);
    list-style: none;
    padding: 0;
    margin: 0 1px;
    display: block;
    outline: 0;
	border-bottom-left-radius: 3px;
}
.ui-menu .ui-menu-item-wrapper {
    position: relative;
    padding: 6px 1em 6px 1em;
}
.ui-menu .ui-menu-item {
    cursor: pointer;
}

.ui-menu .ui-state-active {
    background: #2b2b33;
    border-left: 4px solid #e72121;
}
.ui-helper-hidden-accessible { 
	display: none;
}
@media screen and (min-width: 992px) {
	.section-calcevak {
		background-image: url("/uploads/images/evakuator/calc-map-bg.jpg");
	}
	.calc-body {box-shadow: 2px 3px 15px rgba(0,0,0,0.4);}
	.block-item:first-child {padding-right: 25px;}
	.block-item:last-child {padding-left: 25px;}
	.pfooter {height: 200px;}
	/* hover desktop only */
	.block:hover h5 {color: #2b2b33;}
	.block:hover .x-light {fill: #ededee;}
	.block:hover .light {fill: #dcdbde;}
	.block:hover .gray {fill: #a7a5ac;}
	.block:hover .dark-gray {fill: #625d6b;}
	.block:hover .pink {fill: #f88;}
	.block:hover .red {fill: #ff6464;}			
	.block:hover .bordo {fill: #d2555a;}			
	.block:hover .light-dark {fill: #736f7b;}			
	.block:hover .dark {fill: #504b5a;}	
	
}

@media screen and (max-width: 767px) {
	.section-calcevak h1 {font-size:1.3rem;}
	.calc-tabs-wrapper {overflow-x: scroll;}
	.block:not(:last-child) {padding-right: 15px;}
	.block-icon>svg {height: 3rem;}
	.block h5 {font-size: 0.85rem;}
}
@media screen and (max-width: 560px) {
	.calc-body {
		padding-left: 0;
		padding-right: 0;
	}
	.slideControl_deep {width: calc(100%  -  40px);}
}
.swingShake {
 -webkit-animation-duration:3.6s;
 animation-duration:3.6s;
 -webkit-animation-name:swingShake;
 animation-name:swingShake;
 -webkit-animation-iteration-count:infinite;
 -o-animation-iteration-count:infinite;
 -moz-animation-iteration-count:infinite;
 animation-iteration-count:infinite;
 -webkit-animation-fill-mode:both;
 animation-fill-mode:both;
 animation-timing-function:ease-in;
 transform-origin:center center;
}
@-webkit-keyframes swingShake {
 0%, 16% {
  -webkit-transform:translateY(0);
  transform:translateY(0);
 }
 4% {
  -webkit-transform:translateY(-15px);
  transform:translateY(-15px);
 }
 12% {
  -webkit-transform:translateY(15px);
  transform:translateY(15px);
 }
 20%, 26%, 32% {
  -webkit-transform:translateX(0);
  transform:translateX(0);
 }
 24%, 30% {
  -webkit-transform:translateX(-4px);
  transform:translateX(-4px);
 }
}
@keyframes swingShake {
 0%, 16% {
  -webkit-transform:translateY(0);
  transform:translateY(0);
 }
 4% {
  -webkit-transform:translateY(-15px);
  transform:translateY(-15px);
 }
 12% {
  -webkit-transform:translateY(15px);
  transform:translateY(15px);
 }
 20%, 26%, 32% {
  -webkit-transform:translateX(0);
  transform:translateX(0);
 }
 24%, 30% {
  -webkit-transform:translateX(-4px);
  transform:translateX(-4px);
 }
}