/*
Theme Name: Bistrot de l'Avenue
Template: twentytwentyone
Theme URI:    https://www.bistrotdelavenue.com/
Description:  Thème du Bistrot de l'avenue
Author:       Agence Creanova
Author URI:   https://www.agencecreanova.com
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("twentytwentyone/style.css");
@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@400;700&family=Oswald:wght@400;700&display=swap');

:root {
  --global--color-premiere: #ae1732;
  --global--color-seconde: #dcba57;
  --global--color-troisieme: #f8eedb;
}
body, .entry-content {
  font-family: 'Catamaran', sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: var(--global--color-premiere);
  letter-spacing: 0;
	text-transform: uppercase;
}
p, li, ul {
  color: #58595b;
  font-family: 'Catamaran', sans-serif;
  font-size: 1em;
}
body a {
  font-size: 1em;
  color: var(--global--color-seconde);
	transition: all 0.3s ease 0s;
}
::marker {
  color: var(--global--color-seconde);
}
::selection {
  background-color: var(--global--color-premiere);
  color: #ffffff;
}
/* BOUTON ------------------------------------------------------------- */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(:hover):not(:active):not(.has-background), .read-more-link {
  background-color: var(--global--color-seconde);
  border-color: var(--global--color-seconde);
  transition: all 0.4s ease 0s;
  border-radius: 3em;
  color: #ffffff;
}
.site .button, button, input[type=submit], input[type=reset], .wp-block-search .wp-block-search__button, .wp-block-button .wp-block-button__link, .wp-block-file a.wp-block-file__button {
  border-radius: 3em;
  transition: all 0.4s ease 0s;
  border-color: var(--global--color-premiere);
  color: var(--global--color-premiere);
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover, .wp-block-button:not(.is-style-outline) .wp-block-button__link:active {
  border-color: var(--global--color-premiere) !important;
  color: var(--global--color-premiere) !important;
}
div.wp-block-columns {
  padding-left: var(--global--spacing-unit);
  padding-right: var(--global--spacing-unit);
}
/* Header / Navigation ------------------------------------------------------------- */
.site-header {
  background-color: var(--global--color-premiere);
  position: relative;
  width: auto;
  max-width: 100%;
  left: 0;
  right: 0;
  top: 0;
  padding: 0 2em;
  z-index: 5;
  display: flex;
  justify-content: space-between;
}
.primary-navigation > div > .menu-wrapper {
	align-items: center;
}
.primary-navigation a, .primary-navigation a:link, .primary-navigation a:visited {
  color: var(--global--color-seconde);
    transition: all 0.3s ease 0s;
}
.primary-navigation a:hover {
  color: var(--global--color-troisieme);
  text-decoration: none;
}
.primary-navigation .current_page_item > a {
  color: var(--global--color-troisieme);
}
#site-navigation {
  right: initial;
  top: initial;
  margin: 0 0 0 1em;
}
.menu-image.menu-image-title-hide {
  max-height: 40px;
}
.has-background-white .site .site-header a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
	background: var(--global--color-premiere);
    border-radius: 0.3em;
}
.primary-navigation > div > .menu-wrapper > li > .sub-menu li {
	background: var(--global--color-premiere);
}
.primary-navigation .sub-menu {
	border-left: 3px solid var(--global--color-seconde);
	border-right: none;
	border-top: none;
	border-bottom: none;
}
.primary-navigation > div > .menu-wrapper .sub-menu-toggle {
	color: var(--global--color-seconde);
}
.primary-navigation .current-menu-item > a:first-child, .primary-navigation .current_page_item > a:first-child, .primary-navigation .current-menu-item > a:first-child:hover, .primary-navigation .current_page_item > a:first-child:hover {
	text-decoration: none;
}
.menu-item-15 > .sub-menu > li > a {
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
}

