﻿@font-face {
  font-family: 'i-icons';
  src: url('https://forumstatic.ru/files/0016/a4/af/43117.eot?loq6a5');
  src: url('https://forumstatic.ru/files/0016/a4/af/43117.eot?loq6a5#iefix') format('embedded-opentype'),
    url('https://forumstatic.ru/files/0016/a4/af/40708.ttf?loq6a5') format('truetype'),
    url('https://forumstatic.ru/files/0016/a4/af/69410.woff?loq6a5') format('woff'),
    url('https://forumstatic.ru/files/0016/a4/af/35433.svg?loq6a5#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'i-icons' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


* {
  box-sizing: border-box;
  font-family: 'Myriad Pro', sans-serif;
  color: #471720;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #FFF;
}

html {
  scroll-behavior: smooth;
}

header,
section {
  width: 100%
}

header {
  position: relative;
  background: linear-gradient(0deg, #FFF 60%, #fff0be);
  padding: 20px 15%;
  height: 130px;
  z-index: 15;
}

/*

.mContacts header {
    padding: 30px 15%;
} */
/*
.mContacts header .menu a {
    padding: 52px 25px;
} */

.agreementPage header {
  position: absolute;
}



header,
.sectionPoints,
.statRow div,
.section2 {
  box-shadow: 0px 1px 10px 1px #ab966754;
}

.agreementPage .section2,
.catalog .section2,
.mContacts .section2,
.creation .section2 {
  box-shadow: none;
}

.h1-border,
.creation .s2Content table tbody>tr>td:has(.h1-border)>br {
  display: none;
}

.h1-border,
.creation .s2Content table tbody>tr>td:has(.h1-border) {
  padding-top: 0px !important;
}

input {
  max-width: -webkit-fill-available;
  color: #7f1d2f;
  background-color: #fdf6e5;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #fff2d4;
  font-family: verdana;
  border-radius: 5px;
}

input:focus-visible {
  border-color: #fda930;
  outline-color: #fda930 !important;
}

a {
  text-decoration: none;
  color: #471720;
  text-wrap: wrap;
}

a:hover {
  color: #78cb73;
}

input[type=radio],
input[type=checkbox] {
  margin: 10px;
}

a:focus-visible {
  border: 0;
}

header .menu {
  width: 75%;
  font-size: 22px;
}

header .menu a.hCreate {
  color: #fda930;
}

header .menu a.hCreate:hover {
  color: #68bd63;
}

header .menu a {
  padding: 52px 25px;
  transition: 0.2s ease-in-out;
  box-shadow: inset transparent 0px -12px 10px;
  border-bottom: 2px solid transparent;
}

header .menu a:hover {
  color: #68bd63;
  box-shadow: inset #ebdba7 0px -5px 8px !important;
  border-bottom: 2px solid #edb561;
}

.headerMid {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}

.headerMid ul {
  width: 100%;
  padding: 10px 0;
  text-align: right;
}

.headerMid ul li {
  display: inline-block;
  margin-left: 3px;
}


.logo {
  width: 230px;
  height: 90px;
  background: none;
}

h1 {
  color: #7f1d2f;
  padding: 0;
  margin: 0;
}

h2 {
  font-size: 20px;
  margin-bottom: 50px;
}

h4 {
  margin: 0;
  font-size: 24px;
  text-align: center;
  padding-bottom: 15px;
  color: #68bd63;
  border-bottom: 1px dashed #68bd63;
}

h4:before {
  font-family: 'i-icons';
  margin-right: 10px;
}

h4.hStats:before {
  content: '\e92d';
  color: #e57558;
}

h4.hRecent:before {
  content: '\e91f';
  color: #ffbb62;
}

h4.hActive:before {
  content: '\e92b';
  color: #e57558;
}

.section1 {
  background: url('https://forumstatic.ru/files/0016/a4/af/38234.png') no-repeat;
  box-shadow: inset 0px -3px 10px 1px #ab966754;

}

.mainPage .hCreate {
  display: none;
}

.s2Content {
  padding: 60px 20% 60px 35%;
}

.sectionStats {
  padding: 60px 15%;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  background: linear-gradient(to bottom, transparent, #fbedc7);
}

.statRow {
  width: 100%;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-items: flex-start;
}

.statRow div {
  display: inline-block;
  height: 100%;
  border-radius: 5px;
  padding: 40px;
  border: 0px solid #78cb73;
  background: #FFF;
  flex-grow: 1;
}

.statRow div+div {
  margin-left: 40px;
}

.stats {
  background: #fda930;
}

.statRow div p {
  font-size: 18px;
  line-height: 30px;
}

.statRow div a {
  margin-left: 20px;
  color: #7f1d2f;
  text-decoration: underline solid #fbedc7 3px;
  transition: 0.1s ease-in-out 0.1s;
  line-height: 2;
}

.statRow div a:hover {
  color: #68bd63;
  text-decoration: underline solid transparent 3px;
}

.statRow div a:before {
  font-family: 'i-icons';
  content: '\e910';
  position: absolute;
  color: #68bd63;
  margin-left: -25px;
  text-decoration: none;
}

.statRow strong {
  margin-bottom: 10px;
  font-weight: normal;
  color: #fda930;
}

#agreement .sectionMid,
#privacypolicy .sectionMid,
.catalog .sectionMid,
.mContacts .sectionMid,
.creation .sectionMid {
  padding: 60px 20%;
}

.sectionMid {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.mainPage .sectionMid {
  padding: 60px 10%;
}

.sectionPoints {
  width: 40%;
  height: fit-content;
  padding: 15px 20px 15px 40px;
  background: #FFF;
  border-radius: 5px;
}

.sectionPoints ul {
  margin: 0;
  font-size: 27px;
  list-style-type: none;
}

.sectionPoints ul li {
  margin: 25px 0;
  line-height: 1.7;
  color: #471720;
}

.sectionPoints ul li:before {
  content: '»';
  color: #78cb73;
  margin-top: -3px;
  margin-left: -30px;
  position: absolute;
}

.sectionRegister {
  width: 45%;
  color: #7f1d2f;
}

.sectionRegister p {
  font-size: 45px;
  margin: 0;
}

.sectionRegister p img {
  opacity: 0.7;
  object-fit: contain;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  box-shadow: 0px 1px 10px 1px #a19d976b;
  transition: 0.3s ease-in-out 0.1s;
}

.sectionRegister p img:hover {
  opacity: 1;
  border: 1px solid #fda930;
  box-shadow: 0px 1px 20px 1px #d7441ef5;
}

.sectionRegister p.intro {
  margin-bottom: 40px;
}

.sectionRegister p.intro b {
  color: #7f1d2f;
  text-shadow: #ffdfb0 1px 0 0px, #ffdfb0 0 1px 0px, #ffdfb0 -1px 0 0px, #ffdfb0 0 -1px 0px, #e57558 0px 0px 6px;
}

.sectionRegister a {
  background: #7f1d2f;
  border: 1px solid transparent;
  color: #fff;
  text-transform: uppercase;
  padding: 15px 10%;
  border-radius: 15px;
  box-shadow: 0px 1px 10px 1px #a19d9785;
  transition: 0.3s ease-in-out 0.2s;
}

.sectionRegister a:hover {
  color: #fff0be;
  border: 1px solid #fda930;
  background: #8f1b31;
  box-shadow: 0px 1px 20px 1px #d7441ef5;
  text-shadow: 1px 1px 15px #fbedc74a;
  border-radius: 18px;
}




/* нумерация текста */

.agreementPage .section2 ol {
  list-style: none;
  font-size: 16px;
  padding: 0;
  margin: 10px 0;
  text-align: justify;
}

.agreementPage .section2 li {
  margin: 0;
  padding: 0 0 10px 35px;
  position: relative;
  line-height: 25px;
}

.agreementPage .section2 li::before {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  font-weight: bold;
  color: #7f1d2f;
  border-radius: 5px;
  padding-right: 7px;
  border-right: 2px solid #471720;
}

.agreementPage .rNum {
  font-weight: bold;
}

.agreementPage .section2 li b+p {
  margin-bottom: 15px;
}

/* 1-й уровень */
.agreementPage .section2 ol {
  counter-reset: num;
}

.agreementPage .section2 ol>li {
  counter-increment: num;
}

.agreementPage .section2 ol>li::before {
  content: counter(num);
}


.agreementPage .section2 ol ol {
  counter-reset: num2;
}

.agreementPage .section2 ol ol>li {
  counter-increment: num2;
  padding: 0 0 10px 45px;
}

.agreementPage .section2 ol ol>li::before {
  content: counter(num) '.' counter(num2);
}

/* 3-й уровень */
.agreementPage .section2 ol ol ol {
  counter-reset: num3;
}

.agreementPage .section2 ol ol ol>li {
  counter-increment: num3;
  padding: 0 0 10px 60px;
}

.agreementPage .section2 ol ol ol>li::before {
  content: counter(num) '.' counter(num2) '.' counter(num3);
}


.agreementPage .s2Content p {
  line-height: 25px;
  margin-bottom: 40px;
  text-align: justify;
}

.agreementPage .s2Content p>a,
.agreementPage .s2Content ol li>a {
  color: #8f1b31;
}

.agreementPage .s2Content p>a:hover,
.agreementPage .s2Content ol li>a:hover {
  color: #68bd63;
}

.agreementPage .sectionMid,
.catalog .sectionMid,
.mContacts .sectionMid,
.creation .sectionMid {
  justify-content: flex-start;
}

#contents {
  transition: 0.2s ease-in-out;
}

#contents>div {
  padding-top: 130px;
  border: 0px;
  display: none;
  transition: 0.2s ease-in-out;
}

#contents div:target {
  display: block;
  transition: 0.2s ease-in-out 0.5s;
}


#tabs aside {
  position: absolute;
  top: 0px;
  margin-top: 320px;
  width: unset;
  margin-left: 0px;
}

html body #tabs aside#menu.is-sticky {
  position: fixed !important;
  top: 50px;
  margin-top: 0px !important;
}

