/* @import url(http://fonts.googleapis.com/css?family=Satisfy); */

#interaction-notice {
    margin-top: 3em !important;
    margin-bottom: 3em !important;
}
@media screen and  (max-width: 500px) {
    #interaction-notice {
        margin-top: 5em !important;
    }
}

.post .at_flat_counter {
    background: #FFF;
}

.post .at_flat_counter:after {
    border-color: transparent #FFF transparent transparent;
}

.clear {
    clear: both;
}

.purerecipe-wrapper.tucuisines {
    padding: 0;
    margin: 40px 0px;
    border: 1px solid #DDD;
    box-shadow: 0px 0px 10px #DDDDDD;
    background: #F9F9F9;
}

.tucuisines .purerecipe {
    margin: 0;
}

.tucuisines header {
        padding: 0px 30px 20px;
    width: 100%;
}

.tucuisines p.author-data {
    padding: 0px;
    font-size: 11px;
    font-style: italic;
    float: left;
}

.tucuisines .printfriendly {
    float: right;
}

.tucuisines h3,
.tucuisines h2 {
    font-size: 30px;
}

.tucuisines h2 {
    color: #FF0000;
}



.tucuisines .subtitle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff0000;
    margin: 75px 0 25px 0;
    padding: 8px 0;
    /*border-top: 2px solid #ff0000;*/
    align-items: center;
}
.tucuisines .subtitle-wrapper h3 {
    margin: 0;
    font-weight: 700;
    color: #444;
    border: none;
    padding: 0;
}
.tucuisines .subtitle-wrapper .choix-boutons {
    display: flex;
    gap: 0;
    margin: 0;
}


.tucuisines h4 {
    margin: 50px 0 0px 0;
    font-size: 22px;
    font-weight: bold;
    color: #999;
}

.tucuisines .recipe-content {
    padding: 0px 30px 20px;
    /* background: url('images/teared-bg.png') repeat top left; */
    overflow: visible;
    font-size: 16px;
    position: relative;
    text-align: justify;
}

.rtl .tucuisines .recipe-content:before {
    display: none;
}

.tucuisines header {
    overflow: hidden;
}


/* ---------------------------------------------------------------------------------------- */
/* INFORMATIONS sur la recette */
/* ---------------------------------------------------------------------------------------- */

.tucuisines .recipe-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
    width: 100%;
}

/* Style de l'image : propre, coins arrondis, sans ombre lourde */
.tucuisines .recipe-thumb {
    flex: 5;
    max-width: 100%;
    height: auto;
    max-width: 350px;
}
.tucuisines .recipe-thumb .recipe-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease;
}
.tucuisines .recipe-thumb .recipe-image:hover {
    transform: scale(1.01);
}

