/* Pàgina d'inici */

.path-frontpage .region-breadcrumb {
    display: none;
}

.homepage-hero {
    /* height: calc(70vh - 280px); */
    margin: 20px auto;
}

h1.hero-title {
    font-size    : 46px;
    text-align   : center;
    margin-bottom: 20px;
    color        : #000;
}

.hero-subtitle {
    font-weight  : 500;
    font-size    : 20px;
    margin-bottom: 40px;
    color        : #000;
}

.path-frontpage .destacado-home .link-list-item {
    font-weight: bold;
}

.path-frontpage .destacado-home,
.view-casos-de-exito .view-header,
.path-que-hacemos.path-taxonomy .project-list-header,
.page-node-type-proyecto .proyecto-content,
.page-node-type-proyecto .field--name-field-proyecto-relacionado .field__label,
.path-quienes-somos .view-contenido-quienes-somos,
.path-por-que-nosotros main,
.path-contacto main,
.path-blog .header-blog,
#block-views-block-blog-block-blog-destacados,
#block-views-block-blog-block-blog-no-destacados,
.path-para-quien-lo-hacemos .view-header {
    color: #000;
}

#block-views-block-blog-block-blog-destacados .field-created,
#block-views-block-blog-block-blog-no-destacados .field-created {
    color: #393E46;
}

#block-factoria-content>article {
    position: unset;
}

.fullwidth-grey,
#block-views-block-casos-de-exito-block-1 {
    background-color: #eee;
    position        : relative;
    left            : 0;
    width           : 100%;
    padding         : 50px;
}

.fullwidth-grey:before,
#block-views-block-casos-de-exito-block-1:before {
    content: ' ';
    background-color: #eee;
    display: block;
    position: absolute;
    left: -20px;
    top: 0;
    width: 356px;
    height: 100%;
    z-index: -1;
}

#proyectos-relacionados-desktop,
#proyectos-relacionados-slider {
    background-color: #eee;
    width           : 100%;
    padding         : 50px;
}

#views-bootstrap-casos-de-exito-block-1 .hover-card,
#views-bootstrap-casos-de-exito-block-slider .hover-card,
.field--name-field-proyecto-relacionado .hover-card {
    display        : flex;
    align-items    : center;
    justify-content: center;
    height         : 100%;
    background     : transparent url('../img/fondo-proyectos.jpg') 50% 50% repeat;
    background-size: 100%;
}

#views-bootstrap-casos-de-exito-block-slider .hover-card {
    padding: 3.5rem 0rem;
    margin : 0 1rem;
}

#views-bootstrap-casos-de-exito-block-slider .carousel-control-prev,
#views-bootstrap-casos-de-exito-block-slider .carousel-control-next {
    display: none;
}

#views-bootstrap-casos-de-exito-block-slider .carousel-indicators {
    top: 400px;
}

#block-views-block-casos-de-exito-block-slider .view-display-id-block_slider {
    height: 595px;
}

.carousel-indicators {
    list-style: none;
}

.carousel-indicators button {
    width           : 12px !important;
    height          : 12px !important;
    position        : relative;
    background-color: #fff !important;
    border-color    : #393e46 !important;
    border          : 1px solid !important;
    border-radius   : 50%;
}

.carousel-indicators button.active {
    background-color: #393e46 !important;
}

.carousel-caption {
    display: none !important;
}

#views-bootstrap-casos-de-exito-block-1 .hover-card-image,
.field--name-field-proyecto-relacionado .hover-card-image {
    margin-top   : 3em;
    margin-bottom: 3em;
}

#views-bootstrap-casos-de-exito-block-1 {
    display: none;
}

#block-views-block-casos-de-exito-block-1 {
    display: none;
}

.fullwidth-grey+.container {
    margin-top   : 50px;
    margin-bottom: 50px;
}

.destacado-home h2,
.field--name-field-proyecto-relacionado .field__label {
    font-size  : 26px;
    font-weight: 500;
}

.destacado-home h3 {
    font-size: 22px;
}

.path-frontpage footer {
    /* margin-top: 595px !important; */
}

.link-list-item {
    display         : inline-block;
    width           : 100%;
    border-radius   : 10px;
    background-color: #393E46;
    color           : #fff;
    padding         : 20px 40px;
    margin-bottom   : 1rem;
}

.link-list-item:hover {
    color           : #fff;
    background-color: #00adb5;
}

.link-list-item:before {
    content     : '>';
    margin-right: 0.5rem;
}

.hover-card,
.project-preview-card {
    position     : relative;
    border-radius: 20px;
    box-shadow   : 0 3px 6px #00000029;
    overflow     : hidden;
}

.hover-card .hover-card-text,
.project-preview-card .overlay-box {
    position        : absolute;
    bottom          : 0;
    left            : 0;
    width           : 100%;
    height          : 60%;
    background-color: rgba(57, 62, 70, 0.83);
    color           : #fff;
    padding         : 20px;
    display         : flex;
    flex-wrap       : wrap;
    align-content   : center;
    justify-content : center;
    transition      : all 200ms ease-in-out;
}