#tabs #menu a {
  display: block;
  text-align: left;
  padding: 30px;
  font-size: 20px;
  border-right: 1px dashed #ffb75e;
  margin-bottom: 10px;
  transition: 0.2s ease-in-out 0.2s;

}

#tabs #menu a:hover {
  border-right: 1px dashed #68bd63;
}


#tabs #menu a>span {
  color: #ffbb62;
  margin-right: 15px;
  font-size: 25px;
  transition: 0.2s ease-in-out 0.2s;
}

#tabs #menu a:hover>span {
  color: #68bd63;
  margin-left: 8px;
  margin-right: 7px;
}


/* каталожик */

h3 {
  text-align: center;
  color: #78cb73;
  font-size: 20px;
  padding-bottom: 17px;
  margin-top: 0px;
  margin-bottom: 30px;
  position: relative;
  border-bottom: 1px dashed #78cb73;

}

h3:after {
  display: inline-block;
  position: absolute;
  content: '»';
  color: #bbdbb9;
  font-size: 14px;
  transform: rotate(90deg);
  left: 50%;
  margin-top: 50px;
}

.catalog .s2Content,
.creation .s2Content,
.mContacts .s2Content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: stretch;
  padding: 60px 15% 60px;
  background: linear-gradient(to bottom, transparent, #fdf6e5);
}

