body {
  min-height: 100vh;
  font-family: "Arimo", sans-serif;
  color: #000;
}

.small {
  font-size: 100%;
}

header {
  background: #142634;
  color: #ffffff;
  height: 50px;
  left: 0;
  min-width: 100%;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
}

.header {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
}

.lang-menu {
  margin: 0;
  display: flex;
  list-style: none;
  width: 120px;
}

.lang-menu li {
  margin-left: 10px;
}

.lang-menu a {
  text-decoration: none;
  color: #8c97a3;
  padding: 0 5px 0 5px;
}

.lang-menu li.active a {
  color: #007bff;
  background-color: #ffc107;
}

.logo {
  /* margin: 0 auto; */
  margin-left: 15px;
  max-width: 350px;
}

.logo a {
  color: #0057b8;
  font-weight: 900;
  text-decoration: none;
  font-size: 22px;
}

.logo a span {
  color: #ffd800;
  font-weight: 900;
  text-decoration: none;
}

.logo a img {
  width: 40px;
  border-radius: 50%;
}

.support-button:hover {
  color: #fff;
  text-decoration: none;
}

.search-block {
  margin: 0 auto;
  max-width: 100%;
  width: 500px;
  position: relative;
}

.search-block.mobile {
  display: block;
  position: absolute;
  top: 65px;
  width: calc(100% - 70px);
  background: #142634;
  padding: 10px;
  border-radius: 20px;
}

.search-block.mobile #search {
  width: 100%;
}

.search-icon {
  display: none;
  cursor: pointer;
}

.search-icon i {
  font-size: 18px;
}

.search-block .dropdown-menu.autosearch {
  display: block;
  opacity: 0;
  max-height: 440px;
  overflow-y: auto;
  padding-top: 10px;
  padding-bottom: 0px;
  width: 200px;
  top: 38px;
  left: 0px;
  padding: 10px;
  transition: width 0.3s ease;
}

.search-block.mobile .dropdown-menu.autosearch {
  top: 45px;
}

.search-block .dropdown-menu.autosearch.active {
  width: 100%;
}

.search-block .dropdown-menu.autosearch li a {
  display: block;
  width: 100%;
  padding: 7px 0;
}

#search {
  width: 200px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

#search:focus {
  width: 500px;
}

.title_h2 {
  font-size: 22px;
  font-weight: 900;
  color: #000;
  text-align: center;
  text-transform: uppercase;
}

.visitors-text {
  font-size: 14px;
}

.body-pane {
  height: 100%;
  min-height: 100%;
  padding-left: 225px;
  position: relative;
  transition: padding-left 0.2s ease 0s;
  width: 100%;
  transition: all 0.3s ease;
}

.body-pane.small {
  padding-left: 50px;
}

.main-pane {
  background-color: #fff;
  height: 100%;
  position: relative;
  width: 100%;
  padding: 80px 15px;
  min-height: 95vh;
}

.navbar-left {
  background-color: #142634;
  bottom: 0;
  left: 0;
  position: fixed;
  top: 50px;
  transition: left 0.2s ease 0s;
  width: 225px;
  z-index: 9;
  border-top: 1px solid #777;
  transition: all 0.3s ease;
}

.navbar-left.small {
  width: 50px;
}

.navbar-left li i {
  font-size: 17px;
  vertical-align: middle;
}

.navbar-left li span {
  margin-left: 5px;
  vertical-align: middle;
}

.menu-btn {
  padding: 10px 17px;
  border-right: 1px solid #777;
  cursor: pointer;
}

.content {
  margin-top: 50px;
}

.content-box {
  padding: 30px 15px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  transition: all 0.3s linear;
  margin-bottom: 25px;
  min-height: 500px;
}

.content-box:hover {
  box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.15);
}

