/* Главная карта */

#maps-map-block {
	margin-top: -5px;
	margin-bottom:20px;
	border:solid 4px #B8D6FB;
	position:relative;
}

#maps-map-block #map-canvas {
	width:100%;
	height:500px;
}

/* Выбор города */

#maps-city-selector { 
	display: inline-block;
	padding:5px 10px 10px 25px;
	background: url("../../images/maps/icons/expand.png") no-repeat 9px 5px #B8D6FB;
	line-height: 16px;
	position:absolute;
    left:0;
	top:0;
	z-index: 10;
	box-shadow: 0 1px 1px #666;
}

#maps-city-selector a { color:#34495e; border-color:#34495e; }
#maps-city-selector a:hover { color:#000; border-color:#000; }

#maps-city-selector-window {
	width:500px;
	padding:15px;		
	overflow: hidden;
}

#maps-city-selector-window h3{
	margin:0;
	margin-bottom:15px;
}

#maps-city-selector-window .maps-city-list{
	max-height: 500px;
	overflow-y: auto;
}

#body section h1{ position: relative; }

#maps-list-city-selector {
    display: inline-block;
    font-size: 14px;
    margin-left: 15px;
    position: absolute;
    top: 9px;
}
#maps-list-city-selector a {
    text-decoration: none;
    color:#34495e;
    padding: 3px 5px 5px 20px;
    background: url("../../images/maps/icons/expand.png") no-repeat 6px 3px;
    }
#maps-list-city-selector a:hover {
    background-color: #F4F8FD;    
    color:#68809B;
}

/* Балун на главной карте - Общие */

#maps-map-block #map-canvas .balloon-loading {
	display:block;
	width:100px;
	height:50px;
	background:url("../../images/maps/loader-white.gif") no-repeat center;
}

.maps-balloon table,
.maps-balloon table td {
	border:none;
	border-collapse: collapse;
	padding:0;
	margin:0;	
	vertical-align: top;
}
	
.maps-balloon .image{
	padding-right: 15px;
}

.maps-balloon .details .title{
	font-size:18px;
	font-weight:bold;
}  

.maps-balloon .details .category a {
    font-size:11px;
    color:#999;
    text-decoration: none;
}

.maps-balloon .details .category a:hover {
    color:#666;
}

.maps-balloon .details .title a {
	color:#2c3e50;
}
.maps-balloon .details .title a:hover {
	color:#F60;
}
.maps-balloon .details .address{
	color:#68809B;
}
.maps-balloon .details .contacts {
	font-size:12px;
	margin-top:10px;
}
.maps-balloon .details .contacts ul,
.maps-balloon .details .contacts ul li {
	list-style: none;
	padding:0;
	margin:0;	
}
.maps-balloon .details .contacts ul li {
	
	color:#555;
}