.creation .s2Content,
.mContacts .s2Content {
  justify-content: center;
}

.mContacts .s2Content {
  background: none;
}

.creation .s2Content table {
  width: unset;
  display: inline-block;
  height: auto;
  border-radius: 5px;
  padding: 0px;
  border: 0px solid #78cb73;
  background: #FFF;
  /*    box-shadow: 0px 1px 10px 1px #ab966754;*/
}


/*
.catalog .s2Content a {
  transition:0.1s ease-in-out 0.2s;
}
*/

#cat-table td a.is_active {
  color: #78cb73;
}

#cat-table td a.is_active:hover {
  color: #fda930;
}

#cat-table td a.is_active:before {
  content: '»';
  color: #78cb73;
  margin-top: -3px;
  margin-right: 10px;
}

.catalog .pageLinks {
  color: #68bd63;
  font-size: 18px;
  margin-top: 20px;
  display: flex;
  width: 100%;
  justify-content: center;
  border-radius: 5px;
  padding: 5px;
  border: 0px solid #78cb73;
  background: #FFF;
  box-shadow: 0px 1px 10px 1px #ab966754;
  flex-grow: 1;
}

.catalog .pageLinks a,
.catalog .pageLinks span {
  display: inline-block;
  border-radius: 5px;
  padding: 10px;
}

