@font-face {
    font-family: "Gotham_Light";
    src: url("./fonts/GothamLight.eot");
    src: url("./fonts/GothamLight.eot") format("embedded-opentype"),
        url("./fonts/GothamLight.woff2") format("woff2"),
        url("./fonts/GothamLight.woff") format("woff"),
        url("./fonts/GothamLight.ttf") format("truetype"),
        url("./fonts/GothamLight.svg#GothamLight") format("svg");
    font-display: swap;
}

#wrapper.pt_category-wide .site-width-slot {
    max-width: 100%;
}

/*  ------  reset   ------  */

#main:not(.main-homepage) {
    padding-top: 0px;
}

.breadcrumb {
    display: none !important;
}

#primary {
    padding-bottom: 0;
}

#wrapper {
    max-width: 100%;
}

footer.footer-main {
    margin-top: 0;
}

.footer-wrapper {
    position: relative;
    z-index: 1;
}

/* --------------------------------------  */
.DIY {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    --COLOR-RED: #B40024;
    --COLOR-BLACK: #333333;
    --CLARINS-FONT: "ClarinsRegular", "Clarins";
    --GOTHAM-BOOK: "Gotham SSm book A", "Gotham SSm book B", Helvetica, Arial, sans-serif;
    --GOTHAM-MEDIUM: "Gotham SSm medium A", "Gotham SSm medium B", Helvetica, Arial, sans-serif;
    --GOTHAM-XLIGHT: "Gotham_Light";
    --FONT-SIZE: 14px;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: var(--FONT-SIZE);
}


.DIY * {
    box-sizing: border-box;
}

.DIY *[role="button"] {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.DIY-link {
    font-size: 11px;
    font-family: var(--GOTHAM-MEDIUM);
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    display: flex;
    cursor: pointer;
}

.DIY-link--reset {
    margin-top: 20px;
}

.DIY-link--reset::before {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(img/close.svg);
    display: block;
    background-size: cover;
    margin-right: 4px;
    pointer-events: none;
}


.DIY-link--less::after,
.DIY-link--more::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(img/arrow.svg);
    transform: rotate(-90deg);
    display: block;
    background-size: cover;
    margin-left: 8px;
    pointer-events: none;
}

.DIY-link--more::after {
    transform: rotate(90deg);
}

/***********************************/
.DIY-steps {
    --WIDTH-POPIN: 830px;
    --PADDING-POPIN: 75px;
    width: var(--WIDTH-POPIN);
    flex: 1;
    overflow-x: hidden;
    scroll-behavior: normal;
}

@media(max-width:761px) {
    .DIY-steps {
        scroll-behavior: unset;
    }
}

.DIY-steps__scroller {
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
    font-size: 0;
}

.DIY-steps__item {
    width: var(--WIDTH-POPIN);
    display: inline-block;
    font-size: unset;
    padding: 0 var(--PADDING-POPIN);
    padding-top: 40px;
    vertical-align: top;
}

.DIY-steps__item:first-child {
    padding-top: 0px;
}

/*
*[data-scroll="1"] .DIY-tuto__visual {
    opacity: 0;
}*/

@media(max-width:761px) {
    .DIY-steps {
        --PADDING-POPIN: 15px;
        --WIDTH-POPIN: 330px;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: normal;
    }

    .DIY-steps::-webkit-scrollbar {
        display: none;
    }

    .DIY-steps__item {
        scroll-snap-align: center;
        position: relative;
    }
}

/***********************************/

.DIY-cta {
    display: inline-flex;
    height: 44px;
    padding: 0px 16px;
    font-size: var(--FONT-SIZE);
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    background: var(--COLOR-RED);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-family: var(--GOTHAM-MEDIUM);
    border: 1px solid var(--COLOR-RED);
    text-decoration: none;
}

/***********************************/

.DIY-header {
    width: 100%;
    overflow: hidden;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fefefd;
    position: relative;
}

.DIY-header__background {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: block;
    width: 2200px;
}

.DIY-header__background img {
    display: block;
    width: 100%;
    height: auto;
}

