@media(max-width: 1820px) {
    img.img-fluid.banner_img2 {
        max-width: 40%;
        height: 100%;
        object-fit: cover;
        object-position: left;
    }

    .ub_counter_wrap {
        padding: 6rem 20rem 12rem;
    }
}

@media(max-width: 1680px) {
    .main_header .mainmenu .primary-menu-container > ul > li:hover > ul.sub-menu > li:hover > ul.sub-menu {
        left: auto;
        right: 100%;
    }

    .ub_hbanner_wrap .cnt h1, .ub_hbanner_wrap .cnt h2 {
        font-size: 40px;
    }

    a.cmn_btn {
        font-size: 20px;
        line-height: 58px;
        padding: 0px 30px;
    }

    .ub_hbanner_wrap .cnt {
        margin-bottom: 20px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        right: -178px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        right: -178px;
        top: 21px;
    }

    .nav-container input[type="checkbox"]:checked {
        left: 140px;
    }

    .s_inn_content {
        width: 82%;
    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        right: -199px;
        display: block;
    }
}

@media(max-width: 1600px) {
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        right: -145px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        right: -145px;
        top: 21px;
    }

    .nav-container input[type="checkbox"]:checked {
        left: 108px;
    }

    h2, .number_stats, .ub_inner_banner .innbann_inner h1 {
        font-size: 40px;
    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        right: -159px;
        display: block;
    }

    .navbar .menu-items {
        width: 350px;
    }
}

@media(max-width: 1480px) {
    html {
        font-size: 14px;
    }

    a.cmn_btn {
        padding: 0px 25px;
    }

    /*=== Header Css ===*/
    .custom_header .ub_hdr .ub_hdr_top ul li a {
        font-size: 1.2rem;
    }

    .container {
        max-width: 1280px;
    }

    /*=== Home Page Css ===*/
    .ub_hbanner_wrap {
    }

    span.dots_img {
        right: 26px;
    }

    .ub_abcol_right.pos_rel {
        padding-left: 50px;
    }

    span.dots_img.two {
        right: 187px;
        bottom: 0;
    }

    .ub_testimonial_sec .cnt_wrap p {
        font-size: 18px;
        line-height: 27px;
        margin: 30px 0px 0px;
    }

    .ub_testimonial_sec .row {
        align-items: center !important;
    }

    .ss_content {
        padding: 40px 3%;
    }

    .ub_inner_banner {
        height: 418px;
    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        right: -97px;
        display: block;
    }
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        right: -78px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        right: -78px;
        top: 21px;
    }

    .nav-container input[type="checkbox"]:checked {
        left: 40px;
    }
}

@media(max-width: 1400px) {
    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        right: -42px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        right: -42px;
        top: 21px;
    }

    .nav-container input[type="checkbox"]:checked {
        left: 5px;
    }

    .ub_counter_wrap {
        padding: 6rem 8rem 12rem;
    }

    .plus2 {
        width: 100px;
    }
}

@media(max-width: 1380px) {
    .home h1 {
        font-size: 3rem;
        line-height: 3.625rem;
    }

    h1 {
        font-size: 2.5rem;
        line-height: 3.25rem;
    }

    h2, .number_stats , .ub_inner_banner .innbann_inner h1 {
        font-size: 2.8rem;
        line-height: 3.5rem;
    }

    h3 {
        font-size: 1.8rem;
        line-height: 2.5rem;
    }

    h4 {
        font-size: 1.5rem;
        line-height: 1.875rem;
    }

    h5 {
        font-size: 1.35rem;
        line-height: 1.675rem;
    }

    .serslider_wrapper .ctser_item .serbox_img {
        height: 300px;
    }

    .title h2, .ub_aboutinner .ub_abcnt .title h2 {
        font-size: 2.8rem;
        line-height: 2.5rem;
    }

    .ub_aboutinner .ub_abcol_left .ubab_img .img_uppercnt span {
        font-size: 25px;
        line-height: 1.5;
    }

    .expert_item .expert_item_in .cnt_overlay {
        display: block;
    }

    .expert_item .expert_item_in img {
        height: 475px;
    }

    .ub_fser_sec .ub_fser_item .ub_fserimg img {
        height: 360px;
    }

    .ub_hbanner_wrap {
        height: 510px;
        width: 100%;
    }

    section.about_video_wrapper .container {
        padding: 0px 0%;
    }

    section.about_video_wrapper {
        padding: 6rem 0rem;
    }
    .nav-container input[type="checkbox"]:checked ~ .menu-items {
    right: -42px;
    display: block;
}
}