/* Pàgina d'inici - Mogile */
@media (max-width: 450px) {
  body {
    overflow-x: hidden !important;
  }

  .container {
    overflow-x: hidden !important;
  }

  /* SOMOS EL EQUIPO QUE BUSCAS */
  .path-inicio .fullwidth-grey::before {
    left: -26px !important;
    width: 118% !important;
    background-color: #eeeeee;
  }

  /* CASOS DE ÉXITO */
  .path-inicio #block-views-block-casos-de-exito-block-slider {
    position: relative;
    left: -20px;
    width: 113% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 50px !important;
  }
  .path-inicio #block-views-block-casos-de-exito-block-slider .view-display-id-block_slider {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Págines "Qué hacemos" */

.vocabulary-etiquetas-proyectos>h2 {
    display: none;
}

.vocabulary-etiquetas-proyectos .field--name-description {
    margin-bottom: 3rem;
}

.vocabulary-etiquetas-proyectos .field--name-description h2,
.header-blog .field--name-description h2 {
    font-size    : 35px;
    text-align   : center;
    margin-bottom: 30px;
}

.project-preview-card {
    margin-bottom: 37px;
    height       : 380px;
}

.project-preview-card a .overlay-box,
.project-preview-card a .overlay-box:hover {
    color     : #fff;
    text-align: center;
}

.project-preview-card a .overlay-box .title {
    font-family: 'Lora', Times, serif;
    font-size  : 26px;
    font-weight: 700;
    width      : 100%;
}

.project-preview-card a .overlay-box .body {
    font-weight: 400;
}

.image-box {
    background     : url('../img/fondo-proyectos.jpg') center repeat;
    display        : flex;
    align-items    : center;
    justify-content: center;
    height         : 100%;
}

.image-box .img-fluid {
    max-width: 210px;
}

/* Projectes */

.page-node-type-proyecto.path-que-hacemos .breadcrumb li:last-child {
    width: 90px;
}


.page-node-type-proyecto.path-que-hacemos .fullwidth-white>.container,
.page-node-type-proyecto.path-que-hacemos .node__content>.container,
.page-node-type-proyecto.path-que-hacemos .proyecto-content>.container {
    max-width: 380px;
}

.page-node-type-proyecto.path-que-hacemos .proyecto-content {
    margin-bottom: 50px !important;
}

.page-node-type-proyecto.path-que-hacemos main>.container {
    max-width: 100%;
    padding  : 0;
}

.page-node-type-proyecto.path-que-hacemos .fullwidth-white {
    background-color: #fff;
    width           : 100%;
}

.page-node-type-proyecto.path-que-hacemos .fullwidth-white>.row,
.page-node-type-proyecto.path-que-hacemos .fullwidth-white>.proyecto-content {
    margin: 0;
}

.page-node-type-proyecto.path-que-hacemos .fullwidth-white>.row .proyecto-relacionado {
    padding-left : 0;
    padding-right: 0;
}

.page-node-type-proyecto.path-que-hacemos .region-content {
    padding: 0;

}

#banner-sponsor-proyecto {
    background-color: #fff;
    width           : 100%;
    padding         : 5px 50px 0px 50px;
    padding         : 50px 0;
    margin          : 0 auto;
}

.banner-sponsor-proyecto .sponsor-texto p {
    font          : normal normal bold 26px Lora;
    padding-right : 0.5em;
    letter-spacing: 0px;
    color         : #000000;
}

.page-node-type-proyecto .field-single-category {
    font-size: 18px;
}

.page-node-type-proyecto .field-title {
    padding-bottom   : 10px;
    /* font-size     : 35px; */
    font-size        : 2rem;
    line-height      : 2.2rem;
    font-weight      : bold;
}

.page-node-type-proyecto.path-que-hacemos .hover-card-image {
    height: 250px;
}

.path-que-hacemos .field--name-field-categoria-proyecto .field__item {
    float: left;
}

.path-que-hacemos article .field--name-body {
    padding-top: 35px;
}

.page-node-type-proyecto .hover-card {
    margin-bottom: 20px;
}

.path-que-hacemos #block-banersponsor {
    margin-top: 1854px;
}

.path-que-hacemos #block-banersponsor .banner-sponsor-proyecto {
    padding-top   : 100px;
    padding-bottom: 100px;
}

.page-node-type-proyecto .region-breadcrumb {
    display: none;
}

.field--name-field-imagen-principal-project {
    padding: 40px 0;
}

.field--name-field-imagen-principal-project img {
    display: block;
    margin : 0 auto;
}

.page-node-type-proyecto .breadcrumb {
    margin-bottom: 25px;
    padding-top  : 10px;
}

.page-node-type-proyecto .first-category h3 {
    font-family   : 'Work Sans', sans-serif;
    font-size     : 18px;
    font-weight   : 500;
    text-transform: uppercase;
}

.page-node-type-proyecto .first-category,
.page-node-type-proyecto .page-title {
    margin-bottom: 1rem;
}

#proyectos-relacionados-desktop {
    display: none;
}

#proyectos-relacionados-slider {
    padding-bottom: 70px;
}

#proyectos-relacionados-slider .header {
    font-size    : 26px;
    line-height  : 32px;
    text-align   : center;
    margin-bottom: 26px;
}

