﻿@charset "utf-8";
/* CSS Document */

/* Для старых браузеров
section, 
header, 
nav, 
article, 
aside, 
footer { 
	display: block; 
} */
@font-face { 
	font-family: 'Philosopher'; 
	src: url('../fonts/webfonts/Philosopher-Regular.woff2') format('woff2'); 
	font-weight: 400; font-style: normal; 
}
@font-face { 
	font-family: 'Philosopher'; 
	src: url('../fonts/webfonts/Philosopher-Bold.woff2') format('woff2'); 
	font-weight: 700; font-style: normal; 
}
@font-face { 
	font-family: 'Philosopher'; 
	src: url('../fonts/webfonts/Philosopher-Italic.woff2') format('woff2'); 
	font-weight: 400; font-style: italic; 
}
@font-face { 
	font-family: 'Philosopher'; 
	src: url('../fonts/webfonts/Philosopher-BoldItalic.woff2') format('woff2'); 
	font-weight: 700; font-style: italic; 
}

html, 
body {
	margin: 0px;  
	padding: 0px;
	font-family: 'Philosopher', 'Helvetica', sans-serif;
}

body{
	height: 100%; 
}

h1, h2 {
	text-align: center;
	padding-top: 30px;
}

ul {
	list-style: none;
	margin: 0;
}

blockquote {
	font-style: italic;
}

a{
	text-decoration: none;
}

a.disabled {
    pointer-events: none; /* делаем ссылку некликабельной */
    cursor: pointer;  /* устанавливаем курсор в виде стрелки */
}

[contenteditable="true"]{
	background-color: white;
	padding: 5px;
}

#errMsg{
/*	display: none; */
	color: white;
	background-color: red;
	border-radius: 5px;
	width: 400px;
	margin: 10px auto;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	text-align: center;
}

