/* Шрифты Noto Serif */

@font-face {
  font-family: 'Noto Serif';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Serif'), local('NotoSerif'), url(http://themes.googleusercontent.com/static/fonts/notoserif/v2/zW6mc7bC1CWw8dH0yxY8JfesZW2xOQ-xsNqO47m55DA.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif Bold';
  font-style: normal;
  font-weight: 700;
  src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(http://themes.googleusercontent.com/static/fonts/notoserif/v2/lJAvZoKA5NttpPc9yc6lPQJKKGfqHaYFsRG-T3ceEVo.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif Italic';
  font-style: italic;
  font-weight: 400;
  src: local('Noto Serif Italic'), local('NotoSerif-Italic'), url(http://themes.googleusercontent.com/static/fonts/notoserif/v2/HQXBIwLHsOJCNEQeX9kNzy3USBnSvpkopQaUR-2r7iU.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif Bold Italic';
  font-style: italic;
  font-weight: 700;
  src: local('Noto Serif Bold Italic'), local('NotoSerif-BoldItalic'), url(http://themes.googleusercontent.com/static/fonts/notoserif/v2/Wreg0Be4tcFGM2t6VWytvED2ttfZwueP-QU272T9-k4.ttf) format('truetype');
}

/* Установки */

* {
	margin:0;
	padding: 0;
}

a {
	color:#59382F !important;
} 

a:hover {
	text-decoration: underline;
}

a img {
	border:none;
}

:focus {
	outline: none;
}

input[type="submit"],input[type="button"] {
	cursor: pointer;
}

.center {/* width: 1170px; */
	min-width: 1100px;
	width: 100%;
	max-width: 1100px;/* padding: 0 15px; */
	margin: 0 auto;
	position: relative;
	display: block;
	clear: both;
}

.clr {
	display: block;
	clear: both;
}

h1 {
	font-size: 30px;
	color:#2a1d1a;
	font-family: 'Noto Serif', "Times New Roman", Times, Baskerville, Georgia, serif;
	text-transform: uppercase;
	margin-bottom: 25px;
	line-height: 34px;
	overflow: hidden;
	text-align: left;
	font-weight: normal;
	margin-top: 26px;
	padding-right: 135px;
}

.style3 {
	color: #BA3413;
}

.style2 {
	padding: 0 0 0 15px;
	margin: 0;
	display: block;
}

.style2 li {
	padding-left: 8px;
	text-indent: 0px;
}

.style2 li:after {
	content:'';
	width: 8px;
	height: 2px;
	background: #000;
	position: absolute;
	top: 13px;
	left: -15px;
}

/* Тело сайта */

html {
	height: 100%;
	color:#000;
	font-size: 20px;
	font-family: "Times New Roman", Times, Baskerville, Georgia, serif;
}

body {
	position: relative;
	width: 100%;
	min-width: 1200px;
	height: 100%;
	font-family: none;
	font-family: "Times New Roman", Times, Baskerville, Georgia, serif !important;
}

/* Шапка */

#header {
	width: 100%;
	background: #59382f;
	float: left;
}

/* Верхнее меню */

.main_menu {
	float: left;
}

.main_menu ul {
	list-style-type: none;
	padding: 0 !important;
	margin: 0 !important;
	float: left;
}

.main_menu ul li {
	display: inline-block;
	vertical-align: middle;
	margin-right: -5px;
	/* height: 50px; */
	max-width: 160px;
}

.main_menu ul li a {
	color:#fff !important;
	font-size: 12px;
	text-decoration: none;
	padding: 0 15px !important;
	text-transform: uppercase;
	vertical-align: middle;
	display: inline-block;
	min-height: 50px; 
}

.main_menu ul li a .tc {
	display: table-cell;
	vertical-align: middle;
	height: 50px;
}

.main_menu ul li:hover a,
.main_menu ul li.active a {
	background: #3a2521;
}

/* Соц сети */

.soc_web {
	width: 200px;
	position: absolute;
	left: 50%;
	margin-left: -100px;
	text-align: center;
}

.soc_web a {
	display: inline-block;
	vertical-align: middle;
	line-height: 30px;
	height: 27px;
	margin-top: 3px;
	margin-left: 5px;
	position: relative;
	left: -5px;
}

/* Центральный блок */

#wrapper {
	width: 100%;
	min-height: 100%;
	background: #fff;
	float: left;
	min-width: 1100px;
}

#wrapper.fotoarhiv .content {
	width: 1095px !important;
}