#proyectos-relacionados-slider .carousel-indicators {
    bottom: 25px;
}

#proyectos-relacionados-slider .carousel-item article {
    margin: 0 1rem;
}

/* Por qué nosotros */

.porque-nosotros h1,
.porque-nosotros h4,
.porque-nosotros p {
    text-align: center;
}

.porque-nosotros h4 {
    font-size: 18px;
}

.icono-valores {
    text-align: center;
}

.icono-valores img {
    max-width: 100px;
    height   : auto;
}

.lista-especialistas {
    max-width: 230px;
    margin   : 0 auto;
}

/* Para quién lo hacemos */

.view-contenido-para-quien-lo-hacemos .quienes-somos-item-list {
    /* background   : url('../img/fondo-item-quienes-somos.png') center no-repeat; */
    background     : url(../img/fondo-proyectos.jpg) center repeat;
    max-width      : 258px;
    height         : 258px;
    border-radius  : 20px;
    box-shadow     : 0px 3px 6px #00000029;
    margin-bottom  : 30px;
    background-size: cover;
}

.view-contenido-para-quien-lo-hacemos .quienes-somos-item-list .row {
    height: 100%;
}

.view-contenido-para-quien-lo-hacemos .quienes-somos-item-list .item-texto {
    display        : flex;
    align-items    : center;
    justify-content: center;
    height         : 100%;
}

/* Quiénes somos */

.quienes-somos-header {
    margin-bottom: 10px;
}

.view-contenido-quienes-somos ul {
    padding: 0;
    margin : 0;
}

.view-contenido-quienes-somos .item-list li {
    list-style-type : none;
    margin-left     : 0;
    margin-bottom   : 60px;
    border-radius   : 20px;
    overflow        : hidden;
    box-shadow      : 0px 3px 6px #00000029;
    background-color: #eee;
}

.item-texto {
    padding: 15px 40px 30px;
    order  : 2
}

.item-texto .field-titulo {
    font-family  : 'Lora', Times, serif;
    font-size    : 26px;
    font-weight  : 700;
    line-height  : 1.2;
    color        : #000;
    margin-bottom: 10px;
}

.item-texto .field-body {
    font-family: 'Lora', Times, serif;
}

.item-texto .field-link a,
.item-texto .field-link a:hover {
    color: #000;
}

.item-imagen {
    position: relative;
    order   : 1;
}

.item-imagen img {
    height    : 250px;
    object-fit: cover;
}

.view-contenido-quienes-somos .odd .item-imagen {
    padding-left: 13px;
}

/* Pàgina de contacte */

.column-grey,
.webform-submission-contacto-form {
    background-color: #eee;
    border-radius   : 20px;
    overflow        : hidden;
    height          : 100%;
}

.webform-submission-contacto-form {
    padding: 20px 10px;
}

.webform-submission-contacto-form .form-actions {
    text-align: center;
}

.img-skew-bottom {
    position: relative;
}

.img-skew-bottom:after,
.item-imagen:after {
    content   : ' ';
    display   : block;
    position  : absolute;
    left      : 0;
    bottom    : -1px;
    width     : 100%;
    height    : 70px;
    background: #eee;
    clip-path : polygon(0 100%, 100% 100%, 100% 0%);
}

.column-grey-body {
    padding: 0 40px 14px;
}

.location-icon,
.phone-icon,
.phones {
    position    : relative;
    padding-left: 25px;
}

.location-icon:before {
    content: '\f3c5';
}

.phone-icon:before {
    content: '\f879';
}

.location-icon:before,
.phone-icon:before {
    position   : absolute;
    top        : 0;
    left       : 0;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color      : #00adb5;
}

.text-legal-container {
    max-height: 6em;
    font-size : 0.9rem;
    overflow-y: scroll;
    margin    : 23px 0 23px 0;
    clear     : both;
}

.path-contacto .form-item-aceptacion-politica-privacidad a,
.path-contacto .block-share a {
    color: #000 !important;
}

.path-contacto .block-share {
    display    : flex;
    align-items: flex-end;
    gap        : 6px;
}

.path-contacto .block-share span.a2a_svg {
    background-color: #00adb5 !important;
}

.path-contacto .block-share svg {
    vertical-align: super;
}

.path-contacto .addtoany_list.a2a_kit_size_32 a>span {
    width : 24px !important;
    height: 24px !important;
}

.path-contacto .a2a_button_linkedin,
.path-contacto .a2a_button_twitter,
.path-contacto .a2a_button_facebook {
    display: none;
}

/* Blog */

.page-node-type-article.path-blog main>.container {
    padding-left : 0px;
    padding-right: 0px;
}

.page-node-type-article.path-blog .region-breadcrumb {
    display: none;
}

.page-node-type-article.path-blog .breadcrumb li:last-child {
    width: 274px;
}

.page-node-type-article.path-blog .region-content {
    padding: 0 0;
}

.page-node-type-article.path-blog .image-style-articulo-blog-1000x675- {
    border-radius: 0 0 0 0;
}

.page-node-type-article.path-blog .mobile-content {
    margin: 0 10px 0 15px;
}

.page-node-type-article.path-blog .block-share {
    display: flex;
}

.page-node-type-article.path-blog .field--name-body {
    font-family: 'Lora', Times, serif;
}

