 body, html {
    margin: 0;
    padding: 0;
}

 body {
    background-color: #FFFFFF;
    background-image: url('https://www.recettesante.net/SanteImage/fond2.jpg');
    background-repeat: repeat;
    margin: 0;
}

h1 {
    color: #005375;
    padding: 1rem 0;
}

h2, h3, h4, h5 {
    color: #00394F;
}

p {
    color: #00394F;
}

a {
    color: #7B878F;
}

a:hover {
    color: #000;
}

.table {
    margin-top: 20px;
}

.btn-primary {
    background-color: #005375;
}

.visible-mobile {
    display: none;
}

/* Breadcrumb style */
.breadcrumb {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    font-size: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #005375; 
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: #7B878F; 
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #E21A00; 
}

.breadcrumb-item.active {
    color: #000000; 
}


/* Header ADS */
.ads {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 8px;
}

.menu-header a {
    color: white; 
    text-decoration: none; 
}

.menu-header a:hover {
    color: red; 
}

.menu-header li {
    list-style-type: none; 
    position: relative; 
    padding-left: 20px; 
}

.menu-header li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid white; 
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}  


/* Header */
.header-pub {
    background: #005375;
}  

.search {
  margin: 0 auto;
  padding-bottom:20px;
}

.bouton {
    background-color: #005375;
    color: white;
    border: none;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
}

.bouton:hover {
    background-color: #0056b3;
    color: white;
}


.formulaire {
    border: 1px solid #040404;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #E5E5E5;
    padding: 5px 5px
}

.formulaire:focus {
    border-color: #0056b3;
    outline: none;
}

.bg-image {
    background-image: url('https://www.recettesante.net/RecettesSante.png');
    background-size: cover;
    background-position: center;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #005375; 
    height: 40px;
    background-size: cover;
}

.menu a {
    color: white; 
    text-decoration: none; 
    padding: 0 10px; 
    position: relative; 
    padding-left: 20px; 
}

.menu a:hover {
    color: red; 
}


.menu a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid white; 
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}


.ads-left {
    padding-top:20px;
    padding-bottom:40px;
}


img.logo {
    max-width: 340px !important;
    margin: 0 auto;
    padding: 20px 0;
}

a .logo  {
    max-width: 400px !important;
    margin: 0 auto;
    padding: 20px 0;
}

/* Container */

.container {
    background: white;
    max-width: 1400px;
}

.image-menu-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
}

.image-menu-container .menu {
    margin-top: auto;
}  

.image-menu-container, .bg-image, .col-2, .col-6 , .col-8{
    border-left: 1px solid #d8dfea;
    border-right: 1px solid #d8dfea;
    box-sizing: border-box;
} 

.custom-bullets {
    list-style-image: url('https://www.recettesante.net/IndexImage/lire.jpg');
    padding-left: 20px; 
}

.custom-bullets li {
    margin-bottom: 10px; 
}

.title {
    margin-top: 1em;
    font-size: 1.5em;
    color: red;
}

.separator {
    width: 100%;
    height: 1px;
    background-color: #d8dfea;
    margin: 1em 0;
}

.item {
    display: flex;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 1em 0;
}

.item img {
    align-self: center;
}

.item-content {
    width: 70%;
}

.item-content .title {
    font-weight: bold;
}

.item-content .description {
    font-size: 0.9em;
    color: #555;
}

.item-content .info {
    font-size: 0.8em;
    color: #888;
}

.item-image img {
    background: #CCCCCC;
    border: 5px solid #D8DFEA;
    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;
} 

h3.with-image a {
    color: #00394F;
} 

h3.with-image a:hover {
    color: #005375;
} 


 /*

.with-image {
    position: relative;
    padding-left: 30px; 
}

.with-image::before {
    content: url('https://www.recettesante.net/IndexImage/lire.jpg');
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

*/


.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;
}



.image-presentation {
    background: red;
    padding: 0 0 0 0;
    text-align: center;
    max-width: 400px;
}

.image-presentation img {
    width:100%;
    border: 1px solid #333; 
    box-sizing: border-box;
}

.image-presentation .caption { 
    padding:2px;
    background: black;
    text-decoration: none;
    margin-bottom: 20px;
}  

.image-presentation  a { 
    color:white;
    text-decoration: none;
} 

.image-presentation  a:hover { 
    color:red;
} 

/* ADS Droite */


.slider-recettes {
 color: red;
 background: #005375;
}

.slider-recettes a{
  color: white;
}

#divResult3 {
  background: #005375;
  padding:10px;
  margin: 5px;
}

.slider-recettes img{
  padding-bottom: 20px;
}

.ads-right {
    padding-top:20px;
    padding-bottom:40px;
}

