@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

:root {
	--c1: #213740;
	--c1c: #fff;
	--c2: #bf0426;
	--c2c: #fff;
	--c3: #f7f7f7;
	--c3c: #000;
	--c4: #e9ecef;
	--c4c: #213740;
}

body {
	font-family: "Poppins", sans-serif;
}

.bg1 {
	background-color: var(--c1);
}
.bg2 {
	background-color: var(--c2);
}
.bg3 {
	background-color: var(--c3);
}
.bg4 {
	background-color: var(--c4);
}
.bg1c {
	background-color: var(--c1c);
}
.bg2c {
	background-color: var(--c2c);
}
.bg3c {
	background-color: var(--c3c);
}

.text1 {
	color: var(--c1);
}
.text2 {
	color: var(--c2);
}
.text3 {
	color: var(--c3);
}
.text1c {
	color: var(--c1c);
}
.text2c {
	color: var(--c2c);
}
.text3c {
	color: var(--c3c);
}
.text4c {
	color: var(--c4c);
}
.text1c:hover {
	color: var(--c1c);
	text-decoration: none;
}

html,
body {
	height: 100%;
}

html {
	scroll-behavior: smooth;
}

body {
	padding-top: 60px;
}

.extrasmall {
	font-size: 10px;
}

.ck.ck-editor {
	flex-grow: 1;
}

.ck-balloon-panel_visible {
	z-index: 1500 !important;
}

@media print {
	/* when printing */
	.order_popup_content {
		background-color: white;
		height: 100%;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		margin: 0;
		padding: 15px;
		font-size: 14px;
		line-height: 18px;
	}
	#loading {
		display: none !important;
	}
	.btn {
		display: none !important;
	}
}

#modal {
	display: flex;
	align-items: start;
	justify-content: center;
	background-color: #00000090;
	padding: 15px;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	overflow: auto;
	z-index: 1200;
	padding-bottom: 100px;
}

#modal .content {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 15px;
	width: 100%;
	position: relative;
	overflow: auto;
	max-width: 1000px;
}

#loading {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #00000090;
	padding: 15px;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: 5000;
}

#loading .content {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
}

#inner_loading {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff90;
	padding: 15px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4000;
}

#inner_loading > div {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
}

#alert {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #00000090;
	padding: 15px;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: 5000;
}

#alert .content {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 15px;
	width: 100%;
	max-width: 400px;
	max-height: 100%;
	overflow: auto;
}

#confirm {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #00000090;
	padding: 15px;
	position: fixed;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: 5000;
}

#confirm .content {
	background-color: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 15px;
	width: 100%;
	max-width: 400px;
}

.table td {
	vertical-align: middle;
	border-right: 1px solid #dee2e6;
}

.table td img {
	max-height: 35px;
	max-width: 100px;
}

#modal img {
	max-width: 100px;
	max-height: 100px;
	margin: 0 10px;
}

.list_ajax .subcategory {
	border-left: 30px solid #eee;
}

.sortable .handle {
	cursor: row-resize;
}

.sortable tr {
	background-color: #fff;
}

.sortable tr:hover {
	background-color: #f7f7f7f7;
}

.times select {
	min-width: 70px;
}

.list_ajax .sep {
	color: #fff;
	background-color: #213740;
	font-weight: bold;
}

.list_ajax .sep td {
	padding: 5px;
}

#notifications {
	position: fixed;
	right: 0;
	top: 100px;
	background-color: #00000095;
	width: 100%;
	max-width: 350px;
	height: calc(100vh - 100px);
	overflow: auto;
	z-index: 1000;
}

#notifications .title {
	background-color: #bf0426;
	color: #fff;
	font-size: 20px;
	text-transform: uppercase;
	padding: 5px 15px;
	text-align: center;
}

#notifications .content {
	padding: 15px;
}

.notification_item {
	display: flex;
	justify-content: space-between;
	background-color: #213740;
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	padding: 10px 20px;
	margin-bottom: 10px;
}

.notification_item a {
	color: #fff;
}

