@import "floating-form-input.css";

@import "button.css";

@import "material-io-custom.css";

html, body, * {
	font-family: "Varela Round", "Helvetica Neue", Helvetica, Arial,
		sans-serif;
	font-size: 12pt;
}

a, a:link, a:focus, a:active {
	text-decoration: none;
	color: #430a08;
}

.footer a {
	font-variant: all-petite-caps;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 2px;
}

.separator {
	font-weight: bold;
	font-variant: all-small-caps;
	font-size: 1.4em;
	color: #0263ff;
	margin-left: -10px;
}

.height-150 {
	height: 150px;
}

.height-auto {
	height: auto;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.equal-grid {
	display: grid;
	align-items: center;
	justify-content: center;
}

.flex fieldset {
	padding: 5px;
	margin: 5px;
	border: none;
	border-radius: 3px;
}

.flex input {
	border: 1px solid #c9c0c0;
	border-radius: 3px;
}

.header {
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
	border: 3px solid #dfd5d5;
	outline: 3px solid #910b7a;
	margin: 6px;
	box-shadow: 1px 1px 15px black;
	border-radius: 3px;
}

.header2 {
	font-size: 1.5rem;
	text-align: center;
	padding: 10px;
	margin-bottom: 10px;
	font-variant: all-petite-caps;
	font-weight: bold;
	letter-spacing: 1px;
	background: #f3f3f3;
}

.header2 .material-symbols-outlined {
	font-size: inherit;
	font-variant: none;
}

.footer-widget {
	border-top: 1px solid #c2a4a4;
	margin-top: 10px;
	padding: 10px;
	border-bottom: 1px solid #c2a4a4;
	margin-bottom: 20px;
	border-radius: 5px;
}

.footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	justify-content: center;
	align-items: center;
	justify-items: center;
	background: #efefef;
}

.highlight {
	background: black;
	color: white;
}