#wrapper.fotoarhiv .photo_gallery:nth-child(2n+1) {
	margin-right: 10px !important;
}

.glavnaya .name_and_search {
	display: none !important;
}

.glavnaya .name_author {
	margin-bottom: 20px;
}

.glavnaya .main_menu {
	display: none;
}

/* Заголовок */

#wrapper .name_and_search {
	display: block;
	clear: both;
	height: 80px;
	padding-left: 13px;
}

#wrapper .name_author {
	float: left;
	margin-top: 15px;
}

#wrapper .name_author a {
	font-size: 40px;
	font-weight: bold;
	font-family: 'Noto Serif Bold', "Times New Roman", Times, Baskerville, Georgia, serif;
	color:#2a1d1a;
	text-transform: uppercase;
}

#wrapper .name_author a:hover {
	text-decoration: none;
}

/* Поиск */

#wrapper .search {
	width: 155px;
	height: 18px;
	line-height: 15px;
	float: right;
	background: #fff;
	border:1px solid #828181;
	margin-top: 32px;
}

#wrapper .search input {
	background: none;
	border:none;
	float: left;
}

#wrapper .search input[type="text"] {
	width: 120px;
	height: 18px;
	line-height: 18px;
	padding: 0 5px;
}

#wrapper .search input[type="submit"] {
	width: 25px;
	height: 18px;
	background: #fff url('../images/btn_search.png') no-repeat center center;
}

/* Контент */

#wrapper .content {
	width: 780px;
	float: left;
	position: relative;
}

#book {
	width: 100% !important;
}

#book .text {
	padding: 0 !important;
}

.glavnaya .content {
	margin-top: 20px;
	width: 530px !important;
}

#wrapper .content a {
	/* color:#7b3200 !important; */
	color:#000 !important;
	text-decoration: underline;
}

#wrapper .content a:hover {
	text-decoration: underline !important;
}

/* Навигация по сайту */

#wrapper .content .bread_and_print {
	width: 100%;
	display: block;
	clear: both;
	float: left;
}

#wrapper .content .bread_and_print .breadcrumbs {
	float: left;
	width: 490px;
	font-size: 12px;
	margin-left: 2px;
	color:#2a1d1a;
}

#wrapper .content .bread_and_print .breadcrumbs a {
	font-size: 12px;
	color:#2a1d1a;
}

/* Кнопка печать */

#wrapper .print {
	float: right;
	position: absolute;
	right:20px;
	top: 29px;
}

#wrapper .print a {
	font-size: 12px;
	color:#2a1d1a !important;
	font-weight: bold;
	font-family: 'Noto Serif Bold', "Times New Roman", Times, Baskerville, Georgia, serif;
}

/* Основная часть контента */

#wrapper .content .main {
	display: block;
	clear: both;
	width: 100%;
	float: left;
	margin-left: 10px;
}

.glavnaya .content .main {
	margin-top: 40px;
}

#wrapper .content .main > img {
	margin: -32px 0 0 0 !important;
	width: 100%;
	height: auto;
}

/* Фото внутри */

.photo_item {
	width: 235px;
	height: 165px;
	position: relative;
	float: left;
	text-align: center;/* 
	background: #ece6e0; */
	background: #999;
	margin-left: 5px;
	margin-bottom: 5px;
	overflow: hidden;
}

.photo_item a {
	display: block;
	width: 235px;
	height: 165px;
}

.photo_item img {
	width: 235px;
	height: 165px;
}

.photo_item:hover .info {
	 display: none;
}

.photo_item .info {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url('../images/bg_photo.png');
	display: none;
}

.photo_item .info .info_desc {
	padding: 0 60px;
	display: table-cell;
	vertical-align: middle;
	color:#fff;
	font-size: 14px;
	font-family: 'Noto Serif Italic', "Times New Roman", Times, Baskerville, Georgia, serif;
}

/* Галлерея */