.notification_item a:hover {
	text-decoration: none;
}

.notification_item .icon {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	padding: 5px;
	background-color: #fff;
	margin-right: 10px;
}

.notification_item .icon img {
	max-width: 70%;
	max-height: 70%;
}

.notification_item.orders {
	background-color: #494373;
	color: #fff;
}

.notification_item.reservations {
	background-color: #c2e0f2;
	color: #000;
}

.notification_item.selfordering {
	background-color: #eeeeee;
	color: #000;
}

.notification_item.selfordering a {
	color: #000;
}

#temp_notifications {
	width: 300px;
	position: fixed;
	right: -300px;
	top: 100px;
}

#offline {
	position: fixed;
	bottom: 15px;
	right: 15px;
	background-color: #fff;
	padding: 10px;
}

.small_col {
	max-width: 150px;
}

.input-group {
	flex-wrap: nowrap;
}

.flag {
	padding: 0 5px;
}

.flag > img {
	width: 30px;
	margin: 0 !important;
}

.fixed_head {
	position: relative;
}

.fixed_head thead th {
	position: sticky;
	top: 59px;
	background-color: #fff;
}

.tableFixHead {
	overflow: auto;
	max-height: 300px;
}

.tableFixHead thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background-color: #fff;
}

.variants_tr td {
	border-top: 0;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 12px;
}

.variants_total_tr td {
	border-top: 0;
}

.icon_fas {
	color: #fff;
}

.qr_modal {
	width: 300px;
	height: 300px;
	max-width: 300px !important;
	max-height: 300px !important;
	image-rendering: pixelated;
	margin: auto !important;
	display: block;
}

.qr_buttons_container {
	width: 100%;
	justify-content: center;
}

#assortment .table th {
	font-size: 10px;
	line-height: 16px;
	white-space: normal;
	vertical-align: bottom;
	text-align: left;
	height: 10%;
	width: 50px;
	text-align: center;
}

#assortment .table td .js_true_false_switch i {
	font-size: 16px !important;
}

/* SETTINGS */

#settings_form2 label,
.form-sheet label {
	font-size: 14px;
	line-height: 15px;
	color: #6c757d;
}

#settings_form2 .col-form-label,
.form-sheet label b {
	text-transform: uppercase;
	background-color: #e9ecef;
	padding: 4px 10px;
	color: #494373;
	font-size: 12px;
	border-radius: 5px;
}

#settings_form2 .form-text,
.form-sheet .form-text {
	font-size: 10px;
}

#settings_form2 input,
#settings_form2 select,
.form-sheet input,
.form-sheet select {
	border-top: 0px;
	border-left: 0px;
	border-right: 0px;
	border-radius: 0px;
	border-color: #c2e0f2;
}

#settings_form2 textarea,
.form-sheet textarea {
	border-radius: 0px;
	border-color: #c2e0f2;
}

#settings_form2 .form-group {
	margin-bottom: 3rem !important;
	border-right: 1px solid #eee;
}

.form-sheet .form-group {
	margin-bottom: 2rem !important;
	border-right: 1px solid #eee;
}

.btn-section {
	background-color: #213740;
	color: #fff;
	border-radius: 5px;
}

.btn-section:hover {
	color: #494373 !important;
	background-color: #c2e0f2;
}

.card.settings-box {
	border-radius: 5px;
}
.card.settings-box .card-header {
	background-color: var(--c3);
}

.header-settings .breadcrumb-item a {
	color: #bf0426 !important;
}

.header-settings .breadcrumb {
	border-radius: 5px;
}

.settings-box .description {
	height: 80px;
	overflow: hidden;
	font-size: 12px;
	line-height: 16px;
}

.tabs-sheet .nav-link.active {
	border-color: #213740 #213740 #213740 !important;
	background-color: #213740 !important;
	color: #fff !important;
}

.tabs-sheet .nav-link {
	color: #494373 !important;
	border-radius: 0px !important;
}

.nav-tabs.tabs-sheet {
	border-bottom: 1px solid #494373 !important;
}

