* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-size: 100%;
    font-family: 'Merriweather', serif;
    background: #5a1c07;
}

body {
    background: #5a1c07;
}

h1 {
    color: #5a1c07;
    padding: 1rem 0;
}

h1, h2, h3  {
    color: #5a1c07;
    text-transform: uppercase;
    font-family: 'Spectral', serif;
    font-weight: 700; 
}

p {

}

a {
    color: #5a1c07;
}

a:hover {
    text-decoration: none;
}

.header {
    height: auto;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.5), -2px 0 4px rgba(0, 0, 0, 0.5);
    background: #5a1c07;
}

.header-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-wrap {
    height: 297px;
    width:100%;
    max-width: 1200px;
    background-image: url(../images/entete_head_vide.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
}

.header-container {
    position:absolute;
    width: calc(100% - 11px);
    bottom:0;
    right: 11px;
}

.header-container img {
    position: relative;
    top: 136px;
    left: 361px; 
}

@media (max-width: 1090px) {
    .header-container img {
        left: calc(44vw - 204px); 
    }
}

@media (max-width: 660px) {
    .home-menu {
        display:none !important;
    }
}

@media (max-width: 495px) {
    .header-container img {
        max-width: 200px;
        left: 10px;
    }   
}


@media (max-width: 450px) {
    .header-container img {
        max-width: 150px;
        left: 10px;
    }

    #menu li {
        padding-left: 15px !important;
    }

    .new-mobile {
        display:none;
    }
}



.header-container-pub {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    padding-top: 10px;
    margin-right: 15px;
}

.header-pub {
    height: 100%; 
}

.header-wrap-search {
    position: relative;
    margin-bottom: 69px;
    text-align: right;
}

.header-wrap-search input {
    background-color: #FFEDBB;
    border: 2px solid #000;
    padding: 5px;
    margin-left: 5px;
}

.header-menu {
    position: relative;
    bottom: 8px;
    text-align: right;
    float: right;
}

.header-sub-menu {
    position: relative;
    display: block;
    margin-bottom: 33px;
    text-align: right;
    width: 100%;
     color: #FFF;
    float: right;
}

.header-sub-menu-link {
    padding-top: 10px;
}

.header-sub-menu a {
    color: #FFF;
    font-family: 'Merriweather', sans-serif;
    font-size: 14px;
    text-decoration: none;
    padding: 0 3px 0 3px;
 }  

.header-sub-menu a:hover {
    color: #ffedbb;
    text-decoration: underline;
}    

#menu {  
    list-style-type: none;  
}  
  
#menu li {  
    display: inline;
    text-align:center;
    font-family: 'Merriweather', sans-serif;
    font-size: 12px;
    float:left;   
    position:relative;  
    padding: 0px;      
    border:none; 
    height:35px;  
    z-index:999;
    padding-left: 25px;
} 

@media screen and (max-width: 550px) {
    .menu-contact {
       display: none !important;
    }
}

/*************** Contenu ****************/
.separator {
    width: 100%;
    height: 1px;
    background-color: #d8dfea;
    margin: 1em 0;
}

.p-2 {
    padding: .5rem !important;
}

.item {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1em 0;
}

.item-content {
    width: 70%;
}

.item-content a {
    text-decoration: none;
} 

.item-content a:hover {
    color: #000;
} 

.item-content .description {
    font-size: 0.9em;
    color: #555;
    padding: 12px 0;
}

.item-content .info {
    font-size: 0.8em;
    color: #888;
}

.item-image img {
    transition: opacity 0.3s ease;
}

.item-image img {
    background: #ffedbb;
    border: 5px solid #ffedbb;
    width: 100%;
}

.item-image img {
    transition: opacity 0.3s ease;
}

.item-image img:hover {
   transform: scale(1.1); 
}

h3.with-image {
    font-size: 1.25rem;
    color: #00394F;
    text-transform: uppercase;
    width:99%;
}


/********* Menu **************/


/*
#menu li::before {
    content: "";
    position: absolute;
    left: 5px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 31px;
    height: 25px;
    border: 1px solid #5a1c07;
    border-radius: 51%;
    border-right-color: transparent; 
    border-bottom-color: transparent; 
}
*/



#menu li a:link, #menu li a:visited {
    color: #000;
    text-shadow: 1px 2px 3px #999;
    font-family: 'Merriweather', sans-serif;
    font-size: 14px;
}

#menu li a:active, #menu li a:hover {
    font-family: 'Merriweather', sans-serif;
    font-size: 14px;
    color: #A75E45;
    text-shadow: 1px 2px 3px #666;
}


