@charset "UTF-8";

/*************************
	FONTS
*************************/

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-regular.woff') format('woff'), url("../fonts/roboto-regular.ttf") format("truetype");
	font-weight:normal;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-italic.woff') format('woff'), url("../fonts/roboto-italic.ttf") format("truetype");
	font-weight: normal;
	font-style:italic;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-bold.woff') format('woff'), url("../fonts/roboto-bold.ttf") format("truetype");
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: "Roboto";
	src: url('../fonts/roboto-bolditalic.woff') format('woff'), url("../fonts/roboto-boldItalic.ttf") format("truetype");
	font-weight: bold;
	font-style: italic;
}

/*************************
	JQUERY UI OVERRIDES
*************************/

.modal .ui-autocomplete {
	width: 613px;
	position: relative;
	z-index: 2150000000 !important;
}
/*************************
	BOOTSTRAP OVERRIDES
*************************/

::selection {
  background: #ffa; 
  
}

::-moz-selection  { 
  background: #ffa; 
  
}

body {
	font-family: "Roboto", "Verdana", "Helvetica", "Arial", sans;
	font-size: 100%;
	font-size: 0.9em;
	background-color: #eee;
}

a {
	color:#09f;
	text-decoration: none;
}

a:hover, a:active {
	color:#0af;
	text-decoration: underline;
	transition: 200ms;
}

strong {
	font-weight: bold;
}

h1, h2, h3, h4, h5 {
	color:#555;
}

h1 {
	font-size: 2.4rem;
	margin-bottom: 30px;
}

h2 {
	font-size: 2rem;
	margin-bottom: 30px;
}

h3 {
	font-size: 1.6rem;
	margin-bottom: 15px;
}

h4 {
	font-size: 1.4rem;
	margin-bottom: 15px;
}

h5 {
	font-size: 1.2rem;
	margin-bottom: 15px;
}

hr {
	border:none;
	border-bottom:solid 1px #eee;
	margin: 60px 0px;
}

.btn, .form-control {
	border-radius: 0px;
	-moz-border-radius:0px;
	-webkit-border-radius:0px;
	border: none;
	-webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.3);
	padding:10px;
}

.btn, button, input[type="submit"], input[type="reset"]{
	padding:10px 30px;
}

.btn-primary {
	background-color: #09f;
}

.btn-primary:hover, .btn-primary:active {
	background-color: #0af;
}

.table .thead-dark th {
	border: none;
	background-color: #333;
}

.form-control.is-valid {
	background-color:  rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
	background-color:  rgba(220, 53, 69, 0.25);
}

.dark .is-valid, .dark .is-invalid {
	color: white;
}

/*************************
	NAVIGATION
*************************/

#topmenu {
	background-color: #fff;
	padding: 15px;
	color:#333;
	min-height: 70px;
	max-height: 130px;
}

#topmenu #identity img {
	max-height: 40px;
	display: inline-block;
}

#topmenu .fa {
	font-size: 2.6rem;
}

#topmenu #identity {
	float: left;
}

#topmenu #user, #topmenu #alerts {
	float: right;
	margin-left: 10px;
}

#topmenu #alerts .item {
	float: left;
	padding:0px 5px;
	margin:0px 5px;
	position: relative;
}

#topmenu #alerts .item .badge {
	background-color: #a00;
	color:#fff;
	font-size: 0.6rem;
	height: 18px;
	width:18px;
	border-radius: 9px;
	-moz-border-radius:9px;
	-webkit-border-radius:9px;
	text-align: center;
	position: absolute;
	padding-top: 3px;
	top:0px;
	right:0px;
}

#topmenu #user .icon {
	float: left;
	padding:0px 5px;
}

#topmenu #user .text {
	float: right;
	padding:0px 5px;
}

#mainmenu {
	background-color: #333;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
	
}

#mainmenu a {
	display: block;
	color: #eee;
	padding: 15px;
}

#mainmenu a:hover, #mainmenu a:active {
	color: #fff;
	text-decoration: none;
	background-color: #444;
}

#mainmenu {
	z-index: 9999;
}

#mainmenu ul {
	margin: 0 auto;
	list-style-type: none;
	padding:0px;
	overflow: hidden;
	z-index: 9999;
}