.header-blog p,
.article-teaser-card-large .field-resumen,
.article-teaser-card-large .saber-mas,
.article-teaser-card-normal .saber-mas,
.path-blog .categoria-token .path-blog .pager a,
.view-display-id-block_posts_relacionados .saber-mas a {
    font-size: 18px;
}

.article-teaser-card-large .field-tags h5,
.article-full-card .field--name-field-tags {
    font-size: 16px;
}

.article-teaser-card-large h4,
.article-teaser-card-normal h4 {
    font-size: 24px;
}

.article-teaser-card-large .field-uid,
.article-teaser-card-normal .field-uid,
.article-teaser-card-large .field-created,
.article-teaser-card-normal .field-created,
.article-teaser-card-normal .field-tags h5,
.article-teaser-card-normal .field-resumen {
    font-size: 16px;
}

.article-teaser-card-large .field-uid,
.article-teaser-card-normal .field-uid,
.article-full-card .field-uid,
.view-display-id-block_posts_relacionados .field-uid {
    font-weight: bold;
}

.article-teaser-card-normal .field-title h4,
.block-views-blockblog-block-posts-relacionados h4 {
    font-size: 26px;
}

.article-full-card h2 {
    font-size: 22px;
}

.article-full-card .field--name-field-resumen {
    font-size  : 16px;
    line-height: 22px;
}

.page-node-type-article .field-title {
    font-size  : 24px;
    font-weight: bold;
    line-height: 30px;
}

.article-full-card .field--name-field-tags {
    font-family: "Lora", Times, serif;
}

.article-teaser-card-large .field-title a,
.article-teaser-card-normal .field-title a {
    color: #000;
}

.article-teaser-card-large .field-uid,
.article-teaser-card-normal .field-uid {
    font-weight: bold;
}

.article-teaser-card-large .field-uid {
    position: absolute;
    top     : 475px;
}

.article-teaser-card-large .field-created {
    position: absolute;
    top     : 497px;
}

.article-teaser-card-large .field-resumen {
    position: absolute;
    top     : 555px;
}

.article-teaser-card-normal .field-uid {
    position: absolute;
    top     : 475px;
}

.article-teaser-card-normal .field-created {
    position: absolute;
    top     : 497px;
}

.article-teaser-card-normal .field-resumen {
    position    : absolute;
    top         : 560px;
    left        : 33px;
    margin-right: 35px;
}

.article-teaser-card-large,
.article-teaser-card-normal,
.article-full-card,
.rel-post-teaser-card {
    background-color: #fff;
}

.article-teaser-card-large,
.article-teaser-card-normal,
.article-teaser-card,
.rel-post-teaser-card {
    position     : relative;
    border-radius: 20px;
    box-shadow   : 0 3px 6px #00000029;
    overflow     : hidden;
}

.article-full-card {
    position     : relative;
    border-radius: 0;
    overflow     : hidden;
}

.article-teaser-card-large {
    margin-bottom: 24px;
    height       : 900px;
}

.article-teaser-card-normal {
    margin-bottom: 32px;
    height       : 885px;
}

.article-full-card {
    padding-bottom: 24px;
}

.article-teaser-card-large .image-style-portada-blog-750x500-,
.article-teaser-card-normal .image-style-portada-blog-500x330- {
    border-radius: 20px 20px 0 0;
}

