/* ============== Media Tags =============== */
/* 
#    min-width : 1024px
#    max-width : 1400px
#    max-width : 1200px
#    max-width : 1024px
#    max-width : 991px
#    max-width : 820px
#    max-width : 768px
#    max-width : 680px
#    max-width : 480px
#    max-width : 400px
#    max-width : 375px
*/

/* ============== Media Settings =============== */

@media only screen and (max-width: 1400px) {
  /* .main_banner_content-wrapper {
    max-width: 600px;
  } */
  .main_banner_content h2 {
    font-size: 100px;
  }
  /* .main_banner_image {
    transform: translateX(660px);
  } */
  .main_banner-wrapper {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: 4%;
  }
  .main_banner_content-wrapper {
    max-width: 48%;
  }
  .main_banner_image {
    max-width: 48%;
    transform: none;
    margin-left: 0;
    position: static;
  }
}

@media only screen and (max-width: 1280px) {
  .menu_group--header .menu_group__link {
    padding: 20px 10px;
  }
  .logo__link {
    max-width: 100px;
  }
  .header-contact__section svg {
    margin-right: 5px;
  }
  .another_phones-wrapper {
    padding: 12px 10px;
  }
}
@media only screen and (max-width: 1200px) {
  .banner_group__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
.post__wrapper {
    gap: 30px;
  }
  .post_container__wallpaper {
    min-height: 490px;
  }
  .block__description iframe {
    height: 490px;
  }
  .block__description img {
      max-height: 490px;
    }
  .quote_block-wrapper {
    padding-bottom: 300px;
  }
  .article__image, .article__image img {
    max-height: 230px;
  }
  .article__image {
    height: 230px;
  }
  .menu_switcher {
    margin: 0px;
    display: flex !important;
    justify-content: flex-end;
    flex: unset;
  }

  .menu_switcher svg {
    height: 25px;
    width: 25px;
    color: #fff;
  }

  .header__menu {
    display: none !important;
  }
  .advantages-items {
    grid-template-columns: repeat(3, 1fr);
  }
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper {grid-template-columns: repeat(3, 1fr);}
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+4) {display: none;}
  .main_banner_block-wrapper {
    padding-top: 20px;
  }
  /* .main_banner_content-wrapper {
    max-width: 500px;
  }
  .main_banner_image {
    transform: translateX(560px);
} */
}
@media only screen and (max-width: 1045px){
.blog_container{
  width: 100%;
}
.sidebar:not(.sidebar--user) {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: calc(100vw - 50px);
  height: 100vh;
  display: block;
  padding: 45px 5px 5px;
  overflow-y: auto;
  transition: 0.3s;
  background: #212121;
}
.blog_container--left,
.post_container--left {
  margin-right: 0;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  margin-left: 0;
}
}

@media only screen and (max-width: 991px) {
  /* .our_services__img, .our_services__img img {
    max-height: 180px;
  } */
  .fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
}
.fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+3) {
    display: none;
}
.projects__image {
    max-width: 400px;
  }
  .projects__ttl {
    font-size: 20px;
  }
  .projects__text {
    font-size: 16px;
  }
  .industrial_drilling__content {
    font-size: 16px;
    padding: 20px;
  }
  .industrial_drilling__wrap {
    gap: 20px;
  }
  .industrial_drilling {
    gap: 60px;
  }
  .projects__wrap {
    gap: 30px;
  }
   .drilling_item__ttl {
    font-size: 22px;
  }
  .drilling_item__annotation {
    font-size: 16px;
  }
  .block_grid {
    grid-template-columns: 67% 29%;
    gap: 4%;
  }
  .blog_container .article_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner_group__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .section_white, .section {
    padding: 50px 0;
}
.b2b .section, .b2b .section_white, .section_image {
    padding: 100px 0;
}
.b2b .heading_wrapper .h2 {
  font-size: 32px;
}
.working_with_legal h3 {
    font-size: 20px;
  }
