/* 
  Theme Name  : Madhav Pipes & Tubes Pvt.Ltd
  Author: Scorpio Technologies
  Author URI: https://scorpiotechnologies.com/
  Description: Scorpio Technologies wp theme
  Developer   : Mr. Rajiv Gandhi
  Version: 2.0
*/

/********** Template CSS **********/
:root {
    --primary: #ffd050;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
.btn-top {
    background-color: #0099cc;
    color: #fff;
}
.btn-top:hover {
    background-color: #111;
    border: 1px solid #fff;
    color: #fff;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: collapse;
    opacity: 1;
}

/*** Button ***/
.btn {font-weight: 500;transition: .5s;}

.btn.btn-primary {color: #FFFFFF;}

.btn-square {width: 38px;height: 38px;}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.line {margin-top: 3%;}

.btn-more {
    background-color: #0099cc;
    color: #fff;
}

.bg-icons {background-color: #0099cc;}

.btn-more:hover {
    background-color: #00123c;
    color: #fff;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .menu-item {
    margin-right: 30px;
    color: #111;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {color: #0099cc;}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    background-color: #fff;
}

.custom-logo-link {width: 50%;}

.custom-logo-link img {height: 30%;width: 40%;}

.navbar-toggler i {color: #0099cc;}

.menu-item a { color: #111; } 

.menu-item a:hover { color: #0099cc; } 

.text-primary {color: #0099cc !important;}

.btn-subscribe {
    background-color: #0099cc;
    font-weight: bold;
    color: #fff;
}

.read-btn {
    background-color: #0099cc;
    color: #111;
    padding: 12px 40px;
}

.read-btn:hover {
    background-color: transparent;
    border:1px solid #0099cc;
    color: #0099cc;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .menu-item {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
    
    .custom-logo-link img {
        height: 30%;
        width: 75%;
    }
    
    .more-dedail {padding: 7px 92px !important;}
    
}

@media (min-width: 992px) {
    .navbar .menu-item .sub-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .menu-item:hover .sub-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
    .sub-menu {position: absolute;}
}

.sub-menu li {
    display: block;
    width: 100%;
    margin-left: -30px;
    padding: 10px 15px !important;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: #fff;
    border: 0;
}
.sub-menu li a:hover {color: #0099cc;}

/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

.head-para {
   text-align: left;
   margin-left: 10%;
   width: 800px;
}

.head-para h1{ font-size: 55px; }

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {width: 10%;}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {width: 3rem;height: 3rem;}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(img/Banner-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {color: var(--secondary);}

.page-header .breadcrumb-item+.breadcrumb-item::before {color: var(--light);}

.files {
    background-color: #c5e8f3;
    border-radius: 10px;
    font-size: 50px;
    padding: 33px;
    color: #0099cc;
}
.fonts ul {padding-left: 1rem !important;}

.fonts i { color: #0099cc;}

.why-us {height: 80%;}

.Professional {border-right: 1px solid #777;}

.more-dedail {
    background-color: #0099cc;
    padding: 7px 106px;
    border-radius: 3px;
    margin-top: 15px;
    color: #fff;
}

.dash {
    margin: 20px 0 20px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent 10px,
    black 10px,
    black 20px
  );
}

.why-mpt {background-color: #c5e8f3;}

.service-items {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    background-color: #fff;
    border: 1px solid transparent;
    transition: .5s;
}

.service-items:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}
.service-items i {font-size: 50px;color: #0099cc;}

/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: #0099cc;
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: #0099cc;
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}
.service-item i {font-size: 50px;}

/*** Team ***/
.team-item {box-shadow: 0 0 45px rgba(0, 0, 0, .07);}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {top: -65px;}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {margin: 0 3px;}

.team-item:hover .team-social {top: 0;}

.brands {
     width: 100%;
     /*padding-top: 90px;
     padding-bottom: 90px*/
 }

 .brands_slider_container {
     height: 150px;
     border: solid 1px #e8e8e8;
     box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
     padding-left: 97px;
     padding-right: 97px;
     background: #fff;
 }

 .brands_slider {height: 100%;margin-top: 20px;}

 .brands_item { height: 100%;}

 .brands_item img {max-width: 100%;}

 .brands_nav {
     position: absolute;
     -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
     -o-transform: translateY(-50%);
     transform: translateY(-50%);
     padding: 115px;
     cursor: pointer;
     margin-top: -95px;
 }

 .brands_nav i {
     color: #e5e5e5;
     -webkit-transition: all 200ms ease;
     -moz-transition: all 200ms ease;
     -ms-transition: all 200ms ease;
     -o-transition: all 200ms ease;
     transition: all 200ms ease
 }

 .brands_nav:hover i {  color: #676767}

 .brands_prev {left: 40px;}

 .brands_next {right: 40px;}

 /* client end */

.latest-work {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    background-color: #edf1fc;
    border: 1px solid transparent;
    transition: .5s;
}

.latest-work:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}

.icons {background-color: #fff;padding: 5px 15px;border-radius: 5px;color: #0099cc;}
.iconss {background-color: #fff;padding: 5px 15px;border-radius: 5px;margin-left: 15px;color: #0099cc;}

.tz-gallery .lightbox img {
    width: 100%;
    border-radius: 0;
    position: relative;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -13px;
    margin-left: -13px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    font-family: 'Glyphicons Halflings';
    content: '\e003';
    pointer-events: none;
    z-index: 9000;
    transition: 0.4s;
}

.tz-gallery .lightbox:after {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(46, 132, 206, 0.7);
    content: '';
    transition: 0.4s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {opacity: 1;}

.baguetteBox-button {background-color: transparent !important;}

/*** Footer ***/
.bg-footer {background-color: #0099cc;}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link:hover {color: #111;}

.footer-menu a {padding: 10px; color: #fff;}

.footer .copyright {
    padding: 25px 0;
    color: #fff;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {color: #fff;}

.footer .copyright a:hover {color: #111;}