﻿/*
	https://webaim.org/resources/contrastchecker/
*/

html {
	overflow-x: hidden;
	overflow-y: scroll;
	height: 100%;
}
html, body {
	min-height: 250px;
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 100%;
	font-family: "Roboto",Helvetica,Arial,sans-serif;
	color: #333;
}
body::after{
	content: '';
	display: block;
	height: 130px;
}
.noscript {
	display: block;
	position: relative;
	width: 100%;
	background-color: #faa;
	color: #000;
	text-align: center;
	border: 2px solid #f00;
	font-size: 24px;
	padding: 14px;
	z-index: 2002;
}
*:focus {
    outline: none;
}

:root {
	--vert-vervicoop: rgba(51, 128, 121, 1);
	
	--btn-gris: rgba(210, 219, 218, 0.5);
	--btn-gris-hover: rgba(210, 219, 218, 0.8);
	--btn-gris-active: rgba(210, 219, 218, 1);

	--btn-vert: rgba(51, 128, 121, 1);
	--btn-vert-hover: rgba(51, 128, 121, 0.9);
	--btn-vert-active: rgba(51, 128, 121, 0.7);

	--btn-desactive: rgba(51, 128, 121, 0.3);

	--btn-rouge: rgba(170, 85, 59, 1);
	--btn-rouge-hover: rgba(170, 85, 59, 0.8);
	--btn-rouge-active: rgba(170, 85, 59, 0.6);
}

.btn-gris {
	background: var(--btn-gris);
}
.btn-gris:hover {
	background: var(--btn-gris-hover);
}
.btn-gris:active {
	background: var(--btn-gris-active);
}

.btn-vert {
	background: var(--btn-vert);
	color: #fff !important;
	cursor: pointer;
}
.btn-vert:hover {
	background: var(--btn-vert-hover);
}
.btn-vert:active {
	background: var(--btn-vert-active);
}


.btn-desactive {
	background: var(--btn-desactive) !important;
	color: #fff !important;
	cursor: not-allowed !important;
}


.btn-rouge {
	background: var(--btn-rouge);
	color: #fff;
}
.btn-rouge:hover {
	background: var(--btn-rouge-hover);
}
.btn-rouge:active {
	background: var(--btn-rouge-active);
}


/*====================================================================================================*/

a {
	text-decoration: none;
}

h1 {
	font-size: 28px;
	font-weight: 400;
	margin-bottom: 10px;
}

.container {
	display: block;
	position: relative;
	max-width: 950px;
	margin: 0 auto 0;
}

#date-maj {
	position: absolute;
	display: block;
	bottom: 0;
	width: 100%;
	margin-bottom: 8px;
	font-size: 14px;
	font-style: italic;
	text-align: center;
}

#dev-mode {
	background: var(--btn-rouge);
	color: #fff;
	position: fixed;
	display: block;
	top: 0;
	left: 0;
	padding: 5px;
	text-align: center;
}

header {
	margin-bottom: 22px;
}

header .logo {
	height: 55px;
	margin: 8px 12px 4px 0;
}

header #panier-cart {
	position: absolute;
	display: block;
	top: 20px;
	right: 0px;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	/*background: url("../img/logo-panier-80.png") #34847d center no-repeat;
	background-size: auto;
	background-size: 37px;*/
	background: var(--vert-vervicoop);
}

header #panier-cart #badge {
	position: absolute;
	display: none;
	right: -6px;
	top: -11px;
	color: #fff;
	border: solid 2px #fff;
	border-radius: 10px;
	background-color: var(--btn-rouge);
	font-size: 11px;
	font-weight: 400;
	padding: 2px 7px;
}

header #flat-menu .onglet-recettes {
	background: #666;
	color: #eee;
}

header #flat-menu .onglet-recettes:hover {
	color: #fff;
}

