/* ============================================ */
/* MenuMaster - main styles                     */
/* ============================================ */

* {
  	box-sizing: border-box;
  	font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
  	/*font-size: 16px;*/
  	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
}
body {
  	background-color: #435165;
}

body.loggedin {
	background-color: #f3f4f7;
}

table, th, td {
	/*border: 1px solid red;*/
	border-collapse: collapse;
}

.modal {
	max-width:800px !important;
}

/* ============================================ */
/* CONTENT (tabs)                               */
/* ============================================ */

.content {
	width: 100%;
	margin: 0 auto;
}

/* ============================================ */
/* LOGIN                                        */
/* ============================================ */

.login {
  	width: 400px;
  	background-color: #ffffff;
  	box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  	margin: 100px auto;
}
.login h1 {
  	text-align: center;
  	color: #5b6574;
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
}
.login form {
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
  	padding-top: 20px;
}
.login form label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #3274d6;
  	color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  	width: 310px;
  	height: 50px;
  	border: 1px solid #dee0e4;
  	margin-bottom: 20px;
  	padding: 0 15px;
}
.login form input[type="submit"] {
  	width: 100%;
  	padding: 15px;
 	margin-top: 20px;
  	background-color: #3274d6;
  	border: 0;
  	cursor: pointer;
  	font-weight: bold;
  	color: #ffffff;
  	transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
	background-color: #2868c7;
  	transition: background-color 0.2s;
}

/* ============================================ */
/* NAV TOP                                      */
/* ============================================ */

.navtop {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
	padding: 20px;
}
.navtop div {
	display: flex;
	margin: 0 auto;
	height: 100%;
}
.navtop div h1, .navtop div a {
	display: inline-flex;
	align-items: center;
}
.navtop div h1 {
	flex: 1;
	font-size: 24px;
	padding: 0;
	margin: 0;
	color: #eaebed;
	font-weight: normal;
}
.navtop div a {
	padding: 0 20px;
	text-decoration: none;
	color: #c1c4c8;
	font-weight: bold;
}
.navtop div a i {
	padding: 2px 8px 0 0;
}
.navtop div a:hover {
	color: #eaebed;
}
.navtop a.selected_item {
	color: #eaebed;
	font-size: 125%;
	cursor: default;
}

/* ============================================ */
/* NAV BOTTOM                                   */
/* ============================================ */

.navbottom {
	background-color: #2f3947;
	height: 60px;
	width: 100%;
	border: 0;
}
.navbottom div {
	display: flex;
	margin: 0 auto;
	height: 100%;
}
.navbottom div p, .navtop div a {
	display: inline-flex;
	align-items: center;
	color: #c1c4c8;
	padding: 0;
	padding-left: 20px;	
}

/* ============================================ */
/* CALENDRIER                                   */
/* ============================================ */

th.menu-table,td.menu-table {
	border: 1px solid #2f3947;
	text-align:center;
}
div.calendar-container {
	margin-top: 10px;
	margin-bottom: 5px;
	margin-right: 5px;
	margin-left: 0px;
}
div.config-container {
	margin-top: 10px;
	margin-bottom: 5px;
	margin-right: 0px;
	margin-left: 5px;
	height:292px;
}		
div.menu-container {
	margin-top: 5px;
	margin-bottom: 10px;
	margin-right: 0px;
	margin-left: 0px;	
}		
div.calendar-container,div.config-container {
	border: 1px solid #2f3947;
}
div.calendar-container,div.config-container,div.menu-container {
	background-color: #dee0e4;
}
th.jour,td.jour {
	width:90px;
}
th.prenom {
	width:60px;
	font-size:75%;
}
input[type='number']{
    width: 50px;
}
th.remarques,td.remarques {
	width:200px;
}
th.menus,td.menus {
	/*width:100%;*/
}
textarea.remarque_menu {	
	width:100%;	
	background-color: transparent;
}
td.remarque_menu {
	padding: 7px;
}

select.combo-recette {
	float:left;
	margin-bottom:3px;
	margin-right:3px;
}

td.noon {
	background-color: #FFFFFF;
}

.hide {
	visibility:hidden;
}

td.locked {
	pointer-events:none;
	/* https://online-free-tools.com/fr/css_generateur_motif_pattern_background */
    background: linear-gradient(-45deg, #dee0e4 12.5%, #fff 12.5%, #fff 37.5%, #dee0e4 37.5%, #dee0e4 62.5%, #fff 62.5%, #fff 87.5%, #dee0e4 87.5%);
    background-size: 33px 33px;
    background-position: 50px 50px;
    opacity:0.5;
}

/* ============================================ */
/* CALENDRIER / RECETTE - config                */
/* ============================================ */

input.checkboxstyled {
	margin-left:21px;
	margin-right:10px;
	accent-color:black;
}
label.checkboxstyled {
	font-weight: bold;
}

a.link_without_href {
	cursor:pointer;
}

.config-container a {
	padding: 0px 20px;
	text-decoration: none;
	color: #2f3947;
	font-weight: bold;
}
.config-container a i {
	padding: 20px 8px 0 0;
}
.config-container a:hover {
	color: #000000;
}

.option-container a {
	padding: 0px 20px;
	text-decoration: none;
	/*color: #2f3947;*/
	font-weight: bold;
}
.option-container a i {
	padding: 20px 8px 0 0;
}
.option-container a:hover {
	color: #000000;
}