.highlight .ui-state-active {
	background: white !important;
	color: black !important;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pagination .fetch-page {
	margin: 5px;
	padding: 5px;
	outline: 2px solid #7d0000;
	width: 20px;
	height: 20px;
	text-align: center;
	border-radius: 50%;
}

.pagination .current {
	background: #792d2d;
	color: white;
}

.pagination .total-found {
	padding-left: 20px;
	color: #792d2d;
	letter-spacing: 1px;
	font-weight: bold;
	font-variant: all-small-caps;
}

/*
** TOP LEVEL WIDGETS
*/
.full-page-widget {
	display: grid;
	align-items: center;
	grid-template-rows: 0fr 1fr 0fr;
}

.menu-widget {
	display: grid;
	grid-template-columns: 1fr 2fr;
	align-items: center;
}

.top-level-main-menu {
	height: fit-content;
	margin-top: 20px;
}

.top-page-search {
	float: right;
	margin: 20px 20px 20px 0;
	white-space: nowrap;
}

.top-page-search>* {
	vertical-align: middle;
	height: 30px;
}

.cursor-hand {
	cursor: hand;
}

.logo.top {
	position: absolute;
	top: 5px;
}

.logo {
	max-width: 100%;
}

.login-page {
	width: 50%;
	border: 5px solid #dbaf94;
	outline: 5px solid #742c00;
	background: #e8e8e8;
	border-radius: 4px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.loading {
	position: fixed;
	left: 50%;
	top: 50%;
	display: none;
}

.loading .close {
	position: relative;
	float: right;
	color: black;
	background: #ffffff;
	border-radius: 50%;
	cursor: pointer;
}

.loading span:hover {
	color: black;
}

.bold {
	font-weight: bold;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.bottom-border {
	border-bottom: 1px solid black;
}

.top-border {
	border-top: 1px solid black;
}

.padding-left {
	padding-left: 20px;
}

.center-page {
	width: 95%;
	margin: auto auto;
}

.special-icon-link {
	cursor: hand;
}

.remove-element {
	vertical-align: middle;
	align-self: center;
	display: flex;
	border: 1px solid black;
	width: fit-content;
	background: #7119ef;
	color: white;
	padding: 2px;
	border-radius: 3px;
	cursor: hand;
	transition: all 1s;
}

.remove-element:hover {
	background: red;
}

.recipe-element .remove-element {
	opacity: .1;
	cursor: not-allowed;
}

.message-box {
	text-align: center;
	background: #fb8500;
	color: black;
	width: fit-content;
	padding: 10px;
	border-radius: 5px;
	outline: 10px solid #219ebc;
	border: 5px solid #ffb703;
	font-weight: bold;
	user-select: none;
	box-shadow: 3px 3px 10px 12px black;
	margin: auto;
}

.color-patterns>* {
	border-radius: 5px;
}

.color-patterns>*:nth-child(1) {
	background: #ffeee1;
}

.color-patterns>*:nth-child(2) {
	background: #faa461;
}

.color-patterns>*:nth-child(3) {
	background: #d5faff;
}

.color-patterns>*:nth-child(4) {
	background: #FFD06B;
}

.color-patterns>*:nth-child(5) {
	background: #FF766B;
}

.color-patterns>*:nth-child(6) {
	background: #A4D8DF;
}

.color-patterns>*:nth-child(1) input, .color-patterns>*:nth-child(1) textarea,
	.color-patterns>*:nth-child(1) select {
	background: #ffdfc6;
}

.color-patterns>*:nth-child(2) input, .color-patterns>*:nth-child(2) textarea,
	.color-patterns>*:nth-child(2) select {
	background: #ffd8b9;
}

.color-patterns>*:nth-child(3) input, .color-patterns>*:nth-child(3) textarea,
	.color-patterns>*:nth-child(3) select {
	background: #89edff;
}

.color-patterns>*:nth-child(4) input, .color-patterns>*:nth-child(4) textarea,
	.color-patterns>*:nth-child(4) select {
	background: #FFF1D4;
}

.color-patterns>*:nth-child(5) input, .color-patterns>*:nth-child(5) textarea,
	.color-patterns>*:nth-child(5) select {
	background: #FFA29B;
}

.color-patterns>*:nth-child(6) input, .color-patterns>*:nth-child(6) textarea,
	.color-patterns>*:nth-child(6) select {
	background: #156A76;
}

.color-patterns>.submit {
	background: #0060a1;
	margin-top: 10px;
	border: 3px solid white;
	border-radius: 10px;
	outline: 3px solid #77c8ff;
	position: relative;
}

.range-searches {
	display: none;
}

.open-additional-searches {
	padding: 10px;
	cursor: hand;
	margin: 5px;
}

.open-additional-searches span {
	vertical-align: middle;
	padding-left: 10px;
}

.listable {
	border: 1px solid #fb3939;
	padding: 0 5px;
	border-radius: 5px;
	box-shadow: 1px 1px 3px #e27c7c;
	transition: all 1s;
}

.listable:hover {
	background: red;
	color: white;
}

.upload-json {
	height: 100%;
	width: 100%;
	background: #f4f2f2;
}

/**
  * UPLOAD FILE
  */
.upload-files-input {
	display: none;
}

.upload-filelist, .uploaded-filelist {
	margin: 5px;
}

.upload-filelist>div, .uploaded-filelist>div {
	display: grid;
	grid-template-columns: 1fr 1fr .5fr .5fr .5fr;
	padding: 5px 0;
	align-items: center;
	border: 1px solid #edecec;
	margin: 5px 0;
}

.upload-filelist>div>img, .uploaded-filelist>div>img {
	height: 30px;
	width: auto;
	image-orientation: from-image;
	transition: all 1s;
}

.upload-filelist>div>img:hover, .uploaded-filelist>div>img:hover {
	transform: scale(4.5);
	transform-origin: top left;
	z-index: 100;
}

.file-list-file-remove {
	cursor: hand;
}

.result-recipes {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 500px));
	grid-gap: 20px;
	justify-content: center;
	/* 	background: radial-gradient(circle, rgba(81, 178, 227, 1) 0%, */
	/* 		rgba(18, 236, 255, 1) 24%, rgba(29, 142, 228, 1) 57%, */
	/* 		rgba(104, 222, 255, 1) 100%); */
	/* 	border: 3px solid #109ebc; */
	/* 	border-radius: 2px; */
	/* 	outline: 3px solid #2e5a79; */
}

.result-recipes>a {
	text-decoration: none;
}

.result-recipe {
	background-repeat: no-repeat;
	height: 300px;
	background-size: cover;
	border: 3px solid #6c0000;
	background-position: center;
	outline: 3px solid #a65a0e;
	border-radius: 5px;
	text-align: center;
	display: grid;
	align-items: end;
	transition: opacity 2s, outline 0.5s;
}

.result-recipe:hover {
	opacity: 0.7;
	outline: 5px solid black;
}

.result-recipe>.recipe-highlights {
	background-color: #380000c2;
	color: #ffffff;
	border-radius: 2px;
	margin: 10px;
	border: 1px solid #7d6f6f;
	box-shadow: 2px 2px 6px 1px black;
	outline: 1px solid #bf81c5;
	text-shadow: 2px 2px 5px black;
	font-size: 1.2em;
	height: 20%;
	display: grid;
	align-items: center
}

.result-recipe-widget {
	position: relative;
	margin: 10px;
	/* 	box-shadow: 3px 3px 20px black; */
	/* 	background: white; */
}

.edit-recipe {
	position: absolute;
	right: 5px;
	top: 5px;
	color: white;
	background: #862f2f;
	border-radius: 50%;
	padding: 5px;
	border: 1px solid white;
	box-shadow: 2px 2px 3px black;
	z-index: 100;
	right: 45%;
	margin-top: 10px;
}

.edit-recipe:hover {
	background: #612121;
}

.listing-pair {
	text-align: center;
}

.listing-pair>.key {
	font-weight: bold;
	font-size: 1.2rem;
}

/* .recipe-facts { */
/* 	text-align: center !important; */
/* 	display: flex; */
/* } */
.recipe-facts {
	text-align: center !important;
	display: inline-block;
	box-sizing: content-box;
}

.recipe-facts>* {
	display: inline-block;
	vertical-align: top;
}

/* .nutrition-facts { */
/* 	border: 1px solid black; */
/* 	text-align: left; */
/* 	padding: 10px; */
/* } */
.nutrition-facts {
	/* border: 1px solid black; */
	text-align: center;
	/* padding: 10px; */
	width: 50%;
	height: 100%;
	justify-content: center;
	display: inline-flex;
}

.nutrition-data {
	max-width: 400px;
	border: 1px solid black;
	margin: auto auto;
}

.nutrition-title {
	font-weight: bold;
	font-size: 3rem;
	border-bottom: 1px solid black;
}

.nutrition-heavy * {
	font-size: 1.2em;
	font-weight: bold;
}

hr.medium {
	height: 5px;
	color: black;
	background: black;
}

hr.large {
	height: 10px;
	color: black;
	background: black;
}

.dual-equal {
	display: grid;
	grid-template-columns: 1fr 1fr;
	text-align: center;
}

.dual-equal:hover {
	background: #dedede;
}

.dual-equal.no-hover:hover {
	background: none;
}

.recipe-images>img {
	max-width: 40%;
	margin: 5px;
	box-shadow: 3px 3px 10px 0px black;
	min-width: 300px;
}

.main-page .description {
	font-size: 0.8em;
	margin: 10px;
	padding: 10px;
	text-align: justify;
	color: #820000;
	overflow: hidden;
	max-height: 300px;
}

.recipe-category {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 40px;
	background: #fefffe7a;
	color: #620000;
	z-index: 100;
	height: 40px;
	width: 40px;
	border-radius: 50%;
	padding: 5px;
	box-shadow: 1px 1px 9px #ffd6d6;
}

.view-recipe-icon {
	color: #8f2222;
}

.view-recipe {
	display: grid;
	grid-gap: 10px;
	border: 3px solid black;
	padding: 5px;
	border-radius: 10px;
	outline: 3px solid #870000;
	box-shadow: 3px 3px 18px 2px black;
}

.view-recipe p {
	border: none;
	margin-block-start: 0;
	margin-block-end: 0;
}

.view-recipe a, .view-recipe a:link, .view-recipe a:active {
	text-decoration: none;
	font-size: 1.2rem;
}

.view-recipe .connection-details {
	display: inline-block;
	vertical-align: middle;
}

.view-recipe .connection-details>*:first-child {
	font-weight: bold;
}

.view-recipe .connection-details>*:nth-child(2) {
	font-variation-settings: 'wdth' 75;
}

.copy-for-connection {
	width: fit-content;
	float: right;
	position: relative;
	cursor: pointer;
	transition: all 1s;
}

.copy-for-connection:hover {
	background: #870000;
	border-radius: 5px;
	color: white;
}

#to-copy-text {
	z-index: 50000;
	float: right;
	right: 100px;
	position: relative;
}