.photo_gallery {
	width: 355px;
	height: 249px;
	position: relative;
	float: left;
	text-align: center;
	background: #ece6e0;
	margin-right: 10px;
	overflow: hidden;
	margin-bottom: 10px;
}

.photo_gallery img {
	width: 355px;
	height: 249px;
}

.photo_gallery .ramka {
	position: absolute;
	top:0;
	left: 0;
	width: 355px;
	height: 249px;
	/* background: url('../images/ramka.png') no-repeat; */
	z-index: 2;
}

.photo_gallery:nth-child(odd) {
	margin-right: 0 !important;
}

.photo_gallery .info {
	position: absolute;
	z-index: 3;
	bottom: 0;
	left: 0;
	background: url('../images/bg_photo.png');
	padding: 15px 0;
	width: 100%;
	display: table;
}

.photo_gallery .info .info_desc {
	padding: 0 60px;
	display: table-cell;
	vertical-align: middle;
	color:#fff;
	font-size: 20px;
	text-transform: uppercase;
}

/* Текстовая */

#wrapper .content .text {
	float: left;
	padding: 0 30px 0 5px;
	text-align: justify;
	line-height: 25px;
}

#wrapper .content .text .folder_name {
	/* font-size: 20px; */
	color:#575352;
	font-family: 'Noto Serif Italic', "Times New Roman", Times, Baskerville, Georgia, serif;
	line-height: 20px;
	margin-bottom: 20px;
	font-style: italic;
}

#wrapper .content .text p,
#wrapper .content .text ul,
#wrapper .content .text h2,
#wrapper .content .text h3,
#wrapper .content .text h4 {
	padding-bottom: 20px;
	list-style-type: none;
}

#wrapper .content .text h2 {
	font-family: 'Noto Serif Bold', "Times New Roman", Times, Baskerville, Georgia, serif;
	text-transform: uppercase;
	line-height: 35px;
	font-size: 25px;
}

#wrapper .content .text h4 {
	font-size: 18px;
	color:#575352;
	font-family: 'Noto Serif Italic', "Times New Roman", Times, Baskerville, Georgia, serif;
	line-height: 20px;
	margin-bottom: 20px;
	font-style: italic;
	font-weight: normal;
}

#wrapper .content .text li {
	position: relative;
	text-align: left;
	list-style-type: none;
	margin-bottom: 10px;
	text-indent: -40px;
	padding-left: 40px;
}

#vospominaniya li {
	padding-left: 0 !important;
	text-indent: 0 !important;
}

#wrapper .content table {
	position: relative;
	/* left: -66px;
	margin-top: -4px; */
}

#wrapper .content table,
#wrapper .content table td {
	border:none;
	vertical-align: top;
}

#wrapper .content table * {
	font-family: "Times New Roman", Times, Baskerville, Georgia, serif !important;
}

#wrapper .content .text table p {
	padding: 0 !important;
}

#wrapper .content table tr {
	font-family: "Times New Roman", Times, Baskerville, Georgia, serif !important;
	vertical-align: top;
	margin-bottom: 5px;
	display: block;
	clear: both;
}

#wrapper .content table td {
	text-align: left;	
	vertical-align: top;
	position: relative;
}

/* #wrapper .content table td:first-child {
	width: 33px !important;
	height: 50px !important;	
	float: left;
	position: relative;
	margin-top: -5px;
	margin-right: 20px;
	margin-bottom: -12px;
}

#wrapper .content table td:last-child {
	text-indent: -35px;
	padding-left: 45px;
	padding-bottom: 5px !important;
}

#wrapper .content table tr:last-child td {
	border-bottom: none;
}

#wrapper .content table td:first-child img {
	width: 33px !important;
	height: 50px !important;
}

#wrapper .content table td:first-child .zoom {
	position: absolute;
	right: 30px;
    top: 15px;
	background: #f8f1e9;
	padding: 10px;
	opacity: 0;
	transition: opacity .8s, width .8s, height .8s;
	visibility: hidden;
	width: 30px;
	height: 50px;
	z-index: 10;
}

#wrapper .content table td:first-child .zoom img {
	width: 30px;
	height: 50px;
	transition: opacity .8s, width .8s, height .8s;
}

#wrapper .content table td:first-child:hover .zoom {
	opacity: 1;
	visibility: visible;
	width: 200px !important;
	height: auto;
}

#wrapper .content table td:first-child:hover .zoom img {
	width: 200px !important;
	height: auto !important;
} */

