/*
 * Utilisé dans layouts/_default/baseof.print.html,
 * et layouts/_default/baseof.epub.html,
 * et donc dans tous les print/recettes/xxx/print.html
 * et les epub/recettes/xxx/print.html
 * et donc dans epub
 */

html{
    font-size: 12px;
    padding:0;
    margin: 0;
    height: 100%;
}

body{
    padding: 0;
    margin: 5px;
    font-family: Helvetica, Arial, sans-serif, Georgia, serif;
}

li {
    padding-bottom: 10px;
    font-size: 1em;
    font-weight: 400;
    line-height: 1;
}

h1{
    font-family:  Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.125;
}

h2{
    font-family:  Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
}

h3{
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}


.subtitle{
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
    font-style: italic;
    margin-top: -1.25rem;
}
     /* margin-top: -1.25 TODO: Vérifier si on ne peut pas faire autrement */

.img_recipe{
    border-radius: 5%;
    float:right;
}
/* -------------------- le titre et l'image -------------------------*/

.rdf_hr{
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #dbdbdb;
    height: 2px;
    size: 2px;
    border: 0 ;
    width: 98%;
    vertical-align: center;
}

.rdf_page_bg{
    padding: 5px;
    margin: 0px;
    box-sizing: border-box;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #dbdbdb;
}
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */

table{
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
}

/* Pour le titre et l'image */
.rdf_head{
    box-sizing: border-box;
    width: 100%;
    float: left;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    padding: 5px;
}


.rdf_head_titre{
    box-sizing: border-box;
    float: left;
    width: 50%;
    padding: 5px;
}


.rdf_head_image{
    box-sizing: border-box;
    float: right;
    padding: 5px;
}


@media (max-width: 500px) {
   .rdf_head_titre{
        float: center;
        text-align: center;
        width: 100%;
   }
   .rdf_head_image{
        float: center;
        text-align: center;
        width: 100%;
   }
   .img_recipe{
        float: none;
    }
}
@media (min-width: 500px) {
   .rdf_head_titre{
        width: 50%;
   }
   .rdf_head_image{
        width: 50%;
   }
}


/* Pour la box de metadata */
/* box-sizing : mandatory to avoid div being greater than parent !*/

.rdf_div_box{
    float: left;
    box-sizing: border-box; 
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    padding: 0;
}

.rdf_div_box_left{
    float: left;
}
.rdf_div_box_right{
    float: right;
}


.rdf_box_top{
    box-sizing: border-box; 
    float: left;
    width: 33%;
    border-right: 1px solid #dbdbdb;
    padding: 0;
}

.rdf_box_bottom{
    box-sizing: border-box;
    float: left;
    width: 33%;
    border-right: 1px solid #dbdbdb;
    padding: 0;
    padding-bottom: 5px;
}

@media (max-width: 800px) {
   .rdf_div_box_left{
        width: 100%;
   }
   .rdf_div_box_right{
        width: 100%;
        padding-bottom: 5px;
        padding-top: 10px;
   }
   .rdf_box_top_right{
    border-right: 0;
   }
}
@media (min-width: 800px) {
   .rdf_div_box_left{
        width: 57%;
   }
   .rdf_div_box_right{
        width: 43%;
   }
}