.DIY-header__title {
    margin: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    font-family: var(--GOTHAM-XLIGHT);
    color: var(--COLOR-RED);
    font-size: 34px;
    font-style: normal;
    line-height: 40px;
    height: 44px;
    vertical-align: middle;
    border-radius: 0px 0px 20px 0px;
    border: 2px solid var(--COLOR-RED);
    display: flex;
    gap: 5px;
    padding-right: 11px;
    margin-bottom: 15px;
}

.DIY-header__title strong {
    font-family: var(--GOTHAM-MEDIUM);
    font-style: normal;
    font-weight: normal;
}

.DIY-header__logo {
    margin: 0;
    font-size: 0;
    width: 209px;
    height: 40px;
    background-size: cover;
    background-image: url(img/clarins.svg);
    background-position: center center;
    display: inline-block;
}

.DIY-header__text {
    margin: 0;
    position: relative;
    z-index: 2;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 28px;
    max-width: 485px;
    text-align: center;
}

@media(max-width:1023px) {
    .DIY-header__background {
        width: 1024px;
    }
}

@media(max-width:761px) {
    .DIY-header {
        height: 66.6666vw;
    }

    .DIY-header__background {
        width: 100%;
    }

    .DIY-header__title {
        font-size: 18px;
        font-style: normal;
        line-height: 26px;
        height: 28px;
        border-radius: 0px 0px 10px 0px;
        gap: 5px;
        padding-right: 11px;
        margin-bottom: 12px;
    }

    .DIY-header__logo {
        width: 117px;
        height: 26px;
    }

    .DIY-header__text {
        font-size: 14px;
        line-height: 20px;
        padding: 0 20px;
    }
}

/*********************************************/

.DIY-actions {
    width: 100%;
    overflow: hidden;
    height: 483px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fdfaf8;
    position: relative;
}

.DIY-actions__background {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: block;
    width: 2200px;
    height: 100%;
}

.DIY-actions__background img {
    background-size: cover;
    display: block;
    width: 100%;
    height: 100%;
}

.DIY-actions__picto {
    width: 192px;
    height: 192px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.DIY-actions__picto--active {
    display: none;
    background-color: var(--COLOR-RED);
    cursor: default;
}

.DIY-actions__item[data-active="1"] .DIY-actions__picto {
    display: none;
}

.DIY-actions__item[data-active="1"] .DIY-actions__picto--active {
    display: flex;
}

.DIY-actions__item:hover .DIY-actions__picto {
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.15);
}

.DIY-actions__content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.DIY-actions__title {
    margin: 0;
    color: var(--COLOR-BLACK);
    text-align: center;
    font-family: var(--GOTHAM-BOOK);
    font-size: 48px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
}

.DIY-actions__text {
    margin: 0;
    color: var(--COLOR-BLACK);
    text-align: center;
    font-family: var(--GOTHAM-BOOK);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
}

.DIY-actions__list {
    padding: 0;
    padding-top: 46px;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.DIY-actions__item {
    text-align: center;
    flex-direction: column;
    display: flex;
    justify-content: flex-end;
    margin: 0 43px;
}


.DIY-actions__name {
    margin: 0;
    margin-top: 20px;
    color: var(--COLOR-BLACK);
    text-align: center;
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 40px;
    text-transform: uppercase;
}


@media(max-width:761px) {


    .DIY-actions {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    .DIY-actions__background {
        width: 100%;
        height: 100%;
    }

    .DIY-actions__background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .DIY-actions__picto {
        width: 97px;
        height: 97px;
    }

    .DIY-actions__picto img {
        width: 43px;
        height: 51px;
        object-fit: contain;
    }

    .DIY-actions__title {
        font-size: 30px;
        line-height: 1.2em;
        font-family: var(--GOTHAM-MEDIUM);
        padding-bottom: 10px;
    }

    .DIY-actions__text {
        font-size: 14px;
    }

    .DIY-actions__list {
        padding-top: 40px;
    }

    .DIY-actions__item {
        margin: 0 10px;
    }

    .DIY-actions__name {
        margin-top: 14px;
        font-size: 14px;
        line-height: 20px;
    }
}

/*****************************************************/
.DIY-searchbar {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1074px;
    margin-top: 30px;
    margin-bottom: 0px;
}

.DIY-searchbar__spacer {
    flex: 1;
}

.DIY-searchbar__filters {
    background-color: #F5EFEB;
    height: 40px;
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    justify-content: flex-start;
}

.DIY-searchbar__select {
    position: relative;
}

.DIY-searchbar__select:hover {
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.15);
}

.DIY-searchbar__label {
    position: relative;
    z-index: 2;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 11px;
    font-style: normal;
    font-weight: normal;
    line-height: 14px;
    text-transform: uppercase;
    white-space: nowrap;
}


.DIY-searchbar__filterpicto::before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url(img/filter-menu-icon.svg);
    display: block;
    background-size: cover;
    margin-left: 0px;
    margin-right: 8px;
}