#promo h5,
#payment_methods h5,
#self-form h5 {
	background-color: #bf0426;
	color: #fff;
	padding: 3px 10px;
	display: table;
	border-radius: 5px;
}

#promo h6 {
	background-color: #494373;
	padding: 4px 10px;
	color: #fff;
	display: inline-block;
}

#assortment tr:nth-child(1) {
	background-color: #c2e0f2;
}

#assortment tr:nth-child(1) th {
	border-right: 1px solid #fff;
}

.table-responsive.list_ajax thead {
	background-color: var(--c4);
}

.form-filter-input {
	position: relative;
}

.form-filter-input input,
.form-filter-input select {
	border-left: 0px;
	border-right: 0px;
	border-radius: 0px;
}

.form-filter-input label {
	display: block;
	position: absolute;
	font-size: 12px;
	top: -10px;
	background-color: #fff;
	padding-right: 5px;
}

.btn-info {
	background-color: #213740 !important;
	border-color: #213740 !important;
	border-radius: 5px;
}

.btn-danger {
	background-color: #bf0426 !important;
	border-color: #bf0426 !important;
	border-radius: 5px;
}

/*.btn-warning,
.btn-secondary {
    border-radius: 0px;
}*/

#settings_accordion .card {
	border-radius: 0px;
}

#settings_accordion .card-header {
	background-color: #bf0426;
}

#settings_accordion .card-header button {
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
}

.pagination-number .page-item.active .page-link {
	background-color: #494373;
	border-color: #494373;
}

.pagination-number .page-link {
	color: #494373;
	border-top-right-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
}

.pagination-number .page-item.disabled .page-link {
	color: #ccc !important;
}

.fa-google:before,
.fa-app-store:before,
.fa-facebook:before {
	font-family: "Font Awesome 5 Brands" !important;
}

.icon-sett {
	color: #bf0426;
}
.title-inner-section {
	background-color: #213740;
	padding: 10px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	border-radius: 5px;
}
@media (max-width: 768px) {
	.title-inner-section {
		font-size: 22px;
	}
}

.subtitle-inner-section {
	background-color: #494373;
	padding: 5px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.partner_img img {
	height: 30px;
}

.customers_src_popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #00000090;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	z-index: 1110;
}

.customers_src_popup_inner {
	background-color: #fff;
	border-radius: 5px;
	padding: 15px;
	width: 90%;
	max-width: 600px;
}

.customers_src_popup .src_results_content {
	max-height: 300px;
	overflow: auto;
	border: 1px solid #ccc;
	padding: 5px 5px 0 5px;
	min-height: 200px;
}

.customers_src_popup .customer_box {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 5px;
	margin-bottom: 10px;
	display: block;
	text-decoration: none;
	color: #000;
}

.customers_src_popup .customer_box:hover {
	background-color: #000;
	color: #fff;
}

.scroll-box {
	max-height: 400px;
	overflow: auto;
	padding-right: 10px;
}

#lock_alert {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #00000095;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
}

#lock_alert .content {
	background-color: #fff;
	padding: 15px;
	width: 100%;
	max-width: 400px;
	border: 10px solid #bf0426;
	text-align: center;
	border-radius: 5px;
}

#lock_alert .content h3 {
	text-align: center;
	text-transform: uppercase;
}

.order-edit-plus-minus {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.order-edit-plus-minus button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	background-color: var(--c2);
	color: white;
	border: 0;
	font-size: 20px;
}

.order-edit-plus-minus .qty {
	width: 40px;
}

.minipos2 {
	position: fixed;
	top: 20px;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 2000;
	background-color: #fff;
}

.minipos2 iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.home hr {
	margin-top: 5px;
	margin-bottom: 15px;
}

.splitted_covers > div {
	display: grid;
	gap: 10px;
	grid-template-columns: auto 75px 100px;
	align-items: center;
}

.splitted_covers > div > :nth-child(2) {
	text-align: right;
}

.popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	padding: 15px;
	background-color: #00000090;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup .content {
	background-color: #fff;
	padding: 15px;
	width: 100%;
	max-width: 500px;
	border-radius: 5px;
}

