/* DEFINES */

:root {
    --primary-color: #000;
    --secondary-color: #fff;
}
/* Override for .admin context */
.admin {
    --primary-color: #12275D;
    --secondary-color: #FF6347;
  }

/* IMPORT */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

p.appname {
	text-align: center;
	margin-top: 20px;
	font-size: 22px;
	font-weight: 700;
	color: #333;
	text-transform: uppercase;
}
p.appname span {
	display: inline-block;
	background: #eee;
	border-radius: 5px;
	padding: 2px 10px;
	color: var(--secondary-color);
	font-size: 16px;
	margin-left: 5px;
	vertical-align: middle;
    text-transform: none;
}

/* LAYOUT */

iframe {
    display: none;
}

* {
    box-sizing: border-box;
    transition: all 200ms;
}
.container {
    /* overflow-x: hidden; */
    width: 100%;
}
img {
    max-width: 100%;
}
.content {
    padding: 0 !important;
    padding-bottom: 40px !important;
    margin-top: 70px;
}
.content.noMargin {
    margin-top: 0;
    max-width: 100%;
}
.stats_wrapper .stats_chart_col {
    min-width: 0;
}
.calendar_day_header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.calendar_day_header_voucher_btn {
    font-size: 11px !important;
    line-height: 1.1 !important;
    padding: 3px 6px !important;
    white-space: nowrap;
}
.front_content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0 100px !important;
    margin: 0 !important;
    /* min-height: 100vh; */
}
.col.first {
    padding-left: 0 !important;
}
.col.last {
    padding-right: 0 !important;
}
.clear {
    clear: both;
    display: block;
    float: none;
    min-height: 1px;
    width: 100%;
}

.page_title {
    background: #fff;
    margin-bottom: 0;
    padding: 10px;
    /* margin-top: 40px !important; */
}
.page_title #logo {
    height: 60px;
    float: left;
}
.page_title.help {
    background: #d90000;
}
h1 .left_btn {
    margin-right: 20px;
    vertical-align: middle;
}
.page_title h1 {
	color: var(--primary-color);
	font-size: 40px;
	font-weight: 700;
	margin: 5px 0 0;
	padding: 0;
	text-align: left;
	text-transform: uppercase;
}
.admin .page_title h1 {
    margin: 15px 0 -10px;
}
.admin .page_title h1 span {
    color: var(--secondary-color);
}
.front_content .page_title h1 {
    text-align: right;
}
.content:not(.admin) .page_title h1 {
    float: right;
}
#subheader {
    background: var(--primary-color);
    color: #fff;
    margin-bottom: 30px;
    padding: 10px 0 0;
    text-align: center;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 99999;
}
#subheader > .col {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#subheader h2.with_count {
    padding-bottom: 0;
}
#countdown {
	background: rgba(255,255,255,.1);
	padding: 10px 20px;
	text-transform: uppercase;
	line-height: 1;
	margin-bottom: 0;
	font-size: 18px;
}
#countdown svg {
    display: inline-block;
    margin: -3px 3px 0 0;
    vertical-align: middle;
}
#countdown span:not(.subtext) {
    display: inline-block;
    border-bottom: 1px dotted #fff;
    padding-bottom: 5px;
    margin-bottom: 5px;
}
#countdown span.subtext {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    text-transform: none;
}

/* FOOTER */

#footer {
    background: var(--secondary-color) !important;
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 100;
    max-width: 100%;
    transform: translateX(-50%);
}
#footer * {
    color: #fff;
}
#footer p {
    margin: 0;
}
#footer a {
    text-decoration: none;
}

@media all and (max-width: 480px) {
    #footer {
        padding: 10px 10px 10px 0 !important;
    }
    #footer * {
        padding: 0 !important;
    }
    #footer p {
        font-size: 12px;
        line-height: 1.2;
        text-align: right;
    }
    #footer p b {
        display: block !important;
        font-weight: 600 !important;
    }
    #footer p svg {
        float: left !important;
    }
}

@media all and (max-width: 1024px) {
    .stats_wrapper {
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .stats_wrapper .stats_chart_col {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }
    .stats_wrapper .apexcharts-canvas,
    .stats_wrapper .apexcharts-svg,
    .stats_wrapper .apexcharts-inner,
    .stats_wrapper .apexcharts-legend {
        max-width: 100% !important;
    }
}

/* TYPOGRAPHY */

/* p {
    font-family: "PT Sans", sans-serif;
} */
body, h1, h2, h3, h4, h5, h6, p, span {
    font-family: Exo,sans-serif !important;
}

/* HTML EDITOR */

.rdw-editor-wrapper {
	box-sizing: content-box;
	background: #fff !important;
	border: 1px solid #ddd !important;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.rdw-editor-toolbar {
    background: #eee !important;
}
.rdw-option-wrapper {
	border: 1px solid #ddd !important;
	padding: 5px 8px !important;
	height: 30px !important;
	border-radius: 5px !important;
	margin: 0 2px !important;
}
.rdw-editor-main {
	padding: 0 10px !important;
}

/* CALENDAR */

.event-container {
    position: relative;
}
.event-title {
	width: 100% !important;
	/* border: 1px solid red; */
	/* height: 15px !important; */
	font-size: 12px !important;
	overflow: hidden !important;
}
.event-percentage {
	border-radius: 3px;
	background-color: #fff;
	color: #333;
    display: inline-block;
	font-size: 12px;
    margin: 0 2px 0 0;
	padding: 0 3px;
	position: relative;
	max-width: 55px;
    width: auto;
}
.event-icon svg {
    font-size: 12px !important;
    margin: 0 !important;
}
.fc-event .fc-event-main .event-container .event-percentage * {
    color: #111 !important;
}
.fc-view-harness {
    max-height: 600px;
}
.fc-header-toolbar + .fc-view-harness {
    max-height: 10000px !important;
}

.fc-event {
    background: var(--primary-color);
    border: 0;
    cursor: pointer;
    padding: 1px 3px;
}
.front_content .fc-timegrid-event,
.front_content .fc-timegrid-event .fc-event-main,
.front_content .fc-timegrid-event .fc-event-main-frame {
    overflow: visible;
}
.front_content .slot-event-content {
    min-height: 100%;
    padding-top: 8px;
    position: relative;
}
.front_content .slot-event-time,
.front_content .slot-event-title {
    display: block;
    line-height: 1.15;
}
.front_content .slot-event-time {
    font-size: 11px;
    font-weight: 700;
}
.front_content .slot-event-title {
    font-size: 12px;
    overflow: hidden;
}
.front_content .slot-occupation-badge {
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    left: 5px;
    line-height: 1;
    padding: 4px 7px;
    position: absolute;
    text-align: center;
    text-transform: uppercase;
    top: 0;
    transform: translateY(-70%);
    white-space: nowrap;
    z-index: 2;
}
.front_content .slot-occupation-badge::first-letter {
    font-size: 14px;
}
.front_content .slot-occupation-badge.sold-out {
    background: #111;
    color: #fff;
}
.front_content .slot-occupation-badge.last-seats {
    background: #B22222;
    color: #fff;
}
.front_content .slot-occupation-badge.highly-requested {
    background: #FDDB5C;
    color: #111;
}
.front_content .fc-event:hover {
    background: var(--secondary-color);
    border: 0;
}
/* Keep short events inside the height allocated by FullCalendar. */
.readable-calendar .fc-timegrid-event,
.readable-calendar .fc-timegrid-event .fc-event-main {
    overflow: hidden;
}
.readable-calendar .event-container,
.readable-calendar .slot-event-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    line-height: 16px;
}
.readable-calendar .calendar-event-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 4px;
    min-width: 0;
}
.readable-calendar .event-title {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    line-height: 14px;
}
.readable-calendar .event-title span,
.readable-calendar .event-time,
.readable-calendar .slot-event-title,
.readable-calendar .slot-event-time {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.readable-calendar .event-time,
.front_content .readable-calendar .slot-event-time {
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.readable-calendar .event-title svg {
    flex-shrink: 0;
}
.readable-calendar .event-counters {
    display: flex;
    gap: 3px;
    white-space: nowrap;
}
.readable-calendar .event-percentage {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    max-width: none;
    margin: 0;
    line-height: 16px;
}
.front_content .readable-calendar .slot-event-title {
    line-height: 14px;
}
.front_content .readable-calendar .slot-occupation-badge {
    position: static;
    transform: none;
    align-self: flex-start;
    order: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    padding: 2px 4px;
    line-height: 12px;
    box-shadow: none;
}
.front_content .readable-calendar .slot-occupation-badge::first-letter {
    font-size: inherit;
}
.fc-col-header-cell-cushion {
    color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
}
.fc-timegrid-slots td {
    border-right: 1px solid #555;
}
.fc-col-header th {
    border: 0;
    border-bottom: 1px solid #555;
    font-size: 18px;
}
.disabled-event {
    pointer-events: none; /* Prevent clicks */
    background-color: #aaa; /* Gray background */
    color: #888888; /* Gray text */
    opacity: 0.6;
}
.admin .fc-event:hover {
    border: 1px solid #aaa !important;
    opacity: .8 !important;
}
.admin .fc-event:hover * {
    /* color: #fff !important; */
}

@media all and (max-width: 1200px) and (orientation: landscape) {
    /* HOME */
    .init_box {
        width: 100% !important;
        margin: 10vh auto !important;
        padding: 10vh 10px !important;
        font-size: 24px !important;
        line-height: 1.4 !important;
    }
    /* CALENDAR */
    .front_content .fc-col-header th {
        font-size: 16px !important;
    }
    .front_content .fc-col-header-cell.fc-day.fc-day-today * {
        font-size: 16px !important;
    }
    .front_content .fc-timegrid-event, .fc-timegrid-more-link {
        font-size: 9px !important;
    }
    .front_content .alert {
        background: #f4d975 !important;
        padding: 5px 10px !important;
        border-radius: 15px !important;
        font-size: 13px !important;
        margin: 0 0 0 !important;
        line-height: 1.2 !important;
    }
    .front_content .alert a {
        display: block !important;
    }
}

.reminder_slot {
    background: #ce1414;
}
.reminder_slot .event-title .event-icon svg {
	font-size: 20px !important;
	display: block;
	margin: 0;
	position: absolute !important;
	right: 0px;
	top: 50%;
	transform: translateY(-50%);
	opacity: .8;
}

.occ_zero {
    background: #54bc85;
}
.occ_zero * {
    color: #fff !important;
}
.occ_zero .event-percentage {
    color: #333 !important;
}
.occ_low {
    background: #FFEB84;
}
.occ_low * {
    color: #333 !important;
}
.occ_medium {
    background: #FFB84D;
    color: #333;
}
.occ_medium * {
    color: #333 !important;
}
.occ_high {
    background: #FF6347;
}
.occ_veryhigh {
    background: #B22222;
}
.occ_full {
    background: #440000;
}

.fc-day-today {
	background: #FF6347;
}
.fc-col-header-cell.fc-day.fc-day-today * {
    font-size: 20px !important;
	font-weight: 800;
    color: #fff !important;
}

#selected_dates li {
	list-style-type: none;
	background: #555;
	color: #fff;
	display: inline-block;
	margin: 0 5px 5px 0;
	font-size: 14px;
	padding: 3px 10px;
	border-radius: 10px;
}

.slot_person_wrapper {
    display: inline-block;
    margin: 0 5px 0 0;
}
.slot_person {
    display: inline-block;
    width: 15px;
    height: 25px;
    margin: 0 1px 0 0;
    border-radius: 5px;
}
.slot_person.occ {
    background: #B22222;
}
.slot_person.disp {
    background: #54bc85;
}

.admin_detail {
    background: #ddd;
    margin: 20px 0 !important;
    padding: 20px;
    border-radius: 20px;
    position: relative
}
.admin_detail.with_title {
    padding-top: 45px;
}
.admin_detail.with_title h4 {
    background: #12275D;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 5px 20px;
    font-size: 20px;
}
.admin_detail.with_title.voucher {
    background: #c5e0c6;
}
.admin_detail.with_title.voucher h4 {
    background: green;
    color: #fff;
}
.admin_detail.with_title.deleted {
    background: #f2cdcd;
}
.admin_detail.with_title.deleted h4 {
    background: #f04040;
    color: #fff;
}
.admin_detail.with_title.moved {
    background: #f4d975;
}
.admin_detail.with_title.moved h4 {
    background: #dbac11;
    color: #fff;
}
.admin_detail b.mini {
	font-size: 15px;
	line-height: 1.2;
	padding-left: 5px;
	display: inline-block;
	margin-top: 3px;
	border: 0;
	width: calc(100% - 30px);
	vertical-align: top;
}

/* VARIE */

[id*="react-select"], [id*="react-select"] *, [class*="menu"], [class*="menu"] * {
    z-index: 99999 !important;
}

.front_content > .row:not(#subheader),
.front_content .custom_form > .panel {
    max-width: 90% !important;
    margin: 0 auto !important;
}

.front_content .panel label span {
    font-weight: 400;
    font-size: 14px;
}
@media all and (max-width: 480px) {
    .front_content .panel label span,
    .front_content .panel p.alert a b {
        display: block;
        line-height: 1;
    }
}

.hint_link {
	background: var(--primary-color);
	color: #fff;
    cursor: pointer;
	text-decoration: none;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 8px;
	margin: 15px auto 0;
	display: block;
	width: 200px;
	text-align: center;
	line-height: 1;
}

p.hint {
	background: #f7f1c8;
	font-size: 12px;
	line-height: 1;
	padding: 5px 5px 5px 28px;
	border-radius: 12px;
	position: relative;
	font-weight: 600;
	margin: -8px 0 5px;
}
p.hint.alt {
	margin: 0 0 -5px;
}
p.hint svg {
	position: absolute;
	left: -3px;
	top: 50%;
	transform: translateY(-50%);
	color: #333;
}

.alert {
	background: #f4d975 !important;
	padding: 5px 15px !important;
	border-radius: 15px !important;
	font-size: 16px !important;
	margin: -10px 0 0 !important;
}
.alert a, .alert b {
    color: var(--primary-color);
    text-decoration: none;
}

.panel {
    background: #eee;
    display: block;
    clear: both;
    padding: 20px;
    border-radius: 25px;
}
.admin .panel {
    background: #eee;
    border-radius: 20px;
}
.panel.first {
    border-bottom: 5px solid #aaa;
    padding: 20px 20px 0;
    font-size: 1.2em;
}
.panel input[type=text],
.panel input[type=email],
.panel input[type=number],
.panel input[type=date],
.panel input[type=password],
.panel input[type=color],
.panel select,
.panel textarea {
    background: #fff !important;
    border: 0;
    padding: 5px 15px;
    border-radius: 10px;
    width: 90%;
}
.admin .panel input[type=text],
.admin .panel input[type=email],
.admin .panel input[type=number],
.admin .panel input[type=password],
.admin .panel input[type=color],
.admin .panel select,
.admin .panel textarea {
    border: 1px solid #ddd;
}
.admin input[type=color],
.admin .panel input[type=color] {
    max-width: 100px !important;
    display: block !important;
    min-height: 45px !important;
}
.panel input[type=checkbox] {
    cursor: pointer;
    display: inline-block;
    margin-right: 5px;
}
.panel label {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}
.voucher_panel {
    text-align: center;
}
.voucher_panel h2 {
    color: var(--secondary-color);
}
.voucher_panel p {
    color: #555;
    margin: 0 0 5px;
}
.voucher_panel p b {
    color: var(--secondary-color);
}
.voucher_input {
    text-transform: uppercase;
}

.paylink_info .panel {
    border-left: 3px solid #999;
    margin-bottom: 10px;
    position: relative;
}
.paylink_info .panel .icon_wrapper {
	position: absolute;
	left: -1px;
	top: 0;
	font-size: 22px;
	z-index: 10;
	background: #999;
	padding: 8px;
	border-top-left-radius: 25px;
	color: #fff;
	border-bottom-right-radius: 10px;
}
.paylink_info .panel table tr td {
	padding: 3px 5px !important;
	text-align: left !important;
	width: 50% !important;
	border-bottom: 1px dotted #777;
}
.paylink_info .panel table tr td:first-of-type {
    text-align: right !important;
    width: 33.33% !important;
    border-bottom: 0;
}
.paylink_info .panel table tr td:first-of-type,
.paylink_info .panel table tr td:first-of-type b {
    font-size: 16px !important;
}

p#amount {
    font-size: 40px;
    font-weight: 800;
}
#agreement_box {
    float: right;
}
#agreement_box a {
    color: var(--secondary-color);
}
#pay_btn {
	display: block;
	position: absolute;
	right: 0;
	width: 320px;
	margin-top: 45px;
}

