/* CSS used here will be applied after bootstrap.css */

@media screen and (min-width: 768px) {
    #bigModal .modal-dialog {
        width: 80%!important;
        max-width: 1024px;
        max-height: 80%;
        margin: 60px auto;
    }
    #bigModal .modal-dialog img {
        max-height: 100%;
    }
    #bigModal .modal-dialog img:hover {
        transform: scale(1);
    }
}

@media(max-width: 1800px) {
    .wrapper-pro-mech .pro-mech-left {
        width: 65%;
    }
    .wrapper-pro-mech .pro-mech-right {
        width: 45%;
    }
    .bg-dark .inner-text {
        padding: 2.5rem 4rem;
        width: 100%;
    }
    .text-info p {
        font-size: 1.5rem;
        line-height: 140%;
    }
    .listing li {
        padding: 5px 0;
    }
}

@media(max-width: 1800px) {
    .wrapper-pro-mech .pro-mech-left,
    .wrapper-pro-mech .pro-mech-right {
        width: 50%;
    }
}

@media(max-width: 1440px) {
    .top-header {
        height: auto !important;
    }
    h1.title {
        font-size: 4rem;
    }
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 5rem;
    }
    .carousel-caption h1 {
        font-size: 3rem;
    }
    .inner-text {
        padding: 2rem;
        width: 90%;
    }
    .heading h2 {
        margin: 0.5rem 0 3rem;
        font-size: 3rem;
    }
    .bg-darked h2 {
        font-size: 1.5rem;
        margin: 1.4rem 0;
    }
    .bg-darked .owl-nav {
        right: 20px;
        top: -55px;
    }
    .content .content-wrapper:nth-child(2n+2) .right-info-wrapper .inner-text {
        padding: 3rem 2rem;
        width: 90%;
        margin: auto;
    }
    .bg-dark .content-wrapper {
        margin: 1rem;
    }
    .bg-dark .inner-text {
        padding: 1.3rem 3rem;
        width: 97%;
    }
    .bg-dark .text-info p {
        font-size: 1.2rem;
        line-height: 130%;
    }
    .bg-teal,
    .bg-black {
        padding: 1.2rem 0rem 1.2rem 3rem;
    }
    .bg-teal h3,
    .bg-black h3 {
        font-size: 1.2rem;
        margin-bottom: 9px;
    }
    .listing li {
        font-size: 1.1rem;
        padding: 3px 0;
    }
    li.outer {
        width: 50%;
    }
    li.outer .inner-list::before {
        display: none;
    }
    .content.desc-wrapper.Services {
        padding: 3rem;
    }
    .wrapper-pro-mech .pro-mech-left,
    .wrapper-pro-mech .pro-mech-right {
        width: 50%;
    }
    .wrapper-pro-mech .pro-mech-right .owl-carousel .item img {
        height: 100% !important;
        width: 100% !important;
        max-width: 100%;
        max-height: auto;
    }
    .full-WH {
        height: 100%;
    }
    div#proMechSlider,
    div#proMechSlider .owl-carousel .owl-stage-outer,
    div#proMechSlider .owl-carousel .owl-stage,
    div#proMechSlider .owl-carousel .owl-stage .owl-item {
        height: 100% !important;
    }
    .valves-product .card .card-body {
        padding: 1rem;
    }
    .valves-product .bg-secondary .card-title,
    .valve-description li.list-item p,
    .valve-description {
        font-size: 1.1rem;
    }
    .valve-description li.list-item h5 {
        width: 230px;
        font-size: 1rem;
    }
    .valve-description li.list-item {
        padding-left: 230px;
    }
    .valve-description li.list-item::before {
        content: " ";
        width: 230px;
    }
    .border-bottom {
        padding: 1rem 0;
        font-size: 1.3rem;
    }
    h2.card-title {
        font-size: 1.5rem;
    }
    .valves-product .list-group-horizontal {
        border: 1px solid #ddd;
    }
    .valve-categories .valves-product .list-group-horizontal {
        max-width: 100%;
        display: flex;
        border: 1px solid #ddd;
    }
    .valves-product .list-group-horizontal li.list-group-item {
        border: 0px;
        border-left: 1px solid #ddd;
        padding: 0 15px;
    }
    .valves-product .list-group-horizontal li.list-group-item:first-child {
        max-width: 200px;
        padding: 0;
        border: 0;
        /* height: fit-content; */
    }
}

