.main-header--one__bottom-middel { position: static; transform: translate(0,0); }
.main-header--one--two .main-header--one__bottom-middel::before { display: none; }

.news-details hr,
.news-details p,
.news-details h1,
.news-details h2,
.news-details h3,
.news-details h4,
.news-details h5,
.news-details h6 { margin-bottom: 2rem; }

 .features-two__call-box-inner .img-box img {
   
    width: 100%;
    margin: 0 auto;
  }

/* Custom dots styling for about-two__content-box ul elements */
.about-two__content-box ul {
  position: relative;
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-two__content-box ul li {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 6px;
}

.about-two__content-box ul li:last-child {
  margin-bottom: 0;
}

.about-two__content-box ul li .icon {
  position: relative;
  display: inline-block;
  padding-right: 15px;
}

.about-two__content-box ul li .icon i::before {
  position: relative;
  display: inline-block;
  color: var(--agriox-base, #f1cf69);
  font-size: 15px;
}

.about-two__content-box ul li .text {
  position: relative;
  display: block;
}

.about-two__content-box ul li .text p {
  color: var(--agriox-primary, #334b35);
  margin: 0;
}

.about-three__img-box { height: 100%; }
.about-three__img-box-img { height: 100%;  max-height: 700px;}
.about-three__img-box-img-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.about-three__img-box-img::before { top: auto; height: 40%; }
.row_team { justify-content: center; }

.contact-page__contact-info-list ul li .icon { display: flex; align-items: center; justify-content: center; font-size: 24px; }
@media only screen and (max-width: 991px) {
  .about-three__img-box-img-inner { height: auto; padding-bottom: 100%; position: static;  }
  .about-three__img-box { margin: 0 auto; padding-top: 50px; }
  .about-three__content-box { max-width: 100%; }
}
@media only screen and (max-width: 767px) {
  .contact-page__contact-info-list ul li .icon { margin: 0 auto 20px; }
}

.providing-quality-one__image-block img { width: 100%; }

/* WordPress menu current item classes */
.main-menu .main-menu__list > li.current-menu-item > a,
.main-menu .main-menu__list > li.current_page_item > a,
.main-menu .main-menu__list > li.current_page_parent > a,
.main-menu .main-menu__list > li.current_page_ancestor > a,
.main-menu .main-menu__list > li.current-menu-ancestor > a,
.stricky-header .main-menu__list > li.current-menu-item > a,
.stricky-header .main-menu__list > li.current_page_item > a,
.stricky-header .main-menu__list > li.current_page_parent > a,
.stricky-header .main-menu__list > li.current_page_ancestor > a,
.stricky-header .main-menu__list > li.current-menu-ancestor > a {
  color: var(--agriox-primary, #334b35) !important;
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: right center;
  transform-origin: right center;
}

.main-menu .main-menu__list > li.current-menu-item > a::before,
.main-menu .main-menu__list > li.current_page_item > a::before,
.main-menu .main-menu__list > li.current_page_parent > a::before,
.main-menu .main-menu__list > li.current_page_ancestor > a::before,
.main-menu .main-menu__list > li.current-menu-ancestor > a::before,
.stricky-header .main-menu__list > li.current-menu-item > a::before,
.stricky-header .main-menu__list > li.current_page_item > a::before,
.stricky-header .main-menu__list > li.current_page_parent > a::before,
.stricky-header .main-menu__list > li.current_page_ancestor > a::before,
.stricky-header .main-menu__list > li.current-menu-ancestor > a::before {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transform-origin: right center;
  transform-origin: right center;
}

.blog-one--news .blog-one__single-img { padding-bottom: 50%; background-size: cover; background-repeat: no-repeat; background-position: center; }

.blog-one__single { box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.15);  }

.blog-two__right .blog-one__single { height: 100%; background: #fff; border-radius: 10px; }
.blog-two__right .blog-one__single .blog-one__single-content { height: 50%; }
.blog-two__right .owl-stage { display: flex;  }


.sidebar__latest-posts-list-item .img-box { width: 80px; height: 80px; }
.sidebar__latest-posts-list-item .title { width: calc(100% - 80px); }
.sidebar__latest-posts-list-item .img-box img { width: 100%; height: auto; }
  
.footer-widget__news-list-item-img img { width: 50px; height: 50px;  object-fit: contain; }
.footer-widget__news-list-item-img .image { width: 50px; height: 50px;  background-size: 100%; background-repeat: no-repeat; background-position: center;  }
.footer-widget__news-list-item { align-items: start; }
.footer-widget__news-list-item-title p { margin-bottom: 0;}

.about-two__img-box-img1 { float: none; width: 70%; margin-left: 30%; }
.about-two__img-box-img1 .image { width: 100%; display: block; padding-bottom: 150%; background-position: center; background-size: cover; } 
.about-two__img-box-img2 { float: none; left: 0; width: 50%; } 
.about-two__img-box-img2 .image { width: 100%; display: block; padding-bottom: 150%; background-position: center; background-size: cover; } 
.about-two__img-box__shape { position: relative; z-index: 1; }

@media only screen and (max-width: 767px) {
    .about-two__img-box-img2 {
      position: absolute;
         
    }
}

@media (min-width: 992px) {
    .features-three__list li > i {
        position: absolute;
        top: 33px;
        left: 30px;
        margin: 0;
    }
}

.features-two__single_outer { margin-bottom: 30px; }

.features-two__single { height: 100%; }

.footer-one__top { padding: 40px 0; }
.footer-widget__explore-list-item { margin-bottom: 5px; }
.footer-one__bottom { padding: 13px 0; }

.no-section { padding: 100px 0; }

.cta-one__left-title { width: calc(100% - 100px); }
.cta-one__right { min-width: 240px; }

@media only screen and (max-width: 767px) {
    .cta-one__left-title { width: 100%; }
    .cta-one__left-title h2 { font-size: 35px; line-height: 1.3; }
}

.features-one__single { margin-bottom: 40px; }
.features-one__single  .features-one__single-title {
    bottom: 20px;
}
.features-one__single  .features-one__single__more {
    top: calc(100% - 20px);
}
.features-one__single  .features-one__single__more { 
    opacity: 1;
}
.features-one__single:hover  .features-one__single__more { 
    background-color: #334b35;
}

.features-one__single-img .image { display: block; padding-bottom: 132%; background-size: contain; background-repeat: no-repeat; background-position: center 0; background-color: #E6E6E6; }

.features-one__single-title  { transition: all .3s; }
.features-one__single:hover .features-one__single-title  { bottom: 20px; }
.features-one__single:hover .features-one__single__more { top: calc(100% - 20px); }

.services-one__single-img .image { display: block; padding-bottom: 75%; background-position: center 0; background-size: contain; background-repeat: no-repeat; background-color: #E6E6E6; } 

.services-one__single > a { position: absolute; top: 0; left: 0; bottom: 0; right: 0; text-decoration: none; z-index: 2; }

.page-header::before { opacity: .7; }

.logo { width: 160px; }
.logo a { width: 100%;  display: inline-block; text-decoration: none; }
.logo a img { width: 100%; height: auto; }
.logo a svg { width: 100%; height: 100%;  }

.main-header--one--two .logo a svg path { fill :#fff; }

.mobile-nav__content .logo-box a { display: inline-block; margin-top: -10px; }
.mobile-nav__content .logo-box img { width: 100px; height: auto; }
.mobile-nav__content .logo-box svg { width: 100px; height: auto; }
.mobile-nav__content .logo-box svg path { fill: #fff; }

@media (max-width: 991px) {
  .list-unstyled li { padding-left: 50px; position: relative; }
  .list-unstyled li i { position: absolute; top: -6px;  left: 0; }  
  .list-unstyled li.no_text i { position: absolute; top: 50%; transform: translateY(-50%); left: 0; }  
}

.providing-quality-one__image-block .image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.providing-quality-one__image__line { z-index: 1; }
.providing-quality-one__content-box-list-item .icon { font-size: 30px; width: 70px; height: 70px; }

.providing-quality-one__content-box-list-item { padding-bottom: 30px; margin-top: 30px; }
.providing-quality-one__content-box-list-item:first-child { margin-top: 0; }
.providing-quality-one__content-box-list-item:last-child { padding-bottom: 0; }

.providing-quality-one__content-box-text { color: #fff; margin-bottom: 40px; }

@media (max-width: 991px) {
 /* .providing-quality-one__image-block .image {position: static; padding-bottom: 100%; margin: 0 -20px; width: auto; } */
 .providing-quality-one__image-block .image { display: none; } 
}

@media only screen and (max-width: 767px) {
    .providing-quality-one__content-box {
        padding-left: 10px;
    }
}

/* list-history */
 
.section__history { padding-bottom: 180px; }
.section__history::before { height: 100%; }
.list-history {  color: #334b35; position: relative; z-index: 1; }
.list-history:before { content: ''; position: absolute; top: 50%; height: 2px; left: 0; width: 100%; background-color: var(--agriox-base, #f1cf69); }
.list-history li  { width: 25%;  text-align: center; padding: 0 20px; }
.list-history li strong { width: 100px; height: 100px; background-color:  var(--agriox-base, #f1cf69);   border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.list-history li div { position: relative; }
.list-history li p { position: absolute; top: 100%; margin-top: 15px; left: 50%; transform: translateX(-50%); line-height: 1.2; text-align: center;    width: 100%; }
.list-history  { margin-top: -100px; }
.list-history .slick-slide  { padding: 100px 0;   }


@media (max-width: 991px) {
  .list-history li p { font-size: 15px;}
}



@media (max-width: 767px) {
  .section__history { padding: 100px 20px; }
  .list-history:before { content: ''; position: absolute; top: 0;  height: 100%; padding: 100px 0; left: 40px; width: 2px; background-color: var(--agriox-base, #f1cf69); }
  .list-history { display: block; padding: 0; }
  .list-history li { padding: 20px 0; width: 100%; text-align: left; margin-bottom: 20px;  }
  .list-history li div { min-height: 80px; display: flex; align-items: center; }
  .list-history li  strong  { position: absolute; top: 0; left: 0; font-size: 1rem; width: 80px; height: 80px;  }
    .list-history li p { padding-left: 130px;  position: static; transform: none; margin: 0; font-size: inherit; text-align: left ;}

}
 

.list-history-mobile {  color: #334b35; position: relative; z-index: 1; display: none; }
.list-history-mobile:before { content: ''; position: absolute; top: 50%; height: 2px; left: 0; width: 100%; background-color: var(--agriox-base, #f1cf69); }
.list-history-mobile li  { width: 25%;  text-align: center; padding: 0 20px; }
.list-history-mobile li strong { width: 100px; height: 100px; background-color:  var(--agriox-base, #f1cf69);   border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.list-history-mobile li div { position: relative; }
.list-history-mobile li p { position: absolute; top: 100%; margin-top: 15px; left: 50%; transform: translateX(-50%); line-height: 1.2; text-align: center;    width: 100%; }
.list-history-mobile  { margin-top: -100px; }
.list-history-mobile .slick-slide  { padding: 100px 0;   }


@media (max-width: 991px) {
  .list-history-mobile li p { font-size: 15px;}
}



@media (max-width: 767px) {  
  .list-history { display: none;}
  .list-history-mobile:before { content: ''; position: absolute; top: 0;  height: 100%; padding: 100px 0; left: 40px; width: 2px; background-color: var(--agriox-base, #f1cf69); }
  .list-history-mobile { margin-top: 0; display: block; padding: 0; }
  .list-history-mobile li { padding: 20px 0; width: 100%; text-align: left; margin-bottom: 20px;  }
  .list-history-mobile li div { min-height: 80px; display: flex; align-items: center; }
  .list-history-mobile li  strong  { position: absolute; top: 0; left: 0; font-size: 1rem; width: 80px; height: 80px;  }
    .list-history-mobile li p { padding-left: 130px;  position: static; transform: none; margin: 0; font-size: inherit; text-align: left ;}

}

@media only screen and (max-width: 767px) {
    .meet-farmers-one__single {
        
        margin: 0 auto 100px;
    }
}


@media only screen and (max-width: 767px) {
    .features-one__single {  margin: 0 auto 50px; }
    .col-xl-4:last-child  .features-one__single { margin-bottom: 0; }
}

.contact-one__images-1 { padding-bottom: 40%; width: 50%; background-size: cover; background-position: center; border-radius: 20px; overflow: hidden;}
.contact-one__images-2 { position: relative; padding-bottom: 60%; width: 60%; background-size: cover; background-position: center; border-radius: 20px; overflow: hidden;}

.contact-one__images-1:before,
.contact-one__images-2:before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: rgba(0, 0, 0, .1); }

.projects-one { padding-top: 100px; }

.projects-one__single .projects-one__single-img .image { padding-bottom: 76%; display: block; text-decoration: none; background-size: cover; background-position: center; position: relative; } 
.projects-one__single .projects-one__single-img .image a { position: absolute; top: 0; left: 0; bottom: 0; right: 0; z-index: 1; } 
.projects-one__single .projects-one__single-img .image img { display: none; }

.section-content-top-image img { width: 100%; height: auto; max-width: 300px; margin-bottom: 20px; }

.services-details + section { padding-top: 20px; }

.main-menu .main-menu__list > li > a { text-transform: uppercase; }
.main-menu .main-menu__list li ul li a { text-transform: uppercase; }

.section-page-header-under  { padding: 50px 0 0; margin-bottom: -50px; position: relative; z-index: 2;  }
.section-page-header-under .page-header__inner h2 {  color: var(--agriox-primary, #334b35); text-transform: uppercase; }

.blog-homepage-list { background: #fff; }
.blog-homepage-list .image { padding-bottom: 50%; background-size: cover; background-position: center; background-repeat: no-repeat; }
 
.list-news-page-col { margin-bottom: 30px; }
.list-news-page-col .blog-one__single { height: 100%; margin: 0; border-radius: 10px; transition: all .3s; }  
.list-news-page-col .blog-one__single-content:not(.blog-details) { background: none; box-shadow: none; } 
.list-news-page-col .blog-one__single:hover { background: #334b35; }
.list-news-page-col .blog-one__single:hover .blog-one__single-content { background: rgba(0, 0, 0, 0); }

.otgs-development-site-front-end { display: none; }

.lang-dropdown {
    position: relative;
    display: inline-block;
    color: #fff;
    margin-left: 40px;
    top: 2px;
}

.lang-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 36px 0;  
}

.lang-nav_stricked  .lang-dropdown__toggle {
    
    padding: 31px 0;  
}

.lang-dropdown__toggle img {
    width: 30px;
    height: auto;
}

.lang-dropdown__caret {
    margin-left: 5px;
    color: #fff;
}

.lang-nav_stricked .lang-dropdown__caret { 
    color: #000;
}

@media (max-width: 1199px) {
    .main-header { padding: 10px 0; }
}

.main-header:not(.main-header--one--two) .lang-dropdown__caret { 
    color: #000;
}


.lang-dropdown__menu {
    position: absolute;
    top: calc(100% - 20px);
    left: -20px; 
    list-style: none;   
    background: #fff;
    display: none;
    z-index: 9999;
    padding: 10px; 
    box-shadow: 0px 0px 65px 0px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 5px 5px ; 
}

.lang-nav_stricked 
.lang-dropdown__menu {
  
    border-color: var(--agriox-color-1, #687469); 
    background: #fff;
}

.main-header:not(.main-header--one--two) .lang-dropdown__menu {
     
    border-color: var(--agriox-color-1, #687469); 
    background: #fff;
}




.lang-dropdown__menu li a {
    padding: 10px;
}

.lang-dropdown__menu li a:hover {
    background: #f5f5f5;
}

.lang-dropdown__menu img {
    width: 30px;
    height: auto;
}

 
.lang-dropdown.is-open .lang-dropdown__menu {
    display: block;
}

.main-header--one__bottom-left { display: flex; flex-wrap: wrap; align-items: center; } 

.main-header--one--two .main-header--one__bottom-middel { padding-right: 92px; }

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .main-header--one__bottom .main-menu--1 {
        width: auto;
        position: static;
        height: auto;
    }
       .main-header--one--two .main-header--one__bottom-left { padding-left: 0; }

       .main-header--one__bottom { padding: 0; }
       .lang-dropdown__toggle { padding: 20px 0; }
  }

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .main-header--one--two .main-header--one__bottom .main-menu--1 {
        padding-top: 0px;
        width: auto;
        position: static;
        height: auto;
    }
    .main-header--one--two .main-header--one__bottom-left { padding-left: 0; }
     .main-header--one__bottom { padding: 0; }
       .lang-dropdown__toggle { padding: 0; }
       .lang-dropdown__menu { top: 100%; }
}

@media only screen and (max-width: 767px) {
    .main-header--one--two .main-header--one__bottom .main-menu--1 { 
        width: auto;
        height: auto;
        position: static;
        margin-top: -4px;
    }
      .main-header--one--two .main-header--one__bottom-left { padding-left: 0; }
       .main-header--one__bottom { padding: 0; }
       .lang-dropdown__toggle { padding: 0; }
        .lang-dropdown__menu { top: 100%; }
}

@media (max-width: 480px) {
   .logo { width: 140px; }
   .main-header--one--two .main-header--one__bottom-middel { padding-right: 30px; }
   .lang-dropdown { margin-left: 20px; }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .main-header--one__bottom .main-menu--1 {
       
      width: auto; 
    }
}

@media only screen and (max-width: 767px) {
    .main-header--one__bottom .main-menu--1 {
       
        width: auto; 
    }
}

.main-header.main-header--one--two  .main-menu .main-menu__list > li.current-menu-item > a,
.main-header.main-header--one--two  .main-menu .main-menu__list > li.current_page_item > a { color: #fff !important; }

.providing-quality-one__logo { right: -75px; }

@media (max-width:990px) {
    .page-id-21 .page-header { background-position: right; padding: 0 0 32%;}
   .page-id-523 .page-header  { background-position: right; padding: 0 0 32%;}
}

@media (max-width:480px) {
    .page-id-27 .page-header { padding: 0 0 76%; } 
    .postid-71 .page-header { padding: 0 0 76%; } 
    .postid-73 .page-header { padding: 0 0 76%; }
    .postid-74 .page-header { padding: 0 0 76%; }
    .postid-75 .page-header { padding: 0 0 76%; }
    .postid-76 .page-header { padding: 0 0 76%; }
    .postid-451 .page-header { padding: 0 0 76%; }
    .postid-613 .page-header { padding: 0 0 76%; }
    .postid-602 .page-header { padding: 0 0 76%; }
    .postid-589 .page-header { padding: 0 0 76%; }
    .postid-598 .page-header { padding: 0 0 76%; }
    .postid-594 .page-header { padding: 0 0 76%; }
    .postid-591 .page-header { padding: 0 0 76%; }
    .postid-613 .page-header { padding: 0 0 76%; } 

    .post-type-archive-products .page-header { padding: 0 0 76%; }
    .page-id-21 .page-header { padding: 0 0 55%; }
    .page-id-523 .page-header  { padding: 0 0 55%; }

 
}

.footer-widget__about-logo a img { display: inline-block; text-decoration: none; max-width: 180px; width: 100%; height: auto; }

.blog-two__carousel__custom-nav .right-btn span { transform: rotate(180deg); }
.blog-two__carousel__custom-nav .left-btn span { transform: rotate(180deg); }

.mobile-nav__content .main-menu__list   { margin-bottom: 20px; }

.mobile-nav__container-soc .footer-widget__about-contact-box { border-top: 0; margin-bottom: 100px; }

.wpcf7-form.submitting .comment-form__btn {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.wpcf7-form.submitting .comment-form__btn::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}