@font-face {
    font-family: BetterTimes;
    src: url("/storage/fonts/Better-Times/BetterTimes.ttf") format('truetype');
}

@font-face {
    font-family: Inter-Bold;
    src: url("/storage/fonts/Inter/Inter-Bold.ttf") format('truetype');
}

@font-face {
    font-family: Inter-ExtraBold;
    src: url("/storage/fonts/Inter/Inter-ExtraBold.ttf") format('truetype');
}

@font-face {
    font-family: Inter-Black;
    src: url("/storage/fonts/Inter/Inter-Black.ttf") format('truetype');
}

@font-face {
    font-family: Inter-Medium;
    src: url("/storage/fonts/Inter/Inter-Medium.ttf") format('truetype');
}

@font-face {
    font-family: Inter-SemiBold;
    src: url("/storage/fonts/Inter/Inter-SemiBold.ttf") format('truetype');
}

:root {
    --primary: #5c6f8a;
    --secondary: #94a3b8;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    transition: background-color linear 0.2s, color linear 0.2s, border-color linear 0.2s;
    outline: none!important;
    -moz-user-select: -moz-none;
}

input, input:before, input:after {
    -webkit-user-select: initial;
    -moz-user-select: initial;
    user-select: initial;
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 100px;
}

body::-webkit-scrollbar-thumb {
    border: 1px solid transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 100px;
    background-clip: padding-box;
    border: 5px solid transparent;
    -webkit-border-radius: 100px;
    -webkit-box-shadow: inset -1px -1px 0px rgba(0, 0, 0, 0.05), inset 1px 1px 0px rgba(0, 0, 0, 0.05);
    -webkit-transition: all linear 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

body, html {
    overflow-x: hidden;
}

table th, table td, table th *, table td * {
    text-align: center;
}

table tbody tr {
    transition: all linear 0.15s;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

.svc-creator__banner {
    display: none!important;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.notifications-menu.active::after {
    content: "";
    z-index: 2;
    width: 12px;
    height: 12px;
    display: flex;
    background-color: #0ea5e9;
    top: 2px;
    right: 4px;
    border-radius: 50px;
    position: absolute;
    border: 1px solid;
}

.menu-icons {
    color: #0ea5e9;
}

#surveyCreatorContainer .svc-creator__content-wrapper.svc-flex-row {
    min-height: 200px;
    max-height: 600px;
}

.svc-hovered.svc-page__content, .svc-page__content.svc-page__content--selected {
    background-color: transparent!important;
}

#surveyCreatorContainer * {
    font-family: inherit!important;
}

html.system-light .system-light-mode {
    display: inline!important;
}

html.system-dark .system-dark-mode {
    display: inline!important;
}

html.light .light-mode {
    display: inline!important;
}

html.dark .dark-mode {
    display: inline!important;
}

.card-width {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    max-width: 150px;
    max-height: 150px;
}

label.required, .label.required {
    width: -moz-max-content;
    width: max-content;
    position: relative;
}

label.required::after, .label.required::after {
    position: absolute;
    top: 4px;
    right: -10px;
    content: "";
    display: flex;
    width: 6px;
    height: 6px;
    border-radius: 200px;
    background-color: rgb(239 68 68);
}

p.required::after {
    position: relative;
    top: 2px;
    right: -4px;
    content: "";
    display: flex;
    width: 6px;
    height: 6px;
    border-radius: 200px;
    background-color: rgb(239 68 68);
}

html.dark label.required::after, .label.required::after, p.required::after,
html.system-dark label.required::after, .label.required::after, p.required::after,
html.dark .notifications-menu.active::after,
html.system-dark .notifications-menu.active::after  {
    background-color: #ea580c!important;
}

html.dark .menu-icons,
html.system-dark .menu-icons {
    color: #ea580c!important;
}

.z-2001 {
    z-index: 2001;
}

.z-2000 {
    z-index: 2000;
}

.z-1999 {
    z-index: 1999;
}

.crud-table-container > div > div {
    /*min-width: 1080px;*/
    width: 100%;
}

.leaflet-control-attribution {
    display: none!important;
}

.crud-table th:not(:first-child):not(:last-child), .crud-table td:not(:first-child):not(:last-child) {
    min-width: 110px;
}
.crud-table th:not(:first-child):not(:last-child) > *, .crud-table td:not(:first-child):not(:last-child) > * {
    min-width: -moz-max-content;
    min-width: max-content;
}

.tox-promotion {
    display: none!important;
}

.bg-custom {
    background-color: rgba(249, 250, 251, 0.8);
}

html.dark .bg-custom,
html.system-dark .bg-custom {
    background-color: rgba(31, 41, 55, 0.8) !important;
}

.iframe-email-preview {
    width: 230px;
    min-height: 270px;
}

.fc-event {
    /*background-color: rgb(99 102 241);*/
    border-color: #fff;
}

html.dark .fc-event:not(.fc-custom-done),
html.system-dark .fc-event:not(.fc-custom-done) {
    /*background-color: #f97316!important;*/
}

.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:hover {
    background-color: rgb(67 56 202);
    border-color: rgb(67 56 202);
    color: #fff;
}

.fc .fc-button-primary {
    background-color: rgb(99 102 241);
    border-color: rgb(99 102 241);
    color: #fff;
}

.fc .fc-button-primary:focus {
    box-shadow: none!important;
    outline: 0!important;
}

.fc-event-mirror {
    opacity: 0.3;
}

html.dark .fc .fc-button-primary:not(:disabled).fc-button-active,html.system-dark .fc .fc-button-primary:not(:disabled).fc-button-active,
html.dark .fc .fc-button-primary:not(:disabled):active,html.system-dark .fc .fc-button-primary:not(:disabled):active,
html.dark .fc .fc-button-primary:hover, html.system-dark .fc .fc-button-primary:hover {
    background-color: #c2410c;
    border-color: #c2410c;
    color: #fff;
}

html.dark .fc .fc-button-primary, html.system-dark .fc .fc-button-primary {
    background-color: #f97316;
    border-color: #f97316;
    color: #fff;
}

html.dark:root, html.system-dark:root {
    --fc-border-color: #5e5e5e;
    --fc-today-bg-color: rgba(226, 232, 240, 0.1);
    --fc-neutral-bg-color: #f97316;
    --fc-now-indicator-color: rgb(34 197 94);
}

html.dark table tbody tr:hover, html.system-dark table tbody tr:hover {
    background-color: #2d2d2d;
}

:root {
    --fc-today-bg-color: rgba(226, 232, 240, 0.3);
    --fc-neutral-bg-color: rgb(99 102 241);
    --fc-now-indicator-color: rgb(251 146 60);
}

.fc .fc-timegrid-now-indicator-line {
    border-width: 3px 0 0;
}

.fc-direction-ltr .fc-timegrid-now-indicator-arrow {
    border-width: 9px 0 9px 15px;
    margin-top: -8px;
}

.fc .fc-timeline-now-indicator-line {
    border-width: 0 0 0 3px;
}

.fc .fc-timeline-now-indicator-arrow {
    border-width: 10px 9px 0;
    margin: 0 -9px;
}

.fc-theme-standard .fc-scrollgrid, tr.fc-scrollgrid-section.fc-scrollgrid-section-body.fc-scrollgrid-section-liquid > td {
    border: none;
}

.fc-theme-standard th, tr.fc-scrollgrid-section.fc-scrollgrid-section-body > td {
    border-right: none;
}

.fc-view {
    border: 1px solid var(--fc-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.fc-timeline-slot-cushion.fc-scrollgrid-sync-inner,
.fc-timegrid-slot-label-cushion.fc-scrollgrid-shrink-cushion,
.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner,
.fc-col-header-cell-cushion,
.fc-daygrid-week-number,
.fc-datagrid-cell-main {
    font-size: 0.8em;
}

.fc-timeline-event {
    border-radius: 0.175em;
}

#calendar-container *:not(button):not(.fc-icon) {
    color: rgb(17 24 39);
}

.fc-daygrid-week-number, .fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner, .fc-event * {
    color: #fff!important;
}

html.dark #calendar-container *, html.system-dark #calendar-container * {
    color: #fff;
}

.fc-resource-group .fc-datagrid-expander, .fc-resource-group .fc-datagrid-cell-main {
    color: #fff!important;
}

html.dark th.fc-timegrid-axis.fc-scrollgrid-shrink,
html.system-dark th.fc-timegrid-axis.fc-scrollgrid-shrink {
    background-color: #f97316;
}

th.fc-timegrid-axis.fc-scrollgrid-shrink {
    background-color: rgb(99 102 241);
}

.fc-toolbar-title {
    font-size: 1.2em!important;
    font-weight: bold;
}

td.fc-timegrid-axis.fc-scrollgrid-shrink > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

html.dark td.fc-timegrid-axis.fc-scrollgrid-shrink > div::after,
html.system-dark td.fc-timegrid-axis.fc-scrollgrid-shrink > div::after {
    background-image: url("/storage/media/img/all_day_orange.png");
}

html.light td.fc-timegrid-axis.fc-scrollgrid-shrink > div::after,
html.system-light td.fc-timegrid-axis.fc-scrollgrid-shrink > div::after {
    background-image: url("/storage/media/img/all_day_blue.png");
}

td.fc-timegrid-axis.fc-scrollgrid-shrink > div::after {
    content: "";
    font-size: 1.4em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    width: 100%;
    height: 100%;
}

.fc-resourceTimeline-button::after {
    background-image: url("/storage/media/img/Planning.svg");
}

.fc-timeGridDay-button::after {
    background-image: url("/storage/media/img/Day.svg");
}

.fc-timeGridWeek-button::after {
    background-image: url("/storage/media/img/Week.svg");
}

.fc-dayGridMonth-button::after {
    background-image: url("/storage/media/img/Month.svg");
}

.fc-today-button::after {
    background-image: url("/storage/media/img/Today.svg");
}

.fc-resourceTimeline-button::after, .fc-timeGridDay-button::after, .fc-timeGridWeek-button::after, .fc-dayGridMonth-button::after, .fc-today-button::after {
    content: "";
    font-size: 1.4em;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    width: 20px;
    height: 20px;
}

.fc-resourceTimeline-button, .fc-timeGridDay-button, .fc-timeGridWeek-button, .fc-dayGridMonth-button, .fc-today-button {
    display: flex!important;
    justify-content: center;
    align-items: center;
    position: relative;
    color: transparent!important;
    width: 46px;
    height: 40.63px;
}

.fc-toolbar-chunk {
    display: flex;
}

:disabled {
    opacity: 0.5;
}

span.fc-timegrid-axis-cushion.fc-scrollgrid-shrink-cushion.fc-scrollgrid-sync-inner {
    display: none;
}

a.fc-daygrid-week-number {
    display: none;
}

.fc-custom-done {
    background-color: gray!important;
    cursor: not-allowed!important;
}

.fc-event-time {
    font-weight: bold;
    font-size: 1em!important;
}

.fc-timeline-event-harness .fc-event-title.fc-sticky {
    opacity: 1!important;
    font-weight: bold;
    font-size: 1em!important;
}

.fc-event-title.fc-sticky {
    opacity: 0.8;
}

#image-container > img {
    height: 100%;
}