header #search-input {
	padding: 6px 8px 6px 45px;
	width: 100%;
	border: 1px solid #ccc;
	border-top: 0;
	height: 38px;
	line-height: 38px;
	font-size: 16px;
	outline: none;
}

header #search-input:focus {
	border: 1px solid #333;
	border-top: 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
	outline: none;
}

header #loupe-icon {
	position: absolute;
	display: block;
	left: 0;
	top: 0;
	width: 38px;
	height: 38px;
	font-size: 20px;
	color: #757575;
	padding: 6px 0 0 10px;
	cursor: pointer;
}

header #clear {
	position: absolute;
	display: none;
	right: 0;
	top: 0;
	width: 38px;
	height: 38px;
	opacity: 0.6;
	cursor: pointer;
	float: right;
}
header #clear:hover {
	opacity: 1;
}
header #clear:before, header #clear:after {
	position: absolute;
	left: 18px;
	top: 9px;
	content: ' ';
	height: 20px;
	width: 2px;
	background-color: #333;
}
header #clear:before {
	transform: rotate(45deg);
}
header #clear:after {
	transform: rotate(-45deg);
}

header #ariane {
	display: block;
	position: relative;
	font-size: 14px;
	color: #4a4a4a;
	padding: 6px 9px;
	background: #eee;
}
header #ariane a:hover {
	text-decoration: underline;
}
header #ariane .fa-home {
	font-size: 16px;
}
header #ariane .fa-chevron-right {
	font-size: 11px;
	margin: 0 8px;
}
header #ariane #ariane-search {
	display: none;
}
header #search-error {
	position: relative;
	display: none;
	width: 100%;
	padding-top: 4px;
	font-size: 14px;
	color: #d55;
}



/*#img-accueil {
	width: 100%;
	height: auto;
}*/



.recettes {
	width: 100%;
	display: flex;
	flex: 1 0;
	flex-wrap: wrap;
}

.recettes .item {
	position: relative;
	overflow: hidden;
	flex-basis: calc(25%);
	margin-top: -1px;
	padding: 20px;
	text-align: center;
}

.recettes .item img {
	width: 100%;
}

.recettes .item .titre {
	font-size: 18px;
	padding-top: 10px;
}







.products {
	width: 100%;
	display: flex;
	flex: 1 0;
	flex-wrap: wrap;
}

.products .item {
	position: relative;
	overflow: hidden;
	flex-basis: calc(25% + 1px);
	margin-top: -1px;
	margin-left: -1px;
	border: 1px solid #d9d9d9;
	padding: 20px 10px 20px;
}

.products .item:hover {
	border: 1px solid #555;
	z-index: 80;
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
	-o-transition: all .25s ease;
	transition: all .25s ease;
}

.products .item .status {
	position: absolute;
	top: 188px;
	font-size: 14px;
	z-index: 81;
	color: #555;
}

.products .item .bio {
	position: absolute;
	display: block;
	left: 0px;
	top: 0px;
	background-color: #454545;
	color: #fff;
	font-weight: 500;
	padding: 3px 12px;
	font-size: 13px;
	z-index: 21;
}

.products .item .consigne {
	position: absolute;
	display: block;
	right: 0px;
	top: 0px;
	padding: 2px 4px;
	z-index: 21;
}

.products .item .consigne img {
	height: 22px;
}

.products .item .image {
	position: relative;
	display: block;
	margin-bottom: 20px;
	text-align: center;
	z-index: 20;
	height: 128px;
}

.products .item .header img {
	max-width: 100%;
	max-height: 100%;
}

.products .item .titre {
	position: relative;
	display: block;
	margin-bottom: 25px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 15px;
	font-weight: 500;
}

.products .item .prix {
	text-align: center;
	position: relative;
	display: block;
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
	color: #555;
}

.products .item .prix .prix-decimals {
	position: relative;
	top: -4px;
	right: 2px;
	font-size: 13px;
	vertical-align: top;
}