@media (max-width: 1366px) {
    .bg-yellow .card-body {
        padding: 0 0.25rem;
    }
    .service-list:first-child,
    .service-list:last-child {
        padding: 1.5rem 0;
    }
    .service-list li.list-group-item {
        font-size: 1.2rem;
        line-height: 28px;
        padding: 1.8rem 1.4rem;
    }
    .service-list li.list-group-item p {
        min-height: 56px;
        margin-bottom: 0;
    }
    .owl-nav {
        position: absolute;
        right: 100px;
        top: -76px;
    }
    .heading h2 {
        margin: 0.5rem 0 2rem;
        font-size: 3rem;
    }
    .bg-darked h2 {
        font-size: 1.5rem;
        margin: 1.4rem 0;
    }
    .bg-darked .owl-nav {
        right: 20px;
        top: -55px;
    }
    .wrapper-pro-mech ul.listing {
        margin-bottom: 0.5rem;
    }
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media(max-width: 1281px) {
    h1.title {
        font-size: 3.5rem;
        padding: 50px 0;
    }
    nav ul {
        padding-right: 0;
    }
    nav ul li a {
        font-size: 13px;
    }
    .content-wrapper {
        margin: 1rem;
    }
    .img-container {
        width: 92%;
    }
    .img-container img {
        width: 100%;
        padding: 20px;
    }
    .inner-text {
        padding: 1rem 2rem;
        width: 100%;
    }
    .heading h2 {
        margin: 0.5rem 0 1rem;
        font-size: 2.5rem;
    }
    .bg-yellow .heading h2 {
        margin: 0.5rem 0 3rem;
        font-size: 2.5rem;
    }
    .text-info p {
        font-size: 1.3rem;
        line-height: 130%;
    }
    .content .content-wrapper:nth-child(2n+2) .right-info-wrapper .inner-text {
        padding: 3rem 0rem;
    }
    .bg-yellow .card-body {
        flex-direction: column;
    }
    #portfoliolist .portfolio {
        width: 23%;
        margin: 1%;
    }
    .service-list {
        width: 100%;
    }
    .service-list.bg-black {
        display: none;
    }
    .service-list li.list-group-item {
        width: 33.3%;
        border: 0!important;
        box-shadow: 0 0 1px #676767;
    }
    .service-list:first-child,
    .service-list:last-child,
    .bg-yellow .card,
    .bg-yellow .card-body {
        padding: 0;
    }
    .bg-yellow .card {
        overflow: hidden;
    }
    .resp-vtabs ul.resp-tabs-list h2,
    .tabtoaccordion ul.nav-tabs h2 {
        padding: 0 15px;
    }
    .resp-vtabs li.resp-tab-active::after,
    .tabtoaccordion ul.nav-tabs li a.active::after {
        right: 0px;
        width: 22px;
        font-size: 4rem;
        height: 48px;
    }
    .resp-vtabs li.resp-tab-active,
    .tabtoaccordion ul.nav-tabs li a,
    .tabtoaccordion ul.nav-tabs li a.active {
        padding: 8px 12px !important;
        margin-bottom: 2px !important;
    }
    .resp-vtabs .resp-tabs-container {
        width: calc(100% - 330px);
    }
    .tabtoaccordion .tab-content {
        width: calc(100% - 330px);
    }
    .tabtoaccordion ul.nav-tabs {
        width: 330px;
        padding: 20px 0px;
    }
    .bg-darked h2 {
        font-size: 1.2rem;
        margin: 1.4rem 0;
    }
    .bg-darked .owl-nav {
        right: 20px;
        top: -50px;
    }
    .bg-darked .owl-carousel .owl-nav button.owl-next,
    .bg-darked .owl-carousel .owl-nav button.owl-prev,
    .bg-darked .owl-carousel button.owl-dot {
        font-size: 1.8rem;
    }
    .bg-darked .owl-carousel .item {
        height: 548px;
    }
    .bg-darked.bg-img-product {
        min-height: 650px;
    }
}

