﻿/**
 * Dragon Oath Manager 5
 * PHP User Management System
 * By the Damigoo Inc at https://damigoo.com
 * Contact us: damigoo.com@gmail.com
 */

/* Global Styles */

::-webkit-scrollbar {
    width: 0.2rem;
    height: 0.2rem;
}

::-webkit-scrollbar-button {
    width: 0rem;
    height: 0rem;
}

::-webkit-scrollbar-thumb {
    background: #666666;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #666666;
    }

    ::-webkit-scrollbar-thumb:active {
        background: #333333;
    }

::-webkit-scrollbar-track {
    background: #e1e1e1;
}

    ::-webkit-scrollbar-track:hover {
        background: #ffffff;
    }

    ::-webkit-scrollbar-track:active {
        background: #ffffff;
    }

::-webkit-scrollbar-corner {
    background: transparent;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    color: #555555;
}

/* Sidebar trái trang users */
.dmg-sidebar {
    min-width: 260px;
}

    .dmg-sidebar .nav-link {
        padding: 0.8rem 1rem;
        background-color: #e9ecef;
    }

        .dmg-sidebar .nav-link[data-toggle].collapsed:after {
            content: " \f0da";
            font-family: FontAwesome;
            display: inline;
            text-align: right;
            padding-left: 5px;
            float: right;
        }

        .dmg-sidebar .nav-link[data-toggle]:not(.collapsed):after {
            content: " \f0d7";
            font-family: FontAwesome;
            display: inline;
            text-align: right;
            padding-left: 5px;
            float: right;
        }

    .dmg-sidebar .nav-item a {
        color: #6c757d;
    }

        .dmg-sidebar .nav-item a.open,
        .dmg-sidebar .nav-item a:hover,
        .dmg-sidebar .nav-item a:focus {
            background-color: #dae0e5;
        }

        .dmg-sidebar .nav-item a.active {
            background-color: #868e96 !important;
            color: #ffffff !important;
        }

/* Footer sticky */
.dmg-footer {
    border-top: 0.25rem solid #48649b;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 56px; /* Set the fixed height of the footer here */
    line-height: 52px;
}

/* Ảnh nền fixed */
.dmg-cover {
    background: url('../images/cover/cover_red_new.jpg') no-repeat top center fixed;
    padding: 20px 0px;
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    margin: 0 auto;
    background-color: #48649b;
    color: #fff;
}

/* Icon tròn trang index */
.dmg-home-icon {
    padding: 20px 8.48056537%;
    background-color: #48649b;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    max-width: 100px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

@media(min-width:768px) {
    .dmg-home-icon {
        padding: 23px 8.48056537%;
        font-size: 76px;
        max-width: 160px;
    }
}

.dmg-home-icon:hover {
    background-color: #d91e18;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Form đăng nhập index */
.dmg-login-form {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1rem 1rem;
    color: #212529;
}

/* Màu viền trên dưới chính trang users */
.dmg-content-main {
    border-top: 0.25rem solid #48649b;
}

/* Màu nền chủ đạo */
.dmg-bg-primary {
    background-color: #48649b !important;
    color: #ffffff;
}

/* Màu nền phụ */
.dmg-bg-secondary {
    background-color: #e9ecef !important;
    color: #212529;
}

/* Custom Colored Buttons */
.dmg-btn-primary {
    color: #fff;
    background-color: #48649b;
    border-color: #48649b;
}

    .dmg-btn-primary:hover {
        color: #fff;
        background-color: #d91e18;
        border-color: #cf000f;
    }

    .dmg-btn-primary:focus, .dmg-btn-primary.focus {
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.5);
    }

    .dmg-btn-primary.disabled, .dmg-btn-primary:disabled {
        background-color: #48649b;
        border-color: #48649b;
    }

    .dmg-btn-primary:active, .dmg-btn-primary.active,
    .show > .dmg-btn-primary.dropdown-toggle {
        background-color: #d91e18;
        background-image: none;
        border-color: #cf000f;
    }

.dmg-btn-secondary {
    color: #495057;
    background-color: #e9ecef;
    border-color: #e9ecef;
}

    .dmg-btn-secondary:hover {
        color: #495057;
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }

    .dmg-btn-secondary:focus, .dmg-btn-secondary.focus {
        box-shadow: 0 0 0 3px rgba(248, 249, 250, 0.5);
    }

    .dmg-btn-secondary.disabled, .dmg-btn-secondary:disabled {
        background-color: #e9ecef;
        border-color: #e9ecef;
    }

    .dmg-btn-secondary:active, .dmg-btn-secondary.active,
    .show > .dmg-btn-secondary.dropdown-toggle {
        background-color: #e2e6ea;
        background-image: none;
        border-color: #dae0e5;
    }

/* Dấu sao đỏ */
.dmg-redstar {
    color: #FF0000;
    font-weight: bold;
}
/* Icon navbar */
.dmg-notification-navbar {
    position: absolute;
    top: 7px;
    right: 20px;
    text-align: center;
    font-size: 0.5rem;
    padding: 3px 5px;
}

.dmg-icon-hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

    .dmg-icon-hover:hover {
        opacity: 0.7;
        filter: alpha(opacity=70);
    }

.back-to-top {
    z-index: 999;
    position: fixed;
    right: 15px;
    bottom: 5px;
    display: none;
    width: 45px;
    height: 45px;
    text-align: center;
    color: white;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

    .back-to-top:focus,
    .back-to-top:hover {
        color: white;
    }

    .back-to-top:hover {
        background: #343a40;
    }