.products .item .prix .unite {
	font-size: 14px;
}



.products .item .promo {
	font-size: 14px;
	display: block;
	position: relative;
	text-align: center;
	margin: 2px 0 0 0;
	color: var(--btn-rouge);
	height: 25px;
}




.item .ajouter-au-panier {
	position: relative;
	display: block;
	width: 100%;
	height: 35px;
	color: #fff;
	border-radius: 6px;
	text-align: center;
	padding: 5px;
	margin-top: 14px;
	font-size: 15px;
	z-index: 40;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10+ and Edge */
	user-select: none; /* Standard syntax */
}

.item .ajouter-au-panier img {
	height: 27px;
	margin: 0 4px -8px 0;
}

.item .order {
	position: relative;
	display: none;
	width: 100%;
	height: 35px;
	margin-top: 14px;
	color: #333;
}

.item .order .btn-supprimer,
.item .order .btn-commentaire {
	position: absolute;
	display: block;
	top: -41px;
	width: 35px;
	height: 35px;
	line-height: 35px;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
}

.item .order .btn-supprimer {
	left: 0;
	font-size: 19px;
}

.item .order .btn-commentaire {
	right: 0;
	font-size: 22px;
}

.item .order .btn-quantite {
	position: relative;
	display: inline-block;
	height: 100%;
	min-width: 35px;
	max-width: 35px;
	cursor: pointer;
	border-radius: 6px;
	text-align: center;
	font-size: 12px;
	flex-grow: 1;
	-webkit-flex-grow: 1;
	line-height: 37px;
	z-index: 30;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10+ and Edge */
	user-select: none; /* Standard syntax */
}


.item .order .moins-au-panier {
	margin-right: 8px;
}

.item .order .plus-au-panier {
	margin-left: 8px;
}

.item .order .input-quantite {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 100%;
	min-width: 0;
	/*max-width: 100px;*/
	border: 2px solid #e9eff0;
	border-radius: 6px 0 0 6px;
	text-align: center;
	font-size: 16px;
	z-index: 30;
}

.item .order .input-quantite:focus {
	border: 2px solid rgba(52, 132, 125, 1);
}

.item .order .input-quantite.error {
	border: 2px solid #d55;
}

.item .order .btn-unite {
	position: relative;
	display: inline-block;
	height: 100%;
	min-width: 30px;
	max-width: 45px;
	cursor: pointer;
	border-radius: 0;
	text-align: center;
	font-size: 12px;
	flex-grow: 1;
	-webkit-flex-grow: 1;
	line-height: 35px;
	z-index: 30;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10+ and Edge */
	user-select: none; /* Standard syntax */
}

.item .order .border-rad {
	border-radius: 0 6px 6px 0;
}

.item .order .btn-unite.active {
	background: var(--btn-vert);
	color: #fff;
	cursor: default;
}




/*###########################################################################################################################*/
/*###########################################################################################################################*/
/*###########################################################################################################################*/




.fiche {
	display: block;
	position: relative;
	width: 100%;
	margin-top: 16px;
}

.fiche .item {
	display: block;
	position: relative;
	width: 200px;
	margin: 0 0 18px 43px;
}

.fiche .image {
	display: inline-block;
	position: relative;
}

.fiche .data {
	display: inline-block;
	position: relative;
	margin-left: 20px;
	vertical-align: top;
}

.fiche h1 {
	display: block;
	position: relative;
	font-size: 24px;
	font-weight: 500;
	margin-bottom: 4px;
}

.fiche .status {
	margin: -2px 0 7px 0;
	color: #555;
}

.fiche .bio {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 28px;
	font-weight: 500;
	text-align: center;
	font-size: 13px;
	margin-right: 10px;
	background-color: var(--vert-vervicoop);
	color: #fff;
	padding: 7px 0 4px 0;
}