.DIY-searchbar__sortby .DIY-searchbar__label::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(img/filter.svg);
    display: block;
    background-size: cover;
    margin-left: 0px;
    margin-right: 8px;
}


.DIY-searchbar__label::after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url(img/arrow.svg);
    transform: rotate(90deg);
    display: block;
    background-size: cover;
    margin-left: 8px;
}



.DIY-searchbar__select[data-active="1"] {
    filter: drop-shadow(0px 0px 21px rgba(0, 0, 0, 0.15));
}

.DIY-searchbar__select[data-active="1"] .DIY-searchbar__label::after {
    transform: rotate(-90deg);
}

.DIY-searchbar__select[data-active="0"] {
    /*background-color: #F5EFEB;*/
}

.DIY-searchbar__select[data-active="1"] {
    background-color: #FFF;

}

.DIY-searchbar__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 40px;
    left: 0;
    width: 290px;
}

.DIY-searchbar__sortby .DIY-searchbar__list {
    left: auto;
    right: 0;
}

.DIY-searchbar__list li {
    padding: 12px 16px;
    white-space: nowrap;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    text-transform: none;
    cursor: pointer;
}

.DIY-searchbar__list li[data-active="1"]::before {
    background-color: #333333;
    background-image: url(img/form-field-checkbox.svg);
    background-size: cover;
}

.DIY-searchbar__list li:hover {
    background-color: #F5EFEB;
}

.DIY-searchbar__list li::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #999;
    margin-right: 8px;
}

.DIY-searchbar__select[data-active="0"] .DIY-searchbar__list {
    display: none;
}

.DIY-searchbar__total {
    font-size: 12px;
    padding: 16px;
    padding-bottom: 8px;
    margin: 0;
    line-height: 1em;
    color: #797674;
}

.DIY-searchbar__keys {
    list-style: none;
    padding: 8px 16px;
    margin: 0;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.DIY-searchbar__keys li[data-group="sortby"] {
    display: none;
}

.DIY-searchbar__group {
    display: flex;
}



.DIY-searchbar__keys li {
    display: flex;
    height: 36px;
    padding: 0px 8px;
    align-items: center;
    gap: 8px;
    border-radius: 18px;
    border: 1px solid #B0A9A5;
    background: #FFF;
    cursor: pointer;
    font-size: 12px;
    line-height: 1em;
    padding-right: 16px;
}

.DIY-searchbar__keys li::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(img/close.svg);
    background-size: cover;
}

.DIY-searchbar__mobile {
    display: none;
}

@media(max-width:761px) {
    .DIY-searchbar {
        width: calc(100% + 32px);
        margin: 0 -16px;
    }

    .DIY-searchbar__mobile {
        display: block;
        height: 40px;
        width: 50vw;
        background-color: #f5efeb;
    }

    .DIY-searchbar__mobile .DIY-searchbar__label {
        width: 50vw;
        justify-content: space-between;
    }

    .DIY-searchbar__mobile[data-active="1"] {
        background-color: #fff;
    }

    .DIY-searchbar__filterpicto::after,
    .DIY-searchbar__sortby .DIY-searchbar__label::after {
        margin-left: auto;
    }

    .DIY-searchbar__mobile[data-active="1"] .DIY-searchbar__label::after {
        transform: rotate(-90deg);
    }

    .DIY-searchbar__filters {
        margin-top: 16px;
        background-color: #fff;
        height: 40px;
    }

    .DIY-searchbar__group {
        flex-direction: column;
        width: 100vw;
        position: absolute;
        top: 40px;
    }

    .DIY-searchbar__group[data-active="0"] {
        opacity: 0;
        pointer-events: none;
    }

    .DIY-searchbar__list {
        position: relative;
        top: auto;
        width: 100%;
    }

    .DIY-searchbar__select {
        border-top: 1px solid #CCC;
        width: 100%;
        background-color: #FFF;
    }

    .DIY-searchbar__select[data-active="1"] {
        box-shadow: none;
    }

    .DIY-searchbar__group .DIY-searchbar__sortby .DIY-searchbar__label {
        display: none;
    }

    .DIY-searchbar__group .DIY-searchbar__sortby .DIY-searchbar__list {
        display: block;
    }
}