#persons_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: normal;
    align-items: normal;
    justify-content: center;
    gap: 15px 35px;
}
.person_row {
    background: #ddd;
    display: block !important;
    padding: 35px 10px 25px !important;
    border-radius: 20px;
    float: left !important;
    /* flex-grow: 1; */
    position: relative;
}
.person_row p {
    background: #333;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    text-align: center;
    margin: 0 0 5px !important;
    width: 100%;
    padding: 5px 10px;
    vertical-align: middle;
}
.person_row p.client_type {
    padding: 5px 20px;
    /* position: relative; */
}
.person_row p.client_type span.type {
    display: block;
    text-align: left;
    width: 100%;
    padding-right: 80px;
}
.person_row p.client_type span.price {
    background: rgba(255,255,255,.3);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: block;
    padding: 5px 15px;
    border-top-right-radius: 20px;
    min-width: 85px;
    text-align: center;
    font-weight: 600;
    border-left: 2px solid #eee;
}
.person_row p:not(.client_type) span {
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
}
.person_row p:not(.client_type) span svg {
	background: #fff;
	border-radius: 50%;
	color: #d30000;
	border: 3px solid #fff;
}
.person_row .col {
    clear: both !important;
    display: block !important;
    width: 100% !important;
}

.init_box {
    width: 90%;
    display: block;
    margin: 10vh auto;
    text-align: center;
    padding: 10vh;
    font-size: 32px;
    font-weight: 600;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
}
.init_box:hover, .init_box.active {
    background: var(--secondary-color) !important;
    color: #fff !important;
}
.init_box.collapsed {
	padding: 20px;
	line-height: 1.2;
	margin: 0 0 30px;
}

div[role="status"] svg {
	margin: 0 auto;
}
tr.grey td {
    background: #eee;
}
tr.alert td {
    background: #ef9999 !important;
}
td.tdcol span {
    border-bottom: 1px dotted #333;
    display: inline-block;
    padding-bottom: 5px;
    width: 100%;
}
#wait {
    background: rgba(0,0,0,.7);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#wait .percent {
	background: transparent;
	color: #fff;
	text-align: center;
	margin-bottom: 20px;
	font-size: 24px;
}

button.btn {
    border-radius: 10px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
.btn-primary, .btn-success, .btn-success:hover {
    background: var(--primary-color) !important;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #314490;
	--bs-btn-border-color: #314490;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #0b5ed7;
	--bs-btn-hover-border-color: #0a58ca;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #314490;
	--bs-btn-active-border-color: #314490;
	--bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #314490;
	--bs-btn-disabled-border-color: #314490;
}
svg.last {
    float: right;
}

.sidebar label + p {
    color: #11265D;
    font-weight: 600;
}
.sidebar h2 {
    margin-left: 0 !important;
    padding: 0;
    margin-top: 30px !important;
    padding-top: 30px !important;
    position: relative;
}
.sidebar h2::before {
    content: "";
    width: 100%;
    max-width: 320px;
    background: #eee;
    height: 2px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
}
.sidebar h2:first-of-type::before {
    display: none !important;
}
button.sidebar_action {
    border-radius: 15px !important;
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 100%;
    width: 320px;
}
button.sidebar_action.rework {
    background: #fff !important;
    color: #11265D !important;
    border: 2px solid #11265D !important;
}
button.sidebar_action.rework:hover {
    background: #11265D !important;
    color: #fff !important;
    border: 2px solid #11265D !important;
}
button.sidebar_action.reject {
    background: #fff !important;
    color: #DD1823 !important;
    border: 2px solid #DD1823 !important;
}
button.sidebar_action.reject:hover {
    background: #DD1823 !important;
    color: #fff !important;
    border: 2px solid #DD1823 !important;
}
button.sidebar_action.suspend {
    background: #fff !important;
    color: #555 !important;
    border: 2px solid #FDDB5C !important;
}
button.sidebar_action.suspend:hover {
    background: #FDDB5C !important;
    color: #555 !important;
    border: 2px solid #FDDB5C !important;
}

#reservation_slot_availabilities_recap {
    border-left: 2px solid #777;
    line-height: 1.2;
}
#reservation_slot_availabilities_recap p.title {
    margin: 0 0 5px;
    font-weight: 600;
    background: #777;
    color: #fff;
    padding: 3px 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
#reservation_slot_availabilities_recap p.detail {
    padding-left: 10px;
    margin: 0;
}

#reservation_users_counters {
	margin: 0 0 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
}
#reservation_users_counters > div {
	margin: 0 15px 0 0;
	text-transform: uppercase;
	width: 150px;
	padding: 5px 20px;
	line-height: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	font-weight: 600;
	background: ;
}
#reservation_users_counters > div span {
	background: var(--secondary-color);
	color: #fff;
	display: inline-block;
	padding: 0px 0;
	border-radius: 0 10px;
	font-size: 28px;
	font-weight: 700;
	min-width: 40px !important;
	text-align: center;
	flex-grow: 1;
	flex: 0;
	margin-right: 8px;
	min-height: 100%;
	line-height: 40px;
}

/* LIST FILTER */

