body {
  font-size: 0.8em;
  line-height: 20px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  margin: 0 auto;
  width: 100%;
  height: 100%;

  /* background-color: #000000;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%2324AD09' stroke-width='1'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='%231E5812'%3E%3Ccircle cx='769' cy='229' r='5'/%3E%3Ccircle cx='539' cy='269' r='5'/%3E%3Ccircle cx='603' cy='493' r='5'/%3E%3Ccircle cx='731' cy='737' r='5'/%3E%3Ccircle cx='520' cy='660' r='5'/%3E%3Ccircle cx='309' cy='538' r='5'/%3E%3Ccircle cx='295' cy='764' r='5'/%3E%3Ccircle cx='40' cy='599' r='5'/%3E%3Ccircle cx='102' cy='382' r='5'/%3E%3Ccircle cx='127' cy='80' r='5'/%3E%3Ccircle cx='370' cy='105' r='5'/%3E%3Ccircle cx='578' cy='42' r='5'/%3E%3Ccircle cx='237' cy='261' r='5'/%3E%3Ccircle cx='390' cy='382' r='5'/%3E%3C/g%3E%3C/svg%3E"); */
  /* background: url('99px_ru_wallpaper_6970_zelenaja_abstrakcija_pohojaja_na_siluet_planeti.jpg');
background-position: center; */
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
  width: 100%;
}

a {
  color: #018bc1;
  text-decoration: none;
}

a:hover {
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}

h5 {
  font-size: 19px;
  line-height: 20px;
  margin: 20px 0;
}

h6 {
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

.btn2 {
  background: transparent;
  border: 1px solid #ffffff;
  padding: 4px 15px;
  font-size: 16px;
  color: #ffffff;
  border-radius: 8px;
}

.inputTB {
  background: transparent;
  border: 1px solid #335c34;
  height: 25px;
  border-radius: 4px;
}

menu {
  margin: 0 !important;
  padding: 0 !important;
  height: 100%;
}

nav {
  height: 100%;
  padding-left: 15px !important;
}

select,
input[type="number"] {
  font-size: 16px;
  padding: 4px 10px;
  border: 1px solid #335c35;
  background: #335c35;
  color: #fff;
  border-radius: 6px;
  max-height: 30px;
  margin: 0 10px;
  margin-bottom: 10px;
}

input[type="submit"] {
  background: transparent;
  border: 1px solid #335c35;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 16px;
  color: #335c35;
}

input[type="submit"]:hover {
  background: #335c35;
  color: #fff;
}

.white {
  color: #fff;
}

.green {
  color: #335c34;
}

.vyhod__link {
  margin-left: 25px;
  border: 1px solid #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.button-pa {
  background: transparent !important;
  border-radius: 4px;
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #fff;
  font-size: 14px;
}

.button-pa:hover {
  background-color: #2d422d;
}

.menu-row {
  width: 100%;
  /* background: url(/style/menu-row-tail.gif) center top repeat-x #178fbe; */
  min-height: 52px;
  background: #335c34;
}

.menu-bg {
  width: 100%;
  /* background: url(/style/box-tail.gif) repeat-x scroll 0px 0px #1896C1; */
  /* box-shadow: 0px 0px 4px; */
  height: 100%;
}

.main-menu {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.indent-left {
  padding-left: 0px;
}

.menu {
  padding: 0px;
  /* background: url(/style/menu-spacer.gif) left top no-repeat; */
  height: 100%;
  margin: 0 !important;
}

.wrapper {
  width: 100%;
  position: relative;
}

.menu li {
  list-style-type: none;
  float: left;
  position: relative;
  /* background: url(/style/menu-spacer.gif) right top no-repeat; */
  padding-right: 2px;
  border-bottom: 0px solid;
  transition: all 0.1s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -moz-transition: all 0.1s;
  -ms-transition: all 0.3s;
  height: 100%;
  margin-right: 15px;
}

.menu li a {
  display: block;
  font-size: 16px;
  line-height: 3em;

  padding-top: 0px !important;
  text-align: center;
  color: #fff;
  letter-spacing: 0px;
  height: 100%;
  padding: 0 10px;
  /* text-shadow: 0px -1px 2px #424242; */
  /* filter: dropshadow(color=#e5e5ee,offX=0,offY=1); */
}

.menu li a:hover {
  background-color: #2d422d;
}

#text {
  margin: 0 280px 0 20px;
}

#text p {
  padding: 10px;
  border: 1px solid #d7d7d7;
  background-color: #f5f5f5;
}

