﻿/*{overflow: hidden;}*/

/*html { overflow-x: hidden; }*/

body {
	margin:0px;
	padding:0px;
	user-select: none;
	/*overflow: hidden;*/
	}

body::-webkit-scrollbar { width: 20; } /*подключаем кастомный скроллбар, если поставить 0 - скроллбар будет скрыт*/

/*не ставим в id файл с фоном, вдруг на каждый раздел будет своя картинка*/

#wrapper_main {
	top:0px;
	left:0px;
	background-repeat:no-repeat;
	background-size:1080px;
	background-color:white;
	background-attachment:fixed;
	/*z-index: 0;*/
}

/*оформление ссылок - белый без подчеркивания*/
a {text-decoration:none;color: rgba(106,15,10,1.00);}

/*фон и тексты на титульной странице*/
img.fix-fontitul {
	position:fixed;
	top:0px;
	left:0px;
	width: 100%;
	opacity: 1;
	/*z-index: 0;*/
}

/*верхний лого и информация*/
#logotype {
	display:flex;
	position:fixed;
	top:25px;
	width:100%;
	height: auto;
	align-content: center;
	/*z-index: 5;*/
}

#logotype p {
	font-family:"DIN1";
	src:url('../font/DINPro.ttf');
	font-weight:bold;
	font-style:normal;
	font-size:14pt;
	line-height:18pt;
	text-align: right;
	text-indent: 0%;
	color: white;
	vertical-align: top;
}

#titul_name {
	display:flex;
	position:fixed;
	top:720px;
	left:0px;
	width:100%;
	height:auto;
	justify-content: center;
}

#titul_name p {
	font-family:"DIN2"; 
	src:url('../font/DINProBold.ttf');
	font-style:normal;
	text-align:center;
	font-size:90pt;   
	line-height:70pt;    
	text-indent: 0%;
	color: rgb(255,255,255);
}

.titul_part {
	width: 1290px;
	font-family: DIN1, sans-serif;; 
	src:url('../font/DINPro.ttf');
	font-size: 15pt;   
	line-height: 19pt;   
	font-kerning: normal;
	text-align: justify;
	text-indent: 0%;
}

/*центральная кнопка*/
#center {
	display:flex;
	position:fixed;
	bottom:25px;
	width:100%;
	text-indent: 0%;
	flex-direction:row;
	/*justify-content: space-between;	используется, если размещается две и более кнопок */ 
	justify-content: center;
}

.center_button { 
	display:inline-block; 
	position:relative;
	flex-direction: row;
	width: 290px;
	height: 60px;
	/*height: auto;*/
	/*margin: auto 10px;  это ВНЕШНИЕ отступы, требуется, если размещаем несколько кнопок */
	cursor:pointer;
	background:url('../images/btn/btn_lang_press.png') no-repeat center center;
	border: 0px solid rgba(255,255,255,0.3);
	border-radius: 15px;
	border-style: outset;
	}

/*основной фон везде кроме главной*/
img.fix-fon {
	position:fixed;
	top:0px;
	left:0px;
	width: 1920px;		/* ставим размер, иначе при добавлении скроллбара - внизу появляется пустое безфоновое место */
	opacity: 0.7;
	/*z-index: 0;*/
}

/*все что относится к боковому меню*/
#main_menu {				/*весь вертикальный блок*/
	position:fixed;
	display: flex;
	top:0px;
	left:0px;
	width:460px;
	height:1080px;
	justify-content:center;
	background: rgba(61,12,6,0.75);
	/*z-index: 2;*/

}

#main_in_menu {				/*блок для основных кнопок*/
	position:fixed;
	display: flex;
	top:20px;
	width:460px;
	height:921px;
	flex-direction:column;
	justify-content: space-between;
	/*z-index: 4;*/
overflow-y: auto;

}