@media(max-width: 1141px) {
    .navbar-brand {
        width: 200px;
    }
    nav ul li {
        padding: 20px 1px;
    }
    .service-list li.list-group-item {
        font-size: 1.2rem;
        line-height: 24px;
    }
    .service-list li.list-group-item p {
        min-height: 50px;
        margin-top: 1rem;
    }
    .content.desc-wrapper.Services {
        padding: 2.5rem;
    }
    .resp-vtabs ul.resp-tabs-list {
        width: 330px;
        padding: 20px 0px;
    }
    .tabtoaccordion ul.nav-tabs {
        width: 330px;
        padding: 20px 0px;
    }
    .content.bg-dark {
        padding: 2rem 0rem 2rem 0;
    }
    .wrapper-pro-mech {
        display: flex;
        flex-direction: column;
    }
    .wrapper-pro-mech .pro-mech-left,
    .wrapper-pro-mech .pro-mech-right {
        width: 100%;
    }
    .heading h2 {
        margin: 0.5rem 0 2.5rem;
        font-size: 3rem;
    }
    .wrapper-pro-mech .text-info p {
        margin-top: 0.5rem;
        padding-bottom: 1rem;
    }
    .bg-darked h2 {
        font-size: 1.2rem;
        margin: 1.4rem 0;
    }
    .bg-darked .owl-nav {
        right: 20px;
        top: -50px;
    }
}

@media(max-width: 1100px) {
    div#ValvTechnologies {
        margin-top: 45px;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
}

@media(max-width: 1025px) {
    .top-carousal {
        height: auto;
        max-height: fit-content;
    }
    .carousel-inner .carousel-item {
        height: auto;
        max-height: max-content;
    }
    .carousel-inner .carousel-item img {
        height: auto;
    }
    .bg-darked .owl-nav,
    .comp-logo {
        display: none;
    }
}

