@import url('typo.css');
:root {
    --main-color: #673f29;
    --back-color: #e4dfdf;
}

body{
    font-family: open_sans;
    color: var(--main-color);
    background-color: var(--back-color);
}

.back-cl-main
{
  background-color: var(--main-color);
  color: white;
  padding: 2rem 0;
}

#layout-header
{
  position: relative;
  background-color: white;
  box-shadow: 0 0 16px rgba(1,1,1,.5);
  z-index: 100;
}
#layout-content
{
  background-color: white;
  padding-bottom: 50px;
}
#main-menu nav.navbar ul.d-flex
{
    width: 100%;
    display: flex;
    flex: 1 1 0px;
}

#main-menu nav.navbar li{
    flex-grow: 1;
    text-align: center;
    width: 14.2857%;
}
#main-menu nav.navbar li:nth-child(1),
#main-menu nav.navbar li:nth-child(2),
#main-menu nav.navbar li:nth-child(3)
{
    text-align: left;
}
#main-menu nav.navbar li:nth-child(5)
{
    text-align: center;
}
#main-menu nav.navbar li:nth-child(6),
#main-menu nav.navbar li:nth-child(7)
{
    text-align: right;
}
#main-menu nav.navbar li a span
{
    text-transform: uppercase;
    display: inline-block;
    padding-top: 50px;
}
#main-menu nav.navbar li[data-slug="home"] a span
{
    display: none;
}

#main-menu nav.navbar li[data-slug="home"] a{
    background: transparent url(../logo.png) center center no-repeat;
    background-size: 128px 128px;
    display: block;
    width: 128px;
    height: 128px;
    margin: 0 auto;
}

.navbar .navbar-brand{
  padding-left: 10px;
}
.navbar .navbar-brand img{
  width: 68px;
  height: auto;
}

.navbar{}
.navbar .nav-link
{
    color: var(--main-color);
    font-weight: 500;
    display: inline-block;
    border-bottom: 1px solid transparent;

}
.navbar .nav-link,
.navbar-expand-lg .navbar-nav .nav-link
{
    padding: 0;
}
.navbar .nav-link.active,
.navbar .nav-link:hover
{

    border-bottom-color: var(--main-color);
}

.navbar	.navbar-toggler{
  border-color: var(--main-color);
}

footer
{
  display: block;
  padding-bottom: 1.5rem;
}
footer a,
footer a:active,
footer a:focus:active,
footer a:focus,
footer a:hover
{
  color: inherit;
}
footer address
{
    font-size: .7rem;
    display: block;
    background-color: var(--main-color);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

footer .infos .links
{
  font-size: 1.5rem;
}
footer .infos .links a{
  display: inline-block;
  padding: 7px;
}

hr{
  background-color: var(--main-color);
  opacity: 1;
}

#main-menu nav.navbar li[data-slug="home"] a.nav-link.active,
#main-menu nav.navbar li[data-slug="home"] a.nav-link:hover
{
    border-bottom-color: transparent;
}

#content,
.list-group-item
{
  color: var(--main-color);
}


#content
{
  padding: 3rem 0;
}
#content a
{
    color: inherit;
}

#content h1,
#content h2,
#content h3,
#content h4,
#myModal h1,
#myModal h2,
#myModal h3,
#myModal h4
{
  font-family: 'Playfair', serif;
  font-weight: 100;
  text-transform: uppercase;
}
#content h1
{
  font-size: 2rem;
  margin: 0 0 2rem 0;
}
#content h2
{
  font-size: 1.25rem;
  margin: 0 0 .5rem 0;
  padding-bottom: .5rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--main-color);
}
#content h4
{
  font-size: 1.35rem;
  line-height: 150%;
  letter-spacing: .1pt;
}


