@media all and (max-width: 768px) {
    .ecloz_rosiers_types_container_grid {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ecloz_rosiers_types_content {
        grid-template-rows: 255px 130px 40px;
        grid-gap: 20px !important;
    }
}

@media all and (max-width: 1023px) {
    div.ecloz_rosiers_types_container {
        grid-template-columns: 235px;
    }

    div#notre_gamme_container {
        flex-direction: column;
    }

    div.ecloz_rosiers_types_container {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .ecloz_rosiers_types_content {
        grid-gap: 30px;
    }

    div.ecloz_rosiers_type_content {
        flex-direction: column;
    }

    div.ecloz_rosiers_type_content#rosier_buisson H5 {
        margin: 35px auto;
    }

    /** SOMMAIRE MOBILE **/
    h5.ecloz_rosiers_mobile_summary_title.ecloz_rosiers_cta_summary {
        justify-content: space-around;
    }

    div.ecloz_rosiers_mobile_summary_content {
        display: none;
    }

    div.ecloz_rosiers_mobile_summary_content.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, .8);
        border-radius: 8px;
        -webkit-box-shadow: 5px 5px 15px 1px #B8B8B8;
        box-shadow: 5px 5px 15px 1px #B8B8B8;
        padding: 20px 10px;
    }

    div.ecloz_rosiers_mobile_summary_content a {
        font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
        font-weight: 600;
        font-size: 16px;
        padding: 12px;
        color: #D80067;
        width: 100%;
        text-align: center;
    }

}

@media all and (min-width: 1024px) {
    .ecloz_rosiers_cta_summary {
        font-size: 20px;
    }

    div.ecloz_rosiers_types_container_grid {
        grid-template-columns: repeat(4, 235px);
    }

    div#comment_cultiver_title_container{
        position: relative;
    }

    div#comment_cultiver_title_container::after {
        content: url("/wp-content/themes/ecloz/assets/images/rosiers/comment_nos_rosiers_sont_cultives_top.png");
        position: absolute;
        right: 0;
        top: -80px;
    }

    div.ecloz_rosiers_type_content#rosier_buisson H5,
    div.ecloz_rosiers_type_content#rosier_arbustifs H5,
    div.ecloz_rosiers_type_content#rosier_paysager H5,
    div.ecloz_rosiers_type_content#rosier_grimpants H5{
        margin: 35px 0 0 -100px;
    }

    /** ROSIER BUISSON **/
    div.ecloz_rosiers_type_description.ecloz_rosiers_type_content_left {
        width: calc(50% - 15px);
        margin-right: 15px;
    }

    div.ecloz_rosiers_type_description.ecloz_rosiers_type_content_right {
        width: calc(50% - 15px);
        margin-left: 15px;
    }

    div.ecloz_arrosage_img_container {
        position: relative;
        left: 30px;
        width: max-content;
    }

    div#summary_desktop {
        width: max-content;
        right: -230px;
        transition: right .5s ease-in-out;
    }

    div#summary_desktop.active {
        right: 0;
        transition: right .5s ease-in-out;
    }

    div.ecloz_rosiers_mobile_summary_container {
        display: flex;
        flex-direction: column;
        width: 250px;
    }

    h5.ecloz_rosiers_mobile_summary_title.ecloz_rosiers_cta_summary {
        justify-content: space-around;
        cursor: pointer;
    }

    div.ecloz_rosiers_mobile_summary_content{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 250px;
        background: #fff;
        transform: rotate(90deg);
        border-radius: 8px;
    }

    div.ecloz_rosiers_mobile_summary_content a {
        font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
        font-weight: 600;
        font-size: 16px;
        padding: 12px;
        color: #D80067;
        width: 100%;
        text-align: center;
    }
}

.ecloz_rosier_uppertitle {
    font-size: 1.6em;
}

.ecloz_rosiers_cta_summary {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    background-color: #D80067;
    border: 2px solid #D80067;
    border-radius: 10px;
    padding: 10px 0;
}

.show_spoiler {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
    color: #00583D;
}

div.spoiler {
    display: none;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #00583D;
}

div.spoiler.active {
    display: block;
}

div.ecloz_rosiers_types_container_grid {
    display: grid;
    grid-gap: 40px;
}