.fiche .consigne {
	position: relative;
	display: inline-block;
	height: 28px;
	font-weight: 500;
	font-size: 13px;
	background-color: #e5e5e5;
	padding: 3px 8px 3px 4px;
}

.fiche .consigne img {
	height: 100%;
	margin-right: 5px;
}

.fiche .poids-net {
	position: relative;
	display: block;
	color: #888;
	margin-top: 8px;
}

.fiche .prix {
	position: relative;
	display: block;
	margin: 12px 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 20px;
}

.fiche .prix .prix-decimals {
	position: relative;
	top: -4px;
	right: 2px;
	font-size: 13px;
	vertical-align: top;
}

.fiche .prix .unite {
	font-size: 14px;
}

.fiche .item .ajouter-au-panier {
	margin-left: -43px;
}

.fiche .item .btn-supprimer {
	top: 0;
	left: -43px;
}

.fiche .item .btn-commentaire {
	top: 0;
	right: -43px;
	color: #555;
}



.fiche .promo {
	font-size: 14px;
	display: block;
	position: relative;
	margin: 0 0 30px 0;
	color: var(--btn-rouge);
}



.fiche .info {
	display: block;
	position: relative;
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 12px;
	line-height: 24px;
	white-space: pre-line;
}


/*###########################################################################################################################*/
/*###########################################################################################################################*/
/*###########################################################################################################################*/

.mon-panier #nombre-produits {
	font-size: 17px;
	padding-left: 4px;
}

.mon-panier #select-tri-panier {
	position: absolute;
	right: 0;
	top: 10px;
}

.mon-panier ul {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border-top: 1px solid #f0f0f0;
}

.mon-panier .btn-suivant {
	position: relative;
	display: block;
	float: right;
	margin-top: 20px;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10+ and Edge */
	user-select: none; /* Standard syntax */
}

.mon-panier .fa-angle-right {
	margin-left: 8px;
	font-size: 20px;
}

.mon-panier #panier-vide {
	position: relative;
	display: block;
	margin-top: 35px;
	font-size: 18px;
}

.mon-panier #panier-vide .fa-frown-o {
	margin-right: 8px;
}

.mon-panier .item {
	position: relative;
	display: block;
	width: 100%;
	padding: 17px 0;
	list-style-type: none;
	border-bottom: 1px solid #eee;
}

.mon-panier .item .image {
	display: inline-block;
	position: relative;
}

.mon-panier .item img {
	width: 90px;
}

.mon-panier .item .data {
	display: inline-block;
	position: relative;
	font-size: 18px;
	width: 500px;
	margin-left: 20px;
	vertical-align: top;
}

.mon-panier .item .data .prix {
	position: relative;
	display: block;
	margin: 7px 0;
	font-size: 19px;
	font-weight: 400;
	line-height: 20px;
}

.mon-panier .item .data .prix .prix-decimals {
	position: relative;
	top: -4px;
	right: 2px;
	font-size: 13px;
	vertical-align: top;
}

.mon-panier .item .data .prix .unite {
	font-size: 14px;
}

.mon-panier .item .data .commentaire {
	font-size: 16px;
	color: #888;
	font-style: italic;
}

.mon-panier .item .interactions-panier {
	display: inline-block;
	position: relative;
	width: 220px;
	vertical-align: top;
	float: right;
	margin: -14px 43px 0 0;
}

.mon-panier .item .btn-supprimer {
	top: 0;
	left: -43px;
}

.mon-panier .item .btn-commentaire {
	top: 0;
	right: -43px;
	color: #555;
}



/*###########################################################################################################################*/
/*###########################################################################################################################*/
/*###########################################################################################################################*/

.commande form {
	display: block;
	position: relative;
	max-width: 480px;
	margin: 40px auto 40px;
}

.commande .red {
	color: #cc2222;
}

.commande .small {
	font-size: 15px;
}

.commande form label {
	display: block;
	position: relative;
	margin: 16px 0 2px 0;
}

