header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  z-index: 999;
}
header.sticky {
  position: fixed;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.07);
}
.header-top-block{
  padding: 2.4rem 0;
}
header.sticky .header-top-block{
  padding: 0;
}
.logo a{
  display: block;
}
.logo img{
  width: 100%;
  max-width: 24.5rem;
  height: auto;
}
header.sticky .logo{
  position: absolute;
  top: 2rem;
}
header.sticky .logo img{
  max-width: 18rem;
}
header.sticky .header-top-right{
  display: none;
}
.header-top-item{
  margin-left: 2.8rem;
  align-items: flex-end;
}
.header-top-item:first-child{
  margin-left: 0;
}
.header-top-icon{
  width: 2.4rem;
  margin-right: 0.6rem;
}
.header-top-text span{
  display: block;
  margin-bottom: 0.6rem;
  color: var(--blue-extra-light);
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 1.5rem;
  font-weight: 500;
}
.header-top-btn{
  margin-left: 4rem;
}
.header-top-btn .btn img{
  margin-left: 0;
  margin-right: 1.2rem;
}
.header-bottom{
  border-top: 1px solid var(--border-color);
}
header.sticky .header-bottom{
  padding: 1.4rem 0;
  border: 0;
}
header.sticky .menu-outer{
  padding-left: 22rem;
}
.menu-head{
  display: none;
}
.menu > ul{
  display: flex;
}
.menu > ul > li:first-child{
  min-width: 4.2rem;
}
.menu > ul > li > a{
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.8rem;
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 500;
  color: var(--blue);
  border-radius: 0.4rem 0.4rem 0 0;
  white-space: nowrap;
}
.menu > ul > li:first-child > a{
  padding-left: 0;
  background: transparent !important;
}
.menu > ul > li.active > a{
  background: #00163D;
  color: var(--white);
}
.menu > ul > li.hasChild > a::after{
  position: relative;
  content: "";
  width: 1rem;
  height: 0.7rem;
  margin-left: 0.8rem;
  background: url(../images/icon-chevron-down.svg);
  background-size: cover;
  background-position: center;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.menu > ul > li.hasChild.active > a::after{
  -webkit-filter: brightness(0) invert(100%);
  filter: brightness(0) invert(100%);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
@media(min-width:992px){
  .menu > ul > li:hover > a{
    background: #00163D;
    color: var(--white);
  }
  .menu > ul > li.hasChild:hover > a::after{
    -webkit-filter: brightness(0) invert(100%);
    filter: brightness(0) invert(100%);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}
.opensubmenu{
  display: none;
}
.submenu{
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 25rem;
  border: 1px solid #00163D;
  background: var(--white);
  border-radius: 0 0 0.4rem 0.4rem;
  padding: 2.8rem 4.8rem 2.8rem 1.8rem;
  display: none;
}
.menu > ul > li.hasChild:hover .submenu{
  display: block;
}
.submenu-head{
  display: none;
}
.submenu-list li{
  border-bottom: 1px solid var(--border-color);
}
.submenu-list li:last-child{
  border: 0;
}
.submenu-list li a{
  position: relative;
  font-size: 1.6rem;
  line-height: 120%;
  display: flex;
  align-items: center;
  color: var(--blue);
  white-space: nowrap;
  padding: 1.6rem 2.5rem 1.6rem 0;
  font-weight: 300;
}
.submenu-list li:first-child a{
  padding-top: 0;
}
.submenu-list li:last-child a{
  padding-bottom: 0;
}
.submenu-list li.active a,
.submenu-list li:hover a{
  text-shadow: 1px 0px var(--blue);
}
.submenu-list li a:after{
  position: absolute;
  content: none;
  width: 0.7rem;
  height: 1rem;
  right: 0;
  background: url(../images/icon-arrow-right.svg);
  background-size: cover;
  background-position: center;
}
.submenu-list li.active a::after,
.submenu-list li:hover a::after{
  content: "";
}
.header-btn{
  display: none;
}
.toggleMenu{
  margin-left: auto;
  height: 3.2rem;
  width: 3.2rem;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.toggleMenu span{
  width: 2.8rem;
  height: 0.2rem;
  background: var(--blue);
  margin: 0.35rem 0;
}
@media(min-width:1360px) and (max-width:1403.98px){
  .header-top-block {
    padding: 2rem 0;
  }
  .logo img {
    max-width: 21.5rem;
  }
  .menu > ul > li > a {
    padding: 1.7rem;
    font-size: 1.7rem;
  }
  .submenu {
    padding: 2.4rem 4rem 2.4rem 1.7rem;
  }
  .submenu-list li a {
    font-size: 1.5rem;
    padding: 1.3rem 2rem 1.3rem 0;
  }
}
@media(min-width:1200px) and (max-width:1359.98px){
  .header-top-block {
    padding: 1.8rem 0;
  }
  header.sticky .logo {
    top: 1.7rem;
  }
  .logo img {
    max-width: 20rem;
  }
  header.sticky .logo img {
    max-width: 16rem;
  }
  .header-top-item {
    margin-left: 2.4rem;
  }
  .header-top-icon {
    width: 2.2rem;
  }
  .header-top-text span {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }
  .header-top-btn {
    margin-left: 3rem;
  }
  header.sticky .header-bottom {
    padding: 1rem 0;
  }
  header.sticky .menu-outer {
    padding-left: 19rem;
  }
  .menu > ul > li:first-child {
    min-width: 3.5rem;
  }
  .menu > ul > li > a {
    padding: 1.5rem 1.3rem;
    font-size: 1.6rem;
  }
  .menu > ul > li > a > img{
    width: 2.2rem;
  }
  .submenu {
    padding: 2.4rem 3.2rem 2.4rem 1.3rem;
  }
  .submenu-list li a {
    font-size: 1.4rem;
    padding: 1.2rem 2rem 1.2rem 0;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .header-top-block {
    padding: 1.6rem 0;
  }
  .logo img {
    max-width: 18.5rem;
  }
  header.sticky .logo {
    top: 1.8rem;
  }
  header.sticky .logo img {
    max-width: 14rem;
  }
  .header-top-item {
    margin-left: 2.4rem;
  }
  .header-top-icon {
    width: 2.2rem;
  }
  .header-top-text span {
    font-size: 1.1rem;
    line-height: 1.4rem;
  }
  .header-top-btn {
    margin-left: 2.4rem;
  }
  header.sticky .header-bottom {
    padding: 1rem 0;
  }
  header.sticky .menu-outer {
    padding-left: 16rem;
  }
  .menu > ul > li:first-child {
    min-width: 3.2rem;
  }
  .menu > ul > li > a {
    padding: 1.5rem 1rem;
    font-size: 1.5rem;
  }
  header.sticky .menu > ul > li > a {
    font-size: 1.4rem;
  }
  .menu > ul > li.hasChild > a::after {
    margin-left: 0.6rem;
  }
  .menu > ul > li > a > img{
    width: 2.2rem;
  }
  .submenu {
    min-width: 20rem;
    padding: 2rem 3.2rem 2rem 1rem;
  }
  .submenu-list li a {
    font-size: 1.4rem;
    padding: 1.2rem 2rem 1.2rem 0;
  }
}
@media(max-width:991.98px){
  html.showmenu{
    overflow: hidden;
  }
  header {
    position: fixed;
  }
  .header-top-block {
    padding: 1.6rem 0 !important;
  }
  header.sticky .logo {
    position: relative;
    top: 0;
  }
  .logo img {
    max-width: 16.5rem !important;
  }
  .header-top-right{
    display: none !important;
  }
  .toggleMenu{
    display: flex;
  }
  header.sticky .header-bottom {
    padding: 0;
  }
  .menu-outer{
    position: fixed;
    top: 0;
    right: -100%;
    padding-left: 0 !important;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  html.showmenu .menu-outer{
    right: 0;
  }
  .menu-head,.submenu-head{
    display: flex;
    height: 5rem;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.8rem;
    color: var(--blue);
    font-weight: 500;
    cursor: pointer;
  }
  .submenu-head{
    justify-content: flex-start;
  }
  .submenu-head img{
    margin-right: 1rem;
    width: 1rem;
  }
  #menuClose {
    height: 3.2rem;
    width: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .menu > ul {
    flex-wrap: wrap;
  }
  .menu,.submenu-list{
    height: calc(100dvh - 5rem);
    overflow: hidden;
    overflow-y: auto;
  }
  .menu.open{
    overflow: initial;
  }
  .menu > ul > li,
  .submenu-list li{
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  .menu > ul > li > a,
  .submenu-list li a{
    padding: 1.5rem !important;
    font-size: 1.6rem;
    line-height: 2rem;
    white-space: normal;
    border-radius: 0;
    font-weight: 500;
    color: var(--blue);
  }
  .menu > ul > li:first-child > a{
    padding: 1.3rem 1.5rem !important;
  }
  .menu > ul > li.hasChild > a{
    padding-right: 6rem;
  }
  .menu > ul > li.hasChild > a::after{
    content: none;
  }
  .opensubmenu {
    position: absolute;
    top: 0;
    right: 0;
    height: 5rem;
    width: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: pointer;
  }
  .submenu {
    position: fixed;
    left: auto;
    top: 0;
    right: -100%;
    min-width: 100%;
    border: 0;
    background: var(--white);
    border-radius: 0;
    padding: 0;
    display: block;
    z-index: 2;
    height: 100dvh;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
  }
  .submenu.open{
    right: 0;
  }
  .submenu-list li.active a, 
  .submenu-list li:hover a {
    text-shadow: none;
    background: #00163D;
    color: var(--white);
  }
  .submenu-list li.active a::after, 
  .submenu-list li:hover a::after {
    content: none;
  }
  .header-btn{
    display: block;
    padding: 1.5rem;
  }
  .header-btn .btn{
    width: 100%;
  }
  .header-btn .btn img{
    margin-left: 0;
    margin-right: 1.2rem;
  }
}