.maps-balloon .details .contacts ul li a { color:#666; text-decoration: none; }
.maps-balloon .details .contacts ul li a:hover { text-decoration: underline; }

.maps-balloon .reviews { overflow: hidden; margin-top: 10px; }
.maps-balloon .reviews .maps-star-rating { float:left; margin-right:10px; }
.maps-balloon .reviews a { float:left; display: block; height:16px; line-height: 16px; }

.maps-balloon-list .title{
    margin-bottom: 5px;
}

.maps-balloon-list .items{
    max-height: 250px;
    overflow-y: auto;
}

.maps-balloon-list .list,
.maps-balloon-list .list .category {
    list-style:none; margin:0; padding:0;
    text-align: left;
}

.maps-balloon-list .category,
.maps-balloon-list .category > a { 
    color:#999;
    text-decoration: none;
}

.maps-balloon-list .category > a:hover {
    color:#666;
}

.maps-balloon-list .category ul {
    margin-left:10px;
    list-style:disc;
    padding-left: 10px;    
    margin-bottom: 5px;
}


/* Балун на главной карте - 2ГИС */

.dg-popup__container .balloon-loading { background-image:url("../../images/maps/loader-black.gif") !important; }
.dg-popup__container .maps-balloon .title a { color:#FFF; }
.dg-popup__container .maps-balloon .address { color:#d4e6fc; }
.dg-popup__container .maps-balloon .details .contacts ul li, 
.dg-popup__container .maps-balloon .details .contacts ul li a { color:#ECECEC; }
.dg-popup__container .maps-balloon .details .contacts ul li.phone { background-image:url("../../images/maps/icons/glyph-light-phone.png"); }
.dg-popup__container .maps-balloon .details .contacts ul li.url { background-image:url("../../images/maps/icons/glyph-light-url.png"); }
.dg-popup__container .maps-balloon .details .contacts ul li.skype { background-image:url("../../images/maps/icons/glyph-light-skype.png"); }
.dg-popup__container .maps-balloon .details .contacts ul li.email { background-image:url("../../images/maps/icons/glyph-light-email.png"); }

/* Балун на главной карте - BING */

.balloon-bing { background: #FFF; padding: 15px; padding-right:25px; box-shadow: 0 0 3px #000; white-space: nowrap; position:relative; }
.balloon-bing.balloon-loading { background-color: #FFF !important; padding:0; }
.balloon-bing a.close{ 
	display: block;
	width: 16px; height: 16px;
	background:url("../../images/maps/balloon-close.png") no-repeat center;
	position: absolute;
	right:5px;
	top:5px;
}

/* Контакты */
.maps-contacts-list li {
	min-height:20px;
	line-height:20px;
	margin-bottom: 2px;
	padding-left:18px !important;
	background-position: left center;
	background-repeat: no-repeat;		
}

.maps-contacts-list li.phone { background-image:url("../../images/maps/icons/glyph-phone.png"); }
.maps-contacts-list li.url { background-image:url("../../images/maps/icons/glyph-url.png"); }
.maps-contacts-list li.skype { background-image:url("../../images/maps/icons/glyph-skype.png"); }
.maps-contacts-list li.email { background-image:url("../../images/maps/icons/glyph-email.png"); }

/* Редактирование категории */

#maps-category-marker .value {
	height:32px;
	line-height:32px;
}

#maps-category-marker .value .icon {
	width:32px;
	height:32px;
	border:solid 1px #B3C2C9;
	float:left;
	margin-right: 10px;
	background:no-repeat center;
}

#markers-gallery-window{
	display: none;
}
#markers-gallery{
	padding:15px;
	clear:both;
	overflow: hidden;
	width:500px;
}

#markers-gallery ul,
#markers-gallery ul li{
	list-style: none;
	margin:0; padding:0;
}

#markers-gallery ul li,
#markers-gallery ul li a {
	display: block;
	width:32px;
	height:32px;
}

#markers-gallery ul li{
	float:left;
	margin-right:4px;
	margin-bottom:4px;
	border: solid 1px #B3C2C9;
	background:no-repeat center #FFF;
}

#markers-gallery ul li:hover{
	background-color:#B3C2C9;
}

/* Список объектов */

.maps-list .content_list_item .photo {
	margin-right:10px;
}
.maps-list .content_list_item .photo a {
	display:block;
	min-width: 64px;
	min-height: 64px;
	background:url("../../images/maps/placeholder.png") no-repeat center;		
}

.maps-list .content_list_item .fields {
	float: left;
	width: 610px;
}

.maps-list .content_list_item .fields .ft_caption {
	margin-bottom: 5px;
}

.maps-list .content_list_item .fields .ft_text {
	line-height: 20px;
}

.maps-list .content_list_item .addrs {
	clear:both;	
	overflow: hidden;
	margin-bottom: 5px;
}

.maps-list .content_list_item .addrs ul{	
	overflow: hidden;
	list-style: none;
}

.maps-list .content_list_item .addrs ul,
.maps-list .content_list_item .addrs ul li {
	margin:0;
	padding:0;
	font-size:12px;
}

