/*
Theme Name: NAI
Theme URI: URL
Version: 1.0
Author: NAI
Author URI: https://nai.lt/
*/

/* RESET */
/* ----------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

.clearfix { zoom: 1; }
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }


/* MAIN LAYOUT */
/* ----------------------------------------- */

@font-face {
  font-family: 'KMR Waldenburg Normal';
  src: url('fonts/KMR-Waldenburg-Normal.woff2') format('woff2'),
  url('fonts/KMR-Waldenburg-Normal.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --main-font: 'KMR Waldenburg Normal', sans-serif;
  --sub-font: 'KMR Waldenburg Normal', sans-serif;

}



select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .inputbox {
  color: #999999;
  font-size: 16px;
  line-height: 16px;
  border-color: #ccc;
  height: 39px;
  width: 100%;
}

html {
  height:100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1250px;
  padding: 0 15px;
}

body {
  font-family: var(--main-font);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.3;
  background-color: var(--sub-color);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 200;
  transition: all 0.3s ease-in-out;
}

.header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  transition: all 0.3s ease-in-out;
}

.header-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 50px;
}

.header-menu li a {
  font-family: var(--main-font);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
}

.home .header-menu li a {
  color: white;

}

.header-menu .menu-item-has-children > a:after {
  content: url("images/arrow-right.png");
  padding-left: 8px;
}

.home .header-menu .menu-item-has-children > a:after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(70deg) brightness(107%) contrast(101%);
}

.button {

  display: inline-block;

  padding: 15px 5px;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.02em;
  text-align: center;
  min-width: 164px;
}

.button:hover {
  text-decoration: none;
  background-color: white;

  opacity: 1;
}

.scrolled-up {

}

.scrolled-down {
  /*transform: translateY(-100%);*/
}



.footer {
  margin-top: auto;
  padding-bottom: 45px;
}
#main-content {
  flex: 1 0 auto;
}

.header .sub-menu {
  display: none;
}

.header .menu-item-has-children {
  position: relative;
}

.header .menu-item-has-children .sub-menu {
  position: absolute;
  left: -135px;
  gap: 35px;
  min-width: 140px;
  transition: all 0.3s ease-in-out;
  padding: 20px 0;
}

.home .header-menu li > a {
  display: block;
  position: relative;
}

.header-menu li > a {
  position: relative;
}

.header-menu li > a:before {
  content: '';
  width: 0;
  height: 1px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background-color: black;
  transition: all 0.3s ease-in-out;
}

.home .header-menu li > a:before {
  background-color: white;
}

.header-menu li > a:hover:before {
  width: 100%;
}


.header .menu-item-has-children .sub-menu a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  overflow: hidden;
}

.header .menu-item-has-children:hover > .sub-menu {
  display: flex;

}

.page-template-template-home .header {
  position: fixed;
  top: 65px;
  left: 0;

}

.page-template-template-home .header .container {
  max-width: 1250px;
}

.css-clip {
  font-size: 0;
  opacity: 0;
  display: none;
}

.home .header-scrolled {
  background-color: var(--sub-color);
  top: 0;
}

.home .header-scrolled .header__row {
  border: 1px solid black;
  padding: 15px;
}

.home .header-scrolled .header-menu li a {
  color: black;
}

.home .header-scrolled .header-menu li a:before {
  background-color: black;
}

.home .header-scrolled .header-menu .menu-item-has-children > a:after {
  filter: none;
}

.home .header-scrolled .header-menu .menu-item-has-children .sub-menu {
  padding: 10px 0;
}

.home .header-scrolled .header__logo img {
  filter: brightness(0) saturate(100%)
}

.header-links {
  display: none;
}

.mega-header {
  display: none;
}

.header-black .logo img {
  filter: brightness(0) saturate(100%)
}

.header-black {
  background-color: var(--sub-color);
  margin-top: 38px;
}

.header-black .header__row {
  border: 1px solid black;
  padding: 20px 15px;
}

.header-black.header-scrolled {
  margin-top: 0 !important;
}

.page-title__row {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  background-color: var(--main-color);
  padding: 40px 15px;
}

.page-title__row h1 {
  font-size: 60px;
}

.filter-links__item {
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--text-color);
  border: 1px solid black;
  padding: 5px 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.filter-links__row {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  padding: 20px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.filter-links__row .is-active {
  color: var(--sub-color);
  background-color: var(--text-color);
  border-color: var(--text-color);
  pointer-events: none;
}

.filter-links__item:hover {
  color: var(--sub-color);
  background-color: var(--text-color);
  border-color: var(--text-color);
  text-decoration: none;
}

.filter-links__item:focus {
  color: var(--sub-color);
  background-color: var(--text-color);
  border-color: var(--text-color);
  text-decoration: none;
}

@media screen and (max-width: 992px) {
  .header-links {
    display: block;
  }
  .mega-header {
    display: block !important;
  }
  #clickWrapper {
    cursor:pointer;
    height:20px;
    width:20px;
    margin-top: 0;
    display: block;
  }
  .mega-header {
    display: block;
  }
  .header-top__row {

  }
  .header__logo {
    position: relative;
    top: 0;
  }
  .header-main .header-menus {
    display: none;
  }
  .header-links .search-form {
    display: none;
  }
  .header-links {
    position: relative;
    top: 0;
    max-width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .logo h1 a img {
    max-width: 100px;
  }
  .header-main__row {
    padding: 0;
    justify-content: space-between;
  }
  /* menu start */
  .header .menu {
    position: absolute;
    background-color: black;
    width: 20px;
    height: 2px;
    margin-top:8px;
  }

  .header .animate.menu{
    animation-name: menu-menu;
    animation-duration: 0.3s;
  }

  @keyframes menu-menu {
    0% {
      width:0;
      height:0;
    }
    50% {
      width:0;
      height:0;
    }
    51%{
      position: absolute;
      background-color: black;
      width: 20px;
      height: 2px;
    }
  }

  .header .menu:after {
    content: "";
    position: absolute;
    background-color: black;
    width: 20px;
    height: 2px;
    margin-top: -6px;
  }

  .header .animate.menu:after {
    animation-name: menu-after;
    animation-duration: 0.3s;
  }

  @keyframes menu-after {
    0% {
      transform: rotate(-45deg);
      margin-top:0;
    }
    50% {
      transform: rotate(0deg);
      margin-top:0;
    }
    100%{
      transform: rotate(0deg);
      margin-top:-8px;
    }
  }

  .header .menu:before {
    content: "";
    position: absolute;
    background-color: black;
    width: 20px;
    height: 2px;
    margin-top: 6px;
  }

  .animate.menu:before{
    animation-name: menu-before;
    animation-duration: 0.3s;
  }
  @keyframes menu-before {
    0% {
      transform: rotate(45deg);
      margin-top:0;
    }
    50% {
      transform: rotate(0deg);
      margin-top:0;
    }
    100%{
      transform: rotate(0deg);
      margin-top:8px;
    }
  }
  /* menu end */

  /* close start */
  .close {
    position: absolute;
    margin-top: 8px;
    margin-left: 0;
    opacity: 1 !important;
    text-shadow: none;
  }

  .close.animate{
    animation-name: close-close;
    animation-duration: 0.3s;
  }

  @keyframes close-close {
    0% {
      position: absolute;
      background-color: black;
      width: 20px;
      height: 2px;
      margin-top:8px;
    }
    50% {
      display:none;
      width:20px;
      height:1px;
    }
    100%{
      width:0;
      height:0;
    }
  }

  .close:after {
    content: "";
    position: absolute;
    background-color: black;
    width: 20px;
    height: 2px;
    transform: rotate(45deg);
  }

  .animate.close:after {
    animation-name: close-after;
    animation-duration: 0.3s;
  }

  @keyframes close-after {
    0% {
      transform: rotate(0deg);
      margin-top: 10px;
    }
    50% {
      transform: rotate(0deg);
      margin-top: 0;
    }
    100%{
      transform: rotate(45deg);
    }
  }

  .close:before {
    content: "";
    position: absolute;
    background-color: black;
    width: 20px;
    height: 2px;
    transform: rotate(-45deg);
  }

  .animate.close:before {
    animation-name: close-before;
    animation-duration: 0.3s;
  }

  @keyframes close-before {
    0% {
      transform: rotate(0deg);
      margin-top:-8px;
    }
    50% {
      transform: rotate(0deg);
      margin-top:0;
    }
    100%{
      transform: rotate(-45deg);
    }
  }
  /* close end */
}

@media screen and (max-width: 992px) {
  .mega-header {
    position:fixed;
    top: 0;
    padding-top: 100px;
    padding-bottom: 100px;
    right: 0;
    height: 100vh;
    width: 100%;
    transition: all .3s ease-in-out;
    opacity: 0;
    z-index: -1;
    overflow: scroll;
    display: block;
    visibility: hidden;
    background: var(--sub-color);
  }

  .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sub-color);
  }

  .mega-header-active {
    opacity: 1;
    z-index: 104;
    visibility: visible;
  }

  .header-active .logo img {
    filter: brightness(0) saturate(100%);
  }

  .mega-header__block {
    padding: 95px 20px;
  }

  .header-menu-nav {
    overflow: scroll;
    height: calc(100vh - 61px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start
  }

  .header-menu {
    flex-direction: column;
    align-items: flex-end;
    padding: 0;
    gap: 30px;
    text-align: right;
    position: relative;
    z-index: 100;
  }

  .header-menu li > a {
    color: var(--text-color);
    font-size: 30px;
    line-height: 1.3;
    font-weight: 400;
  }

  .home .header-menu li a {
    color: var(--text-color);
  }

.header-menu .menu-item-has-children > a:after {
    display: none;
  }
  .home .header-menu li > a:before {
    background-color: black;
  }
.header-menu li .sub-menu a {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.05em;
    font-weight: 400;
  }

 .header-menu li .sub-menu {
   padding: 15px 0;
   display: flex;
   flex-direction: column;
   gap: 20px;
  }

 .current_page_item > a:before {
    width: 100% !important;
 }

 .header-menu li {
   position: relative;
 }

 .header-active {
   background-color: var(--sub-color);
 }
  .page-template-template-home .header {
    top: 15px;
  }
  .home .header-scrolled {
    top: 0 !important;
  }

  .header-black.header-active .header__row {
    border-color: transparent !important;
  }
}