/* Поделиться */

.share {
	float: left;
	margin-top: 50px;
	display: block;
	clear: both;
	width: 100%;
	margin-bottom: 30px;
}

.share .shareText {
	float: left;
	margin-top: -3px;
	margin-right: 5px;
	color:#aaa;
}

.addthis_toolbox {
	width: 300px;
}

/* Правый блок */

#wrapper .aside {
	float: right;
	margin-bottom: 20px;
	margin-top: 64px;
	width: 310px;
}

.glavnaya .aside {
	width: 460px !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	float: left !important;
}

.glavnaya .content {
	float: right !important;
	margin-bottom: 50px;
	margin-right: 10px;
}

#wrapper .aside ul {
	list-style-type: none;
}

#wrapper .aside > ul.pmenu {
	min-width: 300px;
}

#wrapper .aside ul.pmenu > li {
	width: 100%;
	display: block;
	clear: both;
	position: relative;
	padding-bottom: 1px;
	padding: 5px 0;
	display: none;
}

#wrapper .aside ul.pmenu > li:after {
	content: '';
	width: 7px;
	height: 7px;
	border:1px solid #2a1d1a;
	position: absolute;
	left: 3px;
	top: 27px;
	display: none;
}

#wrapper .aside ul.pmenu > li:before {
	content: '';
	width: 100%;
	height: 1px;
	bottom: -3px;
	position: absolute;
	left: 0;
	background: #4e423f;
	display: none;
}

#inner_aside .item {
	display: none;
}

#inner_aside .item.show {
	display: block;
}

.fotoarhiv #inner_aside {
	display: none !important;
}
.fotoarhiv .main {
	margin-left: 13px !important;
}

#wrapper .aside ul.pmenu > li > a {
	color:#332420 !important;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 24px;
	padding: 3px 0 8px 0px;
	display: block;
	border-bottom: 1px solid #4e423f;
	float: left;
}

.glavnaya .aside ul.pmenu > li > a {
	display: block !important;
}

.glavnaya .aside ul.pmenu > li {
	display: block !important;
}

#wrapper .aside ul.pmenu > li > ul {
	display: none;
}

#wrapper .aside ul.pmenu > li.active:after {
	background: #fff;
}

#wrapper .aside ul.pmenu > li.active:before {
	height: 1px;
	bottom: -3px;
}

#wrapper .aside ul.pmenu > li.active {
	display: block !important;
}

#wrapper .aside ul.pmenu > li.active a {
	color:#332420 !important;
	display: none;
}

#wrapper .aside ul.pmenu > li.active > .submenu {
	display: block; 
	margin-top: 0px;
	float: left;
	margin-left: 15px;
}

#wrapper .aside ul.pmenu > li.active > .submenu a {
	color:#59382f;
	font-size: 22px;
	text-decoration: none;
	padding: 10px 0 13px 0;
	border-bottom: 1px solid #4e423f;
	display: block;
	max-width: 200px;
	float: left;
	clear: both;
	line-height: 24px;
}

#wrapper .aside ul.pmenu > li.active > .submenu li {
	position: relative;
	line-height: 18px;
	padding-bottom: 10px;
	display: block;
}

#wrapper .aside ul.pmenu > li.active > .submenu > li > .submenu {
	display: none;
}

#wrapper .aside ul.pmenu > li.active > .submenu li:after {
	position: absolute;
	left: 0;
	top:1px;
}

#wrapper .aside ul.pmenu > li.active > .submenu li.active_child {
	font-weight: bold;
}

#wrapper .aside ul.pmenu > li.active > .submenu li.active_child > a {
	margin-bottom: 5px;
	display: block;
}

#wrapper .aside ul.pmenu > li.active > .submenu > li.active_child > .submenu {
	display: none;
} 

/* Подвал */

.footer_block {
	width: 100%;
	height: 110px;
	display: block;
	clear: both;
}

#footer {
	padding: 10px 5% 0;
	width: 90%;
	min-height: 110px;
	float: left;
	margin-top: -120px;
	background: #59382f;
}

#footer p {
	font-size: 12px;
	color:#fff;
	padding-bottom: 10px;
}