#list_filter {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 20px;
}
#query_form {
    display: flex;
    margin-bottom: 0;
    background: #f6f6f6;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-right: 30px;
}
#query_form svg {
	background: transparent;
	color: #aaa;
	height: 32px;
	padding: 7px;
	width: 32px;
}
#query_form input {
	background: transparent;
	margin: 0 !important;
	padding: 5px 0px 5px 15px;
    width: 300px;
}
#list_filter select,
#list_controls select {
    margin-bottom: 0;
    background: #f6f6f6;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-right: 30px;
    padding: 5px 15px 7px 15px;
}
#list_controls {
    margin-top: 20px;
    text-align: right;
}

/* TAB */

.tab_wrapper {
    /* background: #f8f8f8; */
    border-radius: 20px;
    padding: 20px;
}
table {
    /* border: 1px solid #ddd; */
    /* margin: 0 auto 20px; */
    width: calc(100% - 40px) !important;
}
table th, table td {
    /* border: 1px solid #ddd; */
    padding: 2px 10px;
    vertical-align: middle;
}
table td.left, table td.left * {
    text-align: left !important;
}
table th {
    /* background: #f8f8f8 !important; */
    color: #aaa !important;
    font-weight: 600;
    position: relative;
    cursor: pointer;
}
/* table th::after {
    background: #ddd;
    width: 1px;
    height: 20px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    content: "";
    display: block;
    z-index: 1;
} */
/* table tr {
	border-bottom: 0;
	border-top: 0 !important;
	border-bottom: 1px solid #eee !important;
	border-radius: 0 !important;
}
table.eval_list tr:hover td {
    background: #f6f6f6 !important;
}
table.orderable th {
    cursor: pointer;
}
table.orderable th:hover {
    opacity: .8;
} */
/* table tr td:first-of-type {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
table tr td:last-of-type {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
} */
/* table td {
    background: #fff !important;
    line-height: 32px;
    vertical-align: middle;
} */
table td.alert_num span {
    background: #d90000;
    padding: 5px;
    border-radius: 50%;
    display: inline-block;
}
table td.action {
    text-align: center;
}
table td.action svg {
    cursor: pointer;
}
table td.action svg.delete {
    color: #930000;
}
table td.actions {
	/* max-width: 120px; */
}
table td.actions button {
    border-radius: 0;
    display: inline-block;
    margin-right: 5px;
}
td.actions button {
	padding: 3px 5px !important;
	border-radius: 50% !important;
    max-width: 30px;
}
table td.actions button svg {
	font-size: 18px;
	margin-top: -5px;
}
table td.actions button.delete {
    background: #930000 !important;
    border: 1px solid #930000;
}
table td.actions button.success {
    background: #54bc85 !important;
    border: 1px solid #54bc85;
}
.btn-danger {
    background: #930000 !important;
}
table td.actions button.disabled {
    background: #aaa !important;
    border: 1px solid #aaa !important;
}
#slot_reservations_table tr td[data-title="Azioni"] button.reservation_check {
    background: #999 !important;
    border: 1px solid #999 !important;
}
#slot_reservations_table tr td[data-title="Azioni"] button.reservation_check.confirmed {
    background: #4caf50 !important;
    border: 1px solid #4caf50 !important;
}
#slot_reservations_table tr td[data-title="Azioni"] button.reservation_tel,
#slot_reservations_table tr td[data-title="Azioni"] button.reservation_mail {
    background: var(--secondary-color) !important;
    border: 1px solid var(--secondary-color) !important;
}

.partner_label {
	background: fuchsia;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 12px;
	line-height: 1;
	display: block;
	padding: 3px 5px;
	border-radius: 8px;
}
.partner_label.holitaly {
    background: var(--primary-color);
}

.op_status {
    font-weight: 600;
}
.op_status span.square {
    content: "";
    height: 20px;
    width: 20px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}
table td.title {
    background: #eee;
    font-weight: 600;
    padding: 5px 20px;
}
table td.title + td {
    padding: 5px 20px;
}
table tr.unread td {
    background: #FCF7F5 !important;
    font-weight: 600;
}

#tab_taccuino td {
    line-height: 20px;
    padding: 5px 10px;
}

.tag {
    width: 15px;
    height: 15px;
    display: block;
    border-radius: 50%;
    padding: 0;
    margin: 0 auto;
}
.tag.approved {
    background: #54bc85;
}
.tag.suspended {
    background: #FDDB5C;
}
.tag.deleted {
    background: #d90000;
}
.tag.partner {
    background: #ff00f2;
}
.tag.inprogress {
    background: #314490;

    animation: blink 1s step-start 0s infinite;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
}
td span.tag {
    margin: 0 5px 0 0;
}
@keyframes blink {
    0% {
        opacity: 0;
        zoom: 1;
    }
    25% {
        opacity: .25;
        zoom: 1.1;
    }
    50% {
        opacity: .5;
        zoom: 1.2;
    }
    75% {
        opacity: 1;
        zoom: 1.2;
    }
}
table tr.inprogress td {
    background: #CAD2EC;
    font-weight: 600;
    /* font-style: italic; */
}

table.detail tr td:first-of-type {
    font-weight: 800;
    text-transform: uppercase;
    width: 320px;
}

.eval_state_label {
	text-transform: uppercase;
	padding: 3px 8px 4px;
	border: 2px solid #314490;
	border-radius: 5px;
	display: inline-block;
	line-height: 1;
	color: #314490;
	font-weight: 700;
	font-size: 14px;
}

#tab_app {
    margin-bottom: 25px;
}
#tab_app tr {
	border-bottom: 2px solid #fff !important;
}
#tab_app td {
	background: #eee !important;
}
#tab_app tr td:nth-of-type(1) {
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	font-size: 16px;
	width: 105px;
	font-weight: 600;
}
#tab_app tr td:nth-of-type(2) {
    font-size: 16px;
    font-weight: 600;
    width: 50px;
    padding: 0;
}
#tab_app tr td:last-of-type {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	font-size: 16px;
	width: 100px;
}
#tab_app td.note {
	font-size: 14px;
	line-height: 1.2;
	padding: 5px 0;
}
#tab_app td b {
	font-size: 16px !important;
    margin-bottom: 0;
}
#tab_app tr.last td, #tab_app tr.last td * {
    background: #11265D !important;
    color: #fff !important;
    font-size: 16px !important;
}

.uploader_wrapper {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 15px 20px 20px;
}
.drop_zone:hover {
    background: #eee !important;
}
.drop_zone {
    background: #f6f6f6 !important;
	width: 100% !important;
	border: 2px dotted #999 !important;
	max-width: 100% !important;
    text-align: center !important;
}
.drop_zone > div > span {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}
.drop_zone span {
    color: var(--primary-color) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
    text-decoration: none !important;
}

#foto_cats_list {
    column-count: 2;
    /* column-width: 100px; */
    margin-top: 20px;
    padding-left: 0 !important;
}
#foto_cats_list li {
    font-size: 16px;
    list-style-type: none;
    margin-bottom: 15px;
    white-space: nowrap;
    letter-spacing: -.01em;
}
#foto_cats_list li:nth-of-type(n+5) {
    padding-left: 60px;
}
#foto_cats_list li b {
    color: #333;
    font-weight: 600;
}
.foto_cat_state {
    display: inline-block;
    margin-right: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.foto_cat_state.success {
    background: #048B04;
}
.foto_cat_state.warning {
    background: #FAB006;
}
.foto_cat_state.danger {
    background: #A70101;
}

.custom_form .noMargin {
    margin: 0 !important;
}

.change_status_block {
    background: #bddeef;
    margin: 15px 0 5px;
    padding: 10px 10px 15px;
}
.change_info_block {
    background: #b2db8a;
    margin: 15px 0 5px;
    padding: 10px 10px 15px;
}
fieldset input, fieldset select, fieldset textarea {
    background: #fff !important;
}

.item_state {
    background: #555;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 20px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: 20px;
}
.item_state.activated {
    background: #54bc85;
}
.item_state.deactivated {
    background: #d90000;
}
.item_state.suspanded {
    background: #d8bc04;
}

.tag_list {
    margin: 20px 0 0;
    padding: 0;
}
.tag_list li {
    background: #ddd;
    list-style-type: none;
    padding: 5px 10px;
    display: inline-block;
    margin-right: 10px;
    text-indent: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.tag_list li span {
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    margin-top: -7px;
}

.fieldset_wrapper {
    display: none;
}
.fieldset_wrapper.visible {
    display: block;
}
.fieldset_label {
    background: #0E235A;
    color: #fff;
    padding: 8px;
    display: inline-block;
    margin-left: -22px !important;
    margin-bottom: 0px !important;
    padding-right: 20px;
    padding-left: 20px;
    border-top-right-radius: 20px;
    font-weight: 600;
}
.fieldset_title {
    background: #314490;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 20px 0 30px;
    padding: 2px 20px 5px 55px;
    position: relative;
}
.fieldset_title::before {
    background: var(--primary-color);
    border-top-left-radius: 15px;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 100%;
    display: block;
    z-index: 1;
}
.fieldset_title svg {
    color: #fff;
    position: absolute;
    font-size: 22px;
    top: 6px;
    left: 11px;
    z-index: 2;
}
#react-select-1-listbox,
#react-select-2-listbox,
#react-select-3-listbox,
#react-select-4-listbox,
#react-select-5-listbox,
#react-select-6-listbox,
#react-select-7-listbox,
#react-select-8-listbox,
#react-select-9-listbox,
#react-select-10-listbox,
#react-select-11-listbox,
#react-select-12-listbox,
#react-select-13-listbox,
#react-select-14-listbox,
#react-select-15-listbox,
#react-select-16-listbox,
#react-select-17-listbox,
#react-select-18-listbox,
#react-select-19-listbox,
#react-select-20-listbox {
    z-index: 50 !important;
}
.space_top {
    margin-top: 20px;
}
.fieldset_title + .row {
    background: #eee;
    margin: 0 20px 0 30px;
    padding: 10px 10px 15px !important;
}
.fieldset_title + .row input {
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    padding: 5px;
    width: 100%;
}
.asset_box {
    /* border-bottom: 5px solid var(--primary-color);
    padding-bottom: 40px;
    margin-bottom: 40px; */
}
.wizard_step_content .asset_box:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.acc_label {
    background: #999;
    /* border-top-left-radius: 10px;
    border-top-right-radius: 10px; */
    padding: 10px;
    text-align: center;
    font-weight: 600;
    margin: 0 10px;
    cursor: pointer;
    color: #fff;
}
.acc_label:hover, .acc_label.active {
    background: #f7f1cf;
    color: #111;
}
.acc_box {
    background: #f7f1cf;
    padding: 20px;
    margin: 0 -2px;
}
.acc_box input.styled {
    background: #fff !important;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 38px;
    margin: 0px;
}
.acc_box button, .acc_box button:hover {
    background: var(--primary-color);
}
.acc_box button:hover {
    opacity: .8;
}

.box_fieldset {
    background: #eee;
    margin: 0 35px;
    padding: 10px 0 10px;
}
.box_fieldset h2 {
    background: #333;
    border-top-right-radius: 20px;
    color: #fff;
    margin: 0 !important;
    max-width: 90%;
    padding: 10px 30px;
    width: 600px;
}
.box_fieldset .iiSEZI {
    margin: 0 20px 20px;
}
ul.filelist {
    list-style-type: none;
    padding: 0 20px;
}
ul.filelist li > svg {
    margin-right: 5px;
}
ul.filelist li button {
    font-size: 12px;
    margin-left: 5px;
    padding: 0 8px 2px;
    text-align: center;
}
ul.filelist li button:first-of-type {
    margin-left: 10px;
}
ul.filelist li button.delete {
    background: #930000;
    border-color: #930000;
    font-size: 16px;
    line-height: 12px;
    padding: 2px 8px;
}

hr {
    border: 1px solid #ccc !important;
    clear: both !important;
    display: block !important;
    margin: 40px 50px !important;
    width: calc(100% - 100px) !important;
}

.act_link {
    cursor: pointer;
    /* text-decoration: underline; */
}
.act_link:hover {
    color: var(--primary-color);
    font-weight: bold;
}

/* DASHBOARD */

.dashboard .page_title img {
	display: block;
	height: 80px;
	margin-right: 20px;
	float: left;
}
.dashboard .page_title p {
    display: inline-block;
    margin: 0;
}
.dashboard .page_title p.greeting {
	color: #181D2E;
	font-size: 24px;
    line-height: 1.2;
	font-weight: 600;
	margin-top: 15px;
	display: block;
    text-transform: uppercase;
	float: left;
}
.dashboard .page_title p.role_label {
    
}
.dashboard .page_title p.motivation {
    color: #181D2E;
    font-weight: 100;
}
.dashboard .count_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 15px;
    justify-content: flex-end;
}
.dashboard .count_wrapper .count_block {
    background: var(--primary-color);
    color: #fff !important;
	border: 2px solid var(--primary-color);
	border-radius: 15px;
	/* flex-grow: 1; */
	margin-right: 15px;
    min-width: 200px;
	padding: 10px 20px;
	text-transform: uppercase;
    cursor: pointer;
}
.dashboard .count_wrapper.tec .count_block {
    background: #ED848B;
    border: 2px solid #ED848B;
}
.dashboard .count_wrapper.tec .count_block:hover {
    /* color: #ED848B !important; */
}
.dashboard .count_wrapper.qual-cont .count_block {
    background: #72A575;
    border: 2px solid #72A575;
}
.dashboard .count_wrapper.qual-cont .count_block:hover {
    /* color: #72A575 !important; */
}
.dashboard .count_wrapper.qual-val .count_block {
    background: #4A804C;
    border: 2px solid #4A804C;
}
.dashboard .count_wrapper.qual-val .count_block:hover {
    /* color: #4A804C !important; */
}
.dashboard .count_wrapper .count_block:hover {
    /* background: #fff !important; */
    /* color: var(--primary-color) !important; */
}
.dashboard .count_wrapper .count_block span {
    margin: 0;
}
.dashboard .count_wrapper .count_block .num {
	display: inline-block;
	font-size: 36px;
	margin-right: 12px;
	text-decoration: underline;
	font-weight: 600;
	line-height: 1;
}
.dashboard .count_wrapper .count_block .title {
    display: inline-block;
    line-height: 1;
}

