/*
Template Name: Velzon - Admin & Dashboard Template
Author: Themesbrand
Website: https://themesbrand.com/
Contact: support@themesbrand.com
File: Custom Css File
*/

/*Vertical Scroll Bar*/
/* width */
::-webkit-scrollbar {
    width: 6px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f5f0f0;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #b4b1b1;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #808080;
    }


.ajax-loader { /*// Should work for divLoading*/
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* to make it responsive */
    width: 100vw; /* to make it responsive */
    overflow-y: hidden; /*to remove scrollbars */
    z-index: 9999; /*to make it appear on topmost part of the page */
}

.ajax-loader-img {
    position: fixed;
    left: calc(50% - 40px);
    top: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border-width: 6px;
}

/*Fix moving UI stop thead left when open modal*/
.modal-open {
    overflow-y: scroll !important;
    padding-right: 0 !important;
}


/*OVERRIDE APP.MIN.CSS*/
/*Hide thead hamburger icon over 1024*/
@media (min-width: 1024.1px) {
    [data-layout=horizontal] .layout-width,
    [data-layout=horizontal] .container-fluid {
        max-width: 90%;
        margin: 0 auto;
    }

    [data-layout=horizontal] .topnav-hamburger {
        display: none;
    }
}

.flatpickr-calendar
.dayContainer, .flatpickr-weekdaycontainer {
    flex-direction: row-reverse;
}

/* Quill Editor */
.ql-editor {
    direction: rtl !important;
    text-align: right !important;
}

    .ql-editor.ql-blank::before {
        content: attr(data-placeholder) !important;
        margin-right: 15px;
        color: #aaa;
    }

ql-editor-container {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}

    ql-editor-container.is-invalid {
        border-color: red !important;
    }


/* Choices.JS */
.is-invalid-choices {
    border-color: red !important;
    background-color: lightpink !important;
}

.is-valid-choices {
    border-color: green !important;
    background-color: !important;
}