:root {
  --theme-color-accent: #00affa;
  --theme-color-secondary: #022244;
  --theme-color-style3: #ffffff;
  --theme-color-style4: #e7ecf1;

  --theme-section-bg: #ffffff;
  --theme-section-border-color: #00affa;
  --theme-margin-section: 20px;
  --theme-margin-section-mob: 20px;
  --theme-block-padding: 30px;
  --theme-block-padding-mob: 16px;

  --theme-buttons-accent-bg: #00affa;
  --theme-buttons-accent-bg-hover: #14c3ff;
  --theme-buttons-accent-color: #ffffff;
  --theme-buttons-secondary-bg: #eeeeee;
  --theme-buttons-secondary-bg-hover: #f2f2f2;
  --theme-buttons-secondary-color: #022244;
  --theme-buttons-style3-bg: #022244;
  --theme-buttons-style3-bg-hover: #163658;
  --theme-buttons-style3-color: #ffffff;
  --theme-buttons-outline-border: #00affa;
  --theme-buttons-outline-bg-hover: #f2f2f2;
  --theme-buttons-outline-color: #163658;

  --theme-header-bg: #022244;
  --theme-header-text-color: #ffffff;
  --theme-color-border-header: #022244;

  --theme-footer-bg: #022244;
  --theme-footer-text-color: #ffffff;
  --theme-footer-menu-color: #9297a3;
  --theme-footer-hr-color: #23345e;

  --theme-rounded-section: 20px;
  --theme-rounded-button: 15px;
  --theme-rounded-images: 15px;
}
body {
  font-family: "Open Sans", sans-serif;
  background-color: var(--theme-body-bg);
  color: var(--theme-body-color);
}
body.mobile-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}
.wrap {
  padding-top: calc(120px + var(--theme-block-margin-bottom));
}
.container {
  max-width: 1280px;
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  margin: auto;
}
h1,
h2,
h3,
h4,
h5,
h3 {
  font-family: "Roboto Flex", sans-serif;
}
h1 {
  font-size: 32px;
  font-weight: 900;
}
h2 {
  font-size: 28px;
  font-weight: 800;
}
h3 {
  font-size: 20px;
  font-weight: 700;
}
h4,
h5,
h6 {
  font-size: 16px;
  font-weight: 600;
}
.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}
.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}
.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}
.ratio-21x9 {
  --bs-aspect-ratio: 42.8571428571%;
}
.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}
.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.wp-block-media-text {
  margin-bottom: var(--theme-block-margin-bottom);
}
.wp-block-media-text img {
  border-radius: var(--theme-rounded-images);
}
@media (max-width: 991px) {
  .wp-block-media-text {
    margin-bottom: var(--theme-block-margin-bottom-mob);
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;
  }
  .admin-bar .wrap {
    padding-top: calc(120px - 46px + var(--theme-block-margin-bottom));
  }
}

/**
	Wordpress
 */
:where(body .is-layout-flex) {
  gap: 12px;
}

/**
	Header
 */
