﻿.gm_default {padding: 5px 0px 12px 0px; width: 100%; z-index: -1;}
#structure .gm_default {padding-top: 0px; }

#gm_map {height: 40px; overflow:hidden; position: relative; left: 0; }
#gm_map.onmainpage {height: 264px; overflow:hidden; position: relative; left: 0; }

#gm_controls, #gm_corners {display:none;}
#gm_controls a, #gm_controls div {display:block;position:absolute;}

.onmainpage #gm_controls .zoom-in,#gm_controls .zoom-out{left:5px;width:27px;cursor:pointer;}
.onmainpage #gm_controls .zoom-in {top:35px;height:26px;background-image:url("../images/gmap/gm_zoom_in.gif");}
.onmainpage #gm_controls .zoom-out {top:170px;height:25px;background-image:url("../images/gmap/gm_zoom_out.gif");}

#gm_controls .zoom-in,#gm_controls .zoom-out{left:5px;width:27px;cursor:pointer;}
#gm_controls .zoom-in {top:65px;height:26px;background-image:url("../images/gmap/gm_zoom_in.gif");}
#gm_controls .zoom-out {top:200px;height:25px;background-image:url("../images/gmap/gm_zoom_out.gif");}
#gm_controls .zoom-in:hover {background-image:url("../images/gmap/gm_zoom_in_orange.gif");}
#gm_controls .zoom-out:hover {background-image:url("../images/gmap/gm_zoom_out_orange.gif");}

#gm_controls .slider-bg, #gm_controls .slider {width:27px}
.onmainpage #gm_controls .slider-bg {top:61px;left:5px;overflow:visible;height:109px !important;background-image:url("../images/gmap/gm_slider_body.gif");cursor:pointer;}
#gm_controls .slider-bg {top:91px;left:5px;overflow:visible;height:109px !important;background-image:url("../images/gmap/gm_slider_body.gif");cursor:pointer;}
#gm_controls .slider {left:0px;height:5px;background-image:url("../images/gmap/gm_runner.gif");margin-top:1px; font-size:1px !important;}

#gm_controls .up {top:35px;left:5px;width:27px;height:7px;background:url("../images/gmap/up_arrow_grey.gif") no-repeat 0 0;}
#gm_controls .left {top:42px;left:5px;width:7px;height:13px;background:url("../images/gmap/left_arrow_grey.gif") no-repeat 0 0;}
#gm_controls .center {top:42px;left:12px;width:13px;height:13px;background:url("../images/gmap/center.gif") no-repeat 0 0;}
#gm_controls .right {top:42px;left:25px;width:7px;height:13px;background:url("../images/gmap/right_arrow_grey.gif") no-repeat 0 0;}
#gm_controls .down {top:55px;left:5px;width:27px;height:7px;background:url("../images/gmap/down_arrow_grey.gif") no-repeat 0 0;}

.onmainpage #gm_controls .up {top:5px;left:5px;width:27px;height:7px;background:url("../images/gmap/up_arrow_grey.gif") no-repeat 0 0;}
.onmainpage #gm_controls .left {top:12px;left:5px;width:7px;height:13px;background:url("../images/gmap/left_arrow_grey.gif") no-repeat 0 0;}
.onmainpage #gm_controls .center {top:12px;left:12px;width:13px;height:13px;background:url("../images/gmap/center.gif") no-repeat 0 0;}
.onmainpage #gm_controls .right {top:12px;left:25px;width:7px;height:13px;background:url("../images/gmap/right_arrow_grey.gif") no-repeat 0 0;}
.onmainpage #gm_controls .down {top:25px;left:5px;width:27px;height:7px;background:url("../images/gmap/down_arrow_grey.gif") no-repeat 0 0;}

#gm_controls .up:hover {background-image:url("../images/gmap/up_arrow_orange.gif");}
#gm_controls .left:hover {background-image:url("../images/gmap/left_arrow_orange.gif");}
#gm_controls .right:hover {background-image:url("../images/gmap/right_arrow_orange.gif");}
#gm_controls .down:hover {background-image:url("../images/gmap/down_arrow_orange.gif");}
#gm_controls .center:hover {background-image:url("../images/gmap/center_orange.gif");}

#gm_controls #_m_expander {display:block;position:absolute;top:199px;left:5px;width:27px;height:27px;cursor:pointer;}
#gm_controls #m_expander {display:block;position:absolute;top:5px;left:5px;width:27px;height:27px;cursor:pointer;}
#gm_controls .exp_horizontal {background-image:url("../images/gmap/gm_expand_hor.gif");}
#gm_controls .exp_horizontal:hover {background-image:url("../images/gmap/gm_expand_hor_hover.gif");}
#gm_controls .exp_vertical {background-image:url("../images/gmap/gm_expand_vert.gif");}
#gm_controls .exp_vertical:hover {background-image:url("../images/gmap/gm_expand_vert_hover.gif");}
#gm_controls .exp_undo {background-image:url("../images/gmap/gm_expand_back.gif");}
#gm_controls .exp_undo:hover {background-image:url("../images/gmap/gm_expand_back_hover.gif");}