/* CALENDAR */

.calendar {
    
}
.calendar .header {
    border-bottom: 5px solid #fff;
    background: #f8f8f8;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 15px 20px;
}
.calendar .day {
    border-bottom: 5px solid #fff;
    background: #f8f8f8;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 0 20px;
}
.calendar .header h2 {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700 !important;
    font-size: 20px;
    margin: 0;
}
.calendar .header h2 button {
	background: transparent;
	border: 0;
	color: #fff;
	color: #fff;
	padding: 2px 10px 5px;
	margin: 7px 5px 0 0;
	background: #999;
	border-radius: 10px;
	text-align: center;
}
.calendar .header h2 button.today {
    background: var(--primary-color);
}
.calendar .header h2 button.forward {
    margin: 7px 0 0 0;
}
.calendar .header h2 button svg {
	font-size: 24px;
	font-weight: 100;
}
.calendar .header p.date {
    margin: 0;
    font-weight: 600 !important;
}
.calendar .day h3 {
    color: #181D2E;
    display: inline-block;
    font-size: 18px;
    margin: 0 20px 0 0;
    vertical-align: top;
}
.calendar .hour {
    border-bottom: 5px solid #fff;
    padding: 20px 0;
}
.calendar .appointment {
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 5px;
	display: inline-block;
	padding: 8px 10px 5px;
	font-size: 15px;
	line-height: 1.1;
	width: calc(100% - 70px);
    margin-bottom: 5px;
}
.calendar .hour .appointment:not(:first-of-type) {
    margin-left: 62px;
}
.calendar .appointment p {
    margin: 0;
}
.calendar .appointment p.title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}
.calendar .appointment p.title span {
    display: inline-block;
    margin-left: 10px;
    color: #999;
    float: right;
}
.calendar .appointment p.title span img {
    height: 18px;
    display: inline-block;
    margin-right: 5px;
}
.calendar .appointment p.info {
    color: #777;
    margin-bottom: 5px;
}
.calendar .appointment p.info span {
    color: #555;
    font-weight: 600;
}
.calendar .appointment p.contact {
    line-height: 1.5;
}
.calendar .appointment p.contact span.mode {
    background: #eee;
    padding: 2px 8px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 8px;
    font-size: 14px;
}
.calendar .appointment p.contact span.mode svg {
    display: inline-block;
    margin-right: 2px;
    vertical-align: middle;
    margin-top: -3px;
}
.clicked-date {
    background-color: yellow; /* or any color you like */
    border-radius: 4px;
}
a.fc-daygrid-day-number {
    cursor: pointer;
}

.front_content > .panel.row#esc_info {
    margin: 10px auto 0 !important;
	line-height: 1.2;
	padding: 10px 20px;
	font-size: 18px;
	position: relative;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 20%, white);
}
.front_content > .panel.row#esc_info .col {
    display: flex;
    align-items: center;
}
.front_content > .panel.row#esc_info .title {
    color: var(--secondary-color);
    text-transform: uppercase;
}
#esc_info b {
    vertical-align: middle;
}
#esc_info a {
	background: var(--primary-color);
	color: #fff;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	vertical-align: middle;
	/* margin-top: 5px; */
	display: inline-block;
	position: absolute;
	right: 0;
	top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}
#esc_info svg {
    display: inline-block;
    margin-right: 10px;
}

@media all and (max-width: 800px) {
    .front_content > .panel.row#esc_info {
        font-size: 17px;
        padding-bottom: 30px;
    }
    .front_content > .panel.row#esc_info .col, #esc_info a {
        justify-content: center;
    }
    #esc_info a {
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
    }
}

.waste_btn {
    background: var(--primary-color);
    border: 0;
    /* border-radius: 30px; */
    box-shadow: 0;
    font-size: 16px;
    font-weight: 700;
    margin: 0 auto;
    padding: 15px 20px;
    text-transform: uppercase;
    width: 100%;
}
.waste_btn.help {
    background: #d90000;
}
.waste_btn.mini, button.mini {
    padding: 3px 10px !important;
    text-transform: none !important;
}
.waste_btn.tiny, td.actions button.tiny, button.tiny {
	width: 40px;
	padding: 5px !important;
	line-height: 14px;
	display: inline-block;
	margin-left: 20px;
}
.waste_btn.tiny.delete, td.actions button.tiny.delete {
    width: 30px !important;
    padding: 5px 0px !important;
    text-align: center !important;
    line-height: 18px !important;
    height: 30px !important;
    display: block !important;
    margin: 0 auto !important;
}
button.inverse {
    background: #fff !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.bordered_info {
    border: 3px solid #11265D;
	border-radius: 10px;
	display: inline-block;
    font-size: 20px;
	font-weight: 700;
	letter-spacing: .01em;
	margin-left: 10px;
	margin-top: -2px;
	padding: 1px 20px 2px;
	vertical-align: middle;
}
.bordered_info.full {
    background: #11265D;
    color: #fff;
}
.bordered_info.grey {
    background: #D9D5D5;
    border: 3px solid #D9D5D5;
    color: #fff;
}

.action_bar {
    padding: 0 8px;
    text-align: left;
}
.action_bar.top {
    margin: 30px 0 30px;
}
.action_bar.bottom {
    /* margin-top: 30px; */
    /* padding: 0 40px; */
}
.action_bar button {
    border: 0;
    border-radius: 0;
    overflow: hidden;
    /* padding: 5px 20px 5px 70px; */
    position: relative;
}
.action_bar button.inverse {
    padding: 5px 70px 5px 20px;
}
/* .action_bar button svg {
	background: rgba(255,255,255,0.4);
	color: #fff;
	font-size: 24px;
	height: 44px;
	left: 0;
    padding: 5px;
	position: absolute;
	top: 0;
	width: 44px;
	z-index: 20;
} */
.action_bar button.inverse svg {
	lefT: auto;
    right: 0;
}
.action_bar.bottom button {
    margin-right: 10px !important;
}
.action_bar.bottom button.back {
    background: #000;
}
.action_bar.bottom button.back:hover svg {
    background: #000 !important;
}
.action_bar button:hover {
    /* padding-left: 100%; */
}
.action_bar.top button:hover svg {
    /* width: 100%; */
}
.action_bar.top button.btn-success.batch {
    background: #b740c9;
}
.action_bar.top button.btn-success:hover svg {
    background: var(--primary-color);
}
.action_bar.top button.btn-success.batch:hover svg {
    background: #b740c9;
}
.action_bar.top button.btn-primary:hover svg {
    background: #314490;
}
.action_bar.bottom button:hover svg {
    /* background: #314490; */
    /* width: 100%; */
}

div.alert {
    text-align: center;
}

.pageListWrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 0;
    text-align: center;
    width: 100%;
}
.pagesList {
    margin: 0;
    padding: 0;
}
.pagesList li {
    background: #aaa;
    /* border-radius: 5px; */
    color: #fff;
    cursor: pointer;
    height: 40px;
    width: 44px;
    display: block;
    float: left;
    font-size: 16px;
    margin: 0 5px 0 0;
    text-align: center;
    line-height: 40px;
    list-style-type: none;
    transition: all 300ms;
}
/* 
.pagesList li:first-of-type {
    margin-right: 15px;
}
.pagesList li:last-of-type {
    margin-left: 15px;
}
*/
.pagesList li.active {
    background: var(--primary-color);
    border-radius: 10px;
    width: 80px;
    font-size: 18px;
    font-weight: 600;
}
.pagesList li:hover {
    background: #314490;
}

#stock_info {
    background: #f2d94f;
    font-weight: 600;
    margin: 30px 12px 10px;
    max-width: 400px;
    padding: 0;
}
#stock_info span {
    display: inline-block;
    padding: 20px 20px;
}
#stock_info span:last-of-type {
    background: rgba(255,255,255,0.5);
    float: right;
}

