/* ========================================
   RESPONSIVE CSS - ORGANIZED BY WIDTH SIZES
   ======================================== */

/* ========================================
   XXL DEVICES (1500px - 1750px)
   ======================================== */
@media (min-width: 1500px) and (max-width: 1750px) {
    .ui-timepicker-wrapper {
        right: 60px !important;
    }
    .hero_area .hero_wrap .hero_img .d_img {
        max-width: 95px;
    }
    .header_area .header_space {
        /* padding: 35px 50px; */
    }
    .hero_1 .hero_wrap {
        padding: 0 50px;
        padding-top: 80px;
    }
    .hero_bottom {
        left: 65px;
        right: 65px;
    }
    .header_area .header_space.sticky {
        padding: 12px 50px;
    }
    .hero_area.hero_2 {
        margin: 0 60px;
    }
    .header_2 .header_space {
        padding: 10px 50px;
    }
    .hero_2 .hero_wrap {
        padding: 0 100px;
    }
    .header_carts {
        margin-right: 20px;
    }
}

/* ========================================
   XL DEVICES (1200px - 1500px)
   ======================================== */
@media (min-width: 1200px) and (max-width: 1500px) {
    .ui-timepicker-wrapper {
        right: 60px !important;
    }
    .header_area .header_space {
        padding: 30px 10px;
        padding-top: 25px;
    }
    .hero_1 .hero_wrap {
        padding: 0 10px;
    }
    .hero_area .hero_wrap .hero_img .d_img {
        max-width: 73px;
    }
    .hero_bottom {
        left: 25px;
        right: 25px;
    }
    .testimonial_active {
        width: 47%;
    }
    .info_list li {
        margin-bottom: 35px;
    }
    .offer_img_bg {
        background-position: 35%;
    }
    .header_area .header_space.sticky {
        padding: 0;
    }
    .header_carts {
        margin-right: 30px;
    }
    .category_active.owl-carousel .owl-nav div {
        margin: 0 -30px !important;
    }
    .tm_content .sec_title > p {
        max-width: 500px;
    }
    .section_bg::before {
        width: 10px;
    }
    .offer_area {
        border-top: 4px solid #efefef;
        border-bottom: 4px solid #efefef;
    }
    .hero_area.hero_2 {
        margin: 0 20px;
    }
    .hero_2 .hero_wrap {
        padding: 0 70px;
    }
    .hero_2 .hero_wrap .hero_img {
        margin-top: 30px;
        padding-right: 0;
        max-width: 500px;
    }
    .header_area .header_space {
        padding: 0;
    }
    .reservation_form_wrap {
        padding: 60px;
    }
    .blog_item .blog_text {
        padding: 30px;
    }
    .testimonial_img, .about_area .about_left {
        margin-right: -30px;
        margin-left: 50px;
        max-width: 500px;
    }
    .year_content_wrap {
        left: 5px;
        bottom: 64px;
    }
    .hero_3 .hero_img {
        /* max-width: 600px; */
    }
    .hero_3 .hero_content_wrap {
        padding-top: 0;
    }
    .hero_feat_wrap .sf_01 {
        right: 10%;
    }
    .hero_feat_wrap .sf_02 {
        left: 9%;
    }
    .hero_3 .hero_height {
        min-height: 750px;
    }
    .services_space {
        padding-top: 170px;
    }
    .offer_3 .offer_content {
        padding-left: 0;
    }
    .main_menu ul li {
        margin-left: 32px;
    }
}

/* ========================================
   XL EXTRA (1200px - 1300px)
   ======================================== */
@media (min-width: 1200px) and (max-width: 1300px) {
    .main_menu ul li {
        margin-left: 25px;
    }
    .hero_2 .hero_wrap {
        padding: 0 20px !important;
        padding-bottom: 100px !important;
    }
    .hero_3 .hero_img {
        /* max-width: 550px; */
    }
    .hero_3 .hero_content_wrap {
        padding-top: 120px;
    }
    .hero_3 .hero_height {
        min-height: 800px;
    }
    .services_img {
        margin-right: 0;
        margin-left: 40px;
    }
    .testimonial_content_wrap {
        padding: 100px 70px;
    }
    .hero_shape .hs_01 {
        max-width: 140px;
    }
    .hero_shape .hs_02 {
        max-width: 200px;
    }
    .page_title_img {
        left: 9%;
        max-width: 375px;
    }
    .faq_bg::before {
        right: -70px;
    }
    .header_right .search_box {
        display: none;
    }
    .header_area .sticky .container-fluid {
        max-width: 1140px;
    }
}