div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6 {
    font-weight: bold;
}

div#content h1 {
    font-size: 34px;
    line-height: 34px;
}

div#content h2 {
    font-size: 30px;
    line-height: 32px;
}

div#content h3 {
    font-size: 24px;
    line-height: 26px;
}

div#content h4 {
    font-size: 20px;
    line-height: 22px;
}

div#content h5 {
    font-size: 18px;
    line-height: 20px;
}

div#content h6 {
    font-size: 16px;
    line-height: 18px;
}

div#content p, div#content strong, div#content em, div#content b, div#content i, div#content li {
    font-size: 16px;
}

div#content ul {
    margin: 20px 0;
    padding-left: 20px;
    list-style: disc;
}

div#content ol {
    margin: 20px 0;
    padding-left: 20px;
    list-style: upper-alpha;
}

.categories-block-wrappers {
    min-height: 20px;
}

.categories-block-placeholder {
    background: linear-gradient(90deg, rgb(128, 128, 128) 15px, transparent 4%) center, linear-gradient(rgb(128, 128, 128) 15px, transparent 4%) center, #fff;
    background-size: 16px 16px;
    background-color: rgba(128, 128, 128, 0.5);
    grid-column: span 6 / span 6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(128, 128, 128);
    width: 100%;
    border-radius: 0.375rem;
    border: 3px dashed #fff;
}

.categories-block-placeholder::after {
    text-align: center;
    font-style: italic;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.25rem;
    padding: 5px 15px;
    border-radius: 0.375rem;
    background-color: #fff;
}

.categories-block-placeholder {
    height: 200px;
}

@media only screen and (min-width: 640px) {
    #solo-form {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        margin-top: 10px;
    }
}

@media only screen and (max-width: 639px) {
    #solo-form {
        width: 100%;
        height: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .mobile {
        display: none!important;
    }
}

@media only screen and (max-width: 767px) {
    .desktop {
        display: none!important;
    }
    .fc-toolbar.fc-header-toolbar {
        flex-direction:column;
    }

    .fc-toolbar-chunk {
        text-align:center;
        padding:5px 0;
    }

    .fc-day .fc-col-header-cell-cushion[aria-label] {
        font-size: 0.6em;
    }

    #calendar-container {
        height: 90vh;
    }
}