/*основные кнопки*/
.buttons, .press_buttons {
	display: inline-block;   
	position:relative;
	flex-direction: row;
	height: 84px; /*размер кнопки 420х84 без окантовки*/
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
	cursor:pointer;
	background:url('../images/btn/btn_01.png') no-repeat center center;
	border: 0px solid rgba(255,255,255,0.3);	/*параметры окантовки внесены, чтоб получилась тень для скругленного объекта. иначе тень от квадратного блока получается */
	border-radius: 15px;
	border-style: outset;
	box-shadow: 0px 0px 5px 2px rgba(61,12,6,0.7);
	/*z-index: 5;*/
}

.buttons {
	background:url('../images/btn/btn_01.png') no-repeat center center;
	}

.press_buttons {
	background:url('../images/btn/btn_01_press.png') no-repeat center center;
	}

/* основные кнопки на втором уровне */
.button_small, .press_button_small  {
	display:inline-block; 
	position:relative;
	flex-direction: row;
	height: 56px;
	width: auto;
	margin: 6px 20px;
	/*margin: 6px;    ЭТО ВНЕШНИЕ ОТСТУПЫ  */
	cursor:pointer;
	border: 0px solid rgba(255,255,255,0.3);
	border-radius: 10px;
	border-style: outset;
	box-shadow: 0px 0px 5px 2px rgba(61,12,6,0.7);
	/*z-index: 5;*/
	}

.button_small {
	background:url('../images/btn/btn_lev02.png') no-repeat center center;
}

.press_button_small { 
	background:url('../images/btn/btn_lev02_press.png') no-repeat center center;
	}

/* средние кнопки на втором уровне */
.button_middle, .press_button_middle {
	display:inline-block; 
	position:relative;
	flex-direction: row;
	height: 66px;
	width: auto;
	margin: 6px 20px;
	/*margin: 6px;    ЭТО ВНЕШНИЕ ОТСТУПЫ  */
	cursor:pointer;
	border: 0px solid rgba(255,255,255,0.3);
	border-radius: 10px;
	border-style: outset;
	box-shadow: 0px 0px 5px 2px rgba(61,12,6,0.7);
	/*z-index: 5;*/
	}

.button_middle {
	background:url('../images/btn/btn_middle.png') no-repeat center center;
}

.press_button_middle { 
	background:url('../images/btn/btn_middle_press.png') no-repeat center center;
	}



.buttons img, .button_small img, .press_button_small img, .press_buttons img, .button_top img, .center_button img, .back_titul img, .button_middle img, .press_middle_small img {
	width:100%;	
}

.buttons p, .press_buttons p {
	display: inline-block;
	position: absolute;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	line-height:24pt;	/*24*/
	font-family:"DIN1"; 
	src:url('../font/DINPro.ttf');
	letter-spacing: 1px;
	font-weight: bold;
	font-style:normal;
	font-size:18pt;		/*22*/
	margin: auto 0;
	left: 50%;
	top: 47%;
	transform: translate(-50%, -50%);
	text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}

.back_titul p, .button_top p, .center_button p {
	display: inline-block;
	position: absolute;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	line-height:20pt;
	font-family:"DIN1"; 
	src:url('../font/DINPro.ttf');
	letter-spacing: 1px;
	font-weight: bold;
	font-style:normal;
	font-size:16pt;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
}

.button_small p, .press_button_small p, .button_middle p, .press_button_middle p {
	display: inline-block;
	position: absolute;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	line-height:20pt;
	font-family:"DIN1"; 
	src:url('../font/DINPro.ttf');
	letter-spacing: 1px;
	font-weight: bold;
	font-style:normal;
	font-size:17pt;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
}

.buttons p, .button_small p, .back_titul p, .button_middle p {color: white; opacity: 0.8}
.press_button_small p, .button_top p, .press_buttons p, .center_button p, .press_button_middle p {color: white; opacity: 1}


.press_buttons a:link, .button_top a:link, .press_button_small a:link, .center_button a:link {
	display: block;
	height: 100%;
	color:white;
	opacity: 1;
	text-decoration: none;
}

