/**
 * @file
 * Subtheme specific CSS.
 */
 @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

 h1, h2, h3{
    font-family: 'Comfortaa', cursive;
}


 p {
    font-weight: 200;
    line-height: 1.8rem;
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
    -webkit-text-stroke: 0.30px;
}

img{
    width: 100%;
    display: block;
    height: auto;
}

 .header{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: transparent;
    z-index: 10;
    transition: all 0.2s;
}

.ocultar {
  display: none;
}

.navbar-brand{
    width: 70px;

}

.main-content{
    padding-bottom: 70px;
}

.full-screen{
    position: relative;
}

.field--name-field-360 p{
    text-align: center;
}

.s-margin-top{
    margin-top: 4rem;
}

.s-nomargin-bottom{
    margin-top: 4rem;
}

.node--type-proyecto .main-content{
    padding-bottom: 0;
}

.full-screen::after{
    content: " ";
    width: 120px;
    height: 120px;
    background-image: url(img/sello-epic.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    position: absolute;
    top: 0;
    right: 5%;
    z-index: 100;
}

.full-screen.cover-interna .field__item img{
    height: 65vh;
    max-height: 65vh;
    width: 100%;
    object-fit: cover;
}

.full-screen.cover-interna  .field__item .field--name-field-frase{
        display: none;
}

.masonry-item.views-row{
    box-sizing: border-box;
    padding: 5px;
    width: calc(33.3333% - 10px);
}



.full-screen .slide__media img{
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    object-fit: cover;
}

.full-screen .field--type-image{
    float: none;
    margin: 0;
}

.full-screen .field--name-field-portada .field__label{
    display: none;
}

.full-screen .field__item img{
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    object-fit: cover;
}

.full-screen .slick__arrow {
    z-index: 15;
}


.full-screen::before{
    content: " ";
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 100%);
    position: absolute;
    top: 0;
    left: 0;
    height: 50%;
    width: 100%;
    z-index: 9;

}

.block-featured{
    height: 100%;
    display: flex;
    align-items: center;
    border-top: 1px solid #8b8b8b;
    border-bottom: 1px solid #8b8b8b;
    margin-right: 20px;
}

.video-featured .paragraph--type--video{
    padding: 0;
}

.video-featured .paragraph--type--video .field--name-field-video{
    margin: 0;
}

.main-content{
    padding-right: 0;
    padding-left: 0;
}

.node__content{
    margin-top: 0;
}

.menu-main{
    width: 100%;
    display: flex;
}

#block-contactus{
    display: flex;
    justify-content: center;
    align-items: center;
}

#block-contactus p{
    margin-bottom: 0;
}

.menu-main .icon-contact{
    width: 25px;
    fill: #fff;
}

.scrolled .menu-main .icon-contact{
    fill: #3e3e3e;
}

.responsive-menu-toggle {
    display: inline-block;
    margin-right: 20px;
    margin-top: 6px;
}

.mm-page.mm-slideout{
    transform: none;
}

#navbar-main{
    width: 90%;
    max-width: 90%;
    margin: auto;
}

#navbar-main .menu a{
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 20%);
    letter-spacing: 2px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
}

#block-mainnavigation .content{
    display: flex;
}

#block-mainnavigation .content .menu{
    justify-content: center;
    display: flex;
    width: calc(100% - 150px);
}



.scrolled .header{
    background: #fff;
}
.scrolled .sf-depth-2 {
  background: #fff;
}

.scrolled .responsive-menu-toggle-icon:before, .scrolled .responsive-menu-toggle-icon:after, .scrolled .responsive-menu-toggle-icon span.icon {
    background: #333333;
}

.scrolled #navbar-main .menu a, .page-node-9 #navbar-main .menu a{
    color: #333333;
    text-decoration: none;
    font-weight: 300;
    text-transform: uppercase;
    text-shadow: none;
    letter-spacing: 2px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
}

.page-node-9 .menu-main .icon-contact{
    fill: #333333;
}

