﻿
html, body {
    /*cursor: url(https://cdn.custom-cursor.com/db/8178/32/holidays-chinese-new-year-cursor.png),auto;*/
    cursor: url(https://cdn1.vieclam24h.vn/images/public/2023/12/04/tree_30_170168491713.png),auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9rem;
}
/*a:hover, button:hover {
    cursor: url(https://cdn.custom-cursor.com/db/pointer/32/Santa_Claus_Pointer.png),auto;
}*/
.layout-navbar-fixed .wrapper .sidebar-dark-primary .brand-link:not([class*=navbar]) {
    background-color: #19153a;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    background-color: #19153a;
    color: #fff;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto;
}

.brand-link {
    height: 150px;
}

.layout-fixed .main-sidebar {
    background-color: #19153a;
}

.sidebar-mini.sidebar-collapse.layout-fixed .main-sidebar:hover .brand-link {
    height: 150px;
}

.brand-link .brand-image {
    margin-left: 0px;
    height: 100%;
    width: 100%;
    max-height: 150px;
}

.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before {
    background-color: #19153a;
}

.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(3.5rem + 100px);
}

.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (3.5rem + 100px));
}

.content-wrapper > .content {
    padding: 0.2rem;
}

.header {
    margin: 5px;
    font-size: 1.5rem;
}

label.e-float-text {
    font-size: 12px;
}

.e-edit-dialog .e-gridform .e-table {
    border-spacing: 0px;
}

.e-dialog .e-dlg-header-content + .e-dlg-content {
    padding: 10px;
}

.e-dialog .e-dlg-content {
    padding: 0px;
}

.e-dialog .e-dlg-header-content {
    padding: 0px;
}

.e-dialog .e-footer-content {
    padding: 5px 0 0 0;
}

.e-dialog .e-dlg-content .e-insertedrow {
    padding: 10px;
}

.wrapper {
    z-index: 900;
}

/*.e-control, .e-control [class^='e-'], .e-control [class*=' e-'] {
    font-size: 0.9rem;
}*/

.e-control, .e-control [class^='e-'], .e-control [class*=' e-'] {
    font-size: small;
}

.e-toolbar {
    border: none;
}

    .e-toolbar .e-toolbar-items {
        background-color: #f4f6f9;
    }

.e-grid .e-headercelldiv {
    font-size: 0.9rem;
}

.e-grid .e-rowcell {
    font-size: 0.9rem;
    height: 20px;
}

.e-popup.e-popup-open.e-dialog {
    padding: 6px;
}

.e-grid .e-spinner-pane {
    display: none;
}


/*======= Css Cảnh cáo công việc =======*/