.maps-list .content_list_item .addrs ul li {
	float:left;
	margin-right: 20px;
	margin-bottom: 3px;
	color:#68809B;
	padding-left:18px;
	background: url("../../images/maps/icons/pin-small.png") no-repeat left center;		
}

/* Страница объекта */

.maps-item-contacts {
	overflow: hidden;
	min-height: 300px;
}
	
.maps-item-contacts h2 {
	margin-bottom: 20px;		
	margin-top:0;
}

.maps-item-contacts .maps-mini-map{
	float:right;
	width:340px;
	background:#FFF;
	border:solid 4px #B8D6FB;	
}

.maps-item-contacts .maps-mini-map .embed-link {
    padding:2px 0;
    text-align:center;
    background: #B8D6FB;	
}

.maps-item-contacts .maps-mini-map .embed-link a {
    font-size:11px;
}

.maps-item-contacts .maps-mini-map #map-canvas {
	height: 340px;
}

.maps-addrs-list .show-more-addrs { display:none; }

.maps-addrs-list > ul,
.maps-addrs-list > ul > li {
	list-style: none;
	padding:0;
	margin:0;
}

.maps-addrs-list > ul > li {
	margin-bottom:20px;
	color:#68809B;
}

.maps-addrs-list > ul > li a.addr{
	font-weight: bold;
}

.maps-addrs-list > ul > li a.addr.selected {
	color:#34495e;
	text-decoration: none;
	border:none;
}

.maps-addrs-list > ul > li a.addr.selected:after{
	content: " → ";
}

.maps-addrs-list > ul > li > .contacts {
	margin-top: 10px;
}

.maps-addrs-list > ul > li > .contacts ul,
.maps-addrs-list > ul > li > .contacts ul li {
	list-style: none;
	padding:0;
	margin:0;	
}

.maps-addrs-list > ul > li > .contacts ul li {
	margin-bottom: 4px;
	color:#7f8c8d;
}

.maps-addrs-list > ul > li > .contacts ul li a { color:#7f8c8d; }
.maps-addrs-list > ul > li > .contacts ul li a:hover { color:#F60; }

.maps-addrs-list li .reviews { 
	font-size: 12px; 
	margin-top:10px;
	overflow: hidden;
}

.maps-addrs-list li .reviews a {
	display: block;
	float:left;
	height:16px;
	line-height:16px;
	color:#68809B;
} 

.maps-addrs-list li .reviews a:hover { color:#F60 }

.maps-addrs-list li .reviews .maps-star-rating { 
	float:left; 
	margin-right:10px;
}

#maps-item-rating {	
	margin-bottom: 15px;
	overflow:hidden;
	background:#ecf0f1;
	border:solid 1px #bdc3c7;
	display: inline-block;	
}

#maps-item-rating .score {
	padding:5px 10px;
	float:left;
	margin-right:10px;
}

#maps-item-rating .score .legend{
	font-size: 12px;
	color:#7f8c8d;
}

#maps-item-rating .score.total{
	background:#FFF;
	padding-right:20px;
}

#maps-item-rating .score.total .legend{
	color:#333;
}

/* Добавление/редактирование объекта */

#maps-markers-list {}
#maps-markers-list #button-add {
	padding-left:18px;
	background:url("../../images/icons/add.png") no-repeat left center;
}

#maps-markers-list .marker-field {
	overflow: hidden;
	font-size:12px;
	margin-bottom:4px;
}

#maps-markers-list .marker-field:last-child{
	margin-bottom: 15px;
}

#maps-markers-list .marker-field div {
	float:left; margin-right: 10px; height:16px; line-height: 16px;
}
#maps-markers-list .marker-field a{
	margin-right:5px;
}

#maps-markers-list .marker-field .addr{
	background:url("../../images/maps/icons/addr.png") no-repeat left center;
	padding-left:20px;
}
#maps-markers-list .marker-field .coords{
	background:url("../../images/maps/icons/coords.png") no-repeat left center;
	padding-left:20px;
	color: #68809B;
	font-size: 10px;
}