#footer .prava {
	float: left;
}

#footer .studio {
	float: right;
}

@media screen and (min-width: 1400px){
	.center {
		min-width: 1400px;
	}
	.glavnaya#wrapper .content .main {
		margin-left: 0 !important;
	}
	.glavnaya#wrapper .content {
		width: 62% !important;
		padding-bottom: 30px;
		margin-right: 0%;
		padding-right: 0% !important;
	}
	#footer {
		padding: 10px 0% 0;
		width: 100%;
		min-height: 110px;
		float: left;
		margin-top: -120px;
		background: #59382f;
	}
}

/* Больше чем 1680 */

@media screen and (min-width: 1600px){
	#wrapper.fotoarhiv .content {
		width: 1145px !important;
		padding-right: 12% !important;
	}
	.glavnaya .center {
		min-width: 1550px !important;
		width: 100% !important;
		max-width: 2500px !important; 
	}
	#wrapper .name_author,
	#header .main_menu {
		margin-left: 3%;
	}
	.glavnaya .name_author,
	.glavnaya .main_menu {
		margin-left: 0% !important;
	}
	#header .soc_web,
	#wrapper .search {
		margin-right: 3%;
	}
	.glavnaya .aside {
		margin-left: 3% !important;
	}
	.aside {
		width: 36.11% !important;
		margin-left: 3% !important;
	}
	#inner_aside {
		width: 26% !important;
		margin-left: 0 !important;
	}
	
	#wrapper .content {
		width: 70% !important;
		padding-bottom: 30px;
		margin-left: 3%;
	}
	.glavnaya#wrapper .content {
		margin-right: 3%;
		width: 58% !important;
		padding-bottom: 30px;
		padding-right: 0% !important;
	}
	.photo_gallery:nth-child(2n+1) {
		margin-right: 10px !important;
	}
	#footer {
		min-width: 1400px !important;
		width: 100% !important;
		padding: 10px 0 0 !important;
		margin: -130px auto !important 0;
		float: left;
		background: #59382f;
	}
	#footer .prava {
		margin-left: 3%;
	}
	#footer .studio {
		margin-right: 3%;
	}
}

/* Поздравительный стиль */

.style5 {
	/* background: #E4CE9A; */
	border: 6px solid #997f43;
	padding: 40px 60px;
	/* padding: 40px 50px 40px 50px; */
	display: block;
	position: relative;/* 
	background: url('../images/bg-mz.png') repeat-y center top; */
}

.style5:after {
	content: '';
	width: 753px;
	height: 108px;
	background: url('../images/top-after.png') no-repeat center top;
	-webkit-background-size: cover;
	background-size: cover;
	/* background: url('../images/bg-mz-after.png') no-repeat center top; */
	position: absolute;
	/* background: url('../images/bg-happy.png') no-repeat center top; */
	/* top: -20px;
	left: -3px; */
	top: -7px;
	left: -10px;
}

.style5:before {
	content: '';
	width: 756px;
	height: 109px;
	background: url('../images/bottom-before.png') no-repeat center top;
	/* 
	background: url('../images/bg-mz-before.png') no-repeat center top; */
	/* background: url('../images/bg-happy-before.png') no-repeat center top; */
	position: absolute;
	/* bottom: -20px;
	left: -3px; */
	left: -10px;
	bottom: -10px;
}

@media screen and (min-width: 1600px){
	.style5:after {
		width: 953px;
		height: 120px;
		background: url('../images/top-after-big.png') no-repeat center top;
		/* background: url('../images/bg-happy-big.png') no-repeat center top; */
		left: -9px;
	}
	
	.style5:before {
		width: 953px;
		height: 109px;
		background: url('../images/bottom-before-big.png') no-repeat center top;/* 
		background: url('../images/bg-happy-before-big.png') no-repeat center top; */
		left: -9px;
	}
	/* .style5 {
		background: url('../images/bg-mz-big.png') repeat-y center top;
	}
	.style5:after {
		width: 951px;
		height: 185px;
		background: url('../images/bg-mz-after-big.png') no-repeat center top;
	}
	
	.style5:before {
		width: 951px;
		height: 185px;
		background: url('../images/bg-mz-before-big.png') no-repeat center top;
	} */
}