/* ========================================
   LG DEVICES (992px - 1199px)
   ======================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .ui-timepicker-wrapper {
        right: 40px !important;
    }
    .header_area .header_space {
        /* padding: 25px 0; */
    }
    .header_right .search_box {
        display: none;
    }
    .main_menu .main_menu_list li {
        margin-left: 35px;
    }
    .hero_1 .hero_wrap {
        padding: 0;
        padding-top: 50px;
    }
    .hero_area .hero_height {
        min-height: 900px;
    }
    .hero_area .hero_wrap .hero_text h2 {
        font-size: 65px;
        line-height: 74px;
    }
    .info_list li {
        margin-bottom: 50px;
        padding-left: 0;
    }
    .info_list li::before, .info_list li .count {
        display: none;
    }
    .hero_area .hero_wrap .hero_img .d_img {
        max-width: 75px;
        top: -20px;
        left: -7px;
    }
    .hero_bottom {
        bottom: 45px;
        left: 15px;
        right: 15px;
    }
    .category_active .owl-nav div {
        margin: 0 -30px;
    }
    .offer_img_bg {
        background-position: 36%;
    }
    .brand_img {
        padding: 50px 20px;
    }
    .hero_area .hero_wrap .hero_text .hero_btn a {
        padding: 15px 26px;
        margin-right: 20px;
    }
    .offer_area .d_img {
        max-width: 95px;
    }
    .header_area .header_space.sticky {
        padding: 7px 0;
    }
    .hero_area .hero_img {
        margin-right: 0;
    }
    .category_active.owl-carousel .owl-nav div {
        margin: 0 -30px !important;
    }
    .section_bg::before {
        width: 50px;
    }
    .offer_area {
        border-top: 50px solid #efefef;
    }
    .header_2 .header_carts {
        margin-right: 0;
    }
    .hero_area.hero_2 {
        margin: 0 15px;
    }
    .header_area .header_space {
        /* padding: 15px 0; */
    }
    .hero_2 .hero_wrap {
        padding: 0 20px;
    }
    .category_slide .cs_item {
        flex-basis: 25%;
        border-bottom: 2px solid #2c2a32;
    }
    .year_content_wrap {
        left: 5px;
        bottom: 64px;
    }
    .hero_2 .hero_img {
        padding-left: 0;
        max-width: 400px;
    }
    .reservation_form_wrap {
        padding: 60px 40px;
    }
    .blog_item .blog_text, .blog_item .blog_thumb {
        width: 100%;
    }
    .blog_area .blog_item {
        display: inherit;
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 30px;
    }
    .blog_item .blog_text {
        padding: 40px;
    }
    .hero_3 .hero_img {
        /* max-width: 450px; */
        margin: auto;
    }
    .hero_3 .hero_text h2 {
        margin-bottom: 30px;
    }
    .hero_3 .hero_content_wrap {
        padding-top: 0;
    }
    .hero_shape .hs_01 {
        max-width: 130px;
    }
    .hero_shape .hs_02 {
        max-width: 180px;
    }
    .hero_feat_wrap .sf_01 {
        right: 4%;
    }
    .hero_feat_wrap .sf_02 {
        left: 4%;
    }
    .hero_area .hero_height {
        min-height: 800px;
    }
    .services_img {
        margin-right: 0;
        margin-left: 20px;
    }
    .services_space {
        padding-top: 120px;
    }
    .offer_3 .offer_content {
        padding-left: 0;
    }
    .offer_3 .sec_title > h2 {
        font-size: 60px;
    }
    .testimonial_content_wrap {
        padding: 80px 40px;
    }
    .page_title_img {
        left: 5%;
        max-width: 378px;
    }
    .faq_img {
        left: -100px;
        max-width: 400px;
    }
    .history_wrap .sec_title {
        max-width: 400px;
    }
    .pricing_range {
        display: block;
        padding-left: 0px;
        margin-bottom: 20px;
    }
    .shop_filter_tags {
        display: block;
    }
    .shop_filter_bar .item_title {
        margin-left: 0px;
        margin-bottom: 10px;
    }
    .account_wrap {
        padding: 60px 50px;
    }
    .shop_details .details_content {
        padding-right: 10px;
    }
    .blog_wrap .post_item {
        padding: 20px;
    }
    .widget_wrap .widget {
        padding: 30px 20px;
    }
    .blog_dtls_wrap {
        padding: 20px;
    }
    .header_carts .icon {
        margin-right: 15px;
    }
    .header_area .sticky .container-fluid {
        max-width: 960px;
    }
    .hero_3 .hero_height {
        padding-top: 80px;
    }
    .offer_content .sec_title-#efefef > p {
        /* max-width: 450px; */
    }
}