/*****************************************************/
.DIY-finder {
    padding: 30px;
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.DIY-finder__title {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 48px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
}

.DIY-finder__text {
    margin: 0;
    margin-top: 20px;
    color: var(--COLOR-BLACK);
    text-align: center;
    font-family: var(--GOTHAM-BOOK);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    position: relative;
    z-index: 2;
    max-width: 700px;
    text-align: center;
}

.DIY-finder__background {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: block;
    width: 2200px;
}

.DIY-finder__background img {
    width: 100%;
    height: auto;
    display: block;
}


.DIY-finder__results {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 1074px;
    padding: 0px;
    gap: 30px;
    margin-bottom: 60px;
    min-height: 306px;
}

@media(max-width:1134px) {
    .DIY-finder__results {
        max-width: 706px;
    }
}


@media(max-width:761px) {
    .DIY-finder__title {
        font-size: 30px;
        line-height: 1.2em;
        font-family: var(--GOTHAM-MEDIUM);
        padding-bottom: 10px;
    }
}

/*****************************************************/

.DIY-tuto {
    border-radius: 10px;
    overflow: hidden;
    background-color: #FDFAF8;
    max-width: 338px;
    cursor: pointer;
}

.DIY-tuto:hover {
    box-shadow: 0px 0px 21px 0px rgba(0, 0, 0, 0.15);
}

.DIY-tuto__filters {
    display: none;
}

.DIY-tuto__thumbnail {
    display: block;
    width: calc(100% + 40px);
    margin: -20px;
    margin-bottom: 10px;

    overflow: hidden;
}

.DIY-tuto__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    /* transition: transform ease-in-out 0.5s;*/
}

/*
.DIY-tuto__thumbnail:hover img {
    transform: scale(1.2);
}*/

.DIY-tuto__abstract {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.DIY-tuto__name {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 21px;
}

.DIY-tuto__duration {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    line-height: 21px;
}

.DIY-tuto__duration::before {
    content: "";
    width: 24px;
    height: 24px;
    display: inline-block;
    background-image: url(img/timer.svg);
    vertical-align: bottom;
    margin-right: 8px;
    margin-left: -2px;
}

.DIY-tuto__difficulty {
    margin: 0;
    font-size: 14px;
    color: var(--COLOR-BLACK);
    font-size: var(--FONT-SIZE);
    font-family: var(--GOTHAM-MEDIUM);
}

.DIY-tuto__difficulty span {
    font-size: 0;
    display: inline-block;
    width: 88px;
    height: 22px;
    vertical-align: bottom;
    margin-left: 0px;
    background-position: 0px 0px, 22px 0px, 44px 0px, 66px 0px;
    background-size: 22px auto, 22px auto, 22px auto, 22px auto;
    background-repeat: no-repeat;
}

.DIY-tuto__difficulty[data-level="1"] span {
    background-image: url(img/cut.svg), url(img/cut_disabled.svg), url(img/cut_disabled.svg), url(img/cut_disabled.svg);
}

.DIY-tuto__difficulty[data-level="2"] span {
    background-image: url(img/cut.svg), url(img/cut.svg), url(img/cut_disabled.svg), url(img/cut_disabled.svg);
}

.DIY-tuto__difficulty[data-level="3"] span {
    background-image: url(img/cut.svg), url(img/cut.svg), url(img/cut.svg), url(img/cut_disabled.svg);
}

.DIY-tuto__difficulty[data-level="4"] span {
    background-image: url(img/cut.svg), url(img/cut.svg), url(img/cut.svg), url(img/cut.svg);
}

.DIY-tuto__details {
    display: none;
}


.DIY-tuto__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 100%;
    min-height: 84px;
}

