/* Adanet responsive and safety fixes. Keep this file after main.css. */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

img, svg, iframe, video {
  max-width: 100%;
}

.tp-header-main__area,
.tp-header-main__menu-wrapper,
.tp-header-main__menu-bg,
.tp-header-top__area {
  max-width: 100%;
}

.tp-header-top__right-wrap,
.tp-header-main__right-info ul,
.tp-header-main__menu-bg {
  flex-wrap: wrap;
}

.tp-header-top__social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.main-menu-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.main-menu-content li a {
  white-space: nowrap;
}

.tp-header-main__xl-logo img,
.tp-header-main__logo img {
  height: auto !important;
  max-height: 116px;
  object-fit: contain;
}

.tp-hero__bg {
  min-height: 420px;
  background-position: center center;
  background-size: cover;
}

.tp-price__item,
.tp-service-3__item,
.tp-contact-wrapper,
.tp-contact-form {
  height: 100%;
}

.tp-contact-map iframe {
  width: 100% !important;
  min-height: 320px;
  border: 0;
}

.tp-contact-content h3,
.tp-header-main__phone-content a,
.tp-header-main__phone-content span {
  overflow-wrap: anywhere;
}

@media (max-width: 1199.98px) {
  #header-sticky {
    width: 100% !important;
  }

  .tp-header-main__menu-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }

  .tp-header-main__right-wrapper {
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .tp-header-top__height {
    height: auto !important;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .tp-header-top__right-wrap {
    justify-content: center !important;
    gap: 8px;
  }

  .a-payment,
  .a-cabinet,
  .join-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
  }

  .tp-hero__bg {
    min-height: 360px;
    height: auto !important;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .tp-hero__title,
  .breadcrumb__title,
  .tp-section-title {
    font-size: clamp(28px, 6vw, 44px) !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tp-header-main__xl-logo {
    width: auto !important;
  }

  .tp-header-main__xl-logo img {
    max-width: 115px !important;
  }

  .tp-header-main__phone-wrap,
  .tp-header-top__social {
    display: none !important;
  }

  .tp-contact-area,
  .tp-price__area {
    padding-top: 60px !important;
    padding-bottom: 50px !important;
  }

  .tp-contact-content-mail,
  .tp-contact-content-phone,
  .tp-contact-content-whatsapp,
  .tp-contact-content-telegram {
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    gap: 12px;
    align-items: center !important;
  }

  .tp-contact-item-title {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    font-size: 18px !important;
  }

  .tp-contact-form input,
  .tp-contact-form textarea {
    width: 100%;
  }

  .buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 575.98px) {
  .tp-hero__bg {
    min-height: 320px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .tp-header-top__right-wrap a {
    font-size: 13px;
  }

  .breadcrumb__height {
    min-height: 230px;
  }
}