#maps-marker-form { padding:10px; }
#maps-marker-form #columns { width:770px; overflow: hidden; }
#maps-marker-form #columns .column { float: left; }
#maps-marker-form #columns .column:first-child { margin-right: 5px; }

#maps-marker-form #columns #map-canvas,
#maps-marker-form #columns #city-selection{
	width: 530px;
	height: 441px;
	border:solid 5px #CCC;	
}
	
#maps-marker-form #columns #map-canvas { 
	background:url("../../images/maps/loader-white.gif") no-repeat center #ECECEC;
}

#maps-marker-form #columns #city-selection{
	display:none;
	padding:15px;
	width: 500px;
	height: 411px;	
}

#maps-marker-form #columns #city-selection h2{
	margin-top:0;
}

#maps-marker-form #columns #city-selection .search-form{
	margin:0;
}

#maps-marker-form #columns #city-selection .search-form .legend{
	margin-bottom:5px;
}

#maps-marker-form #columns #city-selection .search-form .input{
	width: 380px;
}

#maps-marker-form #columns #city-selection .search-form .button{
	height: 26px;
	font-size: 12px;
	line-height: 7px;
	margin-top: -5px;
}

#maps-marker-form #columns #city-selection #city-results {
	margin-top: 15px;
	height: 310px;
	overflow-y: auto;	
}

#maps-marker-form #columns #city-selection #city-exists .other{
	margin-top:10px;
	padding-top:10px;
	border-top: solid 1px #ECECEC;
}

#maps-marker-form #columns #city-selection #city-exists .other a {
	padding:5px 10px;
	font-size:12px;
	background: url("../../images/icons/search.png") no-repeat 5px center #F4F8FD;
	padding-left:24px;
	text-decoration: none;
	color:#34495e;
	border: solid 1px #B8D6FB;	
}

#maps-marker-form #columns #city-selection #city-exists .other a:hover {
	background: url("../../images/icons/search.png") no-repeat 5px center #ECECEC;
	border:solid 1px #CCC;
	color:#666;
}

#maps-marker-form #columns #city-selection #city-exists .list{
	overflow:hidden;
	overflow-y:auto;
	max-height:350px;
}

.maps-city-list .item {
	float: left;
	width: 220px;
	padding: 8px;
	border:solid 1px #FFF;	
	text-decoration: none;
}

.maps-city-list .item:nth-child(2n+1) {
	clear:left;
}

.maps-city-list .item .name {
	font-size:14px; margin-bottom: 2px;
	color:#09c;
	text-decoration: underline;	
}

.maps-city-list .item:hover{	
	background: #F4F8FD;
	border: solid 1px #B8D6FB;	
	cursor:pointer;
}

.maps-city-list .item:hover .name {
	color:#34495e;
	text-decoration: none;
}

.maps-city-list .item:hover .details {
	color:#68809B;	
}

.maps-city-list .item .details {
	color:#999;
	font-size:12px;
}

#maps-marker-form fieldset {
	padding: 10px 0;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 20px;
	border: solid 1px #B3C2C9;
	margin-bottom: 5px;	
}

#maps-marker-form a#select-city.icon{
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url("../../images/icons/edit.png") no-repeat left center;
	text-indent: -9999px;
	border: none;
	overflow: hidden;
}

#maps-marker-form fieldset legend {
	color: #34495e;
}

#maps-marker-form fieldset input {
	border: solid 1px #aaa;
	padding: 4px;
	font-size: 14px;
	box-shadow: inset 0 1px 2px #DDD;
	color: #333;
	outline: none;	
}

#maps-marker-form fieldset input.error {
	border: solid 1px #c0392b;
}

#maps-marker-form .field {
	margin-bottom: 4px;
}

#maps-marker-form .field-link {
	height:26px;
	line-height:26px;
}

#maps-marker-form #buttons{
	margin-top:15px;
}