@media(max-width: 991px) {
    .modal-dialog.pdfshow {
        width: calc(100% - 36px);
        max-width: 98%;
        height: calc(100vh - 40px) !important;
        max-height: calc(100vh - 40px);
        margin: 1.5rem 0 0 1rem;
    }
    nav ul li {
        padding: 15px;
        text-align: center;
    }
    nav ul li a {
        font-size: 24px;
        padding: 3px !important;
        font-family: 'ubuntu';
        font-weight: 600;
    }
    nav .dropdown-menu,
    nav .dropdown-menu.show {
        background: #000;
    }
    .nav-item .dropdown-menu .dropdown-item {
        color: #ffffff;
        text-align: center;
    }
    .navbar-collapse ul li:hover a.nav-link {
        color: #fff;
        /* transform: scale(1); */
        box-shadow: 0 0 0 0 rgb(255, 255, 255);
        animation: pulse-white 2s ease-in-out;
    }
    .navbar-collapse ul li:hover a.nav-link:before {
        background: transparent;
    }
    .dropdown-divider {
        border-top: 1px solid rgb(233, 236, 239, 0.1);
    }
    .navbar-nav {
        margin-top: 30px;
    }
    /* toggle Menu CSS */
    .navbar-toggler {
        width: 80px;
        height: 60px;
    }
    .toggle_menu_side {
        border-radius: 0;
        cursor: pointer;
        height: 60px;
        position: absolute;
        right: -65px;
        top: 5px;
        width: 60px;
        z-index: 2;
    }
    .toggle_menu_side span {
        height: 12px;
        left: 15px;
        position: absolute;
        top: 15px;
        width: 30px;
    }
    .toggle_menu_side span:before {
        opacity: 1;
        top: 0;
    }
    .page_header_side.vertical_menu_header .toggle_menu_side {
        right: 15px;
        top: 34px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        z-index: 3;
    }
    .toggle_menu_side:before,
    .toggle_menu_side span:after,
    .toggle_menu_side span:before {
        background-color: #24272e;
        content: "";
        display: block;
        height: 2px;
        left: 0;
        position: absolute;
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
        width: 30px;
    }
    .toggle_menu_side:before {
        left: 15px;
        top: 15px;
    }
    .ds .toggle_menu_side:before,
    .ds .toggle_menu_side span:before,
    .ds .toggle_menu_side span:after {
        background-color: #fff;
    }
    .transparent_wrapper .page_header.affix-top:not(.active-slide-side-header) .toggle_menu_side:before,
    .transparent_wrapper .page_header.affix-top:not(.active-slide-side-header) .toggle_menu_side span:before,
    .transparent_wrapper .page_header.affix-top:not(.active-slide-side-header) .toggle_menu_side span:after {
        background-color: #24272e;
    }
    .toggle_menu_side:after {
        bottom: 12px;
        content: "menu";
        font-family: "Fjalla One", sans-serif;
        font-size: 11px;
        left: 14px;
        letter-spacing: 0;
        line-height: 1.75em;
        position: absolute;
        text-transform: uppercase;
        -webkit-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    .toggle_menu_side:after {
        color: #24272e;
    }
    .ds .toggle_menu_side:after {
        color: #fff;
    }
    .toggle_menu_side span:after {
        bottom: 0;
    }
    .page_header_side.vertical_menu_header.active-slide-side-header .toggle_menu_side {
        -webkit-transform: translateY(calc(-50% + 5px));
        -ms-transform: translateY(calc(-50% + 5px));
        transform: translateY(calc(-50% + 5px));
    }
    .active-slide-side-header .toggle_menu_side:before,
    .active-side-header .toggle_menu_side:before {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .active-slide-side-header .toggle_menu_side span:before,
    .active-side-header .toggle_menu_side span:before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    .active-slide-side-header .toggle_menu_side span:after,
    .active-side-header .toggle_menu_side span:after {
        opacity: 0;
    }
    header.active-slide-side-header {
        height: 100vh;
    }
    header.active-slide-side-header .navbar {
        display: block;
        bottom: 0;
    }
    header.active-slide-side-header .fixed-top,
    header.active-slide-side-header nav.black {
        background: #24272e;
        overflow: hidden;
        overflow-y: auto;
    }
    footer .align-self-center {
        position: relative;
    }
    .social-icon {
        padding-left: 0;
        position: relative;
        margin-bottom: 25px;
        display: flex;
        justify-content: space-around;
    }
    footer ul li {
        font-size: 18px;
        padding: 6px 0;
    }
    footer ul li .lnr,
    footer ul li .material-icons {
        width: 30px;
        font-size: 32px;
    }
    footer .list-group-horizontal-lg {
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .bg-dark {
        /* background: #000 url(../images/mining-mb.jpg) no-repeat center center; */
        position: relative;
    }
    .content.bg-dark {
        padding: 2rem 4rem;
    }
    .bg-dark::before {
        content: " ";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
    }
    .bg-dark .inner-text {
        padding: 1.3rem 3rem;
        width: 100%;
        background: #65543d;
    }
    .service-list li.list-group-item {
        width: 50%;
    }
    .service-list li.list-group-item p br {
        display: none;
    }
    .service-list li.list-group-item p {
        min-height: 30px;
    }
    .service-list li.list-group-item {
        font-size: 1.5rem;
        line-height: 28px;
    }
    .top-header {
        background: #222222 url(../images/header-bg.jpg) no-repeat 0 63px;
        height: auto;
        height: 155px;
        min-height: 125px;
        line-height: normal;
        background-position: 0 63px;
        padding-top: 63px;
        background-size: cover;
    }
    h1.title {
        font-size: 2.5rem;
        padding: 25px;
        margin: 0;
    }
    nav.navbar.fixed-top {
        background: #222;
    }
    /* Vertical to accordion tab panel */
    /*Here your can change the breakpoint to set the accordion, when screen resolution changed*/
    ul.resp-tabs-list {
        display: none;
    }
    h2.resp-accordion {
        display: block;
    }
    .resp-vtabs .resp-tab-content {
        border: 1px solid #C1C1C1;
    }
    .resp-vtabs .resp-tabs-container {
        border: none;
        float: none;
        width: 100%;
        min-height: 100px;
        clear: none;
    }
    .resp-accordion-closed {
        display: none !important;
    }
    .resp-vtabs .resp-tab-content:last-child {
        border-bottom: 1px solid #c1c1c1 !important;
    }
    .resp-vtabs .resp-tabs-container {
        padding: 0;
    }
    h2.resp-accordion {
        font-size: 1.3rem;
        padding: 15px !important;
        color: #5a5a5a;
    }
    h2.resp-tab-active {
        background: #b88847 !important;
        color: #ffffff !important;
        border: 0 !important;
    }
    h2.resp-tab-active span.resp-arrow {
        border: none;
        border-left: 11px solid transparent;
        border-right: 11px solid transparent;
        border-bottom: 11px solid #ffffff;
    }
    .resp-tab-content .heading h2 {
        display: none;
    }
    .heading h2 {
        margin: 0.5rem 0 2.5rem;
        font-size: 2.1rem;
    }
    .bg-darked .owl-nav {
        display: block;
    }
    .bg-darked h2 {
        font-size: 2.1rem;
        margin: 1.4rem 0;
    }
    .tabtoaccordion .card-soup a h5.card-title {
        color: #ffffff !important;
        text-decoration: none;
    }
}

@media(max-width: 960px) {
    .carousel-caption {
        width: 90%;
    }
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 2.5rem;
        line-height: 120%;
    }
    .carousel-caption h1 span,
    .carousel-caption h2 span {
        line-height: 120%;
    }
    .carousel-caption h1 small,
    .carousel-caption h2 small {
        line-height: 45px;
    }
    .carousel-caption .description {
        font-size: 1.5rem;
        margin: 1.5rem auto;
    }
    .carousel-caption .description::before,
    .carousel-caption .description::after {
        top: 15px;
        width: 40px;
    }
    .inner-text {
        padding: 1rem 1rem 1rem 2rem;
        width: 100%;
    }
    .text-info p {
        font-size: 1.1rem;
        line-height: 130%;
    }
    .content .content-wrapper:nth-child(2n+2) .right-info-wrapper .inner-text {
        padding: 1rem 0rem;
    }
    li.outer {
        width: 100%;
    }
    a.icon-list {
        font-size: 1.4rem;
    }
    img.flright {
        display: block;
        float: none;
        margin: 20px auto;
    }
    footer {
        padding: 0px 0px 60px;
    }
    footer .list-group-horizontal-lg {
        -ms-flex-direction: column;
        flex-direction: column;
    }
    h3.banner-tag {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }
}

@media(max-width: 786px) {
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 2.2rem;
    }
    .logo {
        position: fixed;
        top: 0;
        margin-top: 16px;
    }
    nav ul {
        max-height: 0px;
        background: #000;
    }
    nav.black ul {
        background: #000;
    }
    .showing {
        max-height: 34em;
    }
    nav ul li {
        box-sizing: border-box;
        width: 100%;
        /* padding: 24px; */
        text-align: center;
    }
    .menu-icon {
        display: block;
    }
    a.icon-list {
        font-size: 1.3rem;
    }
    .bg-dark .img-container {
        padding-right: 0px;
        padding-top: 0px;
    }
    .bg-dark .img-container:before {
        content: none;
    }
    #ValvTechnologies .owl-nav,
    #Insamcor .owl-nav {
        position: absolute;
        right: 20px;
        top: -50px;
        bottom: auto;
    }
    #productList,
    #Insamcor {
        margin-top: 60px;
    }
    .bg-darked .owl-carousel .item {
        height: 440px;
    }
    .bg-darked.bg-img-product {
        min-height: 500px;
        padding-bottom: 1rem;
    }
    #ValvTechnologies .owl-nav .owl-next,
    #productList .owl-nav .owl-next,
    #Insamcor .owl-nav .owl-next {
        right: -22px;
    }
    #ValvTechnologies .owl-nav .owl-prev,
    #productList .owl-nav .owl-prev,
    #Insamcor .owl-nav .owl-prev {
        left: 0;
    }
}