#sidebar {
  float: right;
  width: 274px;
  padding: 0px 47px 0px 10px;
}

h1 {
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 1.8em;
  color: #000;
}

#main {
  min-height: 300px;
  width: 1100px;
  float: left;
  background: url(sidebar_bckg.gif) repeat-y top right #fff;
  padding: 20px 0px 20px 0px;
  margin-bottom: 5px;
}

#main2 {
  min-height: 300px;
  width: 100%;
  background: #fff;
  margin-bottom: 5px;
  background: #e5e9e5;
}

.wrapper-library {
  float: left;
  min-height: 300px;
  width: 1100px;
  margin-bottom: 5px;
  background: url(library-sidebar.gif) repeat-y top left #fff;
  white-space: normal;
  line-height: normal;
  font-weight: normal;
  font-size: medium;
}

.sidebar-library {
  width: 200px;
  float: left;
}

.main-library {
  padding: 7px;
  width: 840px;
  float: right;
}

.footer {
  background: #fff;
  height: 70px;
  clear: both;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#left_footer {
  font-family: Verdana;
  float: left;
  padding: 16px;
  color: #000;
  font-size: 13px;
}

#left_footer a {
  color: #000;
}

#main {
  min-height: 300px;
  width: 1100px;
  float: left;
  background: url(sidebar_bckg.gif) repeat-y top right #fff;
  padding: 20px 0px 20px 0px;
  margin-bottom: 5px;
}

#left_footer a:hover {
  text-decoration: none;
}

#right_footer {
  font-family: Verdana;
  float: right;
  padding: 16px;
  color: #000;
  font-size: 13px;
}

#right_footer a {
  color: #000;
}

#right_footer a:hover {
  text-decoration: none;
}

#img-img-img {
  padding: 10px 0;
  color: black;
}

#img-img-img img {
  border: 1px solid black;
}

#orange {
  background-color: orange;
  padding: 5px;
  color: #fff;
}

#green {
  background-color: green;
  padding: 5px;
  color: #fff;
}

table.bb td {
  padding: 5px;
}

#scrollup {
  position: fixed;
  /* фиксированная позиция */
  opacity: 0.8;
  /* прозрачность */
  padding: 15px 10px 10px;
  /* отступы */
  background: #aaa;
  border-radius: 5px;
  /* скругление углов */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  left: 10px;
  /* отступ слева */
  bottom: 10px;
  /* отступ снизу */
  display: none;
  /* спрятать блок */
  cursor: pointer;
}

#back-link {
  position: fixed;
  /* фиксированная позиция */
  opacity: 0.8;
  /* прозрачность */
  padding: 15px 10px 10px;
  /* отступы */
  background: #aaa;
  border-radius: 5px;
  /* скругление углов */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  left: 10px;
  /* отступ слева */
  top: 10px;
  /* отступ снизу */
  cursor: pointer;
}

#back-link:hover {
  position: fixed;
  /* фиксированная позиция */
  opacity: 0.5;
  /* прозрачность */
  padding: 15px 10px 10px;
  /* отступы */
  background: #aaa;
  border-radius: 5px;
  /* скругление углов */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  left: 10px;
  /* отступ слева */
  top: 10px;
  /* отступ снизу */
  cursor: pointer;
}

div.button-right {
  cursor: pointer;
  position: fixed;
  right: 1px;
  top: 340px;
  background: url(/style/button-right.jpg);
  height: 200px;
  width: 21px;
  transition: all 0.5s;
  box-shadow: 0px 0px 5px 1px #000000;
}

div.button-right:hover {
  width: 26px;
  transition: all 0.5s;
}

div .vk-left {
  position: fixed;
  left: 1px;
  top: 280px;
  height: 420px;
  width: 120px;
  box-shadow: 0px 0px 5px 1px #000000;
}

table #bottom td {
  border-bottom: 1px solid silver;
  vertical-align: top;
}

.last_match .label {
  padding: 0.2em 0.4em 0.2em !important;
  font-size: 65% !important;
  border-radius: 0.45em !important;
}

.label_win {
  background-color: #5cb85c;
}

.label_lost {
  background-color: #d9534f;
}

.label_drow {
  background-color: #f0ad4e;
}