.buttons a:link, .button_small a:link, .back_titul a:link {
	display: block;
	height: 100%;
	color:white;
	opacity: 0.8;
	text-decoration: none;
}

#header {
	background-color: none;
	background:url('../images/main/main_fon.jpg') no-repeat top right;
	position:fixed;
	top: 0px;
	left: 460px;
	width:1460px;
	height:80px;
	display:flex;
	z-index: 2;
	justify-content:right;
	border-bottom: 6px solid rgb(106,15,10);
}

#header p {
	font-family:"DIN2";
	src:url('../font/DINProBold.ttf');
	font-weight:bold;
	font-style:normal;
	text-transform:uppercase;
	font-size:25px;
	padding-right: 85px;
	margin-top: 25px;
	text-align: right;
	color: rgb(106,15,10);
}

#to_titul {				/* вернулись на главную */
	display:flex;
	position:fixed;
	top:950px;
	left: 0px;
	width:460px;
	height:120px;
	flex-direction:column;
	justify-content:center;
	vertical-align: middle;
/*	justify-content: space-between;*/
	/*background-color: rgba(106,15,10,0.3);	можно сделать выделение цветом*/
	z-index: 5;
}

.back_titul {
	display: inline-block;   
	position:relative;
	flex-direction: row;
	height: 40px; 
	width: 360px;
	margin: 5px auto;  /* ЭТО ВНЕШНИЕ ОТСТУПЫ  */
	cursor:pointer;
	background:url('../images/btn/btn_top_press.png') no-repeat center center;
	border: 0px solid rgba(255,255,255,0.3);	/*параметры окантовки внесены, чтоб получилась тень для скругленного объекта. иначе тень от квадратного блока получается */
	border-radius: 16px;
	border-style: outset;
	box-shadow: 0px 0px 3px 1px rgba(61,12,6,0.7);
	/*z-index: 10;*/
}

.button_top {
	display:inline-block;
	position:relative;
	width: 360px;
	height:40px;
	padding: 0 0 0 0;
	margin: 0px 480px;  /*  ЭТО ВНЕШНИЕ ОТСТУПЫ  */
	cursor:pointer;
	border: none;
	outline: none;
	background:url('../images/btn/btn_top.png') no-repeat center center;
	/*z-index: 5;*/
}

/*нажатие кнопок*/
.buttons:active {background:url('../images/btn/btn_02.png') no-repeat center center;}
.press_buttons:active {background:url('../images/btn/btn_01.png') no-repeat center center;}
.back_titul:active {background:url('../images/btn/btn_top_press2.png') no-repeat center center;}
.button_top:active {background:url('../images/btn/btn_top_press.png') no-repeat center center;}
.button_small:active, .press_button_small:active {background:url('../images/btn/btn_lev02_active.png') no-repeat center center; }
.center_button:active {background:url('../images/btn/btn_lang_active.png') no-repeat center center; }
.button_middle:active, .press_button_middle:active {background:url('../images/btn/btn_middle_active.png') no-repeat center center; }
/*текстовый блок, врезки, вводки, заголовки*/
.text_part {
	width: 1290px;
	position: absolute;
	top: 160px;
	left: 545px;
	overflow: hidden;
	/*z-index: 4;*/

	font-family: DIN1, sans-serif;; 
	src:url('../font/DINPro.ttf');
	font-size: 19pt;   
	line-height: 27pt;   
	font-kerning: normal;
	text-align: justify;
	text-indent: 3.5%;
}


/*заголовки для статей*/
.head1 {
	font-family:"DIN2"; 
	src:url('../font/DINProBold.ttf');
	/*font-weight:bold;*/
	margin-bottom: 30px;
	text-align:center;
	font-style: normal;
	font-size:36pt;   
	line-height:44pt;   
	text-indent: 0%;
	color:rgba(106,15,10,1.00);
}

