@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,900,900italic,300italic,300,100italic,100);

.head-desktop{
  margin: 0 0 25px 0;
  padding-top: 25px;
}
.top-content{
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.top-content .top-logo{
  display: flex;
  gap: 30px;
  align-items:flex-end;
}

.top-content .top-logo .logo-blue{
  width: 175px;
}

.top-content .top-logo .text{
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  width: 175px;
  padding-bottom: 10px;
}

.top-content .top-contacts{
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-content .top-contacts .contacts a{
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.top-content .top-contacts .contacts a:hover{
  color:  #206092;
}

.head-desktop .bottom-content .main-menu{
  padding: 10px 0;
  font-size: 20px;
  line-height: 29px;
}

.head-desktop .bottom-content .main-menu .topmenu{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.head-desktop .bottom-content .main-menu ul li{
  list-style-type: none;
}

.head-desktop .bottom-content .menu-item a{
  position: relative;
}

.head-desktop .bottom-content .menu-item a:hover{
  color: #99E3FF;
}

.head-desktop .bottom-content .menu-item.active a{
 color: #A9CFEC;
}

.head-desktop .bottom-content .menu-item.active a:hover{
  color: #99E3FF;
}

  /* Dropdown Button */
.dropbtn{
  display: flex;
  align-items: center;
}

.dropbtn::after {
  margin-left: 5px;
  content: "";
  background-image: url("/templates/pl-pak/images/icons/chevron.svg");
  background-size: cover;
  width: 24px;
  height: 24px;
}

.head-desktop .bottom-content .dropdown.active a:hover::after,
.head-desktop .bottom-content .dropdown .dropbtn:hover::after{
  content: "";
  background-image: url("/templates/pl-pak/images/icons/chevron-hover.svg");
  background-size: cover;
}

.head-desktop .bottom-content .dropdown.active .dropbtn::after{
  content: "";
  background-image: url("/templates/pl-pak/images/icons/chevron-active.svg");
  background-size: cover;
}

/* Dropdown Content (Hidden by Default) */
.submenu {
  position: absolute;
  top: 39px;
  left: 0;
  width: max-content;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  background: #F0F8FD;
  border: 1px solid rgba(114, 155, 186, 0.3);
  border-radius: 0 0 2px 2px ;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.head-desktop .bottom-content .menu-item.active .submenu .submenu-item,
.submenu .submenu-item{
  position: static;
  padding: 7px 15px;
  border-bottom: 1px solid rgba(114, 155, 186, 0.3);
  color:  #0289CD;
  text-decoration: none;
  font-size: 18px;
  width: 100%;
}

.head-desktop .bottom-content .menu-item.active .submenu .submenu-item:hover,
.head-desktop .bottom-content .submenu .submenu-item:hover{
  text-decoration: none;
  color:  #206092;
}

.main-menu ul > li {
  display: inline-block;
  position: relative;
}

.main-menu ul > li:last-child {
  margin-right: 0;
}

.main-menu .submenu {
  visibility: hidden;
  opacity: 0;
}

.main-menu ul li:hover .submenu {
  visibility: visible;
  opacity: 1;
}

.head-mobile{
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
}

.head-mobile .mobile-logo img{
  width: 120px;
}

.head-mobile .mobile-menu{
  width: 24px;
  height: 24px;
}

/*Мобильное меню*/
.mobile-menu-modal{
  position: fixed; /* фиксированное положение */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(55, 55, 55, 0.75); /* цвет фона */
  z-index: 1050;
  opacity: 0; /* по умолчанию модальное окно прозрачно */
  -webkit-transition: opacity 200ms ease-in; 
  -moz-transition: opacity 200ms ease-in;
  transition: opacity 200ms ease-in; /* анимация перехода */
  pointer-events: none; /* элемент невидим для событий мыши */
  margin: 0;
  padding: 0;
}

.mobile-menu-modal:target {
  opacity: 1; /* делаем окно видимым */
  pointer-events: auto; /* элемент видим для событий мыши */
  overflow-y: hidden;
}

.mobile-menu-modal .modal-dialog{
  position: fixed; /* фиксированное положение */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.mobile-menu-modal .modal-content{
  padding: 30px 0;
  background: #F0F8FD;
}

.mobile-menu-modal .modal-header{
  padding: 0 20px;
}

.mobile-menu-modal .modal-header .logo{
  display: inline-block;
}
.mobile-menu-modal .modal-header .logo-blue{
  width: 130px;
}

.mobile-menu-modal .modal-header .text{
  font-weight: 500;
  font-style: normal;
  font-size: 14px;
  line-height: 100%;
  width: 150px;
  padding-bottom: 20px;
}

.mobile-menu-modal .modal-close-btn{
  right: 15px;
  top: 15px;
}

.modal-menu ul{
  padding: 0;
  list-style-type: none;
}

.modal-menu ul .menu-item:first-child{
  border-top: 1px solid rgba(114, 155, 186, 0.3);
}

.topmenu{
  list-style-type: none;
}

.modal-menu .menu-item{
  padding: 12px 20px;
  border-bottom: 1px solid rgba(114, 155, 186, 0.3);
  color:  #0289CD;
  text-decoration: none;
  font-size: 18px;
}

.modal-menu .menu-item a{
  color:  #0289CD;
}

.modal-menu .menu-item a:hover,
.modal-menu .menu-item a:active{
  color:  #206092;
}

.modal-contacts{
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px;
}

.modal-contacts .contacts a{
  font-family: 'Jost', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color:  #1C7BB8;
}



@media (max-width: 1260px){
  .top-content{
    margin-bottom: 15px;
  }
  .top-content .top-contacts .contacts a,
  .head-desktop .bottom-content .main-menu{
    font-size: 18px;
    line-height: 26px;
  }
  .head-desktop .bottom-content .menu-item.active .submenu .submenu-item,
  .submenu .submenu-item{
    padding: 6px 15px;
    font-size: 16px;
  }
  .dropbtn::after {
    margin-left: 2px;
    width: 18px;
    height: 18px;
  }
  .submenu {
    top: 36px;
  }
}

@media (max-width: 1024px){
  .top-content .top-logo{
    gap: 15px;
  }
  .top-content .top-logo .text{
    padding-bottom: 9px;
  }
  .top-content .top-contacts{
    gap: 20px;
  }
  .top-content .top-contacts .contacts a{
    gap: 5px;
  }
  .top-content .top-contacts .contacts svg{
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 940px){
  .top-content .top-logo .logo-blue{
    width: 135px;
  }
  .top-content .top-logo .text{
    font-size: 12px;
    width: 132px;
  }
  .head-desktop .bottom-content .main-menu{
    font-size: 14px;
    line-height: 20px;
  }
  .head-desktop .bottom-content .menu-item.active .submenu .submenu-item,
  .submenu .submenu-item{
    padding: 6px 10px;
    font-size: 14px;
  }
  .dropbtn::after {
    width: 14px;
    height: 14px;
  }
  .submenu {
    top: 30px;
  }
}

@media (max-width: 768px){
  .head-desktop{
    display: none;
  }
  .head-mobile{
    display: flex;
  }
}

@media (min-width: 767px){
  .mobile-menu-modal{
    display: none;
  }
}

 