@media only screen and (min-width: 768px){
.nav-pills .nav-link .icon_image img{
    display: none;
}
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 1024px) {
    .carousel-caption{
        bottom: 55px!important;
        width: 50%;
    }
    .about_text {
        padding-left: 3rem;
    }
    .about_text p {
        padding-right: 1rem;
        font-size: 20px;
    }
    .about_img{
        margin-left: 0px;
    }
    #about .about_header {
        margin-left: 3rem;
    }
    #about .about_header h2{
        font-size: 30px;
    }
    .about_btn .btn{
        margin-top: 1rem;
    }
    .f_subscribe h3{
        font-size: 26px;
    }
    .clien_info h2{
        padding-right: 0;
    }
    .client_desription {
        padding: 30PX 20PX 10PX 30PX;
    }
}
@media only screen and (max-width: 768px){
    .logo-area {
        text-align: center!important;
    }
    .carousel-caption{
        bottom: 39px!important;
        width: 68%;
    }
    .carousel-caption h5{
        font-size: 24px;
    }
    .carousel-caption p {
        color: #000;
        padding: 0px 70px;
    }
    .social_top{
        justify-content: center;
    }
    header.dark .navbar .navbar-nav li:after{
        display: none;
    }
    #about .about_header {
        margin-left: 0rem;
    }
    #about .about_header h2{
        font-size: 24px;
    }
    .about_text p {
        padding-right: 0rem;
        font-size: 16px;
    }
    .about_text {
        padding-left: 0rem;
    }
    .about_img {
        /* margin-left: 60px; */
        /* margin-right: 40px; */
        margin: 0;
    }
    .about_btn .btn{
        margin-top: 0;
    }
    .clien_info h2{
        font-size: 22px;
        padding-right: 0rem;
    }
    .client_desription {
        PADDING: 30PX 20PX 10PX 30PX;
    }
    .why_choose_sec{
        border-bottom: 1px solid #fff;
        border-right: 0;
    }
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 767px) {
    .header-middlebar-layout1{
        display: block;
    }
    .header-action-layout1 ul li:last-child{
        display: none;
    }
    #navbar_top{
        background-color: #fff;
    }
    #banner .item .cover .header-content p{
        display: none;
    }
    ul.main-nav > li ul.sub-menu-lists{
        display: block!important;
    }
    .t_header_right{
        justify-content: center!important;
        float: none;
        margin-top: 10px;
    }
    .about_img img{
        width: 100%;
    }
    #about .about_text{
        padding-right: 0%;
        margin-top: 20px;
    }
    footer .pull-right{
        float: left!important;
    }
    .footer_bottom .p-0,.footer_top .p-0{
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    .contact_details .con_details{
        justify-content: flex-start;
    }
    .copy_right{
        flex-direction: column;
        grid-gap: 5px;
    }
    .copy_right p{
        font-size: 12px;
    }
    .card{
        margin-bottom: 1rem;
    }
    .cmt-row.sidebar{
        padding: 0;
    }
    .pb-40{
        padding-bottom: 15px!important;
        padding-right: 15px!important;
        padding-top: 15px!important;
        padding-left: 15px!important;
    }
    .ttm_single_image-wrapper{
        margin-right: 0px;
    }
    .top_header{
        padding: 10px 0;
    }
    .social_media{
        margin-bottom: 1rem;
    }
    .list{
        flex-direction: column;
    }
    .about-box-layout5 .popup-img img{
        display: none;
    }
    .about-box-layout5 .item-img img{
        width: 100%;
    }
    .about-box-layout4{
        margin-top: 1rem;
    }
    #service_area{
        padding: 5rem 0;
    }
    .heading-layout3 p{
        width: 100%;
    }
    .banner-box-layout5{
        margin-top: 2rem;
    }
    .section-padding-lg-2{
        padding: 6rem 0 2.2rem;
    }
    .heading-layout1 h2{
        font-size: 45px;
    }
    .heading-layout1 p{
        width: 100%;
    }
    #white_buble{
        bottom: -2px;
    }
    .banner-box-layout4 .item-title{
        font-size: 43px;
    }
    .order1{
        order: 1!important;
    }
    .order2{
        order: 2!important;
    }
    #service {
        padding: 2rem 0;
    }
    .service_heading h2{
        font-size: 26px;
        margin-bottom: 0;
    }
    #get_qoute .container {
        background-color: #000;
        padding: 0 15px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        border-radius: 10px;
    }
    .quote_heading h2{
        font-size: 24px;
    }
    .quote_sec{
        margin-bottom: 1.5rem;
    }
    .clien_info{
        padding-left: 15px;
    }
    .footer_top form{
        padding-left: 0;
    }
    .quote_sec img{
        width: 100%;
    }