.commande form input[type="text"], .commande form select {
	width: 100%;
	color: #555;
	outline: none;
	background: #fff;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid #bbb;
	padding-left: 8px;
	margin-top: 2px;
	border-radius: 6px;
	height: 32px;
}

.commande form textarea {
	max-width: 100%;
	min-width: 100%;
	color: #555;
	background: #fff;
	font-size: 15px;
	text-decoration: none;
	border: 1px solid #bbb;
	padding: 8px;
	margin-top: 2px;
	border-radius: 6px;
	height: 100px;
	min-height: 100px;
	max-height: 300px;
}

.commande form input[type="text"]:hover,
.commande form input[type="text"]:focus,
.commande form input[type="text"]:active,
.commande form select:hover,
.commande form select:focus,
.commande form select:active,
.commande form textarea:hover,
.commande form textarea:focus,
.commande form textarea:active {
	border: 1px solid #888;
}

.commande form #captcha-reload {
	cursor: pointer;
	width: 38px;
	padding: 0 0 3px 8px;
}

.commande form .has-error {
	background: #f9dcdc;
	border: 1px solid #cc2222;
}

.commande form .help-block {
	color: #cc2222;
	font-style: italic;
	font-size: 14px;
	padding-top: 4px;
}

.commande form input[type='submit'] {
	display: block;
	width: 120px;
	color: #fff;
	background: #bbb;
	cursor: not-allowed;
	text-align: center;
	border: 0;
}

.commande #ticket-de-caisse {
	margin: 0 auto 0;
	padding: 10px 20px 12px;
	border: 1px solid #888;
	max-width: 480px;
	color: #333;
}

.commande #ticket-de-caisse table {
	border: 0;
	border-collapse: collapse;
	width: 100%;
}

.commande #ticket-de-caisse table thead {
	border-bottom: 2px solid #333;
}

.commande #ticket-de-caisse table tfoot {
	border-top: 2px solid #333;
}

.commande #ticket-de-caisse table th {
	text-align: left;
	padding: 10px 0 8px 0;
	font-size: 17px;
}

.commande #ticket-de-caisse table .id {
	display: none;
}

.commande #ticket-de-caisse table .nom {
	padding: 16px 16px 2px 0;
}

.commande #ticket-de-caisse table .quantite {
	min-width: 65px;
	vertical-align: bottom;
	padding-right: 8px;
}

.commande #ticket-de-caisse table .prix {
	min-width: 85px;
	vertical-align: bottom;
	text-align: right;
}

.commande #ticket-de-caisse table .commentaire {
	font-style: italic;
	color: #999;
	padding: 0 0 8px 0;
	border-bottom: 1px solid #ccc;
}

.commande #ticket-de-caisse .explication {
	display: block;
	color: #555;
	font-style: italic;
	font-size: 14px;
	margin: 12px 0 8px 0;
	text-align: justify;
}

.commande .btn-validation {
	padding: 10px 16px;
	border-radius: 6px;
	float: right;
	cursor: pointer;
	width: -moz-max-content;
	width: -webkit-max-content;
	width: -o-max-content;
	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10+ and Edge */
	user-select: none; /* Standard syntax */
}


/*###########################################################################################################################*/
/*### ARTICLES A LA PIECE ###################################################################################################*/
/*###########################################################################################################################*/

#articles-a-la-piece table {
  border-collapse: collapse;
}

#articles-a-la-piece tr {
	border-bottom: 1px solid #ddd;
}

#articles-a-la-piece td {
	padding: 2px 8px;
}

#articles-a-la-piece img {
	width: 70px;
}

#articles-a-la-piece td.nom {
	width: 300px;
	font-size: 15px;
}

#articles-a-la-piece input[type="text"] {
	width: 70px;
	color: #555;
	outline: none;
	background: #fff;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid #bbb;
	padding-left: 8px;
	margin-top: 2px;
	border-radius: 6px;
	height: 32px;
}