#mainmenu li {
	float: left;
	font-size: 1rem;
}

#mainmenu ul ul {
	position: absolute;
	background-color: #333;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
}

#mainmenu ul ul li {
	float: none;
}
#mainmenu ul ul.mycollapse {

}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #333;
    background-color: #fafafa;
    border-color: #fafafa;
}

.tab-content {
	padding: 30px 30px;
	background-color: #fafafa;
}

/*************************
	PAGE CONTENT
*************************/

.page-content {
	padding: 60px 30px;
}

.page-content.prenotazioni {
	padding: 15px;
}

.page-content .box {
	background-color: #fff;
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	padding:30px;
}

.page-content .box.dark {
	background-color: #333;
	color:#fff;
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.3);
	padding:30px;
}

.page-content .box.dark p, .page-content .box.dark h1, .page-content .box.dark h2, .page-content .box.dark h3, .page-content .box.dark h4, .page-content .box.dark h5 {
	color:#fff;
}

.page-content p, .page-content form, .page-content table, .page-content .box {
	margin-bottom:30px;
}

.actions a {
	margin:0px 5px;
}

tr.default td {
	font-weight: bold;
}

.semaphore {
	display: table;
	width:60px;
	height: 60px;
	color: #fff;
	border-radius: 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	margin-bottom: 60px;
}

.semaphore h3 {
	color: #fff;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.semaphore.green {
	background-color: #080;
}

.semaphore.yellow {
	background-color: #da0;
}
.semaphore.red {
	background-color: #800;
}

.tab-striped {
	background-color: rgba(0,0,0,.05);
}

/*************************
    REDACTOR
*************************/

.rd-non-editable {
	color: rgba(0, 0, 0, .6);
	background: rgba(0, 0, 0, .1);
}

/*************************
    DATEPICKER
*************************/

.datepicker {
	position: relative;
	z-index: 999;
}

/*************************
    MESSAGGI
*************************/

.messages-list {
	background-color: white;
	padding: 0 30px 0 0;
}

.message-preview {
	padding: 15px 5px 15px 15px;
	border-bottom: solid 1px #eee;
	position: relative;
}

.message-preview.active {
	background-color: #007bff;
	color: white;
}

.message-preview.active .message-preview-actions a{
	color: white;
}
.message-preview .message-preview-actions a{
	text-decoration: none;
}

.message-preview.active {
	background-color: #007bff;
	color: white;
}

.message-preview.new {
	background-color: #007bff33;
}

.message-preview-actions {
	text-align: right;
	position: absolute;
	top: 5px;
	right: 5px;
}

.message-preview-content {

}

#message-box {

}

.message-list {
	padding:0px 30px;
	border-left: solid 1px #eee;
	border-right: solid 1px #eee;
}

.deleterecipient {
	color: orangered;
}

#message-select-message {
	margin-top: 50px;
	margin-bottom: 50px;
	padding-left: 30px;
	padding-right: 30px;
	text-align: center;
	font-size: 3em;
	color:darkgrey;
}

.message-notification, .message-notification:hover{
	color: black;
	text-decoration: none;
}

.message-notification-content:hover {
	color: black;
	text-decoration: none;
	background-color: #00aaff55;
	-webkit-transition: width 2s; /* Safari */
	transition: background-color 1s;
}

/*************************
	PRODOTTO
*************************/

.titoloprodotto {
	font-size:2em;
}

.prezzoprodottototale {
	text-align: right;
	font-size: 1.6em;
	font-weight: bold;
}

.prezzoprodotto {
	font-size: 1.6em;
}

.codiceprodotto {
	font-size: 1.6em;
}

.qprodottototale {
	text-align: right;
}

.ordineprodotto form label {
	display: block;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	padding-top: 30px;

}

.ordineprodotto .btn {
	margin-top: 60px;
}

.ordinedaticliente {
	text-align: right;
}

.tag-allergene {
	display: inline;
	padding: 5px 10px;
	margin-right: 10px;
	background-color: azure;
	border: 1px solid azure;
	border-radius: 10px;
	-moz-border-radius: 10px;
}

/*************************
	MENU
*************************/
#menu-composer {
	background-color: white;
	padding: 20px;
}

#search-filters, #search-results{
	width: 70%;
	margin: 0 auto;
}