#menu li a 
{  
    font-family: 'Merriweather', sans-serif;  
    font-size:14px;  
    color: #EEEEEE;  
    display:block;  
    outline:0;  
    text-decoration:none;  
    text-shadow: 1px 0px 2px #666;  
}  
  
#menu li:hover a 
{  
    color:#161616;  
    text-shadow: 1px 1px 1px #FFFFFF;  
}  
 

#menu li:hover .dropdown_1column,  
#menu li:hover .dropdown_2columns,  
#menu li:hover .dropdown_3columns,  
#menu li:hover .dropdown_4columns,  
#menu li:hover .dropdown_5columns {  
    left:-1px;  
    top:auto;  
}

#menu .menu_right {  
    float:right;  
    margin-right:0px;  
}  

#menu li .align_right {  
    /* Rounded Corners */  
    -moz-border-radius: 5px 0px 5px 5px;  
    -webkit-border-radius: 5px 0px 5px 5px;  
    border-radius: 5px 0px 5px 5px;  
}

#menu li:hover .align_right {  
    left:auto;  
    right:-1px;  
    top:auto;  
}   
  
#menu p, #menu h2, #menu h3, #menu ul li {  
    font-family: 'Merriweather', sans-serif;  
    line-height:21px;  
    font-size:12px;  
    text-align:left;  
    text-shadow: 1px 1px 1px #FFFFFF;  
} 

#menu h2 {  
    font-size:21px;  
    font-weight:400;  
    letter-spacing:-1px;  
    margin:7px 0 14px 0;  
    padding-bottom:14px;  
    border-bottom:1px solid #666666;  
}  

#menu h3 {  
    font-size:14px;  
    margin:7px 0 14px 0;  
    padding-bottom:7px;  
    border-bottom:1px solid #888888; 
    text-transform: uppercase;
}  

#menu p {  
    line-height:18px;  
    margin:0 0 10px 0;  
}  
  
#menu li:hover div a {  
    font-size:14px;  
    color:#000000;  
}  
#menu li:hover div a:hover {  
    color:#000000;  
    text-decoration:underline;
}  

#menu li .black_box {  
    background-color:#333333;  
    color: #eeeeee;  
    text-shadow: 1px 1px 1px #000;  
    padding:4px 6px 4px 6px;  
  
    /* Rounded Corners */  
    -moz-border-radius: 5px;  
    -webkit-border-radius: 5px;  
    border-radius: 5px;  
  
    /* Shadow */  
    -webkit-box-shadow:inset 0 0 3px #000000;  
    -moz-box-shadow:inset 0 0 3px #000000;  
    box-shadow:inset 0 0 3px #000000;  
} 

#menu li ul {  
    list-style:none;  
    padding:0;  
    margin:0 0 12px 0;  
} 

#menu li ul li {  
    font-size:12px;  
    line-height:14px;  
    position:relative;  
    text-shadow: 1px 1px 1px #ffffff;  
    padding:0;  
    margin:0;  
    float:none;  
    text-align:left;  
    width:130px;  
} 

#menu li ul li:hover {  
    background:none;  
    border:none;  
    padding:0;  
    margin:0;  
}  

#menu li .greybox li {  
    background:#F4F4F4;  
    border:1px solid #bbbbbb;  
    margin:0px 0px 4px 0px;  
    padding:4px 6px 4px 6px;  
    width:116px;  
  
    /* Rounded Corners */  
    -moz-border-radius: 5px;  
    -webkit-border-radius: 5px;  
    border-radius: 5px;  
} 

#menu li .greybox li:hover {  
    background:#ffffff;  
    border:1px solid #aaaaaa;  
    padding:4px 6px 4px 6px;  
    margin:0px 0px 4px 0px;  
} 

.dropdown_5columns {
    z-index:300;
    float:left;
    position:absolute;
    left:-999em; 
    text-align:left;
    padding:10px 5px 10px 5px;  
    background: #BBBBBB; 
    -moz-border-radius: 0px 5px 5px 5px;
    -webkit-border-radius: 0px 5px 5px 5px;
    border-radius: 0px 5px 5px 5px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #CBBC9B;
    border-right-color: #CBBC9B;
    border-bottom-color: #CBBC9B;
    border-left-color: #CBBC9B;
    background-color: #FFEDBB;
    background-position: 0% 0%;
}  

.dropdown_col_1 {  
    display:inline;  
    float: left;  
    position: relative;  
    margin-left: 5px;  
    margin-right: 5px;  
} 

.dropdown_5columns {
    display: none; 
}  

