body {
	font-family: 'OpenSans', sans-serif;
}

body {
	margin: 0px;
	color: #4D4039;
}

body.home {
	background-color: #1FA08D;
}

.button {
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    font-size: 16px;
}

.small {
	font-size: 80%;
	margin-top: -12px;
	font-style: italic;
}

a.button {
	display: inline-block;
}

.buttonInline {
	display: inline-block;
	border: none;
	color: #4D4039;
}

.buttonInline:hover {
	color: #1FA08D;
	cursor: pointer;
}

#content {
	margin: 30px 30px;
}

.formtable td {
  padding: 0px 20px;
}

.formtable tr {
  vertical-align: bottom;
}

.listof {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 30px;
  font-size: 90%;
}

.listLegumes {
	text-align: left;
}

.listLegumes.checkboxContainer {
	display: inline;
}

.listof td, .listof th {
  border-bottom: 1px solid #4D4039;
  padding: 10px 5px;
}

.listof th {

  color: #1fa08d;
  border-top: none;
  border-bottom: 2px solid #4D4039;
}

.searchTableHeader td {
	border: none;
}

.listof td {
  text-align: center;
}

.processTable td {
	border-bottom: none;
	border-right: 1px solid #4D4039;
}

.processTable tr {
	display: block
	margin: auto 10px ;
	border: solid 2px #1fa08d;
}

#header {
	background-color: #1fa08d; /*change*/
	position: relative;
	box-shadow: 0 3px 3px 0 rgba(77,64,57,0.4);
}

#breadcrumb {
	padding: 12px 80px 4px 80px;
	border-bottom: 1px solid #4D4039;
}

/* Je sélectionne les <li> du menu horizontal */
ul#menu_horizontal li a {
	display : inline-block;
	padding : 20px 40px; /* Pour espacer les boutons entre eux */
	float: left;
	background-color: #1fa08d;
}

ul#menu_horizontal li {
	display : inline;
}

ul#menu_horizontal li a {
	text-decoration: none;
	color: #fff;
}

ul#menu_horizontal li a:hover {
	background-color: #fff;
	color: #1fa08d;
}

ul#menu_horizontal li a.active {
	background-color: #000;
	color: #1fa08d;
}

ul#menu_horizontal {
	list-style-type : none; /* Car sinon les puces se placent n'importe où */
	position: absolute;
	bottom:0px;
	right: 60px;
	margin: 0;
}

.searchBarContainer {
	margin: 50px 0;
}

.searchBar {
	border: none;
	border-bottom: 2px solid #1fa08d;
	color: #4D4039;
	font-size: 20px;
}

.logInTable input {
	border: none;
	border-bottom: 2px solid #fff;
	background-color: #1FA08D;
	color: #fff;
}

#showPass {
	cursor: pointer;
}

#logo {
	position: absolute;
	top: 50%;
 	transform: translateY(-50%);
	padding-left: 80px;
	color: #fff;
}

.message {
	color: #1fa08d;
}


.newfeature {
	color: #ff9933;
}

.euro::after {
	content: " €"
}

.kilo::after {
	content: " kg"
}

.gramme::after {
	content: " g"
}

.pourcent::after {
	content: " %"
}

.temperature::after {
	content: " °C"
}

.messageError {
	font-family: monospace;
	font-size: 130%;
	color: #e6005c;
}

.messageErrorPHP {
	font-weight: bold;
	color: #e6005c;
}

a {
	text-decoration: none;
	color: #4D4039;
}

a:hover {
	color: #1fa08d;
}

a.disabled {
	pointer-events: unset;
	cursor: not-allowed;
	color: #ccc;
}

a.sent {
	color: #ccc;
}

.icon {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 24px;
}

h2, h4 {
	color: #1fa08d;
}

h1 {
	font-family: 'Handlee', cursive;
	font-size: 36px;
}

h2, h4 {
	font-family: 'Handlee', cursive;
	font-size: 28px;
}

h2 {
	margin-top:50px;
}

.fa-stack { font-size: 0.5em; }
i { vertical-align: middle; }

.subsection {
	display: inline-block;
}

.subsection:hover {
	cursor: pointer;
}

.subsection .inactive:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f138";
	padding-left: 15px;
}

.subsection .active:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f13a";
	padding-left: 15px;
}

.button {
	color: #1fa08d;
	border: solid 1px #1fa08d;
	padding: 10px 20px;
	background-color: #fff;
}

.button:hover {
	color: #fff;
	background-color: #1fa08d;
	cursor: pointer;
}

.button::before, .subsection::after, .button::after, .modal-content p:before, .forbidden::before,
.cooler::before, .freezer::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 10px;
}

.addUserButton::before {
	content: "\f234";
}

#recurButton::before {
	content: "\f017";
}