.catalog .pageLinks a {
  text-align: center;
  width: 40px;
  background-color: #fdf7e6;
  transition: 0.2s ease-in-out 0.2s;
}

.catalog .pageLinks a:hover {
  color: #fda930;
  background-color: #fffbf1;
  box-shadow: #ebdba7 0px 2px 8px !important;
}

.catalog .pageLinks span.singlepage {
  width: 40px;
  text-align: center;
  color: #7f1d2f;
  font-weight: bold;
  background-color: #fff2d4;
  box-shadow: inset #ebd0a7 0px 2px 8px !important;
}

.catalog .pageLinks span a {
  width: unset;
}

#cat-table1 {
  display: none;
}

.catalog .categories,
.catalog .forumList {
  display: inline-block;
  height: auto;
  border-radius: 5px;
  padding: 20px;
  border: 0px solid #78cb73;
  background: #FFF;
  box-shadow: 0px 1px 10px 1px #ab966754;
  flex-grow: 1;
}

.catalog .categories {
  /*  min-width:260px; */
  width: 20%;
}

.catalog .forumList {
  width: 75%;
  margin-left: 20px;
  font-size: 20px;
}

.catalog .categories #cat-table {
  width: 100%;
}

.catalog .categories #cat-table td {
  font-size: 17px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px dashed #c8e1cf;
}

.catalog .categories #cat-table tr:last-of-type td:last-child {
  border-bottom: 0px;
}

.forumList #cat-table2 tr {
  overflow: hidden;
  position: relative;
  margin: 30px 0;
  padding: 10px 10px 15px;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #fdfffd;
  border-bottom: 1px dashed #c8e1cf;
}

.forumList #cat-table2 td {
  display: inline-block;
}

.forumList #cat-table2 td.incattd1 span {
  text-align: right;
  color: #FFF;
  position: absolute;
  width: 70px;
  padding-right: 10px;
  margin-top: 10px;
  margin-left: -10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(to left, #fda930, #d7441e);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.forumList #cat-table2 td.incattd1 span {
  color: #FFF;
  z-index: 16
}

.forumList .incattd1 img {
  position: absolute;
  width: 180px;
  top: 0;
  margin-left: 35px;
  z-index: 15;
  border: 2px solid #e97527;
  border-radius: 5px;
  /*  border-style: solid;
  border-image: linear-gradient(to bottom, #ef842a, #a6b1a9 40%) 1 1 50%;*/
}

.forumList #cat-table2 td.incattd1:before {
  content: '.';
  font-size: 0px !important;
  width: 60px;
  height: 55px;
  display: block;
  position: absolute;
  margin-left: 5px;
  margin-top: -3px;
  margin-left: -2px;
  background-color: #fff;
  clip-path: polygon(50% 48%, 0 0, 0 100%);
  /*  clip-path: polygon(100% 0, 0 0, 100% 100%); */
  z-index: 15;
}

