/*!
Theme Name: Telio
Theme URI: http://telioapart.ru/
Author: «OLDGROUP» innovation web studio
Author URI: http://oldgroup.ru
Description: «Telio» Apart Group
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: telio
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* MAP */
#map {
	color: #caa44a;
	background: -webkit-linear-gradient(bottom right, #141c22, #3f484f);
	background: -moz-linear-gradient(bottom right, #141c22, #3f484f);
	background: linear-gradient(bottom right, #141c22, #3f484f);
	border-top: 0.25em solid #ba9949;
	z-index: 100;
	position: relative;
}
/*#map {*/
/*    overflow: hidden !important;*/
/*}*/
#map .container,
.container-fluid {
	padding: 2em;
}
.map {
	width: 100%;
	min-height: 25em;
	border-top: 0.25em solid #ba9949;
}
.page-id-33 .map {
	border-top: none;
	border-bottom: 0.25em solid #ba9949;
}
.page-id-33 #map {
	border-bottom: 0.25em solid #ba9949;
	margin-bottom: 1em;
	border-top: 0.45em solid #9f9c9c;
}
.ymaps-glass-pane,
.ymaps-layers-pane {
	/* Firefox 3.5+ Chrome 19+ & Safari 6+ */
	filter: grayscale(100%) hue-rotate(0deg) brightness(85%) !important;
	-webkit-filter: grayscale(100%) hue-rotate(0deg) brightness(85%) !important;
	/* grayscale(100%) brightness(30%) !important;*/
}
.go-home {
	color: #333 !important;
	font-size: 3em;
}
.flat-container {
	text-align: center;
	font-size: 2em;
	cursor: pointer;
	height: 2.5em;
	overflow: hidden;
}
.flat-container:hover {
}
.flat-container:hover {
	/*transform: scale(0.8);*/
}
.flat {
	line-height: 1em;
	padding: 0.75em 0 0em;
	opacity: 0.9;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}
.flat-container:hover .flat {
	opacity: 1;
	font-size: 0.75em;
	line-height: 0.7em;
	font-weight: 200;
}

.flat .size {
	font-size: 2em;
}
.flat .size span {
	font-size: 2rem;
}
.flat-container .town {
	margin-top: 2.5em;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}
.flat-container hr {
	margin: 0.2em 50% 0em;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition: 0.3s ease-in-out;
	-o-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}
.flat-container:hover hr {
	margin: 0.2em 10% 0em;
	border-top: 1px solid #725d2c;
}
.flat-container:hover .town {
	margin-top: 0em;
	font-size: 0.6em;
	text-transform: uppercase;
	font-weight: 800;
}
/* END of MAP */
.table-heading {
	width: 100%;
	background: #154e87;
	margin: 1em 0 0 0;
	padding: 1em;
	color: #fff;
}
.price-content h6 {
	border-top: #725d2c;
	border-bottom: #725d2c;
	text-transform: uppercase;
	margin-top: 0 !important;
	border: 1px solid;
}

/* исправлен глюк с длинным заголовком h1 см. main.css строки 43 и 61 */
.single-post header,
.page header {
	/* clear: right !important; */
	/* height: auto !important; */
	margin-top: 120px;
}
/* исправляем форму бронирования */
.booking-header {
	margin-top: 15px !important;
}
.custom-checkbox {
	display: block;
	min-height: 3rem !important;
	margin-bottom: 50px !important;
}
.acceptance-196,
.acceptance-196 .wpcf7-acceptance,
.acceptance-196 .wpcf7-acceptance .wpcf7-list-item {
	display: block !important;
}
/* убираем ключ при открытии формы бронирования и заменяем его на крестик */
/*
.booking-container .booking-active {
	display: block !important;
	height: 40px !important;
	position: absolute !important;
	width: 40px !important;
	top: 0px !important;
	right: 0px !important;
	left: auto !important;
	margin-right: -130px !important;
	-webkit-transition-property: none;
	-moz-transition-property: none;
	-o-transition-property: none;
	transition-property: none;
}
*/
/* прячем ключ при открытии формы бронирования */
.booking-container .booking-active .key,
.booking-container .booking-active .key2,
.booking-container .booking-active .key3 {
	display: none !important;
}
/*
.booking-container .booking-active .key {
	background: none !important;
	width: 40px !important;
	height: 40px !important;
	margin-top: -25px;
}
*/
/* даем форме брони прокручиваться по вертикали */
#booking-menu {
	top: 0px;
	overflow-y: scroll !important;
}
html.booking-active {
	overflow: hidden !important;
}
/* скрываем онлайн консультант jivosite при открытии формы бронирования, чтобы не занимал место */
html.booking-active .globalClass_dadc {
	display: none;
}
/* стилизуем кнопку X - закрытия формы бронирования */
#booking-close:after {
	content: "\2715";
	display: block;
	width: 35px;
	height: 35px;
	position: fixed !important;
	top: 14px;
	right: 14px;
	background: #000;
	border-radius: 5px;
	padding: 6px 4px 4px 11px;
	cursor: pointer;
}

/* исправляем глюк с навигацией, когда белые пункты меню и бургер показываются на белом фоне */
@media (max-width: 991px) {
	.navbar:not(.top-nav-collapse) {
		padding-top: 5px;
		padding-bottom: 5px;
		background-image: linear-gradient(147deg, #000000 0%, #434343 74%);
		opacity: 0.8;
	}
	.logo-gold img {
		display: none !important;
	}
	.logo-gold {
		background: url("/wp-content/themes/telio/assets/img/logo-bold.png") no-repeat center center;
		background-size: auto;
		background-size: cover;
		margin: 0.5em;
		width: 5em;
		height: 3.5em;
	}
	.single-post header .navbar:not(.top-nav-collapse) a,
	.page header .navbar:not(.top-nav-collapse) a {
		color: #fff !important;
	}
	.booking-active {
		margin-top: 0px !important;
	}
}