section.content-actualites > h1,
section.content-plats-du-jour > h1,
section.content-la-carte > h1,
section.content-plan-d-acces > h1,
section.content-contact > h1,
section.content-la-carte h2
{
  background-repeat: no-repeat;
  background-position: center left;
  background-image: url('../data/pictos/news.svg');
  background-size: 64px 64px;
  padding: 1rem 0;
  padding-left: 80px;
}

section.content-la-carte > h1,
section.content-la-carte h2
{
  background-image: url('../data/pictos/carte.svg');
}

section.content-la-carte h2
{
  background-size: 32px 32px;
  padding-left: 40px;
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-weight: 100;
  font-size: 1.5rem !important;
  margin-bottom: 1.25rem !important;
}

section.content-plats-du-jour > h1
{
  background-image: url('../data/pictos/plat_du_jour.svg');
}

section.content-plan-d-acces > h1
{
  background-image: url('../data/pictos/acces.svg');
}

section.content-contact > h1
{
  background-image: url('../data/pictos/horaire.svg');
}

#content_main .content-main{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

body.home #content{display: none;}


body.body-plats-du-jour #content_main .content-main{
  justify-content: flex-start;
}

#content .carte.plat-du-jour h2{
  text-transform: none;
  font-weight: 500;
}

.plat-du-jour .plat-du-jour-item{
  margin-bottom: 2rem;
}

.carte p{
  clear: right;
  padding-right: 100px;
}
.carte p .prix{
  font-weight: bold;
  float: right;
  margin-right: -100px;
  font-size: .85rem;
  padding-top: 2px;
}

.carte .nom_plat
{
  font-weight: 500;
  font-size: 1rem;
}

.carte .remarque
{
  font-size: .85rem;
  white-space: nowrap;
}

.carte .titre_menu
{
  font-size: 1.15rem;
  font-weight: bold;
}


.home-footer-menu{color: var(--main-color);}
.home-footer-menu a{
  color: inherit;
  font-weight: 500;
  text-decoration: none;
}

.home-footer-menu a img{
  max-width: 128px;
}
.home-footer-menu a .label{
  display: block;
  padding: .25rem 0;
}

.jumbo{
  margin: 0 0 1rem 0;
  padding: 2rem;
  border: 2px solid white;
  height: 100%;
}

/* NEWS */
.news{}
.news .item{}

#content .news .news-item h2,
#myModal h2
{
  font-family: open_sans, sans-serif;
  text-transform: none;
  font-weight: 500;
  border-bottom: 0 none;
  padding:.75rem 0 .75rem 0;
  margin:0;
  font-size: 1.15rem;
  border-top: 2px solid var(--main-color);
}

#content .news .news-item .news-body p{
  font-size: .85rem;
}
.news .news-details{
  display: none;
}
.news .news-item{
  cursor: pointer;
}
.news .news-item img{
  box-shadow: 0 5px 5px rgba(0,0,0,.25);
}

/* SLIDER */
.swiper-pagination-bullet {
  opacity: 1;
  background-color: transparent;
  border: 1px solid white;
  width: .65rem;
  height: .65rem;
  box-shadow: 0 0 1px rgba(0,0,0,.5);
}
.swiper-pagination-bullet-active {
  background-color: white;
  box-shadow: 0 0 3px rgba(0,0,0,.5);
}
/* END SLIDER */


@media all and (max-width:990px)
{
  #main-menu nav.navbar li[data-slug="home"]
  {
    display: none;
  }

  #main-menu nav.navbar li
  {
    width: 100%;
  }
  #main-menu nav.navbar li:nth-child(1),
  #main-menu nav.navbar li:nth-child(2),
  #main-menu nav.navbar li:nth-child(3),
  #main-menu nav.navbar li:nth-child(4),
  #main-menu nav.navbar li:nth-child(5),
  #main-menu nav.navbar li:nth-child(6),
  #main-menu nav.navbar li:nth-child(7)
  {
    text-align: center;
  }

  #main-menu nav.navbar li a span
  {
    padding: 25px 0 0 0;
  }

}