.no-scroll {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .header__row {
    padding: 0;
  }
  .home .header-scrolled .header__row {
    padding: 12px 0;
  }

  .home .header .header__row {
    border: 1px solid transparent !important;
  }

  .home .header-scrolled .header__row {
    border-color: #000 !important;
  }
  .home .header .container {
    padding: 0;
  }

  .home .header__row {
    padding: 12px 15px !important;
  }

  .home .header-scrolled.header-active .header__row {
    border-color: transparent !important;
  }

  .header-active {

  }
}

a {
  color: #000000;
  transition: all 0.3s;
}

a:hover,
a:active,
a:focus {
  color: #f14f1d;

}

*:focus,
*:active,
*:hover {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {

}

h1,
h2,
h3 {

}

h4,
h5,
h6 {

}


h1 {
  font-size: 65px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.05em;
}
@media (max-width: 992px) {
  h1 {
    font-size: 55px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 50px;
  }
}


h2 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}
@media (max-width: 992px) {
  h2 {
    font-size: 50px;
  }
}
@media (max-width: 768px) {
  h2 {
    font-size: 44px;
  }
}


h3 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 992px) {
  h3 {
    font-size: 26px;
  }
}
@media (max-width: 768px) {
  h3 {
    font-size: 22px;
  }
}

h4 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.16;
}

@media (max-width: 768px) {
  h4 {
    font-size: 20px;
  }
}

h5 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.37;
}


h6 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.37;

}

@media (max-width: 768px) {
  h6 {
    letter-spacing: 0.0em;
  }
}

.rte a {
  color: #f14f1d;
}

.rte a:hover {
  color: #27c9ea;
}

iframe {
  border: none;
  max-width: 100%!important;
}

.rte p {
  margin-bottom: 25px;
  color: #666666;
}

.rte div {
  font-size: 16px;
}

.rte a:hover, .rte a:focus, .rte a:visited {
  opacity: 0.8;
  text-decoration: none;
}

.rte h1 {
  font-size: 60px;
  line-height: 60px;
  margin-top: 36px;
  margin-bottom: 24px;
}

.rte h2 {
  font-size: 48px;
  line-height: 48px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.rte h3 {
  font-size: 36px;
  line-height: 36px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.rte h4 {
  font-size: 30px;
  line-height: 30px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.rte h5 {
  font-size: 24px;
  line-height: 24px;
  margin-top: 24px;
  margin-bottom: 12px;
}
.rte img {
  max-width: 100%;
}

.rte ul {
  list-style-type:circle;
  padding-left: 30px;
  margin-bottom: 30px;
}

.rte ul {
  list-style-type:circle;
  padding-left: 30px;
  margin-bottom: 30px;
}

.rte ol {
  list-style-type:decimal;
  padding-left: 30px;
  margin-bottom: 30px;
}

.rte ul li,
.rte ol li {
  font-size: 16px;
  line-height: 31px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin: 0em 1em 0.5em 0;
}

.alignright {
  float: right;
  margin: 0em 0 0.5em 1em;
}

em {
  font-style: italic;
}

b,
strong {
  font-weight: bold;
}

.rte table tr td,
.rte table tr th {
  border: 1px solid #cecece;
  padding: 5px;
}

.rte table {
  margin-bottom: 20px;
}

.rte img {
  max-width: 100%;
  height: auto;
}

.rte pre {
  padding: 25px;
  display: block;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 26px;
  word-break: normal;
  word-wrap: normal;
  background-color: #ccf1ff;
  border: 1px solid #9ce4ff;
  border-radius: 4px;
  color: #1794c4;
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;
}


.show-desctop {
  display: block !important;
}

.show-mobile {
  display: none !important;
}

blockquote {
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
  width: 100%;
  margin: 20px 0;
  padding: 20px 40px;
  line-height: 1.45;
  position: relative;
  color: #383838;
}

blockquote:before {
  display: block;
  content: "\201C";
  font-size: 80px;
  position: absolute;
  left: -10px;
  top: -10px;
  color: #7a7a7a;
}

blockquote cite {
  color: #999999;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}

#gallery-1 img {
  border: 0px solid #cfcfcf !important;
  display: block;
}

.gallery-caption{
  display: none;
}

input {
  width: 100%;
  padding: 5px 5px;
  font-size: 14px;
}

textarea {
  width: 100%;
  padding: 5px 5px;
  font-size: 14px;
  height: 150px;
}

select {
  width: 100%;
  padding: 5px 5px;
  font-size: 14px;
}

label {
  font-size: 14px;
}

p.wp-caption-text {
  font-size: 12px;
  line-height: 14px;
}

img {
  max-width: 100%;
  height: auto;
}


.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* GLOBAL PAGE STYLES */
/* ----------------------------------------- */

.not-found {
  text-align: center;
  padding: 100px 0;
}

.not-found h1 {
  margin-bottom: 30px;
}

nav {
  width: 100%;
}

.sub-menu {

}

.main-desc-nav > li:hover .sub-menu {
  display: block;
}

@media screen and (max-width: 768px) {

  #cssmenu,
  #cssmenu ul,
  #cssmenu ul li,
  #cssmenu ul li a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #cssmenu {
    color: #ffffff;
    margin-top: 30px;
  }

  #cssmenu ul ul {
    display: none;
  }
  .align-right {
    float: right;
  }
  #cssmenu > ul > li > a {
    padding: 15px 20px;
    border-left: 1px solid #1682ba;
    border-right: 1px solid #1682ba;
    border-top: 1px solid #1682ba;
    cursor: pointer;
    z-index: 2;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
    background: #36aae7;
  }
  #cssmenu > ul > li > a:hover,
  #cssmenu > ul > li.active > a,
  #cssmenu > ul > li.open > a {
    color: #eeeeee;
    background: #1fa0e4;
  }
  #cssmenu > ul > li.open > a {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #1682ba;
  }
  #cssmenu > ul > li:last-child > a,
  #cssmenu > ul > li.last > a {
    border-bottom: 1px solid #1682ba;
  }
  .holder {
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0px;
  }
  .holder::after,
  .holder::before {
    display: block;
    position: absolute;
    content: "";
    width: 6px;
    height: 6px;
    right: 20px;
    z-index: 10;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  .holder::after {
    top: 17px;
    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;
  }
  #cssmenu > ul > li > a:hover > span::after,
  #cssmenu > ul > li.active > a > span::after,
  #cssmenu > ul > li.open > a > span::after {
    border-color: #eeeeee;
  }
  .holder::before {
    top: 18px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-color: inherit;
    border-left-color: inherit;
  }
  #cssmenu ul ul li a {
    cursor: pointer;
    border-bottom: 1px solid #32373e;
    border-left: 1px solid #32373e;
    border-right: 1px solid #32373e;
    padding: 10px 20px;
    z-index: 1;
    text-decoration: none;
    font-size: 13px;
    color: #eeeeee;
    background: #49505a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  #cssmenu ul ul li:hover > a,
  #cssmenu ul ul li.open > a,
  #cssmenu ul ul li.active > a {
    background: #424852;
    color: #ffffff;
  }
  #cssmenu ul ul li:first-child > a {
    box-shadow: none;
  }
  #cssmenu ul ul ul li:first-child > a {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  #cssmenu ul ul ul li a {
    padding-left: 30px;
  }
  #cssmenu > ul > li > ul > li:last-child > a,
  #cssmenu > ul > li > ul > li.last > a {
    border-bottom: 0;
  }
  #cssmenu > ul > li > ul > li.open:last-child > a,
  #cssmenu > ul > li > ul > li.last.open > a {
    border-bottom: 1px solid #32373e;
  }
  #cssmenu > ul > li > ul > li.open:last-child > ul > li:last-child > a {
    border-bottom: 0;
  }
  #cssmenu ul ul li.menu-item-has-children > a::after {
    display: block;
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    right: 20px;
    z-index: 10;
    top: 11.5px;
    border-top: 2px solid #eeeeee;
    border-left: 2px solid #eeeeee;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }
  #cssmenu ul ul li.active > a::after,
  #cssmenu ul ul li.open > a::after,
  #cssmenu ul ul li > a:hover::after {
    border-color: #ffffff;
  }

}