.activity_info {
    background: #eee;
    margin: 0 30px 60px;
    padding: 0 20px 0 0;
}
.activity_info .title {
	align-items: center;
	background: rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	font-size: 20px;
	font-weight: 600;
	justify-content: space-around;
	text-align: center;
	text-transform: uppercase;
}
.activity_info .title h2 {
    margin: 0;
}
.activity_info ul {
    margin: 20px 0;
}
.activity_info ul li {
    list-style-type: none;
}

.marker_label {
    background: #fff;
    padding: 3px;
    border-radius: 3px;
}
.marker_label_special {
    background: var(--primary-color);
    color: #fff !important;
    padding: 5px;
    border-radius: 5px;
}

#wizard_bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0 0 40px 40px;
}
#wizard_bar.vert {
    display: flex;
    flex-direction: column;
    margin: 0 0 20px 0;
}
#wizard_bar .step {
    border-bottom: 2px solid #ccc;
    color: #ccc;
    flex-grow: 1;
    font-weight: 400;
    line-height: 1.3;
    margin-right: 50px;
    padding-bottom: 15px;
    position: relative;
}
#wizard_bar.vert .step {
	border-bottom: 0 !important;
	padding-left: 40px;
	margin-right: 0;
	margin-bottom: 10px;
	position: relative;
	min-height: 55px;
}
#wizard_bar.vert .step .date {
    display: block;
    font-size: 18px;
}
#wizard_bar .step::before {
    background-image: url('../gfx/Ellisse 41.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    bottom: -10px;
    content: "";
    display: block;
    height: 22px;
    left: -34px;
    position: absolute;
    width: 22px;
}
#wizard_bar .step.active::before {
    background-image: url('../gfx/Ellisse 84.png');
    background-size: 150% 150%;
    /* border: 1px solid red; */
    height: 42px;
    width: 42px;
    left: -44px;
    bottom: -20px;
}
#wizard_bar.vert .step::before {
	background: transparent;
	top: 0px;
	bottom: auto;
	content: "";
	display: block;
	height: 22px;
	left: 0px;
	position: absolute;
	width: 22px;
	border-radius: 50%;
	border: 1px solid #ccc;
}
#wizard_bar.vert .step.active::before {
    background: var(--primary-color);
    box-shadow: 1px 1px 10px var(--primary-color);
    border: 1px solid var(--primary-color);
}
#wizard_bar.vert .step::after {
	background: #ccc;
	content: "";
	display: block;
	height: 30px;
	left: 10px;
	position: absolute;
	top: 30px;
    width: 1px;
	z-index: 10;
}
#wizard_bar.vert .step.active::after {
    background: var(--primary-color);
    left: 9px;
    width: 3px;
}
#wizard_bar.vert .step:last-of-type::after {
    display: none !important;
}
#wizard_bar .step.active {
    border-bottom: 4px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}
#wizard_bar.reg .step.active {
    border-bottom: 4px solid #DB0B17;
    color: #DB0B17;
}
#wizard_bar.reg .step.active::before {
    background-image: url('../gfx/Ellisse 43.png');
}
.wizard_step_content {
    border: 1px solid #ddd;
    border-radius: 10px;
    display: none;
    padding: 20px;
    max-width: calc(100% - 40px);
}
.wizard_step_content.reg {
    border: 0;
    padding: 0;
}
#invoice_info, #btn_invoice_info {
    display: none;
}
/* #tech_info {
    display: none;
} */
.inner_wrapper {
    background: #F6F7F8;
    border-radius: 10px;
    border: 0;
    margin-bottom: 20px;
    padding: 20px;
}
.inner_wrapper.reg {
    background: #FCF7F5;
}
.inner_wrapper .tab_wrapper th, .inner_wrapper .tab_wrapper td {
    background: #F6F7F8 !important;
}
.inner_wrapper input, .inner_wrapper select, .inner_wrapper textarea {
    background: #fff !important;
}
.inner_wrapper table input, .inner_wrapper table select, .inner_wrapper table textarea {
    background: #efefef !important;
}
.wizard_step_content.readonly {
    background: #F8F9FD;
    border: 0;
}
.visible {
    display: block !important;
}
.wizard_step_content .step_label {
    /* color: var(--primary-color); */
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px !important;
}
.step_label.big {
    font-size: 22px !important;
    font-weight: 400 !important;
}
.wizard_step_content label {
    color: #777;
    margin-bottom: 0 !important;
}
.det_wrapper {
    border: 0;
}
.wizard_step_content label + p, .det_wrapper label + p {
    color: var(--primary-color);
    font-weight: 600;
}
.wizard_step_content input, .wizard_step_content select, .swal2-html-container input, .swal2-html-container select {
    background: #fff;
    border: 0;
    border-bottom: 1px solid #aaa !important;
    margin-bottom: 30px !important;
    padding: 5px 0 !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;    
}
select.hidden {
    display: none;
}
.wizard_step_content.readonly p {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}
.wizard_step_content textarea, .swal2-html-container textarea {
    border: 0;
	background: #fff !important;
	border-bottom: 1px solid #ccc !important;
	opacity: 1 !important;
	background-size: 20px 20px !important;
	background-image: repeating-linear-gradient(0deg, #fff, #aaa 1px, #fff 1px, #fff) !important;
	padding: 0 !important;
	line-height: 1.23 !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

p.error_label {
	color: #d90000 !important;
	font-weight: 600;
	font-size: 12px;
	margin-top: 5px !important;
	background: transparent !important;
	text-transform: uppercase;
	position: relative !important;
}
p.error_label.top {
    margin-top: -2px !important;
}

/* HEADER */

#header {
    background: #fff;
    display: block;
    height: 70px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto !important;
    max-width: 1320px;
    /* overflow: hidden; */
    padding: 10px 20px;
    position: fixed;
    top: 0;
    z-index: 100;
}
#header > .row {
    border-bottom: 1px solid #eee;
    /* box-shadow: 0 1px 3px #ccc; */
    margin: 0;
    padding-bottom: 10px;
}
#header .row .col:first-of-type {
    vertical-align: middle;
}
#header .row .col:last-of-type {
    font-size: 26px;
    text-align: right;
}
#headicons_wrapper .headicon {
    cursor: pointer;
    float: right;
    margin: 0 10px;
    position: relative;
}
#headicons_wrapper .headicon span {
    background: #d90000;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    line-height: 20px;
    position: absolute;
    right: -5px;
    text-align: center;
    top: 0;
    width: 20px;
    z-index: 10;
}
#logo {
    cursor: pointer;
    display: block;
    max-height: 160px;
    margin: 0 auto;
}
#header #logo {
    /* height: 50px; */
}
#search_wrapper {
	display: inline-block;
	position: relative;
	border-radius: 50px;
	padding: 0px 20px 0 60px;
	background: #f6f6f6;
	height: 45px;
	margin: 5px 20px 0 0;
	/* border: 1px solid red; */
}
#search_wrapper::before {
    height: 45px;
    width: 45px;
    background-image: url('../gfx/SPF_AssetsIcone-05.png');
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
#search_wrapper input[type=text] {
    font-family: "PT Sans", sans-serif !important;
    font-size: 18px !important;
    font-weight: 500;
    background: transparent;
    border: 0;
    letter-spacing: -.02em;
    font-size: 14px;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    width: 300px;
}
#search_wrapper input[type=text]:focus,
#search_wrapper input[type=text]:hover,
#search_wrapper input[type=text]:active {
    border: 0 !important;
}

@media all and (min-width: 1680px) {
    #dashboard_speed_link {
        display: none;
    }
}

/* LOGIN */

#login_form_wrapper {
    margin-top: 10%;
    text-align: center;
}
@media all and (max-width: 480px) {
    #login_form_wrapper { margin-top: 50%; }
}
#login_form_wrapper img {
    margin-bottom: 20px;
    /* max-width: 200px; */
}

.custom_form_wrapper {
    padding: 0 40px;
}
.custom_form {
    margin-bottom: 40px;
}
.custom_form label, .custom_form input, .custom_form select, .custom_form textarea {
    margin: 8px 0 0;
}
.custom_form input[type=text],
.custom_form input[type=password],
.custom_form input[type=file],
.custom_form input[type=date],
.custom_form input[type=number],
.custom_form input[type=email],
.custom_form input[type=time],
.custom_form input[type=color],
.custom_form select,
.custom_form textarea {
    background-color: #efefef;
    border: 0;
    /* border-radius: 30px; */
    color: #555;
    line-height: 1.2;
    padding: 10px 20px;
    width: 100%;
    max-width: 100% !important;
}
.custom_form .form_error_msg {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    display: block;
    margin: 5px 0 0;
    background: #d90000;
    padding: 2px 6px 0;
    width: 180px;
    text-align: center;
    border-radius: 8px;
}
#react-select-2-input {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}
#react-select-2-input::after {
    display: none !important;
}
.custom_form textarea {
    min-height: 120px;
}
.custom_form textarea.long {
    min-height: 250px;
}
.custom_form button[type="submit"] {
	display: block;
	width: 240px;
	margin: 30px auto 0;
	border-radius: 0;
}
.form_error {
    background: #d90000;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 600;
}

.field_listino {
    border: 1px solid #ddd !important;
    padding: 3px 5px !important;
    width: 150px !important;
}
.field_listino_wrapper::after {
    content: "€";
    display: inline-block;
    margin-left: 5px;
    font-size: 20px;
}

.snapshots_list {
    margin: 0;
    padding: 0;
}
.snapshot_item {
    background: #f6f6f6;
    border-left: 5px solid #ddd;
    border-radius: 20px;
    list-style-type: none;
    margin-bottom: 10px;
    padding: 10px 20px;
    text-indent: 0;
}
.snapshot_item:hover {
    background: #CAD2EC;
}
.snapshot_item a {
    color: #111 !important;
    text-decoration: none;
}
.snapshot_item span {
    display: block;
    margin-right: 5px;
}
.snapshot_item span svg {
    display: inline-block;
    margin-right: 5px;
}

#tags_wrapper {
    background: #efefef;
    /* border: 1px solid #ccc; */
    border-radius: 15px;
    margin: 10px 0 20px;
    padding: 10px 10px 5px;
}
#tags_wrapper li {
    background: #fff;
    border-radius: 15px;
    cursor: pointer;
    display: inline-block;
    list-style-type: none;
    margin: 0 10px 10px 0;
    padding: 3px 10px;
    text-indent: 0;
}
#tags_wrapper li.chosen {
    background: var(--primary-color);
    color: #fff;
}

.MuiFormGroup-root {
	display: block !important;
    margin: 0 0 20px !important;
}
.MuiFormGroup-root * {
    margin: 0 !important;
}
form > label {
    text-align: center;
    width: 100%;
}
.MuiFormGroup-root label {
	width: 50% !important;
	display: inline-block !important;
}

/* MENU */