.section_image {
  padding-top: 110px;
}
  .logo__link {
      max-width: 120px;
  }
  .article__image, .article__image img {
    max-height: 300px;
  }
  .article__image {
    height: 300px;
  }
  .h1,
  h1 {
    font-size: 38px;
  }
  h2,
  .h2 {
    font-size: 32px;
  } 
  .h3,
  h3 {
    margin-bottom: 20px;
  }
  .h4, h4 {
    font-size: 20px;
  }
  .block__description .banner_container {
    margin-bottom: 20px;
}
  header .hidden-md-down {
    display: none !important;
  }
.about-items {grid-template-columns: repeat(2, 1fr);}
.callback_border {max-width: 100%;}

  .main_banner_description {
    font-size: 18px;
    margin-bottom: 50px;
    text-align: center;
  }

  .quote_block-wrapper {
    padding-bottom: 420px;
  }
  .main_banner_block-wrapper .social__link {
    height: 50px;
    width: 50px;
  }
  .activity-wrapper img {
    min-height: 380px;
    height: 100%;
  }

  .sentence-wrapper {
    max-width: calc(100vw / 2 + 720px / 2 + 7px);
  }

  .sentence_description-wrapper {
    padding: 50px 20px;
  }

  .sentence_img-wrapper img {
    height: 100%;
    width: 100%;
  }
  .footer_column-wrapper {
    transform: translateY(0);
  }
  .footer_column_part {
    max-width: unset;
  }

  .footer_slogan{
    max-width: 50%;
  }
  .activity-wrapper > * {
    max-height: none;
  }
  .footer_column_block-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer__contact_item .office {
    margin-bottom: 20px;
}
  .footer_column_block-wrapper > .f_col-lg:not(:first-child) {
    border-bottom: 1px solid #616161;
  }
  footer .footer__title {
    border: 1px solid #959595;
    margin-bottom: 10px;
    padding: 0 15px;
    border-radius: 4px;
    background: transparent;
    line-height: 36px;
    text-transform: uppercase;
    color: var(--second-company-text);
    font-weight: 500;
    font-size: 14px;
    position: relative;
  }
  .footer__logo {
    margin-bottom: 20px;
}
.footer__title_arrow {
  position: absolute;
  top: 0;
}
  .quote_block {
    right: 0;
  }

  .footer__hidden {
    display: none;
  }
  .activity_content {
    -webkit-line-clamp: 10;
  }
  .activity_img {
    min-height: 400px;
    max-height: 400px;
  }
  .pagination-lock {
    display: block;
  }
  .banner_container {
    padding-bottom: 45px;
}
  .info__wrapper{
    grid-template-columns: auto;
  }
  .info__wrapper .post_annotation{
    margin-bottom: 40px;
  }
 
  .block__header {
      position: relative;
      margin: 20px 0 30px 0;
  }
