/********** Template CSS **********/
:root {
    --primary: #FFCD00;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --dark: #040F28;
}

body{
    /* background: #eaeaea; */
    overflow-x: hidden;
}
.gx-6{--bs-gutter-x: 4rem;}

.pt-6 {
    padding-top: 90px;
}
.pb-6 {
    padding-bottom: 90px;
}
.py-6 {
    padding-top: 70px;
    padding-bottom: 76px;
}
.py-7 {padding-top: 60px ;padding-bottom: 76px;}.py-8 {padding-top: 32px ;padding-bottom: 76px;}
.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}
.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}
.logo{
    max-width: 183px;
    margin-left: 132px;
}
.logoscroll{
    max-width: 150px;
    margin-left: 132px;
}
.logo2{
    max-width: 183px;
    margin-left: 37%;
    margin-bottom: 30px;
}
.redes{
    margin-left: 41%;
}
.describevalor{
    text-align: justify;            
}
.imgvaloresagregados{
    border: 9px solid #FFCD00;
}
.color-footer{
    color: #fff !important;
    font-size: 17px;
}
.lb-outerContainer{
    width: 930px !important;
    height: 684px !important;
}
.lb-image{
    width: 930px !important;
    height: 684px !important;
}
div.item-service:hover .cardservice {
    background-color: #fff !important; 
    border-color: #fff !important;
    border: 2px solid #FFCD00;
}
div.item-service:hover .img-valores {
    background-color: #FFCD00 !important; 
    border-color: #FFCD00 !important;
    border: 2px solid #fff;
}
div.item-service:hover .check-valores {
    color: #000 !important;
}
div.item-service:hover .divvalores {
    border: 2px solid #fff !important;
}
div.item-service:hover .text-vermas{
    /* background-color: #FFCD00 !important;  */
    border-color: #FFCD00 !important;
}

/* check-valores */
.text-impermeabilizaciones{
    margin-top: 135px;
}
.text-tecnica-imper{margin-top: 123px;}
.text-tecnica-imper2{margin-top: 102px;}
.text-tecnica-imper3{margin-top: 92px;}
.text-tecnica-imper4{margin-top: 65px;}
.text-tecnica-imper5{margin-top: 60px;}
.fw-bold, h5{
    color:#040f28bd !important;
}
/* div.item-service:hover .img-icon {
    background-color: #fff !important; 
    border-color: #fff !important;
} */

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0; padding: 10px 0;
    }
    .text-tecnica-imper{
        margin-top: 117px;
    }
    .logo{
        max-width: 110px; margin-left: 0px;
    }
    .imgelegirnos{
        margin-top: -42px;
    }
    .textvalores{
        text-align: center;
        font-size: 20px;
    }
    .describevalor{
        text-align: justify; margin-top: 0px;    
    }
    .frases{
        margin-bottom: -15px;
    }
    .ourservices{
        margin-top: 41px !important;
    }
    .ourservices2{
        margin-top: 68px !important;
    }
    .ourservices3{
        margin-top: 75px !important;
    }
    .services{margin-top: -75px !important;}
    .services2{margin-top: -91px !important;}
    .services3{margin-top: -57px !important;}
    .ourproyect {
        margin-top: -107px !important;
    }
    .lb-outerContainer{
        width: 370px !important; height: 309px !important;
    }
    .lb-image{
        width: 370px !important; height: 309px !important;
    }
    .logo2{        
        margin-left: 19%;        
    }
    .redes{        
        margin-left: 32%;        
    }
    .title-service{
        font-size: 30px !important; text-align: center;
    }
    .subtitle-service{
        margin-left: -6px;
    }
    .text-impermeabilizaciones{
        margin-top: 40px;
    }
    .slide .item:nth-child(3) {
        left: 50%;
        display: none !important;
    }
    .slide .item:nth-child(1), .slide .item:nth-child(2) {
        top: 0;
        left: 0;
        transform: translate(0, 0);
        border-radius: 0;
        width: 167% !important;
        height: 59% !important; margin-left: -61% !important;
    }
    .button {
        width: 100%;
        text-align: center;
        position: absolute;
        bottom: -69px !important;
        margin-left: -62px !important;
    }
    .container2 {
        /* position: absolute; */
        /* top: 50%; */
        left: 50% !important;
        transform: translate(43%, 4%);
        width: 55% !important;
        height: 314px !important;
        background: #f5f5f5;
        box-shadow: 0 30px 50px #dbdbdb;
        margin-left: 59px !important;
    }
    .porquelegirnos{
        display: none;
    }
    .porquelegirnos2{
        display: block;
    }
    .textelegirnos{
        margin-top: 0px;
    }
    .valoresa{
        display: block !important;
    }
    .imgvaloresagregados{
        border: 3px solid #FFCD00
    }
    .hablemosproyecto{
        margin-top: -84px;
    }
    .contactosb{
        margin-bottom: 22px;margin-left: 10px;
    }
    .contactosn{
        margin-left: -23px;
    }
    .ocultarseccionform{
        display: none;
    }
    .contactoform{        
        padding-top: 4rem !important;
    }
    .contactoform2{        
        padding-top: 9rem !important;
    }
    .galeriabtn{margin-top: 20% !important;}
    .services4{
        margin-top: -90px;
    }
    .integridad{
        margin-bottom: -55px;
    }
    .text-tecnica-imper5{margin-top: 114px;}
    .contactovisible{display: none;}
    .contactovisible2{display: block !important;}
    .mapa{margin-top: 5px;}  
    .equis{
        font-size: 24px !important;
    } 
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .36);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 25px;
        font-weight: 600 !important;
    }

    .portfolio-container{
        height: 1500.35px !important;
    }  
    
    .onecard{
        display: none;
    }
    .g-recaptcha{margin-left: -30px !important;}
    .portfolio-item{position:static !important;}
    /* .lightbox{top: 3269px !important;} */
}
@media (max-width: 391px) {  
    .portfolio-container{
        height: 1412px !important;
    }
    .services{margin-top: -79px;}
    .ofrecemos{margin-top: -53px !important}
    /* .tel1{right: 27px !important;}
    .tel2{right: 30px !important;}
    .what1{right: 28px !important;} */
    .g-recaptcha{margin-left: -57px !important;}
    .textfotoservice{font-size: 13px !important;}
    .textfotoserviceubi{font-size: 14px !important;}
    .services11{margin-top: -88px !important;}
    .rc-anchor-normal{width: 278px !important;}
    .logo2 {
        margin-left: 16%;
    }
    .subtitle-service2 {
        margin-left: -27px;
    }
    .equis{
        margin-top: -8% !important;
    }
}
@media (max-width: 375px) {    
    .g-recaptcha{margin-left: -64px !important;}    
    .services11{margin-top: -123px !important;}
    .equis{margin-top: -8.5% !important;}
}
@media (max-width: 430px) {    
    .equis{
        /* margin-top: -9.3% !important; */
        font-size: 20px !important;
    }
    .galeriabtn{margin-top: 20% !important;}
}
@media (max-width: 360px) {    
    .lb-image {
        width: 360px !important;        
    }
}
@media only screen and (min-width: 1350px) and (max-width: 1500px){  
    .galeriabtn{margin-top: 0% !important;}  
}
@media only screen and (min-width: 993px) and (max-width: 1024px){  
    .galeriabtn{margin-top: 62% !important;}  
    .services4 {margin-top: 2%;    }
}
@media only screen and (min-width: 768px) and (max-width: 992.9px){  
    .galeriabtn{margin-top: 5% !important;}  
}