@media(max-width: 1290px) {
    .container {
        max-width: 94%;
    }

    img.img-fluid.l_img {
        max-width: 370px;
    }

    span.dots_img.two {
        right: 145px;
        bottom: 0;
    }

    .wcu_mimg img.r_img {
        margin-top: 93px;
    }

    .navbar .menu-items {
        transform: translate(70%);
    }

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        right: 206px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        right: -6px;
    }

    .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        right: -6px;
        top: 21px;
    }

    .nav-container input[type="checkbox"]:checked {
        left: -30px;
    }

    .c_form h3 {
        font-size: 35px;
    }

    .bann_caption {
        position: relative;
    width: 100%;
    padding:50px 0;
    }

    .plus2 {
        display: none;
    }

    .footer_menu ul.secondarymenu_wrapper li a,.menu_text p {
        font-size: 16px;
    }
}

@media(max-width: 1200px) {
    .custom_header .ub_hright .sec_menu {
        position: initial;
    }
    .navbar .menu-items {
    transform: translate(0%);
}
    .ub_hdr_bottom {
        /* display: none; */
        position: absolute;
        top: 34px;
        right: 0px;
    }
.ub_hleft {
    display: flex;
    align-items: center;
}
    .custom_header .row {
        justify-content: space-between;
    }

    .custom_header .ub_hdr , .custom_header .ub_hdr .ub_hdr_top .ub_cond {
        /* justify-content: flex-end; */
    }

    span.dots_img {
        display: none;
    }

    img.img-fluid.r_img {
        margin-top: 200px;
        padding: 0 22px;
        max-width: 196px;
    }

    img.img-fluid.l_img {
        max-width: 290px;
    }

    .wcu_cnt_wrap {
        padding-right: 27px;
    }

    .title h2, .ub_aboutinner .ub_abcnt .title h2 {
        line-height: 3rem;
    }

    .col-md-5.foo_col {
        padding-left: 35px;
        width: 47%;
    }

    .footer_menu ul.secondarymenu_wrapper li a, .menu_text p {
        font-size: 13px;
        line-height: 20px;
    }

    .col-md-7.foo_col:last-child {
        padding-left: 49px;
        width: 53%;
    }

    .hcon_item.si_icon .sicon_title h5, .footitle h6 {
        font-size: 20px;
    }

    .fcol.fcol_one {
        padding-right: 28px;
    }

    span.nsubbtn {
        position: absolute;
        right: 0;
        left: 0;
        bottom: -60px;
        width: 110px;
        height: 100%;
        background: #6D8A00;
        overflow: hidden;
    }

    .cs_items {
        padding: 25px;
    }

    .cs_content p {
        font-size: 18px;
    }

    .wprmenu_icon span, #wprmenu_menu.wprmenu_levels ul li, html body div.wprm-wrapper, #wprmenu_bar, .wpr_search .wpr-search-field {
        width: 100% !important;
    }

    .fosubscription_form .emaillist form .es-form-field-container .gjs-row input[type="email"] {
        padding: 8px 12px;
    }

    .s_in {
        display: block;
        align-items: center;
        padding: 24px 10px;
        text-align: center;
    }

    .s_in_content {
        padding: 15px 0 0;
    }

    .s_process_box {
        border-radius: 0;
    }

    .ss_image {
        padding: 0;
        background: #6D8A00;
        width: 100%;
    }

    .ss_content {
        padding: 40px 3%;
        width: 100%;
    }

    .ss_image img {
        height: 100%;
        object-position: center;
        max-height: 640px;
    }

    .our_team_box {
        width: 33%;
    }

    .team_content_details {
        top: -30px;
    }

    .ub_topcnt_wrap .row {
        justify-content: center;
    }

    .ub_aboutteam_sec.cmn_padd {
        padding-bottom: 3rem;
    }

    .row.working_process_wrap {
        justify-content: center;
        padding: 0px 15px;
        padding-top: 35px;
    }

    .menu_text {
        padding-top: 80px;
    }

    .inner_contact_details li {
        width: 48%;
        margin: 1%;
    }

    .inner_contact_details ul {
        justify-content: center;
    }

    .about_cta {
        width: 50%;
    }
}