.title-video {
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.menu {
  color: #fff;
  font-size: 13px;
  padding: 0;
  margin: 0;
}

.menu li {
  list-style-type: none;
  position: relative;
}

.menu a {
  color: #8c97a3;
  text-decoration: none;
  display: block;
  padding: 15px 5px 15px 15px;
  cursor: pointer;
}

.menu a span {
  color: #8c97a3;
}

.menu .active span {
  color: #fff;
}

.menu li:hover {
  background: #28384a;
}

.menu li:hover a,
.menu li:hover span {
  color: #fff;
}

.menu li.active {
  background: #28384a;
}

.menu li.active a {
  color: #fff;
}

.menu li.new span::after {
  content: "NEW";
  background-color: #c97435;
  font-size: 10px;
  text-transform: uppercase;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: "Arial";
  margin-left: 5px;
  color: #ffffff;
  line-height: 1em;
}

@media (max-width: 1051px) {
  .search-block {
    display: none;
  }
  .search-icon {
    display: block;
    margin: 0 10px !important;
  }
}

@media (max-width: 767px) {
  .logo a {
    font-size: 11px !important;
  }

  .lang-menu {
    font-size: 14px;
  }

  .search-block {
    margin: 0 0 0 10px;
    width: 200px;
  }
  #search {
    width: 150px;
    transition: all 0.3s ease;
  }

  #search:focus {
    width: 270px;
  }

  .visitors-text {
    font-size: 12px;
    text-align: center;
  }
}

.right-btn {
  padding: 0;
  margin: 0;
  margin-right: 15px;
  /*margin-left: auto;*/
  display: flex;
  align-items: center;
}

.right-btn li {
  list-style-type: none;
  color: #fff;
  padding: 0 10px;
}

.headerright-btn:last-child {
  border-right: 1px solid #777;
}

/* .right-btn li:hover {
    background-color: #1d303c;
} */

header .support-button {
  border: 0;
  background-color: transparent;
  color: #fff;
  padding: 10px 15px;
}

.support-button i {
  font-size: 21px;
  animation: icon-rotation-anim 10s infinite ease-in-out;
}

.messenger_list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  padding: 0;
}

.messenger_item {
  list-style-type: none;
}

.telegram {
  background-color: #039be5;
  margin-right: 20px;
}

.messenger_link {
  width: 120px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 15px;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 18px;
  padding: 12px 8px;
  display: inline-block;
  transition: all 0.2s linear;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
}

.viber {
  background-color: #675da9;
}

.email i {
  animation: icon-rotation-anim 10s infinite ease-in-out;
}

/* THEME SWITCH */
.theme-switch {
  display: flex;
  align-items: center;
}

.theme-switch__icon {
  color: currentColor;
  height: 16px;
  width: 14px;
  margin-right: 8px;
  margin-left: 8px;
}

.theme-switch__control {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 50px;
  height: 25px;
  border-radius: 50em;
  padding: 3px 0;
}

.theme-switch__toggle {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.theme-switch__track {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  user-select: none;
  background-color: #333;
  border-radius: inherit;
  z-index: 1;
  cursor: pointer;
}

.theme-switch__marker {
  position: relative;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  transform: translateX(3px);
  transition: transform 250ms var(--timing-function);
}

.theme-switch__toggle:checked + .theme-switch__track {
  background-color: #d3d3d4;
}

.theme-switch__toggle:checked ~ .theme-switch__marker {
  transform: translateX(28px);
}

.theme-switch__toggle:focus + .theme-switch__track,
.theme-switch__toggle:active + .theme-switch__track {
  box-shadow: 0 0 0 3px #2196f3;
}

@media (max-width: 767px) {
  .support-header {
    display: none;
  }
  .count-visitors {
    display: none !important;
  }
  .theme-switch {
    display: none;
  }
}

@keyframes icon-rotation-anim {
  0% {
    transform: rotate(0);
  }
  18% {
    transform: rotate(0);
  }
  20% {
    transform: rotate(45deg);
  }
  22% {
    transform: rotate(-45deg);
  }
  24% {
    transform: rotate(45deg);
  }

  26% {
    transform: rotate(0);
  }

  51% {
    transform: scale(1);
  }

  52% {
    transform: scale(1.3);
  }

  53% {
    transform: scale(0.8);
  }

  54% {
    transform: scale(1.3);
  }

  55% {
    transform: scale(1);
  }

  58% {
    transform: scale(1.3);
  }

  59% {
    transform: scale(0.8);
  }

  60% {
    transform: scale(1.3);
  }

  61% {
    transform: scale(1);
  }

  78% {
    transform: rotate(0);
  }
  80% {
    transform: rotate(45deg);
  }
  82% {
    transform: rotate(-45deg);
  }

  84% {
    transform: rotate(45deg);
  }

  86% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(0);
  }
}