/* Отзывы */

.maps-review{
	padding: 20px 0;
	padding-bottom: 25px;
	border-bottom: solid 1px #ECECEC;
	overflow: hidden;	
}

.maps-review:last-child{
	margin-bottom: 0;
	border-bottom:none;
}

.maps-review .head {
	overflow: hidden;
	margin-bottom:10px;
	font-size:12px;
}

.maps-review .head div {
	float:left; margin-right:10px;
	height:32px; line-height:32px;
	color:#95a5a6;
}
.maps-review .head .anchor a { color:#95a5a6; }
.maps-review .head .anchor a:hover { color:#F60; }

.maps-review .addr {		
	margin:10px 0;
	margin-top:20px;
	font-size:12px;
	color:#34495e;
}

.maps-review .addr a {
	font-weight: bold;
	color:#34495e;
}

.maps-review .addr a:hover {
	color:#F60;
}

.maps-review .content {
	line-height: 20px;	
}

.maps-review .cropped .text {
	height: 120px;
	overflow: hidden;
	position: relative;
}

.maps-review .cropped .cropper {
	background:url("../../images/maps/cropper.png") repeat-x;
	height:30px;
	width:100%;
	position: absolute;
	top:90px;
}

.maps-review .ratings { 
	overflow:hidden;
	margin-bottom:10px;
}

.maps-review .ratings .score {
	float:left;
	margin-right: 20px;
}

.maps-review .ratings .score:last-child {
	margin-right:0;
}

.maps-review .ratings .score .legend {
	font-size:12px;
	float:left;
	margin-right: 10px;
	height: 16px;
	line-height: 16px;	
	color:#95a5a6;
} 

.maps-review .actions {	
	font-size:12px;	
	margin-top:10px;
	float: right;
} 

.maps-review .content .answer{
	background:#ecf0f1;
	padding:10px 15px;	
	border-left:solid 4px #bdc3c7;
	margin-left:40px;
	margin-top: 10px;	
	color:#7f8c8d;
}

.maps-review .content .answer .title{
	margin-bottom: 5px;
	color:#34495e;
	font-size:12px;
	font-weight: bold;
}

.maps-review .content .answer .title span {
	font-weight: normal;
	padding-left: 5px;
}

.maps-review .actions a {
	padding-left:18px;
	margin-right:10px;
	background:no-repeat left center;
	height:16px;
	line-height:16px;
	display:inline-block;
}
.maps-review .actions .answer { background-image:url("../../images/icons/comment.png"); }
.maps-review .actions .edit { background-image:url("../../images/icons/edit.png"); }
.maps-review .actions .delete { background-image:url("../../images/icons/delete.png"); }

.maps-entries-list .filter-panel {
	padding:10px; overflow:hidden;
	margin-bottom: 0;
}
.maps-entries-list .filter-panel .field,
.maps-entries-list .filter-panel .field .title,
.maps-entries-list .filter-panel .field .control { 
	float:left; 
	height:25px;
	line-height:25px;
}
.maps-entries-list .filter-panel .field { margin-right: 10px; }
.maps-entries-list .filter-panel .field:last-child { margin-right: 0; }
.maps-entries-list .filter-panel .field .title { margin-right:10px; color:#68809B; }
.maps-entries-list .filter-panel .field .addr { width:320px; }
.maps-entries-list .filter-panel .field .sort { width:200px; }

.maps-entries-list .subfilter-panel { 
	padding:8px 10px;
	margin-top: 5px;
	margin-bottom: 0;
	color:#68809B;
}

.maps-entries-list .subfilter-panel span {
	padding-right:10px;
} 

/* Просмотр отзыва */

#maps-review-view .maps-review{
	padding:0 15px;
	border-bottom: none;
}

#maps-review-view .contacts li {
	float:left;
	margin-right: 15px;
}

#maps-review-view form {
	margin-top: 20px;
}

/* Звездный рейтинг */

