:focus {
  outline: none;
}

:root {
  --primary-color: red;
  --secondary-color: #fff;
  --ternary-color: rgba(255, 255, 255, 0.52);
  --active-color: #ffd72f;
  --primary-bg-color: #005aad;
  --border-color: #d3d3d3;
}

/* Typography */
/*
@font-face {
  font-family: eUkraine;
  src: local("e-Ukraine"),
    url("../fonts/e-Ukraine/e-Ukraine-Regular.otf") format("opentype");
}

@font-face {
  font-family: eUkraine;
  font-weight: 300;
  src: url(../fonts/e-Ukraine/e-Ukraine-Light.otf);
}

@font-face {
  font-family: eUkraine;
  font-weight: 700;
  src: url(../fonts/e-Ukraine/e-Ukraine-Bold.otf);
}
*/
@font-face {
  font-family: eUkraineHead;
  src: url(../fonts/e-UkraineHead/e-UkraineHead-Regular.otf);
}

@font-face {
  font-family: eUkraineHead;
  src: url(../fonts/e-UkraineHead/e-UkraineHead-Bold.otf);
  font-weight: 700;
}

@font-face {
  font-family: eUkraine;
  src: url(../fonts/e-Ukraine/e-Ukraine-Light.eot);
  src: url(../fonts/e-Ukraine/e-Ukraine-Light.eot?#iefix)
      format("embedded-opentype"),
    url(../fonts/e-Ukraine/e-Ukraine-Light.woff2) format("woff2"),
    url(../fonts/e-Ukraine/e-Ukraine-Light.woff) format("woff"),
    url(../fonts/e-Ukraine/e-Ukraine-Light.ttf) format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: eUkraine;
  src: url(../fonts/e-Ukraine/e-Ukraine-Regular.eot);
  src: url(../fonts/e-Ukraine/e-Ukraine-Regular.eot?#iefix)
      format("embedded-opentype"),
    url(../fonts/e-Ukraine/e-Ukraine-Regular.woff2) format("woff2"),
    url(../fonts/e-Ukraine/e-Ukraine-Regular.woff) format("woff"),
    url(../fonts/e-Ukraine/e-Ukraine-Regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: eUkraine;
  src: url(e-Ukraine-Medium.eot);
  src: url(../fonts/e-Ukraine/e-Ukraine-Medium.eot?#iefix)
      format("embedded-opentype"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.woff2) format("woff2"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.woff) format("woff"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: eUkraine;
  src: url(../fonts/e-Ukraine/e-Ukraine-Medium.eot);
  src: url(../fonts/e-Ukraine/e-Ukraine-Medium.eot?#iefix)
      format("embedded-opentype"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.woff2) format("woff2"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.woff) format("woff"),
    url(../fonts/e-Ukraine/e-Ukraine-Medium.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

a {
  transition: 0.5s;
  color: var(--primary-bg-color);
}

a:hover {
  color: var(--active-color);
}

/* Layout*/
html {
  font-size: 62.5%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: eUkraine;
  justify-content: space-between;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

header {
  background-color: var(--primary-bg-color);
  color: var(--secondary-color);
  flex-basis: 93px;
  padding: 20px;
  position: relative;
  z-index: 11;
}

footer {
  background-color: var(--primary-bg-color);
  color: var(--secondary-color);
  /*flex-basis: 218px;*/
}

main {
  flex-grow: 1;
}

.relative {
  position: relative;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.button {
  color: #333;
  background: var(--active-color) url(/images/arrow.svg) no-repeat 95% center;
  display: inline-block;
  text-decoration: none;
  font-size: 1.4rem;
  padding: 5px 40px 5px 20px;
  transition: 0.8s;
}

.button:hover,
.button:focus,
.button:hover:focus {
  color: #fff;
  background: var(--primary-bg-color) url(/images/arrow-w.svg) no-repeat 95%
    center;
}

h2 {
  font-size: 2.6rem;
  font-family: eUkraineHead;
  border-left: solid 5px var(--active-color);
  padding-left: 20px;
}

/* Outer menu */

.swiper.outer-menu {
  height: 16px;
  margin-bottom: 4px;
}

.outer-menu > div {
  margin: 0;
  padding: 0;
  list-style: none;
}

.outer-menu .swiper-slide {
  margin: 0 6px;
  width: auto;
  cursor: pointer;
}

.outer-menu .swiper-slide.active-link {
  cursor: default;
}

.outer-menu .swiper-slide a {
  font-size: 1rem;
  color: var(--ternary-color);
  text-decoration: none;
  font-weight: 300;
  transition: 0.1s;
}

.outer-menu .swiper-slide a:hover,
.outer-menu .swiper-slide.active-link a {
  color: var(--active-color);
  border-bottom: solid 1px var(--active-color);
  padding-bottom: 2px;
}

.outer-menu .swiper-slide.active-link a {
  pointer-events: none;
}

.outer-menu .swiper-slide.active-link a {
  pointer-events: none;
}

/* Header main */
header .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  margin-top: 20px;
}

.page-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.page-title .left-item {
  width: 70%;
}

.page-title .right-item {
  width: 27%;
}

/* Left menu */
.menu-toggler {
  position: static;
}

.left-menu .second-level-menu {
  top: 99px;
  width: 100%;
}

.left-menu .second-level-menu .menu-all > ul {
  border-right: 0 none;
}

.left-menu .second-level-menu .secondary-menu li {
  padding-left: 10px;
  width: 100%;
  padding: 5px 30px 10px 50px;
}

.menu-toggler {
  background-image: url(/images/menu.svg);
  background-repeat: no-repeat;
  background-position: left 2px;
  padding-left: 30px;
  height: 25px;
  display: block;
  transition: 0.5s;
  position: relative;
  background-size: 20px;
  cursor: pointer;
}

.menu-toggler.cross {
  background-image: url(/images/cross.svg);
  background-size: 20px;
  background-position: left center;
}

.menu-toggler span {
  font-family: eUkraineHead;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.menu-toggler input {
  display: none;
}

.shadow::after {
  content: " ";
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 1;
  top: 0;
  left: 0;
}

.left-menu .second-level-menu {
  display: none;
  margin: 0;
  background-color: var(--primary-bg-color);
  border-radius: 0;
  padding: 0;
  color: white;
  position: absolute;
  left: 0;
  top: 60px;
  width: 1180px;
  z-index: 10000;
  justify-content: space-between;
}

.left-menu .second-level-menu .menu-all > ul {
  list-style: none;
  padding: 30px 30px 30px 0;
  margin: 0;
  border-right: solid 1px rgba(255, 255, 255, 0.5);
}

.left-menu .second-level-menu > ul {
  width: 350px;
}

.left-menu .second-level-menu ul li {
  padding: 10px 30px 10px 50px;
  list-style: none;
}

.left-menu .second-level-menu .secondary-menu li {
  padding-right: 0;
}

.left-menu .second-level-menu .secondary-menu li > a {
  padding-right: 20px;
  display: block;
  font-size: 1.3rem;
  font-weight: 300;
}

.left-menu .second-level-menu .menu-all > ul > li {
  padding-left: 30px;
}

.left-menu .second-level-menu a {
  font-size: 1.4rem;
  text-decoration: none;
  color: white;
}

.left-menu .second-level-menu .menu-all > ul > li > a {
  font-weight: 500;
}

.left-menu .second-level-menu > li > a.maintainHover,
.left-menu .second-level-menu li:hover > a,
.left-menu .second-level-menu .menu-all > ul > li.active > a {
  color: var(--active-color);
}

.left-menu .second-level-menu .menu-all > ul > li.active,
.left-menu .second-level-menu .menu-all > ul > li:hover {
  border-left: solid 4px var(--active-color);
  padding-left: 26px;
}

.left-menu input:checked + span + .second-level-menu {
  display: flex;
}

.left-menu .second-level-menu .menu-all > ul.primary-menu {
  padding-right: 0;
}

.secondary-menu {
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
}

.left-menu .second-level-menu .secondary-menu li {
  padding-left: 0;
  position: relative;
}

.desktop_submenu {
  flex-basis: 65%;
  padding-left: 20px;
}

.top-menu-item > .plus {
  display: none;
}

.secondary-menu .level3 {
  margin: 10px 20px 0;
  padding: 0;
}

.left-menu .second-level-menu ul li .level3 li {
  list-style: circle;
}

.left-menu .second-level-menu ul li .level3 li a {
  font-size: 1.3rem;
}

.mobile_submenu {
  display: none;
}

/* Logo wrapper */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.slogan-wrapper {
  border-right: solid 1px #fff;
  width: 100px;
  text-align: right;
  padding-right: 14px;
  margin-right: 15px;
}

.slogan-wrapper > span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background-color: #fff;
  color: var(--primary-bg-color);
  padding: 1px 3px;
  line-height: 20px;
  margin-bottom: 3px;
}

/* Action menu */
.actions-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.actions-wrapper li {
  padding: 7px 4px;
  display: inline-block;
  vertical-align: middle;
}

.langs-switcher {
  margin-right: 20px;
}

.langs-switcher a {
  color: var(--secondary-color);
  font-weight: 300;
  font-size: 15px;
  vertical-align: middle;
  text-decoration: none;
}

.langs-switcher a:first-child {
  margin-right: 5px;
  padding-right: 5px;
  border-right: solid 1px #fff;
}

.langs-switcher a:hover,
.langs-switcher a.active {
  color: var(--active-color);
}

.langs-switcher a.active {
  pointer-events: none;
}

.action-icon {
  width: 24px;
  height: 24px;
  display: block;
  position: relative;
}

.action-icon path,
.action-icon svg {
  transition: 0.5s;
}

.action-icon:hover svg {
  transform: scale(1.2);
}

.action-icon:hover path {
  fill: var(--active-color);
}

.icon-view svg {
  position: relative;
  top: 2px;
}

/* Main */
.first-page {
  height: 470px;
  overflow: visible;
  margin: 20px 0;
  position: relative;
  z-index: 9;
}

first-page .container {
  position: relative;
}

.main-pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.first-page .mask {
  height: 430px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.first-page h1 {
  color: var(--secondary-color);
  font-size: 6.7rem;
  font-weight: 700;
  margin-top: 0;
  padding-top: 200px;
  margin-bottom: 30px;
}

.first-page h1 span {
  display: block;
  font-size: 2.6rem;
}

.first-page .search-form {
  margin: 30px auto 0;
  width: 100%;
  text-align: center;
}

.search-form {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.search-form input {
  background: #fff url(/images/search.png) no-repeat 15px center;
  height: 50px;
  border: 0 none;
  font-size: 1.8rem;
  width: 60%;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 50px;
  padding-right: 20px;
  flex-grow: 1;
  border: 1px solid var(--primary-bg-color);
  border-right: 0;
  border-radius: 0;
}

.search-form input:focus,
.search-form input:focus-visible {
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.search-form button {
  background-color: #ffd72f;
  color: #333;
  border: 1px solid #ffd72f;
  border-radius: 0;
  position: relative;
  left: 0px;
  top: 0px;
  height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
  font-size: 1.8rem;
  transition: 0.3s;
}

.first-page .search-form button {
  height: 50px;
}

.search-form button:focus,
.search-form button:hover,
.search-form button:focus:hover {
  border-color: var(--primary-bg-color);
  background-color: var(--primary-bg-color);
  color: #fff;
  outline: solid 1px #fff;
}

/*Tabs*/

.tabs-content {
  display: none;
}

.tabs-content.active {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 20px;
  border: solid 1px #d3d3d3;
  margin-top: -1px;
}

.tabs-caption {
  display: flex;
  padding: 0;
  margin-bottom: 0;
}

.tabs-caption li {
  padding: 20px;
  font-size: 1.8rem;
  font-weight: 300;
  color: #333;
  list-style: none;
  width: fit-content;
  cursor: pointer;
  border-bottom: solid 1px #d3d3d3;
  max-width: 25%;
  background-color: #fff;
  height: auto;
}

.tabs-caption li.active {
  border: solid 1px #d3d3d3;
  border-bottom: solid 1px #fff;
  position: relative;
  top: 1px;
  border-bottom: solid 1px transparent;
}

.one-item {
  padding: 20px;
  border: solid 1px #d3d3d3;
  transition: 0.8s;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.one-item p {
  font-size: 1.3rem;
  line-height: 2.6rem;
  font-weight: 300;
  color: #333;
  margin-top: 0;
}

.one-item:hover {
  border-color: var(--primary-bg-color);
}

.one-item:hover p {
  color: var(--primary-bg-color);
}

.one-item .button {
  padding-top: 10px;
  padding-bottom: 10px;
}

.one-item:hover .button {
  color: #fff;
  background: var(--primary-bg-color) url(/images/arrow-w.svg) no-repeat 95%
    center;
}

.grey-tabs .tabs-content {
  background-color: #f9f9f9;
}

.grey-tabs .tabs-caption li.active {
  background-color: #f9f9f9;
  border-bottom: solid 1px #f9f9f9;
}

/* Footer */
footer {
  padding: 50px 0;
  font-size: 1.2rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-row-wrapper {
  display: flex;
  gap: 20px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.brand-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.license-wrapper {
  border-top: solid 1px #fff;
  padding: 20px;
  text-align: center;
}

.social-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.license-wrapper a,
.address-wrapper a {
  font-weight: 700;
}

footer a:hover {
  color: var(--active-color);
}

footer .action-icon {
  width: auto;
  height: auto;
}

.brand-wrapper svg {
  margin-bottom: 20px;
}

.brand-wrapper path,
.brand-wrapper svg {
  transition: 0.5s;
}

.brand-wrapper:hover path {
  fill: var(--active-color);
}

.brand-wrapper:hover svg {
  transform: scale(1.2);
}

/*Main Header block*/
.main-header-content {
  position: relative;
  z-index: 1;
}

/*Sections*/
.most-read-box {
  padding-top: 10px;
  padding-bottom: 30px;
}

.most-read-box.first {
  padding-top: 30px;
}

main section:last-child {
  padding-bottom: 95px;
}

.sections-wrapper {
  display: grid;
  grid-template-columns: auto auto;
  gap: 20px;
}

.one-section {
  border: solid 1px #d3d3d3;
  color: #333;
  text-decoration: none;
  display: flex;
  gap: 20px;
  padding: 20px;
}

.one-section > div:first-child {
  display: flex;
}

.one-section img {
  width: auto;
  width: 70px;
}

.one-section:hover {
  background-color: rgba(255, 215, 47, 0.06);
  color: var(--primary-bg-color);
  border-color: var(--primary-bg-color);
}

.one-section h3 {
  font-family: eUkraineHead;
  font-size: 2rem;
}

.one-section p {
  font-size: 1.4rem;
  font-weight: 300;
}

.one-section .text-wrapper {
  border-left: solid 1px var(--active-color);
  padding-left: 20px;
}

.one-section .text-wrapper .visual-editor-content {
  text-align: left;
}

.simple-page h1,
.content-page h1 {
  font-family: eUkraineHead;
  font-size: 2.6rem;
  line-height: 3.9rem;
  color: var(--primary-bg-color);
  margin-bottom: 50px;
}

.content-page h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  padding-right: 30px;
}

.simple-page .content-wrapper {
  display: grid;
  grid-template-columns: 70% 30%;
}

.list-box {
  padding-right: 30px;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
}

.navigation-box {
  padding-left: 30px;
  max-width: 500px;
}

.help-link,
.teme-link {
  border: solid 1px var(--primary-bg-color);
  padding: 11px 15px;
  background-color: rgba(32, 42, 120, 0.04);
  color: #333;
  text-decoration: none;
  display: block;
  font-size: 1.2rem;
}

.help-link.mobile-only {
  margin-top: 30px;
}

.teme-link {
  background-color: rgba(255, 230, 125, 0.42);
  border-color: #ffd72f;
  display: inline-block;
  margin: 20px auto;
  padding: 15px 30px;
  font-size: 1.4rem;
}

.align-center {
  text-align: center;
}

/* .help-link:hover,
.teme-link:hover {
  border-color: white;
  color: var(--primary-bg-color);
  background-color: transparent;
} */

.navigation-box h2 {
  font-size: 2rem;
  font-weight: 400;
}

.one-category {
  border-left: solid 1px var(--active-color);
  padding-left: 20px;
  color: #333333;
  text-decoration: none;
  display: block;
  padding-right: 24px;
  margin-bottom: 30px;
}

.one-category h2,
.navigation-box h2 {
  padding-left: 0;
  border-left: 0 none;
  font-size: 16px;
  margin-top: 5px;
}

.one-category p {
  font-size: 1.4rem;
  line-height: 2.4rem;
  font-weight: 300;
  margin-bottom: 5px;
}

.one-category:hover {
  border-color: var(--primary-bg-color);
  color: var(--primary-bg-color);
}

.one-question {
  transition: 0.5s;
  margin-bottom: 2rem;
  background-color: transparent;
}

.question_title,
.content_title {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border: solid 1px #d3d3d3;
  padding: 0 0 0 2rem;
  font-weight: 300;
  font-size: 1.6rem;
  color: #333;
}

.content_title {
  padding-right: 2rem;
  width: auto;
}

.question_title:hover,
.content_title:hover {
  color: var(--primary-bg-color);
}

.question_descr {
  margin: 1rem 0px 3rem;
  display: none;
}

.question_descr li {
  padding: 1rem;
  display: block;
}

.question_descr p {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.8rem;
}

.question_title a,
.question_descr a,
.question_descr li a {
  font-size: 13px;
  color: #333;
  font-weight: 300;
  text-decoration: underline;
}
.question_descr li a strong,
.question_descr li a b {
  font-weight: 700;
}

.rozdils-wrapper .question_descr li {
  padding: 0;
}

.rozdils-wrapper .question_title {
  padding: 0 1rem;
}

.rozdils-wrapper .question_title .title {
  width: 100%;
}

.rozdils-wrapper .question_title a,
.rozdils-wrapper .question_descr li a {
  display: block;
  padding: 1rem;
}

.question_title a:hover,
.question_descr li a:hover {
  color: var(--primary-bg-color);
}

.question_descr ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.question_descr li:not(:last-child) {
  border-bottom: solid 1px #d3d3d3;
}

.content .title {
  border-right: solid 1px #d3d3d3;
  margin-right: 2rem;
  padding-right: 2rem;
  flex: 1;
}

.plus {
  margin-top: 2rem;
  transition: 0.5s;
  background-image: url(/images/v_arrow.svg);
  padding-right: 3rem;
  background-position: center center;
  background-size: 24px 11px;
  display: inline-block;
  width: 24px;
  height: 11px;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.plus.active {
  transform: rotate(360deg);
}

header .plus {
  background-image: url(/images/arrow-white.svg);
  transform: rotate(0deg);
  margin-top: 0;
}

.submenu .plus {
  transform: rotate(360deg);
  position: absolute;
  right: 3px;
  top: 13px;
}

.submenu .plus.active {
  transform: rotate(180deg);
}

.articles-box .plus {
  min-width: 20px;
}

.one-question a:hover path {
  fill: #d11180;
}

.js_spoiler_content {
  cursor: pointer;
}

.rozdils-wrapper.fixed {
  position: fixed;
  z-index: 1;
}

.rozdils-wrapper .js-scrollbar {
  max-height: 500px;
}

.rozdils-wrapper .one-question {
  margin-bottom: 10px;
}

.rozdils-wrapper .question_title {
  background-color: #ffd72f;
  border-color: #ffd72f;
  font-size: 12px;
}

.rozdils-wrapper .question_descr {
  margin: 0;
}

.rozdils-wrapper ol {
  margin: 0;
  padding: 0;
}

.rozdils-wrapper ol li {
  transition: 0.5s;
}

.rozdils-wrapper ol li:hover {
  background-color: rgba(255, 215, 47, 0.42);
}

.rozdils-wrapper ol li.active {
  background-color: rgba(255, 215, 47, 0.42);
}

.docs-wrapper .question_descr {
  display: block;
}

.action-panel,
.bottom-panel {
  font-size: 1.4rem;
  font-weight: 300;
  font-family: eUkraine;
  display: flex;
  justify-content: space-between;
  padding: 0px 1.8rem;
  margin: 3rem 0;
  background-color: transparent;
}

.text-search .action-panel {
  margin: 0;
  padding: 1.5rem;
}

.text-search .question_descr {
  margin-bottom: 6rem;
}

.action-panel a,
.action-panel span {
  color: #333;
  text-decoration: none;
  display: inline-block;
}

.action-panel span.text-invalid {
  color: red;
}

.action-panel span {
  pointer-events: none;
  cursor: pointer;
  vertical-align: top;
}

.action-panel span,
.action-panel a {
  padding-left: 3rem;
  background-repeat: no-repeat;
  background-position: 0.5rem center;
  margin-right: 2rem;
}

.text-date {
  background-image: url(/images/cal.svg);
}

.text-valid {
  background-image: url(/images/check.svg);
}

.version-alert {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.version-alert a:hover,
.version-alert a:visited,
.version-alert a:focus {
  color: var(--primary-bg-color);
}

.text-copylink {
  background-image: url(/images/copy.svg);
  display: block;
  width: 35px;
  height: 20px;
  text-decoration: none;
}

.action-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.action-panel-top a {
  padding-left: 0;
  background-repeat: no-repeat;
  background-position: 0;
  margin-right: 0;
  float: right;
}

.action-panel a.text-copylink {
  float: right;
  margin-right: 0;
  width: auto;
}

.action-panel a.text-fav {
  background-image: url(/images/fav.svg);
  padding-right: 3rem;
  background-position: center right;
}

.button.text-print {
  background-image: url(/images/print.svg);
  padding-left: 35px;
  background-size: 15px;
  background-position: 10px center;
}

.bottom-panel .panel-right .button {
  padding-right: 20px;
  background-image: none;
  margin-left: 10px;
}

.rating-div {
  display: flex;
}

.rating-div .rating-smile:first-child {
  margin-right: 10px;
}

.rating-div .rating-smile img {
  width: auto;
  height: 19px;
}

.bottom-panel .panel-right.js-feedback-control .rating {
  margin-bottom: 1.2rem;
}

.bottom-panel .panel-right.js-feedback-control {
  /*width: 50%;*/
  white-space: nowrap;
  line-height: 3rem;
}

.bottom-panel .panel-right.js-feedback-control textarea {
  width: 100%;
  border: solid 1px #d3d3d3;
  box-sizing: border-box;
}

.bottom-panel .panel-right.js-feedback-control .button.js-send {
  float: right;
  margin: 0;
}

/*Breadcrumbs*/
.breadcrumbs-box {
  padding-top: 3rem;
  padding-left: 0px;
}

.breadcrumbs-box .container {
  position: relative;
}

/*.help-link {
  position: absolute;
  right: 0;
  top: 30px;
}*/

.help-link.help-link-alt {
  position: relative;
  top: unset;
}

.breadcrumbs-box.breadcrumb {
  margin: 0;
  display: flex;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
}

.breadcrumb {
  list-style: none;
  white-space: nowrap;
}

.breadcrumbs .breadcrumbs li {
  font-weight: 300p;
  font-size: 1.4rem;
}

.breadcrumb li:last-child {
  text-overflow: ellipsis;
  overflow: hidden;
}

.breadcrumb li a {
  color: #333;
  text-decoration: none;
}

.breadcrumb span,
.breadcrumb li a:hover {
  color: var(--primary-bg-color);
}

.breadcrumbs-box .help-link {
  width: calc(30% - 62px);
}

.tech-intro-text {
  margin: -30px 0 50px 0;
}

.tech-intro-text p,
.tech-intro-text ul {
  font-size: 1.4rem;
}

/*Content page*/

.content-page .content-wrapper {
  display: grid;
  grid-template-columns: 285px auto;
}

.content-page .navigation-box {
  padding-left: 0;
  position: relative;
  padding-top: 30px;
}

.rozdils-wrapper {
  padding-top: 30px;
  padding-bottom: 20px;
  background-color: #fff;
}

/*.navigation-box .help-link {
  left: 0;
}*/

.navigation-box .question_title {
  width: auto;
  text-decoration: none;
  cursor: pointer;
}

.rozdils-wrapper .question_title .plus {
  margin-top: 15px;
}

.content-page .content {
  padding-left: 28px;
  position: relative;
}

.video-div {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.video-div::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.video-div iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

ul.pagination {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.pagination li a,
ul.pagination li span {
  display: inline-block;
  padding: 4px 10px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #d3d3d3;
  margin: 0 5px;
  color: var(--primary-bg-color);
}

ul.pagination li.disabled span {
  color: #d3d3d3;
}

ul.pagination li.active a {
  border-color: var(--primary-bg-color);
}

.ui-widget-header {
  background-image: none;
  background-color: var(--active-color);
}

input.archive-dp,
select.archive-dp {
  padding: 5px 10px;
  width: 100%;
  border: 1px solid #d3d3d3;
  box-sizing: border-box;
  background-color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  top: auto;
  bottom: auto;
  width: 36px;
  height: 20px;
  position: relative;
  left: auto;
  right: auto;
  margin: 0;
}

.swiper-buttons {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 0;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  background-size: 150%;
  font-size: 0;
  width: 30px;
  height: 15px;
}

.swiper-button-prev:after {
  background: transparent url(/images/arrow-left.svg) center center no-repeat;
}

.swiper-button-next:after {
  background: transparent url(/images/arrow-right.svg) center center no-repeat;
}

.tabs-content .swiper-wrapper {
}

.tabs-content .swiper-wrapper .one-item {
  box-sizing: border-box;
}

.swiper.swiper-services {
  width: auto;
  height: auto;
}

.swiper-hint {
  display: none;
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 300;
  color: #666;
}

.tabs-content.active[class*="tabIswipe"] {
  flex-direction: column;
  overflow: hidden;
}

.most-read-box .one-item {
  min-height: 250px;
}

.most-read-box.first .one-item {
  min-height: 300px;
}

.desctop-rozdils {
  display: block;
}

.mobile-rozdils {
  display: none;
}

.submenu_wrap {
  display: flex;
  align-items: flex-start;
}

@media screen and (min-width: 1180px) {
  .secondary-menu {
    width: 47%;
  }
}

/* Responsive*/
@media screen and (max-width: 1177px) {
  .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .secondary-menu {
    width: 100%;
  }

  .left-menu .second-level-menu {
    width: 900px;
  }
}

@media screen and (max-width: 992px) {
  .submenu_wrap {
    flex-direction: column;
  }

  .secondary-menu > li {
    width: 80%;
  }

  .swiper .tabs-caption {
    flex-direction: row;
  }

  .tabs-content.active {
    padding: 0;
    border: 0 none;
  }

  .swiper.swiper-services .tabs-caption li {
    border-bottom: solid 1px #fff;
    padding: 10px 5px;
  }

  .swiper.swiper-services .tabs-caption li.active {
    border-bottom: solid 1px var(--active-color);
    background-color: #fff;
    font-weight: 500;
    color: #000;
  }

  .most-read-box.first .swiper.swiper-services .tabs-caption li.active {
    border-bottom: solid 1px var(--primary-bg-color);
  }

  .swiper.swiper-services .tabs-caption li:hover {
    border-bottom: solid 1px var(--active-color);
    top: 1px;
  }

  .most-read-box.first .swiper.swiper-services .tabs-caption li:hover {
    border-bottom: solid 1px var(--primary-bg-color);
  }

  .swiper.swiper-services .tabs-caption {
    border-bottom: solid 1px var(--border-color);
    margin-bottom: 20px;
    flex-direction: row;
    /*gap: 0 15px;*/
  }

  .tabs-caption li.active,
  .tabs-caption li:hover {
    border: 0 none;
    color: var(--primary-bg-color);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0;
  }

  .swiper-services .tabs-caption li {
    width: auto !important;
    border: 0 none;
    font-weight: 300;
    padding: 10px;
    line-height: 1;
    font-size: 1.4rem;
    border-radius: 0;
    background-color: white;
    border-radius: 0;
  }

  .swiper-slide {
    height: auto;
  }

  .left-menu .second-level-menu {
    width: 800px;
  }

  .first-page {
    height: 270px;
  }

  .simple-page .content-wrapper {
    grid-template-columns: 100%;
  }

  .navigation-box {
    padding-left: 0;
  }

  main {
    padding-bottom: 50px;
  }

  .first-page h1 {
    padding-top: 20px;
  }

  .content-page .content-wrapper {
    display: flex;
    flex-direction: column-reverse;
  }

  .content-page .content {
    padding-left: 0;
  }

  .page-title {
    display: block;
  }

  .page-title .left-item,
  .page-title .right-item {
    width: 100%;
  }

  .page-title .left-item {
    margin-bottom: 20px;
  }

  .page-title .right-item {
    margin-bottom: 20px;
  }

  .tabs-caption li {
    max-width: fit-content;
    white-space: nowrap;
  }

  .bottom-panel {
    flex-direction: column;
  }

  .bottom-panel .panel-right.js-feedback-control {
    width: 100%;
    margin: 20px 0;
  }
}

@media screen and (max-width: 768px) {
  .left-menu .second-level-menu {
    max-width: 600px;
  }

  .tabs-content.active,
  .tabs-caption {
    flex-direction: column;
  }

  .tabs-caption li {
    width: auto;
  }

  .one-item {
    width: auto;
  }

  .sections-wrapper {
    grid-template-columns: 100%;
  }

  .header-row {
  }

  .footer-row-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  footer {
    padding-top: 20px;
  }

  .address-wrapper {
    text-align: center;
  }

  .breadcrumbs-box .help-link {
    width: auto;
  }

  .left-menu .second-level-menu {
    width: 500px;
  }

  .secondary-menu {
    padding-left: 20px;
  }

  .left-menu .second-level-menu .menu-all > ul.primary-menu {
    width: 200px;
  }

  .swiper-hint {
    display: block;
  }

  .tabs-caption li {
    white-space: nowrap;
    max-width: unset;
  }
}

@media screen and (max-width: 440px) {
  .menu-toggler .mobile_submenu .secondary-menu span.plus {
    transform: rotate(0deg);
  }

  .menu-toggler .mobile_submenu .secondary-menu span.plus.active {
    transform: rotate(180deg);
  }

  .left-menu .second-level-menu .secondary-menu li {
    width: 95%;
  }

  .mobile-rozdils .swiper-rozdils .swiper-slide > a {
    border: solid 1px var(--border-color);
    padding: 20px;
    background: transparent url(/images/rozdil-arrow.svg) 94% 25px no-repeat;
    display: block;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.2srem;
    min-height: 120px;
    max-height: 120px;
    overflow: hidden;
    margin: 0 10px;
    padding-right: 30px;
  }

  .mobile-rozdils .swiper-rozdils .swiper-slide > a:hover {
    color: var(--primary-bg-color);
    border-color: var(--primary-bg-color);
  }

  .mobile-rozdils .swiper-wrapper {
    padding: 0;
    margin: 0;
  }

  .mobile-rozdils .swiper-rozdils {
    height: auto;
    width: auto;
  }

  .desctop-rozdils {
    display: none;
  }

  .swiper-rozdils .swiper-buttons {
    margin-top: 10px;
  }

  .mobile-rozdils {
    display: block;
  }

  .text-valid {
    position: relative;
    left: -30px;
    top: 10px;
  }

  .left-menu .second-level-menu .menu-all > ul > li > a {
    width: 100%;
    display: block;
    position: relative;
  }

  .top-menu-item > .plus {
    position: absolute;
    right: -35px;
    top: 2px;
    top: 2px;
    transform: rotate(180deg);
  }

  .one-section {
    padding: 15px;
    background: transparent url(/images/arrow-right.svg) 94% 25px no-repeat;
    gap: 10px;
  }

  main section:last-child {
    padding-bottom: 0;
  }

  .one-section h3 {
    margin-top: 0;
    margin-bottom: 5px;
    padding-right: 30px;
    font-size: 1.8rem;
  }

  .one-section .text-wrapper {
    padding-left: 10px;
  }

  .one-section > div:first-child {
    flex-basis: 50px;
    max-width: 50px;
    min-width: 50px;
  }

  .one-section > div:first-child img {
    width: 100%;
  }

  main {
    overflow: hidden;
  }

  .most-read-box {
    padding-bottom: 0;
  }

  .first-page h1 {
    font-size: 2.6rem;
    text-align: center;
  }

  .first-page h1 span {
    font-size: 2rem;
    font-weight: 400;
  }

  .main-pic {
    height: 280px;
  }

  .first-page {
    height: 280px;
    margin: 10px 0;
  }

  .search-form input {
    width: calc(100% - 50px);
    padding-right: 0;
  }

  .first-page .search-form {
    flex-direction: column;
    gap: 20px;
    padding: 0;
    width: auto;
  }

  .search-form input {
    border: 1px solid var(--primary-bg-color);
  }

  .search-form button {
    display: none;
  }

  .first-page .search-form button {
    display: inline-block;
    width: 100%;
  }

  .most-read-box.first {
    padding-top: 0;
  }

  .left-menu .second-level-menu {
    max-width: 300px;
  }

  .menu-toggler .menu-label {
    display: none;
  }

  .slogan-wrapper {
    display: none;
  }

  header {
    padding: 5px 10px 0 15px;
  }

  header .container {
    margin-left: 0;
    margin-right: 0;
  }

  .list-box {
    padding-right: 0;
    grid-template-columns: auto;
    gap: 5px;
  }

  .header-row {
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .breadcrumbs-box .help-link {
    position: static;
    margin-top: 20px;
  }

  .one-category {
    border: solid 1px #d3d3d3;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .one-category h2,
  .navigation-box h2 {
    font-size: 1.6rem;
  }

  .navigation-box {
    margin-top: 50px;
  }

  header .search-form {
    display: none;
  }

  .simple-page h1,
  .content-page h1,
  .one-category h2,
  .navigation-box h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 30px;
    padding-left: 10px;
    border-left: solid 5px var(--active-color);
    line-height: 1.4;
  }

  .mobile_submenu {
    display: block;
  }

  .desktop_submenu {
    display: none;
  }

  .top-menu-item > .plus {
    display: inline-block;
  }

  .menu-toggler {
    position: static;
  }

  .left-menu .second-level-menu {
    width: 100%;
    top: 99px;
  }

  .mobile_submenu .secondary-menu {
    /*margin-left: 10px;*/
    margin-top: 10px;
  }

  .menu-toggler .mobile_submenu .secondary-menu span.plus {
    padding-right: 0;
  }

  .left-menu .second-level-menu .menu-all > ul.primary-menu {
    width: 100%;
  }

  .left-menu .second-level-menu .menu-all > ul.primary-menu {
    padding-top: 10px;
  }

  .top-menu-item > .plus.active,
  .active .plus {
    transform: rotate(360deg);
  }

  .top-menu-item > .plus {
    transform: rotate(0deg);
  }

  .top-menu-item > .plus.active {
    transform: rotate(180deg);
  }

  .active .secondary-menu .plus {
    transform: rotate(180deg);
  }

  .active .secondary-menu .plus.active {
    transform: rotate(360deg);
  }

  .mobile_submenu {
    display: none;
  }

  .left-menu .second-level-menu ul li ul li {
    padding: 10px 0px 10px 0px;
  }

  .secondary-menu {
    width: 100%;
  }

  .tech-intro-text {
    margin-top: 50px;
  }
}

.reldoc {
  padding: 5px;
  font-size: 10px;
  color: gray;
}

#version-alert.fixed {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 100;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: initial;
}

@media screen and (max-width: 992px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .js-feedback-control .js-step1 {
    display: flex;
    flex-direction: column;
  }

  .bottom-panel .panel-right .js_page_feedback {
    display: block;
    margin: 0 0 20px 0;
  }

  .button.text-print {
    display: block;
  }
}

.one-section .visual-editor-content,
.one-category .visual-editor-content {
  padding: 0;
}

.one-section .visual-editor-content p,
.one-category .visual-editor-content p {
  padding: 0;
  margin-bottom: 0 !important;
  text-indent: unset;
}

.visual-editor-content {
  position: relative;
  padding: 0 20px;
}

.visual-editor-content,
.visual-editor-content p,
.visual-editor-content li,
.visual-editor-content span {
  font-family: eUkraine !important;
  font-size: 13px !important;
  font-weight: 300;
  line-height: 24px;
  color: #333;
  text-align: justify;
  white-space: normal !important;
}

.visual-editor-content a,
.visual-editor-content li a {
  font-size: 13px;
}

.visual-editor-content strong {
  font-weight: 700;
}

.visual-editor-content p {
  font-size: 13px !important;
  margin-bottom: 10px !important;
  text-indent: 20pt;
}

.visual-editor-content li p {
  text-indent: 0pt;
}

.visual-editor-content table p {
  text-indent: 0 !important;
}

.visual-editor-content a,
.visual-editor-content a:focus,
.visual-editor-content a:hover {
  color: var(--primary-bg-color) !important;
}

.visual-editor-content img {
  max-width: 100%;
  height: auto;
}

.visual-editor-content ul,
.visual-editor-content ol {
  margin: 0;
  padding: 0;
}

.visual-editor-content ul li,
.visual-editor-content ol li {
  display: list-item;
  list-style-position: unset;
  padding: 0 0 0 15px;
  border: 0 !important;
  text-indent: 0 !important;
}

.visual-editor-content ul li {
  list-style: disc;
}

.visual-editor-content.version1 ul li,
.visual-editor-content.version1 ol li {
  list-style-position: inside;
}

.visual-editor-content img {
  max-width: 100%;
}

.visual-editor-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #abc;
}

.visual-editor-content table tr th,
.visual-editor-content table tr td {
  padding: 5px 10px;
  border: 1px solid #abc;
  border-right-width: 0;
  border-bottom-width: 0;
  vertical-align: top;
}

.visual-editor-content table tr th:last-child,
.visual-editor-content table tr td:last-child {
  border-right-width: 1px;
}

.visual-editor-content table tr:last-child th,
.visual-editor-content table tr:last-child td {
  border-bottom-width: 1px;
}

.js-found {
  background-color: yellow;
}

.search-hint {
  position: relative;
  overflow: hidden;
  height: 100px;
  cursor: pointer;
  box-shadow: 0 2px 5px 0px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.search-hint .search-hint-div {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.search-hint .hint-fog {
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  height: 50px;
}

.search-hint .bottom-fog {
  bottom: 0;
  background: linear-gradient(transparent, #ffffff);
}