.popup .content form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.import-form form {
	display: flex;
	align-items: center;
	gap: 10px;
}

.import-form form input {
	width: auto;
}

.xls-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100dvh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 15px;
	background-color: #00000095;
	z-index: 1200;
}

.xls-popup .content {
	background-color: #fff;
	padding: 15px;
	max-height: 100%;
	overflow: auto;
	width: 100%;
	max-width: 600px;
}

.mobile-container {
	display: flex;
	gap: 10px;
}

.partners-box {
	background-color: var(--c3);
	color: var(--c3c);
	padding: 10px;
	border-radius: 10px;
	margin-bottom: 10px;
}

.partners-box .content {
	background-color: #fff;
	color: #000;
	padding: 10px;
	border-radius: 10px;
}

.days_services {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	text-wrap: nowrap;
	gap: 5px;
}

.plus_minus {
	display: flex;
	align-items: center;
	gap: 3px;
}

.plus_minus button {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	background-color: var(--c2);
	color: var(--c2c);
	flex-shrink: 0;
}

.plus_minus input {
	text-align: center;
}

.table thead th .img {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: center;
	text-align: center;
	font-size: 10px;
}

.table thead th .img img {
	width: 20px;
}

.html-dot {
	font-size: 50px;
	line-height: 20px;
}

.html-dot.success {
	color: #28a745;
}

.html-dot.error {
	color: #dc3545;
}

.expire-box {
	background-color: var(--c2);
	color: var(--c2c);
	padding: 10px;
	font-size: 26px;
	border-radius: 5px;
}

.expire-box span {
	font-weight: bold;
}

.expire-box .small {
	font-size: 12px;
}

.expire-box .counter-container {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 10px;
}

.expire-box .counter-container .counter {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 5px;
	background-color: var(--c1);
	color: var(--c1c);
	padding: 5px;
	border-radius: 5px;
}

.expire-box .counter-container .counter .number {
	font-weight: bold;
	line-height: 28px;
}

@media (min-width: 768px) {
	.expire-box .counter-container {
		justify-content: flex-end;
	}
}

/* COLOR BACKOFFICE ETICHETTE */
.order-status span {
	display: block;
	width: fit-content;
	margin: auto;
	padding: 2px 7px;
	border-radius: 5px;
	border: 1px solid #999;
}
.order-status.awaiting_payment span {
	background-color: #aa6373;
	color: #fff;
}
.order-status.unconfirmed span {
	background-color: #fbb02d;
}
.order-status.cancel_request span {
	background-color: #822e81;
	color: #fff;
}
.order-status.confirmed span {
	background-color: #d9ffdb;
}
.order-status.preparation span {
	background-color: #cbc5ea;
}
.order-status.ready span {
	background-color: #73628a;
	color: #fff;
}
.order-status.delivering span {
	background-color: #84dcc6;
}
.order-status.filled span {
	background-color: #deffff;
}
.order-status.archived span {
	background-color: #bf0426;
	color: #fff;
}

.legend {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 5px;
}

.legend .title {
	font-weight: bold;
}

.legend .item {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 14px;
}

.legend .item .dot {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border-width: 1px;
	border-style: solid;
}

/* scheda ordine */
.order-card .bg-light {
	border-radius: 20px;
	padding: 20px;
	font-size: 12px;
}

.order-card h5 {
	border-bottom: 1px solid #000;
	padding-bottom: 10px;
}
.order-card .table td {
	border-right: 0px;
}

.order-card .total-row {
	font-size: 24px;
	background-color: var(--c4);
}
.order-card .subtotal-row {
	font-size: 16px;
	background-color: var(--c4);
}

.btn-order-ready {
	background-color: #3cb19e !important;
	border-color: #3cb19e !important;
	border-radius: 5px;
}

.child-row {
	background-color: #f7f7f7;
}

.child-row td:first-child {
	border-left: 5px solid #ccc;
}

.parent-row td:first-child {
	border-left: 5px solid #ccc;
}