.scrolled .navbar-brand, .page-node-9 .navbar-brand{
    width: 48px;
    background-image: url(img/logo.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    height: 60px;
}

.page-node-9 .main-content {
    padding-top: 150px;
}

.path-frontpage .main-content {
    padding-bottom: 0;
}

.js-form-item label{
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
}

.webform-button--submit.btn-primary{
    border: 1px solid #333;
    border-radius: 0;
    background-color: transparent;
    color: #333;
    padding: 0.5rem 1rem;
}

.webform-button--submit.btn-primary:hover, .webform-button--submit.btn-primary:active{
    background-color: #333;
    color: #fff;
}

.list-group-item{
    border: none;
    padding: 10px!important;
    padding-bottom: 0!important;
}

.list-group-item .views-field-title{
    margin-bottom: 2rem;
}

.views-col{
    padding: 10px;
}

.webform-submission-contact-form{
    padding-right: 1rem;
}

.webform-submission-contact-form .form-control{
    border-radius: 0;
    border-color: #8b8b8b;
}

.scrolled .navbar-brand img.d-inline-block, .page-node-9 .navbar-brand img.d-inline-block{
    display: none!important;
}

.paragraph--type--parrafo-texto, .paragraph--type--parrafo-foto{
    display: flex;
    flex-wrap: wrap;
}

.paragraph--type--parrafo-texto .field--name-field-title{
    flex-basis: 50%;
    box-sizing: border-box;
    padding: 20px;
}

.paragraph--type--parrafo-texto .field--name-field-title p{
    font-size: 26px;
    font-family: 'Comfortaa', cursive;
    letter-spacing: 1px;
    line-height: 1.3;
}


.p-completo .paragraph--type--parrafo-texto, .p-completo .paragraph--type--parrafo-foto{
    display: block;
}



.paragraph--type--parrafo-texto .field--name-field-texto-pt p{
    font-weight: 200;
}

.paragraph--type--parrafo-texto .field--name-field-texto-pt {
    flex-basis: 50%;
    box-sizing: border-box;
    padding: 20px;
}

.paragraph--type--parrafo-foto .content-paragraph{
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
}

.paragraph--type--parrafo-foto .content-paragraph h2{
    font-size: 18px;
    letter-spacing: 1px;
}

.paragraph--type--parrafo-foto .content-paragraph h3{
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #666;
}

.paragraph--type--parrafo-foto .photo-paragraph{
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
}

.paragraph--type--parrafo-foto .photo-paragraph img{
    width: 100%;
    display: block;
    height: auto;
    margin: 0;
}
.texto-imagen {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
}

.view-more-content{
    height: 0;
    overflow: hidden;
    transition: all 0.5s;
}

.view-more-title{
    display: flex;
    justify-content: flex-end;
}

.paragraph--type--parrafo-foto .content-paragraph.is-open .view-more-content{
    height: 790px;
}

.paragraph--type--parrafo-foto .field--name-field-imagen img{
    width: 100%;
    height: auto;
}

.par-right-img .paragraph--type--parrafo-foto {
    flex-direction: row-reverse;
}

.paragraph--type--parrafo-foto .field--name-field-texto p{
    font-weight: 200;
}

.slide__description {
    font-size: 32px;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 34%);
}

.slide__description:after{
    content: '';
    width: 100px;
    border-bottom: 1px solid #fff;
    margin-top: 32px;
    display: block;
}

.p-completo .paragraph--type--parrafo-foto .photo-paragraph{
    width: 100%;
}

.p-completo .paragraph--type--parrafo-foto .content-paragraph{
    width: 100%;
}


.team-feact .paragraph--type--parrafo-foto .content-paragraph {
    width: calc(50% - 20px);
    border-top: 1px solid #8b8b8b;
    border-bottom: 1px solid #8b8b8b;
    display: flex;
    flex-direction: column;
    padding-top: 90px;
    margin-right: 20px;
}

.view-more-btn {
    font-size: 35px;
    line-height: 20px;
    font-weight: 100;
    transition: all 0.2s;
    cursor: pointer;
}

.view-more-btn.is-open{
    transform: rotate(-45deg);
}

#cboxOverlay {
    background: #fff!important;
}

.team-feact .paragraph--type--parrafo-foto .photo-paragraph {
   padding: 0;
}

.team-feact .paragraph--type--parrafo-foto .field--name-field-imagen {
    width: 50%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.team-feact .paragraph--type--parrafo-foto .field--name-field-imagen img {
    width: 100%;
    height: auto;
    margin: 0;
}

.paragraph--type--video .field--name-field-media-oembed-video img{
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

.paragraph--type--video{
    padding: 20px;
}

.layout--threecol-section--33-34-33 .layout__region--first,
.layout--threecol-section--33-34-33 .layout__region--second,
.layout--threecol-section--33-34-33 .layout__region--third{
    flex: 0 1 33.3333%!important;
}


.paragraph--type--video .field--name-field-nombre{
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Comfortaa', cursive;
}

.paragraph--type--video .field--name-field-fecha{
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 1px;
}

.paragraph--type--logos .field__items{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 900px;
    margin: auto;
}

.paragraph--type--logos .field__items > .field__item{
    width: 25%;
    box-sizing: border-box;
    padding: 30px;
    height: 105px;
    overflow: hidden;
}

.paragraph--type--logos .field__items > .field__item .field--name-field-media-image{
    width: 100%;
}

.paragraph--type--logos .field__items .field__item img{
    width: 100%;
}

.colorbox-media-video {
    position: relative;
}

.colorbox-media-video {
    position: relative;
}

.colorbox-media-video::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 10%);
    background-image: url(img/play.svg);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: 95% 90%;
}

.padd-top{
    padding-top: 2rem;
}

.padd-bottom{
    padding-bottom: 2rem;
}

.separador{
    border-bottom: 1px solid #8b8b8b;
}

.bg-light-gray{
    background: #f2f2f2;
    padding: 60px 0 100px 0;
}

