/*
 * Lucien Le Roux - 13/04/17
 */

@font-face {
	font-family: 'Hylia Serif';
	src: url('fonts/HyliaSerifBeta-Regular.otf') format('opentype');
}

body {
	font-family: 'Open Sans', 'Arial', sans-serif;
	background-image:url('../img/bg-black.png');
}

#wrapper {
	margin: 0 auto;
	padding: 30px;
	width: 80%;
	overflow: hidden;
	background-color: #c39b6d;
	background-image: url('../img/lightpaperfibers.png');
	border-radius: 25px;
}

header {
	padding: 10px;
	font-size: 5vmin;
	color: #f9f3ef;
	text-align: center;
	font-family: 'Hylia Serif', 'Open Sans', 'Arial', sans-serif;
	border-bottom: 1px solid #000;
}
.navbar {
	display: flex;
	border-bottom: 1px solid #000;
	margin: 0;
	padding: 0;
}
.navbar-item {
	flex: 1;
	padding: 10px;
	list-style: none;
	text-align: center;
}
.navbar-item a {
	color: inherit;
	text-decoration: none;
}
.navbar-item:hover {
	background-color: #af8b62;
}

/* SQ */
.sq {
	display: inline-block;
	margin: 1px;
	color: #60a97d;
	background: rgba(0, 0, 0, 0.75);
	border: 5px solid rgba(0, 0, 0, 0.25);
	border-radius: 4px;
}
.sq-mini {
	width:	5vmin;
	height:	5vmin;
}
/* SQ Tooltip */
.sqTooltip {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 4px;
	padding: 10px;
	transition: opacity 0.25s;
}
.sqTooltipHeader {
	font-size: 4vmin;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	margin-bottom: 5px;
	font-style: italic;
}
.sqTooltipContent {
	font-size: 2.5vmin;
}
.sqTooltipContent a {
	color: #c39b6d;
}
.sq:hover .sqTooltip {
	visibility: visible;
	opacity: 1;
}
/* SQ Separator */
.sqSeparator {
	font-size: 5vmin;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	margin-bottom: 5px;
	font-style: italic;
	text-transform: capitalize;
}
.sqSeparator::before {
	content: '■ ';
}

/* Special sq's */
.ing {
	width:	10vmin;
	height:	10vmin;	
}
.ing img {
	width:	100%;
	height:	100%;
}
.cross {
	width:	10vmin;
	height:	10vmin;	
	border-radius: 50%;
	background: rgba(255, 0, 0, 0.75);
}
.cross img {
	width:	100%;
	height:	100%;
}

/* Queue */
#ingredients {
	margin: 10px 0;
	display: flex;
	justify-content: space-around;
}
#ingredients .sq {
	
}

/*** Dish ***/
/* Dish (Large) */
.dish-lg {
	margin: 10px 0;
	padding: 10px;
	border: 1px black solid;
	background: #f9f3ef;
}
.dish-lg .dishHeader {
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
	margin-bottom: 5px;
}
.dish-lg .dishImage img {
	width: 80px;
	height: 80px;
}
.dish-lg .dishTitle {
	font-size: 40px;
	font-style: italic;
	font-weight: bold;
	text-transform: capitalize;
}
.dish-lg .dishDesc {
	font-size: 20px;
	font-style: italic;
}

/* Dish (Small) */
.dish-sm {
	margin: 5px 0;
	padding: 5px;
	border: 1px black solid;
	background: #f9f3ef;
}
.dish-sm .dishHeader {
	border-bottom: 1px solid rgba(0, 0, 0, 0.5);
	margin-bottom: 2px;
}
.dish-sm .dishImage img {
	width: 40px;
	height: 40px;
}
.dish-sm .dishTitle {
	font-size: 20px;
	font-style: italic;
	font-weight: bold;
	text-transform: capitalize;
}
.dish-sm .dishDesc {
	font-size: 16px;
	font-style: italic;
}

/* Dish (general) */
#dishEffect img {
	vertical-align: middle;
}
#dishCertified i {
	color: #e5c100;
}

/* Control Panel */
#ctl {
	margin: 10px 0;
}

/* Ingredient List */
#ingredientList {
	margin: 10px 0;
}

/* Tables */
.table-wrapper {
	overflow-x: scroll;
}
table {
	margin: auto;
	text-align: center;
	border-collapse: collapse;
}
table tr {
	background-color: rgba(255, 255, 255, 0.5);
}
table tr:hover {
	background-color: #e5bd8f;
}
table th {
	background-color: #c39b6d;
	font-weight: bold;
}
th, td {
	padding: 5px;
	border-bottom: 1px #aeaeae solid;
}

/* Custom popup */
.popup-overlay {
	position: fixed;
	/* Take up the whole screen */
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease-out;
	overflow-y: scroll;
}
.popup {
	margin: 75px auto;
	padding: 20px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
	background-color: #fff;
	background-image: url('../img/lightpaperfibers.png');
	width: 70%;
}
.noscroll {
	overflow-y: hidden;
}