.dropdown_5columns {
    width: 900px;
    margin-left: -650px;
} 

.dropdown_col_1 {width:200px;}  

.menu-container {
    position: relative;
}

@media screen and (max-width: 950px) {
    .dropdown_5columns {
        width: 500px; 
        margin-left: -250px; 
    }

    .dropdown_col_1 {
        width: 150px;
    }
}

@media screen and (max-width: 550px) {
    .dropdown_5columns {
        width: 320px; 
        margin-left: -150px;
    }

    .dropdown_col_1 {
        width: 130px;
    }
}


@media screen and (max-width: 400px) {
    .dropdown_5columns {
        width: 200px; 
        margin-left: -28px;
    }

    .dropdown_col_1 {
        width: 200px;
    }
}


/********* Menu **************/


.footer {
    clear: both;
    background-image: url(../images/footer.jpg);
    background-position: center;
    background-repeat: no-repeat;
    height: 348px;
    max-width: 1200px;
    margin: 0 auto;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    border-top: none;
    border-bottom: none;
  
}

.footer-link {
    position:relative;
    float: left;
    margin-top: 220px;
    width:100%;
    color: #FFF;
    font-family: 'Merriweather', sans-serif;
    text-align: center;
    font-size: 12px;
    font-weight: normal;
}

.footer-link a  {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-link a:active
{
    color: #FFFFFF;
    text-decoration: none;
}    
     
.footer-link a:hover 
{
    color: #FFFFFF;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 50px;
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #ffefbe;
    font-family: 'Merriweather', sans-serif;
    font-size: 12px;
}

.footer-bottom a {
    color:white;
}  

.footer-left {
    text-align: left;
}


.footer-right {
    text-align: right;
}

.contenant {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    box-sizing: border-box;
}

.row {
    display: flex;
    margin: 0; 
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.5), -2px 0 4px rgba(0, 0, 0, 0.5);
}

.col-2, .col-6, .col-4 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-2 {
    flex-basis: 16.666667%; 
    box-sizing: border-box;
}

.col-6 {
    flex-basis: 49%;
    box-sizing: border-box;
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;

}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.ads-left, .ads-right {
    padding-top: 20px;
    padding-bottom: 40px;
    border-left: 1px solid #d8dfea;
    border-right: 1px solid #d8dfea;
    box-sizing: border-box;
}

.ads-title-left {
    text-align: left;
    padding: 5px 5px;
    color: #7B878F;
}

.ads-title {
    text-align: right;
    padding: 5px 20px;
    color: #7B878F;
}


/**** Videos *****/

.video-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.video-column {
  width: calc(50% - 10px);
  margin: 5px; 
  padding: 10px;
  box-sizing: border-box;
  background: #ffedbb;
}

.video-column img {
  width: 100%;
  height: auto;
}


.video-column h3 {
  font-size: 14px; 
  font-weight: bold;
  color: #333; 
  text-align: center; 
  margin-top: 10px; 
  margin-bottom: 0; 
  text-transform: uppercase;
}

.video-column a {
  text-decoration: none; 
  color: inherit; 
}

.video-column:hover {
    background: #e1cf9e;
}

.video-player {
    display: block;
    padding: 10px; 
    width: 100%;
    border: 2px solid rgb(0, 0, 0);
}

.video-player iframe {
    max-width: 100%; 
    height: auto; 
    min-height: 315px;
    width: 100%;
}

.video-player h2 {
    width: 100%; 
    text-align: center; 
    margin: 20px 0; 
    font-size: 1.8em; 
    color: #333; 
}


.video-player h2 a {
    text-decoration: none; 
    color: #5a1c07; 
    transition: color 0.3s ease; 
    text-transform: uppercase;
}


.video-player h2 a:hover {
    color: #000; 
}

@media screen and (max-width: 650px) {
    .video-column {
        width:100%;
    }
}



/**** Footer *****/


/* Style général pour la pagination */

.pagination-wrapper {
    margin: 20px 0;
}


.pagination {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}

.pagination li a { 
   padding: 10px 15px; 
}

.pagination{
  padding:15px 0;
}

.pagination .page-item {
    margin: 0 2px; 
}

.pagination .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin: 0;
    line-height: 1.25;
    color: #6d3622; 
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    text-decoration: none; 
}

.pagination .page-link:hover {
    color: #0056b3; 
    background-color: #e9ecef; 
    border-color: #ddd; 
}

/* Style pour la page active */
.pagination .page-item.active .page-link {
    z-index: 1;
    color: #fff; 
    background-color: #5a1c07;
    border-color: #5a1c07;
}