/*Bannière ------------------------------------------------------------*/
.banner {
	display: flex;
	justify-content: center;
	background: #403f3d url("images/bg-header.jpg") center top no-repeat;
	padding: 2em 0 0;
	flex-direction: column;
	width: 100%;
	max-width: 1960px;	
}
.cadre {
	display: block;
	background: #403f3d url("images/tableau.jpg") center top no-repeat;
	width: 656px;
	height: 803px;
	padding: 4em;
	text-align: center;
	box-shadow: 0px 0px 20px #000;
	margin: 0 auto;
}
.cadre h2 {
    color: #d7d7d7;
    text-align: center;
	margin-bottom: 0.5em;
}
.biseau {
	position: relative;
	display: block;
	width: 100%;
}
.biseau img {
	width: auto;
	height: auto;
	max-width: 100%;
}
.page:not(.home) .banner, .error404 .banner, .search .banner, .category .banner, .post .banner, .archive .banner {
  display: none;
}

/*ACCUEIL ------------------------------------------------------------*/
.home h1 {
	text-transform: uppercase;
	font-size: 2.5em;
}
.wp-block-columns.alignfull.presentation {
	background: #ffffff url("images/tampon-or.jpg") right top no-repeat;
}
.post-26 .wp-block-columns .wp-block-column p.p-presentation {
	margin: 0;
}
.wp-block-buttons.is-content-justification-center.btn-presentation {
	margin-top: 0.5em;
}
.wp-block-buttons.is-content-justification-center.btn-presentation a {
	font-weight: bold;
}
.wp-block-columns.alignfull.avis {
	background: var(--global--color-seconde) url("images/biseau-footer.svg") center top no-repeat;
	margin: 0;
	padding: 6em 0 2em;
}

.home .entry-content .avis h2 {
	color: #ffffff;
	text-transform: uppercase;
}

/*PAGE - Général ------------------------------------------------------------*/
.site-content .entry-header h1.entry-title, .home .entry-content h2 {
	color: var(--global--color-seconde);
	font-weight: 700;
	font-size: 2em;
    text-align: center;
}

.site-content .entry-header h1.entry-title::after, .home .entry-content h2::after {
	content: '';
	display: block;
	position: relative;
	margin: 0.3em auto;
	height: 5px;
	width: 10%;
	background-color: var(--global--color-premiere);
	border-radius: 5em;
    -webkit-animation: filet 2s ease-in-out ;
	        animation: filet 2s ease-in-out ;
}
@-webkit-keyframes filet {
  0% {width: 0%;}
  90% {width: 12%;}
  100% {width: 10%;}
}
@keyframes filet {
  0% {width: 0%;}
  90% {width: 12%;}
  100% {width: 10%;}
}
body.singular .entry-header {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: calc(3 * var(--global--spacing-vertical));
}
.bg-gris {
	background: #e1e1e1 url("images/bg-rond-trait-blanc.svg") center top repeat;
	padding: 4em 0;
}

/*PAGE - Carte vins et boissons ------------------------------------------------------------*/



/*CATEGORIE - Actualités ------------------------------------------------------------*/
.category .page-header, .archive .page-header {
	display: none;
}
body.category .site-main {
	padding-top: 0;
}
.category .site-main, .archive .site-main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  background: #ffffff;
  padding: 1em 0;
}
.category .site-main article, .archive .site-main article {
  max-width: 480px;
    min-width: 300px;
  background: #ffffff;
  margin: 0 1em 2em;
  box-shadow: 1px 1px 10px #ebebeb;
  padding: 2em 1em;
	transition: all 0.2s ease-in-out 0s;
}
.category .site-main article:hover, .archive .site-main article:hover  {
	box-shadow: 1px 1px 15px #d1d3d4;
	transform: scale(1.005);
}
.category article h2 {
	font-size: 2em;
	font-family: 'Catamaran', sans-serif;
	text-transform: initial;
}
.entry-title.default-max-width a {
	color: var(--global--color-premiere);
	text-decoration: none;
}
.entry-title.default-max-width a:hover {
	color: var(--global--color-seconde);
}
.category .site-main article p {
	font-size: 0.9em;
}
.post-thumbnail .wp-post-image {
	margin-top: 0;
}
.category article .entry-footer .edit-link, .category article .entry-footer .post-taxonomies {
	display: none;
}
article .read-more-link {
	display: block;
	margin-top: 1em;
	color: #fff;
	padding: 0.5em 1em;
	text-decoration: none;
	font-size: 0.8em;
	max-width: 200px;
	text-align: center;
}
article .read-more-link:hover {
	background: var(--global--color-premiere);
}
article .entry-footer.default-max-width {
	padding-bottom: 1em;
}
.single .banner, .archive .banner {
	display: none;
}
.single article .entry-header {
	max-width: 800px;
}