#search-results {
	padding: 20px;
	max-height: 1200px;
	overflow-y: scroll;
}

#menu {
	padding: 0 15%;
}

.menu-item {
	padding: 10px;
	margin: 10px 0;
	border-style: dotted;
	border-width: 2px;
	border-color: #990033;
}

.menu-item .item-name h4 {
	margin: 15px;
}

.item-thumb img {
	max-height: 50px;
	width: auto;
}

#elements {
	min-height: 700px;
}

.plates {
	padding: 20px;
}

#menu {
	min-height: 700px;
}

#menu .menu-group {
	min-height: 50px;
}

.menu-selection {
	padding: 20px;
	background-color: #eee;
	min-height: 100px;
}

/*************************
	CLIENTI
*************************/
.logo {
	max-height: 350px;
	padding: 20px;
}
.logo-thumb {
	float: left;
	max-height: 40px;
}

#registrazione-cliente {
	padding-top: 30px;
	text-align: center;
}

#ordina {
	background-color: white;
	text-align: center;
	padding: 30px;
}

#elencoPiatti {
	max-width: 700px;
	margin: auto;
}

.evidenziaprenotazione {
	background-color: #f96 !important;
}

/*************************
	LOGIN
*************************/

.page-content.login {
	padding:100px 30%;
}

.page-content.login form {
	margin: 0px;
}

.page-content.login form {
	text-align: center;
}

.page-content.login .box {
	padding:60px;
	max-width:600px;
	margin:0 auto;
}

.page-content.login  #identity {
	text-align: center;
	margin-bottom:30px;
}

/*************************
	CREDITS
*************************/

.credits {
	background-color: #333;
	padding:15px;
	text-align: center;
	font-size: 0.8rem;
	color:#555;
}

/*************************
	MEDIA QUERIES
*************************/

/* DEFAULT STYLE IS FOR LARGE DESKTOP DISPLAYS */

@media screen and (min-width: 1201px) {
	.page-content {
		padding: 30px 300px;
	}
}


/* SMALL DESKTOP DISPLAYS AND TABLET LANDSCAPE*/
@media screen and (max-width: 1200px) {
	.page-content {
		padding: 30px 60px;
	}

}

/* TABLET PORTRAIT AND MOBILE LANDSCAPE*/
@media screen and (max-width: 992px) {
	.page-content.login {
		padding:100px 20%;
	}
}

/* LARGE MOBILE PORTRAIT AND SMALL MOBILE LANDSCAPE*/
@media screen and (max-width: 768px) {
	
	.page-content.login {
		padding:100px 30px;
	}
	
	.page-content.login .box {
		padding: 30px;
	}
	
	.page-content {
		padding: 30px 15px;
	}
	
	.page-content .tab-content {
		padding: 30px 15px;
	}
	
	.page-content .box {
		padding: 30px 15px;
	}
	
	#mainmenu ul.mobilemenu {
		width: 100%;
		transform: translateX(-100%);
		position:absolute;
		top:0px;
		left:0px;
		transition: all 300ms;
		min-height: 1000px;
		display: block;
		z-index: 9999;
	}
	
	#mainmenu ul.notloaded {
		display: none;
	}

	#mainmenu ul.mobilemenu li {
		float: none;
	}

	#mainmenu ul.mobilemenu li.title {
		overflow: hidden;
	}

	#mainmenu ul.mobilemenu li.title h3 {
		padding:15px 0px 0px 15px;
	}

	#mainmenu ul.mobilemenu h3 {
		color:#aaa;
		float: left;
	}

	#mainmenu ul.mobilemenu #mobileBtnClose {
		float: right;
	}

	#mainmenu ul.mobilemenu {
		padding:15px 0px;
		background-color: #333;
	}

	#mainmenu ul.mobilemenu.show {
		transform: translateX(0%);

		width: 100%;
		transition: all 300ms;
	}
	
	#mainmenu ul ul {
		background-color: #3a3a3a;
		position: relative;
		padding:15px;
	}

	
}

/* SMALL MOBILE PORTRAIT*/
@media screen and (max-width: 575px) {
	#topmenu {
		padding:15px 0px;
	}
	
	#topmenu #identity {
		width:100%;
		text-align:center;
	}
}