#map_container_right {margin-bottom: 7px;}

.tl, .tr, .bl, .br {position:absolute;width:5px;height:5px;}
.tl {top:0px;left:0px;background:url("../images/gmap/gm_tl.gif") no-repeat 0 0;}
.tr {top:0px;right:-1px;background:url("../images/gmap/gm_tr.gif") no-repeat 100% 0;}
.bl {bottom:0px;left:0px;background:url("../images/gmap/gm_bl.gif") no-repeat 0 100%;}
.br {bottom:0px;right:-1px;background:url("../images/gmap/gm_br.gif") no-repeat 100% 100%;}

/* всплывающее окно */
#gm_infowin {
	position: absolute;
	z-index: 100;
	display:none;
	background: url(../images/popup_btm.png) no-repeat 0 100%;
	width: 237px;
	padding: 0 0 20px 0;
}
	#gm_infowin .in {
		background: url(../images/popup_top.png) no-repeat 0 0;
		padding: 20px 20px 0 20px; width: 197px;
		}
	#gm_infowin h5{
	    padding-top: 2px;
		padding-bottom: 2px;
		}	
	#gm_infowin h5 a{ 
		font-size: 0.9em; 
		position: static;
		height: auto;
		width: auto;
		font-weight: normal; 
		padding-bottom: 2px;
		margin: 0;
		}
	#gm_infowin p, .column #gm_infowin p { 
		color: #5f5d59; 
		padding-bottom: 2px;
		font-family: "Times New Roman", Times, serif; font-style:italic; font-size: 1.2em;
		}
	
	#gm_infowin span {	font-weight: bold; }

#gm_infowin.postl { background: url(../images/popup_btm.png) no-repeat 0 100%; }
#gm_infowin.postl .in { background: url(../images/popup_top_l.png) no-repeat 0 0; }

#gm_infowin.postr { background: url(../images/popup_btm.png) no-repeat 0 100%; }
#gm_infowin.postr .in { background: url(../images/popup_top_r.png) no-repeat 0 0; }

#gm_infowin.posbl { background: url(../images/popup_btm_l.png) no-repeat 0 100%; }
#gm_infowin.posbl .in { background: url(../images/popup_top.png) no-repeat 0 0; }

#gm_infowin.posbr { background: url(../images/popup_btm_r.png) no-repeat 0 100%; }
#gm_infowin.posbr .in { background: url(../images/popup_top.png) no-repeat 0 0; }

.infowin_top { 
	position: absolute;
	top: -5px;
	left: 0;
	width: 188px;
	height: 5px;
	background: url(../images/gmap/gm_infowin_top.gif) no-repeat 0 0;
	}

.infowin_bottom {
	position: relative;
	width: 170px;
	height: 50px;
	padding: 5px 10px 10px 10px; 
	background: url(../images/gmap/gm_infowin_bottom.gif) no-repeat 0 100%;
	}
	
	.infowin_bottom h5{
	    padding-top: 2px;
		padding-bottom: 2px;
		}	
	.infowin_bottom h5 a{ 
		font-size: 0.9em; 
		position: static;
		height: auto;
		width: auto;
		font-weight: normal; 
		padding-bottom: 2px;
		margin: 0;
		}
	.infowin_bottom p, .column .infowin_bottom p { 
		color: #5f5d59; 
		padding-bottom: 2px;
		font-family: "Times New Roman", Times, serif; font-style:italic; font-size: 1.2em;
		}
	
	.infowin_bottom span {	font-weight: bold; }
	
.infowin_close {
    position:absolute;
    top:0px;
    right:7px;
    width:5px;
    height:5px;
    cursor:pointer;
    background-image:url(../images/gmap/gm_xclose.gif);
    }
    
/* тип карты (выпадающий список) */
.gm_dd {
    position: absolute;
    top: 5px; right: 5px;
    display:none;
}
    .gm_dd div { overflow: hidden; }
    .gm_dd label {
	    font: 11px normal Tahoma, Arial;
	    color: #000 !important;
	    margin-left: 10px;
    }
    .gm_dd .top, .gm_dd .bottom{
	    width: 87px; height: 5px; 
    }
    .gm_dd .top { background: url('/files/images/gmap/top.gif') no-repeat 0 0;  }
    .gm_dd .bottom { background: url('/files/images/gmap/bottom.gif') no-repeat 0 0; }

    .gm_dd .mid_header{
	    background: url('/files/images/gmap/middle.png') no-repeat 0 0;
	    width: 87px; height: 13px; line-height:13px;
	    }

    .gm_dd .mid_body{
	    background: url('/files/images/gmap/middle_noarrow.png');
	    width: 87px; height: 45px;
            border-top: 1px solid #8cc2df;
    }