.label_next {
  background-color: silver;
}

.cursor-pointer {
  cursor: pointer;
}

.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

#match {
  display: inline-block;
  /* Строчно-блочный элемент */
  position: relative;
  /* Относительное позиционирование */
}

#match:hover::after {
  content: attr(data-title);
  /* Выводим текст */
  position: absolute;
  /* Абсолютное позиционирование */
  left: 10px;
  bottom: 13px;
  /* Положение подсказки */
  z-index: 1;
  /* Отображаем подсказку поверх других элементов */
  background: blue;
  /* Полупрозрачный цвет фона */
  opacity: 0.5;
  font-family: Arial, sans-serif;
  /* Гарнитура шрифта */
  font-size: 11px;
  /* Размер текста подсказки */
  padding: 5px 7px;
  /* Поля */
  border: 1px solid #333;
  /* Параметры рамки */
}

.tabs__caption {
  height: 28px;
  line-height: 25px;
  list-style: none;
  border-bottom: 1px solid #ddd;
  background: #fff;
  padding-left: 2px;
}

.tabs__caption li {
  float: right;
  display: inline;
  margin: 0 1px -1px 0;
  padding: 0 13px 1px;
  color: #777;
  cursor: pointer;
  background: #f9f9f9;
  border: 1px solid #e4e4e4;
  border-bottom: 1px solid #f9f9f9;
  position: relative;
}

.tabs__caption li:hover,
.vertical .tabs__caption li:hover {
  color: #f70;
  padding: 0 13px;
  background: #ffffdf;
  border: 1px solid #ffca95;
}

.tabs__caption .active {
  color: #444;
  background: #efefef;
  padding: 0 13px 2px;
  border: 1px solid #d4d4d4;
  border-bottom: 1px solid #efefef;
}

.tabs__content {
  display: none;
}

.tabs__content.active {
  display: block;
}

.d-flex {
  display: flex;
}

.jcc {
  justify-content: center;
}

.pg {
  padding: 2px 10px;
}

.pg a,
span.p {
  font-size: 13px;
  padding: 6px;
  margin-right: 2px;
  border-radius: 3px;
}

.pg span.p {
  color: #555;
  font-weight: bold;
}

.pg a:hover {
  background-color: orange;
  color: #fff;
  text-decoration: none;
}

.pg .points {
  margin: 0 2px;
  color: #777;
}

.container {
  padding: 0 32px;
  margin: 0 auto;
}

.cards {
  padding: 40px 0;
  margin-top: 85px;
}

.cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  grid-gap: 64px 32px;
  gap: 64px 32px;
  margin-bottom: 70px;
}

.card {
  --dark-gray: #484c56;
  --light-gray: #9ca9b9;
  --orange: #cc5a53;
  --white: #f6f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  background: var(--white);
  transition: 0.24s;
  background-color: #f5f5f594;
  min-height: 450px;
  border: 2px solid #335c35;
}

.card:hover {
  transform: scale(1.04);
}

.card_sibling {
  transform: scale(0.96);
  opacity: 0.8;
  -webkit-filter: grayscale(64%);
  filter: grayscale(64%);
}

.card__image {
  width: calc(100% - 200px);
  border-radius: 8px;
  /* overflow: hidden; */
  margin-top: -50px;
  max-height: 340px;
}

.card__image-sm {
  margin-top: -92px;
}

.card__image img {
  display: block;
  width: 100%;
  height: 100%;
}

.card__body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

.card__category {
  font-size: 12px;
  line-height: 1.333333333333333;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--orange);
}

.card__grow {
  flex: 1;
  margin-bottom: 32px;
}

.card__title {
  line-height: 1.333333333333333;
  margin-bottom: 12px;
}

.card__title p {
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: #000;
  font-family: "Lora", serif;
  transition: 0.24s;
}

.card__title p:hover {
  color: var(--orange);
}

.card__text {
  font-size: 14px;
  line-height: 1.428571428571429;
  font-weight: 300;
  color: var(--dark-gray);
}

.card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-author {
  display: flex;
  align-items: center;
}

.card-author__avatar {
  margin-right: 8px;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  overflow: hidden;
}

.card-author__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.card-author__name {
  font-size: 14px;
  color: var(--light-gray);
}

.card-time {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.428571428571429;
  color: var(--light-gray);
}

.card-time__icon {
  margin-right: 8px;
}