.f-modal-alert {
    background-color: #fff;
    /*box-shadow: 0 0 10px 2px rgba(0, 0, 0, .2);*/
    border-radius: 4px;
    margin: 20px;
    /*padding: 50px;*/
}

    .f-modal-alert .f-modal-icon {
        border-radius: 50%;
        border: 4px solid gray;
        box-sizing: content-box;
        height: 80px;
        margin: 20px auto;
        padding: 0;
        position: relative;
        width: 80px;
    }

        .f-modal-alert .f-modal-icon.f-modal-success, .f-modal-alert .f-modal-icon.f-modal-error {
            border-color: #a5dc86;
        }

            .f-modal-alert .f-modal-icon.f-modal-success:after, .f-modal-alert .f-modal-icon.f-modal-error:after, .f-modal-alert .f-modal-icon.f-modal-success:before, .f-modal-alert .f-modal-icon.f-modal-error:before {
                background: #fff;
                content: '';
                height: 120px;
                position: absolute;
                transform: rotate(45deg);
                width: 60px;
            }

            .f-modal-alert .f-modal-icon.f-modal-success:before, .f-modal-alert .f-modal-icon.f-modal-error:before {
                border-radius: 120px 0 0 120px;
                left: -33px;
                top: -7px;
                transform-origin: 60px 60px;
                transform: rotate(-45deg);
            }

            .f-modal-alert .f-modal-icon.f-modal-success:after, .f-modal-alert .f-modal-icon.f-modal-error:after {
                border-radius: 0 120px 120px 0;
                left: 30px;
                top: -11px;
                transform-origin: 0 60px;
                transform: rotate(-45deg);
            }

            .f-modal-alert .f-modal-icon.f-modal-success .f-modal-placeholder, .f-modal-alert .f-modal-icon.f-modal-error .f-modal-placeholder {
                border-radius: 50%;
                border: 4px solid rgba(165, 220, 134, .2);
                box-sizing: content-box;
                height: 80px;
                left: -4px;
                position: absolute;
                top: -4px;
                width: 80px;
                z-index: 2;
            }

            .f-modal-alert .f-modal-icon.f-modal-success .f-modal-fix, .f-modal-alert .f-modal-icon.f-modal-error .f-modal-fix {
                background-color: #fff;
                height: 90px;
                left: 28px;
                position: absolute;
                top: 8px;
                transform: rotate(-45deg);
                width: 5px;
                z-index: 1;
            }

            .f-modal-alert .f-modal-icon.f-modal-success .f-modal-line, .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line {
                background-color: #a5dc86;
                border-radius: 2px;
                display: block;
                height: 5px;
                position: absolute;
                z-index: 2;
            }

                .f-modal-alert .f-modal-icon.f-modal-success .f-modal-line.f-modal-tip, .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line.f-modal-tip {
                    left: 14px;
                    top: 46px;
                    transform: rotate(45deg);
                    width: 25px;
                }

                .f-modal-alert .f-modal-icon.f-modal-success .f-modal-line.f-modal-long, .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line.f-modal-long {
                    right: 8px;
                    top: 38px;
                    transform: rotate(-45deg);
                    width: 47px;
                }

        .f-modal-alert .f-modal-icon.f-modal-error {
            border-color: #f27474;
        }

            .f-modal-alert .f-modal-icon.f-modal-error .f-modal-x-mark {
                display: block;
                position: relative;
                z-index: 2;
            }

            .f-modal-alert .f-modal-icon.f-modal-error .f-modal-placeholder {
                border: 4px solid rgba(200, 0, 0, .2);
            }

            .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line {
                background-color: #f27474;
                top: 37px;
                width: 47px;
            }

                .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line.f-modal-left {
                    left: 17px;
                    transform: rotate(45deg);
                }

                .f-modal-alert .f-modal-icon.f-modal-error .f-modal-line.f-modal-right {
                    right: 16px;
                    transform: rotate(-45deg);
                }

        .f-modal-alert .f-modal-icon.f-modal-warning {
            border-color: #f8bb86;
        }

            .f-modal-alert .f-modal-icon.f-modal-warning:before {
                animation: pulseWarning 2s linear infinite;
                background-color: #fff;
                border-radius: 50%;
                content: "";
                display: inline-block;
                height: 100%;
                opacity: 0;
                position: absolute;
                width: 100%;
            }

            .f-modal-alert .f-modal-icon.f-modal-warning:after {
                background-color: #fff;
                border-radius: 50%;
                content: '';
                display: block;
                height: 100%;
                position: absolute;
                width: 100%;
                z-index: 1;
            }

            .f-modal-alert .f-modal-icon.f-modal-warning .f-modal-body {
                background-color: #f8bb86;
                border-radius: 2px;
                height: 47px;
                left: 50%;
                margin-left: -2px;
                position: absolute;
                top: 10px;
                width: 5px;
                z-index: 2;
            }

            .f-modal-alert .f-modal-icon.f-modal-warning .f-modal-dot {
                background-color: #f8bb86;
                border-radius: 50%;
                bottom: 10px;
                height: 7px;
                left: 50%;
                margin-left: -3px;
                position: absolute;
                width: 7px;
                z-index: 2;
            }

        .f-modal-alert .f-modal-icon + .f-modal-icon {
            margin-top: 50px;
        }

.animateSuccessTip {
    animation: animateSuccessTip 0.75s;
}

.animateSuccessLong {
    animation: animateSuccessLong 0.75s;
}

.f-modal-icon.f-modal-success.animate:after {
    animation: rotatePlaceholder 4.25s ease-in;
}

.f-modal-icon.f-modal-error.animate:after {
    animation: rotatePlaceholder 4.25s ease-in;
}

.animateErrorIcon {
    animation: animateErrorIcon 0.5s;
}

.animateXLeft {
    animation: animateXLeft 0.75s;
}

.animateXRight {
    animation: animateXRight 0.75s;
}

.scaleWarning {
    animation: scaleWarning 0.75s infinite alternate;
}

.pulseWarningIns {
    animation: pulseWarningIns 0.75s infinite alternate;
}

@keyframes animateSuccessTip {
    0%, 54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes animateSuccessLong {
    0%, 65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

@keyframes rotatePlaceholder {
    0%, 5% {
        transform: rotate(-45deg);
    }

    100%, 12% {
        transform: rotate(-405deg);
    }
}

@keyframes animateErrorIcon {
    0% {
        transform: rotateX(100deg);
        opacity: 0;
    }

    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

@keyframes animateXLeft {
    0%, 65% {
        left: 82px;
        top: 95px;
        width: 0;
    }

    84% {
        left: 14px;
        top: 33px;
        width: 47px;
    }

    100% {
        left: 17px;
        top: 37px;
        width: 47px;
    }
}

@keyframes animateXRight {
    0%, 65% {
        right: 82px;
        top: 95px;
        width: 0;
    }

    84% {
        right: 14px;
        top: 33px;
        width: 47px;
    }

    100% {
        right: 16px;
        top: 37px;
        width: 47px;
    }
}

@keyframes scaleWarning {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pulseWarning {
    0% {
        background-color: #fff;
        transform: scale(1);
        opacity: 0.5;
    }

    30% {
        background-color: #fff;
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        background-color: #f8bb86;
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulseWarningIns {
    0% {
        background-color: #f8d486;
    }

    100% {
        background-color: #f8bb86;
    }
}
 