@media(max-width: 767px) {
    .heading-verticle {
        position: relative;
    }
    .content-wrapper {
        flex-direction: column;
    }
    .left-img-wrapper,
    .right-info-wrapper,
    .img-container {
        width: 100%;
    }
    .img-container::before,
    .img-container::after {
        content: none;
    }
    .inner-text,
    .content .content-wrapper:nth-child(2n+2) .right-info-wrapper .inner-text {
        padding: 1rem;
        width: 100%;
    }
    .heading h2 {
        margin: 1.5rem auto;
        font-size: 2.5rem;
    }
    .text-info p {
        font-size: 1.3rem;
        line-height: 140%;
        text-align: center;
    }
    .content .content-wrapper:nth-child(2n+2) .left-img-wrapper {
        order: 1;
    }
    .content .content-wrapper:nth-child(2n+2) .left-img-wrapper .img-container,
    .content .content-wrapper .left-img-wrapper .img-container {
        width: 80%;
        float: none;
        position: relative;
        margin: auto;
    }
    .service-list li.list-group-item {
        font-size: 1.2rem;
        line-height: 24px;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        display: none;
    }
    #portfoliolist .portfolio {
        width: 48%;
        margin: 1%;
    }
    #filters li span {
        padding: 10px 12px;
        font-size: 1.1rem;
    }
    .bg-0 img {
        max-height: 115px;
        margin: 0 auto;
        display: block;
    }
}