.head2 {
	font-family:"DIN2"; 
	src:url('../font/DINProBold.ttf');
	/*font-weight:bold;*/
	margin: 25px 0px;
	text-align:center;
	font-style: normal;
	font-size:25pt;   
	line-height:38pt;  
	text-indent: 0%;
	color:rgba(106,15,10,1.00);
}

.head3 {
	font-family:"DIN2"; 
	src:url('../font/DINProBold.ttf');
	/*font-weight:bold;*/
	margin: 25px 0px;
	text-align:center;
	font-style: normal;
	font-size:22pt;   
	line-height:30pt;   
	text-indent: 0%;
	color:rgba(106,15,10,1.00);
}

.podpisy {
	font-family: DIN1, sans-serif;; 
	src:url('../font/DINPro.ttf');
	font-size: 18pt;   
	line-height: 22pt;  
	font-kerning: normal;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom:40px;
	text-align: right;
	text-indent: 0%;
}

.rukopis { /* подобрать подходящий при необходимости */
	font-family:"Adventure";
	src:url('../font/AdventureC.otf');
	font-size: 21pt;   /*27?*/
	line-height: 27pt;  /*30*/
}

/*работа с картинками*/

.block_left {
	width: auto;
	float: left;
	margin: 0px 50px 10px 0px;
	text-indent: 0px;
}

.foto_left {
	width: auto;
	float: left;
	margin: 0px 50px 7px 0px;
	text-indent: 0px;
}

.foto_left p {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:18pt; 
	line-height:26pt; 
	text-align:center;
	float: left;
	text-indent:0%;
	margin: 7px 50px 10px 0px;
}

.block_right {
	width: auto;
	float: right;
	margin: 0px 0px 10px 50px;
	text-indent: 0px;
}

.foto_right {
	width: auto;
	float: right;
	margin: 0px 0px 7px 50px;
	}

.foto_right p {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:18pt; 
	line-height:26pt; 
	text-align:center;
	float: right;
	text-indent:0%;
	margin: 7px 0px 10px 50px;
}

.block_center {
	width: auto;
	margin: 40px auto 40px;
	text-indent: 0px;
}

.foto_center {
	width: auto;
	margin: 0px auto 7px;
	text-indent: 0px;
}

.foto_center p {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:18pt; 
	line-height:26pt; 
	text-align:center;
	text-indent:0%;
	margin:0px auto 10px;
}

/*увеличение по клику*/

.bigfocus [tabindex="0"] {  
  cursor: zoom-in; 
}  


.bigfocus[tabindex="0"]:focus {  
  position: fixed; 
  z-index: 150;  
  top: 0; 
  left: 480px; 
  bottom: 0; 
  right: 0px;  
  width: auto; max-width: 100%;  
  height: auto; max-height: 100%;  
  margin: auto; 
  padding: 5px;
  background-color: #E3E3E3;
  outline-width:0px;
  box-sizing: border-box;
  box-shadow: 0px 0px 650px 0px rgba(0,0,0,1); 	
  text-indent:0%;
} 

.bigfocus[tabindex="0"] figcaption:focus {
	display: none;
	background-color: #000;
}

.bigfocus[tabindex="0"]:focus, /* Привязка на возврат фото в привычное состояние после клика на увеличенное */  
.bigfocus[tabindex="0"]:focus ~ * {  
  cursor: zoom-out;  
  pointer-events: none;  
}

.gallery_descr {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:17pt; 
	line-height:23pt; 
	text-align:center;
	text-indent:0%;	
	}

figure:focus-within .gallery_descr {visibility: hidden}  /*скрывает название фото которое расположено под фото в тексте*/
figure:focus-within .overlay {opacity: 0.5;}

.overlay {
background-color: #000; /* Чёрный фон */
height: 100%; /* Высота максимальна */
left: 460px; /* Отступ слева */
opacity: 0; /* Степень прозрачности */
position: fixed; /* Фиксированное положение */
top: 0; /* Нулевой отступ сверху */
width: 1460px; /* Ширина максимальна */
z-index: 3; 
/*visibility: hidden;*/
}

