/* https://www.instagram.com/reel/DQ9GkXsERsl/?igsh=MXBpdWRtZjJ0d2F4MA== */

html, body {
	font-family: 'Arial';
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	color: #444;
}

a {
	color: #0059b2;
	text-decoration: none;
}
a:hover {
	color: #CC0000;
	text-decoration: underline;
}

img {
    max-width: 138px;
    max-height: 138px;
    border-radius: 3rem; /* Создаем скругленные края */
}

img.img-article-left {
    max-width: 300px;
    height: auto;
    float: left;
    padding: 0 10px 10px 0;
}

img.img-article-left.thumb {
    max-width: 150px;
    height: auto;
}

p.link-read-post {
	text-align: right;
}
p.link-read-post a {
	background-color: #007bff;
  	color: #fff;
  	border: none;
  	border-radius: 5px;
  	font-size: 16px;
  	padding: 10px 20px;
  	cursor: pointer;
  	text-align: right;
  	transition: background-color 0.2s;
  	text-decoration: none;
  	min-width: 100px;
}

div.article-panel {
    background: #eee;
    padding: 5px 10px 5px 10px;
    box-sizing: content-box;
    overflow: hidden;
    color: #555;
	display: inline-block; /* Добавлено */
}
div.article-panel p.first {
    margin: 0;
    float: left;
}
div.article-panel p.last {
    margin: 0;
    float: right;
}

ul.list-articles {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.list-articles li {
	border-bottom: 1px solid #ccc;

	font-size: 100%; /* Уменьшаем размер шрифта до 80% от изначального */
    padding: 5px 0; /* Уменьшаем верхний и нижний отступ до 5px */
    /* Дополнительные стили по необходимости */
}

.table-page {
	width: 100%;
	height: 100%;
	vertical-align: top;
}
.table-page tr {height: 100%;}

.clear {clear: both;}

.header {
	/*background: #3F4137;*/
	background: black;
	height: 60px;
}

.logo {
	background: url('../images/logo.png') no-repeat 10px 5px;
	width: 70px;
	height: 60px;
}

ul.mainmenu {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 60px;
	color: #fdc073;
	font-size: 20px;
	overflow: hidden;
}
@media screen and (max-width: 767px) {
    ul.mainmenu {
        display: none;
    }
}

ul.mainmenu li {
	float: left;
	margin: 18px 40px 0 30px;
}
ul.mainmenu li.logo {margin: 0;}
ul.mainmenu li.last {float: right;}

ul.mainmenu li a {
	color: white;
	text-decoration: none;
}
ul.mainmenu li a:hover {
	color: white;
}

.panelitems {
	text-align: center;
}

ul.langitem {
	list-style: none;
	display: inline-block;
	margin: 30px;
	padding: 0;
	max-width: 300px
}
ul.langitem li {
	margin: 10px 0 0 0;
	width: 100%;
}
ul.langitem li.image {
	margin: 0;
	text-align: center;
	width: 100%;
	height: 250px;
	overflow: hidden;
}
ul.langitem li.descr {
	color: #777;
	height: 170px;
	overflow: hidden;
}
ul.langitem li a {
	/*color: #fdc073;*/
	color: white;
	text-decoration: none;
	font-size: 20px;
}
ul.langitem li a:hover {
	/*color: #FDA83D;*/
	color: white;
}
div.button {
	background: #3F4137;
	max-width: 200px;
	margin: 0 auto;
	padding: 5px 20px 5px 20px;
	border-radius: 10px;
	font-size: 20px;
}

.centered-content {
    text-align: center; /* Center the content horizontally */
    display: none; /* Hide the content by default */
}

/* Apply styles only for screens with a max-width of 767px (common for mobile devices) */
/*@media screen and (max-width: 767px) {*/
/*    .centered-content {*/
/*        display: block; !* Show the content on mobile devices *!*/
/*    }*/

/*	h5.mobile-only {*/
/*		display: block;*/
/*	}*/
/*}*/

/*@media screen and (max-width: 1242px) {*/
/*  !* Здесь вы можете задать стили, которые будут применяться на мобильных устройствах *!*/
/*  .table-page {*/
/*    width: 100%; !* Например, измените ширину на 100% *!*/
/*  }*/

/*	.mainmenu {*/
/*    display: none;*/
/*  }*/

/*}*/


.table-content {
	width: 100%;
	min-height: 100%;
	height: 100%;
}

.left-chapters {
    margin: 0;
    background: #fff;
    /*border: 1px solid #ccc; !* Добавляем рамку *!*/
    border-radius: 5px; /* Закругляем края */
    min-height: 100%;
}

.left-chapters ul {
    width: 230px;
    min-height: 100%;
    margin: 0;
    padding: 20px 10px 10px 20px;
    list-style: none;
    font-size: 20px;
}

.left-chapters ul li {
    margin: 10px 0 0 0;
    color: #555555;
    /*border: 1px solid #ccc;*/
	background: #eeeeee;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s; /* Добавляем переход для свойства transform */
}

.left-chapters ul li:hover {
    transform: scale(1.25); /* При наведении увеличиваем размер на 5% */
}

.left-chapters ul li.selected {
    color: #5b80b2;
}

.left-chapters ul li a {
    color: #eee;
    text-decoration: none;
}

.left-chapters ul li a:hover {
    color: #CC0000;
}

.left-chapters ul li.share {
    margin: 60px 0 0 0;
}

.left-chapters ul li.share p {
    margin: 30px 0 30px 0;
}

.left-chapters ul li.share a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 20px 0 0;
}

.content {
	padding: 40px 20px 20px 40px;
	width: 100%;
	box-sizing: border-box;
}