.pagination .page-item:first-child .page-link {
    border-radius: .25rem 0 0 .25rem;
}

.pagination .page-item:last-child .page-link {
    border-radius: 0 .25rem .25rem 0;
}


/****** restaurant ******/

.restaurant-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    margin: 20px 0;
}


.restaurant {
    flex: 0 1 48%; 
    background-color: #ffedbb;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
}


/**** Recettes détails ****/

.receipe_details h2 {
    text-transform: uppercase;
    padding: 10px 0;
    margin-top: 20px;
    padding-bottom: 25px;
}

.receipe_details h3 {
    text-transform: uppercase;
    padding: 10px 0;
    margin-top: 20px;
}

.receipe_details .information {
    margin: 20px 0;
}

.receipe_details .information h2 {
    margin:0;
    padding: 0;
    font-size: 1.2em
}

.receipe_details .information p {
    padding: 3px;
}

.youtube {
    margin-bottom: 40px;
}

.youtube h3 {
    margin-bottom: 20px;
}

.image-presentation {
    padding: 0 0 0 0;
    text-align: left;
    max-width: 300px;
}

.image-presentation img {
    width:100%;
    border: 1px solid #333; 
    box-sizing: border-box;
}

.image-presentation .caption { 
    padding: 9px 0;
    background: #5a1c07;
    text-decoration: none;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}  

.image-presentation  a { 
    color:white;
    text-decoration: none;
} 

.image-presentation  a:hover { 
    color:red;
} 

.receipe_details h2 {
    text-transform: uppercase;
    padding: 10px 0;
    margin-top: 20px;
    padding-bottom: 25px;
}

.receipe_details h3 {
    text-transform: uppercase;
    padding: 10px 0;
    margin-top: 20px;
}

.receipe_details dl, .receipe_details ol, .receipe_details ul {
    margin-top: 0;
    margin-bottom: 1rem;
    width: 98%; 
}

.receipe_details li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
    margin-left: 20px;
}

.receipe_details ol li {
    margin-bottom: 20px;
}

.receipe_details ul li {
    margin-bottom: 5px;
}

.receipe_details .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.receipe_details .row {
    border-left: none;
    box-shadow: none;
}

.receipe_details .col-4 {
    flex-basis: 33.333333%;
}


.ingredient-list {
    list-style: none; 
    padding-left: 0;
    margin: 20px 0;
}

.ingredient-list li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.ingredient-checkbox {
    appearance: none; 
    width: 20px;
    height: 20px;
    border: 2px solid #5A1C07;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ingredient-checkbox:checked {
    background-color: #5A1C07;
    border-color: #5A1C07;
}

.ingredient-checkbox:checked::before {
    content: "✔";
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

label {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #333;
    align-items: flex-start;
}

label:hover .ingredient-checkbox {
    border-color: #754433;
}

.youtube  {
    padding-top: 30px;
}

.youtube iframe {
    width: 100%;
}


/* HOME */
.home-contenant h2 {
    padding-top: 30px;
    text-align: center;
}

.wrap-videos {
    display: block;
    position: relative;
    float: left;
    padding-bottom: 40px;
}

.receipe-total {
    text-align: center;
}

.receipe-total a {
    text-decoration: none;
    color:#000;
}

.receipe-total a:hover {
    text-decoration: underline;
    color:#000;
}

.space {
    margin-right: 10px; 
}

.welcome {
    margin: 10px; 
    font-family: 'Merriweather', serif;
    font-size: 16px;
}

.welcome strong {
    display: block;
    margin-top: 40px;
}

.welcome p {
    margin: 10px 0; 
}

@media screen and (max-width: 900px) {
  .contenant .ads-left {
    display:none;
  }

  .contenant .ads-right {
    max-width: 30% !important;
  }


  .contenant .col-6 {
    flex: 0 0 68%;
    max-width: 68%;
  }
  
  .contenant .col-8 {
    flex: 0 0 68%;
    max-width: 68%;
  }

}


@media (max-width: 768px) {
    .restaurant {
        flex: 0 1 45%; 
    }


    .main-content {
        display: block;
    }


    .contenant .ads-right {
        max-width: 100% !important;
        background: white;
    }

    .contenant .col-4, .contenant .col-6, .contenant .col-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }    

    .main-content  {
        max-width: 100% !important;

    }
}

@media (max-width: 650px) {
    .restaurant {
        flex: 0 1 100%; 
    }
}

@media (max-width: 480px) {
    .restaurant {
        flex: 0 1 100%; 
    }
}
