:root {
    --color1: #59b5b2;
    --color1-trans: #59b5b2d2;
    --color2: #241818;
}

/*
****************************************************************************************
GENERAL
****************************************************************************************
*/
html {
    font-size: 100%;
}

.btn-primary:hover,
.sppb-btn-primary:hover {
    border-color: var(--color1);
    background-color: var(--color1);
}

#sp-header {
    background-color: var(--color1);
    animation: none !important;
   /* position: relative !important;*/
}

/*
#sp-header #sp-menu {
    margin: 0 0px 0px auto;
    width: 70%;
}
*/
#sp-header #sp-menu #offcanvas-toggler {
    display: none !important;
}

#sp-header #sp-menu .d-flex {
    justify-content: flex-end !important;

}

#sp-header #menu-right {
    margin-left: inherit !important;
}

#sp-header .sp-megamenu-parent>li {
    margin-right: 15px;
}

#sp-header .sp-megamenu-parent>li>a,
#sp-header .sp-megamenu-parent>li>span {
    font-size: 16px;
}

#sp-header .sp-megamenu-parent>li:hover>a,
#sp-header .sp-megamenu-parent>li:hover>span {
    text-shadow: 0px 0px 0.7px currentColor, 0px 0px 0.7px currentColor;
}

.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li.active:hover>a {
    color: white;
    font-weight: bold;
}

#sp-header #menu-right {
    display: none !important;
}

body {
    margin: 0;
    font-family: "century-gothic", sans-serif;
}

.btn-tipo1,
.sppb-btn {
    border: none;
    border-bottom: 1px solid var(--color1);
    border-radius: 0;
    background: transparent;
    font-size: 19px;
    color: var(--color1);
}

.btn-tipo1:hover {
    color: white;
    background: var(--color1);
}

.btn-imagen .addon-root-button>div {
    background-position: 245px 50% !important;
    width: 295px;
    margin: 0 auto;
}

.servicios-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.servicios-boxes .box {
    position: relative;
}

.servicios-boxes .box a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.servicios-boxes .box a h3 {
    font-size: 4rem;
    text-transform: uppercase;
    color: white;
}

.servicios-boxes .box a:hover {
    background: var(--color1-trans);
}

.servicios-boxes .box a:hover * {
    display: block
}

.head-h1,
.head-h2 {
    margin-bottom: 90px;
}

/*
.head-h1 *,
.head-h2 * {
    font-size: 2.5rem;
}*/

.row-contacto .form-contacto .sppb-form-group {
    display: flex;
    align-items: center;
}

.row-contacto .form-contacto .sppb-form-group label {
    display: flex;
}

.row-contacto .form-contacto .sppb-form-group input,
.row-contacto .form-contacto .sppb-form-group textarea {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0px;
}

.sppb-addon-form-builder .sppb-form-check-label::before {
    border: 2px solid black;
}

.quote {
    text-align: end;
    margin: 45px 0 45px auto;
    max-width: 700px;
}

.row-datosproyectos .datos-txt strong {
    display: block;
}

.sppb-carousel-extended-item img {
    width: 100%;
    object-fit: contain !important;
    height: 100%;
}