#menu {
    /* background: #eee; */
    display: block;
    height: 100vh !important;
    max-width: 550px;
    padding: 0;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: all 200ms;
    width: 100%;
    z-index: 100;
    overflow-y: scroll;
}
#menu.active {
    transform: translateX(0%);
}
#menu .sx {
    background: #fff;
    font-size: 26px;
    text-align: center;
    /* height: 100vh; */
    padding: 18px 0 0 10px !important;
    width: 80px !important;
}
#menu .sx svg {
    cursor: pointer;
}
#menu .dx {
    /* height: 100vh; */
    /* overflow: scroll; */
    padding: 30px 30px 30px 20px;
    width: calc(100% - 80px) !important;
}
#menu .dx .block {
    background: #ddd;
    border-radius: 10px;
    margin: 20px 0;
    padding: 10px 12px;
}
#menu .dx .block .col {
    padding: 0;
}
#menu .dx .block .col select {
    border: 1px solid #aaa;
    border-left: 4px solid #314490;
    border-right: 4px solid #314490;
    border-radius: 10px;
    padding: 3px 5px 5px;
    width: 90%;
}
h2, #menu h2 {
    color: #314490;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.content h2 {
	margin: 0 10px 30px;
	font-size: 24px;
	font-weight: 600;
}
h2.underline {
    text-transform: none;
    color: #111;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
h2.underline img {
    height: 25px;
}
.content .boxed {
    margin: 0 12px;
}
h3, #menu h3 {
    color: #111;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    vertical-align: middle;
}
h3.centered {
    text-align: center;
}
h2 button, h3 button, p button {
    float: right;
    vertical-align: middle;
}
#nav_wrapper {
    background: #eee;
    border-radius: 20px;
    margin-top: 20px;
    padding: 20px;
}
#menu nav {
    margin-top: 0;
}
#menu nav img {
    height: 20px;
    display: inline-block;
    margin-right: 10px;
}
#menu ul {
    padding-left: 0;
}
#menu li {
    list-style-type: none;
    padding: 0;
    text-indent: none;
}
#menu li.title {
	font-weight: 600;
	font-size: 20px;
	margin: 10px 0 2px;
	border-bottom: 0;
	background: var(--primary-color);
	color: #fff;
	padding: 7px 15px 5px;
	line-height: 1;
	border-radius: 0 30px 0 0;
}
#menu a {
    /* border-bottom: 1px solid #ddd; */
    color: #111;
    display: block;
    font-weight: 600;
    padding: 10px 10px 5px;
    text-decoration: none;
    text-transform: uppercase;
}
#menu a:hover {
    /* background: #ddd; */
}
#menu ul > li > ul {
    /* background: #ddd; */
    display: none;
    /* padding: 8px 0 15px; */
    padding: 0 0 10px;
}
#menu ul > li > ul > li a {
    /* border-bottom: 1px solid #fff; */
    padding: 8px 20px 0;
}
#menu ul > li > ul > li:last-of-type a {
    border-bottom: 0;
}
#menu ul > li > ul > li a:hover {
    /* background: #ccc; */
}
#menu ul > li > ul.visible {
    display: block;
    border-left: 1px solid #777;
    margin-left: 20px;
}
#menu a.logout {
    color: #930000;
}
#menu nav a svg {
	display: inline-block;
	font-size: 22px;
	margin-right: 8px;
}
#info_connected {
    align-items: center;
    /* background: #ddd; */
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    line-height: 1;
    /* padding: 10px; */
}
#info_connected > div {
    align-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    padding: 10px 0 0;
    /* text-align: left; */
    width: 100%;
}
#info_connected div svg {
    color: var(--primary-color);
    font-size: 55px;
    margin: 0;
}
#info_connected > div:hover {
	background: #fff;
	border-left: 5px solid #ddd;
	border-right: 5px solid #ddd;
	border-radius: 50px;
}
#info_connected div div {
    display: block;
    height: 100%;
    line-height: 16px;
}
#info_connected div span {
    display: block;
}
#info_connected div span.bottom {
    margin-top: 5px;
}
#info_connected div span.top {
    margin-bottom: 3px;
}
.role_label {
    display: inline-block;
    margin-top: 0;
    background: #cad2ec;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    padding: 5px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-right: 10px !important;
}
.role_label.sidebar {
    display: block;
    margin-top: -10px;
    margin-right: 0;
    padding: 8px 20px;
}

/* HOMEPAGE */

#search_form {
    margin: 0;
}
#search_form * {
    margin: 0;
}
#searchbox {
    background: #314490;
    margin-bottom: 20px;
    min-height: 100px;
    padding: 40px;
    text-align: center;
}
#searchbox p {
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}
#searchbox .keyword_wrapper {
    padding: 0;
    position: relative;
    width: 100%;
    margin: 0 auto;
}
#searchbox .keyword_wrapper input {
    border-radius: 30px;
    margin-bottom: 20px;
    padding: 10px 20px;
    width: 100%;
}
#searchbox .keyword_wrapper svg {
    position: absolute;
    font-size: 22px;
    right: 15px;
    top: 12px;
}

/* ITEMS LIST */

.items_list {
    padding: 0;
}
.items_list li {
    background: #eee;
    border: 0;
    border-radius: 10px;
    /* box-shadow: 1px 1px 15px #ccc; */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 20px;
    min-height: 65px;
    overflow: hidden;
    padding: 10px 15px;
    position: relative;
    width: 90%;
}
.items_list li > .btn_wrapper {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.items_list li > .btn_wrapper > button {
    border-radius: 20%;
    flex-grow: 1;
    margin: 0 2px;
    padding: 10px;
}
.items_list li button svg {
    font-size: 22px;
}
.items_list li .title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;
    max-width: 60%;
}
.items_list li .detail {
    color: #555;
    font-size: 14px;
    font-weight: 600;
}
.items_list li .detail svg {
    display: inline-block;
    font-size: 16px;
    margin-top: -5px;
    vertical-align: middle;
}
.items_list li .description {
    color: #555;
    font-size: 15px;
    font-weight: 200;
    line-height: 1.2;
    margin-top: 5px;
}
.items_list li .description b {
    color: #000;
    font-weight: 600;
}
.items_list li .goToDetail {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 5px;
    padding-right: 10px;
    text-align: right;
}
.items_list li svg.title_icon {
    float: left;
    font-size: 26px;
    margin: 0 0 0 -8px;
    padding-top: 5px;
    vertical-align: middle;
}
.items_list svg.arrow {
    font-size: 32px;
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.items_list li::after {
    border-radius: 50%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    right: 40px;
    top: 15px;
    width: 15px;
    z-index: 10;
}
.items_list li.expired::after,
.items_list li.scheduled::after,
.items_list li.published::after {
    left: 12px;
    top: 15px;
}
.items_list li.expired .detail,
.items_list li.scheduled .detail,
.items_list li.published .detail {
    margin-bottom: 5px;
    padding-left: 20px;
}
.items_list li.open::after,
.items_list li.expired::after {
    background: #d90000;
}
.items_list li.unread::after,
.items_list li.scheduled::after {
    background: #edc31e;
}
.items_list li.closed::after,
.items_list li.published::after {
    background: #53c43c;
}
.items_list li div.icon {
    position: absolute;
    right: 15px;
    top: 8px;
    z-index: 10;
}
#flash_list li div.icon {
    right: 40px;
}
#areas_list li div.icon {
    /* border: 1px solid red; */
    font-size: 20px;
    line-height: 1;
    right: 115px;
    top: 50%;
    transform: translateY(-50%);
}
.items_list li .answer h4 {
    margin: 0;
}
.items_list li .answer h4 + .title {
    margin-bottom: 10px;
}

.items_list.with_img li {
    padding-left: 80px;
}
.items_list.with_img li .title {
    max-width: 85%;
}
.items_list.with_img li img {
    border-radius: 10px;
    max-height: calc(100% - 20px);
    left: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
}

#help_row {
    margin-top: 40px;
    padding: 0 40px;
}
h4 {
    color: #314490;
    font-weight: 600 !important;
    letter-spacing: -1px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px !important;
}

/* CER DETAIL */

#cer_title {
    padding: 40px 20px 80px;
}
#cer_detail {
    margin: 0 40px;
}
#cer_detail img {
    border-radius: 30px;
    margin: -60px 0 20px;
    width: 100%;
}
#locations_list {
    margin: 0;
    padding: 0;
}
#locations_list li {
    background: #f6f6f6;
    border: 1px solid #DDD;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    float: left;
    justify-content: space-between;
    list-style-type: none;
    margin: 0 2.5%;
    min-height: 100px;
    padding: 20px;
    text-indent: 0;
    width: 47.5%;
}
#locations_list li p {
    margin: 0;
}
#locations_list li .btn {
    margin-top: 10px;
}
#locations_list li:nth-of-type(2n+1) {
    margin-left: 0 !important;
}
#locations_list li:nth-of-type(2n) {
    margin-right: 0 !important;
}

/* ERROR DETAIL */

#error_detail {
    text-align: center;
}
#error_detail svg {
    font-size: 40px;
    margin-bottom: 20px;
}
p.evidence {
    color: #111;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 40px;
}
.check_mini_img {
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    float: left;
    height: 40px;
    margin-right: 10px;
    width: 40px;
}
.accordion-button {
    background: #eee !important;
    border: 0 !important;
    border-radius: 20px !important;
    display: block;
    margin-bottom: 15px !important;
    padding: 10px 15px !important;
}
h2.accordion-header p {
	display: block;
	float: left;
    margin-bottom: 0 !important;
	width: calc(100% - 90px);
}
.accordion-button::after {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%) !important;
}
.accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(-180deg) !important;
}
.accordion-item {
    border: 0 !important;
}
.accordion-collapse.show .accordion-body {
	/*
    background: #f6f6f6;
	border: 0;
	border-radius: 20px;
	margin-bottom: 10px;
	text-align: justify;
    */
	padding: 70px 20px 20px;
}

/* FOTO THUMBS */

