html, body,
h1, h3, h4, h5, h6,
ul, ol, li {
	margin: 0;
	padding: 0;
	height: 100%;
}
h1, h3, h4, h5, h6{height: auto;}
td{
	border: 1px solid #000;

}
body {
	width: 100%;
	font-family: "Times New Roman", serif;
	font-size: 20px;
	background:url(skin/bg-img.jpg) no-repeat  50% 50%;
	background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 0;
	/*text-transform: inherit;*/
}
a {
	text-decoration: none;
}
.red{
	color: #F00;
}
h3{margin-top: 16px;}
header {
	top: 0;
	position: absolute;
	text-align: center;
	width: 100%;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	background: url("skin/logo.png") no-repeat 10px 6px,
				rgba(87, 2, 2, 0.5);
	z-index: 1;
}
.home{position: fixed;
overflow: hidden;}
.page-header {
	width: 100%;
	border-top: 1px solid white;
	border-bottom: 1px solid white;
	background: url("skin/logo.png") no-repeat 10px 5px,
				rgba(87, 2, 2, 0.5);
}
nav {
	height: 45px;
	text-align: center;
}
.page-nav {
	display: inline-block;
	list-style: none;
	vertical-align: bottom;
}
.mobile-menu{
	display: none;
}	/*скрытие иконки мобильного меню*/
.page-nav>li {

	float: left;
}
.page-nav>li a {
	display: block;
	color: white;
	padding: 11px 25px;
}
.active,
.page-nav>li>a:hover {
	background: url("skin/nav-active.png") no-repeat 50% 100%;
}
.page-nav>li:first-child {
	text-transform: inherit;
}
.page-nav .page-nav-submenu {
	display: none;
	position: absolute;
}
.page-nav-submenu li {
	list-style: none;
}
.page-nav-submenu li a {
	display: block;
	white-space: nowrap;
	padding: 10px;
	/* Нижняя граница и фон пунктов меню border-bottom: 1px solid white;
	background: rgba(87, 2, 2, 0.5);*/
}
.page-nav>li:hover .page-nav-submenu {
	display: block;
}
.page-nav-submenu li a:hover {
	text-decoration: underline;
}
#pano {
	width: 100%;
	height: 100%;
}
table{
	width: 100%;
	/*margin: 0 10px;*/
}
table tr td:nth-child(2){
	width: 80%;
}
.sidebar-right{
	float: right;
	text-align: center;
	width: 30%;
	padding: 0 0 0 15px;
	border-left: 1px solid #fff;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
/*Ниже идёт основная страница*/
.main-content {
	float: left;
	text-align: center;
	width: 70%;
	height: 100%;
	padding: 15px 25px 25px 10px;
	/*border-right: 1px solid white;*/
	box-sizing: border-box;
}
.main-content article:not(:last-of-type)::after {
	content: "***";
}
.gallery-outer{
	padding-top: 15px;
	margin-bottom: 25px;
}
h2{margin-bottom: 25px;}
.gallery:after{
	content: "";
	width: 100%;
	display: block;
	clear: both;
}
#lightGallery li{
	list-style-type: none;
	min-width: 200px;
	width: 25%;
	float: left;
	padding: 5px;
	-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
			box-sizing: border-box;
}
#lightGallery:after{
	display: block;
	content: "";
	width: 100%;
	clear: both;
}
#lightGallery li:hover{
	opacity: 0.7;
}
#lightGallery div{
	width: 200px;
	margin: auto;
	height: 150px;
	overflow: hidden;
	vertical-align: middle;
	border: 3px solid #fff;
	-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
			box-sizing: border-box;
}
#lightGallery img{
	min-width: 100%;
	min-height: 100%;
	position: relative;
	top: 50%;
}
/*.gallery-about {
	margin-bottom: 40px;
}
.gallery-about img {
	display: block;
}*/
./*gallery-about a {
	display: inline-block;
	vertical-align: bottom;
	margin: 0 12px;
}
.gallery-about a:first-of-type {
	margin-left: 0;
}
.gallery-about a:last-of-type {
	display: none;
}*/

