.arcticmodal-overlay,
.arcticmodal-container { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; }
.arcticmodal-container { overflow: auto; margin: 0; padding: 0; border: 0; border-collapse: collapse; }
*:first-child+html .arcticmodal-container { height: 100% }

table.arcticmodal-container_i {
	height: 100%;
	width: auto;
	margin: 0 auto;
}

.arcticmodal-container_i2 { padding: 24px; margin: 0; border: 0; vertical-align: middle; }
.arcticmodal-error { padding: 20px; border-radius: 10px; background: #000; color: #fff; }
.arcticmodal-loading { width: 80px; height: 80px; border-radius: 10px; background: #000; }
.arcticmodal-close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 18px;
	height: 18px;
	background: url('close.png') no-repeat right top;
	z-index: 5000;
	cursor: pointer;
}

.arcticmodal-close.text-close {
	position: static;
	width: 160px;
	margin: 40px auto 18px;
	text-align: center;
	line-height: 32px;
	height: auto;
	color: #fff;
	background: #4FC1E9;
	border-radius: 3px;
}

.arcticmodal-close.text-close:hover {
	background: #1596C4;
}

.modal-search.arcticmodal-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 100px;
	height: auto;
	z-index: 5000;
	cursor: pointer;
	background: #ff0000;
	color: #fff;
	border-radius: 3px;
	text-align: center;
	line-height: 28px;
}

.modal-handler {
	display: none;
}

.box-modal {
	position: relative;
	padding: 20px;
	background: #fff;
	color: #3c3c3c;
	border: 5px solid #0BB4B6;
	border-radius: 6px;
}

.box-modal.form-onMain {
	padding: 0px 15px;
	background: #4FC1E9;
	border: none;
}

#modal-raion {
	width: 980px;
	/*height: 520px;*/
}

#modal-station {
	width: 660px;
	height: 270px;
}

#modal-station .span-handler,
#modal-raion .span-handler,
#modal-type .span-handler,
#modal-format .span-handler {
	display: inline-block;
	margin: 3px 0;
	font-size: 14px;
	width: 195px;
}
#modal-type .span-handler,
#modal-format .span-handler {
	display: block;
	margin-right: 100px;
}

.span-handler:hover {
	color: #4FC1E9;
}
#modal-station span,
#modal-raion span,
#modal-type span,
#modal-format span {
	cursor: pointer;
}

#modal-station span.active,
#modal-raion span.active,
#modal-type span.active,
#modal-format span.active {
	color: #4FC1E9;
}

#modal-station span.active:before,
#modal-raion span.active:before,
#modal-type span.active:before,
#modal-format span.active:before {
	content: "✔ ";
	color: #4FC1E9;
}

.modal-map {
	width: 800px;
	height: 450px;
	padding: 30px;
	background: #fff;
}

#modalMap {
	width: 800px;
	height: 450px;
	padding: 0;
	margin: 0;
}

.show-handler div {
	display: inline-block;
	padding: 5px 10px;
	background: #4FC1E9;
	border-radius: 3px;
	margin: 0 0 20px;
	cursor: pointer;
}

.show-handler div.active {
	background: #1596C4;
	color: #f5f5f5;
	cursor: default;
}

.okrugs {
	margin: 5px 0 20px 0;
}

.okrugs span {
	margin: 0 5px;
	border-bottom: 1px dashed #333;
}

.okrugs span.active,
.okrugs span:hover {
	color: #4FC1E9;
	border-bottom: 1px dashed #4FC1E9;
}

.okrugs span.active:before {
	content: "" !important;
}

/*
	Карта метро
----------------------------- */
.metro_map_nav {
    position: relative;
    width: 240px;
    margin: 5px 0px 0px 0px;
}
.metro_map_nav_button {
    cursor: pointer;
    font-size: 12px;
    display: block;
    background-color: #76CFEE;
    border-radius: 3px;
    margin: 0px 0px 5px 0px;
    padding: 0px 10px;
    width: 100px;
    text-align: center;
    line-height: 20px;
}
.circle_clear {
    position: absolute;
    top: 0px;
    right: -32px;
    background: red;
    color: #fff;
}
.metro_map_nav .active{background:#1596C4;color:#fff;}
#metro-svg-handler{position:relative;}
#metro-svg-handler text{cursor:pointer;}
#metro-svg-handler text.check,
#metro-svg-handler circle.check,
#metro-svg-handler text:hover,
#metro-svg-handler cirlce:hover{fill:#4FC1E9;}
#svg-controls{position:absolute;top:-35px;right:0px;}
#svg-controls span{display:inline-block;padding:0 8px;text-align:center;line-height:25px;background:#76CFEE;cursor:pointer;font-size:16px;}