/*PAGE - Contact ------------------------------------------------------------*/
#map {
  max-width: 600px;
  width: 100%;
  height: 400px;
  filter: grayscale(100%);
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], .site textarea {
  border: var(--form--border-width) solid var(--global--color-troisieme);
  color: var(--global--color-premiere);
  width: 100%;
}
.entry-content .wpcf7-form input.wpcf7-form-control.wpcf7-submit {
  background-color: var(--global--color-seconde);
  border-color: var(--global--color-seconde);
  margin-top: 2em;
  color: #fff;
}
.entry-content .wpcf7-form input.wpcf7-form-control.wpcf7-submit:hover {
  background-color: #fff;
  color: var(--global--color-seconde);
}
.wpcf7-response-output {
	background: #46b450;
}
.wp-block-columns.are-vertically-aligned-center.reservation-contact {
	border: 2px solid #ffffff;
	padding: 1em 0;
	background-color: #ffffff;
	border-radius: 0.5em;
	max-width: 400px;
	margin: 0 auto;
}
.post-7 .wp-block-buttons.btn-contact-tel .wp-block-button.or:not(.is-style-outline) a.wp-block-button__link:hover {
	color: var(--global--color-seconde) !important;
	border-color: var(--global--color-seconde) !important;
}

/* FOOTER ------------------------------------------------------------- */
.widget-area {
  background: var(--global--color-premiere);
  padding: 2em 1em;
  max-width: 1960px;
  display: flex;
  margin: 0 auto;
  width: 100%;
  justify-content: space-around;
}
.site-footer {
  background-color: #9a132b;
  padding-bottom: 1em;
  max-width: 1960px;
  display: flex;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}
section.widget {
	min-width: 250px;
	max-width: 600px;
	margin: 0 auto;
}
h2.widget-title {
  color: var(--global--color-seconde);
  font-size: 1.5em;
}
.textwidget p, .widget-area .textwidget a {
  color: #fff;
}
td {
  color: #58595b;
  font-size: 16px;
  line-height: 1.2;
}
table td, table th, .wp-block-table td, .wp-block-table th {
  border-left: none;
  border-right: none;
  border-top: none;
  border-bottom: 1px solid var(--global--color-seconde);
}
table tr td:last-child {
  text-align: right;
}
.ankle {
	background: var(--global--color-seconde) url("images/biseau-footer.svg") center top no-repeat;
	text-align: center;
	padding: 6em 0 2em;
	display: flex;
	justify-content: center;
	align-items: center;
}
.ankle h3 {
	margin-bottom: 1em;
	text-transform: inherit;
}
.page-template-page-contact .ankle {
	display: none;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link.bleu:not(:hover):not(:active):not(.has-background) {
	background-color: var(--global--color-premiere);
}
#text-3 .widget-title {
	display: none;
}
.site-footer > .site-info {
  border: none;
  margin: 0;
}
.site-footer > div.site-info a:link, .site-footer > div.site-info a, .site-footer > div.site-info p, .site-footer > .site-info a:visited, .site-footer > .site-info a:active {
  color: var(--global--color-seconde);
  font-size: 14px;
  text-decoration: none;
}
.site-footer > div.site-info a:hover {
    color: #ffffff;
}
.error404 .page-header.alignwide {
	display: none;
}
.error-404 .page-content img {
	margin: 0 auto;
	text-align: center;
	max-width: 400px;
	width: 100%;
}
.error-404 {
	margin-top: 0;
}
#cookie-notice .cookie-notice-container a.button-cookie {
	background: #abc556;
	transition: all 0.4s ease 0s;
	font-weight: bold;
	padding: 0.5em 1em;
	text-decoration: none;
	color: #fff;
}
#cookie-notice .cookie-notice-container a.button-cookie:hover {
	background: #799227;
}
#cn-notice-buttons {
	display: flex;
	justify-content: center;
}
#cookie-notice .cookie-notice-container #cn-refuse-cookie, #cookie-notice .cookie-notice-container #cn-more-info {
	background: #dedede;
	color: #999999;
}
#cookie-notice .cookie-notice-container #cn-refuse-cookie:hover, #cookie-notice .cookie-notice-container #cn-more-info:hover  {
	background: #cccccc;
}