/* Bloc d'informations moderne (carte claire) */
.tucuisines .recipe-add-data {
    flex: 6;
    background: #FFFFFF;
    border: 1px solid #eee;
    border-left: 4px solid #ff0000; 
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tucuisines .recipe-add-data .prep-data {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 0 20px;
}
.tucuisines .recipe-add-data .prep-data a {
    margin-left: 0px;
}

.tucuisines .recipe-add-data .item {
    padding: 8px 0;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    gap: 0;
}
.tucuisines .recipe-add-data .items {
    padding: 8px 0;
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    gap: 4px 0;
}
.tucuisines .recipe-add-data a {
    margin-left: 8px;
}

.tucuisines .recipe-add-data .label {
    font-weight: bold;
    white-space: nowrap;
}
.tucuisines .recipe-add-data a {
    white-space: nowrap;
}

/* Harmonisation des icônes SVG dans la liste */
.tucuisines .recipe-add-data .icon-svg {
    width: 22px;
    height: 22px;
    fill: #AAA;
    margin-right: 0.25em;
}

.tucuisines .recipe-add-data hr {
    margin: 4px 0;
    border: 0;
    border-top: 1px solid #eaeaea;
}

/* Tableau des temps de cuisson épuré */
.tucuisines table.recipeTimes {
    border-collapse: collapse;
    padding: 0;
    border: none;
    background: #fff;
    border-radius: 6px;
    margin: 8px 0;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tucuisines table.recipeTimes th, 
.tucuisines table.recipeTimes td {
    padding: 8px;
    border: 0;
    text-align: center;
}

.tucuisines table.recipeTimes th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: #888;
    background: #f4f4f4;
}

.tucuisines table.recipeTimes td {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.tucuisines .recipe-desc {
    margin-top: 40px;
}

/* Responsive pour les petits écrans (mobiles) */
@media (max-width: 768px) {
    .tucuisines .recipe-infos {
        flex-direction: column;
        align-items: center;
    }
    .tucuisines .recipe-thumb,
    .tucuisines .recipe-add-data {
        width: 100%;
        flex: none;
    }
}



/* ---------------------------------------------------------------------------------------- */
/* INGREDIENTS */
/* ---------------------------------------------------------------------------------------- */

.tucuisines ul.ingredients {
    width: 100%;
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.tucuisines ul.ingredients li {
    padding: 0;
    margin: 1em 0;
}

.tucuisines ul.ingredients li.ingredient .quantity {
    font-weight: bold;
    font-size: 1.1em;
}

.tucuisines ul.ingredients li.ingredient .note {

}

.tucuisines ul.ingredients li.ingredient .addnote {
    font-style: italic;
    margin-top: .25em;
}


.tucuisines ul.ingredients li.ingredient a > span[itemprop="ingredients"] {
    color: #FF0000;
    border: 2px solid #FF0000;
    background: white;
    border-radius: 5px;
    padding: 2px 5px;
    font-weight: bold;
    text-decoration: none;
}
.tucuisines ul.ingredients li a:hover > span[itemprop="ingredients"] {
    color: #FF6666;
    border-color: #FF6666;
}

.tucuisines ul.ingredients li.separator {
    background: none repeat scroll 0 0 transparent;
    font-size: 1.2em;
    margin-top: 30px;
    padding-left: 0;
}

/* ---------------------------------------------------------------------------------------- */
/* USTENSILES */
/* ---------------------------------------------------------------------------------------- */
.ustensiles-container .ustensiles > ul {
    list-style-type: none;
    margin: 0 0 3em 0;
    padding: 0;
}
.ustensiles-container .ustensiles > ul li {
    margin-bottom: 1em;
}
.ustensiles-container .ustensiles > ul li a {
    color: #FF0000;
    border: 2px solid #FF0000;
    background: white;
    border-radius: 5px;
    padding: 2px 5px;
    font-weight: bold;
    text-decoration: none;
}
.ustensiles-container .ustensiles > ul li a:hover {
    color: #FF6666;
    border-color: #FF6666;
}
.ustensiles-container .ustensiles > ul li > ul {
    list-style-type: none;
    font-style: italic;
    margin: .25em 0 0 0;
    padding: 0;
}
/* ---------------------------------------------------------------------------------------- */
/* INSTRUCTIONS */
/* ---------------------------------------------------------------------------------------- */
.tucuisines .instructions ol {
    margin: 0;
    padding: 0;
}

.tucuisines .instructions > ol > li {
    font-style: normal;
    font-weight: bold;
    color: #FF0000;
    margin: 25px 0;
    padding-bottom: 10px;
    font-size: 20px;
    cursor: pointer;
    position: relative;
}
.tucuisines .instructions > ol > li:hover {
    color: #FF6666;
}
body.display-mode-light .tucuisines .instructions > ol > li, .tucuisines .instructions > ol > li.folded {
    padding-bottom: 0;
}

.tucuisines .instructions > ol > li::after {
    content: ""; /* On vide le caractère unicode FontAwesome */
    display: inline-block;
    width: 1em;
    height: 1em;
    position: absolute;
    right: 0;
    top: .5em;
    
    /* Chevron SVG injecté directement en Data URI (couleur #AAAAAA) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23AAA' d='M207.029 381.476L12.686 187.133c-9.373-9.373-9.373-24.569 0-33.941l22.627-22.627c9.373-9.373 24.569-9.373 33.941 0L224 284.505l154.745-153.94c9.373-9.373 24.569-9.373 33.941 0l22.627 22.627c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    transform: rotate(0deg);
    transition: transform .5s;
}

.tucuisines .instructions > ol > li.folded::after {
    transform: rotate(180deg);
}

.tucuisines .instructions ol ol {
    margin: 0;
    padding: 0;
    text-indent: 0;
}

.tucuisines .instructions ol ol > li {
    font-weight: normal;
    color: #333333;
    margin: 15px 0 0 0;
    list-style: none;
    line-height: 26px;
    font-size: 16px;
}

.tucuisines .instructions ol ol > li ul li {
    list-style-type: square;
    margin: .75em 0;
}

/* custom counter !*/
.tucuisines .instructions > ol {
    list-style: none;
    counter-reset: my-awesome-counter;
}

.tucuisines .instructions > ol > li {
    counter-increment: my-awesome-counter;
}

.tucuisines .instructions > ol > li::before {
    content: counter(my-awesome-counter) ". ";
    color: #FF0000;
    font-weight: bold;
    font-size: 1.5em;
}
.tucuisines .instructions > ol > li:hover::before {
    color: #FF6666;
}

.tucuisines .post-ratings {
    display: inline;
    padding: 0 10px;
}

.tucuisines .footer-container {
    margin-top: 30px;
}

/* ---------------------------------------------------------------------------------------- */
/* RECETTE EN IMAGES */
/* ---------------------------------------------------------------------------------------- */

/* Galleries : puregallery (celle du theme) */
.tucuisines .rsDefault .rsGCaption {
    bottom: 10px;
    left: 0px;
    font-size: 20px;
    margin: 10px;
}

/* Galleries : ma galerie perso (avec miniatures et pages de fichiers attach�s) */
.gallery-item {
    margin: 0;
}

.gallery-icon {
    width: 100%;
}

.gallery-caption {
    display: none;
}

/* ---------------------------------------------------------------------------------------- */
/* Instructions de PARTAGE */
/* ---------------------------------------------------------------------------------------- */
.interact-recipe {
    padding: 30px;
    border: 2px solid #666;
    border-radius: 10px;
    box-shadow: 0px 0px 30px #666;
    overflow: visible;
    font-size: 16px;
    position: relative;
    text-align: justify;
    background: #F5F5F5;
}

.interact-recipe hr {
    border-color: lightgray;
}

.interact-recipe h3 {
    color: #666;
}

.interact-recipe ol.shareInstructions {
    padding-left: 15px;
}

.interact-recipe ol.shareInstructions li {
    margin: 25px 0;
}

.interact-recipe ol.shareInstructions li span.bold {
    font-size: large;
}

.highlight {
    border: 2px solid #F66;
    border-radius: 10px;
    box-shadow: 0px 0px 30px #F66;
    overflow: visible;
    font-size: 16px;
    position: relative;
    text-align: justify;
    background: #F5F5F5;
    -webkit-transition: border-color 1s;
    transition: border-color 1s;
    -webkit-transition: box-shadow 1s;
    transition: box-shadow 1s;
}

.highlight h3 {
    color: #F00;
}

.downlight {
    opacity: 0.10;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
}

.gallery .gallery-item {
    margin: 0 !important;
    padding: 5px 10px;
    width: 33% !important;
}

.gallery .gallery-item .gallery-icon {
    width: 100%;
    border: 1px solid lightgray;
    padding: .5em;
    background: white;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
}

.gallery .gallery-item .gallery-icon img {
    border: 1px solid lightgray !important;
    width: 100%;
}

.gallery br {
    clear: none !important;
}



@media screen and  (max-width: 650px) {
    .tucuisines h3,
    .tucuisines h2 {
        font-size: 25px;
    }
    .tucuisines h4 {
        font-size: 20px;
    }
    
    .gallery .gallery-item {
        width: 50% !important;
    }
}

@media screen and  (max-width: 576px) {

    .purerecipe-wrapper.tucuisines {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .tucuisines .subtitle-wrapper {
        flex-direction: column;
    }
    .tucuisines .subtitle-wrapper .choix-boutons {
        margin-top: 8px;
    }

    #notifRecetteEnImages {
        display: none;
    }
}

@media screen and  (max-width: 415px) {
    .tucuisines .recipe-image {
        width: 100%;
    }

    .tucuisines .recipe-content {
        padding: 0px 15px 20px;
    }

    .interact-recipe {
        padding: 20px 15px;
        margin: 0 -15px;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .tucuisines .rsDefault .rsGCaption {
        font-size: 14px;
        margin: 5px;
    }

    .tucuisines .rsDefault.rsFullscreen .rsGCaption {
        font-size: 20px;
        margin: 10px;
    }

    .gallery .gallery-item .gallery-icon {
        padding: .25em;
    }
}





