:root {
  --header-height: 80px;
}
@media (max-width: 1199px) {
  :root {
    --header-height: 60px;
  }
}

.tcl-header {
  position: sticky;
  top: 0;
  z-index: 11111;
  background-color: #fff;
  -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
          box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}
@media (max-width: 1199px) {
  .tcl-header .hide-on-mobile {
    display: none;
  }
}
.tcl-header__langs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 10px;
}
.tcl-header__langs-item {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  padding: 0 10px;
  position: relative;
}
.tcl-header__langs-item:hover {
  opacity: 0.7;
}
.tcl-header__langs-item:not(:first-child) {
  border-left: 1px solid #000;
}
.tcl-header__langs-item.active:after {
  position: absolute;
  content: "";
  left: 10px;
  bottom: 2px;
  width: calc(100% - 20px);
  height: 1px;
  background-color: #000;
}
@media (max-width: 1199px) {
  .tcl-header__wrapper {
    height: var(--header-height);
  }
}
.tcl-header__logo {
  position: absolute;
  left: 25px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: auto;
  height: 75%;
}
.tcl-header__logo img {
  height: 100%;
  width: auto;
}
@media (max-width: 1199px) {
  .tcl-header__logo {
    left: 10px;
  }
}
.tcl-header__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  height: 100%;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  top: 0;
  position: absolute;
  z-index: 111111;
  right: 100%;
}
@media (max-width: 1199px) {
  .tcl-header__buttons--mobile-hidden {
    display: none !important;
  }
}
@media (max-width: 1199px) {
  .tcl-header__buttons {
    top: var(--header-height);
    right: 0;
    position: fixed;
    height: var(--header-height);
    width: 170px;
  }
}
.tcl-header__buttons a {
  background-color: #cc0000;
  font-size: 18px;
  line-height: 120%;
  text-decoration: none !important;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  cursor: pointer;
  color: #fff;
  min-height: 50px;
  min-width: 145px;
  padding: 10px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  border: 1px solid #cc0000;
  text-align: center;
  width: 85px;
  min-width: 0;
  text-align: center;
  font-size: 16px;
  height: 100%;
  padding: 0;
}
.tcl-header__buttons a:hover {
  background-color: transparent;
  color: #cc0000;
}
@media (max-width: 1199px) {
  .tcl-header__buttons a {
    width: 100%;
  }
}
.tcl-header__buttons.fixed {
  top: 100px;
  right: -15px;
  width: 170px;
  height: 60px;
}
@media (max-width: 1199px) {
  .tcl-header__buttons.fixed {
    top: unset;
    width: 100%;
    bottom: 0;
    right: 0;
  }
}
.tcl-header__icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 10px;
}
.tcl-header__icon {
  margin-left: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 1199px) {
  .tcl-header__icon {
    margin-left: 20px;
  }
}
.tcl-header__icon img {
  width: 21px;
  height: 21px;
}
.tcl-header__right-part {
  position: absolute;
  right: 15px;
  top: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.tcl-header__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: var(--header-height);
  position: relative;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 22222;
}
@media (max-width: 1199px) {
  .tcl-header__menu a:after {
    -webkit-transition: 0.4s ease;
    transition: 0.4s ease;
  }
  .tcl-header__menu a.active:after {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }
}
@media (max-width: 1199px) {
  .tcl-header__menu {
    position: fixed;
    left: 0;
    top: var(--header-height);
    width: 100%;
    background-color: #fff;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: auto;
    display: none;
    padding: 0 20px;
    z-index: 11111;
  }
}
.tcl-header__menu-link > a {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: inherit;
  position: relative;
  margin: 0 20px;
}
@media (min-width: 1200px) {
  .tcl-header__menu-link > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    height: 1px;
    width: 100%;
    background: #000000;
    opacity: 0;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
  }
}
@media (min-width: 1200px) {
  .tcl-header__menu-link:hover > a::after {
    opacity: 1;
  }
  .tcl-header__menu-link:hover .tcl-header__sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-transition: 0.6s ease;
    transition: 0.6s ease;
  }
}
.tcl-header__sub-menu {
  position: absolute;
  top: 100%;
  left: -15%;
  width: 130%;
  background-color: #fff;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  padding: 30px 120px;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    display: none;
    padding: 0;
    width: 100%;
    padding-left: 20px;
  }
}
.tcl-header__sub-menu a {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.tcl-header__sub-menu a:hover {
  opacity: 0.5;
}
.tcl-header__sub-menu-heading {
  font-size: 28px;
  margin-bottom: 30px;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu-heading {
    display: none;
  }
}
.tcl-header__sub-menu-column {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.tcl-header__sub-menu .col-xl-4 {
  position: relative;
}
.tcl-header__sub-menu .col-xl-4:not(:last-child):after {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  top: 0;
  right: 12px;
  background: #c4c4c4;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu .col-xl-4:not(:last-child):after {
    display: none;
  }
}
.tcl-header__sub-menu-first-link {
  margin-bottom: 30px;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu-first-link {
    margin-bottom: 0;
  }
}
.tcl-header__sub-menu-first-link a {
  color: inherit;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu-first-link a {
    color: #000;
  }
}
.tcl-header__sub-menu-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu-links {
    padding-left: 20px;
    display: none;
  }
}
.tcl-header__sub-menu-links a {
  font-size: 14px;
  line-height: 16px;
  color: #000;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-bottom: 15px;
}
@media (max-width: 1199px) {
  .tcl-header__sub-menu-links a {
    margin-bottom: 0;
    font-size: 16px;
  }
}
.tcl-header__sub-menu-button {
  margin-top: auto;
  margin-bottom: 0;
}
.tcl-header__sub-menu-button a {
  background-color: var(--button-color);
  font-size: 18px;
  line-height: 120%;
  text-decoration: none !important;
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
  cursor: pointer;
  color: #fff;
  min-height: 50px;
  min-width: 145px;
  padding: 10px 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--button-color);
  text-align: center;
}
.tcl-header__sub-menu-button a:hover {
  background-color: transparent;
  color: var(--button-color);
}
.tcl-header__hamburger {
  display: none;
  cursor: pointer;
  margin-left: 20px;
}
@media (max-width: 1199px) {
  .tcl-header__hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.tcl-header__hamburger .hamburger {
  position: relative;
  z-index: 2;
}
.tcl-header__hamburger .hamburger .line {
  width: 30px;
  height: 3px;
  background-color: #000;
  display: block;
  margin: 6px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.tcl-header__hamburger .hamburger.is-active .line:nth-child(2) {
  opacity: 0;
}
.tcl-header__hamburger .hamburger.is-active .line:nth-child(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
      -ms-transform: translateY(9px) rotate(45deg);
          transform: translateY(9px) rotate(45deg);
}
.tcl-header__hamburger .hamburger.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
      -ms-transform: translateY(-9px) rotate(-45deg);
          transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1199px) {
  .tcl-header__menu-link > a,
  .tcl-header__sub-menu-first-link > a,
  .tcl-header__sub-menu-links a,
  .tcl-header__sub-menu-button a {
    padding: 10px 0;
    border-bottom: 1px solid #333;
    padding-right: 20px;
    width: 100%;
    display: block;
    position: relative;
    margin: 0;
    opacity: 1 !important;
  }
  .tcl-header__menu-link > a:after,
  .tcl-header__sub-menu-first-link > a:after,
  .tcl-header__sub-menu-links a:after,
  .tcl-header__sub-menu-button a:after {
    position: absolute;
    content: "";
    width: 15px;
    height: 100%;
    right: 10px;
    top: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/wp-content/themes/mfm/images/arrow-pointing-to-right.svg);
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
  }
  .tcl-header__menu-link > a.active:after,
  .tcl-header__sub-menu-first-link > a.active:after,
  .tcl-header__sub-menu-links a.active:after,
  .tcl-header__sub-menu-button a.active:after {
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
  }
  .tcl-header__sub-menu-button a {
    width: 100%;
    background-color: transparent;
    color: #000 !important;
    border: none;
    border-bottom: 1px solid #333;
    text-align: left;
    min-width: auto;
    min-height: auto;
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
  }
  .tcl-header__sub-menu-links a:after {
    background-image: none !important;
  }
}