.fn_articles_slide:not(.swiper-container-initialized) .swiper-wrapper {
  grid-template-columns: repeat(2, 1fr);
}
.fn_articles_slide:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+3) {
    display: none;
}
  .col-lg-6 .block__description{
    margin-bottom: 20px;
  }
  .main {
    padding-top: 72px;
}
  .main_banner_block-wrapper {
    padding: 50px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .main_banner_block-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .main_banner_content, .main_banner_content .h1, .main_banner_content h1  {
    color: #fff;
    text-align: center;
  }
  .main_banner_content {
    align-items: center;
  }
  .main_banner_content .h1, .main_banner_content h1 {
    margin-bottom: 24px;
  }
  .main_banner_callback {
    background: #FDFDFDE5;
  }
  .callback_sub-ttl {
    color: var(--dark-text);
    text-align: center;
  }
.callback_ttl {font-size: 22px;}
.heading__block_more {
  margin-bottom: 25px;
}
.about__title {
  font-size: 20px;
}
  .block__top {
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
    flex-direction: column-reverse;
  }
  .category_wrraper{
    width: 100%;
  }
  .main_banner_image{
    transform: translateX(0px);
    margin-left: -15px;
    width: 110%;
    left: 0;
    top: -9%;
    height: 119%;
    z-index: -1;
    max-width: 110%;
    position: absolute;
  }
  .main_banner_content-wrapper {
    max-width: 100%;
}
.main_banner-wrapper {
  display: block;
  gap: 0;
}

}
@media only screen and (max-width: 820px) {
  .quote_block-wrapper {
    padding-bottom: 480px;
  }
  .about_block_content-wrapper {
    flex-direction: column;
  }
  .main_description_img {
    display: none;
  }
  .main_description-wrapper {
    width: 100%;
  }
  .callback_image{
    display: none;
  }
  .callback_inner {
    width: 100%;
}
  .form-main__group,
  .form-main__subtitle{
    max-width: 100%;
  }
  .article__image, .article__image img {
    max-height: 230px;
  }
  .article__image {
    height: 230px;
  }
  .consultation_btn {
    bottom: 20px;
    height: 50px;
    font-size: 14px;
  }
  .service_areas__wrap {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
  }
  
}
@media only screen and (max-width: 768px) {
  /* .our_services__img, .our_services__img img {
  max-height: 220px;
} */
 .industrial_drilling {
        gap: 30px;
    }
    .industrial_drilling__item {
      gap: 10px;
    }
    .industrial_drilling__content {
      padding: 16px;
    }
    .dot {
    min-width: 60px;
    max-width: 60px;
    font-size: 18px;
  }
  .line {
    margin: 0 29px;
  }
  .industrial_drilling__wrap {
    padding: 24px 0;
  }
  .blog_container .block__description {
    max-width: 100%;
  }
  .working_with_legal {
    max-width: 100%;
}
  .projects__image {
    max-width: 300px;
  }
  .projects__item {
    gap: 16px;
}
  .heading_wrapper .h2 {
    text-align: center;
  }
  .block_sidebar_pages {
      width: 100%;
      max-width: 320px;
      margin-top: 40px;
  }
  .block_grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
  }
  .banner_group__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .post_container__wallpaper {
        min-height: 410px;
        margin-bottom: 20px;
    }
  .block__description iframe {
    height: 410px;
  }
  .block__description img {
      max-height: 410px;
    }
  .section_white, .section {
    padding: 30px 0;
}
.b2b .section, .b2b .section_white, .section_image {
    padding: 80px 0;
}
.section_image {padding-top: 100px;}
.section_image h1 {
    margin-bottom: 40px;
}
.b2b .heading_wrapper .h2 {
    margin-bottom: 40px;
}
.btns {
  margin-top: 40px;
}
  .article__title {
    font-size: 18px;
  }
  .article__annotation {
    font-size: 14px;
  }
  .swiper-button-prev, .swiper-button-next{
    top: calc(50% - 70px);
  }
  .running_number-wrapper:nth-child(1) .triangle-wrapper .moving_triangle{
    top: -15px;
  }
  .running_number-wrapper:nth-child(3) .triangle-wrapper .moving_triangle {
    top: -15px;
}
.post__heading {
    margin-bottom: 20px;
}
  .h1,
  h1 {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .h2,
  h2 {
    margin-bottom: 20px;
  }
.b2b .heading_wrapper .h2 {
  font-size: 28px;
}
.working_with_legal h3 {
    font-size: 18px;
}
  .main_banner_description {
    font-size: 18px;
}
  .main_banner_title {
    font-size: 38px;
  }
  .slogan-wrapper::after {
    height: 160px;
    background-size: contain;
    top: -20px;
  }

  .main_banner_content .social_links-wrapper {
    margin-top: unset;
  }

  .quote_block-wrapper {
    /* margin-bottom: 220px; */
  }

  .quote_block {
    max-width: 420px;
    right: 50%;
    transform: translate(50%, 0);
  }

  .quote_list-wrapper {
    font-size: 14px;
  }

  .quote_item {
    max-width: 320px;
  }

  .activity_list .activity-wrapper:nth-child(odd) img {
    border-radius: 0;
  }
  .activity_list .activity-wrapper:nth-child(even) img {
    border-radius: 0;
  }

  .activity_list .activity-wrapper.flex-row-reverse:last-child img {
    border-radius: 0;
  }
  .activity_list .activity-wrapper:nth-child(odd) .activity_content {
    border-radius: 0;
  }
  .activity_list .activity-wrapper:nth-child(even) .activity_content {
    border-radius: 0;
  }

  .sentence-wrapper {
    max-width: unset;
    width: 100%;
    background-color: #f0f0f0;
  }

  .sentence-wrapper::before {
    content: unset;
  }

  .sentence_img-wrapper {
    display: none !important;
  }

  .sentence-wrapper .sentence_content-wrapper {
    padding: 0;
    position: relative;
    border-bottom: 1px solid #c9c9c9;
    margin: 0px auto !important;
  }

  .sentence_description-wrapper {
    padding: 50px 15px;
  }
  .quote_author-wrapper {
    grid-template-columns: 80px 1fr;
  }
 
  .about_block_content-wrapper {
    gap: 45px;
  }
  .activity_list .activity-wrapper:first-child .activity_content {
    padding-top: 0px;
  }
  .activity_list .activity-wrapper:not(:first-child) .activity_content {
    padding: 20px 0;
  }

  .activity-wrapper {
    flex-direction: column-reverse;
    padding-bottom: 30px;
    padding-left: 0;
  }
  .activity_list .activity-wrapper:nth-child(even) {
    flex-direction: column-reverse;
    padding-bottom: 30px;
  }
  .activity_list .activity-wrapper:nth-child(even) .third-rate_btn {
    padding-left: 0;
  }
  .third-rate_btn {
    margin-top: 20px;
  }
  .activity_img {
    width: 100%;
  }
  .block_portfolio_and_description  .block__body{
    margin-top: 60px;
  }
  .block-margin .post__heading{
    margin-bottom: 30px;
  }
 
  .footer_slogan{
    max-width: 100%;
  }

  .main_banner-wrapper {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .callback_ttl {font-size: 20px;}
  .advantages_block-wrapper {padding: 30px 0;}
  .callback_custom_2 {padding: 30px 0;}
  .callback_border {padding: 30px;}
  .map-wrapper {padding-top: 30px;}
  .advantages-items {grid-template-columns: repeat(2, 1fr);}
  .callback_block {display: flex;align-items: stretch;flex-direction: column-reverse;}
  .callback_custom_2 .callback_block{flex-direction: column;align-items: stretch;}
  .callback_custom_2 .callback_sub-ttl {
    max-width: 100%;
  }
  .about-items { margin-bottom: 30px;}
  .callback__image {width: 240px;}
  .validate_callback.fn_validate_callback_2 {margin-left: 0;}
  .faq {display: flex;flex-direction: column;}
  .our_services-items {grid-template-columns: repeat(2, 1fr);gap: 10px;}
  .our_services_info {padding: 10px;}
  .our_services_info {gap: 10px;}
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper {grid-template-columns: repeat(2, 1fr);}
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+3) {display: none;}
}
@media only screen and (max-width: 680px) {
  .quote_block-wrapper {
    padding-bottom: 500px;
  }
  .article__title {
        font-size: 16px;
    }
  .about__img {
  width: 40px;
  height: 40px;
}

  .quote_block {
    max-width: 80vw;
    padding: 10px 0;
  }

  .quote_item {
    max-width: 80vw;
  }
  .fn_articles_slide:not(.swiper-container-initialized) .swiper-wrapper {
  grid-template-columns: repeat(1, 1fr);
}
.fn_articles_slide:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+2) {
    display: none;
}
  .form__group {
    margin-bottom: 16px;
  }
  .calc_ttl {
    font-size: 22px;
  }
  #result{font-size: 20px;}
  .checkbox__label {font-size: 16px;}
}