@media(max-width: 680px) {
    nav ul li {
        padding: 5px;
    }
    .carousel-caption {
        width: 90%;
        transform: translate(-50%, -40%);
    }
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.4rem;
    }
    .carousel-caption .description {
        font-size: 1rem;
        line-height: 120%;
        margin: 1.5rem auto;
        position: relative;
        padding: 5px 27px;
        width: 80%;
    }
    .carousel-caption .description::before,
    .carousel-caption .description::after {
        top: 15px;
        width: 22px;
    }
    .carousel-caption h1 small,
    .carousel-caption h2 small {
        line-height: 24px;
    }
    footer ul li {
        font-size: 18px;
        padding: 10px 0;
    }
    .social-icon {
        top: 7px;
    }
    .social-icon a {
        margin: 3px 6px;
    }
    .social-icon a img {
        height: 40px;
    }
    .content-wrapper {
        margin: 1rem 0;
    }
    .content.bg-dark {
        padding: 1rem 1rem;
    }
    .bg-dark .inner-text,
    .bg-teal,
    .bg-black {
        padding: 1rem 1.3rem 1.3rem;
    }
    .listing li {
        display: block;
        width: 100%;
    }
    .bg-yellow {
        padding: 3rem 1rem;
    }
    .Pa-lg {
        padding: 2rem 1rem;
    }
    .bg-img-product {
        min-height: 300px;
        padding-bottom: 4.5rem;
    }
    .owl-nav {
        right: 0 !important;
        top: auto;
        left: 0 !important;
        margin: auto;
        width: 82px;
        bottom: -40px;
    }
    .service-slider {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    .service-slider .owl-nav {
        bottom: -60px;
    }
    .inner-list {
        width: 90%;
    }
    .content.desc-wrapper.Services {
        padding: 1.5rem 1rem;
    }
    h2.resp-accordion,
    .tabtoaccordion .card .card-header .card-title a.accordion-toggle {
        font-size: 1.1rem;
    }
    .heading h2,
    .bg-yellow .heading h2 {
        width: 100%;
        font-size: 2rem;
        text-align: center;
    }
    .Services .heading h2 {
        font-size: 1.6rem;
        word-break: break-word;
    }
    .desc-wrapper {
        display: block;
        padding: 1.3rem;
    }
    .valve-description li.list-item {
        padding-left: 230px;
        padding: 0;
        padding-top: 34px;
        border: 0;
    }
    .valve-description li.list-item {
        padding-left: 230px;
        padding: 0;
        padding-top: 34px;
    }
    .valve-description li.list-item::before {
        content: " ";
        width: 100%;
        height: 34px;
        bottom: auto;
        top: 0;
        left: 0;
        right: 0;
    }
    .valve-description li.list-item h5 {
        width: 100%;
        font-size: 1rem;
        padding: 0 15px;
        line-height: 34px;
        background: transparent;
        margin: 0;
        left: 0;
        top: 17px;
        right: 0;
        bottom: auto;
    }
}

@media(max-width: 480px) {
    h1.title {
        font-size: 2rem;
        padding: 25px 15px;
    }
    .inner-text,
    .content .content-wrapper:nth-child(2n+2) .right-info-wrapper .inner-text {
        padding: 1rem 0;
    }
    .copyright {
        padding: 10px 10px 5px;
        height: auto;
    }
    .copyright p {
        line-height: 22px;
    }
    .bg-0 {
        padding: 1rem;
    }
    .content {
        padding: 2rem 0rem;
        margin: 0;
    }
    .contact .social-icon {
        margin: 0 0 1rem;
        position: absolute;
        right: -10px;
        top: -30px;
    }
    .contact h3 {
        float: left;
        margin-bottom: 1rem;
    }
    .contact h4 {
        margin: 2.5rem 0 1rem
    }
    .contact ul li {
        padding: 10px 0;
    }
}

@media(max-width: 375px) {
    .carousel-caption .description {
        line-height: 110%;
        padding: 5px 25px;
        width: 90%;
    }
    footer h3 {
        font-size: 20px;
    }
}

@media(max-width: 360px) {
    .service-list li.list-group-item {
        width: 100%;
    }
    .service-list li.list-group-item {
        padding: 1.5rem 0.75rem;
    }
}

/* Responsive behavior */
@media (max-width: 991.98px) {
    /* Hide original tabs on mobile/tablet */
    .tabtoaccordion {
        display: flex;
        flex-direction: column;
    }
    .tabtoaccordion .nav-tabs.responsive {
        display: none !important;
    }
    .tabtoaccordion .tab-content {
        width: 100% !important;
        padding: 0px !important;
    }
    
    /* Show dropdown on mobile/tablet */
    .mobile-nav-dropdown {
        display: block;
        margin-bottom: 1rem;
    }
}