/* маркеры */
.marker_big_yellow, .marker_dark_blue, .marker_mid_blue, .marker_light_blue, .marker_dark_pink, .marker_mid_pink, .marker_light_pink, .marker_big_yellow_no_opacity, .marker_dark_blue_no_opacity, .marker_mid_blue_no_opacity, .marker_light_blue_no_opacity, .marker_dark_pink_no_opacity, .marker_mid_pink_no_opacity, .marker_light_pink_no_opacity  {
	position:  absolute; top: 0;
	width: 30px; height: 37px;
}
.marker_big_yellow a, .marker_dark_blue a, .marker_mid_blue a, .marker_light_blue a, .marker_dark_pink a, .marker_mid_pink a, .marker_light_pink a, .marker_big_yellow_no_opacity a, .marker_dark_blue_no_opacity a, .marker_mid_blue_no_opacity a, .marker_light_blue_no_opacity a, .marker_dark_pink_no_opacity a, .marker_mid_pink_no_opacity a, .marker_light_pink_no_opacity a  {
	display: block;
	width: 30px; height:  37px;
}
.marker_big_yellow, .marker_big_yellow_no_opacity, .marker_big_yellow a, .marker_big_yellow_no_opacity a {
	width: 38px; height:  52px;
}
    
.marker_dark_blue	{ background: url('/files/images/gmap/marker_dark_blue.png') no-repeat 0 0;	left: 10px;	 }
.marker_mid_blue	{ background: url('/files/images/gmap/marker_mid_blue.png') no-repeat 0 0; 	left: 40px;	 }
.marker_light_blue	{ background: url('/files/images/gmap/marker_light_blue.png') no-repeat 0 0; 	left: 70px;	 }
.marker_dark_pink	{ background: url('/files/images/gmap/marker_dark_pink.png') no-repeat 0 0; 	left: 100px;	 }
.marker_mid_pink	{ background: url('/files/images/gmap/marker_mid_pink.png') no-repeat 0 0;  	left: 130px;	 }
.marker_light_pink	{ background: url('/files/images/gmap/marker_light_pink.png') no-repeat 0 0; 	left: 160px;	 }
.marker_red			{ background: url('/files/images/gmap/marker_red.png') no-repeat 0 0; 				left: 190px;  }
.marker_big_yellow	{ background: url('/files/images/gmap/marker_big_yellow.png') no-repeat 0 0;	left: 200px;  }

.marker_dark_blue_no_opacity	{ background: url('/files/images/gmap/marker_dark_blue_no_opacity.png') no-repeat 0 0;	 	left: 240px; 	}
.marker_mid_blue_no_opacity		{ background: url('/files/images/gmap/marker_mid_blue_no_opacity.png') no-repeat 0 0;  		left: 270px;		}
.marker_light_blue_no_opacity	{ background: url('/files/images/gmap/marker_light_blue_no_opacity.png') no-repeat 0 0;		left: 300px;		}
.marker_dark_pink_no_opacity	{ background: url('/files/images/gmap/marker_dark_pink_no_opacity.png') no-repeat 0 0;		left: 330px;		}
.marker_mid_pink_no_opacity		{ background: url('/files/images/gmap/marker_mid_pink_no_opacity.png') no-repeat 0 0;		left: 360px;		}
.marker_light_pink_no_opacity	{ background: url('/files/images/gmap/marker_light_pink_no_opacity.png') no-repeat 0 0;		left: 390px;		}
.marker_red_no_opacity			{ background: url('/files/images/gmap/marker_red_no_opacity.png') no-repeat 0 0;					left: 420px;		}
.marker_big_yellow_no_opacity	{ background: url('/files/images/gmap/marker_big_yellow_no_opacity.png') no-repeat 0 0;		left: 400px;		}

.gmselmaptype {
    position: absolute;
    top: 7px;
    right: 7px;
    overflow: hidden;
    display: none;
	}
	.gmselmaptype div {
		float: left;
		margin: 0 2px 0 0;
		background: url('../images/gmap/maptype_btn_right.png') no-repeat top right;
		padding-right: 5px;
		cursor: pointer;
		}
	.gmselmaptype div label {
		float: left;
		background: url('../images/gmap/maptype_btn_left.png') no-repeat 0 0;
		padding: 7px 0 7px 5px;
		font-size: 11px;
		font-family: Georgia;
		color: #000000;
		cursor: pointer;
		}
	.gmselmaptype div.withSeparator { background-image: url('../images/gmap/maptype_btn_right_on.png'); }
	.gmselmaptype div.withSeparator label { background-image: url('../images/gmap/maptype_btn_left_on.png'); }