.footer_bottom .copyright_content{
    flex-direction: column;
    text-align: center;
}
.nav-pills .nav-link .h_text{
    display: none;
}
.nav-pills .nav-link{
    color: #000!important;
    text-transform: capitalize;
    background-color: rgba(0, 0, 0, .9)!important;
    border-radius: 0!important;
    
  }
  .single-service-box-layout1 .service-content .service-more-content .item-content .item-title{
      text-align: left;
  }
  .single-service-box-layout1 .service-content .service-more-content{
      text-align: left;
      margin-bottom: 20px!important;
  }
  .single-service-box-layout1 .service-content .service-more-content .item-img{
      margin-top: 1rem;
  }
  .footer_heading_wrap{
      border-left: none;
      padding-left: 0;
  }
  .footer_heading h4 {
    font-size: 22px;
    margin-bottom: 1.5rem;
}
.fluid-section-one .image-column{
    width: 100%;
}
.fluid-section-one .content-column{
    width: 100%;
    background-color: rgba(0, 0, 0, .7);
}
.fluid-section-one .content-column .inner-column h2{
    color: #8ac53e;
}
.fluid-section-one .content-column .inner-column .text{
    color: #fff;
}
.featured-block .feature-inner h3{
    color: #fff;
}
.blog-box-layout1 .item-img img{
    width: 100%;
}
#about_sec1 .quote_box{
    padding: 25px 42px 25px;
}
.why_choose_sec{
    border-bottom: 1px solid #fff;
    border-right: 0;
}
#why_choose{
    background-position: bottom;
}
#why_choose:before{
    background: linear-gradient(180deg, rgba(134,186,65,1) 0%, rgba(65,85,160,0.8) 100%);
}
.form_inline .form-group input{
    margin: 12px 0;
    width: 100%;
}
#get_a_quote .quote_box{
    padding: 30px 18px 30px 18px;
}
}
@media only screen and (min-width: 768px){
    .mobli_logo{
        display: none;
    }
    .submenu_item{
        left: 240px!important;
        top: -3px!important;
    }
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 600px) {
    .t_header_left .info{
        flex-direction: column;
        grid-gap: 10px;
    }
    .top_header .t_header_left .info .call:before{
        background: transparent;
    }
    #about .about_text h3{
        font-size: 20px;
    }
    #about .about_text h2{
        font-size: 22px;
    }
    #service_area{
        padding: 5rem 0;
    }
    #service_area .service_text h3{
        font-size: 32px;
    }
    #service_area .service_text p{
        font-size: 18px;
    }
    .heading-layout3 h2{
        font-size: 45px;
    }
    .offer_text p{
        font-size: 14px;
    }
    .banner-box-layout4 .item-title{
        padding-right: 2rem;
        font-size: 32px;
    }
    .single-service-box-layout1 .service-content .item-title{
        font-size: 28px;
    }
    .widget-category{
        padding: 1rem 1rem;
    }
    .test_header h2,.team_header h2{
        font-size: 32px;
    }
    .test_header p{
        font-size: 14px;
    }
    #banner .item .cover .header-content{
        padding: 0;
    }
    #banner .item .cover{
        padding: 0;
    }
    #banner .item .cover .header-content{
        text-align: center;
    }
    #banner:hover .owl-prev{
        left: 5px;
       
    }
    #banner:hover .owl-next{
        right: 5px;
    }
    .section-padding-12-9{
        padding: 4rem 0 7rem;
    }
    .financial_sec{
        text-align: left;
    }
    .financial_sec p{
        padding: 10px 0;
    }
    .financial_sec1{
        text-align: left;
    }
    .financial_sec1 h2{
        font-size: 28px;
      }
      .financial_sec1 p{
          padding: 0;
      }
      #about_sec1 .quote_box1{
          margin-bottom: 1rem;
      }
      .quotes_sec1 h3 {
        padding: 2rem 0rem 0.6rem 0rem;
        text-align: left;
    }
    #works_sec::after{
        display: none;
    }
    .service_heading h2{
        margin-bottom: 26px;
    }
    #accordion .panel-title a{
        padding: 15px 56px 15px 15px;
    }
    .form_inline .form-group input{
        margin-bottom: 1rem;
    }
    .section-title h2{
        font-size: 30px;
    }
    .contact-form form .form-control{
        height: 42px;
    }
    .contact-info .contact-info-content h2{
        font-size: 28px;
    }
    .top-header-social-links{
        justify-content: flex-start;
        margin-top: 1rem;
    }
  .dropdown_right{
      right: 0!important;
  }
  .dropdown_left{
      left: 0!important;
  }
  .work_text{
      padding: 0;
  }
}
@media only screen and (max-width: 600px){
    .offer_text p{
        margin-bottom: 10px;
    }
    .about-box-layout1{
        padding-right: 0;
    }
    .about-box-layout1 .item-title{
        font-size: 28px;
    }
    #offering .offer_text h3{
        font-size: 22px;
    }
    .widget-contact-form{
        padding: 1rem 1rem;
    }
    .copy_right p{
        font-size: 10px;
    }
    .mobli_logo a{
        display: flex;
        flex-direction: row;
        align-items: center;
        grid-gap: 5px;
    }
    .mobli_logo a .h_r_logo{
        width: 209px;
    }
    .mobli_logo a .s_r_logo{
        width: 86px;
    }
    #about{
        padding: 2rem 0;
    }
    .about_con {
        margin-top: 0px;
    }
    #blog .blog_hedaing{
        padding-left: 1rem;
    }
    .cmt-page-title-row-inner{
        padding: 30px 0;
    }
    .page-title-heading h2 {
      
        font-size: 30px;
       
    }
    .inevtment_box .form-content .form-items{
        padding: 16px;
    }
}
@media only screen and (max-width: 500px) {
    #banner .item .cover .header-content h1 {
        font-size: 24px;
        font-weight: 600;
        margin: 5px 0 7px;
        word-spacing: 3px;
        color: #1b8cc5;
    }
    #banner .item .cover .header-content h2 {
        font-weight: 300;
        font-size: 18px;
        color: #000;
    }
    #banner .item .cover .header-content h4 {
        font-size: 18px;
        font-weight: 300;
        line-height: 36px;
        color: #fff;
        margin-bottom: 2px;
    }
    #banner .item .cover .header-content a{
        padding: 9.5 10px;
        font-size: 14px;
        font-weight: 500;
        display: none;
    }
    #white_buble{
        bottom: -6px;
    }
    .mobli_logo a img{
width: 260px;
    }
    .testimonial2 .pic{
        position: inherit;
        width: 100%;
        transform: inherit;
        left: inherit;
    }
    .testimonial2 .pic img{
        width: 100%!important;
        height: auto!important;
    }
    .testimonial2 h3,.testimonial2 h4{
        padding-left: inherit;
    }
    .testimonial2{
        margin: 30px 15px 30px 15px;
    }
    .testimonial2 .description{
        left: inherit;
        padding: 0px 0px 15px 7px;
        width: 100%;
    }
    .testimonial2 .description:before{
        display: none;
    }
    #get_a_quote .quote_box{
        padding: 16px;
    }
    .insurance-details-header .content h3,.insurance-details-desc h3{
        font-size: 26px;
    }
    .ptb-100{
        padding-top: 26px;
        padding-bottom: 26px;
    }
    .about-section{
        padding: 30px 0px 10px;
    }
    .navbar-brand img{
        width: 130px;
    }
    .top-header-contact-info li:last-child{
        display: none;
    }
}
@media only screen and (max-width: 412px){
    .mobli_logo{
        padding: 14px 0;
    }
    .mobli_logo a .h_r_logo{
        width: 183px;
    }
    .mobli_logo a .s_r_logo{
        width: 56px;
    }
    .footer_bottom .copyright_content p{
        font-size: 14px;
    }
    #blog .blog_hedaing{
        flex-direction: column;
    }
    .quote_tex p{
        margin-bottom: 1rem;
    }
}


/* Large devices (laptops/desktops, 992px and up) */
/* @media only screen and (min-width: 992px) {...} */

/* Extra large devices (large laptops and desktops, 1200px and up) */
/* @media only screen and (min-width: 1200px) {...} */