.article-teaser-card-large .section-text {
    margin: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.article-teaser-card-normal .section-text {
    margin: 1rem 1rem 1rem 2rem;
}

.article-full-card .section-text {
    margin: 0 26px 10px 26px;
}

.article-teaser-card-large .section-text .field-tags h5::before,
.article-teaser-card-normal .section-text .field-tags h5::before,
.article-full-card .block-tags h4::before,
.rel-post-teaser-card h5::before {
    content       : ">";
    letter-spacing: 2px;
}

.article-full-card .block-tags h4::before {
    font-size: 16px;
}

.article-teaser-card-large .section-text .field-tags h5,
.article-teaser-card-normal .section-text .field-tags h5,
.article-full-card .block-tags h4 {
    font-weight: normal;
}

.article-full-card .block-tags h4,
.article-full-card .block-tags .field__items {
    display: flex;
}

.article-teaser-card-large .section-text .field-tags span,
.article-teaser-card-normal .section-text .field-tags span,
.article-full-card .block-tags .field__item {
    color: #00adb5;
}

.article-full-card .block-share {
    margin-right: 1rem;
    margin-top  : 15px;
}

.article-teaser-card-large .section-text .saber-mas a,
.article-teaser-card-normal .section-text .saber-mas a,
.view-display-id-block_posts_relacionados .saber-mas a {
    color: #000;
}

.article-teaser-card-large .section-text .saber-mas a:hover,
.article-teaser-card-normal .section-text .saber-mas a:hover,
.view-display-id-block_posts_relacionados .saber-mas a:hover {
    text-decoration: underline;
}

.article-teaser-card-large .section-text .field-tags,
.article-teaser-card-large .section-text .field-title,
.article-teaser-card-large .section-text .field-resumen,
.article-teaser-card-normal .section-text .field-resumen {
    padding-bottom: 1rem;
}

.article-full-card .tags-share-container {
    padding-bottom: 30px;
}

.article-teaser-card-normal .section-text .field-title,
.article-full-card .field-created {
    padding-bottom: 2rem;
}

.article-full-card .field-resumen {
    padding-bottom: 25px;
}

.article-full-card .section-text .field-title {
    padding-bottom: 20px;
}

.article-teaser-card-normal .section-text .field-tags {
    padding-bottom: 0.2rem;
}

.article-teaser-card-large .section-text .saber-mas {
    position: absolute;
    bottom  : 20px;
}

.article-teaser-card-normal .section-text .saber-mas {
    position: absolute;
    bottom  : 40px;
}

.article-teaser-card-large .field-created {
    padding-bottom: 4rem;
}

.article-teaser-card-normal .field-created {
    padding-bottom: 2rem;
}

.categoria-tokens-container {
    display        : flex;
    justify-content: flex-start;
    flex-wrap      : wrap;
}

.path-blog .pager {
    text-align: center !important;
}

.path-blog .pager a {
    text-decoration: underline;
    background     : transparent;
}

.path-blog .pager a:hover {
    text-decoration: underline;
}

.path-blog .categoria-token {
    border-style    : solid;
    border-width    : 1px;
    border-radius   : 21px;
    padding         : 0px 15px 3px 15px;
    margin          : 0px 10px 10px 10px;
    border-color    : #393E46;
    color           : #393E46;
    background-color: #fff;
    font-weight     : normal;
}

.path-blog a.categoria-token:hover {
    border-color    : #393E46;
    color           : #fff;
    background-color: #393E46;
    font-weight     : normal;
}

.path-blog .categoria-token span::after {
    content     : "+";
    font-weight : bold;
    padding-left: 10px;
    font-size   : 20px;
}

.path-blog .categoria-token:hover>div span::after {
    content: "\221A";
}

.path-blog .categoria-token.active {
    background-color: #00ADB5;
    color           : #fff;
    border-color    : #00adb5;
}

.path-blog .view-filters {
    margin: 30px 0 54px 0;
}

.path-blog .categoria-token.active>span::after {
    content: "\221A";
    color  : #fff;
}

.path-blog .categoria-tokens-container {
    justify-content: flex-start;
    margin         : 2.5rem 0 4.5rem 0;
}

article .tags-share-container span.a2a_svg {
    background-color: #393e46 !important;
}


/* Posts relacionados */

#block-views-block-blog-block-posts-relacionados {
    display: none;
}

#block-views-block-blog-block-posts-relacionados .item-list li {
    margin: 0 30px 0.25em 30px;
}

#views-bootstrap-blog-block-posts-relacionados-slider {
    height: 450px;
}

#block-views-block-blog-block-posts-relacionados-slider .view-header .header-title {
    font-size  : 26px;
    font-weight: normal;
}

#views-bootstrap-blog-block-posts-relacionados-slider .rel-post-teaser-card {
    margin: 0 33px;
}

#views-bootstrap-blog-block-posts-relacionados-slider .rel-post-teaser-card .field-tags {
    margin-bottom: 0;
}

#views-bootstrap-blog-block-posts-relacionados-slider .rel-post-teaser-card .field-uid {
    font-weight: bold;
}

#views-bootstrap-blog-block-posts-relacionados-slider .rel-post-teaser-card .field-created {
    color: #848080;
}

#views-bootstrap-blog-block-posts-relacionados-slider a {
    color    : #000000;
    font-size: 18px;
}

.page-node-type-article.path-blog .region-sidebar-second {
    padding         : 40px 0;
    background-color: #EEEEEE;
}

.rel-post-teaser-card {
    padding: 24px 1.5rem 24px 2.3rem;
    height : 385px;
}

.view-display-id-block_posts_relacionados .view-header .header-title {
    font-size  : 26px;
    font-weight: normal;
}

.view-display-id-block_posts_relacionados_slider .view-header .row {
    margin-right: 0px;
}

.view-display-id-block_posts_relacionados ul {
    list-style: none;
}

.rel-post-teaser-card {
    margin-bottom: 30px;
}

.rel-post-teaser-card .field-tags span {
    color: #00ADB5;
}

.rel-post-teaser-card .field-tags {
    text-transform: uppercase;
    margin-bottom : 15px;
}

.rel-post-teaser-card .field-tags span::before {
    content: ">";
    color  : #848080;
}

.rel-post-teaser-card .field-title {
    margin-bottom: 60px;
}

.rel-post-teaser-card .field-uid {
    position: absolute;
    top     : 260px;
}

.rel-post-teaser-card .field-created {
    position: absolute;
    top     : 282px;
}

.rel-post-teaser-card .saber-mas {
    position: absolute;
    bottom  : 32px;
}