.view-recipe .recipe-images {
	text-align: center;
}

.view-recipe .title {
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	font-variant: all-petite-caps;
	letter-spacing: 2px;
	background: #870000;
	color: white;
}

.view-recipe .credits {
	border: none;
	text-align: center;
}

.view-recipe .credits>span:first-child {
	padding-right: 5px;
	border-right: 1px solid #f28787;
}

.view-recipe>* {
	text-align: center;
	border: none;
	text-align: left;
	padding: 5px;
	border-bottom: 1px solid #e7e4e4;
	padding-bottom: 10px;
}

.view-recipe .instruction, .view-recipe .ingredient {
	border-bottom: 1px solid #ede9e9;
	padding: 5px 0;
}

.view-recipe .instruction:last-child, .view-recipe .ingredient:last-child
	{
	border-bottom: none;
}

.view-recipe>*:first-child {
	border-radius: 10px 10px 0 0;
	box-shadow: 5px 5px 13px black;
}

.view-recipe>*:last-child {
	border-radius: 0 0 10px 10px;
}

.view-recipe .notes {
	text-align: center;
	font-style: italic;
	color: #0296c9;
}

.healthy {
	position: absolute;
	opacity: 70%;
	z-index: 100;
}

.healthy.sm>img {
	width: 60%;
	height: auto;
}