.bg-light-gray h2{
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.title-italic .paragraph--type--parrafo-texto .field--name-field-title p{
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: auto;
    font-size: 23px;
    line-height: 1.5;
    font-weight: 500;
}

.img-small .paragraph--type--parrafo-foto .field--name-field-imagen{
    display: flex;
    justify-content: center;
}

.img-small .paragraph--type--parrafo-foto img{
    max-width: 350px;
    width: auto;
    height: auto;
}


.site-footer{
    background-color: #f7f7f7;
    padding: 30px;
}

.site-footer p{
    color: #333;
    font-size: 14px;
    line-height: 18px;
}

.site-footer .block{
    margin: 0;
}

.site-footer__top{
    display: flex;
    flex-wrap: wrap;
}

.site-footer__top .region{
    width: 50%;
}

.region-footer-fourth{
    display: flex;
    justify-content: flex-end;
}

.region-footer-fourth #block-direccion{
    width: auto;
    border-left: 1px solid #8b8b8b;
}

.region-footer-fourth #block-direccion p{
    margin: 0;
}

.cifra {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: #f2f2f2;
    margin: 15px;
    padding: 30px 20px;
    min-height: 200px;
}

.cifra span{
    color: #666;
    font-size: 12px;
    text-align: left;
    line-height: 18px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cifra h2{
    font-size: 66px;
    line-height: 66px;
    color: #666;
    margin-bottom: 4px;
    margin-top: 2px;
}

.cifra h2.cifra2{
    font-size: 55px;
    line-height: 45px;
    font-weight: 700;
}

/* carrousel */

.slick--skin--classic .slick-arrow::before{
   display: none;
}

.slick--skin--classic .slick-arrow{
    background-image: url(img/arrow-right.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.slick--skin--classic .slick-arrow.slick-prev{
    transform: rotate(180deg);
}

.full-screen .slide__caption{
    position: absolute;
    top: 40%;
    width: 50%;
    background-color: transparent;
    transform: none!important;
    font-family: 'Comfortaa', cursive;
    font-weight: 300;
    letter-spacing: 1px;
    z-index: 30;
  margin-left: 50%;
  transform: translateX(-50%);
}

.page-node-2 .main-content{
    padding-bottom: 0;
}

.responsive-menu-toggle-icon span.label{
    display: none;
}

.responsive-menu-toggle-icon:before, .responsive-menu-toggle-icon:after, .responsive-menu-toggle-icon span.icon {
    width: 26px;
    height: 2px;
}

.responsive-menu-toggle-icon:before {
    top: 6px;
}

.responsive-menu-toggle-icon:after {
    top: 22px;
}

.mm-panel a {
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Comfortaa', cursive;
    font-size: 14px;
}

.view-news .views-field-field-image img{
    width: 100%;
    height: auto;
}

.view-news .views-field-title a{
    font-size: 1rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Comfortaa', cursive;
    color: #333;
    text-decoration: none;
    margin-top: 1rem;
    display: block;
}
.view-news .views-field-created span{
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
}

.view-proyectos .views-col{
    padding: 20px;
}

.view-proyectos .views-field-title a{
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Comfortaa', cursive;
    margin-top: 1rem;
    display: block;
}

.view-proyectos .views-field-field-fecha a{
    font-weight: 200;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333;
    text-decoration: none;
}

.sf-horizontal > li:last-child a{
    width: 25px;
    height: 19px;
    overflow: hidden;
    background-image: url(img/contac-b.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
    padding: 1.2rem 2rem;
    color: transparent;
    text-indent: -999px;
}

.scrolled .sf-horizontal > li:last-child a, .page-node-9 .sf-horizontal > li:last-child a{
  background-image: url(img/contac-n.svg);
  background-repeat: no-repeat;
}

@media (max-width: 992px) {
    #block-mainnavigation{
        display: none;
    }

    .menu-main{
        width: auto !important;
    }

    .full-screen .slide__caption{
        width: 90%;
    }
}


@media (max-width: 768px) {
    .paragraph--type--parrafo-texto .field--name-field-title {
        flex-basis: 100%;
    }

    .paragraph--type--parrafo-texto .field--name-field-texto-pt {
        flex-basis: 100%;
    }

    .paragraph--type--parrafo-foto .content-paragraph {
        width: 100%;
        padding: 0;
    }

    .paragraph--type--parrafo-foto .photo-paragraph {
        width: 100%;
        padding: 0;
    }

    .team-feact .paragraph--type--parrafo-foto .content-paragraph {
        width: 100%;
    }

    .paragraph--type--parrafo-foto .content-paragraph.is-open .view-more-content {
        height: 1160px;
    }

    .layout--threecol-section--33-34-33{
        display: block;
    }

    .paragraph--type--logos .field__items > .field__item {
        width: 50%;
        height: 113px;
    }

    .views-view-grid .views-col {
        float: none;
        width: 100%!important;
    }

    .full-screen .field__item img{
        height: 45vh;
    }

    .site-footer__top .region {
        width: 100%;
    }

    .site-footer__top {
        display: block;
        flex-wrap: wrap;
    }
}

@media (min-width: 560px) {
  .node .field--type-image {
    float: none;
  }
}