@media (min-width: 768px) {

    /* home */

    .homepage-hero {
        /* height: calc(100vh - 530px); */
        margin: 100px auto;
    }

    .path-frontpage .fullwidth-grey {
        padding-bottom: 70px;
    }

    .fullwidth-grey:before,
    #block-views-block-casos-de-exito-block-1:before {
        left: -44px;
        width: 768px;
    }

    .fullwidth-grey+.container {
        /* margin-top: 515px; */

    }

    #block-views-block-casos-de-exito-block-slider .view-display-id-block_slider {
        max-width: 820px;
    }

    #block-views-block-casos-de-exito-block-slider .carousel-item,
    #proyectos-relacionados-slider .carousel-item,
    #block-views-block-blog-block-posts-relacionados-slider .carousel-item {
        padding: 0 122px;
    }

    #block-views-block-casos-de-exito-block-slider .carousel-caption {
        display: none !important;
    }

    /* proyectos */

    .page-node-type-proyecto.path-que-hacemos .breadcrumb li:last-child {
        width: 223px;
    }

    .page-node-type-proyecto.path-que-hacemos .fullwidth-white>.container,
    .page-node-type-proyecto.path-que-hacemos .node__content>.container,
    .page-node-type-proyecto.path-que-hacemos .proyecto-content>.container {
        max-width: 66vw;
    }

    .path-que-hacemos article .field--name-body {
        padding-left: 3em;
    }

    .path-que-hacemos #block-banersponsor {
        margin-top: 1402px;
    }

    .banner-sponsor-proyecto {
        align-items: center;
        column-gap : 32px;
    }

    /* quienes somos */

    .odd .item-texto {
        padding: 40px 0 40px 100px;
        order  : 1;
    }

    .item-texto {
        display      : flex;
        flex-wrap    : wrap;
        align-content: center;
        padding      : 0 40px 30px;
    }

    .item-texto .field-titulo {
        font-size    : 35px;
        margin-bottom: 20px;
    }

    .odd .item-imagen {
        order: 2;
    }

    .item-imagen img {
        height    : 600px;
        object-fit: cover;
    }

    .odd .item-imagen:after {
        left : 12px;
        right: unset;
    }

    .item-imagen:after {
        top      : 0;
        width    : 100px;
        height   : 100%;
        clip-path: polygon(0 0%, 0% 100%, 100% 100%);
    }

    .even .item-imagen:after {
        left     : unset;
        right    : 11px;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    }

    .item-imagen:after {
        top      : 0;
        width    : 100px;
        height   : 100%;
        clip-path: polygon(0 0%, 0% 100%, 100% 100%);
    }

    /* blog */

    .page-node-type-article.path-blog .breadcrumb li:last-child {
        width: 610px;
    }

    .page-node-type-article.path-blog .container {
        max-width: 820px;
    }

    .article-teaser-card-normal {
        height: 970px;
    }

    .view-contenido-para-quien-lo-hacemos .quienes-somos-item-list {
        height: 180px;
    }


    /* contacto */

    .webform-submission-contacto-form {
        padding: 20px 35px;
    }

    .path-contacto .column-grey img {
        width: 100%;
    }

    .path-contacto .column-grey-body {
        padding: 15px 40px 40px;
    }
}

@media (min-width: 820px) {

    .fullwidth-grey:before,
    #block-views-block-casos-de-exito-block-1:before {
        left: -70px;
        width: 820px;
    }
}

