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

#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 .details .desc {
	font-size:13px;
	margin-top:5px;
	color:#444;
}

.maps-balloon .details .bhours {
    margin-top:10px;
}

.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 .reviews span {
	font-size: 11px;
    display: block;
	float:left;
    height: 16px;
    line-height: 16px;
    margin-right: 3px;
}

.maps-balloon .reviews span a {
	font-size:12px;
}

.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;
}

.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;
    margin-top:40px;
    clear: both;
}

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

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

.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 .bhours {
	font-size: 12px;
	margin-top:6px;
}

.maps-addrs-list li .bhours a{
	color:#68809B;
	text-decoration: none;
    border-bottom: dashed 1px #68809B;
}
.maps-addrs-list li .bhours a:hover{
	color:#F60;
    border-bottom: dashed 1px #F60;
}

.maps-addrs-list li .reviews {	
	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: 40px;
    overflow: hidden;
    background: #f7f7f7;
    border: solid 2px #f7f7f7;
    border-radius: 4px;
}

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

#maps-item-rating .score .legend{
	color:#7f8c8d;
}

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

#maps-item-rating .score.total .legend{
	font-weight: bold;
    color:#000;
}

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

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

#maps-markers-list .marker-field {
	overflow: hidden;
	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:30px; line-height: 30px;
}
#maps-markers-list .marker-field a{
	margin-right:5px; height:30px; line-height: 30px;
}

#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;
}

#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,
#maps-marker-form #columns #b-hours{
    width: 525px;
    height: 524px;
    border: solid 2px #B3C2C9;
    margin-top: 10px;
}

#maps-marker-form #columns #map-canvas {
    background:url("../../images/maps/loader-white.gif") no-repeat center #ECECEC;
}

#maps-marker-form #columns #city-selection,
#maps-marker-form #columns #b-hours{
    display:none;
    padding:15px;
    width: 525px;
    height: 524px;
}

#maps-marker-form #columns #city-selection h2,
#maps-marker-form #columns #b-hours 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;
    display: inline-block;
}

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

#maps-marker-form #columns #city-selection #city-results {
    margin-top: 15px;
    height: 360px;
    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("/templates/default/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("/templates/default/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-marker-form #columns #b-hours .cell-day{
    padding-right: 20px;
}

#maps-marker-form #columns #b-hours .cell-hours{
    padding:6px;
}

#maps-marker-form #columns #b-hours .cell-hours select {
    width: 90px;
    display: inline-block;
}

#maps-marker-form #columns #b-hours .cell-hours .wrap.hidden {
    visibility:hidden;
}

#maps-marker-form #columns #b-hours .cell-off{
    font-size:12px;
    color:#666;
    padding-left:10px;
}
#maps-marker-form #columns #b-hours .cell-off label{
    cursor: pointer;
}

.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("/templates/default/images/icons/edit.png") no-repeat left center;
	text-indent: -9999px;
	border: none;
	overflow: hidden;
}

#maps-marker-form fieldset legend {
    color: #34495e;
    font-size: 14px;
    margin: 0;
    width: auto;
    padding: 0 5px;
}

#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;
    height: 25px;
}

#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;
}

.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;
	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("/templates/default/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 {
	float:left;
	margin-right: 10px;
	height: 16px;
	color:#95a5a6;
}

.maps-review .actions {
	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: 10px;
	color:#34495e;
	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("/templates/default/images/icons/comment.png"); }
.maps-review .actions .edit { background-image:url("/templates/default/images/icons/edit.png"); }
.maps-review .actions .delete { background-image:url("/templates/default/images/icons/delete.png"); }

.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;
    display: flex;
    flex-direction: row;
}

.maps-star-rating > .value {
    margin-left:5px;
}

.maps-star-rating > .stars .full{
    fill: #F3AC51 !important;
}

.maps-star-rating > .stars .half{
    fill: #F3AC51 !important;
    opacity: 0.5;
}

.maps-star-rating > .stars .empty{
    fill:#CCC !important;
}


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

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

.maps-news-entry:first-child{
    padding-top:0;
    margin-top:0;
}

.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("/templates/default/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 {
	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("/templates/default/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 .image {
	float:right;
	margin-left: 30px;
	margin-bottom: 30px;
}

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

#maps-place-owner {
    margin-bottom:50px;
}

#maps-place-owner .row {
    height:40px;
    line-height:40px;
}

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

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

#maps-embed-code-form .field {
    margin-bottom:15px;
}

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

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

/* Окно часов работы */
#maps-bhours-window {
    padding:20px;
}
#maps-bhours-window h2,
#maps-bhours-window h3 {
    margin: 0;
}

#maps-bhours-window h2{
    margin-bottom: 5px;
}

#maps-bhours-window .days{
    margin-top:15px;
}

#maps-bhours-window .days .cell-day,
#maps-bhours-window .days .cell-hours {
    padding:15px;
}

#maps-bhours-window .days .today td {
    font-weight: bold;
    color:#2980b9;
}

#maps-bhours-window .days .cell-day {
    background:#ecf0f1;
    border-right: solid 1px #bdc3c7;
}

/*.subscribe_wrap{
	z-index: 1;
}*/

.maps-filter {
    display:flex;
    margin-bottom:30px;
}

.maps-filter label {
    height:36px;
    line-height:36px;
    padding-right:20px;
}

.maps-filter label:not(:first-child) {
    padding-left:20px;
}

.places_item .f_content {
  padding: 20px 0;
}