.forumList #cat-table2 td.incattd2 {
  width: 100%;
  padding: 10px 20px 10px 235px;
  margin-bottom: 40px;
  background: linear-gradient(to left, transparent, #fdf6e5);
  border-top: 2px solid #fff2d4;
  border-bottom: 1px solid #fff2d4;
  transition: 0.2s ease-in-out 0.2s;
}

.forumList #cat-table2 td.incattd2 a {
  color: #7f1d2f;
  text-transform: uppercase;
  transition: 0.2s ease-in-out 0.1s;
}

.forumList #cat-table2 td.incattd2 a:hover {
  color: #e97527;
}

.forumList #cat-table2 td.incattd2:hover {
  border-top: 2px solid #e97527;
}

.forumList #cat-table2 td.incattd3,
.forumList #cat-table2 td.incattd4,
.forumList #cat-table2 td.incattd5,
.forumList #cat-table2 td.incattd6 {
  color: #a6b1a9;
  font-size: 11px;
}

.forumList #cat-table2 td.incattd3 {
  padding-left: 235px;
}

.forumList #cat-table2 td.incattd3 span,
.forumList #cat-table2 td.incattd4 span,
.forumList #cat-table2 td.incattd5 span,
.forumList #cat-table2 td.incattd6 span {
  color: #a6b1a9;
}

.forumList #cat-table2 td.incattd3:before,
.forumList #cat-table2 td.incattd4:before,
.forumList #cat-table2 td.incattd5:before,
.forumList #cat-table2 td.incattd6:before {
  font-weight: bold;
  margin-right: 10px;
}

.forumList table {
  width: 100%;
}



/* низ */



footer {
  position: relative;
  width: 100%;
  text-align: center;
  bottom: 0;
  padding: 15px;
  color: #471720;
  z-index: 20;
  box-shadow: 0px 1px 10px 1px #a19d976b;
}

footer p {
  margin: 0;
}

.mContacts footer {
  position: fixed;
  bottom: 0;
  z-index: 10;
  background: #FFF;
}

body.mContacts {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

body.mContacts .section2 {
  height: 100%;
  flex-grow: 1;
  /*    background: linear-gradient(to bottom, transparent, #fbedc7);*/
  background: none;
}

.creation .s2Content {
  background: none;
}

body p #is_agree_errors,
body p #board_name_errors,
body p #board_description_errors,
body p #admin_name_errors,
body p #admin_email_errors {
  color: red !important;
}

html body #is_agree_errors,
html body #board_name_errors,
html body #board_description_errors,
html body #admin_name_errors,
html body #admin_email_errors,
html body .error_placeholder,
html body .error_visible,
html body #admin_name_errors {
  color: red !important;
}

form#new select {
  padding: 9px;
  border-color: #68bd63;
  border-radius: 5px;
  background-color: #fff;
}

select#dom {
  margin-left: 15px;
}

select[name="board_catalog"] {
  margin-top: 10px;
}

select:focus-visible {
  border-color: #fda930;
  border-width: 2px;
}

address {
  display: inline-block;
  height: unset;
  flex-grow: 0;
  border-radius: 5px;
  padding: 0px;
  border: 0px solid #78cb73;
  background: #FFF;
  /*    box-shadow: 0px 1px 10px 1px #ab966754;*/
}

address p,
address a {
  font-style: normal !important;
}

address p {
  margin: 10px 0;
}

address p:first-child {
  margin-top: 0;
}

address .iSupport {
  margin-top: 20px;
  padding-top: 20px;
  line-height: 1.6;
  border-top: 1px dashed #68bd63;
}

address .iSupport a {
  display: block;
}

address a,
footer a {
  font-weight: bold;
  color: #7f1d2f;
}

address a:hover,
footer a:hover {
  color: #68bd63;
}

::-webkit-scrollbar {
  width: 4px !important;
  /* for vertical scrollbars */
  height: 4px !important;
  /* for horizontal scrollbars */
  scroll-behavior: smooth;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #78cb73;
  border: 0px solid #fecd1b;
}