/* ========================================
   MD DEVICES (768px - 991px)
   ======================================== */
@media (max-width: 991px) {
    .header_search_wrap, .cart_wishlist {
        display: none;
    }
    .addresstexttophero {
        font-size: 10px;
    }
    .contactustitle , .contactustext , .sectiontwotitle {
        text-align: center;
    }
    .afterheroimgbox {
        margin: auto;
        text-align: center;
    }
    .afterheroimg {
        max-height: 350px;
        aspect-ratio: 1;
    }
    .video-poster-text {
        font-size: 1.2rem;
        padding: 12px 18px;
    }
    .brandvir {
        justify-content: center;
    }
    .brandname {
        justify-content: center;
    }
    span.date {
        top: 0;
        left: 0;
    }
    .blog_text > .title {
        color: #d35931;
    }
    .blog_btn {
        /* color: #efefef; */
    }
    .blog_single {
        /* background: #1a1a1a; */
    }
    .footer-area::before{
        display: none;
    }
    .blog-area::after{
        display: none;
    }
    .blog-area {
        border: none;
        /* background: #efefef; */
        /* margin-top: 30px; */
        padding-top: 50px!important;
    }
    .brand_area::after{
        display: none;
    }
    .ourBrandss {
        font-size: 20px;
    }
    .brandigm {
        max-width: 48px;
    }
    .nav.nav-pills {
        justify-content: center;
        margin-bottom: 40px!important;
    }
    .maintabbox {
        justify-content: space-between;
    }
    .nav-link.maintabitem.active {
        padding: 7.5px 4px;
        font-size: 15px;
    }
    .nav-link.maintabitem{
        font-size: 15px;
    }
    .sectiontwocontainer {
        border: none;
        background: #efefef;
    }
    .offer_area {
        border: none;
    }
    .sectiontwocontainer::after {
        display: none;
    }
    .whyRigelText {
        font-size: 25px;
    }
    .whyRigelBox {
        padding: 20px;
        margin-top: 20px!important;
        background: #efefef;
    }
    .whyRigelDatas {
        font-size: 15px;
        color: #1a1a1a;
    }
    .ui-timepicker-wrapper {
        right: 15px !important;
    }
    .header_right .search_box, .slide-bar .cart-sidebar {
        display: none;
    }
    .main_menu_wrap {
        display: flex;
        padding-left: 15px;
        align-items: center;
        justify-content: flex-end;
    }
    .header_area .header_space {
        padding: 0;
    }
    .hero_area .hero_wrap .hero_img .d_img {
        max-width: 75px;
        top: -4px;
        left: -14px;
    }
    .hero_1 .hero_wrap {
        padding: 0;
        padding-top: 86px;
    }
    .hero_area .hero_wrap .hero_text h2 {
        font-size: 30px;
        line-height: 60px;
        text-align: center;
    }
    .info_list li {
        text-align: right;
        padding-left: 0;
        padding-right: 70px;
        margin-bottom: 35px;
    }
    .info_list {
        padding-top: 0;
    }
    .hero_bottom {
        position: unset;
        padding: 25px 0;
        padding-bottom: 50px;
    }
    .hero_video {
        float: left;
        padding-top: 14px;
    }
    .info_list li .count {
        right: 0;
        background: #1a1a1a;
        border: 1.5px dotted #efefef;
    }
    .info_list li::before {
        right: 27px;
        background: #1a1a1a;
    }
    .sec_title > h2 {
        font-size: 30px;
    }
    .offer_btn li:not(:last-child) {
        margin-left: 20px;
    }
    .offer_content .offer_price h4 {
        font-size: 30px;
    }
    .offer_content .offer_price h4 > span {
        font-size: 15px;
    }
    .offer_area .offer_img {
        max-width: 400px;
        float: right;
        margin: 0;
        padding-top: 90px;
        padding-bottom: 90px;
    }
    .offer_area .offer_content {
        padding: 0;
    }
    .offer_area {
        padding-top: 60px;
    }
    .section_bg::before {
        width: 100%;
    }
    .aboutRigelText {
        color: black;
        font-size: 1em;
    }
    .offer_area .d_img {
        left: 11px;
        top: 51px;
        max-width: 80px;
    }
    .thm_btn {
        padding: 15px 32px;
    }
    .masonry_active button {
        font-size: 13px;
        padding: 12px 25px;
    }
    .offer_img_bg {
        background-position: 60%;
    }
    .offer_3.offer_img_bg {
        background-position: 30%;
    }
    .offer_2 .d_img {
        display: none;
    }
    .cta_bg_wrap .cta_app {
        display: none;
    }
    .cta_bg_wrap .cta_text {
        padding: 0;
    }
    .cta_bg_wrap {
        padding: 70px 25px;
    }
    .testimonial_active {
        width: 100%;
        position: unset;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        padding-top: 45px;
    }
    .testimonial_bg {
        background-size: cover;
    }
    .brand_area {
        padding: 0!important;
        margin-top: 30px;
    }
    .b_border:not(:last-child) {
        border-right: 0;
    }
    .footer_top .sub_text {
        text-align: center;
        margin-bottom: 30px;
    }
    .footer_top .sub_text h3 {
        font-size: 30px;
    }
    .footer_top .sub_from button {
        padding: 0 25px;
    }
    .footer_widget.footer_link {
        padding-left: 0;
    }
    .footer_widget.widget_blog {
        margin-left: 0;
    }
    .mobile_app {
        padding-top: 120px;
    }
    .header_area .header_space.sticky {
        padding: 0;
    }
    .hero_area .order-first {
        order: 0 !important;
    }
    .hero_wrap .hero_img {
        /* max-width: 400px; */
        /* margin: 0px auto 30px; */
        /* padding-right: 0; */
        float: right;
    }
    .hero_bottom .hero_video {
        float: right;
    }
    .hero_area.hero_1::before {
        width: 100%;
    }
    .hero_area.hero_2 {
        margin: 0;
    }
    .hero_2 .hero_wrap {
        padding: 0;
        padding-top: 50px;
    }
    .hero_2 .hero_social {
        padding-bottom: 50px;
    }
    .hero_social li {
        margin-left: 30px;
    }
    .hero_search_form button, .footer_top .sub_from button {
        position: unset;
        padding: 16px 30px;
        width: 100%;
        margin-top: 12px;
    }
    .category_slide .cs_item {
        flex-basis: 50%;
        border-bottom: 2px solid #2c2a32;
    }
    .testimonial_img, .about_area .about_left {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .year_content_wrap h2 {
        font-size: 70px;
    }
    .year_content_wrap {
        left: 22px;
        bottom: 37px;
    }
    .about_info_wrap li {
        width: 100%;
    }
    .masonry_active button {
        margin-left: 15px;
    }
    .reservation_form_wrap {
        padding: 60px 15px;
    }
    .testimonial_active-2 .owl-nav {
        left: 0;
        bottom: -37px;
    }
    .blog_item .blog_text, .blog_item .blog_thumb {
        width: 100%;
    }
    .blog_area .blog_item {
        display: inherit;
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 30px;
    }
    .blog_item .blog_text {
        padding: 30px 25px;
    }
    .category_active.owl-carousel .owl-nav {
        display: none;
    }
    .hero_3 .hero_content_wrap {
        padding-top: 130px;
        padding-bottom: 80px;
    }
    .services_img {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
    }
    .services_space {
        padding-top: 120px;
    }
    .hero_feat_wrap .hf_single {
        position: unset;
    }
    .hero_feat_wrap .sf_01 .hf_shape, .hero_feat_wrap .sf_02 .hf_shape {
        display: none;
    }
    .hero_3 .hero_wrap .hero_img {
        float: unset;
    }
    .hero_3 .hero_text h2 {
        margin-bottom: 40px;
    }
    .experience_text {
        padding: 18px 30px;
    }
    .recipe_menu li {
        flex-basis: 50%;
    }
    .recipe_item {
        display: block;
        padding: 25px 40px;
        text-align: center;
    }
    .recipe_item .ri_img {
        text-align: center;
        width: 100%;
        border: 0;
        margin-bottom: 30px;
        padding-right: 0;
    }
    .recipe_item .ri_content {
        display: unset;
        margin-left: 0;
    }
    .recipe_item .ri_content .ri_cart {
        text-align: center;
        margin-top: 20px;
    }
    .offer_3 .offer_content {
        padding: 0;
    }
    .hero_feat_wrap .sf_02 {
        text-align: right;
        margin-top: 30px;
    }
    .hero_shape .hs_01 {
        max-width: 100px;
    }
    .hero_shape .hs_02 {
        max-width: 150px;
    }
    .offer_3 .sec_title > h2 {
        font-size: 50px;
    }
    .testimonial_content_wrap {
        padding: 60px 30px;
    }
    .page_title_img {
        display: none;
    }
    .page_title_area {
        padding: 100px 0;
        padding-bottom: 120px;
    }
    .page_title h1 {
        font-size: 35px;
    }
    .services_content .a_info_list.ul_li li {
        width: 100%;
    }
    .cta_img {
        display: none;
    }
    .cta_bg_2::before {
        width: 100%;
    }
    .cta_bg_2 {
        padding: 60px 20px;
    }
    .faq_img {
        display: none;
    }
    .faq_bg::before {
        right: 0;
        width: 100%;
    }
    .faq_bg {
        padding: 50px 20px;
    }
    .faq_wrapper .accordion-box .block .acc-content {
        padding-left: 0;
    }
    .history_wrap::before {
        display: none;
    }
    .history_wrap .history_item {
        margin-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }
    .history_wrap .history_left {
        margin-right: 0;
        margin-top: 0;
    }
    .history_wrap .history_right {
        margin-left: 0;
    }
    .history_wrap .history_item .number_box {
        display: none;
    }
    .history_wrap .sec_title {
        position: unset;
        margin-bottom: 50px;
    }
    .history_wrap .history_item .h_text {
        padding: 30px 25px;
    }
    .pricing_range {
        display: block;
        padding-left: 0px;
        margin-bottom: 20px;
    }
    .shop_filter_tags {
        display: block;
    }
    .shop_filter_bar .item_title {
        margin-left: 0px;
        margin-bottom: 10px;
    }
    .shop_filter_bar {
        padding: 35px 30px;
    }
    .product_details_img {
        width: 79%;
    }
    .shop_details .details_content {
        padding-right: 0;
    }
    .shop_thumb_tab ul li {
        margin-bottom: 10px;
        padding-right: 10px;
    }
    .details_content .title {
        font-size: 30px;
    }
    .product_info li .nav-link {
        font-size: 12px;
        padding: 13px 21px;
    }
    .cart_table {
        overflow-x: scroll;
    }
    .cart_table table {
        max-width: 700px;
        width: 700px;
    }
    .checkout_wrap {
        padding: 30px 20px;
    }
    .blog_wrap .post_item {
        padding: 20px;
    }
    .widget_wrap .widget {
        padding: 30px 20px;
    }
    .post_content .post_meta li:not(:last-child)::before {
        display: none;
    }
    .post_content .post_meta li {
        margin-left: 0;
        padding-left: 25px;
    }
    .post_item .post_content .title {
        font-size: 24px;
        line-height: 38px;
    }
    .blog_dtls_wrap {
        padding: 15px;
    }
    .post_content .title {
        font-size: 28px;
        line-height: 38px;
    }
    .post_comment .comment_list li .comment_author {
        position: unset;
        margin-bottom: 25px;
    }
    .post_comment .comment_list li {
        padding-right: 0;
    }
    .post_comment .comment_list li .comment_content .reply {
        position: unset;
        margin-top: 20px;
    }
    .contact_wrap {
        padding: 15px;
    }
    .reserve_table_form .from_title {
        font-size: 32px;
    }
    .reserve_table_form {
        padding: 40px 20px;
    }
    .header_carts {
        margin-right: 0;
    }
    .experience_text h1 {
        font-size: 48px;
        margin-left: 15px;
    }
    .header_area .container-fluid {
        max-width: 540px;
    }
    .header_2 .container-fluid, .header_3 .container-fluid {
        max-width: 100%;
    }
    .header_2 .sticky .container-fluid, .header_3 .sticky .container-fluid {
        max-width: 540px;
    }
    .hero_2 .container-fluid {
        max-width: 540px;
    }
}

/* ========================================
   SM DEVICES (768px and below)
   ======================================== */
@media (max-width: 768px) {
    .topherobox {
        flex-direction: column;
        text-align: center;
    }
    .language-switcher {
        margin: 10px 0 0 0;
    }
    .testimonial_bg {
        height: 850px!important;
    }
    .rigel-features-section .feature-card {
        padding: 1.2rem;
    }
    .rigel-features-section .feature-card h5 {
        font-size: 1rem;
    }
    .rigel-features-section .feature-card p {
        font-size: 0.85rem;
    }
    .requestrighimg {
        max-width: 80px;
        position: absolute;
        top: 0px;
        left: -5px;
        transform: translateY(0);
    }
    .requestleftimg {
        max-width: 90px;
        position: absolute;
        top: unset;
        right: -30px;
        bottom: -7px;
        transform: translateY(0);
    }
    .requestcontactsectionsend > p {
        flex-direction: column;
    }
    .requestcontactsectioninput {
        height: 45px;
    }
    .requestcontactsectionbutton {
        height: 45px;
        width: 100%;
    }
    .about-hero h1 {
        font-size: 2.5rem;
    }
    .feature-card {
        width : 100%;
    }
    .section-title {
        font-size: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: 1fr;
        width: 80%;
        margin: 50px auto 0 auto;
    }
    .btn-primary-custom, .btn-outline-custom {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
    .feature-icon {
        margin: 0 auto 15px;
    }
    .modal-dialog {
        margin: 10px;
    }
    .modal-body {
        padding: 20px;
    }
    .modal-header,
    .modal-footer {
        padding: 15px 20px;
    }
    .modal-title {
        font-size: 1.1rem;
    }
    .modal-body h6 {
        font-size: 1rem;
    }
    .modal-body ul li {
        font-size: 0.9rem;
    }
}

/* ========================================
   LARGE MOBILE (480px - 767px)
   ======================================== */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .testimonial_active .owl-stage-outer {
        display: inline-block;
    }
    .category_slide .cs_item {
        flex-basis: 25%;
    }
    .about_info_wrap li {
        width: 45%;
    }
    .info_list li {
        max-width: 400px;
    }
    .services_content .a_info_list.ul_li li {
        width: 50%;
    }
}

/* ========================================
   XS DEVICES (576px and below)
   ======================================== */
@media (max-width: 576px) {
    .hf_single {
        margin: 50px 0;
    }
    .testimonial_area-p {
        display: none;
    }
    .testimonial_bg {
        height: 400px!important;
        padding-top: 55px!important;
    }
    .hero_wrap > .container {
        padding-top: 2rem;
    }
}

/* ========================================
   HEIGHT BASED MEDIA QUERIES
   ======================================== */
@media (max-height: 790px) and (min-width: 769px) {
    .hero_wrap > .container {
        padding-top: 84px;
    }
}

/* ========================================
   LARGE SCREENS (1400px and above)
   ======================================== */
@media (min-width: 1400px) {
    .testimonial_bg {
        height: 600px;
    }
    .testimonial_active {
        height: 650px;
    }
    .tm_single {
        height: 475px;
    }
}

/* ========================================
   MEDIUM LARGE SCREENS (992px - 1400px)
   ======================================== */
@media (max-width: 1400px) {
    .testimonial_bg {
        height: auto;
    }
    .testimonial_active {
        height: 500px;
    }
    .tm_single {
        height: 500px;
    }
}

/* ========================================
   MEDIUM SCREENS (992px and below)
   ======================================== */
@media (max-width: 992px) {
    .history_wrap .history_item .h_text {
        margin-top: 0!important;
    }
    .testimonial_bg {
        /* height: 665px!important; */
    }
    .testimonial_active {
        height: 650px;
        top: 95%;
        left: 20%;
    }
    .tm_single {
        height: auto!important;
    }
}