.maps-star-rating { overflow: hidden; }
.maps-star-rating ul,
.maps-star-rating ul li {
	margin:0; padding:0; list-style: none;
	float:left;
}

.maps-star-rating .star { 
	float:left;
	display:block;
	width:16px;
	height:16px;
	background:url("../../images/maps/stars.png") no-repeat 0 0;
}

.maps-star-rating.red .star { 
	background-image: url("../../images/maps/stars-red.png");
}

.maps-star-rating.small .star { 
	width:12px;
	height:12px;	
	background-image: url("../../images/maps/stars-small.png");
}

.maps-star-rating .full { background-position: 0 -16px; } 
.maps-star-rating .half { background-position: 0 -32px; } 

.maps-star-rating.small .full { background-position: 0 -12px; }
.maps-star-rating.small .half { background-position: 0 -24px; } 

.maps-star-rating .value { margin-left: 5px; font-size:12px; color:#7f8c8d; }

/* Новости и cобытия */

.maps-news-entry{
	padding: 20px 0;
	padding-bottom: 25px;
	border-bottom: solid 1px #ECECEC;
	overflow: hidden;	
}

.maps-news-entry:last-child{
	margin-bottom: 0;
	border-bottom:none;
}

.maps-news-entry .body{
	padding-left:80px;
}

.maps-news-entry .image {
	float:left;
	background: url("../../images/nophoto.png") no-repeat center;
}

.maps-news-entry .image a {
	display:block;
	width:64px;
	height:64px;	
}

.maps-news-entry .title a{
	font-size: 21px;
	color: #2c3e50;
	text-decoration: none;
}

.maps-news-entry .title a:hover{
	text-decoration: underline;
}

.maps-news-entry-full .event-date,
.maps-news-entry .event-date {
	margin-top: 10px;
	color:#2c3e50;
}

.maps-news-entry-full .event-date{
	margin:0;
	margin-bottom: 15px;
}

.maps-news-entry-full .event-date span, 
.maps-news-entry .event-date span {
	padding-right:15px;
	color:#68809B;
}

.maps-news-entry-full .event-date span.time, 
.maps-news-entry .event-date span.time {
	padding: 0;
}

.maps-news-entry .addr {
	color: #2c3e50;
	font-size:12px;
	margin-top: 5px;	
}

.maps-news-entry .teaser{
	margin-top: 10px;
	line-height: 20px;
}

.maps-news-entry .details,
.maps-news-entry-full .details {
	font-size:12px;
	color:#7f8c8d;
	margin-top:10px;
}

.maps-news-entry .details span,
.maps-news-entry-full .details span {
	padding-right:5px;
}

.maps-news-entry .details a.user,
.maps-news-entry-full .details a.user {
	padding-left: 18px;
	background: url("../../images/icons/user-small.png") no-repeat left center;
	color:#7f8c8d;;
}

.maps-news-entry .details a:hover,
.maps-news-entry-full .details a:hover {
	color:#F60;
}

.maps-news-entry-full .content {
	line-height: 20px;
}

.maps-news-entry-full .content .image {
	float:right;
	margin-left: 15px;
	margin-bottom: 10px;
}

/* Смена владельца */

#maps-place-owner .owner h3{
	margin-bottom: 15px;
}

#maps-place-owner .owner .user {
	overflow:hidden;	
}

#maps-place-owner .owner .user div {
	float:left;
	height:32px;
	line-height:32px;
}

#maps-place-owner .owner .user .avatar{
	margin-right:10px;
}

#maps-place-owner .find .field{ margin: 0; }

#maps-place-owner .find .input {
	width:250px;
}

.ui-autocomplete-loading {
    background:url("../../images/loader16.gif") no-repeat right center;
}

/* Код вставки карты на свой сайт */
#maps-embed-code-form {
    padding:10px;
    width: 500px;
}

#maps-embed-code-form textarea {
    height:80px;
}

#maps-embed-code-form .buttons {
    text-align:center;
}