﻿@import "library/dx/_dx.css";

/*MODAL*/
/*#react-select-2-listbox {
    background: blue;
    z-index: 999999999999999;
    position: absolute;
}*/

/*TEXT-SHADOW*/
/*.text-shadow-hard {
        text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    font-weight: 600
}*/

.modal-visible {
    visibility: hidden
}

.vw-custom {
    width: 72vw
}

/*CHECKBOX*/
.custom-checkboxx {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /*    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
    margin-top: 10px;
}

.custom-checkbox input {
    position: absolute;
    width: 0;
    left: 50px;
    height: 0;
    opacity: 0;
    cursor: pointer;
}

.custom-checkbox .checkmark {
    position: relative;
    display: block;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 3px;
    outline: 1px solid #acacac;
    transition: all 0.2s ease;
}

.custom-checkbox:hover .checkmark {
    transition: all 0.2s ease;
}

/*    .custom-checkbox input:checked ~ .checkmark {
        background: #3f7fed;
        outline: 1px solid rgb(95, 126, 240);
    }*/

.custom-checkbox input[type="radio"] ~ .checkmark {
    border-radius: 50%;
}

.custom-checkbox .checkmark::after {
    position: absolute;
    display: block;
    content: "";
    left: 50%;
    top: 40%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.custom-checkbox input:checked ~ .checkmark::after {
    opacity: 1;
    transition: all 0.2s ease;
}
/*SCHEDULER*/
/*CUSTOME HEIGHT TOOLTIP*/
.dx-tooltip-wrapper .dx-overlay-content .dx-popup-content {
    max-height: 280px !important;
    height: 280px !important;
}

.dx-scheduler-appointment-tooltip-wrapper > div.dx-overlay-content {
    max-height: 280px !important;
    height: 280px !important;
}


.disable-date {
    height: 100%;
    width: 100%;
    cursor: not-allowed !important;
    background-image: repeating-linear-gradient( 135deg, rgba(211, 211, 211, 0.1), rgba(211, 211, 211, 0.1) 4px, transparent 4px, transparent 9px );
    color: lightgray;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

/*LOADING SKELETION FOR CALENDAR*/
.loading-skeleton {
    background-color: #f5f5f5;
    border-radius: 4px;
    display: inline-block;
    width: 100%;
    min-height: 20px;
    height: auto;
    margin-bottom: 10px;
    animation: loading-animation 3s linear infinite;
    background: linear-gradient(90deg,#f9fafb 25%, #f3f4f6 37%, #f9fafb 63%);
    background-size: 200px 100%;
}

@keyframes loading-animation {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/*React-Spinner*/
.lds-hourglass {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
}

    .lds-hourglass:after {
        content: " ";
        display: block;
        border-radius: 50%;
        width: 0;
        height: 0;
        margin: 0px;
        box-sizing: border-box;
        border: 8px solid #fff;
        border-color: #fff transparent #fff transparent;
        animation: lds-hourglass 1.2s infinite;
    }

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }

    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }

    100% {
        transform: rotate(1800deg);
    }
}


/* DND DROPDOWN*/
.dnd-dropdown {
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    outline: none;
}

    .dnd-dropdown .btn-secondary {
        background: transparent !important;
        background-color: transparent !important;
        border: none;
        outline: none;
    }


/*
 *  Custom scrollbar
 */

.my-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    background-color: #f1f5f9;
    border-radius: 10px;
}

.my-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #f1f5f9;
}

.my-scrollbar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #94a3b8;
}

/*CUSTOM table */

div[data-column-id="3"], div[data-column-id="4"], div[data-column-id="5"] {
    justify-content: center !important;
}

.rdt_TableBody {
    height: 58vh;
    overflow: hidden auto;
}

    .rdt_TableBody::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
        background-color: #f1f5f9;
        border-radius: 10px;
    }

    .rdt_TableBody::-webkit-scrollbar {
        width: 6px;
        height: 6px;
        background-color: #f1f5f9;
    }

    .rdt_TableBody::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #94a3b8;
    }


.rdt_TableCol {
    font-size: 16px;
    font-weight: 600;
}

.custom-table-attendace div:nth-child(1) {
    overflow: hidden !important;
}

/*SPINNER*/
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.spinner-box {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.three-quarter-spinner {
    width: 50px;
    height: 50px;
    animation: spin .5s linear 0s infinite;
/*    border: 3px solid #fb5b53;*/
    border-top: 3px solid transparent;
    border-radius: 50%;
}