@media screen and (max-width: 630px) {
  .article__image, .article__image img {
    max-height: 300px;
  }
  .article__image {
    height: 300px;
  }
  .post_container__wallpaper {
        min-height: 345px;
  }
  .block__description iframe {
    height: 345px;
  }
  .block__description img {
    max-height: 345px;
  }
  .blog_container .article_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper {
    display: flex;
    overflow: hidden;
    gap: 16px;
}
.fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide{
  flex: 0 0 calc(100% / 1.5);
}
.fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+3) {
    display: none;
}

}

@media only screen and (max-width: 576px) {
  .btns {
    flex-wrap: wrap;
  }
  .projects__item {
    flex-direction: column-reverse !important;
    padding-bottom: 30px;
    border-bottom: 1px solid #d5d1d1;
  }
  .projects__item:last-child {
    padding-bottom: 0px;
    border-bottom: 0;
  }
  .projects__image {
    max-width: 100%;
    aspect-ratio: 1 / .6;
  }
  .industrial_drilling__content {
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0px 5px 12px 0px #0000002e;
  }
  .industrial_drilling__item {
    gap: 5px;
  }
  .industrial_drilling__wrap {
        gap: 5px;
    }
} 


@media only screen and (max-width: 540px) {
  .btn {
    width: 151px;
    height: 51px;
    padding: 15px 40px;
  }
  .calculator_wrp .btn{
    width: max-content
  }
  .h2,
  h2 {
    font-size: 30px;
  }
  .callback_sub-ttl {
    margin-bottom: 20px;
  }
  .main_banner_description {
    margin-bottom: 30px;
  }
  .industrial_drilling__img {
    display: none;
  }
  
}