header.header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 20;
  padding-bottom: 15px;
  color: var(--theme-header-text-color);
  background-color: var(--theme-header-bg);
  border-bottom: 1px solid var(--theme-color-border-header);
}
header.header .header__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: 0.5s;
}
header.header .logo {
  max-width: 175px;
}
header.header .logo img {
  max-height: 50px;
}
header.header .primary_menu_desktop_ver > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding-left: var(--theme-block-padding);
  padding-right: var(--theme-block-padding);
  background-color: var(--theme-section-bg);
  border-radius: var(--theme-rounded-section);
}
header.header .primary_menu_desktop_ver > ul > li {
  position: relative;
}
header.header .primary_menu_desktop_ver > ul > li.menu-item-has-children > a:after {
  display: inline-block;
  margin-left: 1px;
  vertical-align: middle;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
header.header .primary_menu_desktop_ver > ul > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--theme-body-color) !important;
  border: 1px solid transparent;
  border-radius: var(--theme-rounded-button);
}
header.header .primary_menu_desktop_ver > ul > li > a i {
  font-size: 14px;
}
header.header .primary_menu_desktop_ver > ul > li.current-menu-item > a,
header.header .primary_menu_desktop_ver > ul > li.current-menu-ancestor > a,
header.header .primary_menu_desktop_ver > ul > li > a.show-dropdown,
header.header .primary_menu_desktop_ver > ul > li > a:hover {
  color: var(--theme-color-style3) !important;
  background-color: var(--theme-color-secondary);
}
header.header .primary_menu_desktop_ver .arrow {
  display: none;
}
header.header .primary_menu_desktop_ver .sub-menu {
  position: absolute;
  top: 47px;
  left: -20px;
  z-index: 1000;
  display: none;
  min-width: 250px;
  padding: 15px;
  margin: 0;
  text-align: left;
  list-style: none;
  background-clip: padding-box;
  background-color: var(--theme-section-bg);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: var(--theme-rounded-section);
}
header.header .primary_menu_desktop_ver .sub-menu.show {
  display: flex;
  flex-direction: column;
}
header.header .primary_menu_desktop_ver .sub-menu a {
  display: block;
  text-decoration: none;
  padding: 10px;
  color: var(--theme-body-color);
  border-radius: var(--theme-rounded-button);
}
header.header .primary_menu_desktop_ver .sub-menu a:hover {
  color: var(--theme-color-style3);
  background-color: var(--theme-color-secondary);
}
header.header .buttons_container {
  display: flex;
  align-items: center;
}
header.header .buttons_container .buttons {
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-gap: 8px;
  margin: 0 0 0 18px;
}
header.header .buttons_container .buttons button.outline {
  color: var(--theme-header-text-color);
}
header.header .buttons_container .buttons button.outline:hover {
  background-color: transparent;
}
header.header .lang {
  position: relative;
  margin-right: 8px;
}
header.header .lang button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  width: 50px;
  height: 40px;
  border: 1px solid var(--theme-buttons-outline-border);
  color: var(--theme-header-text-color);
  border-radius: var(--theme-rounded-button);
}
header.header .lang button:after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
header.header .lang button.active:after {
  transform: rotate(180deg);
}
header.header .lang .lang-menu {
  position: absolute;
  top: 45px;
  left: -9px;
  z-index: 1000;
  display: none;
  padding: 15px;
  margin: 0;
  text-align: left;
  list-style: none;
  background-clip: padding-box;
  background-color: var(--theme-section-bg);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border-radius: var(--theme-rounded-section);
}
header.header .lang .lang-menu.show {
  display: flex;
  flex-direction: column;
}
header.header .lang .lang-menu a {
  display: block;
  text-decoration: none;
  padding: 5px 10px;
  font-size: 14px;
  color: var(--theme-body-color);
  border-radius: var(--theme-rounded-button);
}
header.header .lang .lang-menu a:hover {
  color: var(--theme-color-style3);
  background-color: var(--theme-color-secondary);
}
header.header .mobile_menu_button {
  display: none;
  position: absolute;
  right: 0;
  top: 16px;
  width: 40px;
  height: 40px;
  background-color: var(--theme-color-accent);
  border-radius: var(--theme-rounded-button);
}
header.header .mobile_menu_button span {
  position: absolute;
  right: 9px;
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--theme-header-text-color);
}
header.header .mobile_menu_button span:nth-child(1) {
  top: 12px;
}
header.header .mobile_menu_button span:nth-child(2) {
  top: 20px;
  width: 18px;
}
header.header .mobile_menu_button span:nth-child(3) {
  top: 28px;
}
header.header .mobile_menu_button.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}
header.header .mobile_menu_button.active span:nth-child(2) {
  transform: rotate(-45deg);
  width: 22px;
}
header.header .mobile_menu_button.active span:nth-child(3) {
  display: none;
}
header.header .mobile_menu_container {
  display: none;
  position: absolute;
  top: 135px;
  left: 10px;
  right: 10px;
  padding: 16px;
  background-color: var(--theme-section-bg);
  border-radius: var(--theme-rounded-section);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
header.header .mobile_menu_container.show {
  display: block;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li {
  position: relative;
  margin-right: 45px;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--theme-body-color) !important;
  border-radius: var(--theme-rounded-button);
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li > a i {
  font-size: 14px;
  width: 28px;
  text-align: center;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li a:after {
  display: none !important;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li .arrow {
  position: absolute;
  top: 5px;
  right: -38px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-body-color) !important;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li .arrow:after {
  content: "";
  display: inline-block;
  vertical-align: 0.255em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
header.header .mobile_menu_container .primary_menu_mobile_ver > ul > li .arrow.show:after {
  transform: rotate(180deg);
}
header.header .mobile_menu_container .sub-menu {
  display: none;
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0 0 0 50px;
  text-align: left;
  list-style: none;
  background-clip: padding-box;
  background-color: transparent;
}
header.header .mobile_menu_container .sub-menu.show {
  display: block;
}
header.header .mobile_menu_container .sub-menu a {
  display: block;
  text-decoration: none;
  padding: 10px;
  font-size: 15px;
  color: var(--theme-body-color);
}
body.admin-bar .header.header {
  top: 32px;
}
body.home header.header .primary_menu_desktop_ver > ul > li > a {
  background-color: transparent !important;
}
body.home header.header .primary_menu_desktop_ver > ul > li > a.show-dropdown,
body.home header.header .primary_menu_desktop_ver > ul > li > a:hover {
  background-color: var(--theme-color-secondary) !important;
}
@media (max-width: 991px) {
  header.header .header__container {
    flex-direction: column;
    height: 110px;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;
    padding-top: 15px;
  }
  header.header .logo {
    max-width: 140px;
  }
  header.header .logo .custom-logo-link {
    height: 40px;
    display: flex;
    align-items: center;
  }
  header.header .logo img {
    max-height: 40px;
    width: auto;
  }
  header.header .buttons_container {
    justify-content: center;
    width: 100%;
  }
  header.header .buttons_container .buttons {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin: 0;
  }
  header.header .buttons_container .buttons .btn {
    min-width: auto;
  }
  header.header .lang {
    position: absolute;
    right: 50px;
    top: 16px;
    margin: 0;
  }
  header.header .mobile_menu_button {
    display: block;
  }
  header.header .desktop_menu_container {
    display: none;
  }
}
@media (max-width: 782px) {
  body.admin-bar .header.header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar .header.header {
    top: 0;
  }
}