.card-time__icon svg.icon {
  width: 20px;
  height: 20px;
  fill: var(--light-gray);
}

.color_table,
.margin-0 {
  margin: 0 auto;
}

.d-block {
  display: block;
}

.ml-1 {
  margin-left: 20px;
}

.soc__icon a {
  font-size: 16px;
  color: #335c35;
  text-align: center;
  flex: 30%;
  margin-bottom: 30px;
}

.soc__icon a i {
  display: block;
  font-size: 40px;
  margin-bottom: 15px;
}

.soc__icon {
  display: flex;
  margin-bottom: 70px;
  justify-content: center;
  flex-wrap: wrap;
}

.soc__icon a:hover {
  color: #e6e95d;
}

.link__instruction {
  color: #335c35;
  font-size: 36px;
  border: 2px solid #335c35;
  padding: 15px 30px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.link__instruction:hover {
  color: #fff;
  background-color: #335c35;
}

.burger,
.burger2 {
  display: none;
  font-size: 36px;
  color: #fff;
  margin-left: 15px;
  margin-top: 8px;
}

nav.indent-left.active {
  left: 0;
}

.form__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container__table {
  width: 100%;
  overflow: scroll;
}

.form__sort {
  display: flex;
}

.form__sort input {
  max-height: 30px;
}

.fa-solid,
.fas {}

.hr {
  display: none;
}

.panel__wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.panel__link {
  border: 3px solid #335c34;
  padding: 5px 15px;
  margin: 30px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  width: 290px;
}

.panel__wrap a {
  text-decoration: none;
  color: #335c34;
  font-size: 20px;
  font-weight: 600;
}

.panel__wrap i {
  margin-bottom: 30px;

  font-size: 48px;
  color: #335c34;
}

@media (max-width: 1366px) {
  .cards__grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }

  .card {
    min-height: 330px;
  }

  .form__date {
    flex-direction: column;
    flex: 100%;
    align-items: center;
  }

  .hr {
    display: none;
  }

  .form__left {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  .cards__grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 120px 70px;
  }

  .main-menu {
    position: relative;
    justify-content: end;
    min-height: 58px;
  }

  nav.indent-left {
    position: absolute;
    height: 100vh;
    display: flex;
    left: -200%;
    width: 100%;
    background: #335c35;
    /* z-index: 100; */
    color: #fff;
    flex-direction: column;
    top: 60px;
  }

  .menu {
    margin-top: 80px !important;
  }

  .menu li {
    float: none;
    display: block;
    height: auto;
    margin-top: 30px;
    border-bottom: 1px solid #fff;
    transition: 0.5s ease all;
  }

  .menu li a {
    font-size: 20px;
    line-height: 28px;
    padding: 20px 10px;
  }

  .burger {
    display: block;
    position: absolute;
    top: 3px;
    left: 0px;
    z-index: 10;
  }

  .fa-bars {}
}

@media (max-width: 778px) {
  .cards__grid {
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    gap: 80px 30px;
  }

  .soc__icon a {
    flex: 50%;
  }

  .card__title p {
    font-size: 26px;
  }

  .card__text {
    font-size: 20px;
  }

  .card__body {
    margin-top: 270px;
  }
}

@media (max-width: 692px) {
  .card__body {
    margin-top: 215px;
  }

  .link__instruction {
    font-size: 26px;
    line-height: 30px;
    text-align: center;
  }

  .form__sort {
    flex-direction: column;
  }
}

@media (max-width: 648px) {
  .card__body {
    margin-top: 160px;
  }

  .wrap__form {
    flex-direction: column;
  }

  .form__left {
    align-items: center;
    margin-bottom: 35px;
  }
}

@media (max-width: 598px) {
  .card__body {
    margin-top: 100px;
  }
}

@media (max-width: 570px) {
  .wrap__form {
    flex-direction: column;
  }

  .left {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form__left {
    align-items: center;
    margin-bottom: 35px;
  }
}

@media (max-width: 480px) {
  .card__body {
    margin-top: 20px;
  }
}

@media (max-width: 340px) {

  select,
  input[type="number"] {
    font-size: 13px;
    padding: 4px 10px;
    border: 1px solid #335c35;
    background: #335c35;
    color: #fff;
    border-radius: 6px;
    margin: 0 7px;
    margin-bottom: 10px;
  }
}