#articles-a-la-piece input:hover,
#articles-a-la-piece input:focus,
#articles-a-la-piece input:active {
	border: 1px solid #000;
}

#articles-a-la-piece .btn-valider {
	padding: 10px;
	width: 100%;
	border-radius: 6px;
	cursor: pointer;
}

#articles-a-la-piece .div-btn-valider {
	width: 90px;
}



/*###########################################################################################################################*/
/*### PROMO GROSSE QUANTITÉ #################################################################################################*/
/*###########################################################################################################################*/

#promo-grosse-qte table {
  border-collapse: collapse;
}

#promo-grosse-qte tr {
	border-bottom: 1px solid #ddd;
}

#promo-grosse-qte td {
	padding: 8px;
}

#promo-grosse-qte img {
	width: 100px;
}

#promo-grosse-qte td.nom {
	width: 300px;
	font-size: 15px;
}

#promo-grosse-qte input[type="text"] {
	width: 70px;
	color: #555;
	outline: none;
	background: #fff;
	font-size: 14px;
	text-decoration: none;
	border: 1px solid #bbb;
	padding-left: 8px;
	margin-top: 2px;
	border-radius: 6px;
	height: 32px;
}

#promo-grosse-qte input:hover,
#promo-grosse-qte input:focus,
#promo-grosse-qte input:active {
	border: 1px solid #000;
}

#promo-grosse-qte .btn-valider {
	padding: 10px;
	width: 100%;
	border-radius: 6px;
	cursor: pointer;
}

#promo-grosse-qte .div-btn-valider {
	width: 90px;
}



/*###########################################################################################################################*/
/*###########################################################################################################################*/
/*###########################################################################################################################*/


@media only screen and (max-width: 966px){
	.container {
		width: 600px;
	}
	.products .item {
		flex-basis: 33.33333%;
		padding: 20px 6px 12px;
	}
	.recettes .item {
		flex-basis: 33.33333%;
	}
	.products .item .order .btn-qte {
		font-size: 10px;
		min-width: 28px;
	}
	.products .item .order .moins-au-panier {
		margin-right: 4px;
	}
	.products .item .order .plus-au-panier {
		margin-left: 4px;
	}
	.mon-panier .item .data {
		margin-left: 10px;
		font-size: 16px;
		width: 205px;
	}
	.mon-panier .item .interactions-panier {
		width: 200px;
	}
}

@media only screen and (max-width: 616px){
	.container {
		width: 100%;
		padding: 0 8px;
	}
	header #panier-cart {
		right: 8px;
	}
	.products .item {
		flex-basis: 50%;
	}
	.recettes .item {
		flex-basis: 50%;
	}
	.fiche .image {
		display: block;
		text-align: center;
		margin: 0 auto 0;
	}
	.fiche .data {
		display: block;
		margin: 20px 0 0 0;
	}
	.mon-panier h1 {
		font-size: 22px;
	}
	.mon-panier #select-tri-panier {
		position: relative;
		margin-bottom: 25px;
	}
	.mon-panier .item {
		padding-bottom: 70px;
	}
	.mon-panier .item .data {
		margin: 8px 0 0 0;
		width: 100%;
	}
	.mon-panier .item .interactions-panier {
		width: 200px;
		float: left;
		margin: 0 0 0 43px;
	}
	.mon-panier .btn-commander-haut {
		position: relative;
		margin: 8px 0 8px 0;
		width: max-content;
	}
	.mon-panier .btn-commander-bas {
		position: relative;
		display: block;
		margin-top: 10px;
	}

	.commander table {
		padding: 0 0 14px 14px;
	}
	.commander table .nom {
		padding: 14px 14px 0 0;
	}
}

@media only screen and (max-width: 420px){
	.products .item {
		flex-basis: 100%;
	}
	.recettes .item {
		flex-basis: 100%;
	}
}