.ecloz_rosiers_types_content {
    display: grid;
    grid-template-rows: 255px 130px 80px;
    cursor: pointer;
}

div.ecloz_rosiers_types_wording_container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
}

div.ecloz_rosiers_types_wording_container#paysager_container {
    background-color: #E75000;
}

div.ecloz_rosiers_types_wording_container#buisson_container {
    background: rgb(216,0,103);
    background: linear-gradient(90deg, rgba(216,0,103,1) 50%, rgba(209,0,15,1) 50%);
}

div.ecloz_rosiers_types_wording_container#arbustif_container {
    background-color: #F68700;
}

div.ecloz_rosiers_types_wording_container#grimpant_container {
    background-color: #8A458F;
}

div.ecloz_rosiers_types_wording_container H3 {
    font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
}

div.ecloz_rosiers_types_wording_container p {
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-size: 18px;
}

div.ecloz_rosiers_types_discover_cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

div.ecloz_rosiers_types_discover_cta#paysager_cta button{
    color: #E75000;
}

div.ecloz_rosiers_types_discover_cta button#paysager_button::before, button#paysager_button::after {
    background: #E75000;
}

div.ecloz_rosiers_types_discover_cta#paysager_cta span#paysager_hover::before, span#paysager_hover::after{
    background: #E75000;
}

div.ecloz_rosiers_types_discover_cta#buisson_cta button{
    color: #D80067;
}

div.ecloz_rosiers_types_discover_cta button#buisson_button::before, button#buisson_button::after {
    background: #D80067;
}

div.ecloz_rosiers_types_discover_cta#buisson_cta span#buisson_hover::before, span#buisson_hover::after{
    background: #D80067;
}

div.ecloz_rosiers_types_discover_cta#arbustif_cta button{
    color: #F68700;
}

div.ecloz_rosiers_types_discover_cta button#arbustif_button::before, button#arbustif_button::after {
    background: #F68700;
}

div.ecloz_rosiers_types_discover_cta#arbustif_cta span#arbustif_hover::before, span#arbustif_hover::after{
    background: #F68700;
}

div.ecloz_rosiers_types_discover_cta#grimpant_cta button{
    color: #8A458F;
}

div.ecloz_rosiers_types_discover_cta button#grimpant_button::before, button#grimpant_button::after {
    background: #8A458F;
}

div.ecloz_rosiers_types_discover_cta#grimpant_cta span#grimpant_hover::before, span#grimpant_hover::after{
    background: #8A458F;
}

div#notre_gamme_container {
    display: flex;
    justify-content: center;
    align-items: center;
}


div.ecloz_rosiers_types_discover_cta button {
    display: inline-block;
    position: relative;
    background: none;
    border: none;
    text-transform: uppercase;
    font-family: 'Poppins',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}
div.ecloz_rosiers_types_discover_cta span{
    display: block;
    padding: 10px 40px;
}
div.ecloz_rosiers_types_discover_cta button::before, button::after {
    content:"";
    width: 0;
    height: 2px;
    position: absolute;
    transition: all 0.2s linear;
    /*background: red;*/
}

div.ecloz_rosiers_types_discover_cta span::before, span::after{
    content:"";
    width:2px;
    height:0;
    position: absolute;
    transition: all 0.2s linear;
}


.ecloz_rosiers_types_content:hover div.ecloz_rosiers_types_discover_cta button::before, button:hover::after{
    width: 100%;
}
.ecloz_rosiers_types_content:hover div.ecloz_rosiers_types_discover_cta span::before, .ecloz_rosiers_types_content:hover span::after{
    height: 100%;
}

.ecloz_rosiers_cta_hover::after{
    left: 0;
    bottom: 0;
    transition-delay: 0.6s;
    width: 100%;
}
.ecloz_rosiers_cta_hover span::after{
    transition-delay: 0.4s;
    right: 0;
    bottom: 0
}
.ecloz_rosiers_cta_hover::before{
    right: 0;
    top: 0;
    transition-delay: 0.2s;
}
.ecloz_rosiers_cta_hover span::before{
    transition-delay: 0s;
    left: 0;
    top: 0;
}