@media only screen and (max-width: 480px) {
  .dot {
      min-width: 50px;
      max-width: 50px;
      font-size: 14px;
      border: 6px solid #fff;
  }
  .industrial_drilling__wrap {
    gap: 14px;
  }
    .line {
      margin: 0 24px;
  }
  .block-background{
  background: url(../images/water-mob.jpg) no-repeat;
}
  .banner_group__gallery {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .fn_drilling_slider:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide{
  flex: 0 0 calc(100% / 1.2);
}
  .drilling_item__ttl {
        font-size: 18px;
    }
  .drilling_item__annotation {
      font-size: 14px;
  }
  .drilling_item {
        gap: 10px;
    } 
  .b2b .section, .b2b .section_white, .section_image {
    padding: 60px 0;
}
.section_image {
  padding-top: 80px;
}
  .h1, h1 {
        font-size: 28px;
    }
.section_image h1 {
  margin-bottom: 30px;
}
.b2b .heading_wrapper .h2 {
  margin-bottom: 30px;
}
.working_with_legal h3 {
    font-size: 16px;
}
.btns {
  margin-top: 30px;
}
.projects__ttl {
        font-size: 18px;
    }
    .projects__text {
        font-size: 14px;
    }
    .post_container__wallpaper {
        min-height: 290px;
    }
    .block__description iframe {
      height: 290px;
    }
    .block__description img {
      max-height: 290px;
    }
  .article__image, .article__image img {
    max-height: 230px;
  }
  .article__image {
    height: 230px;
  }
  .quote_author-wrapper {
    grid-template-columns: 80px 1fr;
    gap: 0;
  }
  .logo__link {
      max-width: 110px;
  }
  .main {
    padding-top: 67px;
  }
  .heading_wrapper h1{
    font-size: 22px !important;
  }
  .b2b .heading_wrapper h1{
    font-size: 24px !important;
  }
  .b2b .heading_wrapper .h2{
    font-size: 24px;
  }
  .btns .btn, .btns .btn_border {
    font-size: 14px;
  }
  .main_banner_description p{
    font-size: 14px;
  }
  .main_banner_title {
    font-size: 24px;
  }
  .callback__image {margin: 0 auto;}

 .advantages-items {
  grid-template-columns: 1fr;
  }
  .about-items {
    grid-template-columns: 1fr;
  }
  .our_services-items {grid-template-columns: 1fr; gap: 10px;}
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper {grid-template-columns:  1fr}
  .fn_products_slide:not(.swiper-container-initialized) .swiper-wrapper .swiper-slide:nth-child(1n+2) {display: none;}
  .callback_phones {gap: 6px;}
  .faq__item--boxed {min-height: 85px;}
  .h4, h4 {margin-bottom: 20px;}
}
@media only screen and (max-width: 400px) {
  .btns-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quote_block-wrapper {
    margin-bottom: 400px;
    padding-bottom: 175px;
  }

  .quote_block {
    bottom: -400px;
  }

  .quote_text-wrapper {
    max-width: calc(80vw - 40px);
  }
  .main_description_img {
    max-height: 400px;
  }
  .activity_img {
    min-height: 300px;
    max-height: 300px;
}
}
@media only screen and (max-width: 375px) {
  .post_container__wallpaper {
        min-height: 230px;
    }
    .block__description iframe {
      height: 230px;
    }
    .block__description img {
      max-height: 230px;
    }
}