.menu-wrapper {
  display: flex;
}
.logo-holder {
  padding: 12px;
  margin-right: 48px;
}
.main-desc-nav {
  display: flex;
  justify-content: flex-end;
}
.subheader {
  display: flex;
  justify-content: flex-end;
  padding: 12px 0 12px 0;
  margin-bottom: 7px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.web-section {
  padding: 96px 0;
}

@media screen and (max-width: 992px) {
  .web-section {
    padding: 66px 0;
  }

  .header__menus {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .web-section {
    padding: 36px 0;
  }

  .text-link .container {
    padding: 0;
  }
}


.hero-slider  {
  padding: 0;
}

.hero-slider .fade-slider {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-top: 1px solid black;
}

.home .main-content {
  padding-top: 40px;
}

.admin-bar.home .main-content {
  padding-top: 16px;
}

.fade-slider {
  list-style: none;
  padding: 0;
}

.fade-slider img {
  width: 100%;
  display: flex;
}

.fade-slider .slick-track {
  display: flex;
  height: auto;
}

.fade-slider .slick-slide {
  display: flex;
  height: 100%;
}

.fade-slider .slick-slide > div {
  height: 100%;
  width: 100%;
}

.fade-slider .slick-slide > div > li {
  height: 100%;
  display: flex !important;
}

.text-link {

}

.arrow-link {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-18px, -57%);
  transition: all 0.3s ease-in-out;
}



.text-link__top {
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  /*border-bottom: 1px solid #000;*/
  border-top: 1px solid black;
  padding: 42px 15px;
}

.text-link__block {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}

.text-link__block > .text-link__column:not(:first-child) {
  border-left: 1px solid black;
}

.text-link__block > div {
  flex: 1 1 5%;
}

.link-arrow {
  color: var(--text-color);
  font-size: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 500;
  text-decoration: none;
}

.link-arrow:after {
  content: url("images/arrow-right.png");
  padding-left: 7px;
  transition: all 0.3s ease-in-out;
}

.link-arrow:hover {
  text-decoration: none;
  color: var(--text-color);
}

.link-arrow:hover:after {
  padding-left: 2px;
}

.text-link__wrapper p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.text-link__wrapper {
  padding: 32px 15px;
  max-width: 77%;
}

.text-link__wrapper .link-arrow {
  display: inline-block;
  padding-top: 50px;
}

.text-link__wrapper li {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.text-link__image {
  width: 100%;
}

.text-link__image img {
  width: 100%;
  height: 100%;
  display: flex;
}

.text-link__column {
  overflow: hidden;
}


.posts-grid__top {
  background-color: var(--main-color);
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;

  padding: 42px 15px;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.post-item {
  padding: 30px 15px;
}

.post-item__image {
  position: relative;
  display: flex;
  margin-bottom: 25px;
}

.post-item__image img {
  height: 272px;
  object-fit: cover;
  filter: grayscale(1);
  transition: all 0.3s ease-in-out;
}

.posts-grid__list {
  border-left: 1px solid #000;
  /*border-bottom: 1px solid #000;*/
  border-right: 1px solid #000;
  background-color: var(--main-color);
}

.home .posts-grid__list {
  border-bottom: 1px solid #000;
}

.posts-grid__list article:not(:last-child) {
  /*border-right: 1px solid black;*/
}

.posts-grid__list article:not(:first-child) {
  border-left: 1px solid black;
}

.post-item__content-title {
  color: var(--text-color);
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.post-item__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 33px;
}

.post-excerpt {
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.post-excerpt p {

}

.post-item__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.post-item__category {
  color: var(--text-color);
  font-size: 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  border: 1px solid black;
  min-height: 23px;
  min-width: 68px;
  padding: 4px 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.post-item__date {
  color: var(--text-color);
  font-size: 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  border: 1px solid black;
  min-height: 23px;
  min-width: 105px;
  padding: 4px 9px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.post-item a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-color);
  height: 100%;
}

.post-item a:hover {
  color: var(--text-color);
  text-decoration: none;
}

.post-item a:hover .post-item__image img {
  filter: grayscale(0);
}

.post-item-big {
  padding: 0;
}

.post-item-big__row {
  display: flex;

}

.news-list__row {
  /*border: 1px solid black;*/
  border-top: none;
}

.post-item-big {
  border-bottom: 1px solid black;
  border-top: none !important;
  border-right: none !important;
}


.post-item-big .post-item__content {
  display: block;
  padding: 30px 0 15px 15px;
  min-height: 606px;
  border-right: 1px solid black;
}

.post-item-big .post-item__info {
  justify-content: flex-start;
  gap: 15px 100px;
  padding-bottom: 15px;
}

.post-item-big .post-item__content-title {
  color: var(--text-color);
  font-size: 45px;
  letter-spacing: -0.05em;
  line-height: 1.1;
  font-weight: 400;
  max-width: 77%;
  display: block;
  padding-bottom: 30px;
}

.post-item-big .post-excerpt {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  max-width: 75%;
  padding-bottom: 50px;
}

.post-item-big__row > div {
  flex: 1 1 5%;
}

.post-item-big .post-item__image img {
  height: 100%;
}

.post-item-big .post-item__image {
  margin-bottom: 0;
}

.post-item-big .post-item__image img {
  filter: grayscale(0);
}

.post-item-big:hover .link-arrow:after {
  padding-left: 2px;
}

.grid-4 .post-item-big {
  grid-column: 4 span;
}

.news-list__row {
  border-bottom: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.news-list__row article {

  /*border-left: 1px solid black;*/
  border-bottom: 1px solid black;
  /*border-top: 1px solid black;*/

}

.news-list__row article:not(:first-child) {

}

.news-list__row article:nth-last-child(-n+4) {
  /* your styles here */
  /*border-bottom: none;*/
}


.news-list__row article:nth-child(5) {
  border-right: none !important;
}

.news-list__row article:nth-child(9) {
  border-right: none !important;
}




@media screen and (min-width: 992px) {
  .news-list__row article:nth-child(10) {
    border-bottom: none !important;
  }

  .news-list__row article:nth-child(11) {
    border-bottom: none !important;
  }

  .news-list__row article:nth-child(12) {
    border-bottom: none !important;
  }

  .news-list__row article:nth-child(13) {
    border-right: none !important;
    border-bottom: none !important;
  }
  .news-list__row article {
    border-right: 1px solid black;
  }
}

.pagination {
  background-color: black;
  position: relative;
  padding: 0 15px;
}

.pagination .next {
  position: absolute !important;
  top: 50%;
  right: 0;
  transform: translate(-45%, -50%);

}

.pagination .prev {
  position: absolute !important;
  top: 50%;
  left: 0;
  transform: translate(45%, -50%);
}

.news-list__pagination > .pagination  {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: center;
  height: 57px;
  overflow: hidden;
}

.pagination .pagination {
  color: white;
  position: relative;
  padding: 0;
}

.pagination .pagination:after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  height: 1px;
  width: 0;
  transition: all 0.3s ease-in-out;
}

.pagination .pagination:after:hover {
  width: 100%;
}

.pagination span {
  color: white;
  position: relative;
  padding: 0;
}

.pagination span:after {
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  height: 1px;
  width: 100% !important;
  background-color: white !important;
}


@media screen and (max-width: 992px) {
  .filter-links__row {
    gap: 15px;
  }
}

@media screen and (max-width: 768px) {
  .post-item-big__row {
    flex-direction: column;
    gap: 80px;
  }

  .page-title__row h1 {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 400;
  }

  .grid-4 .post-item-big {
    grid-column: 1 span;
  }

  .post-item-big .post-item__content-title {
    font-size: 44px;
    line-height: 1.1;
    max-width: 100%;
  }

  .header-black {
    margin-top: 0;
  }

  .header-black .container {
    padding: 0;
  }

  .header-black .header__row {
    padding: 12px 15px;
  }

  .page-title .container {
    padding: 0;
  }

  .page-title__row {
    padding: 23px 15px;
  }

  .filter-links .container {
    padding: 0;
  }

  .news-list .container {
    padding: 0;
  }

  .post-item-big .post-item__info {
    justify-content: space-between;
  }
  .post-item-big__row > div {
    flex: 1 1 100%;
    width: 100%;
  }

  .post-item-big .post-item__image img {
    width: 100%;
  }
}

.newsletter-section {

}

.newsletter-section__top {
  background-color: var(--accent-color);
}

.newsletter-section__top {
  display: flex;
  gap: 15px;
  padding: 42px 15px;
  /*border-left: 1px solid #000;*/
  /*border-right: 1px solid #000;*/
  border: 1px solid black;
}

.newsletter-section__title {
  flex: 1 1 20%;
}

.newsletter-section__form {
  flex: 1 1 5%;
}

.newsletter-form label {
  display: none;
}

.newsletter-form__input br {
  display: none;
}

.newsletter-form__input input {
  box-shadow: 0 1px 2px 0 #0A0D120D;
  border: 1px solid black;
  background-color: var(--sub-color);
  width: 100%;
  max-width: 364px;
  height: 69px;
  text-align: right;
  padding: 5px 5px;
  padding-right: 17px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.newsletter-form__input input::placeholder {
  color: var(--text-color);
}

.newsletter-form__input {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 23px;
}

.newsletter-form__submit {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.newsletter-form__submit p {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.newsletter-form__submit p input {
  background-color: black;
  width: 100%;
  max-width: 179px;
  color: white;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 500;
  border: none;
  letter-spacing: -0.03em;
  height: 43px;
  padding-right: 33px;
}

.newsletter-form__submit p input:hover {
  opacity: 0.8;
}

.newsletter-form__submit p:after {
  content: url("images/arrow-white.png");
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-30px, -50%);
}

.wpcf7-spinner {
  position: absolute;
  left: 0;
  top: 0;
}

.newsletter-section__lines {
  background-color: var(--accent-color);
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.newsletter-section__lines img {
  display: flex;
  width: 100%;
}

@media screen and (min-width: 992px) {
  .arrow-link:hover {
    transform: translate(-18px, -57%) rotate(180deg);
  }
}

@media screen and (max-width: 992px) {
  .newsletter-section__top {
    flex-wrap: wrap;
  }
  .arrow-link {
    max-width: 35px;
  }
  .home .main-content {
    padding-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-slider .container {
    max-width: 100%;
    padding: 0;
  }
  .text-link__block {
    flex-direction: column;
  }
  .text-link__wrapper {
    max-width: 100%;
    padding: 30px 15px;
  }

  .arrow-link {
    max-width: 21px;
    transform: translate(-13px, -57%);
  }

  .text-link__top {
    padding: 24px 15px;
  }

  .text-link__block > .text-link__column:not(:first-child) {
    border-left: none;
    border-top: 1px solid black;
  }

  .text-link__block  {
    gap: 60px;
  }

  .home .header-scrolled .header__row {
    border: none;
  }

  .posts-grid .container {
    padding: 0;
  }

  .posts-grid__top {
    padding: 23px 15px;
  }

  .post-item__image img {
    height: 344px;
  }

  .post-item__content {
    padding-bottom: 50px;
  }

  .posts-grid__list article:not(:last-child) {
    border-right: none;
    border-left: none;

  }

  .posts-grid__list article {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
  }

  .posts-grid__list article:not(:first-child) {
    border-right: none;
    border-left: none;

  }

  .posts-grid__list article:last-child {
    border-bottom: none !important;
  }

  .newsletter-section .container {
    padding: 0;
  }

  .newsletter-section__top {
    padding: 33px 15px;
  }

  .newsletter-section__title {
    padding-bottom: 62px;
  }

  .newsletter-form__input input {
    text-align: left;
    padding-left: 15px;
  }

  .newsletter-form__submit p {
    justify-content: flex-start;
  }

  .newsletter-form__submit p:after {
    right: auto;
    left: 0;
    transform: translate(140px, -50%);
  }

  .newsletter-section__lines {
    background-color: white;
    border-left: none;
    border-right: none;
  }

  .post-item-big .post-item__content {
    min-height: auto !important;
    padding: 30px 15px 0 15px !important;
  }

  .post-item-big .post-item__info {
    padding-bottom: 30px;
  }

  .post-item-big .post-excerpt {
    max-width: 100%;
    padding-bottom: 32px;
  }

  .grid-4 .post-item-big {
    padding-bottom: 30px;
  }
}

.global-accordion__title {
  background-color: var(--gray-blue);
  padding: 40px 15px;
  border: 1px solid black;
  /*border-bottom: none;*/
  border-top: none;
}

.global-accordion-item {

}

.global-accordion-item__row {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  /*border-top: 1px solid #000;*/
}

.global-accordion-item__row > div:not(:first-child) {
  border-left: 1px solid black;
}


.global-accordion-item__row > div:first-child {
  /*border-right: 1px solid black;*/
}

.global-accordion-item__row > div {
  flex: 1 1 5%;
}

.global-accordion-item__title {
  position: relative;
  cursor: pointer;
  padding: 30px 0;
}

.global-accordion-item__title span {
  color: var(--text-color);
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-family: var(--main-font);
}

.global-accordion-item__title img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-12px, -50%);
  transition: all 0.3s ease-in-out;
}

.global-accordion-item__content {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.global-accordion-item__text .link-arrow {
  padding-top: 42px;
}

.global-accordion-item__text p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.global-accordion-item__text li {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.global-accordion-item__image {
  width: 100%;
  height: 100%;
}

.global-accordion-item__image img {
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
}

.global-accordion-item__text {
  max-width: 88%;
}

.global-accordion-item .global-accordion-item__text {
  /*display: none;*/
  height: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
}


.global-accordion-item .link-arrow {
  height: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
  padding-top: 46px;
}

.global-accordion-item__row {
  height: 116px;
  overflow: hidden;
}

.global-accordion-item__image img {
  filter: grayscale(1);
}

.active-accordion .global-accordion-item__text {
  height: auto;
  opacity: 1;
  visibility: visible;
}

.active-accordion .link-arrow {
  height: auto;
  opacity: 1;
  visibility: visible;
}

.active-accordion .global-accordion-item__row {
  height: auto;
}

.active-accordion .global-accordion-item__image img {
  filter: grayscale(0);
}

.active-accordion .global-accordion-item__title img {
  transform: translate(-12px, -50%) rotate(45deg);
}

.global-accordion-item__title:hover img {
  transform: translate(-12px, -50%) rotate(45deg);
}

.logo-slider__title {
  padding: 28px 15px;
  border: 1px solid black;
  border-top: none;
  border-bottom: none;
}

.logo-slider {
  padding: 0;
  list-style: none;
  margin: 0;
}

.logo-slider__block {
  border: 1px solid black;
  border-top: none;
  padding-bottom: 30px;
}

.text-icon__block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 40px 15px;
  border: 1px solid black;
  border-top: none;
  border-bottom: none;
}

.logo-slider-block li {
  display: flex !important;
  justify-content: center;
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
  .global-accordion-item__title span {
      font-size: 30px;
    letter-spacing: -0.03em;
  }

  .global-accordion-item__text {
    max-width: 100%;
  }
  .global-accordion-item__row {
    flex-direction: column;

  }
  .global-accordion-item__row {

  }
  .global-accordion .container {
    padding: 0;
  }

  .global-accordion__title {
    padding: 22px 15px;
  }
  .global-accordion-item__title img {
    max-width: 24px;
  }
  .global-accordion-item__title {
    padding: 20px 0;
  }
  .active-accordion .global-accordion-item__block {
    padding-bottom: 95px;
  }

  .global-accordion-item__row {
    height: auto;
  }

  .global-accordion-item__column {
    display: none;
  }

  .active-accordion .global-accordion-item__column {
    display: block;
  }

  .global-accordion-item .link-arrow {
    padding-top: 0;
  }
  .global-accordion-item__text {
    transition: all 0.3s ease-in-out;
  }
  .active-accordion .global-accordion-item__text {
    padding-bottom: 42px;
  }
  .global-accordion-item__content {
    gap: 0;
  }

  .logo-slider .container {
    padding: 0;
  }

  .text-icon .container {
    padding: 0;
  }

  .logo-slider__block {
    padding-bottom: 20px;
  }

  .text-icon__block {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }

  .text-icon__block img {
    max-width: 115px;
  }

  .logo-slider-block li img {
    max-width: 115px;
  }

  .global-accordion-item__row > div:first-child {
    border-right: none;
  }
}

.footer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border: 1px solid black;
  padding: 40px 15px;
  border-top: none;
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  border: 1px solid black;
  border-top: none;
  padding: 25px 15px;
}

.footer-menu  {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 33px;
  max-width: 80%;
}

.footer-menu li {

}

.footer__logo {
  margin-bottom: 18px;
}

.footer-menu  li a {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--text-color);
  font-weight: 400;
}

.footer-menu  li a:hover {
  text-decoration: none;
  color: var(--accent-color);
}

.footer__title {
  color: var(--text-color);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin-bottom: 25px;
}

.footer__text p {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.footer__text p:not(:last-child) {
  margin-bottom: 12px;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 15px;
}

.footer__info > div {
  flex: 1 1 37%;
}

.footer__link {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
  display: block;
}

.footer__link:not(:last-child) {
  margin-bottom: 12px;
}

.footer__link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.socials ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 32px;
}

.socials li a {
  display: flex;
  max-width: 32px;
}

.socials li a:hover {
  opacity: 0.6;
}

.privacy-menu {
  display: flex;
  justify-content: flex-start;
  gap: 10px 33px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.privacy-menu li a {

}

.privacy-menu a {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;

}


.privacy-menu a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.copyright {

}

.copyright p {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;

}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
  .footer-block {
    grid-template-columns: 1fr;
    gap: 53px;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer .container {
    padding: 0;
  }

  .footer__logo {
    margin-bottom: 25px;
  }

  .footer-menu {
    gap: 15px 25px;
    max-width: 100%;
  }

  .footer__info > div {
    flex: 1 1 100%;
  }

  .footer__title {
    margin-bottom: 16px;
  }

  .footer__text p {
    max-width: 85%;
  }

  .socials ul {
    gap: 15px 30px;
  }

  .privacy-menu {
    flex-direction: column;
    gap: 21px 33px;

  }

  .footer {
    padding-bottom: 10px;
  }
}

.my-breadcrumbs {

}

.my-breadcrumbs__row {
  background-color: black;
  padding: 18px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 35px;
  align-items: center;
}

.my-breadcrumbs__row  a {
  color: var(--sub-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.my-breadcrumbs__row span {
  color: var(--sub-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.post-title .post-item__info {
  justify-content: flex-start;
  gap: 15px 35px;
}

.post-title__row {
  background-color: var(--main-color);
  padding: 30px 15px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post-title__heading {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.post-title__row .post-item__info {
  padding-bottom: 23px;
}

.post-content__row {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

.post-content__block {
  padding: 30px 0 30px 0;
  max-width: 610px;
  margin: 0 auto;

  border-left: 1px solid black;
  border-right: 1px solid black;
}

.post-content__block p {
  padding: 0 15px;
}

.post-content__block p:not(:last-child) {
  margin-bottom: 1.9rem;
}

.post-content__block ul {
  padding: 0 15px;
}

.post-content__block p:first-child {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.post-content__block .wp-block-image {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

.post-content__block .wp-block-image .wp-element-caption {
  position: absolute;
  bottom: 0;
  right: -25px;
  /*transform: translate(55%, -110px) rotate(270deg);*/
  margin: 0;
  writing-mode: sideways-lr;

}

.post-content__block :is(h1, h2, h3, h4, h5, h6) {
  padding: 0 15px;
  margin-bottom: 1rem;
}

.post-content__block .wp-block-quote p {
  color: var(--main-color);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 400;
  font-style: normal;
  padding: 0;
  font-family: var(--main-font);
}

.post-content__block .wp-block-quote {
  padding: 33px 15px;
}

.post-content__block .wp-block-quote:before {
  display: none !important;
}

.gallery-block-x2 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.gallery-block-x2 {
  margin-bottom: 1rem;
}

.gallery-block-grid {

}

.gallery-block-grid li {
  position: relative;
}

.gallery-block-grid li:nth-child(odd) .image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-179px, -132px) rotate(90deg);
  margin: 0;
}

.gallery-block-grid li:nth-child(even) .image-caption {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(145px, -123px) rotate(270deg);
  margin: 0;
}

.news-list__row  .post-item-empty {
  background-color: var(--main-color);
}

.news-list__row  .post-item-empty a {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gallery-block-slider {
  display: block !important;
}

.gallery-block-slider li img {
  width: 100%;
  height: 375px;
  object-fit: cover;
}

.gallery-block-slider li {
  text-align: right;
}

.gallery-block-slider span {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
  padding: 5px 15px;

}

.slick-next {
  font-size: 0;
  padding: 0;
  border: none;
}

.slick-next:after {
  background-image: url("images/slick-next.svg");
  content: '';
  width: 30px;
  height: 30px;
  display: block;
}

.slick-prev {
  font-size: 0;
  padding: 0;
  border: none;
}

.slick-prev:before {
  background-image: url("images/slick-prev.svg");
  content: '';
  width: 30px;
  height: 30px;
  display: block;
}


.gallery-block-slider {
  position: relative;
}

.gallery-block-slider .slick-prev {
  position: absolute;
  bottom: 0;
  left: 15px;
}

.gallery-block-slider .slick-next {
  position: absolute;
  bottom: 0;
  right: 15px;
}

.bottom-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 30px;
}

.bottom-gallery__grid li img {
  width: 100%;
  object-fit: cover;
  height: 272px;
  border: 1px solid black;
}

.bottom-gallery__row {
  padding: 30px 15px;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.post-pagination__row {
  background-color: black;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  position: relative;
  height: 57px;
}

.post-pagination__btn--prev {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(0%, -50%);
}

.post-pagination__btn--next {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0, -50%);
}


@media screen and (max-width: 992px) {
  .post-content__block .wp-block-image .wp-element-caption {
    position: relative;
    bottom: 0;
    right: 0;
    transform: translate(0, 0) rotate(0deg);
    margin: 0;
    font-size: 14px;
    padding: 15px;
    text-align: right;
    writing-mode: unset;
  }
  .gallery-block-grid li:nth-child(odd) .image-caption {
    position: relative;
    bottom: 0;
    left: 0;
    transform: translate(0, 0) rotate(0deg);
    margin: 0;
    padding: 10px;
    font-size: 14px;

  }

  .gallery-block-grid li:nth-child(even) .image-caption {
    position: relative;
    bottom: 0;
    right: 0;
    transform: translate(0, 0) rotate(0deg);
    margin: 0;
    padding: 10px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .post-title__heading {
    font-size: 44px;
    line-height: 1.1;
  }

  .my-breadcrumbs .container {
    padding: 0;
  }

  .post-title .container {
    padding: 0;
  }

  .post-content .container {
    padding: 0;
  }

  .my-breadcrumbs__row {
    gap: 10px 17px;
  }

  .post-title__row {
    padding: 22px 15px;
  }

  .post-title .post-item__info {
    justify-content: space-between;
  }

  .post-title__row .post-item__info {
    padding-bottom: 32px;
  }

  .gallery-block-slider {
    padding-bottom: 50px;
  }

  .gallery-block-slider li img {
    margin-bottom: 10px;
  }
  .gallery-block-slider span {
    padding: 10px 15px;
    display: block;
  }

  .gallery-block-slider {
    padding-bottom: 36px !important;
  }

  .bottom-gallery__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .bottom-gallery__grid li img {
    width: 100%;
    object-fit: cover;
    height: 164px;
  }

  .post-pagination .container {
    padding: 0;
  }

  .bottom-gallery .container {
    padding: 0;
  }

  .bottom-gallery__row {
    padding: 27px 0;
  }

  .bottom-gallery__slider {
    position: relative;
  }

  .bottom-gallery__slider img {
    width: 100%;
    height: 375px;
    object-fit: cover;
  }

  .post-content__block {
    border-left: none;
    border-right: none;
  }
}


.hero-block__title {
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;


  padding: 42px 15px;
}

.hero-block__title  h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
}

.hero-block__block {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
}

.hero-block__block > .hero-block__column:not(:first-child) {
  border-left: 1px solid black;
}

.hero-block__block > div {
  flex: 1 1 5%;
}

.hero-block__wrapper {
  padding: 32px 15px 67px 15px;
  max-width: 90%;
}

.hero-block__wrapper p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.hero-block__wrapper h6 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.hero-block__wrapper p:not(:last-child) {
  margin-bottom: 2rem;
}


.hero-block__wrapper li {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.hero-block__image {
  width: 100%;
  height: 100%;
}

.hero-block__image img {
  width: 100%;
  height: 100%;
  display: flex;
}


@media screen and (max-width: 768px) {
  .hero-block .container {
    max-width: 100%;
    padding: 0;
  }
  .hero-block__block {
    gap: 54px;
    flex-direction: column;
  }
  .hero-block__wrapper {
    max-width: 100%;
    padding: 30px 15px;
  }
  .hero-block__title {
    padding: 24px 15px;
  }

  .hero-block__title h1 {
    font-size: 44px;
  }

  .hero-block__image img {

  }

  .hero-block__block > .hero-block__column:not(:first-child) {
    border-left: none;
  }

  .hero-block__image {
    border-top: 1px solid black;
  }
}

.my-list__row {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  flex-direction: column;
}

.my-list__block > .my-list__column:not(:first-child) {
  border-left: 1px solid black;
}

.my-list__block {
  display: flex;
}

.my-list__block > div {
  flex: 1 1 5%;
}

.my-lis__wrapper {
  padding: 32px 15px 67px 15px;
  max-width: 90%;
}

.my-lis__wrapper p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.my-list-items {
  border-bottom: 1px solid black;
}

.my-list-item {
  display: grid;
  grid-template-columns: 0.33fr 1fr;
}

.my-list-item__space {
  border-right: 1px solid black;
}

.my-list-item__text {
  padding: 30px 30px 30px 15px;;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-color);
  /*border-left: 1px solid black;*/
}

.my-list-item:not(:last-child) .my-list-item__space {
  /*border-bottom: 1px solid black;*/
}

.my-list-item:not(:last-child) .my-list-item__text {
  /*border-bottom: 1px solid black;*/
}

.my-list-item:not(:first-child) .my-list-item__space {
  border-top: 1px solid black;
}

.my-list-item:not(:first-child) .my-list-item__text {
  border-top: 1px solid black;
}

.my-list__wrapper {
  padding: 32px 15px 67px 15px;
  max-width: 90%;
}

.my-list__wrapper p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.my-list__wrapper p:not(:last-child) {
  margin-bottom: 2rem;
}

.my-list__image {
  height: 100%;
  width: 100%;
  display: flex;
}

.my-list__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media screen and (max-width: 768px) {
  .my-list .container {
    max-width: 100%;
    padding: 0;
  }
  .my-list__block {
    gap: 54px;
    flex-direction: column;
  }
  .my-list__wrapper {
    max-width: 100%;
    padding: 30px 15px;
  }


  .my-list__block > .my-list__column:not(:first-child) {
    border-left: none;
  }

  .my-list-item__text {
    padding: 23px 15px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.05em;
  }
  .my-list__image {
    display: none;
  }
}

.gallery-slider-items {
  padding: 30px 15px;
}

.gallery-slider-items li {
  height: 272px;
  position: relative;
  display: flex !important;
}

.gallery-slider-items li a {
  width: 100%;
  display: block;
}

.gallery-slider-items li a:hover {
  box-shadow: none;
  outline: none;
  opacity: 0.6;
}

.gallery-slider-items li a:focus {
  box-shadow: none;
  outline: none;
}

.gallery-slider-items li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slider-arrows {
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px;
  position: relative;
}

.gallery-slider-arrows button {
  background-color: transparent;
}

.gallery-slider-arrows button:after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(125deg) brightness(107%) contrast(101%);
}

.gallery-slider-arrows button:before {
  filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(125deg) brightness(107%) contrast(101%);
}

.gallery-slider__row {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.gallery-slider .slick-list {
  margin: 0 -15px;
}

.gallery-slider .slick-slide {
  margin: 0 15px;
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
  .gallery-slider-items {
    padding: 0;
  }

  .gallery-slider .container {
    padding: 0 !important;
  }
}

.page-link {

}

.page-link__row {
  background-color: black;
  border-left: 1px solid black;
  border-right: 1px solid black;
  /*border-bottom: 1px solid black;*/
  border-top: 1px solid black;
}

.page-link__row a {
  color: var(--text-color);
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
  position: relative;
  padding: 40px 15px;
  background-color: var(--gray-blue);
  display: block;
  width: 100%;
  text-decoration: none;
}

.page-link__row a img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-18px, -57%);
  transition: all 0.3s ease-in-out;
}

.page-link__row a:hover {
  text-decoration: none;

}


.page-link__row a:hover img {
  text-decoration: none;
  transform: translate(-18px, -57%) rotate(180deg);
}

.page-template-template-child .newsletter-section__top {
  display: none;
}

.page-template-template-child .newsletter-section__lines {
  background-color: var(--main-color);
}

.blog .newsletter-section__lines {
  border-bottom: none;
}

.page-template-template-child .newsletter-section__lines {
  border-bottom: none;
}

.gallery-slider {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .page-link__row a {
    color: var(--text-color);
    font-size: 44px;
    padding: 20px 15px;
  }

  .page-link__row a img {
    max-width: 21px;
  }
  .page-link .container {
    padding: 0;
  }

  .gallery-slider-arrows {
    padding: 10px 15px;
  }
}

.catalogues {

}

.catalogues__row {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.catalogues__title {
  background-color: var(--gray-blue);
  padding: 40px 15px;
  border-top: none;
  border-bottom: 1px solid black;
}

.catalogues__title h1 {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
  color: var(--text-color);
}

.search-form {

}

.search-form label {
  display: none;
}

.catalogues__filter {
  display: flex;
}

.catalogues__filter .search-form {
  flex: 1 1 5%;
  position: relative;
  min-height: 68px;
  border-right: 1px solid black;
}

.catalogues__filter .search-form input {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid black;
  background-color: var(--sub-color);
  color: black;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
  border-left: none;
  border-right: none;
  min-height: 68px;
  padding: 5px 15px;
}

.catalogues__filter .search-form input::placeholder {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.catalogues__filter .search-form .search-form__submit {
  position: absolute;
  top: 50%;
  right: 0;
  border: none;
  background-color: transparent;
  padding: 0;
  transform: translate(-20px, -50%);
}

.catalogues__filter .all-categories-catalogues {
  flex: 1 1 5%;

}

.all-categories-catalogues {
  position: relative;

}

.all-categories-catalogues .list-tax-catalogues {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.openListCategories {
  width: 100%;
  height: 100%;
  border: none;
  background-color: var(--sub-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 13px;
  letter-spacing: -0.03em;
  border-bottom: 1px solid black;

}

.list-tax-catalogues {
  background-color: var(--sub-color);
  z-index: 50;
  /*padding-right: 10px;*/
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
}

/* Make scrollbar always visible in WebKit */
.list-tax-catalogues ul {
  /*overflow-y: scroll;*/
  /*-webkit-overflow-scrolling: touch; !* optional smooth scrolling *!*/
}

.list-tax-catalogues ul {
  /*scrollbar-width: thin; !* for Firefox *!*/
  /*scrollbar-color: #999999 transparent; !* for Firefox *!*/
  /*height: 420px;*/
  /*overflow-x: scroll;*/
  /*padding: 0 15px 0 0;*/
}

.list-tax-catalogues ul ::-webkit-scrollbar {
  width: 16px;

}

.list-tax-catalogues ul ::-webkit-scrollbar-track {
  background: var(--sub-color);
}

.list-tax-catalogues ul ::-webkit-scrollbar-thumb {
  background-color: #999999;
  border-radius: 8px;
}

.list-tax-catalogues ul ::-webkit-scrollbar-thumb:hover {
  background-color: #777777;
}

.list-tax-catalogues ul {

}

.list-tax-catalogues li {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
  border-top: 1px solid black;
  padding: 9px 15px;
}



.list-tax-catalogues li a {
  color: #666666;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.catalogues-list__header {
  margin-top: 50px;
  border-top: 1px solid black;
  border-left: 1px solid black;
  border-right: 1px solid black;
  background-color: var(--gray-blue);
  display: grid;
  grid-template-columns: 0.25fr 1fr 1fr 1fr 0.2fr 0.4fr 0.5fr 0.19fr;
}

.catalogues-list__header span {
  padding: 15px 10px;
  color: black;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  font-weight: 500;
  display: block;
}

.catalogues-list__header span:not(:last-child) {
  border-right: 1px solid black;
}

.catalog-item {
  display: grid;
  grid-template-columns: 0.25fr 1fr 1fr 1fr 0.2fr 0.4fr 0.5fr 0.19fr;
}

.catalog-item span {
  padding: 15px 10px;
  color: black;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  font-weight: 500;
  display: block;
}

.catalog-item span:not(:last-child) {
  border-right: 1px solid black;
}


.catalogues-list__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

.catalog-item:not(:last-child) {
  border-bottom: 1px solid black;
}


.page-template-template-catalog .newsletter-section {
  display: none;
}

.list-tax-catalogues-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.catalogues-list {
  position: relative;
}

.block-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.catalogues-list-active .block-overlay {
  opacity: 1;
  z-index: 1;
}

.catalog-item-mobile__top {
  display: grid;
  grid-template-columns: 0.22fr 1fr 0.1fr;

}

.catalog-item-mobile__top span {
  color: var(--text-color);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  font-weight: 400;
  padding: 18px 10px;
}

.catalog-item-mobile__arrow {
  padding: 5px 5px !important;
}

.catalog-item-mobile__top span:not(:last-child) {
  border-right: 1px solid black;
}

.catalog-item-mobile__leidejas {
    background-color: var(--gray-blue);
}

.catalog-item-mobile__leidejas span {
  display: block;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  padding: 7px 10px;
}

.catalog-item-mobile__leidejas span:not(:last-child) {
  border-bottom: 1px solid black;
}

.catalog-item-mobile__leidejas span:first-child {
  font-weight: 500;
  border-top: 1px solid black;
}

.catalog-item-mobile__bottom {
  border-top: 1px solid black;
  display: grid;
  grid-template-columns: 0.24fr 0.5fr 0.5fr 0.2fr;
  background-color: var(--gray-blue);

}

.catalog-item-mobile__bottom > div:not(:last-child) {
  border-right: 1px solid black;
}

.catalog-item-mobile__bottom > div span:first-child {
  color: var(--text-color);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  font-weight: 500;
  padding: 11px 10px;
  display: block;
  transition: all 0.3s ease-in-out;
}

.catalog-item-mobile__bottom > div span:last-child {
  color: var(--text-color);
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.03em;
  font-weight: 400;
  border-top: 1px solid black;
  padding: 5px 10px;
  display: block;
}

.catalog-item-mobile__leidejas, .catalog-item-mobile__bottom {
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  visibility: hidden;
  opacity: 1;
}

.catalog-item-mobile-active .catalog-item-mobile__leidejas {
  height: auto;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.catalog-item-mobile-active .catalog-item-mobile__bottom {
  height: auto;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
}

.catalog-item-mobile {
  border-bottom: 1px solid black;
}

.catalog-item-mobile-active .catalog-item-mobile__arrow img {
  transition: all 0.3s ease-in-out;
}

.catalog-item-mobile-active .catalog-item-mobile__arrow img {
  transform: rotate(180deg);
}

.not-found {

}

.not-found h1 {

}

.not-found__block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.not-found__title {
  text-align: center;
  color: black;
  font-size: 45px;
}

.not-found__button {
  text-align: center;
  padding-top: 18px;
}

.not-found__text h4 {
  margin-bottom: 1rem;
}

.not-found__button a {
  text-transform: uppercase;
  background-color: black;
  color: white;
  border-color: black;
}

.not-found__button a:hover{
  background-color: white;
  color: black;
  border-color: black
}

.error404 .newsletter-section {
  display: none;
}

@media screen and (max-width: 992px) {
  .catalogues__filter {
    flex-direction: column;
  }
  .catalogues-list__header {
    display: grid;
    grid-template-columns: 0.2fr 1fr;
  }

  .catalogues-list__header span:not(:nth-child(-n+2)) {
    display: none;
  }

  .all-categories-catalogues {

  }

  .openListCategories {
    height: 69px;
  }

  .catalogues-list {
    border-left: 1px solid black;
    border-right: 1px solid black;
  }

  .catalogues-list__grid {
    border-left: none;
    border-right: none;
  }

  .catalogues-list__header {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid black;
  }

  .catalogues-list__header span:nth-child(2) {
    border-right: none !important;
  }

  .list-tax-catalogues li {
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .list-tax-catalogues ul {
    height: auto;
    padding: 0;
  }

  .list-tax-catalogues {
    padding-right: 0;
  }

  .catalogues__filter .search-form {
    border-right: none;
  }

  .not-found__title {
    font-size: 35px;
  }
}

@media screen and (max-width: 768px) {
  .catalogues__title h1 {
    font-size: 44px;
    line-height: 1.1;
  }

  .catalogues .container {
    padding: 0;
  }

  .catalogues__title {
    padding: 23px 15px;
  }

  .openListCategories {
    padding-right: 15px;
  }

  .catalogues-list .container {
    padding: 0;
  }

  .catalogues-list__header {
    margin-top: 77px;
  }

}

.contact-us__top {
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;

  padding: 42px 15px;
}

.contact-us__block {

}

.contact-us__block {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}

.contact-us__block > .contact-us__column:not(:first-child) {
  border-left: 1px solid black;
}

.contact-us__block > div {
  flex: 1 1 5%;
}

.contact-us__address p {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: -0.05em;
}

.contact-us__address p:not(:last-child) {
  margin-bottom: 0.8rem;
}

.contact-us__wrapper {
  max-width: 48%;
  padding: 32px 15px;
}

.contact-us__link {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: -0.05em;
}

.contact-us__address {
  padding-bottom: 47px;
}

.contact-us__link:not(:last-child) {
  margin-bottom: 0.8rem;
}

.contact-us__link:hover {
  color: var(--text-color);
}

.contact-us__link:focus {
  color: var(--text-color);
}

.contact-us__image {
  width: 100%;
  display: flex;
  border-bottom: 1px solid black;
}

.contact-us__image img {
  width: 100%;
  display: flex;
}

.contact-us__column:first-child {
  flex: 1 1 10%;
}

.contact-us__iframe {
  position: relative;
}

.contact-us__iframe iframe {
  height: 100%;
  min-height: 356px;
  display: flex;
}

.page-template-template-footer .newsletter-section {
  display: none;
}

.page-template-template-footer  footer {
  margin-top: 0;
}

.page-template-template-footer  .footer-block {
  border-top: none;
}

@media screen and (max-width: 992px) {
  .contact-us__wrapper {
    max-width: 95%;
  }
}

@media screen and (max-width: 768px) {
  .contact-us__top {
    padding: 23px 15px;
  }

  .contact-us__block {
    flex-direction: column;
    gap: 46px;

  }

  .contact-us .container {
    padding: 0;
  }

  .contact-us__wrapper {
    max-width: 100%;
  }

  .contact-us__block > .contact-us__column:not(:first-child) {
    border-left: none;
  }
}

.my-accordion__title {
  background-color: #E9E3C9;
  padding: 40px 15px;
  border: 1px solid black;
  border-top: none;
}

.my-accordion-item__row {
  display: flex;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  /*border-top: 1px solid #000;*/
}

.my-accordion-item__row > div:not(:first-child) {
  border-left: 1px solid black;
}

.my-accordion-item__row > div {
  flex: 1 1 5%;
}

.my-accordion-item__title {
  position: relative;
  cursor: pointer;
  padding: 30px 0;
}

.my-accordion-item__title span {
  color: var(--text-color);
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-family: var(--main-font);
}

.my-accordion-item__title img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-15px, -50%);
  transition: all 0.3s ease-in-out;
}

.my-accordion-item__content {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.my-accordion-item__text p {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.my-accordion-item__text li {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
  color: var(--text-color);
}

.my-accordion-item__image {
  width: 100%;
  height: 100%;
}

.my-accordion-item__image img {
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
}

.my-accordion-item__text {
  max-width: 91%;
  padding-bottom: 15px;
}

.my-accordion-item__row {
  overflow: hidden;
  height: 116px;
}

.my-accordion-item__image img {
  filter: grayscale(1);
}

.active-accordion .my-accordion-item__image img {
  filter: grayscale(0);
}

.active-accordion .my-accordion-item__row {
  height: auto;
}

.active-accordion .my-accordion-item__title img {
  transform: translate(-15px, -50%) rotate(45deg);
}

.my-accordion-item__block {
  /*border-right: 1px solid black;*/
}


.my-accordion__row .active-accordion {
  background-color: #E9E3C9;
}

.my-accordion__lines {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.my-accordion__lines img {
  display: flex;
  width: 100%;
}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 768px) {
  .my-accordion-item__title span {
    font-size: 30px;
    letter-spacing: -0.03em;
  }

  .my-accordion-item__text {
    max-width: 100%;
  }
  .my-accordion-item__row {
    flex-direction: column;

  }
  .my-accordion-item__row {

  }
  .my-accordion .container {
    padding: 0;
  }

  .my-accordion__title {
    padding: 22px 15px;
  }
  .my-accordion-item__title img {
    max-width: 24px;
  }
  .my-accordion-item__title {
    padding: 20px 0;
  }
  .active-accordion .my-accordion-item__block {
    padding-bottom: 95px;
  }

  .my-accordion-item__row {
    height: auto;
  }

  .my-accordion-item__column {
    display: none;
  }

  .active-accordion .my-accordion-item__column {
    display: block;
  }

  .my-accordion-item .link-arrow {
    padding-top: 0;
  }
  .my-accordion-item__text {
    transition: all 0.3s ease-in-out;
  }
  .active-accordion .my-accordion-item__text {
    padding-bottom: 42px;
  }
  .my-accordion-item__content {
    gap: 0;
  }

  .my-accordion-item__text {
    display: none;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .my-accordion-item__column {
    display: none;
  }

  .active-accordion .my-accordion-item__column {
    display: block;
  }

  .active-accordion .my-accordion-item__text {
    display: block;
  }

  .active-accordion .my-accordion-item__block {
    padding-bottom: 67px;
  }
}

.list-strategy__title {
  position: relative;
  background-color: #E9E3C9;
  padding: 40px 15px;
  border: 1px solid black;
  border-top: none;
}

.my-list-item__title {
  color: var(--text-color);
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
  padding: 15px 22px;
  display: flex;
  align-items: center;
}

.list-strategy .my-list-items {
  background-color: #E9E3C9;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.list-strategy__lines {

}
.list-strategy__lines {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.list-strategy__lines img {
  display: flex;
  width: 100%;
}

.list-strategy .my-list-items {
  /*border-bottom: none;*/
}

.news-list-paged .news-list__row .post-item-empty:first-child {
  display: none;
}


@media screen and (max-width: 768px) {
  .my-list-item__title {
    font-size: 30px;
    line-height: 1.1;
    padding: 15px 17px
  }

  .list-strategy .container {
    padding: 0;
  }

  .list-strategy__title {
    padding: 23px 15px;
  }

  .list-strategy .my-list-item {
    display: flex;
    flex-direction: column;
  }

  .list-strategy .my-list-item__text {
    border-left: none;
    border-top: 1px solid black;
  }

  .my-list-item__title {
    border-right: none;
  }

  .list-strategy .my-list-items .my-list-item:last-child .my-list-item__title {
    border-bottom: 1px solid black;
  }
}

.team-item__title {
  padding-bottom: 5px;
}

.team-item__title {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: black;
  font-weight: 400;
}

.team-item__text {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
  padding-bottom: 20px;
}

.team-item__text p {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
}

.team-item__contacts {
  display: block;
  gap: 12px;
  padding: 20px 20px;
}

.team-item__contacts a:first-child {
  display: block;
}

.team-item__contacts a:last-child {
  padding-top: 12px;
  display: inline-block;
}

.team-item__contacts a {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-decoration: none;
  color: white;
  position: relative;
}

.team-item__contacts a:after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 1px;
  background-color: white;
  width: 0;
  transition: all 0.3s ease-in-out;
}

.team-item__contacts a:hover:after {
  width: 100%;
}

.team-item__image {
  position: relative;
  margin-top: auto;
  height: 272px;
}

.team-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-item__contacts {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.our-team__title {
  position: relative;
  background-color: #E9E3C9;
  padding: 40px 15px;
  border: 1px solid black;
  border-top: none;
}

.team-slider {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.team-item {
  padding: 32px 15px;
  border-right: 1px solid black;
}


.team-slider-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  padding: 15px 15px;
}

.team-slider-arrows button {
  background-color: black !important;
}

.team-slider-arrows button:after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(0%) hue-rotate(115deg) brightness(108%) contrast(108%);
}

.team-slider-arrows button:before {
  filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(0%) hue-rotate(115deg) brightness(108%) contrast(108%);
}


.team-slider .slick-track {
  display: flex;
  height: auto;
}

.team-slider .slick-slide {
  height: auto;
}

.team-slider .slick-slide > div {
  height: 100%;
}

.team-slider .slick-slide .team-item {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

@media screen and (max-width: 768px) {

  .our-team .container {
    padding: 0;
  }
  .our-team__title {
    padding: 25px 15px;
  }

  .team-item__image {
    height: 340px;
  }

  .team-slider-arrows {
    padding: 11px 15px;
  }

  .team-item {
    border-right: none;
  }
}

.btnToggle {
  border: 1px solid black;
  border-top: none;
  position: relative;
  color: var(--text-color);
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
  width: 100%;
  text-align: left;
  background-color: var(--sub-color);
  padding: 30px 15px;
}

.btnToggle img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-15px, -50%);
  transition: all 0.3s ease-in-out;
}

.toggle-text {
  border: 1px solid black;
  display: none;
  border-top: none;
}

.toggle-text__container {
  max-width: 600px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  margin: 0 auto;
  padding: 30px 15px;
}

.toggle-text__container p {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  color: var(--text-color);
  letter-spacing: -0.05em;
}

.toggle-text__container h6 {
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.toggle-text__container p:not(:last-child) {
  margin-bottom: 1.8rem;
}

.is-open img {
  transform: translate(-15px, -50%) rotate(134deg);
}

@media screen and (max-width: 768px) {

  .toggle-item .container {
    padding: 0;
  }

  .btnToggle {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 400;
    padding: 20px 15px;
  }

  .btnToggle img {
    max-width: 21px;
  }

  .toggle-text__container {
    border: none;
  }
}


.list-number__title {

}

.list-number__title {
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  border-bottom: 1px solid black;
  padding: 32px 15px;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.list-number .my-list-items {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

.my-list-item__number {
  color: var(--text-color);
  font-size: 45px;
  line-height: 1.1;
  font-weight: 400;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 22px;
}

.list-number__lines img {
  display: flex;
  width: 100%;

}

.list-number__lines {
  border-left: 1px solid black;
  border-right: 1px solid black;
}

@media screen and (max-width: 768px) {
  .my-list-item__number {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .list-number__title {
    font-size: 30px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    padding: 24px 15px;
  }

  .list-number .container {
    padding: 0;
  }
}

.single-post .newsletter-section__lines {
  border-bottom: none;
}

.tax-kategorija .newsletter-section {
  display: none;
}

.container-page__row {

}

.container-page__title {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 400;
  position: relative;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 42px 15px;
  border-bottom: 1px solid black;
}

.container-page__wrapper {
  border: 1px solid black;
  border-top: none;
}

.container-page__text {
  max-width: 600px;
  border-left: 1px solid black;
  border-right: 1px solid black;
  margin: 0 auto;
  padding: 30px 15px;
}

.container-page__text h2 {
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.container-page__text h3 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.container-page__text h4 {
  font-size: 35px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.container-page__text h5 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.container-page__text :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 1rem;
}

.container-page__text p:not(:last-child) {
  margin-bottom: 1rem;
}

.container-page__text ul {
  margin-bottom: 1rem;
}

.container-page__text ol {
  margin-bottom: 1rem;
}

.header-black .sub-menu {
  padding: 7px 0 !important;
}


@media screen and (max-width: 768px) {
  .container-page__title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: 400;
    padding: 20px 15px;
  }


  .container-page__text h2 {
    font-size: 35px;
  }

  .container-page__text h3 {
    font-size: 32px;
  }

  .container-page__text h4 {
    font-size: 30px;
  }

  .container-page__text h5 {
    font-size: 25px;
  }
  .container-page .container {
    padding: 0;
  }

  .container-page__text {
    max-width: 100%;
    border-left: none;
    border-right: none;
  }
}


.wpml-ls-item .sub-menu {
  left: 0 !important;

}

.wpml-ls-item > a:after {
  content: url(images/chevron.png) !important;
  top: -1px;
  position: relative;
}

.wpml-ls-item .sub-menu a:after {
  display: none !important;
}

.home .header-scrolled .wpml-ls-item > a:after {
  filter: brightness(0) saturate(100%) !important;
}

.otgs-development-site-front-end {
  display: none !important;
}

.wpml-ls-item .sub-menu a {
  font-size: 20px !important;
  letter-spacing: -0.05em;
}

.header__menu-black .wpml-ls-item > a:after {
  filter: brightness(0) saturate(100%) !important;
}

.blog .wpml-ls-item > a:after {
  filter: brightness(0) saturate(100%) !important;
}

.wpml-ls-current-language {
  padding-left: 53px;
}

.wpml-ls-item .sub-menu {
  padding-left: 53px !important;
}

#other-news .posts-grid__list {
  border-bottom: 1px solid black;
}


.page-id-35 #hero-block-35-2 .hero-block__block {
  border-top: none;
}

.page-id-21 .text-link .text-link__top {
  border-top: none;
}

.page-id-21 .text-link__block {
  border-top: none;
}


.error404 .footer {
  margin-top: 0;
}
.not-found {
  padding: 0;
}

.not-found__block {
  border-left: 1px solid black;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}

@media screen and (max-width: 1220px) {
  .wpml-ls-current-language {
    padding-left: 30px;
  }
  .wpml-ls-item .sub-menu {
    padding-left: 30px !important;
  }
}

@media screen and (max-width: 992px) {
  .wpml-ls-current-language {
    padding-left: 0 !important;
    display: flex;
    align-items: center;
    gap: 15px;
  }
  .wpml-ls-item .sub-menu {
    padding-left: 0;
  }
  .wpml-ls-current-language a {
    font-size: 20px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.05em !important;
  }

  .wpml-ls-current-language > a:before {
    background-color: black !important;
    width: 100% !important;
  }

  .wpml-ls-current-language > a:after {
    display: none !important;
  }

  .news-list__row article:last-child {
    border-bottom: none !important;
  }

  .post-item-big .post-item__content {
    border-right: none;
  }

  .post-item-big .post-item__image {
    border-top: 1px solid black;
  }

  .post-item-empty {
    display: none !important;
  }
  .my-accordion-item__image {
    border-top: 1px solid black;
  }
  .contact-us__image {
    border-top: 1px solid black;
  }
  .not-found__block {
    padding: 36px 15px;
  }

}

@media screen and (max-width: 768px) {
  .not-found .container {
    padding: 0;
  }
}



.page-id-17 .list-strategy__lines {
  border-bottom: 1px solid black;
}