/*
Theme Name: IPMR Custom Theme
Author: Huzaifa Ahmed Warsi
Version: 2.0
Description: Custom HTML to WordPress Conversion for IPMR.
*/
.banner-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpcf7 input[type="file"] {
  width: 100%;
} 
.resume .wpcf7-form-control-wrap input {
  padding: 15px;
}
.resume label {
  padding: 0 25px;
}
.resume {
  display: inline-block;
  width: 100% !important;
  padding: 20px 0;
}
span.wpcf7-not-valid-tip {
    display: none;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .blog-item.style-2 .blog-content {
    padding: 10px 10px !important;
  }
 .blog-item .blog-thumb {
    height: 150px !important;
    min-height: 150px !important;
  }
  .blog-item .blog-thumb img {
    min-height: 150px !important; 
  }
 .blog-item.style-2 .blog-content .title-area h4.title {
  font-size: 18px;
}
.mainmenu ul > li > a {
    position: relative;
    font-size: 14px !important;
    color: var(--tj-color-heading-primary);
    display: block;
    padding: 37px 0;
    font-weight: var(--tj-fw-medium);
    line-height: 1;
    text-transform: uppercase;
}

}
.hamburger_bg {
    background-color: #000000 !important;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    z-index: -1;
    border-start-start-radius: 12px;
    border-end-start-radius: 12px;
}
.page-template-home .header-area.header-2.header-duplicate.header-sticky.section-gap-x.sticky {
  max-width: 1220px;
  margin: 0 auto;
  display: block;
  left: 0;
  right: 0;
}
.page-template-home .header-area.header-2.header-duplicate.header-sticky.section-gap-x.sticky .mainmenu ul > li > a {
  text-transform: uppercase;
  font-size: 13px;
  padding-top: 25px;
  padding-bottom: 25px;
}
.page-template-home .header-area.header-2.header-duplicate.header-sticky.section-gap-x.sticky .mainmenu ul > li.has-dropdown > a::after {
  top: 28px;
  inset-inline-end: -14px;
}
.wpcf7-form input {
  border-bottom: 1px dashed #999;
  border-left: none;
  border-top: none;
  border-right: none;
  width: 46%;
  float: left;
  margin: 10px 2%;
}
.wpcf7-form textarea {
  border-bottom: 1px dashed #999;
  border-left: none;
  border-top: none;
  border-right: none;
  width: 96%;
  height: 100px;
  float: left;
  margin: 10px 2%;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit.has-spinner.tj-primary-btn {
  padding: 15px;
  box-shadow: 0 2px 5px #555;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit.has-spinner.tj-primary-btn:hover{
    background: #000;
    color: #fff;
}
.form-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
}

.tab-btn {
    padding: 12px 25px;
    border: 1px solid #ddd;
    background: #000;
    cursor: pointer;
    transition: .3s;
    border-radius: 10px 10px 0 0;
}

.tab-btn.active {
    background: #caa537;
    color: #fff;
    border-color: #caa537;
    border-radius: 10px 10px 0 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}


