@import url(https://fonts.googleapis.com/css?family=Engagement);

h1 {
text-align:center;
font-family:'Engagement', sans-serif;
/*
font-size:88px;
*/
font-weight:normal;
color:#606060;
}

#content {
margin:20px auto 0;
width:1000px;
}

.demo1 {
width:960px;
height:514px;
cursor: default !important;
overflow: initial !important;
}

.menu {
margin-bottom:40px;
text-align:center;
}

.menu a {
color:#D7363A;
font-size:11px;
font-weight:bold;
margin:0 10px;
}

.preloader {
background:url(https://zhdalians.ru/css/images/loader.gif) no-repeat center #fff;
}

.marker {
display:block;
text-indent:-9999px;
width:15px;
height:23px;
outline:none;
background: url(../../img/Shape.png) no-repeat;
cursor:pointer;
}

@keyframes bounce {
	0%, 20%, 60%, 100% {
		transform: translateY(0);
		transform: translateY(0);
	}

	40% {
		transform: translateY(-20px);
		transform: translateY(-20px);
	}

	80% {
		transform: translateY(-10px);
		transform: translateY(-10px);
	}
}

.marker:hover {
   animation: bounce 0.5s;
}

.marker#moscow {
	background: url(../../img/moscow.png) no-repeat;
	cursor:pointer;
    width: 32px;
    height: 39px;
    background-size: 60%;
}

.popup {
width:300px;
position:absolute;
padding:8px;
background:#2a2a2a;
color:#fff;
font-weight:bold;
font-size:11px;
line-height:20px;
}

.popup h3 {
margin:0;
margin-bottom:10px;
font-family: 'Cabin Condensed', sans-serif;
font-weight:normal;
font-size:20px;
}

.popup .close {
display:block;
text-indent:-9999px;
position:absolute;
top: 4px;
right: 9px;
width: 22px;
height: 22px;
outline:none;
background:url(../../img/close.png) no-repeat;
cursor:pointer;
}

.relative {
position:relative;
}

.controls {
position:absolute;
top:20px;
left:20px;
z-index:20;
}

.controls a {
background:#2a2a2a;
background:rgba(0, 0, 0, .6);
display:block;
float:left;
clear:both;
font-size:11px;
font-weight:bold;
line-height:28px;
margin-bottom:4px;
outline:none;
padding:0 15px;
text-decoration:none;
}

.controls a:hover {
background:#eee;
color:#2a2a2a;
}

.controls .active {
background:#D7363A;
color:#fff;
}

.map-svg-block-wrapper {
	height: 600px;
}

.hover_block {
    z-index: 3 !important;
}

.hover_block .markerContent {
	display: block !important;
    background: #2a2a2a;
    color: #fff;
    float: right;
    font-size: 12px;
    text-indent: 0px;
    margin-right: 18px;
    white-space: nowrap;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 3px;
    margin-top: 4px;
}

.hover_block .markerContent .popup-top-wrapper {
	display: none;
}

.hover_block .markerContent .popup-bottom-wrapper {
	display: none;
}

.hover_block .markerContent::after {
	content: ''; 
    position: absolute;
    right: 9px; 
    top: 8px;
    border: 4px solid transparent;
    border-left: 5px solid #2a2a2a;
}

#moscow .markerContent {
    margin-right: 33px;
}

#moscow .markerContent::after {
    right: 25px;
}

.overlay {
	width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    background: #000;
    background: rgba(0,0,0,0.3);
    display: none;
}

.demo1 .popup {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    top: 10% !important;
    z-index: 1002;
    width: max-content;
    min-width: 370px;
    height: auto;
    max-height: 600px;
    overflow-y: auto;
    padding-bottom: 40px !important;
    padding-right: 40px !important;
    border: 1px solid red;
    border-radius: 5px;
    padding-left: 0px;
    padding-top: 0px;
    background: #fff;
    -webkit-box-shadow: 0 5px 30px rgba(0,0,0,0.9);
    -moz-box-shadow: 0 5px 30px rgba(0,0,0,0.9);
    box-shadow: 0 5px 30px rgba(0,0,0,0.9);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    color: #222 !important;
}

.demo1 .popup .sity_hover {
	display: none;
}

.popup-top-wrapper {
	padding: 20px;
	display: table;
}

.popup-top-image {
	display: table-cell;
}

.popup-top-title {
	display: table-cell;
    color: #222 !important;
    vertical-align: bottom;
    padding-left: 10px;
}

.popup-top-title a {
	color: #222 !important;
    font: 23px 'HelveticaNeueCyr-Bold';
    border-bottom: 1px solid #222;
    line-height: 29px;
}

.popup-bottom-wrapper .popup-telephone {
    background: url(../../img/telephone.png) no-repeat;
	font-family: Helvetica, Arial, sans-serif;
    padding-left: 65px;
    font-size: 14px;
    font-weight: 100;
    background-position-x: 40px;
    background-position-y: 6px;
}

.popup-bottom-wrapper .popup-mail {
	font-family: Helvetica, Arial, sans-serif;
    padding-left: 65px;
    font-size: 14px;
    font-weight: 100;
    margin-top: 10px;
}

.popup-bottom-wrapper .popup-mail a {
	color: #222 !important;
}

.popup-bottom-wrapper .popup-mail {
	background: url(../../img/mail_icon.png) no-repeat;
	background-position-x: 40px;
    background-position-y: 6px;
}

.popup-address {
	font-family: Helvetica, Arial, sans-serif;
    padding-left: 65px;
    font-size: 14px;
    font-weight: 100;
	background: url(../../img/home.png) no-repeat;
	background-position-x: 40px;
    background-position-y: 6px;
    margin-top: 10px;
}

.popup-bottom-wrapper .popup-name {
    font-size: 14px;
    margin-left: 40px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.imgContent {
	z-index: auto !important;
}

.search-result {
	/*z-index: -1;*/
}

.form-wrap {
    /*
	z-index: 99;
    */
    z-index: 2;
}

/*
@media screen and (max-width: 1500px) {

    .demo1 .popup {
        left: 38% !important;
    }

}

@media screen and (max-width: 1200px) {

    .demo1 .popup {
        left: 33% !important;
    }

}
*/