.ecloz_rosiers_types_content:hover .ecloz_rosiers_cta_hover::after{
    transition-delay: 0s;
}
.ecloz_rosiers_types_content:hover span::after{
    transition-delay: 0.2s;
}
.ecloz_rosiers_types_content:hover .ecloz_rosiers_cta_hover::before{
    transition-delay: 0.4s;
}
.ecloz_rosiers_types_content:hover .ecloz_rosiers_cta_hover span::before{
    transition-delay: 0.6s;
}

div.ecloz_rosiers_type_container {
    display: none;
}

div.ecloz_rosiers_type_container.active {
    display: block;
}

div.ecloz_rosiers_type_container {
    margin-top: 50px;
}

H4.ecloz_rosiers_type_title {
    font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 33px;
    text-transform: uppercase;
    text-align: center;
}

H4.ecloz_rosiers_type_title#buisson_title,
H5.ecloz_rosiers_type_img_title#rosier_buisson{
    color: #D1000F;
}

H4.ecloz_rosiers_type_title#arbustifs_title,
H5.ecloz_rosiers_type_img_title#rosier_arbustifs{
    color: #F68700;
}

H4.ecloz_rosiers_type_title#paysager_title,
H5.ecloz_rosiers_type_img_title#rosier_paysager {
    color: #E75000;
}

H4.ecloz_rosiers_type_title#grimpant_title,
H5.ecloz_rosiers_type_img_title#rosier_grimpants {
    color: #8A458F;
}

H5.ecloz_rosiers_type_img_title {
    font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 28px;
    text-transform: uppercase;
    text-align: center;
}


/** ROSIER BUISSON **/
div.ecloz_rosiers_type_content {
    display: flex;
}

div.ecloz_rosiers_type_description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div.ecloz_rosiers_type_description p.ecloz_rosiers_type_content_wording {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 300;
    color: #00583D;
    font-size: 16px;
}

/** STEPS **/
div.ecloz_steps_container {
    position: relative;
    background: #ffffff;
    padding: 60px 40px 20px;
    border-radius: 8px;
}

div.ecloz_step_title {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    /*background: url("/wp-content/themes/ecloz/assets/images/rosiers/step_title_bg.png") no-repeat center center;*/
}

div.ecloz_step_title#step_title {
    background: url("/wp-content/themes/ecloz/assets/images/rosiers/step_title_bg.png") no-repeat center center;
}

div.ecloz_step_title#winter {
    background: url("/wp-content/themes/ecloz/assets/images/rosiers/en_hiver_title.png") no-repeat center center;
}

div.ecloz_step_title H3 {
    width: max-content;
    margin: 0 auto;
    padding: 12px;
    font-family: 'asap-condensed', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 600;
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
}

div.ecloz_step_content {
    display: flex;
    margin: 10px 0;
}

div.ecloz_step_content:first-of-type {
    margin-top: 0;
}

div.ecloz_step_wording, div.ecloz_step_number {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    color: #00583D;
}

div.ecloz_step_number {
    font-size: 23px;
    position: relative;
    z-index: 1001;
    width: 30px;
}

div.ecloz_step_number::before {
    content: url("/wp-content/themes/ecloz/assets/images/rosiers/step_bg.png");
    position: absolute;
    z-index: -1;
    left: -18px;
    top: -2px;
    margin-right: 15px;
}

div.ecloz_step_number#step10::before {
    left: -12px;
}

div.ecloz_step_wording {
    font-size: 16px;
    width: calc(100% - 30px);
    padding-left: 10px;
}

div.ecloz_arrosage_img_container {
    position: relative;
}

div.ecloz_arrosage_img_container::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: -30px;
    top: -30px;
    background: #00583D;
    z-index: -1;
}

div.ecloz_winter_wording {
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    color: #00583D;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3em;
}

.ecloz_rosiers_discover_cta {
    display: inline-block;
    padding: 20px 40px;
    margin: 25px auto 15px;
    background: #D80067;
    color: #fff;
    font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
}

div#footer_rosiers span,
div#footer_rosiers span img {
    width: 100%;
    object-fit: cover;
}

div.ecloz_rosiers_types_images_container img {
    border-radius: 15px;
}