.fotoThumbWrapper {
    background: #eee;
    width: 200px;
    display: block;
    float: left;
    margin: 0 10px 10px 0;
    border-radius: 10px;
    position: relative;
}
.fotoThumbWrapper.added {
    background: #72A575;
}
tr.added td {
    background: #72A575 !important;
    color: #fff;
}
p.added {
    color: #72A575 !important;
    margin-bottom: 5px;
}
p.added.small {
	margin: 0 0 2px;
	font-weight: 600;
}
.fotoThumbWrapper.added > p, .fotoThumbWrapper.added .bottom_bar > span {
    color: #fff !important;
}
.fotoThumb {
    height: 200px;
    width: 200px;
    background-size: cover;
    display: block;
}
.fotoThumbWrapper p {
    text-align: center;
    font-size: 14px;
    margin: 0;
    color: #777;
    font-weight: 600;
    padding: 5px 10px;
    height: 32px;
    overflow: hidden;
}
.fotoThumbWrapper .bottom_bar {
    padding: 5px 5px 2px;
}
.fotoThumbWrapper .bottom_bar span.filename {
	font-weight: 600;
	font-size: 12px;
	overflow: hidden;
	width: calc(100% - 50px);
	display: inline-block;
	/* border: 1px solid red; */
	padding: 0;
	margin: 0;
	line-height: 1;
	height: 14px;
	margin-top: -2px;
}
.fotoThumbWrapper .bottom_bar img {
    display: inline-block;
    margin: -5px 4px 0 0;
    vertical-align: center;
}
.fotoThumbWrapper.added .bottom_bar img {
	filter: saturate(0%) invert(100%);
}
.fotoThumbWrapper .command_menu_link {
    display: inline-block;
    float: right;
    margin: 4px 0 0;
}
.fotoThumbWrapper .command_menu_link img {
	height: 14px;
    margin: -11px 0 0;
}
.fotoThumbWrapper .command_panel {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	position: absolute;
	bottom: 0;
	right: 0;
	transform: translateX(calc(100% - 20px)) translateY(calc(100% - 8px));
	padding: 10px;
	z-index: 50;
    display: none;
}
.fotoThumbWrapper .command_menu_link:hover .command_panel {
    display: block;
}
.fotoThumbWrapper .command_panel a {
    display: block;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--primary-color);
}
.fotoThumbWrapper .command_panel a.delete {
    color: #930000;
}
.fotoThumbWrapper .command_panel * {
    font-size: 14px;
}
.fotoThumbWrapper .command_panel label {
    color: #333;
    margin: 0;
}
.fotoThumbWrapper .command_panel hr {
	margin: 10px 0 5px;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #aaa;
}
.fotoThumbWrapper .command_panel select {
	border: 0;
	padding: 0 !important;
	border-bottom: 0 !important;
	margin: 0px 0 0 !important;
	display: block;
}

/* MAINTENANCE */

#maintenance {
    background: #ddd;
    box-shadow: 30px 0 30px -30px #555, -30px 0 30px -30px #555;
    border-radius: 35px;
    padding: 40px;
    text-align:  center;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    position: fixed;
    z-index: 1000;
    max-width: 90%;
    width: 600px;
}
#maintenance svg {
    color: var(--secondary-color);
    display: block;
    font-size: 100px;
    margin: 0 auto 40px;
}
#maintenance h1 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 40px;
}
#maintenance p {
    font-size: 24px;
    line-height: 1.4;
    padding: 0 20px;
}
#maintenance a.btn {
    border: 0;
    font-size: 18px;
    background: var(--secondary-color) !important;
    padding: 10px 30px;
}

@media all and (max-width: 480px) {
    #maintenance {
        padding: 20px;
    }
    #maintenance p {
        font-size: 20px;
        line-height: 1.2;
    }
    #maintenance a.btn {
        display: block;
        width: 100%;
        margin: 0 0 20px;
        padding: 10px;
    }
}

/* TEXT HTML EDITOR */

.rdw-editor-main {
    min-height: 200px !important;
    padding: 10px;
    border: 1px solid #eee;
}
#event_note .rdw-editor-main {
    min-height: 600px !important;
}  

/* SWAL */

#swal2-html-container img {
	max-width: 400px !important;
	margin: 40px 0 60px;
}
.swal2-html-container h2 {
	color: var(--primary-color);
	text-transform: none;
	font-weight: 700;
}
.swal2-html-container p {
	font-size: 20px;
	max-width: 80%;
	margin: 0 auto 25px;
}
.swal2-html-container b {
	/* color: #B13905; */
	font-weight: 800;
	display: inline-block;
	font-size: 20px;
	margin: 0;
}
.swal2-html-container td b {
    font-size: 20px !important;
}
.swal2-html-container input, .swal2-html-container select, .swal2-html-container textarea {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.swal2-html-container textarea {
    height: 100px;
}
.swal2-confirm, .swal2-cancel, .swal2-deny {
	border-radius: 10px !important;
	padding: 10px 30px;
	font-size: 18px !important;
	font-weight: 600;
    min-width: 180px;
}
.swal2-cancel {
    background: #fff !important;
    border: 2px solid #314490 !important;
    color: #314490 !important;
}
#swal2-html-container .logo {
	display: block;
	margin: 0 auto;
	padding-left: 20px;
	border-bottom: 2px solid #ccc;
	padding-bottom: 20px;
}
.swal2-html-container p:last-of-type {
	margin-bottom: 0 !important;
}
.swal2-html-container {
    line-height: 1.2 !important;
    overflow: visible !important;
}

/* TOOLTIP */

.react-tooltip {
	border-radius: 10px !important;
    font-size: 16px !important;
    z-index: 100;
}
.react-tooltip * {
    font-size: 16px !important;
}

/* ADMIN */

.admin #logo {
    max-height: 60px;
    padding-left: 40px;
}
.admin #login_form input {
    max-width: 400px;
    display: block;
    clear: both;
    margin: 0 auto 10px;
}
#status_online {
    cursor: pointer;
    background: #11265D;
    color: #fff;
    font-weight: 600;
    padding: 5px 20px;
    border-radius: 20px;
    margin-top: 8px;
    display: inline-block;
    text-transform: uppercase;
}
#status_online svg {
    font-size: 20px;
    margin-right: 5px;
    vertical-align: middle;
}
#status_online.on {
    background: green;
}
#status_online.off {
    background: #d90000;
}
#status_online:hover {
    opacity: .8;
}

/* ADMIN - PREVENTIVI */

.total {
	font-weight: 600;
	color: rgb(217, 0, 0);
	display: inline-block;
	background: rgb(221, 221, 221);
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 20px;
}
.status_counters_wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 20px 0;
	gap: 20px;
}
.status_counter {
	padding: 20px 40px;
	color: #fff;
	text-align: center;
	font-size: 20px;
	border-radius: 25px;
	flex: 1;
	flex-grow: 1;
    text-transform: uppercase;
}
.status_counter .number {
	display: block;
	margin: 0;
	font-size: 52px;
	font-weight: 600;
	line-height: 1;
}
td.move_col {
	width: 25px !important;
	max-width: 25px !important;
	background: #f7f3d9 !important;
	text-align: center;
	padding: 0 !important;
	margin: 0;
}

/* MATERIAL UI */

.MuiFormControl-root, .MuiTextField-root, .MuiInputBase-root,
.MuiFormControl-root *, .MuiTextField-root *, .MuiInputBase-root * {
    border: 0 !important;
}
.MuiFormLabel-root, .MuiInputLabel-root {
    display: none !important;
}

/* RESPONSIVE */