.view-recipe>*>*:nth-child(2):not(span, ul) {
	margin-left: 20px;
}

.view-recipe .auto-fit {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	grid-gap: 10px;
	background: beige;
}

.view-recipe .clean {
	background: none;
	border: 3px solid #caadad;
	outline: 3px solid #8e0000;
	margin: 5px;
	border-radius: 5px;
	box-shadow: 1px 1px 20px #ba1414;
}

.view-recipe .connection {
	margin-bottom: 10px;
	border: 1px solid #6e6161;
	padding: 5px;
}

.connection>* {
	padding-right: 10px;
}

.connection:hover {
	background-color: #eee9e9;
}

.view-recipe>fieldset legend {
	font-weight: bold;
	font-variant: all-petite-caps;
	letter-spacing: 2px;
	font-size: 1.5em;
	color: #030079;
}

.fraction-whole {
	padding-right: 2px;
}

.fraction-numerator {
	font-size: 70%;
	vertical-align: 0.7ex;
}

.fraction-denominator {
	font-size: 70%;
	vertical-align: -0.3ex;
}

.admin-main-widget {
	height: 100%;
}

.admin-menu {
	border: 3px solid black;
	outline: 3px solid #e4aeae;
	border-radius: 4px;
	box-shadow: 1px 1px 15px black;
	margin-bottom: 20px;
}

.admin-menu>ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	column-gap: 10px;
	justify-content: center;
}

.admin-menu ul a, .admin-menu ul a:link, .admin-menu ul a:visited {
	text-decoration: none;
	color: var(--default-color);
}

.user-information {
	display: grid;
	grid-template-columns: .5fr 1fr 1fr 1fr;
	text-align: center;
	margin-top: 5px;
	padding: 3px;
}

.user-information:nth-child(even) {
	background: #F9FBE7;
}

.user-information:nth-child(odd) {
	background: #F0EDD4;
}

.user-information .user-manage>i:hover {
	color: #702e2c;;
}

/**
 * LIGHT SLIDER
 */
.recipe-images {
	max-width: 500px;
	height: auto;
	margin: auto;
	transition: all 2s;
}

.recipe-images ul {
	list-style: none outside none;
	padding-left: 0;
	margin-bottom: 0;
}

.recipe-images li {
	display: block;
	float: left;
	cursor: pointer;
}

.recipe-images img {
	display: block;
	height: auto;
	max-width: 100%;
}

.recipe-image.large {
	display: block;
	width: 90vmin;
	margin: auto;
}

img.sm {
	width: 100px;
	vertical-align: middle;
	border-radius: 10px;
}

.lSAction>* {
	background: black;
	opacity: 1 !important;
	border-radius: 50%;
	box-shadow: 0px 0px 6px 6px white;
}

@media ( max-width : 1250px) {
	.menu-widget {
		grid-template-columns: 2fr 1fr;
	}
	.login-page {
		width: 90%;
	}
	.center-page {
		width: 100%;
	}
	.nutrition-facts {
		text-align: center;
		height: 100%;
		padding-top: 10px;
		margin-left: auto !important;
		display: block;
		width: 100%;
	}
}