﻿/****************************
  BASE DU THEME
****************************/
/* Font */
@font-face {
  font-family: 'Optima';
  font-style: normal;
  font-weight: normal;
  src: local('Optima'), url('OPTIMA.woff') format('woff');
}
@font-face {
  font-family: 'Optima Italic';
  font-style: normal;
  font-weight: normal;
  src: local('Optima Italic'), url('Optima_Italic.woff') format('woff');
}
@font-face {
  font-family: 'Optima Medium';
  font-style: normal;
  font-weight: normal;
  src: local('Optima Medium'), url('Optima Medium.woff') format('woff');
}
@font-face {
  font-family: 'Optima Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Optima Bold'), url('OPTIMA_B.woff') format('woff');
}

/* Personnalisation générale */
:root {
  /* Test */
  --color-primary-dark: #4caf50;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: "Optima", sans-serif;
  line-height: 1.5;
  font-size: 1.8rem;
  color: #232323;
  background-color: #fff;
  
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

body.is-mobile {
  font-size: 1.6rem;
}

a:link,
a:visited,
a:active,
a:hover {
  text-decoration: none;
}

a:link,
a:visited {
  -webkit-tap-highlight-color: rgba (0,0,0, 0.3);
}

a {
  color: currentColor;
  background-color: transparent;
}

body.is-mobile .d-none-mobile {
  display: none;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-inline-block {
  display: inline-block;
}

.hide--desktop {
  display: none;
}

.hide--mobile {
  display: none;
}

/****************************
  BOOTSTRAP
*****************************/
/* Force la taille des gutters dans une grille bootstrap */
.my-gutters {
  margin-right: 0rem;
  margin-left: 0rem;
}
.my-gutters:not(.nopadding) > .col,
.my-gutters:not(.nopadding) > [class*="col-"] {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.my-gutters.nopadding > .col,
.my-gutters.nopadding > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

@media screen and (max-width: 640px) {
  .my-gutters.nopadding-xs > .col,
  .my-gutters.nopadding-xs > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}


/* Align les élements d'une grille ayant différentes hauteurs */
.row.display-flex {
  display: flex;
  flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

main .container-fluid {
  padding: 0 !important;
  margin: 0 !important;
}

/****************************
  LAYOUT
*****************************/
/** Video et overlay */
.header-video {
  position: relative;
  display: block;

}
.video-overlay {
  position: absolute;
  top:0;
  bottom: 0;
  left: 0;
  /* right: 0; */
  text-align: center;
  font-size: 3.3vw;
  width: 100%;
  color: rgba(255,255,255,0.95);
  opacity: 0;
  transition: opacity 1s ease-out;
}
.video-overlay__text-wrapper {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}
.video-overlay__text {
  /* text-shadow: 1px 1px 2px rgb(35, 35, 35, 0.8); */
  line-height: 5vw;
}

.video-overlay .button_mute {
  position: absolute;
  display: block;
  bottom: -1rem;;
  left: 1rem;
}

.video-overlay .button_mute img {
  height: 3rem;
  width: 3rem;
  margin-bottom: 2rem;
}
.img-unmute {
  display: none;
}

/* Barre de navigation normale */
/* => voir second fichier css (en mode legacy) */

/* Barre de navigation mobile */
.navigation-bar {
  position: relative;
  display: inline-grid;
  grid-template-columns: 0.5fr 0.5fr;
  height: 100vw; /*15vh*/
  min-height: 15rem;
  max-height: 20rem;
  width: 100%;
  padding: 2vw 1.5vh;

  z-index: 4;
}

.navigation-bar__logo {
  position: relative;
  width: 100%;
  height: auto;
}

.navigation-bar__logo img {
  position: relative;
  width: 100%;
  height: auto;
  margin: auto 0;
}

.navigation-bar__button-burger {
  position: relative;
  cursor: pointer;
  justify-self: end;
  align-self: start;
  margin-top: 17.5%;
  margin-right: 5vw;
  padding: 5px;
  /* border: 1px solid rgba(255,255,255,0.95); */
  border-radius: 3px;
}

.navigation-bar__button-burger .line-burger {
  position: relative;
  height: 5px;
  width: 13.7vw;
  /* min-width: 2rem; */
  background-color: rgba(255,255,255,0.95);
  margin-bottom: 4px;
  border-radius: 4px;
}

.navigation-bar__button-burger .line-burger:last-child {
  margin-bottom: 0px;
}

@media screen and (min-width: 546px) {
  .navigation-bar__button-burger {
    margin-top: 20%;
  }
  .navigation-bar__button-burger .line-burger {
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 450px) {
  .navigation-bar__button-burger {
    margin-top: 17%;
  }
}

@media screen and (max-width: 400px) {
  .navigation-bar__button-burger {
    margin-top: 17.5%;
  }
}

/* Menu de navigation mobile */
main,
.header-mobile {
  transition: margin-left .5s;
}

.navigation-menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  background-color: #7d2020;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 6rem;
  /* border-right: 2px solid #FFF; */
  opacity: 0;
}

.navigation-menu a {
  padding: 8px 8px 8px 3.2rem;
  text-decoration: none;
  font-size: 2.5rem;
  color: #FFF;
  display: block;
  transition: 0.3s;
  border-bottom: 1px solid transparent;
}

.navigation-menu a:hover {
  color: brightness(80%);
  cursor: pointer;
}

.navigation-menu .closebtn {
  position: absolute;
  top: 0;
  right: 2.5rem;
  font-size: 3.6rem;
  margin-left: 5rem;
}

@media screen and (max-height: 450px) {
  /* .navigation-menu {padding-top: 1.5rem;} */
  .navigation-menu a {font-size: 1.6rem;}
}

/* Header mobile */
.header-mobile {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
}
.header-mobile .img-container {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}
.header-mobile .img-container img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  /* height: 100%; */
  object-fit: cover;
}
.header-mobile__overlay {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* width: 100%;
  height: auto; */

  text-align: center;
  color: rgba(255,255,255,0.95);
  background: transparent;
  z-index: 2;
}
.header-mobile__titles {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  font-weight: lighter;
}

.header-mobile__titles-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  top: 0;
  bottom: 0;
  margin: auto 0;
  min-height: 75%;
}


.header-mobile__title.title--big {
  position: relative;
  display: inline-block;
  font-size: 14vw;
  border: 1px solid white;
  padding: 0 1.5rem;
  margin-top:3rem;
  margin-bottom: 20vw;
}

.header-mobile__title.title--big.no-border {
  border: 1px solid transparent;
}

.header-mobile__title.title--small {
  position: relative;
  display: block;
  font-size: 11vw;
  margin-top: 2rem;
}
.header-mobile__title.title--small.alone {
  top: 0;
}

@media screen and (max-width: 999px) {
  .header-mobile__title.title--big {
    border: 1px solid white;
    padding: 0 1.5rem;
    margin-top:3rem;
    margin-bottom: 7vw;
  }
  .header-mobile__title.title--small{
    margin-top: 1rem;
  }
}

/* Footer */
.footer {
  position: relative;
  display: block;
  background-color: #c7c6c6;
  color: #686565;
  font-size: 1.4rem;
  text-align: center;
  bottom:0;
}

.footer__top {
  position: relative;
  display: block;

  padding: 2rem 0;
}

.footer__bottom {
  position: relative;
  background-color: #c1c0c0;
  padding: 0.5rem 0;
}

.footer .legal {
  color: #686565;
  border-bottom: 1px dotted currentColor;
}

.footer .legal:hover {
  filter: brightness(85%);
}

.footer .logo-fb {
  margin-right: 1.5rem;
}

/* Header vidéo */
.video-overlay {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.video-overlay {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* page content */
.page-content {
  position: relative;
  display: block;
  max-width: 80rem;

  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 800px) {
  .page-content {
    max-width: 95%;
  }

  .page-content.fluid-xs {
      max-width: 100%;
  }
}

.paragraph {
  margin-bottom: 1rem;
  text-align: justify;
  color: #707070;
}

/***********************************
  COMPOSANTS / WIDGETS DU CONTENU
************************************/
/* Widgets */
.widget {
  position: relative;
  display: block;
  margin-bottom: 5rem;
}

.widget-text p:not(:nth-last-of-type()) {
  margin-bottom: 1rem;
}
.widget-text p {
  text-align: justify;
}

/* affichage de texte mobile ou pc*/
body.is-mobile .mobile--hide,
body:not(.is-mobile) .desktop--hide {
  display: none;
}


/* heading / titre */
.heading-primary {
  font-size: 3rem;
  text-align: center;
  color: #7d2020;
  margin-top: 4rem;
  margin-bottom: 4rem;
  /*font-weight: bold;*/
}

.heading-primary.l-case {
  text-transform: none;
}

body:not(.is-mobile) .heading-primary:not(.l-case) {
  text-transform: uppercase;
}
body.is-mobile .heading-primary {
  text-transform:  none;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

@media screen and (max-width: 576px) {
  .heading-primary {
    text-transform: none;
  }
}

.heading-small {
  font-size: 2rem;
  color: #676666;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-weight: bold;
}

.heading-traiteur {
  text-align: center;
  font-size: 2rem;
  color: #676666;
  padding-top: 2rem;
  padding-bottom: 1rem;
  font-weight: bold;
}


.menu-client .heading-small {
  padding-top: 0rem;
  padding-bottom: 0;
  margin-top: 0;
  color: black;
}

@media screen and (max-width: 500px) {
  .menu-client .heading-small {
    margin-left: 5vw;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
}

body.is-mobile .menu-client .heading-small {
  text-align: left;
}
body.is-mobile .heading-small {
  text-align: center;
}

/* image contenue dans une grille */
.grid__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* bouton */
.widget-button {
  position: relative;
  display: block;
  text-align: center;
}
.widget-button .button {
  position: relative;
  display: inline-block;
  background-color: #7d2020;
  color: white;
  /* margin-bottom: 3rem; */

  margin-bottom: 1rem;
  padding: 1rem 2rem;
}

.widget-button .button a:hover {
  color: white;
  text-decoration-line: underline;
}


/* Widget Red Info */
.widget__conseils {
  position: relative;
  display: block;
}

.widget__conseils-item {
  position: relative;
  display: block;
  color: white;
  text-align: center;
}

.widget__conseils-item .conseil--content {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  padding: 2rem 1rem 2rem 1rem;
  text-align: center;
}

.widget__conseils-item:nth-child(1) .conseil--content {
  background-color: #7d2020;
}
.widget__conseils-item:nth-child(2) .conseil--content {
  background-color: rgb(160,73,73);
  padding-left: 1rem;
  padding-right: 1rem;
}
.widget__conseils-item:nth-child(3) .conseil--content {
  background-color: rgb(88,25,25);
}

.widget__conseils-item .conseil--icon {
  position: relative;
  display: block;
  width: auto;
  height: 8rem;
  text-align: center;
  margin-bottom: 12px;

  width: 100%;
}

.widget__conseils-item .conseil--icon img {
  position: relative;
  display: inline-block;
  max-width: auto;
  max-height: 100%;
}

.widget__conseils-item .conseil--text {
  vertical-align: center;
  text-align: center;
  width: 100%;
  padding: 0 10px;
}

.widget__conseils-item .conseil--content {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .widget__conseils-item .conseil--content {
    padding: 5px 5px;
    margin: 0;
  }

  .widget__conseils-item .conseil--content {
    position: relative;
    display: inline-grid;
    grid-template-columns: 0.4fr 0.6fr;
  }

  .widget__conseils-item .conseil--content .conseil--text {
    align-self: center;
  }

  .widget__conseils-item .conseil--content.flip {
    grid-template-columns: 0.6fr 0.4fr;
  }

  .widget__conseils-item .conseil--content.flip .conseil--text {
    grid-area: 1 / 1;
    align-self: center;
  }

  .widget__conseils-item .conseil--content.flip .conseil--icon {
    grid-area: 1 / 2;
  }
}

/**
  WIDGET - MENU
*/
.widget__menu-item {
  margin-top: 4rem;
  height: 100%;
}
body.is-mobile .widget.widget__menu {
  margin-top: 0;
}
.menu-client {
  color: black;
}
.menu-card__title {
  font-weight: bold;
}

@media screen and (max-width: 500px) {
  .menu-card__img  img {
    position: relative;
    display: block;
    height: 100%;
    /* width: auto;
    object-fit: cover; */
  }
  .menu-card__content {
    margin: auto 0;
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 430px) {
  .menu-card__content {
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 400px) {
  .menu-card__content {
    font-size: 1.3rem;
  }
}

/**
  CARD (AVIS CLIENTS)
*/
.card {
  position: relative;
  display: block;
  margin: 4rem 0;
  width: 100%;
}

.card__item {
  position: relative;
  display: block;
}

.card__item--img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card__item--title {
  font-weight: bold;
  color: #676666;
}

.card__item--paragraph{
  font-size: 1.6rem;
  text-align: justify;
}

@media screen and (max-width: 767px) {
  .card__item--title {
    margin-top: 1rem;
    margin-bottom: 0.71rem;
  }

  .card {
    font-size: 1.5rem;
    padding: 0 12%;
  }
}
@media screen and (max-width: 460px) {
  .card {
    font-size: 1.5rem;
    padding: 0 4%;
  }
}


/****************************
  SPECIFIQUE PAR PAGE
****************************/
/* A propos */
.about-header {
  position: relative;
  display: block;
  text-align: center;
  margin: 5rem 0 6rem 0;
}

/*
  Menu
  => Gestion de l'affichage responsive du menu sous forme de grille
  => Utilisation de CSS Grid
*/
.widget__menu {
  position: relative;
  display: inline-grid;

  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 2rem;

  margin-bottom: 8rem;
}
.widget__menu-item {
  position: relative;
  /* display: inline-grid; */
  display: block;
}


@media screen and (min-width: 640px) {
  /* 3 menus par ligne */
  .widget__menu {
    grid-template-columns: repeat(3, 1fr);
  }

  .widget__menu-item {
    margin-top: 4rem;
  }

  body.is-mobile .widget__menu-item {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 639px) {
  /* 2 menus par ligne */
  .widget__menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .widget__menu-item {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 500px) {
  /* 1 menu par ligne: photo à gauche, texte à droite */
  .widget__menu {
    grid-template-columns: repeat(1, 1fr);
    grid-row-gap: 0;
    margin-bottom: 4rem;
  }

  .menu-card__content {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .page-content.fluid-menu {
    margin: 0;
    max-width: 100%;
  }

  .widget__menu-item {
    display: inline-grid;
    grid-column-gap: 0rem;
    grid-template-columns: 0.5fr 0.5fr;
    grid-row-gap: 0;
    margin-top: 0;
    border-bottom: 1px solid #7d2020;
  }
  .widget__menu-item:first-of-type {
    border-top: 1px solid #7d2020;
  }
}

@media screen and (min-width: 501px) {
  .menu-card__content {
    margin-top: 0.8rem;
  }
  .menu-card__title {
    margin-bottom: 0.3rem;
  }
}


.heading-video-main {
  font-size: 3rem;
  text-align: center;
  color: #7d2020;
  /*font-weight: bold;*/
}

.heading-video {
  font-size: 2rem;
  color: #676666;
  font-weight: bold;
}
.video {
	width: 100%;
}
.m-b-10{margin-bottom:10px;}


.inter-mobile {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
}


.grecaptcha-badge {
visibility: hidden;
z-index: -100;
}






/* Debut page video */
#page-video .row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 800px;
	margin: 0 auto;
}

#page-video .row>[class*='col-'] {
	display: flex;
	flex-direction: column;
}

#page-video .video-card {
	max-width: 260px;
}

#page-video iframe {
	overflow: hidden;
}
/* reglage du bloc texte qui comprend le titre et le sous titre sous la vignette*/

#page-video .video-text {
	color: #707070;
	margin: 5px auto 50px auto;
	max-width: 350px;
}

#page-video .video-text h2 {
	font-size: 1.6rem;
	margin: 0 0 10px 0;
	padding: 0;
}

#page-video .video-text h3 {
	font-size: 1.5rem;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 768px) {
	#page-video h1 {
		margin: 0;
		padding: 50px 0 0 0;
		font-size: 3.2rem;
	}
	#page-video .video-text h2 {
		font-size: 1.7rem;
		margin: 0 0 5px 0;
		padding: 0;
	}
	#page-video .video-text h3 {
		margin: 0;
		padding: 0;
	}
	
	/* reglage de l'espace entre bas du texte et la vignette en dessous*/
	#page-video .video-card {
		margin-bottom: 50px;
		max-width: 100%!important;
	}
	#page-video iframe {
		min-height: 280px;
		max-height: 300px;
		padding: 0;
		margin: 0 auto;
	}
	#page-video .video-text {
		width: 95%;
		max-width: 295px;
		margin: 0px auto 0px auto;
	}
}

/* Fin page video */

/* Test modal */
#page-video .image-modal {
	cursor: pointer;
}

/* modal video */
#page-video .image-modal {
	cursor: pointer;
}

#page-video .modal,
#page-video .modal-dialog,
#page-video .modal-content,
#page-video .modal-header,
#page-video .modal-body {
	max-width: 100%;
}
@media screen and (max-width: 768px) {
	#video-modal .modal-dialog {
		margin: 100px auto;
	}
}


.alignleft {

    float: left;
}

.container.force-w-img {
  padding-right: 0!important;
  padding-left: 0!important;
  max-width: 80rem;
}

.container.force-w-img .page-content {
  max-width: 100%;
}

.container.force-w-img .widget {
  margin-bottom: 0rem;
}

.photo {
  position: relative;
  display: block;
  margin-bottom: 10px;
}