.sidebar-right p span {
	font-weight: bold;
}
.wrapper-container::after,
.main-content::after,
.sidebar-right::after,
.page-nav::after {
	display: block;
	content: "";
	clear: both;
}
.wrapper-container {
	text-align: center;
	width: 960px;
	padding: 0 15px 46px;
	border: 1px solid white;
	border-bottom: none;
	background: rgba(187, 179, 146, 0.88);
	box-sizing: border-box;
	min-height:100%;
	height:auto ;
	margin: 0 auto -46px;
}
.page-footer{
	width: 960px;
	padding: 10px 0;
	/*background: rgba(187, 179, 146, 0.8);*/
	margin: 0 auto;
	border: 1px solid white;
	border-bottom: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
}
.active{
	display: block !important;
}
.wrapper{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 100%;
	padding-top: 46px;
}
.page-footer p {
	margin: 0;
	padding:  0;
}
.main-contacts{
	padding: 15px 25px;
}
.main-contacts span {
	font-weight: bold;
}
.duty{margin-bottom: 20px;}
.map-contacts>ymaps{
	margin-bottom: 30px !important;
}

@media(min-width:1300px) {
	.header-menu>li a {
		font-size: 1.5em;
	}
}
@media (min-width: 750px) and (max-width: 900px) {
	.header-menu {
		margin: 0 0 0 110px;
	}
}
@media(max-width:1075px){
	.page-header>.mobile-menu{
		display: block;
		height: 45px;
		width: 45px;
		margin-right: 10px;
		float: right;
		
	}
	/*иконка мобильного меню*/
	.page-header>.mobile-menu img{
		height: 100%;
		width: 100%;
	}
	nav li{
		width: 100%;
		background: rgba(87, 2, 2, 0.7);
		height: 45px;
		border-bottom: 1px solid rgba(255,255,255, 0.7);
		float: none !important;
		margin: auto;
	}
	nav li:last-child{
		border-bottom: 1px solid #fff;
	}
	.page-header{
		height: 45px;
	}
	.page-nav{
		position: absolute;
		top: 46px;
		display: none;
		width: 100%;
		height: auto;
	}
}
@media (max-width:960px){
	.wrapper-container,
	.page-footer{
		width: 100%;
	}
	.page-header{
		height: 45px;
	}
	#lightGallery li{
		width: 33.33%;
	}
}

@media (max-width:768px){
	h2{font-size: 20px; 
		margin-top: 16px;
	}
	h3{font-size: 18px;}
	h4{font-size: 16px;}
	.wrapper-container{
		width: 100%;
		border-right:none ;
		border-left: none;
		border-bottom: none;
	}
	.page-nav > li a {
      font-size: 16px;
    padding: 12px 25px;
	}
	.main-content{
		width: 100%;
		border-right: none;
		padding: 0 ;
		
		margin-bottom: 20px;
	}
	.page-footer{
		border: none;
		border-top: 1px solid #fff;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.sidebar-right{
		display: none;
	}
}
@media (max-width: 750px) {
	header {
		background: url("skin/logo-small.png") no-repeat 8px 10px,#ae0202;
	}
	.nav-mobile-container {
		display: block;
	}
	.button-menu {
		background: url("skin/menu-active.png") no-repeat 50% 100%;
	}
	.header-menu>li:not(:first-child) {
		display: none;
	}
	.menu_list {	
		position: absolute;
		width: 100%;
		top: 2px;
		z-index: 1;
	}
	.menu-heading {
		padding: 5px 0;
		cursor: pointer;
		position: relative;
		margin:0;
		font-weight:bold;
		background: #ae0202;
		border-bottom: 1px solid white;
	}
	.sub-menu {
		display:none;
	}
	.sub-menu a {
		display: block;
		color: white;
		background: rgba(120, 2, 2, 1.0);
		padding: 4px 0;
	}
	.sub-menu a:hpano {
		text-decoration:underline;
	}

}
@media(max-width:720px){
	#lightGallery li{
		width:50%;
	}
}
@media(max-width:630px){
	.map-contacts>ymaps{ 
		width: 100% !important;
	}
		#lightGallery li{
		width: 100%;
		text-align: center;
	}

	td{
		font-size: 9pt;
	}
}
#lg-gallery .thumb-cont .thumb-info .close{margin-top: -14px;}
#lg-gallery .thumb-cont .thumb > img{min-height: 100%;}
#lg-gallery .thumb-cont .thumb-info{padding: 14px 20px;}