@media (min-width: 992px) {

    /* Pàgina d'inici */

    #block-views-block-casos-de-exito-block-1 {
        padding-bottom: 50px;
    }

    .homepage-hero {
        /* height: 700px; */
    }

    .fullwidth-grey:before,
    #block-views-block-casos-de-exito-block-1:before {
        left: -36px;
        width: 992px;
    }

    h1.hero-title {
        font-size: 100px;
        max-width: 810px;
        margin   : 0 auto 40px;
    }

    h2.hero-title {
        font-size: 70px;
        max-width: 695px;
        margin   : 0 auto 40px;
    }

    h3.hero-title {
        font-size: 50px;
        max-width: 695px;
        margin   : 0 auto 40px;
    }

    .hero-subtitle {
        font-size: 24px;
        max-width: 690px;
        margin   : 0 auto 40px;
    }

    .destacado-home h2 {
        font-size: 37px;
    }

    .fullwidth-grey+.container {
        margin-top: 50px;
        margin-bottom: 70px;
    }

    .link-list-item {
        padding: 25px 64px;
    }

    .path-frontpage .destacado-home {
        font-size: 16px;
    }

    .path-frontpage footer {
        /* margin-top: 1540px !important; */
    }

    .hover-card .hover-card-text,
    .project-preview-card .overlay-box {
        height : 100%;
        opacity: 0;
    }

    .hover-card:hover .hover-card-text,
    .project-preview-card:hover .overlay-box {
        opacity: 1;
    }

    .path-frontpage footer {
        /* margin-top: 512px !important; */
    }

    #block-views-block-casos-de-exito-block-slider {
        display: none;
    }

    #views-bootstrap-casos-de-exito-block-1 {
        display: block;
        height : unset;
    }

    #views-bootstrap-casos-de-exito-block-1 h3 {
        font-size: 26px;
    }

    #block-views-block-casos-de-exito-block-1 {
        display: block;
        height : 540px;
        height : unset;
    }

    /* Proyectos */

    .page-node-type-proyecto.path-que-hacemos .breadcrumb li:last-child {
        width: 332px;
    }

    .path-que-hacemos .block-system-breadcrumb-block {
        padding-bottom: 20px;
    }

    .page-node-type-proyecto .field-single-category {
        padding-bottom: 45px;
        font-size     : 26px;
    }

    .page-node-type-proyecto .field-single-category {
        /* text-align: center; */
    }

    .page-node-type-proyecto .field-title {
        padding-bottom   : 20px;
        /* font-size     : 45px; */
    }

    .path-que-hacemos article .field--name-body {
        padding-left: 4em;
    }

    .path-que-hacemos .fullwidth-white>.container-fluid {
        padding: 0 4rem 0 4rem;
    }

    .path-que-hacemos #block-banersponsor {
        margin-top: 1492px;
        position  : absolute;
        width     : 99vw;
        left      : 0;
    }

    .banner-sponsor-proyecto .sponsor-texto p {
        font          : normal normal bold 35px/42px Lora;
        padding-right : 0.5em;
        letter-spacing: 0px;
        color         : #000000;
    }

    .banner-sponsor-proyecto {
        display: flex;
        width  : fit-content;
        margin : 0 auto;
    }

    .vocabulary-etiquetas-proyectos .field--name-description,
    .header-blog .field--name-description {
        margin-bottom: 0;
    }

    .vocabulary-etiquetas-proyectos .field--name-description h2,
    .header-blog .field--name-description h2 {
        font-size    : 65px;
        margin-bottom: 30px;
    }

    .vocabulary-etiquetas-proyectos .field--name-description p,
    .header-blog .field--name-description p {
        max-width    : 810px;
        margin-left  : auto;
        margin-right : auto;
        margin-bottom: 80px;
    }

    .project-preview-card {
        width : 445px;
        height: 612px;
    }

    .project-preview-card a .overlay-box .title {
        font-size: 36px;
    }

    .image-box .img-fluid {
        max-width: 340px;
    }

    #proyectos-relacionados-desktop {
        display: block;
    }

    #proyectos-relacionados-slider {
        display: none;
    }

    /* Por qué nosotros */

    .porque-nosotros h4 {
        font-size: 20px;
    }

    .icono-valores img {
        max-width: unset;
    }

    /* Quiénes somos */

    .quienes-somos-header {
        margin-bottom: 48px;
    }

    .item-texto {
        display      : flex;
        flex-wrap    : wrap;
        align-content: center;
        padding      : 0 40px 30px;
    }

    .even .item-texto {
        padding: 40px 100px 40px 0;
        order  : 2;
    }

    .odd .item-texto {
        padding: 40px 0 40px 100px;
        order  : 1;
    }

    .item-texto .field-titulo {
        font-size    : 35px;
        margin-bottom: 20px;
    }

    .item-imagen img {
        height    : 600px;
        object-fit: cover;
    }

    .item-imagen:after {
        top      : 0;
        width    : 100px;
        height   : 100%;
        clip-path: polygon(0 0%, 0% 100%, 100% 100%);
    }

    .even .item-imagen {
        order: 1;
    }

    .odd .item-imagen {
        order: 2;
    }

    .even .item-imagen:after {
        left     : unset;
        right    : 11px;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    }

    .odd .item-imagen:after {
        left : 12px;
        right: unset;
    }

    /* Pàgina de contacte */

    .path-webform main>.container,
    .path-por-que-nosotros main>.container,
    .path-para-quien-lo-hacemos main>.container,
    .path-quienes-somos main>.container {
        padding         : 50px 100px;
        margin-top      : 100px;
        margin-bottom   : 100px;
        background-color: #fff;
        border-radius   : 50px;
        box-shadow      : 0px 3px 6px #00000029;
    }

    .webform-submission-contacto-form {
        padding: 40px 30px;
        height : 100%;
    }

    .column-grey-body {
        padding: 0 60px 44px;
    }


    /* Blog */

    .page-node-type-article.path-blog .region-breadcrumb {
        display: block;
    }

    #block-factoria-breadcrumbs {
        width      : 100%;
        white-space: normal;
        overflow   : visible;
    }

    .page-node-type-page.path-blog main>.container {
        padding: 50px 0;
    }

    .page-node-type-article.path-blog .region-content {
        padding: 0 0.5rem;
    }

    .page-node-type-article.path-blog .image-style-articulo-blog-1000x675- {
        border-radius: 20px 20px 0 0;
    }

    .page-node-type-article.path-blog .mobile-content {
        display: none;
    }

    .article-full-card .section-text {
        margin: 2.5rem 6rem 1rem 6rem;
    }

    .categoria-tokens-container {
        justify-content: center !important;
    }


    article .tags-share-container {
        display        : flex;
        justify-content: space-between;
    }

    .article-teaser-card-large .field-tags h5,
    .article-full-card .field--name-field-tags {
        font-size: 22px;
    }

    .article-full-card .block-tags h4::before {
        font-size: 22px;
    }

    .article-full-card .block-share {
        margin-top: 0;
    }

    .article-full-card .tags-share-container {
        padding-bottom: 2rem;
    }

    .article-teaser-card-large h4,
    .article-teaser-card-normal h4 {
        font-size: 35px;
    }

    .page-node-type-article .field-title {
        font-size: 46px;
    }

    .article-full-card .section-text .field-title {
        padding-bottom: 3.5rem;
        line-height   : 52px;
    }

    .article-full-card h2 {
        font-size: 26px;
    }

    .article-teaser-card-large .field-uid {
        position: absolute;
        top     : 620px;
    }

    .article-teaser-card-large .field-created {
        position: absolute;
        top     : 642px;
    }

    .article-teaser-card-large .field-resumen {
        position    : absolute;
        top         : 730px;
        left        : 50px;
        margin-right: 35px;
    }

    .article-full-card .field--name-field-resumen {
        font-size  : 26px;
        line-height: 32px;
    }

    .article-full-card .field-resumen {
        padding-bottom: 3.5rem;
    }

    .article-teaser-card-large .section-text {
        margin: 1rem 1rem 1rem 3rem;
    }

    .article-teaser-card-large .section-text .saber-mas {
        position: absolute;
        bottom  : 60px;
    }

    .article-teaser-card-large {
        margin-bottom: 24px;
        height       : 1080px;
    }

    .page-node-type-article.path-blog main>.container {
        padding: 50px 0;
    }

    .article-full-card {
        position     : relative;
        border-radius: 20px;
        box-shadow   : 0 3px 6px #00000029;
        overflow     : hidden;
    }

    .rel-post-teaser-card {
        height: 475px;
    }

    /* Posts relacionados */

    #block-views-block-blog-block-posts-relacionados {
        display: block;
    }

    #block-views-block-blog-block-posts-relacionados-slider {
        display: none;
    }

    #block-views-block-blog-block-posts-relacionados .item-list li {
        margin: 0 1em 0.25em 1em;
    }

    #block-views-block-blog-block-posts-relacionados {
        width: 15rem;
    }

    .view-display-id-block_posts_relacionados .view-header .header-title {
        font-size  : 29px;
        font-weight: normal;
    }

    .page-node-type-article.path-blog .region-sidebar-second {
        padding         : 0 0.5rem;
        background-color: transparent;
    }

    .rel-post-teaser-card .field-tags span {
        color: #393e46;
    }

    .article-teaser-card-normal .field-title h4,
    .block-views-blockblog-block-posts-relacionados h4 {
        font-size  : 22px;
        line-height: 32px;
    }

    .rel-post-teaser-card .field-uid {
        position: absolute;
        top     : 345px;
    }

    .rel-post-teaser-card .field-created {
        position: absolute;
        top     : 367px;
    }

}