@media(max-width: 991px) {
    .navbar .menu-items {
        transform: translate(0%);
    }
    .custom_header .ub_hdr .ub_hdr_top ul li {
    
    margin-left: 10px;
   
}
.custom_header .ub_hdr .ub_hdr_top ul li a {
    font-size: 14px;
}
    

    .nav-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translate(-29%);
    }

    img.img-fluid.banner_img2 {
        display: none;
    }

    .ub_hbanner_wrap:before {
        max-width: 100%;
        background-image: none;
        background: rgb(255 255 255 / 25%);
    }

    .bann_caption {
        position: relative;
        width: 100%;
    }

    .cs_items_wrp {
        margin-top: 30px;
        width: 50%;
    }

    .ub_abcol_left {
        position: relative;
        width: 100%;
        justify-content: center;
        display: flex;
    }

    img.img-fluid.l_img {
        max-width: max-content;
    }

    img.img-fluid.r_img {
        margin-top: 200px;
        padding: 0 22px;
        max-width: max-content;
    }

    .ub_abcol_right.pos_rel {
        padding: 30px 0px 0px;
        width: 100%;
    }

    .ub_wcu_secwrap .col-md-5, .ub_wcu_secwrap .col-md-7, .testi_content_box , .revslider_wrap {
        width: 100%;
    }

    .wcu_cnt_wrap , .testi_content_box {
        padding: 0;
        padding-bottom: 30px;
    }

    .t_Arrow {
        text-align: center;
        margin-bottom: 0;
    }

    .ub_testimonial_sec .owl-dots {
        display: none;
    }

    .ub_fblog_sec .bs_item,.col-md-4.ub_fser_all {
        padding: 0px 15px 30px;
        width: 50%;
    }

    .fblog_slider_wrap .row {
        justify-content: center;
    }

    .form_f .col-md-3 {
        width: 50%;
    }

    .hcon_item.si_icon .sicon_title h5, .footitle h6 {
        font-size: 18px;
    }

    .footer_top .footer_contact .fconitem .fcontext {
        font-size: 14px;
    }

    .col-md-7.foo_col:last-child {
        padding-left: 24px;
        width: 53%;
    }

    .ub_inner_banner {
        height: 370px;
    }

    .ub_counter_wrap {
        padding: 5rem 0rem 12rem;
    }

    .service_content_wrp {
        width: 100%;
        margin-bottom: 30px;
    }

    .s_image ,.services_listing {
        width: 50%;
    }

    .about_content {
        display: flex;
        align-items: center;
        padding: 20px 12px 0;
        width: 100%;
    }

    .about_image.wow.fadeInRight {
        width: 100%;
        justify-content: center;
        padding: 40px 0 0;
    }

    section.about_video_wrapper {
        padding: 3rem 0rem;
    }

    .row.working_process_wrap {
        padding-top: 5px;
        display: block;
    }

    .working_process_box {
        margin: 20px auto;
    }

    .our_team_box {
        width: 50%;
    }

    .team_content_details {
        top: -28px;
    }

    p {
        font-size: 16px !important;
        line-height: 26px !important;
    }

    .inner_contact_details li {
        width: 100%;
        margin: 10px 0px;
    }

    .c_form {
        box-shadow: 0px 14px 54px 0px rgba(0, 0, 0, 0.10);
        padding: 4% 5% 35px;
        width: 100%;
        border-radius: 0px;
        overflow: hidden;
    }

    .c_image {
        padding: 0;
        width: 100%;
        border-radius: 0;
        overflow: hidden;
        text-align: center;
    }

    .inner_image img {
        max-height: 600px;
    }

    .c_image img {
        width: 70%;
    }

    .social_medias h4 {
        font-size: 25px;
    }
}