.DIY-tuto__visual {}

.DIY-tuto__content {
    white-space: normal;
    text-align: left;
    flex: 1;
}


.DIY-tuto__text {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
}

.DIY-tuto__subtitle {
    margin: 0;
    color: var(--COLOR-RED);
    font-family: var(--GOTHAM-MEDIUM);
    text-transform: uppercase;
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 50px;
}

.DIY-tuto__list {
    /* list-style: none;*/
    padding: 0;
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    width: 100%;
}

.DIY-tuto__sepa {
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: auto;
    width: 178px;
    height: 1px;
    background-color: #D3CCC8;
    display: block;
}

@media(max-width:761px) {
    .DIY-finder {
        padding: 40px 16px;
    }

    .DIY-finder__results {
        gap: 16px;
    }

    .DIY-finder__text {
        font-size: 14px;
        line-height: 20px;
        margin-top: 0;
    }

    .DIY-tuto__thumbnail {
        width: calc(100% + 20px);
        margin: -10px;
        margin-bottom: 10px;
    }

    .DIY-tuto {
        max-width: calc(50vw - 24px);
        width: 100%;
    }

    .DIY-tuto__abstract {
        padding: 10px;
        padding-bottom: 20px;
        gap: 5px;
    }

    .DIY-tuto__name {
        font-size: 14px;
        line-height: 20px;
    }

    .DIY-tuto__difficulty {
        font-size: 12px;
        white-space: nowrap;

    }

    .DIY-tuto__difficulty span {
        width: 70px;
        height: 18px;
        margin-left: 4px;
        background-position: 0px 0px, 18px 0px, 36px 0px, 54px 0px;
        background-size: 18px auto, 18px auto, 18px auto, 18px auto;
    }

    .DIY-tuto__content {
        width: 100%;
    }

}

