@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

.text-input {
    padding: 5px;
    border-radius: 8;
}

.dx-texteditor.dx-editor-outlined {

    border-radius: 4px;
}

.dx-field-label-top {
    width: 100%;
    padding-bottom: 10px;
}

.dx-field-value-top {
    width: 100%;
}

.btn {
    border-radius: 8px;
    display: flex;

    align-content: center;
    justify-content: center;
    align-items: center;
}

.dx-button-content {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.error-text {
    color: red
}

.dx-popup-normal {
    overflow: visible !important;
    font-size: 0.8rem;
}

.dx-row-focused .action-icon {
    color: #ffffff !important;
}

.dx-widget,
.dx-theme-generic-typography input,
.dx-theme-generic-typography textarea,
.dx-theme-generic-typography,
.dx-calendar-cell {
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif !important;
    font-size: 0.8rem !important
}

.dx-datagrid-nodata {
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif !important;
    font-size: 0.8rem !important
}

*-DropdownIndicator {
    padding: 0.75rem 0.45rem 0.75rem 0.45rem;
}

*[id^='react-select-'] {
    width: auto;
    white-space: nowrap;
    min-width: 100%;
}

/* .MuiBox-root span:not(.MuiIcon-root) {
    font-size: 0.8rem !important
} */

.dx-selection {
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    display: -ms-inline-flexbox;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    border-radius: 0.5rem;
    text-align: center;
    text-transform: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-background-size: 150% !important;
    background-size: 150% !important;
    background-position-x: 25% !important;
    -webkit-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
    background: linear-gradient(310deg, #dd1f26, #f7545a) !important;
    color: #ffffff;
    border-radius: 10rem;
    height: 2.375rem;
    border-color: #dee2e6;
    pointer-events: none;
    font-weight: 400;
    font-size: 0.875rem;
}

.dx-pager .dx-page-sizes .dx-selection,
.dx-pager .dx-pages .dx-selection {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    background-color: transparent;
    outline: 0;
    border: 0;
    margin: 0;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-text-decoration: none;
    text-decoration: none;
    color: inherit;
    font-family: "Open Sans", "Helvetica", "Arial", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    min-width: 64px;
    padding: 6px 16px;
    border-radius: 4px;
    -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: 700;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-background-size: 150% !important;
    background-size: 150% !important;
    background-position-x: 25% !important;
    -webkit-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
    background: linear-gradient(310deg, #dd1f26, #f7545a) !important;
    color: #ffffff;
    border-radius: 10rem;
    width: 2.375rem;
    min-width: 2.375rem;
    height: 2.375rem;
    min-height: 2.375rem;
    padding: 0.6875rem 0.6875rem 0.625rem;
    border-color: #dee2e6;
    margin: 0 0.125rem;
    pointer-events: none;
    font-weight: 400;
    font-size: 0.875rem;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
}

.dx-texteditor.dx-editor-outlined {
    background: #fff;
    border: 1px solid #dee1e3;
    border-radius: 0.5rem !important;
    margin-right: 8px;
}

.dx-datagrid-rowsview .dx-row td {
    vertical-align: middle !important;
}

.dx-datagrid .dx-datagrid-headers .dx-header-row>td {
    font-weight: 600;
    color: #333;
}

.dx-datagrid-headers {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* splash screen css */
.splash-screen {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: #dd1f26;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.splash-screen .lds-ellipsis div {
    background: #fff;
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

.MuiAppBar-root {
    min-height: 2rem !important;
}

#dropzone-external,
.dropzone-image {
    width: 100px;
    height: 100px;
    background-color: rgba(183, 183, 183, 0.1);
    border-width: 2px;
    border-style: dashed;
    padding: 2px;
    border-radius: 8px;
    margin-right: 5px;
    margin-bottom: 5px;
    object-fit: cover;
    justify-items: center;
    align-items: center;
    flex-direction: column;
}

#dropzone-external>* {
    pointer-events: none;
}

#file-uploader {
    z-index: 9999;
}

#dropzone-external.dropzone-active {
    border-style: solid;
}

.widget-container>span {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
}

#dropzone-image {
    max-width: 100%;
    max-height: 100%;
}

#dropzone-text>span {
    font-weight: 100;
    opacity: 0.5;
    text-align: center;
}

#upload-progress {
    display: flex;
    margin-top: 10px;
    width: 100%;
}

.flex-box {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    justify-items: center;
    align-items: center;
    max-height: 250px;
    overflow: hidden;
    overflow-y: auto;
}