.editButton::before {
	content: "\f044";
}

.printButton::before {
	content: "\f02f";
}

.resetButton::before {
	content: "\f021";
}

#tagButton::before {
	content: "\f02c";
}

#tableButton::before {
	content: "\f0ce";
}

.phpButton::before {
	content: "\f1c0";
}

.zipButton::before {
	content: "\f1c6";
}


.addButton::before {
	content: "\f055";
}

.saveButton::before {
	content: "\f0c7";
}

.searchButton::before {
	content: "\f002";
}

#substituteButton::before, #subButton::before {
	content: "\f0d0";
}

#simulateButton::before {
	content: "\f074";
}

.sendButton::before {
	content: "\f0e0";
}

#deliverButton::before {
	content: "\f0d1";
}

#temperatureButton::before {
	content: "\f2c9";
}

.removeButton::before {
	content: "\f056";
}

.undoButton::before {
	content: "\f0e2";
}

.pdfButton::before {
	content: "\f1c1";
}

.viewButton::before {
	content: "\f06e";
}

.historyButton::before {
	content: "\f1da";
}


#menuButton::before {
	content: "\f0ca" ;
}

#freezeButton::before {
	content: "\f2dc";
}

#addBatchButton::before, #invoicePayingButton::before {
	content: "\f07a";
}

#invoiceBatchesButton::before, #invoiceBatchesModalButton::before  {
	content : "\f571";
}

#processButton::before {
	content: "\f058";
}

.processButton::before {
	content: "\f085";
}

.floatButton {
	float: right;
	margin-bottom: 30px;
	margin-left: 20px;
}

.trashButton::before {
	content: "\f2ed";
}


.button:disabled {
	border-color: #999;
	color: #999;
	background-color: #fff;
	cursor: not-allowed;
}

.animalCard {
	text-align: center;
	background-color: #fff;
	border: solid 1px #4D4039;
	padding: 20px 20px;
}

.counterCard {
	text-align: center;
	background-color: rgba(31,160,141,0.3);
	color: #fff;
	padding: 60px 20px;
}

.counterCard div {
	font-size: 32px;
	color: #4D4039;
}

.animalCard:hover {
	cursor: pointer;
	box-shadow: 0 0 10px 0 rgba(77,64,57,0.8);
	color: #4D4039;
}

.wrapper {
	margin-top: 30px;
	margin-bottom: 30px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
  	grid-column-gap: 20px;
  	grid-row-gap: 20px;
	background-color: #fff;
}

@media (max-width: 480px)
{
.wrapper {
	grid-template-columns: 1fr	;
}
}


@media (max-width: 960px) and (min-width: 481px)
{
.wrapper {
	grid-template-columns: 1fr 1fr;
}
}



.empty, .delivered {
	color: #999;
}

.cell {
	vertical-align:top;
}

.inlineInput {
	display: inline;
}

.calcTable td {
	border: none;
	padding: 0;
}

.calcTable td.label {
	text-align: right;
}

.calcTable td.input {
	text-align: left;
}

.checkboxContainer .legend {
	font-size: 12px;
}

.supplyMassContainer{
	display: none;
}

.tooSmall {
	color: #e6005c;
}

tr.tooSmall {
	background-color: #e6005c;
	color: #fff;
	font-weight: bold;
}


.forbidden {
	color: #888;
}

.forbidden::before {
	content: "\f056";
}

.allergik {
	background-color: #f4f4f4;
	position: relative;
	background-clip: padding-box;
}

.cell.allergik::after {
	content: "\f056";
  	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	font-size: 60px;
	top: 50%;
	left: 50%;
	opacity: 0.5;
	margin: -45px 0 0 -30px;
}

.achtung::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-right: 10px;
	content: "\f071";
}

.hot {
	color: #ff9933;
}

.cold {
	color: #6666ff;
}

.cooler::before {
	color: #ff9933;
	content: "\f185";
}

.freezer::before {
	color: #6666ff;
	content: "\f2dc";
}

.recapTable td {
	font-size: 150%;
}

.paidCheckbox {
	display: inline !important;
}

.paidYes::after {
	content: "\f571";
	color: #73d724;
}

.completeYes::after {
	content: "\f00c";
	color: #73d724;
}

.paidNo::after {
	content: "\f00d";
	color: #e6005c;
}

.admin, .hidden {
	display: none;
}

.visible {
	display: block;
}


.tablesorter .tablesorter-header:not(.sorter-false) {
	cursor: pointer;
}

.tablesorter .tablesorter-header:not(.sorter-false)::after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	padding-left: 8px;
}

.tablesorter .tablesorter-headerUnSorted:not(.sorter-false)::after {
	content: "\f0dc";
}

.tablesorter .tablesorter-headerDesc::after {
	content: "\f0de";
}