@media (min-width: 1200px) {

    /* menu */
    .link-list-item {
        padding: 25px 100px;
    }

    .fullwidth-grey:before,
    #block-views-block-casos-de-exito-block-1:before {
        left: -9%;
        width: 118%;
    }

    /* proyectos */

    .page-node-type-proyecto.path-que-hacemos .breadcrumb li:last-child {
        width: 469px;
    }

    .path-taxonomy.path-que-hacemos .project-preview-card {
        width: 518px;
    }

    .path-que-hacemos .fullwidth-white>.container-fluid {
        padding: 0 10rem 0 10rem;
    }

    .path-que-hacemos article .field--name-body {
        padding-left: 10em;
    }

    .path-que-hacemos #block-banersponsor {
        margin-top: 1492px;
    }

    /* Para quién lo hacemos */

    .view-contenido-para-quien-lo-hacemos .quienes-somos-item-list {
        height: 258px;
    }

    /* blog */

    .page-node-type-article.path-blog .container {
        max-width: 960px;
    }

    .page-node-type-page.path-blog main>.container {
        padding: 50px 100px;
    }

    .article-teaser-card-large {
        margin-bottom: 24px;
        height       : 1025px;
    }

    .article-teaser-card-large {
        height: 1060px;
    }

    .article-teaser-card-normal {
        height: 955px;
    }

    #block-views-block-blog-block-posts-relacionados {
        width: 23rem;
    }

    #block-views-block-blog-block-posts-relacionados {
        margin-left: 1.5rem;
    }

    .view-display-id-block_posts_relacionados .view-header .header-title {
        font-size  : 37px;
        font-weight: normal;
    }

    .article-teaser-card-normal .field-title h4,
    .block-views-blockblog-block-posts-relacionados h4 {
        font-size: 26px;
    }

    .rel-post-teaser-card {
        height: 385px;
    }

    .rel-post-teaser-card .field-uid {
        position: absolute;
        top     : 260px;
    }

    .rel-post-teaser-card .field-created {
        position: absolute;
        top     : 282px;
    }

}

@media (min-width: 1400px) {

    /* menu */

    .link-list-item {
        padding: 25px 120px;
    }

    .fullwidth-grey:before,
    #block-views-block-casos-de-exito-block-1:before {
        left: -2000px;
        width: 4000px;
    }

    /* proyectos */

    .page-node-type-proyecto.path-que-hacemos .breadcrumb li:last-child {
        width: fit-content;
    }

    .path-que-hacemos #block-banersponsor {
        margin-top: 1492px;
    }

    .path-taxonomy.path-que-hacemos .project-preview-card {
        width: 612px;
    }

    /* Blog */

    .page-node-type-article.path-blog .container {
        max-width: 1320px;
    }

    .article-teaser-card-normal {
        height: 905px;
    }

}