.h-linea {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.h-linea::after {
    content: " ";
    display: block;
    border-bottom: 4px solid var(--color1);
    width: 100px;
    margin-top: 20px;

}

.number-row {
    color: var(--color1);
    padding: 10px 0 20px 0;
    font-weight: bold;
}

.sp-page-title {
    background: #eee;
    text-align: center;
    padding: 100px 0 100px 0;
}

.sp-page-title .sp-page-title-heading {
    color: var(--color1);
    margin-bottom: 40px;
    font-size: 3rem;

}

.sp-page-title .sp-page-title-sub-heading {
    color: black;
    font-size: 1.3rem;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 35px;
}

.container,
.sppb-row-container {
    padding-left: 70px;
    padding-right: 70px;
}

.box-titulo {
    background: #ffffff96;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 50px 30px;
}

.box-titulo h2 {
    margin: 0;
    text-transform: uppercase;
    color: var(--color1);
    font-size: 3rem;
}

.burger-icon>span {
    background-color: #ffffff;
}

.offcanvas-menu .logo {
    margin: 50px 0 0 0;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a {
    color: white;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a:hover,
.offcanvas-menu .offcanvas-inner ul.menu>li.active>a {
    color: white;
    font-weight: bold;
}

/*
****************************************************************************************
INICIO
.page-1
****************************************************************************************
*/


.itemid-101 #sp-header {
    position: absolute;
    /*top: 88vh;*/
    top: 43vw;
    box-shadow: none;
}

.itemid-101 #sp-header.header-sticky {
    top: 0px !important;
    position: fixed !important;
    animation: none !important;
    /* cancela spFadeInDown */
}

.page-1 .inicio-cabecera .sp-slider-outer-stage {
    /*height: 90vh !important;*/
    height: 45vw !important;
    perspective: 500px;
}

div.sp-slider .sp-indicator-container {
    width: 548px;
    rotate: 90deg;
    top: 45%;
    right: -230px;
    left: auto;
    background: #eee;
}

div.sp-slider .sp-indicator-container .sp-indicator.line-indicator {
    height: 100%;
}

.page-1 .row-opiniones .testimonial-pro-client-name-wrap {
    font-size: 22px;
    margin-top: 40px;
}

/*
****************************************************************************************
speasyimagegallery
.page-5
****************************************************************************************
*/
.speasyimagegallery-row {
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 60px;
    align-items: center;
    flex-direction: row;
}

.speasyimagegallery-col-md-4 {
    width: 390px;
}

.view-album .com-speasyimagegallery .page-header h1 {
    max-width: 76%;
    margin: 0 auto;
}

.com-speasyimagegallery .btn-volver {
    background: var(--color1);
    color: white;
    border: none;
    padding: 5px 15px 5px 30px;
    position: absolute;
    left: 0%;
    top: 6%;
    clip-path: polygon(15px 0%, 100% 0%, 100% 100%, 15px 100%, 0% 50%);
}

.com-speasyimagegallery a.speasyimagegallery-gallery-item {
    width: 560px;
    height: 560px;
    margin: 0 auto;
    background: #eee;
    padding: 0 !important;
}

.speasyimagegallery-gallery-item>div {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speasyimagegallery-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.com-speasyimagegallery .speasyimagegallery-album-description {
    max-width: 910px;
    text-align: center;
    margin: 0 auto 70px auto;
}

.com-speasyimagegallery .page-header {
    text-align: center;
    position: relative;
    /*margin-top: 100px;*/
}

.speasyimagegallery-gallery-item>div:after {
    background: var(--color1-trans);

}

.speasyimagegallery-album>div>a:after {
    background: none;
}

.speasyimagegallery-album-meta {
    display: none;
}

.speasyimagegallery-album-title {
    display: none;
}

.speasyimagegallery-album:hover>div>a:after {
    background: var(--color1-trans);
}

.speasyimagegallery-album:hover .speasyimagegallery-album-title {
    display: block;
}

.speasyimagegallery-album>div>a {
    position: relative;
    width: 370px;
    height: 370px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speasyimagegallery-album-description {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.speasyimagegallery-album>div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.speasyimagegallery-albums .clearfix:before,
.speasyimagegallery-albums .clearfix:after {
    display: none !important;
    content: none;
    line-height: 0;
}

/*
****************************************************************************************
TRAYECTORIA
.page-6
****************************************************************************************
*/
.page-6 {
    font-size: 1rem;
}

.page-6 .page-content img {
    width: 600px;
    height: 900px;
    object-fit: contain;
}

.page-6 .page-content section {
    margin: 140px 0 0px 0;
}

.page-6 .page-content a {
    color: var(--color1);
    border-bottom: 1px solid var(--color1);
}

.page-6 .page-content table td {
    padding-top: 12px;
}

.page-6 .page-content table tr td {
    border: none !important;
}

.page-6 .page-content table tr td:first-child {
    width: 80px;
    font-weight: bold;
    font-size: 1rem;

}

.page-6 .page-content #sppb-addon-1777374487814 table tr td:first-child {
    width: 110px;
}

/*
****************************************************************************************
CONTACTO
.page-4
****************************************************************************************
*/
#sppb-addon-1720435737428 .sppb-addon-single-image-container {
    width: 100%;
}

#sppb-addon-1720435737428 .sppb-addon-single-image-container .sppb-img-responsive {
    min-height: 340px;
    object-fit: cover;
    width: 100%;
    /*padding: 100px 0 0 0;*/
}

/*
****************************************************************************************
FOOTER
****************************************************************************************
*/
#sp-bottom {
    background: #eee;
    padding: 0;
    margin: 140px 0 0 0;
}

#sp-bottom .sp-module {
    margin: 0;
}

#sp-footer {
    border-top: 2px solid black;
}

/*
****************************************************************************************
MEDIA QUERY
****************************************************************************************
*/
@media only screen and (max-width: 1400px) {
    #sp-header #sp-menu {
        max-width: 92px;
        margin: 0 0px 0 auto;
    }

    #sp-header #sp-menu nav {
        display: none !important;
    }

    #sp-header #menu-right {
        display: flex !important;
        margin-left: auto !important;
    }


    #sp-header #sp-menu #offcanvas-toggler {
        display: inline-flex !important;
    }

    .speasyimagegallery-row {
        justify-content: center;

    }

}

@media only screen and (max-width: 1200px) {
    .speasyimagegallery-row {
        margin: -10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 992px) {
    .speasyimagegallery-col-md-4 {
        width: 370px;
    }

    .sppb-addon-gallery .sppb-gallery li {
        width: 100% !important;
    }

    .sppb-addon-gallery .sppb-gallery li img {
        width: 100% !important;
    }

    .com-speasyimagegallery .btn-volver {
        top: -60px;
    }
}

@media only screen and (max-width: 768px) {

    /* .head-h1 *, .head-h2 * {
        font-size: 2rem;
    }*/
    #sp-header {
        height: 75px;
    }

    div.sp-slider .sp-indicator-container {
        width: 830px;
        right: -413px;
    }

    .page-1 .inicio-cabecera .sp-slider-outer-stage .sp-item .sppb-sp-slider-image {
        margin: -270px auto 0px auto !important;
    }

    .page-1 .inicio-cabecera .sp-slider-outer-stage .sp-item .sppb-sp-slider-image IMG {
        height: auto !important;
        width: 280px !important;
    }
}

@media only screen and (max-width: 576px) {
    html {
        font-size: 72%;
    }

    .container,
    .sppb-row-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .itemid-101 #sp-header {
        position: static;
        top: 0;
    }
#sppb-sp-slider-1720182137685{
    padding: 75px 0 0 0;
}
    .speasyimagegallery-album>div>a,
    .com-speasyimagegallery a.speasyimagegallery-gallery-item {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}