/*****************************************************/
.DIY-popin {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.DIY-popin[data-active="1"] {
    transition: opacity ease-in-out 0.5s;
    opacity: 1;
    pointer-events: unset;
}

.DIY-popin__overlay {
    background: rgba(0, 0, 0, 0.40);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

.DIY-popin__box {
    border-radius: 5px;
    background-color: #fff;
    width: var(--WIDTH-POPIN);
    height: 700px;
    position: relative;
    z-index: 2;
    opacity: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.DIY-popin__box::after {
    content: " ";
    height: 4px;
    background-color: var(--COLOR-RED);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.DIY-popin[data-active="1"] .DIY-popin__box {
    transition: opacity ease-in-out 1s;
    transition-delay: 0.5s;
    opacity: 1;
}

.DIY-popin__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    margin-top: -20px;
}

.DIY-popin__content .DIY-tuto__duration {
    margin-bottom: 5px;
}

.DIY-popin__content .DIY-cta {
    margin: 0px auto;
    margin-top: 40px;
}

.DIY-popin__close {
    width: 24px;
    height: 24px;
    display: block;
    cursor: pointer;
    background-image: url(img/close.svg);
    background-size: cover;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0;
}

.DIY-popin__title {
    margin: 0;
    margin-top: 40px;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-MEDIUM);
    font-size: 20px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    text-align: center;
}

.DIY-popin__text {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

/*
*[data-index="1"] .DIY-popin__text {
    flex: 1;
}*/

.DIY-tuto__advice {
    font-size: 12px;
    line-height: 1.4em;
}

*[data-index="1"] .DIY-tuto__advice {
    flex: 1;
}

.DIY-tuto__advice strong {
    color: var(--COLOR-RED);
    font-weight: normal;
}

.DIY-popin__arrow {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    font-size: 0;
    z-index: 4;
}

.DIY-popin__arrow[data-active="0"] {
    display: none;
}

.DIY-popin__next {
    right: 20px;
}

.DIY-popin__prev {
    left: 20px;
}

.DIY-popin__arrow::before {
    content: "";
    position: absolute;
    background-image: url(img/arrow.svg);
    width: 24px;
    height: 24px;
}

.DIY-popin__prev::before {
    transform: scaleX(-1)
}

.DIY-popin__start {
    display: flex;
    justify-content: center;
    padding: 40px;
    padding-top: 20px;
    position: absolute;
    bottom: 0;
}

.DIY-popin__start[data-active="0"] {
    pointer-events: none;
    opacity: 0;
}


.DIY-popin__breadcrumb {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding: 12px 0;
    align-items: center;
    position: relative;
    min-height: 59px;
}

.DIY-popin__breadcrumb[data-active="0"] {
    pointer-events: none;
    opacity: 0;
}

.DIY-popin__breadcrumb::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--COLOR-RED);
    position: absolute;
    top: 50%;
    left: 0;
}

.DIY-popin__breadcrumb>div {
    background-color: var(--COLOR-RED);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-family: var(--GOTHAM-MEDIUM);
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.DIY-popin__breadcrumb>div[data-active="1"] {
    font-size: 20px;
    cursor: default;
    pointer-events: none;
}

.DIY-popin__breadcrumb>div[data-active="1"]::before {
    content: "";
    width: 35px;
    height: 35px;
    background-color: var(--COLOR-RED);
    position: absolute;
    top: calc(50% - 17px);
    left: calc(50% - 17px);
    border-radius: 50%;
    z-index: -1;
}

.DIY-popin__nav {
    display: none;
}

@media(max-width:761px) {
    .DIY-popin {
        padding: 40px 16px;
    }

    .DIY-popin__content {
        margin-bottom: 84px;
    }

    .DIY-popin__box {
        height: 100%;
        overflow: hidden;
        max-height: 620px;
    }


    .DIY-popin__title {
        font-size: 16px;
        line-height: 20px;
        margin: 40px 16px;
        margin-bottom: 0;
    }

    .DIY-popin__text {
        font-size: 14px;
        line-height: 20px;
        margin: 0px 32px;
        width: auto;
    }

    *[data-index="1"] .DIY-popin__text {
        flex: unset;
    }

    .DIY-popin__start {
        padding: 20px;
        position: absolute;
        bottom: 0px;
    }

    .DIY-tuto__row {
        flex-direction: column;
        gap: 16px;
        margin-top: 16px;
    }

    .DIY-steps__item:first-child .DIY-tuto__row {
        margin-top: 51px;
    }

    .DIY-tuto__sepa {
        margin-top: 16px;
        margin-bottom: 16px;
        width: 100%;

    }

    .DIY-tuto__subtitle {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 4px;
    }


    .DIY-tuto__list {
        font-size: 12px;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }

    .DIY-tuto__list li {
        width: 50%;
    }

    .DIY-popin__content .DIY-tuto__duration {
        display: inline-block;
        position: absolute;
        top: 6px;
        width: 80px;
    }

    /*  *[data-scroll="1"] .DIY-tuto__duration {
        opacity: 0;
    }*/

    .DIY-popin__content .DIY-tuto__difficulty {
        display: inline-block;
        border-left: 1px #D3CCC8 solid;
        padding-left: 16px;
        position: absolute;
        top: 10px;
        left: 96px;
    }

    /*
    *[data-scroll="1"] .DIY-tuto__difficulty {
        opacity: 0;
    }
*/

    .DIY-popin__arrow {
        display: none;
    }

    .DIY-tuto__sepa {
        opacity: 0;
        margin: 0;
    }

    .DIY-popin__content .DIY-tuto__text {
        font-family: var(--GOTHAM-BOOK);
    }

    .DIY-popin__breadcrumb {
        padding: 0px;
        height: 35px;
        margin-bottom: -35px;
        /* transition: opacity 0.5s ease-in-out;*/
        display: flex;
        background-color: #fff;
    }


    .DIY-popin__nav {

        justify-content: center;
        gap: 8px;
        padding: 8px;
        list-style: none;
        position: absolute;
        bottom: 20px;
    }

    .DIY-popin__nav[data-active="1"] {
        display: flex;
    }

    .DIY-popin__nav li {
        display: block;
        width: 8px;
        height: 8px;
        font-size: 0;
        background-color: #000;
        border-radius: 50%;
        cursor: pointer;
        opacity: 0.5;
    }

    .DIY-popin__nav li[data-active="1"] {
        cursor: default;
        opacity: 1;
    }




}

/*****************************************************/


.DIY-push-RSE {
    background: linear-gradient(0deg, #FFEAE9 0%, #FFEAE9 100%), linear-gradient(0deg, #FFF7F1 0%, #FFF7F1 100%), #FDFAF8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 460px;
    width: 100%;
    overflow: hidden;
    padding: 40px;
}

.DIY-push-RSE__picto {
    margin: 0;
    margin-bottom: 20px;
    display: block;
}

.DIY-push-RSE__picto img {
    display: block;
    height: auto;
}

.DIY-push-RSE__title {
    margin: 0;
    margin-bottom: 20px;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 48px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    position: relative;
    max-width: 1020px;
    text-align: center;
}


.DIY-push-RSE__text {
    margin: 0;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    max-width: 960px;
    text-align: center;
}

.DIY-push-RSE .DIY-cta {
    border-radius: 5px;
    border: 1px solid #B0A9A5;
    background: #FFF;
    color: var(--COLOR-BLACK);
    margin-top: 30px;
}

@media(max-width:761px) {
    .DIY-push-RSE {
        padding: 20px;
    }

    .DIY-push-RSE__title {
        font-size: 30px;
        line-height: 1.2em;
        font-family: var(--GOTHAM-MEDIUM);
        margin-bottom: 10px;
    }

    .DIY-push-RSE__text {
        font-size: 14px;
        line-height: 20px;
    }
}

/*****************************************************/

.DIY-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 600px;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-left: 50%;
}

.DIY-social__background {
    position: absolute;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: block;
    width: 2200px;
}

.DIY-social__background img {
    display: block;
    width: 100%;
    height: auto;
}

.DIY-social__title {
    margin: 0;
    padding: 60px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    z-index: 2;
    color: var(--COLOR-BLACK);
    font-family: var(--GOTHAM-BOOK);
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
    width: 100%;
}

.DIY-social__title strong {
    font-family: var(--GOTHAM-BOOK);
    font-size: 35px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
}

.DIY-social__hashtag {
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    z-index: 2;
    color: var(--COLOR-RED);
    font-family: var(--GOTHAM-BOOK);
    font-size: 48px;
    font-style: normal;
    font-weight: normal;
    line-height: 1.45em;
}

@media(max-width:1023px) {
    .DIY-social {
        height: 423px;

        padding-left: 32%;
    }

    .DIY-social__title {
        padding: 20px;
    }

    .DIY-social__title strong {
        font-size: 25px;
    }

    .DIY-social__background {
        width: 1024px;
    }

}

@media(max-width:761px) {
    .DIY-social {
        height: auto;
        padding: 0px;
        height: 192vw;
        justify-content: flex-start;
    }

    .DIY-social__title {
        padding: 30px 15px;
        text-align: center;
        font-size: 16px;
        align-items: center;
    }

    .DIY-social__title strong {
        font-size: 24px;
    }

    .DIY-social__hashtag {
        font-size: 30px;
    }

    .DIY-social__background {
        width: 100%;
    }

}


/*----------------------------------------------------------------------*/
.DIY-link {
    position: relative;
    /*z-index: 999;*/
    z-index: 1;
}

/* --- */

@media (max-width: 480px) {
    .DIY-finder__results{
        justify-content: center;
    }
}


/* --- */




.DIY-searchbar__sortby .DIY-searchbar__list {
    width: 210%;}

    .DIY-tuto__subtitle {
        font-size: 17px;}


    @media only screen
    and (min-device-width : 834px)
    and (max-device-width : 1112px)
    and (orientation : portrait)
    and (-webkit-min-device-pixel-ratio: 2) {
        .DIY-actions__title {
            font-size: 325%;}
    }


    /* @media only screen
    and (min-device-width : 834px)
    and (max-device-width : 1112px)
    and (orientation : landscape)
    and (-webkit-min-device-pixel-ratio: 2) {
        .DIY-tuto__subtitle {
            font-size: 34px;}
    }
     */

    
    @media (max-width: 480px) {
    .DIY-tuto__difficulty span {
        width: 54px;
        margin-left: -1px}

        .DIY-push-RSE .DIY-cta {
            width: 76%;
            text-align: center;}

            .DIY-tuto__name {
                padding-bottom: 17%;}
        
                #tuto-01 > div:nth-child(2) > h3:nth-child(2) {
                    padding-bottom: 1%!important; }

    }