﻿/*{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:35px;
	width:100%;
	/*width:1350px;*/
	height: auto;
	align-content: center;
	margin-left:270px;

	/*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%;
	margin-right:20px;
	/*color: white;*/
	color:rgba(51,51,51,0.8);
	vertical-align: top;
}

#titul_name {
	display:flex;
	position:fixed;
	top:240px;
	/*top:340px;*/
	/*top:880px;*/
	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:60pt;   
	line-height:70pt;    
	text-indent: 0%;
	/*color: rgb(255,255,255);*/
	color:rgba(51,51,51,1.0);
	/*text-shadow: 40px 40px 100px rgba(0,0,0,1);*/

}

.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:15px;
	/*left:400px;*/
	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;
	}

.chapter_button { 	/*кнопки для перехода в разделы*/
	display:inline-block; 
	position:relative;
	flex-direction: row;
	width: 500px;
	height: 300px;
	/*height: auto;*/
	margin: auto 50px;  /*это ВНЕШНИЕ отступы, требуется, если размещаем несколько кнопок */
	cursor:pointer;
	border: 0px solid rgba(255,255,255,0.4);
	border-radius: 5px;
	border-style: outset;
	}

.center_button img, .chapter_button img {
	width:100%;	
}

.chapter_button p {
	display: inline-block;
	position: absolute;
	margin-top:125px;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	line-height:30pt;
	font-family:"DIN1"; 
	src:url('../font/DINPro.ttf');
	letter-spacing: 1px;
	font-weight: bold;
	font-style:normal;
	font-size:22pt;
	color: white;
	opacity: 1;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
}

.center_button p {
	display: inline-block;
	position: absolute;
	text-align: center;
	vertical-align:middle;
	width: 100%;
	line-height:30pt;
	font-family:"DIN1"; 
	src:url('../font/DINPro.ttf');
	letter-spacing: 1px;
	font-weight: bold;
	font-style:normal;
	font-size:20pt;
	color: white;
	opacity: 1;
	left: 50%;
	top: 45%;
	transform: translate(-50%, -50%);
	text-shadow: 2px 2px 2px rgba(0,0,0,0.7);
}

.chapter_button a:link, .center_button a:link {
	display: block;
	height: 100%;
	color:white;
	opacity: 1;
	text-decoration: none;
}

/*нажатие кнопок*/
.center_button:active {background:url('../images/btn/btn_lang_active.png') no-repeat center center; }
.center_button:active p{color: white;opacity: 0.4;}
.chapter_button:active {background:url('../images/btn/chapter_button_active.png') no-repeat center center; }
.chapter_button:active img{opacity: 0.8;}
.chapter_button:active p{color: white;opacity: 0.6;}


/*Кастомный скроллбар*/

::-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;
}