@media(max-width: 767px) {
    .gallery-section {
        padding: 40px 0px;
    }
    .ub_inner_banner {
        height: auto;
    }
    .cs_items:after{
        display:none;
    }
    .col-md-4.ub_fser_all {
    width: 100%;
}
.ub_fquote_sec.cmn_padd {
    margin-bottom: 40px;
}
    h2, .number_stats, .ub_inner_banner .innbann_inner h1 , .c_form h3 {
        font-size: 2.4rem;
        line-height: 3rem;
    }

    .bann_caption {
        text-align: center;
    }

    .cmn_padd_top {
        padding-top: 3.25rem;
        padding-bottom: 0;
    }

    .cmn_padd_bottom {
        padding-top: 0rem;
        padding-bottom: 3.25rem;
    }

    .s_image {
        text-align: center;
        display: none;
    }

    .services_listing {
        width: 100%;
    }

    .s_in {
        padding: 24px 15px;
    }

    .site-logo {
        /* text-align: center; */
    }

    .custom_header .ub_hright {
        padding: 10px 0px;
    }

    .ub_hdr_bottom {
        top: 20px;
    }

    .ub_hbanner_wrap {
        height: auto;
        padding: 50px 0px;
    }

    .ub_hbanner_wrap .cnt h1, .ub_hbanner_wrap .cnt h2 {
        font-size: 30px;
    }

    .cmn_padd, .ub_testimonial_sec {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .revslider_wrap .owl-item {
        padding: 30px;
        /* margin: 0 !important; */
    }

    .fcol.fcol_one, .fcol.fcol_three ,.fcol.fcol_two, .col-md-5.foo_col, .col-md-7.foo_col:last-child {
        border: none;
        padding: 0px;
        width: 100%;
        text-align: center;
    }

    .fcol.fcol_two .row {
        padding: 30px 12px;
    }

    .hcon_item.si_icon .sicon_title h5, .footitle h6 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer_menu ul.secondarymenu_wrapper li a {
        font-size: 16px;
        line-height: 20px;
    }

    .hcon_item.si_icon {
        text-align: center;
        margin-top: 0px;
        margin-bottom: 30px;
    }

    .ub_fsercnt {
        padding: 15px 25px 30px;
    }

    .col-md-7.foo_col:last-child {
        padding-top: 20px;
    }

    .freequote_formwrap .mainform_fq .form_wrap .form-control , .btn_grp p {
        height: 54px;
    }

    .freequote_formwrap .mainform_fq .form_wrap .btn_grp .form_btn {
        font-size: 20px;
    }

    span.nsubbtn {
        width: 100%;
    }

    .footer_top .footer_contact .fconitem {
        width: 100%;
    }

    .f_details .footer_contact {
        display: block;
    }

    .ub_fquote_sec .title h6 {
        font-size: 30px;
        text-align: center;
    }

    .custom_header .ub_hdr , .custom_header .ub_hdr .ub_hdr_top .ub_cond {
        justify-content: center;
    }

    .row.stats-row .col-md-3 {
        box-shadow: 0px 0px 10px rgb(0 0 0 / 18%);
        padding: 0;
        margin: 10px 0px;
        width: 50%;
    }

    .ub_specitem {
        padding: 15px 0px 20px;
        background-image: none;
    }

    .row.stats-row .col-md-3 {
        box-shadow: 0px 0px 10px rgb(0 0 0 / 18%);
        padding: 0;
        margin: 10px 0px;
        width: 50%;
    }

    .row.stats-row {
        width: 90%;
        margin: auto;
        padding: 10px 15px;
    }

    .s_inn_content {
        width: 100%;
        padding: 20px 0 0;
    }

    .c_form .btn_grp {
        display: block;
    }

    .about_cta {
        width: 70%;
    }

    .ss_content {
        padding: 40px 6%;
        width: 100%;
    }

    .c_form .btn_grp input {
        font-size: 18px;
    }

    .footer_copyright p {
        font-size: 14px !important;
    }
	.footer_top {
    background: #000;
    padding: 40px 0 0;
    margin-top: 0px;
}
.ub_flex {
    flex-direction: column;
}
	.c_form .btn_grp p span.wpcf7-spinner {
		position: absolute;
		top: auto;
		bottom: -40px;
		right: 50%;
		transform: translate(-50%, 0px);
	}
	.freequote_formwrap .mainform_fq .wpcf7-date {
        padding: 15px 15px !important;
    }
}

@media(max-width: 580px) {
    .ub_fquote_sec.cmn_padd {
        padding-left: 0;
        padding-right: 0;
    }
    .ub_fquote_sec .title {
        margin-bottom: 20px;
    }
    .ub_fblog_sec .bs_item {
        padding: 0px 15px 30px;
        width: 100%;
    }
    .f_details {
    display: flex;
    margin-top: 0px;
}

    h2, .number_stats, .ub_inner_banner .innbann_inner h1, .c_form h3 {
        font-size: 2rem;
        line-height: 2.4rem;
    }

    .our_team_box {
        width: 100%;
    }

    .ub_specitem {
        padding: 15px 0px 20px;
        background-image: none;
    }

    .row.stats-row .col-md-3 {
        box-shadow: 0px 0px 10px rgb(0 0 0 / 18%);
        padding: 0;
        margin: 10px 0px;
        width: 100%;
    }

    .row.stats-row {
        width: 90%;
        margin: auto;
    }

    .map_iframe {
        height: auto;
    }

    .cs_items_wrp {
        margin-top: 30px;
        width: 100%;
    }

    .form_f .col-md-3 {
        width: 100%;
    }

    .custom_header .ub_hdr .ub_hdr_top ul li {
        padding-left: 0;
    }

    .custom_header .ub_hdr .ub_hdr_top ul {
        text-align: center;
    }

    .custom_header .ub_hdr .ub_hdr_top ul li:first-child {
        padding: 0;
        margin: 4px 0;
    }
.custom_header .ub_hdr .ub_hdr_top ul li {
    margin-left: 0px;
}
    a.cmn_btn {
        padding: 0px 18px;
        font-size: 16px;
        line-height: 46px;
        display: inline-block;
    }

    a.cmn_btn.second {
        margin-left: 0;
    }

    .ubab_img img {
        height: 230px;
    }

    img.img-fluid.r_img {
        margin-top: 80px;
        padding: 0px 8px;
        max-width: max-content;
    }

    .title h2, .ub_aboutinner .ub_abcnt .title h2 {
        line-height: 2rem;
        font-size: 1.8rem;
    }

    .wcu_mimg {
        display: block;
        text-align: center;
    }

    .wcu_mimg img.img-fluid.r_img {
        margin-top: 0px;
        padding: 0px 0px 20px;
    }

    .t_img {
        top: -30px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .scnt {
        padding-top: 20px;
    }

    .rslider_inner {
        text-align: center;
    }

    .rslider_item {
        padding: 35px 21px 27px;
    }

    .revslider_wrap .owl-item {
        padding: 30px 0;
    }

    .testi_content_box {
        text-align: center;
        padding: 0px 10px 30px;
    }

    .footer_top .footer_contact .fconitem {
        justify-content: center;
    }

    span.d_content p {
        font-size: 15px;
    }

    .about_cta {
        width: 100%;
    }

    .ub_fblog_sec .post_img img {
        max-height: 100%;
        min-height: 300px;
        width: 100%;
    }

    .ub_fblog_sec .cnt {
        padding: 20px 22px 45px;
    }

    a.footer_brand img {
        max-width: 150px;
    }

    .inner_image img {
        max-height: 440px;
    }

    .circle_img {
        display: none;
    }

    .footer_top {
        padding: 50px 20px 0;
    }
    
    .gallery-section .row a {
        height: 200px;
    }
}