@media all and (min-width: 1900px) {
    .admin.content {
        padding-right: 20px !important;
        /* padding-bottom: 100px !important; */
    }
    #header {
        max-width: 100%;
        padding: 10px 45px;
        position: relative;
    }
    #headicons_wrapper .headicon:first-of-type {
        display: none;
    }
    .front_content #subheader + .panel p.alert {
        margin: 20px 0 0 !important;
    }
    #menu {
        /* left: 0; */
        /* right: auto; */
        /* transform: translateX(0%) !important; */
        /* top: 70px; */
        max-width: 20% !important;
        width: 20% !important;
        position: relative;
        float: left !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        top: auto !important;
    }
    #menu .sx {
        display: none;
    }
    #menu .dx {
        padding: 20px !important;
        width: 100% !important;
    }
    .content:not(.noMargin) {
        /* margin-left: 20% !important; */
        width: 80% !important;
        max-width: 80% !important;
        float: left !important;
        margin-top: 0 !important;
    }
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #calendar_datepicker_btn {
	    right: 340px !important;
    }
}
@media all and (max-width: 1920px) {
    table {
        width: 100% !important;
    }
    table th {
        line-height: 1;
        font-size: 14px;
    }
    table td {
        font-size: 15px;
        line-height: 1.1;
    }
    .eval_state_label {
        padding: 3px 5px 4px;
        font-size: 13px;
    }
    td.actions button {
        margin-right: 2px !important;
        padding: 1px 5px !important;
    }
    table td.actions button svg {
        font-size: 14px;
    }
    .dashboard .count_wrapper .count_block {
        flex-grow: 1;
        margin-right: 10px;
        max-width: 180px;
        padding: 10px 0px 10px 15px;
    }
    .dashboard .count_wrapper .count_block .num {
        font-size: 32px;
    }
    .dashboard .count_wrapper .count_block .title {
        font-size: 14px;
    }
    .calendar .day {
        padding: 0 10px;
    }
    .calendar .appointment {
        font-size: 14px;
    }
    .calendar .appointment p.contact span.mode {
        font-size: 12px;
        height: 22px;
        display: inline-block;
        cursor: pointer;
        transition: all 300ms;
        width: 28px;
        overflow: hidden;
    }
    .calendar .appointment p.contact span.mode span {
        /* opacity: 0; */
    }
    .calendar .appointment p.contact span.mode:hover {
        background: #ddd;
        width: calc(100% - 120px);
    }
    .calendar .appointment p.contact span.mode:hover span {
        /* opacity: 1; */
    }
    #logo {
        max-height: 120px;
    }
    #nav_wrapper {
        margin-top: 10px;
        padding: 10px 20px;
    }
    #menu a {
        padding: 6px 10px 5px;
    }
    #menu ul > li > ul {
        padding: 0px 0 10px;
    }
    hr {
        margin: 20px auto 10px !important;
    }
    #info_connected p {
        margin-bottom: 5px;
    }
    #info_connected div svg {
        font-size: 45px;
    }
    .role_label.sidebar {
        margin-right: 0;
        padding: 5px 14px;
        font-size: 12px;
        margin-right: 5px !important;
    }

    .status_counter {
        padding: 10px 20px;
        font-size: 16px;
        font-weight: 600;
    }
    .status_counter .number {
        font-size: 36px;
    }
}
@media all and (max-width: 1800px) {
    #menu .dx {
        background: #fff !important;
        padding: 30px 0 !important;
    }
    #logo {
        max-height: 100px;
    }
    #nav_wrapper {
        margin-top: 20px;
    }
    #menu nav {
        margin-top: 0px;
    }
    /*
    table td.actions {
        max-width: 85px;
    }
    */
}
@media all and (max-width: 1800px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 100% !important;
    }
    td.tdcol span {
        display: block;
        width: 100%;
    }
    #header .row .col:first-of-type {
        vertical-align: middle;
        max-width: 160px !important;
    }
}
@media all and (min-width: 768px) {
    #calendar_datepicker_btn {
        width: 200px !important;
        position: absolute !important;
        right: 270px !important;
        margin-top: 15px !important;
        border-radius: 5px !important;
        padding: 7px 5px !important;
    }
    #calendar_datepicker_btn.admin_btn {
        right: 220px !important;
        margin-top: 24px !important;
    }
}
@media all and (min-width: 768px) and (max-width: 1800px) {
    #menu {
        max-width: 40% !important;
    }
}
@media all and (min-width: 601px) and (max-width: 1800px) {
    #search_wrapper {
        position: absolute;
        top: 5px;
        right: 180px;
    }
}
@media all and (max-width: 600px) {
    .nomob {
        display: none !important;
    }

    #slot_detail_table tr:not(.nomob) {
        display: block !important;
        width: calc(100vw - 25px) !important;
    }
    #slot_detail_table tr td {
        min-width: 60px !important;
    }
    #slot_detail_table tr.full td {
        clear: both !important;
        border: 0 !important;
        display: block !important;
        width: calc(100vw - 25px) !important;
        text-align: center !important;
    }
    #slot_detail_table tr.full td:first-of-type {
        padding: 10px 0 0 !important;
    }
    #slot_detail_table tr.full td:last-of-type {
        padding: 0 0 10px !important;
        border-bottom: 1px solid #ddd !important;
    }
    #slot_detail_table tr td button {
        display: block !important;
        width: calc(100vw - 60px) !important;
        max-width: calc(100vw - 60px) !important;
        margin: 5px 0;
    }

    #slot_reservations_table thead {
        display: none !important
    }
    #slot_reservations_table tr {
        display: block !important;
        margin-bottom: 10px;
        width: calc(100vw - 25px) !important;
        background: #ddd !important;
        border-radius: 10px !important;
        /* border: 1px solid #aaa !important; */
    }
    #slot_reservations_table tr td {
        clear: both !important;
        border: 0 !important;
        display: block !important;
        width: calc(100vw - 25px) !important;
        text-align: center !important;
        padding: 3px 0 !important;
        background: #ddd !important;
        max-width: 100% !important;
    }
    #slot_reservations_table tr td[data-title="ID"],
    #slot_reservations_table tr td[data-title="Stato"] {
        width: calc(50vw - 13px) !important;
        clear: none !important;
        float: left !important;
    }
    #slot_reservations_table tr td:nth-of-type(1) {
        border-radius: 10px 0 0 0 !important;
        padding: 15px 0 3px !important;
    }
    #slot_reservations_table tr td:nth-of-type(2) {
        border-radius: 0 10px 0 0 !important;
        padding: 15px 0 3px !important;
    }
    #slot_reservations_table tr td:last-of-type {
        padding: 3px 0 15px !important;
        border-radius: 0 0 10px 10px !important;
    }
    #slot_reservations_table tr td[data-title="Azioni"] {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 10px 15px 15px !important;
    }
    #slot_reservations_table tr td[data-title="Azioni"] button {
        flex: 1;
        flex-grow: 1;
        border-radius: 5px !important;
        max-width: 100% !important;
    }
    #slot_reservations_table tr td[data-title="Azioni"] button svg {
        font-size: 18px;
        vertical-align: middle;
        margin-top: -1px;
    }
    #slot_reservations_table tr td::before {
        content: attr(data-title) ": ";
        display: inline-block;
        margin-right: 5px;
        font-weight: bold;
    }
    #slot_reservations_table tr td[data-title="Azioni"]::before {
        display: none !important;
    }
    #slot_reservations_table tr td .tag {
        display: inline-block;
    }

    #reservation_users_counters {
        /* flex-direction: column;
        justify-content: center;
        align-items: center; */
    }
    #reservation_users_counters > div {
        margin: 0;
        width: auto;
        padding: 0 10px 0 0;
        font-size: 12px;
    }
    #reservation_users_counters > div span {
        padding: 0px 0;
        font-size: 28px;
        min-width: 30px !important;
        margin-right: 5px;
        line-height: 36px;
    }
    #add_persons_btns_wrapper button {
        display: block !important;
        width: calc(100vw - 60px) !important;
        max-width: calc(100vw - 60px) !important;
        margin: 5px 0;
    }

    .person_row {
        padding: 35px 10px 5px !important;
    }

    .admin_detail.with_title .col {
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    .admin_detail.with_title .col br {
        display: none !important;
    }
    .admin_detail.with_title .col b {
        display: inline-block !important;
    }
    .admin_detail.with_title .col b::before {
        content: ":";
        margin-right: 5px !important;
    }

    .custom_form input[type="text"], 
    .custom_form input[type="password"], 
    .custom_form input[type="file"], 
    .custom_form input[type="date"], 
    .custom_form input[type="number"], 
    .custom_form input[type="email"], 
    .custom_form input[type="time"], 
    .custom_form input[type="color"], 
    .custom_form select, 
    .custom_form textarea {
        padding: 5px 10px;
    }
    .custom_form label, .custom_form input, .custom_form select, .custom_form textarea {
        margin: 2px 0 0;
    }

    #reservation_main_panel {
        padding: 0 !important;
    }

    #reservation_recap_block br {
        display: none !important;
    }
    #reservation_recap_block b {
        display: block !important;
    }
    #reservation_recap_block > div {
        padding: 0 !important;
    }

    #reservation_recap_block br {
        display: block !important;
    }
    #reservation_slot_availabilities_recap {
        border-left: 0;
        background: #777;
        color: #fff;
        padding: 10px 0;
        border-radius: 10px;
        margin: 10px 0;
    }
    #reservation_slot_availabilities_recap b {
        display: inline-block !important;
    }
    #reservation_slot_availabilities_recap p.title {
        text-transform: uppercase;
    }

    hr {
        margin: 20px 50px !important;
    }

    #dashboard.admin .action_row .btn {
        width: calc(50% - 10px) !important;
        float: left !important;
        padding: 5px 10px !important;
        margin: 0 5px 5px !important;
        position: relative;
        font-size: 15px !important;
        text-align: right;
        background: var(--secondary-color) !important;
        border: 0 !important;
    }
    #dashboard.admin .action_row button.btn svg {
        margin: 0 !important;
        position: absolute;
        left: 3px;
        font-size: 24px !important;
        opacity: .8;
        top: 4px;
    }
    .action_row .col {
        margin-bottom: 10px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .partner_label {
        display: inline-block;
        width: 100px;
    }
}
@media all and (max-width: 480px) {
    #login_form_wrapper img {
        max-height: 160px !important;
        margin-bottom: 20px !important;
    }
    #header > .row {
        border: 0;
    }
    #header .row .col:first-of-type {
        display: none !important;
    }
    .waste_btn.mini, button.mini {
        max-width: calc(50% - 20px);
    }
    #status_online {
        margin-top: 0;
        position: absolute;
        top: 15px;
        left: 10px;
        z-index: 1000;
        padding: 5px 15px;
    }
    .action_bar {
        flex-wrap: wrap;
    }
    .action_bar .col {
        flex: none;
        margin-bottom: 10px;
        width: 100%;
    }
    .items_list li.expired .detail, .items_list li.scheduled .detail, .items_list li.published .detail {
        max-width: 140px;
    }
    #nav_wrapper {
        margin-top: 10px;
    }
    p.appname {
        margin-top: 10px;
        font-size: 16px;
        margin-bottom: 10px !important;
    }
    p.appname span {
        padding: 2px 10px;
        font-size: 12px;
    }
    #menu a {
        padding: 5px 0;
    }
    #menu .sx {
        box-shadow: 15px 0 10px -10px #aaa;
        padding: 10px 0 0 5px;
        width: 70px !important;
    }
    #menu .dx {
        box-shadow: 15px 0 10px -10px #aaa;
        width: calc(100% - 70px) !important;
    }
    #menu ul > li > ul {
        padding: 0px 0 15px;
    }
    #menu ul > li > ul.visible {
        margin-left: 10px;
    }
    #menu nav a svg {
        margin-right: 2px;
    }
    .role_label {
        margin-bottom: 5px !important;
    }
    #headicons_wrapper {
        top: 10px;
        position: absolute;
        right: 0px;
    }
    .admin.content {
        margin-top: 100px;
    }
    .admin.content .page_title h1 {
        font-size: 28px;
    }
    #search_wrapper {
        box-shadow: 0 10px 10px -10px #aaa;
        margin-top: 12px;
    }
    #nav_wrapper hr {
        margin: 10px 50px !important;
    }

    .admin.content .page_title h1 {
        font-size: 24px;
        display: block;
        clear: both;
        width: 100%;
        line-height: 1;
    }
    h1 .left_btn {
        margin-right: 10px;
        vertical-align: middle;
        margin-bottom: 0;
        float: left;
    }
    .page_content.reservation_detail.row {
        margin-top: -15px;
    }

    .action_row button.btn, #calendar_datepicker_btn {
        font-size: 15px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    .action_row button.btn svg {
        margin: 0 !important;
    }

    html, body {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    .row {
        flex-direction: column !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .panel .col {
        margin-bottom: 10px;
        text-align: center;
    }
    .panel.first {
        padding: 20px 0px 0;
    }
    .front_content .page_title {
        flex-direction: column;
    }
    .front_content .page_title h1 {
        font-size: 34px;
        text-align: center;
    }
    .front_content .page_title #logo {
        max-height: 80px;
        float: none !important;
        margin-left: 0;
        margin: 0 auto !important;
    }
    .front_content .page_title #logo.escursionimotoslitte {
	    float: left !important;
        margin: auto !important;
	    margin-left: 6vw !important;
    }
    .init_box {
        width: 100%;
        margin: 20px auto;
        padding: 20px;
        font-size: 22px;
        line-height: 1.3;
    }
    .init_box.collapsed {
        padding: 10px;
        line-height: 1.2;
        margin: 0 0 10px;
        font-size: 14px;
    }
    .voucher_panel h2 {
        font-size: 20px;
        font-weight: 600;
    }
    .custom_form .row {
        flex-direction: column;
    }
    .custom_form .row .col {
        margin-bottom: 10px;
    }
    .panel {
        padding: 20px 0;
    }
    h2 {
        font-size: 22px !important;
    }
    h4 {
        font-size: 20px !important;
    }
    .voucher_panel p {
        font-size: 15px;
        line-height: 1.3;
    }
    .fc .fc-toolbar-title {
        font-size: 20px !important;
        margin: 0px;
        font-weight: 600;
    }
    .fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
        margin-left: 5px;
    }
    #calendar_wrapper {
        margin-bottom: 40px;
    }
    #agreement_box {
        font-size: 16px;
        margin-top: -20px;
        text-align: center;
    }
    #pay_btn {
        position: relative;
        width: 280px;
        margin-top: 50px;
    }
    .person_row {
        width: calc(100% - 10px);
    }
    #thank_wrapper {
        padding-top: 40px !important;
    }
    #thank_wrapper button {
        width: 280px;
        margin: 0 0 20px !important;
        text-transform: uppercase;
        font-weight: 600;
        line-height: 1.2;
    }
    .action_bar.bottom button {
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    .fc .fc-button {
        font-size: 15px;
        padding: 6px;
    }
    .alert {
        margin: 10px 0 0 !important;
    }

    #headicons_wrapper {
        top: 10px;
        position: absolute;
        right: 0px;
    }
    .admin.content {
        margin-top: 100px;
    }
    .admin.content .page_title h1 {
        font-size: 28px;
    }
    #search_wrapper {
        box-shadow: 0 10px 10px -10px #aaa;
        margin-top: 12px;
    }
    #nav_wrapper hr {
        margin: 10px 50px !important;
    }
}