/* NEWSLETTER ------------------------------------------------------------- */
input[type="submit"]:not(:hover):not(:active):not(.has-background) {
	background-color: var(--global--color-premiere);
}
.mentions {
	font-size: 0.7em;
	margin-bottom: 2em;
}
.sib_signup_form .sib-country-block .sib-toggle.sib-country-flg, .sib_signup_form  .sib-country-block .sib-toggle .sib-cflags {
	background-color: var(--global--color-troisieme);
}
.widget-area .wp-block-buttons.btn-widget .wp-block-button:not(.is-style-outline) a.wp-block-button__link:hover {
	border-color: var(--global--color-seconde) !important;
	color: var(--global--color-premiere) !important;
	background-color: var(--global--color-seconde) !important;
}

/* RESPONSIVE DESIGN ------------------------------------------------------------- */
/* MENU RESPONSIVE */
@media screen and (max-width: 1200px) {
	.site-header > .primary-navigation > .primary-menu-container {
		background-color: var(--global--color-seconde);
	}
	.primary-navigation > div > .menu-wrapper > li > .sub-menu li {
		background-color: var(--global--color-seconde);
		border-bottom: none;
	}
	.primary-navigation > div > .menu-wrapper > li > .sub-menu::after {
		border-color: transparent transparent;
		border: none;
	}
	.has-background-white .site a:focus:not(.wp-block-button__link):not(.wp-block-file__button) {
		background: #FF133B;
	}
	.site-header {
		justify-content: initial;
	}
	#site-navigation {
		right: 0;
		top: 0;
	}
	/* Rajout */
	.primary-navigation #primary-mobile-menu path {
		color: var(--global--color-seconde);
	}
	.site-header > .primary-navigation > .primary-menu-container a {
		color: #fff;
	}
	.site-header > .primary-navigation > .primary-menu-container {
		padding-left: 2em;
	}
	.primary-navigation-open .menu-button-container {
		background: var(--global--color-seconde);
	}
}/* MENU RESPONSIVE - FIN */
@media screen and (max-width: 1680px) {
  .wp-block-columns.alignfull.presentation {
    background: #ffffff;
  }
}
@media screen and (max-width: 950px) {
  .wp-block-columns .wp-block-column .wp-block-columns.alignwide {
    flex-direction: column;
  }
  .wp-block-columns.presentation .wp-block-column .wp-block-columns.alignwide {
    flex-direction: column-reverse;
  }
  .widget-area {
    flex-direction: column;
  }
  section.widget {
    min-width: auto;
    margin: 0 auto 2em;
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .cadre {
    width: 100%;
    height: auto;
    background-size: cover;
  }
  .banner .biseau {
    display: none;
  }
}
@media screen and (max-width: 600px) {
  #map {
    height: 250px;
  }
  .avis ul {
    padding-left: 0;
  }
}
@media screen and (max-width: 500px) {
  .cadre {
    padding: 3em;
  }
  .wp-block-columns.alignfull.avis {
    padding: 2em 0;
  }
  .post-26 .wp-block-spacer {
    display: none;
  }
  .cadre h2 {
    font-size: 1.25em;
  }
	.site-header {
		background: var(--global--color-premiere);;
		height: 70px;
		padding: 0 0.5em;
	}
	.wptripadvisor_t1_outer_div {
		margin: 0 !important;
	}
}
@media screen and (max-width: 400px) {
  .cadre {
    padding: 2.5em;
  }
  .wp-block-columns.alignfull.presentation {
    padding: 0;
  }
  .home h1 {
    font-size: 1.8em;
  }
  .wp-block-columns .wp-block-column .wp-block-columns.alignwide {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  .presentation p {
    font-size: 0.9em;
  }
  .ankle {
    flex-direction: column;
    padding: 2em 0;
  }
}
@media screen and (max-width: 350px) {
  .cadre {
    padding: 3em 1em;
  }
}
@media screen and (max-width: 250px) {
  .site-logo .custom-logo {
    max-width: 100%;
    height: auto;
    width: 100%;
  }
}




/* Page Galerie Insta */

.entry-header.alignwide {
  margin-bottom: 0px !important;
}