.tablesorter .tablesorter-headerAsc::after {
	content: "\f0dd";
}

.tablesorter-header-inner {
	display: inline;
}

.inline-form {
	margin: 0;
}

#loginContainer {
	display: block;
	margin: 50px auto;
	border: solid 1px #fff;
	padding: 30px;
	width: 400px;
	color: #fff;
	text-align: center;
}

#logoHome {
	display: block;
	margin: 50px auto;
	max-width: 400px;
	text-align: center;
	font-size: 150%;
	color: #fff;
}

.logInTable {
	width: 100%;
	text-align: right;
	margin: 30px auto;
}

.logInTable td {
	padding: 20px 5px;
}

.buttonHome {
	color: #fff;
	border-color: #fff;
	background-color: #1FA08D;
}

.buttonHome:hover {
	color: #1fa08d;
	background-color: #fff;
}

.buttonHome::before {
	content: "\f1b0";
}

#menu {
	position: fixed;
	z-index: 3;
	height: 100px;
	right: 0px;
	top: 0px;
	padding: 32px 40px;
	box-sizing: border-box;
}

.iconMenu:hover,#ideaMenu:hover {
	opacity: 1;
}

.iconMenu {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 60px;
	height: 60px;
	cursor: pointer;
	opacity: 0.7;
	transition: .5s;
}

.hamburger {
	width: 35px;
	height: 4px;
	background-color: #fff;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	box-shadow: 0 2px 5px rgba(0,0,0,.2);
	transition: .5s;
}

.hamburger:before, .hamburger:after {
	content: '';
	position: absolute;
	width: 35px;
	height: 4px;
	background-color: #fff;
	box-shadow: 0 2px 5px rgba(0,0,0,.2);
	transition: .5s;
}

.hamburger:before {
	top: 12px;
}

.hamburger:after {
	top: -12px;
}

.iconMenu.active .hamburger {
	background-color: rgba(0,0,0,0);
	box-shadow: 0 2px 5px rgba(0,0,0,0);
}

.iconMenu.active .hamburger:before {
	top: 0;
	background-color: #fff;
	transform: rotate(135deg);
}

.iconMenu.active .hamburger:after {
	top: 0;
	transform: rotate(45deg);
	background-color: #fff;
}

.hamburger.down, .hamburger.down:before, .hamburger.down:after {
	background-color: #1fa08d;
}

.hamburger.top, .hamburger.top:before, .hamburger.top:after  {
	background-color: #fff;
}

#mySidenav {
	width: 0px;
	z-index: 2;
}

#mySidenav.active {
	width: 250px;
}

.separator {
	height: 10px;
	width: 80%;
	border-bottom: solid 2px #fff;
	opacity: 0.7;
}


.buttonHome {
  position:relative;
  z-index:0;
}

#output a {
	display: block;
}

.supplyItem {
	text-align: left;
	padding: 10px 0;
}

.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0px; /* Stay at the top */
    right: 0;
    background-color: rgba(31, 160, 141, 1); /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
	white-space: nowrap;
    padding-top: 110px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    box-shadow: -3px 0 3px 0 rgba(77,64,57,0.4);
}

/* The navigation menu links */
.sidenav a {
	position: relative;
    padding: 8px 8px 8px 12px;
    text-decoration: none;
    color: #fff;
    opacity: 0.7;
    font-size: 18px;
    display: block;
    transition: 0.3s;
}

.sidenav .icon {
	padding-right: 12px;
	font-size: 20px;
}

i {
	display: inline-block;
	text-align: center;
	width: 20px;
}

/*.sidenav .item:before {
	position: absolute;
	z-index: 2;
	left: 0;
	content: "";
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 12px solid transparent;
	transition: border 0.3s;
}*/

.sidenav .item:hover:before {
	border-left-color: #fff;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
	opacity: 1;
}

/* Position and style the close button (top right corner) */

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-right .5s;

}

.modal {
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.3); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    margin: 10% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 2px solid;
    width: 50%; /* Could be more or less, depending on screen size */
    box-shadow: 5px 5px 25px 3px rgba(77,64,57,0.8);
    background-color: #fff;
}



.errorModal {
    background-color: #e6005c;
    border-color: #e6005c;
    color: #fff;
}

.errorModal p::before {
	content: "\f071";
}

.infoModal {
	background-color: #e3f3f1;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
}

/* The Close Button */
.closeModal {
	opacity: 0.7;
    float: right;
    font-size: 28px;
}

.closeModal:hover,
.closeModal:focus {
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

input {
  padding: 6px;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #1fa08d;
  color: #fff;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

tr.bordered td {
	border-bottom: 1px solid #000;
}

#subTable tbody tr:hover {
	cursor: pointer;
	background-color: #f2f2f2;

}