@media screen and (max-width: 767px) {
    h2 {
        font-size: 25px !important;
    }
    
        h3 {
        font-size: 20px !important;
    }
body.overflow-hidden {
  overflow: scroll !important;
}
.banner-bg picture img {
  height: 100%;
  object-fit: cover;
}
.h5-banner-area .h5-banner-content {
  width: 90%;
} 
.logo-marquee::before, .logo-marquee::after {
  background-image: none !important;
}
.page-template-about .tj-cta-section {
  margin-top: 0 !important;
}
 .about-content-area-2 .about-content {
    width: calc(100% - 0px) !important;
 }
.post-details-wrapper ul.wp-block-list li {
    display: block !important;
  }
.wpcf7-form input {
  width: 96%;
  margin: 10px 0;
}
.tj-contact-section-2.section-bottom-gap .contact-form {
  padding: 10px 0;
}
    .header-duplicate {
        display: none !important;
    }
    
    .top-space-15 {
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

   
    .h5-banner-section {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 50px 15px !important;
        border-radius: 0 !important; 
        overflow: hidden !important;
        background-color: transparent !important; 
    }

    .h5-banner-section .banner-bg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important; /* Yahan 'bottom center' ki jagah 'center center' kar dein */
        z-index: 1;
    }

    .h5-banner-area {
        position: relative !important;
        z-index: 2 !important;
        padding: 20px 10px 10px !important; /* Padding thori kam kar di hai taake height zyada na barhe */
        min-height: 40vh !important; /* Min-height thori compact kar di hai */
    }

    .h5-banner-section .banner-title {
        font-size: 26px !important; /* Font size ko 30px se thora chhota kar diya hai taake screen par fit aaye */
        line-height: 1 !important;
    }

    .bg-shape-1, 
    .bg-shape-2,
    .banner-scroll {
        display: none !important; 
    }
    .products-sec .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .products-sec .swiper-wrapper {
        transform: translate3d(0px, 0, 0) !important; 
    }

    .products-sec .blog-item.style-2 {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px !important;
    }

    .products-sec .blog-thumb img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .cta-area .cta-img {
    margin-left: 0 !important;
    }
    .tj-footer-section .bg-shape-1,
    .tj-footer-section .bg-shape-2 {
        display: none !important;
    }

    .tj-footer-section.h5-footer,
    .tj-footer-section .footer-main-area {
        background-color: #000000 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .tj-footer-section.footer-2 {
        padding-top: 2px !important;
    }
    .tj-copyright-area-2 .copyright-content-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
   }

  .tj-copyright-area-2 .copyright-menu, 
  .tj-copyright-area-2 .copyright-menu ul {
    text-align: left !important;
    justify-content: flex-start !important;
    width: 100% !important;
   }

  .tj-copyright-area-2 .copyright-text {
    text-align: left !important;
    width: 100% !important;
    margin-bottom: 5px;
   }
   .tj-page-header {
        background-size: cover !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-top: 35px;
    }
    
    .tj-page-title {
    color: var(--tj-color-common-white);
    line-height: 1 !important;
    margin-bottom: 0 !important;
    font-size: 25px !important;
    margin-left: 10px !important;
}

    .page-header-overlay {
        background-size: cover !important;
        background-position: center !important;
    }
    .tj-choose-section {
    overflow: hidden;
    padding-top: 100px !important;
    }
    .cta-area .cta-content .title {
    font-size: 25px !important;
    }
    .post-details-wrapper .blog-text h3::before {
    content: "\f101";
    font: normal normal normal 20px / 1 FontAwesome !important;
    padding: 0 5px;
    color: var(--tj-color-theme-dark);
    }
    
    .post-details-wrapper ul.wp-block-list {
        
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding-left: 0 !important;
    }
    
    .post-details-wrapper ul.wp-block-list li {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .post-details-wrapper ul.wp-block-list li {
    padding: 15px 10px 15px 35px !important;
    }
    .post-details-wrapper ul.wp-block-list li::before {
    top: 19px !important;    
    }
    body.page-id-34 .post-details-wrapper ul.wp-block-list {
        display: block !important;
    }
    
    body.page-id-34 .post-details-wrapper ul.wp-block-list li {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
    body.page-id-34 .post-details-wrapper ul.fullwidthlisting.wp-block-list li::before {
    left: 10px !important;
    }
    body.page-id-36 .tj-page-title {
     font-size: 15px !important;   
    }    
    body.page-id-39 .tj-page-title {
     font-size: 15px !important;   
    }  
    body.page-id-243 .tj-page-title {
     font-size: 15px !important;   
    }  
    body.page-id-44 .tj-page-title {
     font-size: 15px !important;   
    }      
    body.page-id-249 .tj-page-title {
     font-size: 15px !important;   
    }  
    body.page-id-247 .tj-page-title {
     font-size: 15px !important;   
    }  
    .post-details-wrapper ul.fullwidthlisting.wp-block-list li::before {
    left: 10px !important;
    }
    /*.mobile_menu.mean-container div.mean-bar:last-child {
     display: none !important;
    }*/
    body.page-id-52 .tj-page-title {
     font-size: 14px !important;   
    }  
    body.page-id-50 .tj-page-title {
     font-size: 14px !important;   
    }  
    .home.wp-singular.page-template.page-template-home.page-template-home-php.page.page-id-11.logged-in.admin-bar.wp-theme-IPMR-theme.customize-support.overflow-hidden {
  overflow: scroll !important;
}
    
}