@import "../../base.css";

.bg-overlay {
  position: fixed;
  background: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
}

.bg-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* header */
.header {
  position: absolute;
  top: 15px;
  width: 100%;
  z-index: 4;
}

.header.header-post {
  position: relative;
  background: var(--bg-primary);
  top: 0;
  padding: 20px 0;
}

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

/* logo */
.header .header-logo img {
  max-width: 260px;
  object-fit: cover;
}

.header .navbar-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* button header */
.header .button-header-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 96px;
  min-width: 160px;
  height: 40px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-left: 12px;
}

.header .navbar-zone .mobile-nav {
  display: none;
}

.header .navbar-zone ul {
  margin: 0;
  padding: 0;
}

.header .navbar-zone ul li {
  display: inline-block;
  list-style-type: none;
  height: 22px;
  margin-left: 32px;
}

.header .navbar-zone ul .current-menu-item a {
  color: #398ff2;
}

.header .navbar-zone ul li a {
  text-decoration: none;
  font-style: normal;
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
  transition: 0.4s;
}
.header .navbar-zone ul li:hover a {
  color: #398ff2;
}

.header .navbar-zone .navbar-list .nav-link {
  padding-right: 0;
  padding-left: 0;
}

/* .block-link-contact */
.block-link-contact {
  background: #6fa6d8;
  position: fixed;
  z-index: 11;
  bottom: 0;
  right: 0;
  border: 4px solid #fff;
  box-shadow: 0 3px 10px #ccc;
  height: 170px;
  width: 250px;
  transition: 0.4s;
}

.block-link-contact.d-none {
  display: none;
}

.block-link-contact .block-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.block-link-contact .block-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #fff;
}
.block-link-contact .block-desc {
  font-size: 1.6rem;
  color: #fff;
}

.block-link-contact .button-link {
  font-size: 16px;
  color: #fff;
  width: 200px;
  margin-top: 25px;
}

.header .navbar-zone ul .current-menu-item a {
  color: #6fa6d8;
}

.block-link-contact .icon-close {
  height: 38px;
  width: 38px;
  position: absolute;
  top: -20px;
  left: -20px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  background: #6f6f6f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-link-contact .icon-close img {
  width: 20px;
  border-radius: 50%;
}

.header .mobile_menu_button .bar {
  height: 3px;
  background-color: #fff;
}

.header .navbar-zone ul .current-menu-item a {
  color: #fff;
}

.home-navigation-bar-mobile {
  display: none;
}

/* .header .navbar-zone ul li a:hover {
  color:#fff;
} */


 @media (min-width: 992px) and (max-width: 1024px) {
  .anket-homepage .maketing-research .widget_media_image img{
    width: 100%;
  }
}

@media (max-width: 991px) {

  .header .button-header-link {
    display: none !important;
  }

  .header .header-logo {
    display: block;
  }
  .header .header-logo img {
    max-width: 100%;
  }

  .home-navigation-bar-mobile {
    display: block;
  } 

  .home-navigation-bar {
    display: none;
  }

  .header .navbar-zone ul li {
    display: block;
    border-bottom: 2px dotted #999;
  }

  .header .navbar-zone ul li:nth-child(1) {
    border-top: 2px dotted #999;
  }

  .header .mobile_menu_button {
    height: 30px;
    width: 30px;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    border: none;
    flex-flow: column;
    border-radius: 3px;
    cursor: pointer;
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    z-index: 111;
    top: 10px;
    right: 10px;
  }

  .header .navbar-menu-content{
    position: fixed;
    top: 0;
    right: -200px;
    background: #f1efed;
    display: block;
    width: 320px;
    padding: 70px 0 40px 60px;
    z-index: 4;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s;
  }

  .navbar-zone  {
    overflow: auto;
    height: 100%;
  }

  .header .navbar-menu-content.active{
    visibility: visible;
    opacity: 1;
    right: 0;
  }

  .mobile_menu_button.active .bar {
    background: #484848;
  }

  .head-container_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
  }

  .header .button-header-link  {
    display: flex;
    flex-direction: column;  
  }

  .header .button-header-link  a {
    margin-bottom: 15px;
    margin-left: 0;
    background: #6fa6d8;
    font-weight: bold;
    box-shadow: 0 3px 10px #ccc;
  }

  .header .navbar-zone ul {
    text-align: left;
  }

  .header .navbar-zone ul li{
    margin-left: 0;
    height: auto;
  }

  .header .navbar-zone ul li a {
    padding: 13px 0;
    display: block;
    color: #4c4c4c;
    font-weight: bold;
  }

  .header .mobile_menu_button {
    transition: 0.4s;
  }

/* 
  .header .mobile_menu_button {
    align-items: center;
    justify-content: center;
    position: relative;
  }
   */
  .mobile_menu_button .bar {
    background-color: #fff;
    height: 15px;
    width: 30px;
    border-radius: 5px;
    position: absolute;
    left: 0;
    transition: 0.4s;
  }
  
  .mobile_menu_button .bar1 {
    top: 0px;
  }
  
  .mobile_menu_button .bar2 {
    top: 10px;
  }
  
  .mobile_menu_button .bar3 {
    top: 20px;
  }
  
  .mobile_menu_button.active .bar1 {  
    top: 10px;
    height: 3px;
    transform: rotate(45deg);
  }
  
  .mobile_menu_button.active .bar2 {
    opacity: 0;
  }
  
  .mobile_menu_button.active .bar3 {  
    top: 10px;
    height: 3px;
    transform: rotate(-45deg);
  }

  .header .navbar-zone ul .current-menu-item a {
    color : #398ff2;
  }

  .header .navbar-zone ul {
    padding: 0 0 30px 0;
  }

  .big-banner-desc a {
    color: #fff;
    font-size: 1.5rem;
    width: 49%;
    border: 2px solid #fff;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 96px;
    font-weight: bold;
  }

  .button-header-link-mobile {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 120px;
  }

  .block-link-contact {
    width: 100%;
    padding: 25px 40px;
    height: unset;
    border: none;
  }

  .block-link-contact .block-title, .block-link-contact .block-desc{
    display: none;
  }

  .block-link-contact .button-link {
    width: 90%;
    margin: 0;
    height: 55px;
    font-size: 2.4rem;
    font-weight: bold;
  }

  .block-link-contact .icon-close {
    left: unset;
    right: 40px;
    top: -20px;
  }
}
