﻿/* во всех темах надо подключать, вынести куда-то */
/*Clearfixes*/
.clear:before,
.clear:after,
.owl-nav:before,
.owl-nav:after,
.post-card:before,
.post-card:after {
	content: "";
	clear: both;
	display: table;
}

/*-Clearfixes*/
.float-left {
	float: left;
}

.float-right {
	float: right;
}

.full-width {
	width: 100%!important;
}

.center-table {
	display: table;
	width: auto;
	margin: 0 auto;
}

.navbar-default {
	margin: 0;
	padding: 0;
	border: none;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: inherit;
}

	.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
		background: none;
		color: inherit;
	}

.ui-widget-content a.btn-primary {
	color: #fff;
}

.modal-backdrop {
	background: rgba(0,0,0,.4) !important;
}

a:active,
a:focus,
a:hover,
a {
	color: inherit;
}

img {
	max-width: 100%;
	max-height: 100%;
}

/* toolbar тут, потому что присутствует и в режиме просмотра сайта */
.toolbar-placeholder {
	height: 33px;
}

.toolbar-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1498;
	background: #f6f6f6;
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
	-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
	box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
}

.toolbar > a {
	position: relative;
	z-index: 1001;
	display: block;
	float: left;
	margin: 0;
	padding: 8px;
	border-right: 1px solid rgba(0,0,0,.05);
	-moz-box-shadow: 1px 0 0 rgba(255,255,255,.4);
	-webkit-box-shadow: 1px 0 0 rgba(255,255,255,.4);
	box-shadow: 1px 0 0 rgba(255,255,255,.4);
	text-decoration: none !important;
	font-size: 12px;
	cursor: pointer;
}

	.toolbar > a:hover {
		background: #eee;
		color: #000;
	}

	.toolbar > a.active {
		background: #ddd;
		color: #000;
		-moz-box-shadow: -1px 0 0 rgba(0,0,0,.15);
		-webkit-box-shadow: -1px 0 0 rgba(0,0,0,.15);
		box-shadow: -1px 0 0 rgba(0,0,0,.15);
	}
/* toolbar */


/* в общее */
.octa {
	position: relative;
	overflow: hidden;
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

	.octa img {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		-moz-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

.block-logo:hover,
.block-logo:focus,
.block-logo:active {
	text-decoration: none;
}
/* в общее */

.modal-dialog {
	margin: 50px auto;
}

.block-layout,
.col-layout,
.row-layout {
	position: relative;
}

.visible {
	opacity: 1;
	visibility: visible;
}

/*Navbar classes*/
nav.navbar .navbar-collapse,
nav.navbar .container-fluid {
	padding-left: 0;
	padding-right: 0;
}


nav.navbar.navbar-alignment-left .navbar-nav {
	float: left;
}

nav.navbar.navbar-alignment-right .navbar-nav {
	float: right;
}

nav.navbar.navbar-alignment-center .navbar-nav {
	float: none;
	display: inline-block;
}

nav.navbar.navbar-alignment-center .navbar-collapse {
	text-align: center;
}

nav.navbar.navbar-alignment-justify .navbar-nav {
	float: none;
	width: 100%;
}

	nav.navbar.navbar-alignment-justify .navbar-nav > li {
		float: none;
		display: table-cell;
		width: 1%;
		text-align: center;
		vertical-align: middle;
	}
/*-Navbar classes*/

/*Меню в узких блоках*/

.col-sm-6 nav li,
.col-sm-5 nav li,
.col-sm-4 nav li,
.col-sm-3 nav li,
.col-sm-2 nav li,
.col-sm-1 nav li {
	display: block!important;
	float: none!important;
}

.col-sm-6 nav ul.nav.navbar-nav,
.col-sm-5 nav ul.nav.navbar-nav,
.col-sm-4 nav ul.nav.navbar-nav,
.col-sm-3 nav ul.nav.navbar-nav,
.col-sm-2 nav ul.nav.navbar-nav {
	display: block;
	float: none;
}

/*Меню в узких блоках*/
/*Owl Carousel*/
.owl-prev {
	float: left;
}

.owl-next {
	float: right;
}

.owl-next,
.owl-prev {
	font-size: 2em;
	color: transparent;
	line-height: 1;
	text-shadow: 0 0 0 #000;
	opacity: .7;
	-moz-transition: all .4s ease;
	-o-transition: all .4s ease;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
}

	.owl-prev:before {
		content: "\f053";
		font-family: FontAwesome;
	}

	.owl-next:before {
		content: "\f054";
		font-family: FontAwesome;
	}

.owl-controls {
	position: absolute;
	top: calc(50% - 1em);
	width: 100%;
}

.owl-next:hover,
.owl-prev:hover {
	opacity: 1;
	text-shadow: 0 0 0 #eee;
}

/*-Owl Carousel*/
.widget-posts__item-img a {
	display: block;
	text-align: center;
}

.widget-posts__item-img img {
	max-width: 100%;
	max-height: 100%;
}

/* free-tariff-footer */
.free-tariff-footer {
	background: #1a93d1;
	color: #fff;
	font-size: 12px;
	text-align: center;
	padding: 10px;
	-moz-box-shadow: 0 3px 5px rgba(0, 0, 0, .2) inset, 0 1px 0 rgba(255,255,255,.2) inset;
	-webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .2) inset, 0 1px 0 rgba(255,255,255,.2) inset;
	box-shadow: 0 3px 5px rgba(0, 0, 0, .2) inset, 0 1px 0 rgba(255,255,255,.2) inset;
	-moz-transition: background .2s ease-in;
	-o-transition: background .2s ease-in;
	-webkit-transition: background .2s ease-in;
	transition: background .2s ease-in;
}

	.free-tariff-footer:hover {
		background: #0f86c3;
		-moz-transition: background .2s ease-in;
		-o-transition: background .2s ease-in;
		-webkit-transition: background .2s ease-in;
		transition: background .2s ease-in;
	}
/* .free-tariff-footer */


/*Content-box fix*/
.cs-ig__img-container,
.cs-ig__preview {
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}
/*Content-box fix*/


.container-full-width .container {
	width: auto !important;
}

	.container-full-width .container > .row-layout {
		margin-left: -30px !important;
		margin-right: -30px !important;
	}


/* blink */
.blink {
	-moz-transition: box-shadow .3s;
	-o-transition: box-shadow .3s;
	-webkit-transition: box-shadow .3s;
	transition: box-shadow .3s;
	-moz-box-shadow: 0 0 10px 3px rgba(0, 75, 255, 0.46);
	-webkit-box-shadow: 0 0 10px 3px rgba(0, 75, 255, 0.46);
	box-shadow: 0 0 10px 3px rgba(0, 75, 255, 0.46);
}
/* .blink */


.init-tour-btn {
	font-size: 17px;
	margin-left: 15px;
	cursor: pointer;
}


.mode-View .block-status-BlockIsDisabled {
	height: 0;
	overflow: hidden;
}

@media (max-width: 768px) {
	.nav {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}


/*Галерея*/

.preview-cont .col-sm-3:nth-child(4n+5) {
	clear: both;
}

.preview-cont .caption > p {
	margin: 0;
	overflow: hidden;
}

/*Галерея*/