.table {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:16px; 
	line-height:20px; 
	text-indent:0%;
	position:relative;
	text-align:center;	
	}

.table_qr {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:19pt; 
	line-height:24pt; 
	text-indent:0%;
	position:relative;
	text-align:left;
	top:0px;
	}

.table_qr td {
	vertical-align: top;	
	padding-bottom:40px;
}

.table_qr td:nth-child(3n) {	/*через чайлд делаем выравнивание третьего столбца*/
	text-align:center;
}

.table_qr td:first-child {	/*через чайлд делаем выравнивание третьего столбца*/
	text-align:right;
	padding-right:15px;
}

.table_face {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	font-size:20pt; 
	line-height:32pt; 
	text-indent:0%;
	position:relative;
	text-align:left;	
	}

.table_face p {
	color: rgba(0,0,0,0.8);
	opacity: 1;
	text-decoration:underline;
	}

.face {
	padding-top:80px;
}



.close_face {
	font-family: DIN1, sans-serif;
	src:url('../font/DINPro.ttf');
	margin-top: 20px;
	text-align:right;
	font-style: italic;
	font-size:20pt;   
	line-height:27pt;  
	text-indent: 0%;
	color: rgba(0,0,0,0.8);
	text-decoration:underline;
}

/*буллеты для библиографии*/

ol {		/*основа*/
  counter-reset: my-awesome-counter;
  font-size:19pt; 
  line-height:24pt; 
  padding-left: 50px; 	/*отступ текста, НЕ буллета, от левого края*/
  text-indent: 0%;
  list-style-position:outside;	/*буллет выделен из основного текста*/
}

ol li {		/*элементы списка*/
  list-style-type: arabian; /*цифры арабские*/
  /*counter-increment: my-awesome-counter;*/
  padding-left: 10px; /*отступ от цифр маленький, так как цифры выровнены по правому краю по умолчанию...*/
  padding-bottom: 40px;
  text-align:left;	/*выравниваем основной текст по левому, чтоб не было больших разрывов*/
  /*font-weight: bold;		возможность сделать весь текст болдом*/
}

li::marker {	/*задаем толщину, цвет и другие параметры для самой цифры-буллета*/
  color:rgba(0,0,0,1.00);
  font-weight: normal;
  text-align:left;
}

/*
ol li::before {
  content: counter(my-awesome-counter) ". ";
  color: red;
font-weight: bold;
}*/


/*Кастомный скроллбар*/

::-webkit-scrollbar-button:start {
background-image:url('../images/btn/btn_scroll_up.png');
background-color:#F8EFE0;
border-radius: 2px;
background-repeat:no-repeat;
width:20px;
height:20px;
}

::-webkit-scrollbar-button:end {
background-image:url('../images/btn/btn_scroll_down.png');
background-color:#F8EFE0;
border-radius: 2px;
background-repeat:no-repeat;
width:20px;
height:20px;
}

/*::-webkit-scrollbar-corner {
      background-color: black;
}*/

::-webkit-scrollbar-track {	/*сама полоса, где перемещается элемент скроллбара */
background-color:rgb(242,233,220);	
border-radius: 4px;
box-shadow:0px 0px 1px #000 inset;
}

::-webkit-scrollbar-thumb {
-webkit-border-radius: 3px;
border-radius: 4px;
background-color:rgb(224,212,197);
box-shadow:0px 0px 1px #000 inset;
/*background-image:url('https://yraaa.ru/_pu/24/59610063.png');*/
background-position:center;
background-repeat:no-repeat;
}

::-webkit-resizer{
background-image:url('');
background-repeat:no-repeat;
width:7px;
height:0px
}

::-webkit-scrollbar{ /* задаем ширину скроллбара*/
width: 20px;
}