.ads-title {
  text-align: right;
  padding: 5px 20px;
  color: #7B878F;
}

.ads-title-left {
  text-align: left;
  padding: 5px 5px;
  color: #7B878F;
}



/* Bas de page */
.footer {
    background-color: #005375;
    color: #fff; 
    width: 100%; 
    border-top: 1px solid #000;
}


.nav-footer {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 5px;
}

.nav-footer .nav-link {
    color: #fff; 
    text-decoration: none;
}

.nav-footer .nav-link:hover {
    text-decoration: underline;
}

.footer .row {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    background: #003d5c;
}

.footer-copyright a {
    color: #D8DFEA;
}

.footer-copyright a:hover {
    color: #fff;
}

.footer-copyright .copyright {
    text-align: left;
    padding: .5rem 1rem;
}

.footer-copyright .logiaction {
    text-align: right;
    padding: .5rem 1rem;
}

.page-item.active .page-link {
    background-color: #005375;
    border-color: #000;
}


@media screen and (max-width: 1200px) {
    .slider-recettes img {
      width:100%;
      height:auto
    }

    .adsbygoogle {
        width: 100%;
        height: auto;
    }
}    


@media screen and (max-width: 1000px) {
  .main-content .ads-left {
    display:none;
  }
  .main-content .ads-right {
    max-width: 30% !important;
  }
  .main-content .col-6 {
    flex: 0 0 68%;
    max-width: 68%;
  }
  
  .main-content .col-8 {
    flex: 0 0 68%;
    max-width: 68%;
  }

}

/*
@media screen and (max-width: 900px) {
    .hidden-mobile {
        display:none;
    }
}
*/

@media screen and (max-width: 950px) {
    .menu-home {
        display:none;
    }
}

@media screen and (max-width: 860px) {

   .main-header .col-9, .main-header .col-3 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0px 0px;  
    }

    .main-header .col-9 {
        margin-bottom: 10px;
    }

    .menu-header { 
        padding: 10px 10px;
        height: 40px;
    }

    .menu-home, .visible-mobile {
        display:block;
    }

    .menu-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background-color: #003d5c;
        background-size: cover;
        height: 31px;
        margin: 0;
    }

    .menu-header {
        text-align: right;
    }

    .hidden-mobile {
        display:none;
    }
    .main-header .bg-image {
        display:none;
    }

    .header-search .col-6 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
} 

@media screen and (max-width: 800px) {

    a .logo {
        max-width: 95% !important;
    }

    .col-8, .col-4 {
        width: 100%;
    }

    .nav-footer, .footer-copyright {
        display: block;
        text-align: center;
    }

    .nav-link {
        padding: .2rem 1rem;
    }

}  

@media (max-width: 767px) {
    

    .main-content .ads-right {
        max-width: 100% !important;
    }

    .main-content .col-4, .main-content .col-6, .main-content .col-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hidden-mobile {
        display:none;
    }

    .visible-mobile {
        display: block;
    }

    .albumimage {
        width: 100%;
    }

}

@media (max-width: 600px) {
    .menu-home {
        display:none;
    }
}

@media (max-width: 500px) {
    .footer-copyright .copyright, .footer-copyright .logiaction {
        text-align: center;
    }
}


@media (max-width: 480px) {
    .conseils-head {
        display:block !important;
    }

    .conseils-menu {
        display:none !important;
    }

    .menu-header li {
        list-style-type: none;
        position: relative;
        padding-left: 20px;
        margin-right: 20px;
    }
}



/*
@media (max-width: 460px) {
    .menu {
        display: block; 
        height: auto; 
    }

    .menu a {
        display: block; 
        padding: 8px; 
        text-align: center; 
        border-bottom: 1px solid #d8dfea; 
    }

    .footer .row {
        display: block;
        text-align: center;
        padding: 10px;
    }
}


@media (max-width: 400px) {
    .menu {
        display: block; 
        height: auto; 
    }

    .menu a {
        display: block; 
        padding: 8px; 
        text-align: center; 
        border-bottom: 1px solid #d8dfea; 
    }

    .footer .row {
        display: block;
        text-align: center;
        padding: 10px;
    }
}
*/


/*
@media screen and (max-width: 800px) {
    .header-search {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .image-menu-container,
    .bg-image {
        width: 100%;
        box-sizing: border-box; 
        margin: 0; 
    }

    .bg-image {
        order: 1; 
        margin-top: 0; 
    }

    .search form input[type="text"],
    .search form input[type="submit"] {
        width: calc(100% - 2rem); 
    }

    .menu {
        text-align: center; 
    }

    .menu a {
        display: block; 
        margin-bottom: 0.5rem; 
}
*/