.react-viewer-canvas,
.react-viewer-footer {
    z-index: 100001 !important;
}

.react-viewer-mask {
    z-index: 100000 !important;
}

.react-viewer-close {
    z-index: 100002 !important;
}

.react-viewer-list>li>img {
    max-width: none !important;
}

[role="columnheader"] {
    text-align: center !important;
    background-color: #dd1f26 !important;
    color: #fff !important;
}

[role="columnheader"] .dx-header-filter-empty {
    color: #fff !important;
}

.action-icon {
    font-size: 16px !important;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgb(179, 176, 176);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #e46d6d;
}

.bg-slide-red {
    background-image: url('/assets/images/line-red.png');
    background-position: -880px 10px;
    background-repeat: no-repeat;
    background-size: 1228px 958px;
}

.bg-slide-red-run {
    background-image: url('/assets/images/line-red.png');
    background-position: 120px -958px;
    background-repeat: no-repeat;
    background-size: 1228px 958px;
}

.input-slide {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

.input-animation:focus+.input-slide {
    width: 100%;
}

.picker-date .darkbox {
    font-family: 'Roboto', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.5s;
    z-index: 99;
}

.picker-date .lightbox {
    width: 90vw;
    max-width: 300px;
    background-color: white;
    border-radius: 0.5rem;
    overflow: hidden;
    animation: zoomIn 300ms;
}

.picker-date .header {
    padding: 1rem;
    border-bottom: 1px solid #ccc;
    background-color: #cb3731;
    color: white;
}

.picker-date .title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    opacity: 0.75;
}

.picker-date .nav {
    padding: 1rem;
    display: flex;
}

button:disabled {
    opacity: 0.5;
}

.picker-date .selector {
    flex: 1;
}

.picker-date .selector select {
    margin-right: 0.5rem;
    border: none;
    background-color: #efefef;
    padding: 0.25rem;
    border-radius: 0.25rem;
}

.picker-date .prevNext {
    display: flex;
    align-items: center;
}

button.picker-date .navButton {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

button.picker-date .navButton:first-child {
    margin-right: 1rem;
}

.picker-date .monthName {
    font-size: 1.25rem;
    font-weight: 500;
}

.picker-date .year {
    font-size: 1rem;
}

.picker-date .days {
    padding: 0 1rem 0.5rem 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ccc;
    font-weight: 500;
    font-size: 0.75rem;
}

.picker-date .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 1rem;
}

.picker-date .date {
    height: 2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.picker-date .date button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 100%;
    animation: zoomIn 300ms;
}

.picker-date .outside {
    opacity: 0.5;
}

.picker-date .inside button {
    font-weight: 500;

}


.picker-date .date button:hover {
    background-color: #eee !important;
    color: #000 !important;

}

.picker-date .footer {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.picker-date .footer button {
    color: #073c8f;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.picker-date .footer button:hover {
    opacity: 0.6;
}

.picker-date .footer button:disabled {
    cursor: default;
    opacity: 0.5;
}

.picker-date .zoomOut {
    animation: zoomOut 0.3s;
}

.picker-date .fadeOut {
    animation: fadeOut 0.3s;
}

.icon-arrow-group {
    border: solid;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.MuiPickersLayout-root .MuiDialogActions-root .MuiButtonBase-root {
    padding: 0;
}

.MuiMultiSectionDigitalClock-root .MuiMenuItem-root {
    width: 90%;
    min-width: 30px;
}

.MuiPickersPopper-root {
    z-index: 2000;
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.5) translateY(50%);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0.5) translateY(50%);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.crown-watermark {
    position: relative;
    margin-top: 20%;
}

.crown-watermark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.8) rotate(-40deg) translate(0%, -80%);
    height: 100%;
    width: 100%;
    background-image: url('../icons/Crown.png');
    background-repeat: no-repeat;
    object-fit: contain;
    background-size: contain;
    z-index: 99;
}

.tab-mbo {
    color: #cb3731;
    border: 1px solid #cb3731;
    padding: 5px 10px 5px 10px;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
}

.tab-mbo-active {
    background-color: #cb3731;
    color: #ffffff;
    font-weight: bold;
}

.tab-cross {
    color: #35a7e1;
    border: 1px solid #35a7e1;
    padding: 5px 10px 5px 10px;
    border-radius: 8px;
    margin-right: 10px;
    cursor: pointer;
}

.tab-cross-active {
    background-color: #35a7e1;
    color: #ffffff;
    font-weight: bold;
}

#simple-treeview .dx-state-focused .dx-state-hover {
    border-radius:  8px   ;
}