ul.breadcrumbs {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 20px;
	font-family: Sans-serif, Arial, Tahoma;
}
ul.breadcrumbs li {
	display: inline-block;
}
ul.breadcrumbs li a {
	color: #0059b2;
	text-decoration: none;
}
ul.breadcrumbs li a:hover { color: #CC0000; }
ul.breadcrumbs li:after{
	padding: 0 10px 0 10px;
	content: "\2192";
}
ul.breadcrumbs li.last:after {content: "";}

ul.control {
	margin: 0;
	padding: 60px 0 0 0;
	list-style: none;
	font-family: Sans-serif, Arial, Tahoma;
	font-size: 18px;
	width: 100%;
}
ul.control li {	float: left; padding: 0 0 0 10px;}
ul.control li.first:before {content: "\2190"; padding: 0 10px 0 0;}
ul.control li.last {float: right; padding: 0 40px 0 0;}
ul.control li.last:after {content: "\2192"; padding: 0 0 0 10px;}
ul.control li a { color: #0059b2; text-decoration: none; }
ul.control li a:hover { color: #CC0000; }

ul.content-table {
	margin: 0;
	padding: 60px 0 0 30px;
	list-style: none;
	font-family: Sans-serif, Arial, Tahoma;
	font-size: 28px;
}
ul.content-table li {
	margin: 0 0 40px 0;
}

ul.content-table li a {
	/*color: #BB5715;*/
	color: white;
	text-decoration: none;
}
ul.content-table li a:hover {
	/*color: #F0711C;*/
	color: white;
}

.content-text {
	margin: 60px 0 0 30px;
	color: #000;
	font-size: 20px;
	font-family: Yandex Sans Display Light;
}
.content-text h1 {font-size: 32px;}

ul.lang-list {
	list-style: none;
	margin: 0;
	padding: 14px 0 0 0;

	width: 100%;
	height: 50px;
	border-top: 1px solid #959A82;
	box-sizing: border-box;
	font-size: 18px;
	font-family: Sans-serif, Arial, Tahoma;
}
ul.lang-list li {
	display: inline-block;
	margin-left: 40px;
}
ul.lang-list li.selected {color: #fdc073; border-bottom: 1px solid #fdc073;}
ul.lang-list li a {
	color: #eee;
	text-decoration: none;
}
ul.lang-list li a:hover {color: #fdc073;}

.topic-subject .topic-line {
	border-bottom: 1px solid #CC0000;
	margin-top: -16px;
}

.topic-subject .topic-text {
	display: inline-block;
	font-size: 28px;
	color: #777;
	padding: 0 10px 0 10px;
	margin-left: 30px;
	background: #fff;
	font-family: Sans-serif, Arial, Tahoma;
}

.list-topic {
	margin: 40px 0 60px 0;
	font-family: Sans-serif, Arial, Tahoma;
}
.list-topic p {
	margin: 0;
	font-size: 28px;
}
.list-topic ol {
	columns: 2;
	-webkit-columns: 2;
	column-gap: 40px;
}
.list-topic ol li {
	display: list-item;
	margin: 10px 10px 0 0px;
	padding: 0 0 0 10px;
}
.list-topic ol li a {
	color: #0059b2;
	text-decoration: none;
}
.list-topic ol li a:hover {color: #CC0000;}

.highlight {
	max-width: 350px;
	padding: 0 10px 0 10px;
	margin: 0;
	overflow: auto;
	overflow-y: hidden;
	background: #f0f0f0;
}
.highlight p { margin: 0; }
.highlight .block {
	width: 100%;
	margin: 0;
}
.highlight .block p { margin: 0; }

.quote {
	background: url('../images/blockquote.png') no-repeat 0 10px;
	padding: 5px 5px 5px 70px;
	font-family: Sans-serif, Arial, Tahoma;
	font-style: italic;
}

#footer {
	box-sizing: border-box;

	/*background: #3F4137;*/
	background: black;
	padding: 5px;
	color: #aaa;
	font-size: 14px;
	font-family: Verdana, Geneva, Arial, Helvetica;
	text-align: left;
	overflow: hidden;
}
#footer a {
	text-decoration: underline;
	color: #aaa;
}

.form-input {
    width: 300px;
    font-size: 16px;
}

.form-label {
    display: inline-block;
    min-width: 150px;
    vertical-align: top;
}

.form-error ul {
    list-style: none;
    padding: 0;
    color: #CC0000;
}

.form-button {
    min-width: 200px;
    font-size: 16px;
}

.button-page {
    background-color: #555555;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button-page-selected {
	 background-color: #c5c5c5;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button-page:hover {
    background-color: #444444;
}

.page-num-selected {
    background-color: #666666; /* Цвет фона для выбранной категории */
    color: #ffffff; /* Цвет текста для выбранной категории */
    filter: brightness(90%); /* Небольшое затемнение */
	border-radius: 5px;
}

.page-num-disabled {
    background-color: #ccc;
    color: #777;
    cursor: not-allowed;
	border-radius: 5px;
}

.list-pages ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.list-pages ul .page-num {
    margin: 0 5px;
    display: inline-block;
}
/*.d3{*/
/*	height: 100%;*/
/*    width: 100%;*/
/*}*/

.input-form {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  width: 300px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-form:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

.input-submit {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.input-submit:hover {
  background-color: #0056b3;
}
/*.input[id='id_captcha_1']{*/
/*	padding: 10px;*/
/*	border: 1px solid #ccc;*/
/*  	border-radius: 5px;*/
/*  	font-size: 16px;*/
/*  	width: 300px;*/
/*  	margin-bottom: 10px;*/
/*	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
/*}*/

/*.input[id='id_captcha_1']:focus {*/
/*	border-color: #007bff;*/
/*	box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);*/
/*}*/
