/*Общие стили для всего сайта*/
h1,h2,h3,h4,h5,.h1,.h2,.h3,.h4,.h5 { margin: 2em 0 .8em 0; letter-spacing: -0.01em; line-height: 1.35em; font-weight: bold; text-rendering: optimizeLegibility; }
h1, .h1 { font-size: 2em; margin-bottom: 10px; }
h2, .h2 { font-size: 1.5em; }
h3, .h3 { font-size: 1.3em; }
h4, .h4 { font-size: 1.3em; }
h5, .h5 { font-size: 1.2em; }

.nav-load a { border: 2px solid; width: 120px; text-align: center; margin: auto; padding: 10px; border-radius: 15px; color: #000; display: block; }
.nav-load span { display: none; }
.nav-load a:hover { background-color: #48c2ff; color: #fff; }
.bottom-nav {margin-top: 10px;}
.footer {    display: flex ; justify-content: space-between;padding: 10px;border: 1px solid #e5e5e5; border-radius: 18px; }
.footer ul {    list-style: none; display: flex ; gap: 15px; text-transform: uppercase;}
.footer ul a {    color: #616161; font-size: 14px; font-weight: 600;}
.copy {    font-size: 14px; text-transform: uppercase;color: #616161;font-weight: 600;}
.footer ul a:hover {    color: #0a0a0a;}
.speedbar {padding: 15px; }
.speedbar a { color: #9c9c9c; }
.fullstory h1 {margin: 0; text-transform: uppercase;}
.fullstory h1 span {color: #636363;}
.fullstory h2 {font-weight: bold;margin: 0.5em 0 .1em 0;}
.fullstory h3, h4 {font-weight: bold;margin: 0.8em 0 .1em 0}
.fullstory p {font-size: 15px;margin: 0.8em 0 .1em 0;}
.fullinfo {display: flex ; justify-content: space-between; border: 2px solid #f5f5f5; padding: 5px; border-radius: 18px; color: #7a7a7a;margin: 10px 0;}
.player iframe {aspect-ratio: 16/9; width: 100%; height: auto;}
.ocenka {margin: 10px 0; padding: 5px; border: 2px solid #f5f5f5; border-radius: 10px;display: flex; justify-content: space-between;}

.nextprev {    display: flex; gap: 15px; align-items: center;    margin: -5px 0; }
.nextprev a {color: #000; opacity: 0.6;    display: flex; align-items: center; font-weight: 700;}
.prev {padding-right: 10px; border-right: 2px solid lightgrey; height: 100%; display: flex; align-items: center;padding: 0 15px;}
.next {margin-left: -15px; height: 100%; display: flex ; align-items: center; padding: 0 15px;}
.prev i {    font-size: 20px; margin-right: 15px; background-color: #e5e5e5; padding: 5px 15px; border-radius: 6px;}
.next i {    font-size: 20px; margin-left: 15px; background-color: #e5e5e5; padding: 5px 15px; border-radius: 6px;}
.next:hover, .prev:hover {    background-color: #a0a8b1;}
serv__title {font-size: 24px;  margin-bottom: 30px;}
.serv__subtitle {font-size: 18px;  margin-bottom: 20px;}
.serv__section {margin-bottom: 30px;}
.serv__gap {gap: 10px;}
.serv__table-resp {overflow-y: hidden; overflow-x: auto;}
.serv__table table {width: 100%;}
.form__row + .form__row {margin-top: 20px;}
.form__row {display: grid; gap: 10px 20px; align-items: center; grid-template-columns: 200px minmax(200px,1fr); position: relative;}
.form__find-related {position: absolute; right: 0; top: 0; border-radius: 0 4px 4px 0;}
.form__content select, #category {width: 100% !important;}
.bb-pane + textarea {border-radius: 0 0 4px 4px;}
.xfieldsnote {color: var(--ui-tt-fade); font-size: 13px; margin-top: 5px;}
.d-flex {display: flex;}
.form__table {width: 100%;}
.form__table tr + tr td {padding-top: 20px;}
.form__table .addnews {width: 220px;}
.xfields textarea, .xprofile textarea, .form__textarea--height {height:100px !important;}
.xfields .bb-editor, .xfields .wseditor {margin-top:10px;}
td.xfields {position: relative;}

.form__row--checkboxes-group {display: grid; grid-gap: 20px 20px; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); align-items: start;}
.form__sec-code > input {flex: 1 1 0; margin-right: 10px; height: 80px; line-height: 80px; text-align: center;}
.form__row--submit {display: flex !important;}
.form__row--submit button {min-width: auto; white-space: nowrap;    padding: 10px; cursor: pointer;}
.form__btn {width: 220px;}

@media screen and (max-width: 760px) {
	.serv__gap, .form__row--submit {gap: 10px;}
	.form__row {grid-template-columns: minmax(200px,1fr);}
	.form__table, .form__table tr, .form__table td, .form__table tbody {display: block; width: 100%; min-height: 22px; padding: 0 !important;}
	.form__table tr + tr {padding-top: 20px !important;}
	.form__table .addnews {width: 100%; padding: 0 0 10px 0 !important;}
	.form__find-related {position: static; width: 100%; border-radius: 4px;}
	.qq-upload-button {width: 100% !important;}
	.form__btn {width: 100%;}
    .d-flex {flex-wrap
  opacity: 1;: wrap; justify-content: center;}
}
strong, b {
    font-weight: bold;
}

.tab {display: flex; flex-wrap: wrap; margin-top: 15px;}
.tab > input[type="radio"] {display: none;}
.tab-content {display: none;width: 100%;margin-top: 1rem;}
#tab-btn-1:checked~#content-1,
#tab-btn-2:checked~#content-2,
#tab-btn-3:checked~#content-3 {display: block;}
#tab-btn-4:checked~#content-4 {display: block;}
#tab-btn-5:checked~#content-5 {display: block;}
.tab > label {display: block;padding: 0.5rem 1rem;cursor: pointer;transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;text-decoration: none;color: #000;border: 0;border-radius: 0.375rem;background: 0 0;}
.tab > input[type="radio"]:checked + label {cursor: default;color: #000;border: 0.1px solid #7c7c7c;font-weight: 800;}

.os {margin-top: 15px;}

i {font-style: italic}
/* Стили для текстового поля с кнопкой "Далее" */
.limiter {
  max-height: 185px;
  overflow: hidden;
  position: relative;
}
.limiter .bottom {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  transition: 0.3s;
}
.read-more-checker {
  opacity: 0;
  position: absolute;
}
.read-more-checker:checked ~ .limiter {
  max-height: none;
}
.read-more-checker:checked ~ .limiter .bottom {
  opacity: 0;
  transition: 0.3s;
}
.read-more-checker ~ .read-more-button:before {
  content: "Развернуть »";
}
.read-more-checker:checked ~ .read-more-button:before {
  content: "Свернуть «";
}
.read-more-button {
  cursor: pointer;
  display: inline-block;
  color: #777;
  text-decoration: underline;
}