.regform{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.regform td:first-child{
	text-align: right;
}

.big_btn {
	float: left;
	width: 140px;
	padding: 10px;
	margin-right: 20px;
	color: white;
	font-family: arial;
	background-color: #006CBB;
	font-weight: bold;
	text-align: center;
	border-radius: 10px;
	cursor: pointer;
}

.big_btn:hover {
	background-color: #95D2FF;
	color: black;
}

.wrapper { /* Обертка всей страницу (включая header и footer). Позволяет прижать футер к низу видимой области*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: 100%;
	background-color: #FBF7D7;
}

/* Заголовок и горизонтальное меню */
.site_header {
	display: flex;
	align-items: center;
	height: 160px;
	background-color: #006CBB;
}
.site_header .positioner {
	width: 1280px;
	min-width: 680px;
	margin: 0 auto;
}
.site_header .logo {
	width: 220px;
	height: 160px;
	margin-top: 0;
	/* float: left; */
	background-color: #006CBB;
}
.site_header .header-right {
	/* float: left;  */
	width: 578px;
	margin: 0 auto;
}
.site_header .text {
	color: #FFFFFF;
	font-size: 64px;
	text-align: center;
}
.site_header .hmenu {
	width: 300px;
	margin: 0 auto;
}
.site_header .hmenu ul {
	padding: 0;
}
.site_header .hmenu ul ul {
	display: none;
}
.site_header .hmenu li {
	float: left;
	width: 100px;
	text-align: center;
	vertical-align: middle;
}
.site_header .hmenu a {
	color: #FFF;
	display: block;
	height: 40px;
	line-height: 36px;
	background-color: #006CBB;
	text-shadow:1px 1px 1px rgba(0,0,0,0.75); /* Тень текста, чтобы приподнять его на немного */
	text-align: center;
}
.site_header .hmenu .active,
.site_header .hmenu a:hover{
	color: #000;
	background-color: #95D2FF;
}
.site_header .hmenu ul li:hover{
	border-left: 3px solid rgba(149,210,255,0.80);
	border-right: 1px solid rgba(149,210,255,1.00);
	border-top: 1px solid rgba(149,210,255,0.80); 
	margin-left: -4px;
	margin-top: -1px;
}
.site_header .hmenu ul ul li a{
	text-align: left;
	padding-left: 10px;
}
.site_header .hmenu ul ul li{
	float:none;
	position: relative;
	border-left: 3px solid rgba(149,210,255,0.80);
	border-right: 1px solid rgba(149,210,255,1.00);
	margin-left: -4px;
/*	border-right: 3px solid #95D2FF; */
}
.site_header .hmenu ul ul li:last-child{
	border-bottom: 5px solid rgba(145,145,145,0.80); 
}
.site_header .hmenu ul li:hover > ul {
	display: block; 
	position: absolute;
	z-index: 10;
	margin-top: -1px;
	margin-left: 1px; 
}

.site_header .auth{
	width: 170px;
	/* float: left; */
	color: white;
	border: 2px dotted white;
    border-radius: 5px;
	padding: 2px 5px 5px;
	/* margin-top: 10px; */
	margin-left: 10px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.site_header .auth div{
	width: 156px;
	margin: 2px auto 0 auto;
	text-align: center;
}

.site_header .auth #auth_error{
	background-color: red; 
	border-radius: 5px;
	font-size: 0.9em;
}

.site_header .auth .field {
	text-align: right;
}

.site_header .auth input{
    border: 1px solid gray;
    border-radius: 3px;
}

.site_header .auth a{
	color: white;
	text-decoration: underline;
}

.navbar_main{
	display: flex;
}
.navbar_main .menu{
	display: flex;
	padding: 0px;
	margin: 0 auto;
	margin-top: 5px;
}
.navbar_main .menu li {
	margin-right: 10px;
}
.navbar_main .menu li:last-child{
	margin-left: 0;
}
.navbar_main .menu li a{
	width: 102px;
	display: block;
	height: 40px; 
	padding-left: 5px;
	color: #FFFFFF;
	line-height: 36px; 
	background-color: #006CBB;
	border-radius: 5px;
	text-align: center;
}
.navbar_main .menu .active,
.navbar_main .menu li a:hover{
	color: #000000;
	background-color: #95D2FF;
}
.navbar_chapters {
	display: flex;
	background-color: #95D2FF;
	min-height: 40px;
}

.navbar_chapters.green{
	background-color: #c5e17d;
}

.navbar_chapters .menu{
	display: flex;
	flex-wrap: wrap;
  	max-width: 1280px;
  	min-width: 680px;
  	justify-content: center;
	padding: 0px;
	margin: 0 auto;
}
.navbar_chapters .menu .label,
.navbar_chapters .menu .label:hover{
	width: 55px;
	background-color: #ffffff;
	/* border-style: dotted; */
	border-radius: 7px;
	color: #909090;
	/* border-width: 2px; */
	height: 28px;
	margin-top: 6px;
	margin-left: 6px;
	margin-right: 6px;
	padding: 0 5px;
	align-content: center;
	text-align: center;
	cursor: default;
}

.navbar_chapters .menu li ul {
	max-width: 1080;
}
.navbar_chapters .menu li { /* Кнопки глав */
	width: 40px;
	text-align: center;
	vertical-align: middle;
}
.navbar_chapters .menu li:hover,
.navbar_chapters .menu li .active{
	background-color: #ffffff;
	color: #000;
	border-radius: 50px;
}
.navbar_chapters .menu li a{
	display: block;
	line-height: 36px; 
	text-align: center;
	color: #909090;
	margin-top: 2px;
}

/* между .site_header и .site_footer */
.conteiner{
	width: 100%;
	max-width: 1280px;
	min-width: 680px;
	height: 100%;
	margin: 0 auto;
}


/* Левая сторона и вертикальное меню*/
.left_side {
	display: table-cell; 
	/* display: flex; */
	width: 220px;
	min-width: 220px;
	background-color: #95D2FF;
	/* vertical-align: top; */
	padding-bottom: 100px;
}
.left_side .vmenu{
	/* display: flex; */
	margin-top: 1px;
	padding: 0px;
	/* margin: 0 auto; */
}
.left_side .vmenu li ul{
	width: 220px;
}
.left_side .vmenu li{
	border-left: 3px solid #95D2FF; 
	text-shadow: 1px 1px 1px rgba(0,0,0,0.75); /* Тень текста, чтобы приподнять его на немного */
	margin-right: 10px;
}
.left_side .vmenu li a{
	display: block;
	height: 40px; 
	padding-left: 5px;
	color: #FFFFFF;
	line-height: 36px; 
	background-color: #006CBB;
	text-align: left;
}
.left_side .vmenu li a.disabled{
    color: #909090; /* цвет текста для нективной ссылки */
}
.left_side .vmenu .active,
.left_side .vmenu li a:hover{
	color: #000000;
	background-color: #95D2FF;
}
.left_side .vmenu ul{
	display:none;
}
.left_side .vmenu ul li{
	float:none;
	position: relative;
	top: -35px;
}
.left_side .vmenu li:last-child{
	border-bottom: 5px solid rgba(145,145,145,0.80); 
}
.left_side .vmenu li:hover > ul {
	display: block; 
	position: absolute;
	left: 170px;
	z-index: 10;
}

/* страницы с текстом */

.textblock {
	margin: 50px 0;
	/* display: table-cell; */
	/* padding: 20px 20px;  */
	/* width: 100%; */
	/* min-width: 460px; */
	/* padding-bottom: 100px;  */
	/* font-size: 16px; */
	/* font-style: normal; */
	/* background-color: #FBF7D7; */
	/* vertical-align: top; */
}
.textblock table {
    border-collapse: collapse;
    border: 2px solid black;
}
.textblock td {
    padding: 5px;
	border-bottom: none;
}
.textblock .left{
	border-right: 2px solid black;
	text-align: right;
}
.textblock th {
    padding: 10px;
    border: 2px solid black;
}
.textblock .main_page{
	text-align: center;
	font-size: 1.6em;
}
.textblock .venzel {
	background-image: url(../images/flowers.png);
	background-repeat: no-repeat;
	width: 230px;
	height: 228px;
}
.textblock .top-left, .bottom-left{
	float: left;
}
.textblock .top-right, .bottom-right{
	float: right;
}
.textblock .top-right {
	background-position: right top;
}
.textblock .bottom-left {
	background-position: left bottom;
}
.textblock .bottom-right {
	background-position: right bottom;
}
.explain_block {
	background-color: /* #cfb381 */#FBF7D7;
	padding: 10px 10px 20px 20px;
	border: 1px solid rgba(97, 9, 9, 0.699);
	border-radius: 5px;
	margin: auto 5px;
	/* width: 1238px; выщитано с учётом родительских блоков и всех отступов */
	/* background-image: url(../images/bg/explain_bg.jpg); */
}
.explain_block img {
	border-radius: 5px;
}

.explain_block ul li {
	margin-bottom: 10px;
}

.explain_block ul li:first-child {
	margin-top: 15px;
}

#user_profile_editBtn {
	display: block;
}

.servmsg {
	color: green;
	font-size: 0.8em;
	font-style: italic;
}
.line{
	padding-bottom: 20px;
}

.string {
	/* float: left; */
	display: inline-block;
	margin-top: 18px;
	margin-bottom: 2px;
}

.button{
	display: inline-block;
	padding: 2px;
	margin-left: 5px;
	border-radius: 2px;
	cursor: pointer;
	font-size: 0.8em;
/*	color: black; */
/*	text-shadow:1px 1px 1px rgba(0,0,0,0.75); /* Тень текста, чтобы приподнять его на немного */
	text-align: center;
	font-family: arial;
}

.show_hide{
	width: 80px;
	background-color: #c5e17d;
}

.panel_btn{
	width: 80px;
	background-color: #676662;
	margin-bottom: 7px;
	padding: 2px;
	border-radius: 5px;
	color: white;
	text-align: center;
}

.panel_btn:hover {
	background-color: #FFFFFF;
	color: black;
}

.panel_btn a{
	color: white;
}

.panel_btn a:hover{
	color: black;
}

.explain{
	display: none;
	padding: 10px 15px;
	background-color: #C5E17D;
	border-radius: 10px;
	font-family: sans-serif;
	font-size: 0.8em;
	margin-right: 20px;
}

.read_more_link {
	color: #006CBB;
}

.edit{
	display: block;
}

.editable{
	width: 100%;
	height: 70px;
}

.add_explain{
	width: 100%;
	min-height: 100px;
}

.explain:after {
	content: ""; 
	/* clear: both;
	display: table; */
}

.pict {
	display: block;
	float: left;
	margin-top: 10px;
	margin-right: 15px;
	/* margin-bottom: 10px; */
	/* width: 400px; */
}

.remark {
	color: #606060;
}

.compile {
	padding: 0px 40px;
}

.textred {
	color: red;
}

.textblue {
	color: blue;
}

.underline {
	text-decoration: underline;
}

/* Подвал сайта*/
.site_footer {
	display: block;
	margin-top: auto; /* Позволяет прижать футер к низу видимой области (+ см. .wraper)*/
	height: 80px;
	width: 100%;
	min-width: 680px;
	background-color: #FFF;
	border-top: 2px solid #4D4D4D;
}
.stat {
	height: 100%;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding-top: 15px;
}
.counter {
	display: none;
	float: left;
	padding: 5px;
/*	border: 1px solid #FC0000; */
}
.rvs {
	float: right;
	padding-left: 10px;
	margin-top: -3px;
}
.mailto {
	float: right;
	font-family: tenor-sans, sans-serif;
	font-size: 12px;
	color: #7E7E7E;
	text-align: right;
}

/* заглушка от выпадания флоатных блоков */
.clearfix::after {
	content: ""; 
	clear: both;
	display: table;
} 