/* @media(max-width: 1350px){
    .galeriabtn{margin-top: -3% !important;}
} */
/* @media(min-width: 768px){
    .galeriabtn{margin-top: 5% !important;}
} */

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(23, 23, 24, 0.021)), url(../img/impermeabilizaciones/portada.jpg) center center no-repeat;
    background-size: cover;
}
.page-header2 {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(23, 23, 24, 0.021)), url(../img/techos/portada.jpg) center center no-repeat;
    background-size: cover;
}
.page-header3 {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(23, 23, 24, 0.021)), url(../img/remodelaciones/portada.jpg) center center no-repeat;
    background-size: cover;
}
.page-header4 {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(23, 23, 24, 0.021)), url(../img/fachadas/portada.jpg) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    margin-bottom: 11px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: 8px;
    }
    .imgcarrusel1{
        height: 720px !important;
    }
    .py-6 {
        padding-top: 60px !important;
        padding-bottom: 31px !important;
    }
    .py-7 {
        padding-top: 110px !important;
        padding-bottom: 31px !important;
    }
    .py-8 {
        padding-top: 47px !important;
        padding-bottom: 31px !important;
    }
    .portfolio-container{
        height: 406.453px !important;
    }
    .text-contact{
        width: 1093px;
        margin-left: -206px;
    } 
    .contactosb{
        margin-bottom: 22px;margin-left: 464px;
    }   
    .porquelegirnos{
        margin-top: -30px;
    }
    /* .services4{
        margin-top: 54%;
    } */
    .services6{
        margin-top: -14px;
    }  
    .services7{
        margin-top: 19px;
    }   
    .contactoform{        
        padding-top: 35px;
        padding-bottom: 0.7px;
    } 
    /* .services{margin-top: -7%;} */
    .services10{margin-top: -4%;}
    .services11{margin-top: -3.2%;}    
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
    .porquelegirnos2{
        display: none;
    }
    .porquelegirnos{
        display: block;
    }      
}
@media (min-width: 1500px){
    .services11{
        margin-top: -1%; 
    }
    .services10{
        margin-top: 0%; 
    }
    .services4{
        margin-top: 3% !important;
    }
}

@media (min-width: 1200px){   
    .services4{
        margin-top: 2%;
    }
}
@media (min-width: 1300px){   
    .services4{
        margin-top: 0%;
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

.border-img-carrusel {
border: 2px solid #FFCD00;
}
.contactanos{
    /* background-image: url('../img/services/remodelacion-2.jpg');
    background-color: linear-gradient(rgba(15, 15, 15, 0.7)); */
    background: linear-gradient(rgba(244, 246, 248, 29%), rgba(244 246 248 / 8%)), url(../img/carrusel/4.jpg) no-repeat;
    background-size: cover;
    object-fit: cover;
}
.contacto{
    background: url(../img/formulario5.jpg) no-repeat;
    background-size: cover; object-fit: cover;
}

.exampleModal{
    margin-top: 24px !important;
}


  /* .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */


  /* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */




/* carrusel interno */


/* carousel */
