/*Red line on subheaders*/

.project-carrousel-content .red-line-subtitle img {
    margin-bottom: 0.3rem;
}

/*Text content responsive*/

@media screen and (max-width: 992px) {
    .project-carrousel-content {
        flex-wrap: wrap !important;
    }
    .project-carrousel-content .wp-block-group {
        flex-basis: 100% !important;
    }
    .project-carrousel-content .wp-block-group .wp-block-group {
        width: 100%;
    }
    .project-carrousel-content .wp-block-buttons {
        float: left;
    }
}

/*Slider buttons*/

.project-carrousel-buttons {
    position: absolute;
    left: calc((100% - 1200px) / 2);
    margin-top: 0;
}
@media screen and (max-width: 1400px) {
    .project-carrousel-buttons {
        left: 54px;
    }
}

@media screen and (max-width: 500px) {
    .project-carrousel-buttons {
        top: 488px;
    }
}

/*Slider wrapper*/

#project-carrousel {
    position: relative;
    padding-top: 6rem;
}
#project-carrousel .title-block-section {
    text-transform: uppercase;
    color: #fff;
    font-size: 8.75rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #e2e2e2;
    font-weight: bold;
    position: absolute;
    right: 0rem;
    top: 13.5rem;
    box-sizing: border-box;
    z-index: -1;
}
@media screen and (max-width: 1280px) {
    #project-carrousel .title-block-section {
        font-size: 5.75rem;
        top: 15.4rem;
    }
}
@media screen and (max-width: 980px) {
    #project-carrousel .title-block-section {
        font-size: 5.75rem;
        top: 19.8rem;
    }
}
@media screen and (max-width: 600px) {
    #project-carrousel .title-block-section {
        font-size: 5rem;
        top: 26.7rem;
    }
}
@media screen and (max-width: 500px) {
    #product-navigator .title-block-section {
        font-size: 3.5rem;
        top: -3.2rem;
    }
}

.project-carrousel {
    overflow-x: hidden;
    padding-left: 200px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
@media screen and (max-width: 992px) {
    .project-carrousel {
        padding-left: var(--wp--style--root--padding-left);
    }
}

@media screen and (max-width: 1400px) {
    #project-carrousel .project-carrousel-content {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;
    }
}

/*Slider content*/

.project-carrousel > div {
    /*padding-left: 180px;*/
    padding-left: calc((100% - 1460px) / 2);
    justify-content: left !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: none !important;
}
@media screen and (max-width: 1400px) {
    .project-carrousel > div {
        padding-left: 23px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 992px) {
    .project-carrousel > div > div {
        border-radius: 0px 0px 4px 4px;
    }
}

.project-carrousel > div > div > figure > img {
    border-radius: 4px;
}
@media screen and (max-width: 769px) {
    .project-carrousel > div > div > figure > img {
        border-radius: 4px 4px 0px 0px;
    }
}

/*Slider text white block*/

.project-carrousel .item-carrusel {
    width: 536px !important;
    display: block;
    float: left;
    position: relative;
    left: 0px;
    flex: none;
    margin-right: 23px;
    transition: left 0.6s ease-in-out;
}
@media screen and (max-width: 769px) {
    .project-carrousel .item-carrusel {
        background-color: white;
        width: 312px !important;
    }
}

.project-carrousel > div > div > div {
    position: relative;
    width: 392px;
    left: 112px;
    top: -76px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 4px;
}
@media screen and (max-width: 769px) {
    .project-carrousel > div > div > div {
        width: 100%;
        top: 0px;
        left: 0px;
        border-radius: 0px 0px 4px 4px;
    }
}

/*Slider category picture*/

.project-carrousel > div > div > div > figure {
    position: absolute;
    top: -90px;
    background: white;
    padding: 25px 22px 25px 28px;
    border-radius: 200px;
    right: 24px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
@media screen and (max-width: 769px) {
    .project-carrousel > div > div > div > figure {
        padding: 20px 17px 20px 22px;
        top: -70px;
    }
    .project-carrousel > div > div > div > figure > img {
        width: 60px;
    }
}

@media screen and (max-width: 992px) {
    .project-carrousel .wp-block-columns {
        flex-wrap: wrap;
    }
    .project-carrousel .wp-block-column {
        flex-basis: 48% !important;
    }
}

@media screen and (max-width: 769px) {
    .project-carrousel .wp-block-column {
        flex-basis: 100% !important;
    }
}
