:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #f6f9ff;
    color: #444444;
}

a {
    color: #4154f1;
    text-decoration: none;
}

a:hover {
    color: #717ff5;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: #012970;
    
}
.right-center{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: #4154f1;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #6776f4;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: left;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: #a5c5fe;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    margin: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: #4154f1;
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
    background-color: #fff;
    color: #4154f1;
    border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo img {
    max-height: 100px;
    margin-right: 6px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: #012970;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: #012970;
}

.header .search-bar {
    min-width: 360px;
    padding: 0 20px;
}

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

.header .search-form {
    width: 100%;
}

.header .search-form input {
    border: 0;
    font-size: 14px;
    color: #012970;
    border: 1px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
    outline: none;
    box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
    border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

.header .search-form button i {
    color: #012970;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #012970;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #012970;
}

.header-nav .nav-profile img {
    max-height: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .messages .message-item a {
    display: flex;
}

.header-nav .messages .message-item img {
    margin: 0 20px 0 10px;
    max-height: 40px;
}

.header-nav .messages .message-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444444;
}

.header-nav .messages .message-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: #919191;
}

.header-nav .messages .message-item:hover {
    background-color: #f6f9ff;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: #444444;
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}
.sidebar{
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.sidebar::-webkit-scrollbar {
    display: none;
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
   // margin-bottom: 5px;
}

.sidebar-nav .nav-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #899bbd;
    font-weight: 600;
    margin: 10px 0 5px 15px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #4154f1;
    transition: 0.3;
    background: #f6f9ff;
    padding: 4px 15px;
    border-radius: 4px;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: #4154f1;
}

.sidebar-nav .nav-link.collapsed {
    color: #012970;
    background: #fff;
}

.sidebar-nav .nav-link.collapsed i {
    color: #899bbd;
}

.sidebar-nav .nav-link:hover {
    color: #4154f1;
    background: #f6f9ff;
}

.sidebar-nav .nav-link:hover i {
    color: #4154f1;
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #012970;
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: #4154f1;
}

.sidebar-nav .nav-content a.active i {
    background-color: #4154f1;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
    position: absolute;
    right: 0px;
    top: 15px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
    color: #4154f1;
}

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #aab7cf;
    margin-bottom: 0;
    padding: 0;
}

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
    padding-bottom: 10px;
}

.dashboard .info-card h6 {
    font-size: 28px;
    color: #012970;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 32px;
    line-height: 0;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .maintenance-card .card-icon {
    color: #dc3545;
    background: #ffecdf;
}

.dashboard .sales-card .card-icon {
    color: #4154f1;
    background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
    color: #2eca6a;
    background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
    color: #ff771d;
    background: #ffecdf;
}

/* Activity */
.dashboard .activity {
    font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
    color: #888;
    position: relative;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
    content: "";
    position: absolute;
    right: -11px;
    width: 4px;
    top: 0;
    bottom: 0;
    background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
    margin-top: 3px;
    z-index: 1;
    font-size: 11px;
    line-height: 0;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
    padding-left: 10px;
    padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
    top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
    padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard .news h4 a {
    color: #012970;
    transition: 0.3s;
}

.dashboard .news h4 a:hover {
    color: #4154f1;
}

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

.dashboard .recent-sales .table thead {
    background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
    border: 0;
}

.dashboard .recent-sales .dataTable-top {
    padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
    padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

.dashboard .top-selling .table thead {
    background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
    border: 0;
}

.dashboard .top-selling .table tbody td {
    vertical-align: middle;
}

.dashboard .top-selling img {
    border-radius: 5px;
    max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

.iconslist .icon {
    background-color: #fff;
    border-radius: 0.25rem;
    text-align: center;
    color: #012970;
    padding: 15px 0;
}

.iconslist i {
    margin: 0.25rem;
    font-size: 2.5rem;
}

.iconslist .label {
    font-family: var(--bs-font-monospace);
    display: inline-block;
    width: 100%;
    overflow: hidden;
    padding: 0.25rem;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
    color: #012970;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: #012970;
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
    font-size: 18px;
    font-weight: 600;
    color: #4154f1;
}

.faq .basic p {
    color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
    padding: 28px 30px;
}

.contact .info-box i {
    font-size: 38px;
    line-height: 0;
    color: #4154f1;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #012970;
    font-weight: 700;
    margin: 20px 0 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.contact .php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
    border-color: #4154f1;
}

.contact .php-email-form input {
    padding: 10px 15px;
}

.contact .php-email-form textarea {
    padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
    background: #4154f1;
    border: 0;
    padding: 10px 30px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: #5969f3;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
    padding: 30px;
}

.error-404 h1 {
    font-size: 180px;
    font-weight: 700;
    color: #4154f1;
    margin-bottom: 0;
    line-height: 150px;
}

.error-404 h2 {
    font-size: 24px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 30px;
}

.error-404 .btn {
    background: #51678f;
    color: #fff;
    padding: 8px 30px;
}

.error-404 .btn:hover {
    background: #3e4f6f;
}

@media (min-width: 992px) {
    .error-404 img {
        max-width: 50%;
    }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #cddfff;
}

.footer .copyright {
    text-align: center;
    color: #012970;
}

.footer .credits {
    padding-top: 5px;
    text-align: center;
    font-size: 13px;
    color: #012970;
}
.align-center{
    align-items: center;
}
.justify-end{
    justify-content: flex-end;
}
.justify-between{
    justify-content: space-between;
}
.mr-1{
    margin-right: 5px;
}
.mr-2{
    margin-right: 10px;
}
.hide{
    display: none!important;
}
.multiple-upload-box, .thumbnail-upload-box{
    list-style: none;
    display: flex;
    padding-left: 0;
    flex-wrap: wrap;
    margin: 0;
    li{
        margin-bottom: 10px;
        label{
            cursor: pointer;
            width: 100%;
            height: 100%;
        }
        position: relative;
        &:not(:last-child){
            margin-right: 10px;
        }
        &:first-child{
            .upload-box{
                background: #f0f0f0;
            }
        }
        .upload-box{
            width: 200px;
            height: 200px;
            border:1px dotted #999977;
            overflow: hidden;
            img{
                width: 200px;
                height: 200px;
                object-fit: cover;
                object-position: center;
            }
            .bi{
                position: absolute;
                top:50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }
            span{
                &.close{
                    width: 25px;
                    height: 25px;
                    background: #656566;
                    color: #FFFFFF;
                    border-radius: 50%;
                    display: flex;
                    align-items: center;
                    font-size: 12px;
                    justify-content: center;
                    cursor: pointer;
                    position: absolute;
                    top: 10px;
                    right: 10px;
                    z-index: 1;
                    font-weight: bolder;
                }
            }
            .upload-progress{
                /*display: none;*/
                width: 0%;
                height: 5px;
                background: #D7D7D7;
                position: absolute;
                left: 0;
                bottom: 0;
                .bar{
                    width: 0%;
                    height: 5px;
                    background: #2cc5ca;
                    transition: width 1s;
                }
            }
            &.uploading{
                .upload-progress{
                    width: 100%;
                    /*display: block;*/
                    .bar{
                        width: 50%;
                        transition: width 1s;
                        transition-delay: 1s;
                    }
                }
            }
        }
    }
}
.analytics{
    .card{
        &.whatsapp{
            .card-body{
                .card-title{
                    padding-left: 25px;
                }
                background: url("../img/wa.svg") top 16px left 15px no-repeat;
                background-size: 25px;
            }
        }
        &.shopee{
            .card-body{
                .card-title{
                    padding-left: 25px;
                }
                background: url("../img/shopee.png") top 17px left 15px no-repeat;
                background-size: 25px;
            }
        }
        &.tokopedia{
            .card-body{
                .card-title{
                    padding-left: 25px;
                }
                background: url("../img/tokopedia.svg") top 18px left 15px no-repeat;
                background-size: 22px;
            }
        }
    }
}
.date-filter-sec{
    position: relative;
    .datefilter{
        width: 230px;
        padding: 5px 10px;
        position: relative;
        &:after{
            content: '';
            width: 22px;
            height: 22px;
            background: url("../img/calendar-week.svg") center no-repeat;
            top:0;
            right: 0;
            position: absolute;
        }
    }
    .bi{
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
    }
}
.capitalize{
    text-transform: capitalize;
}
h3{
    &.top-title{
        border-left: 8px solid #ffc107;
        padding-left: 15px;
    }
}
.dt-product-name{
    max-width: 200px;
    white-space: normal!important;
    font-size: 15px;
}
.text-right{
    text-align: right;
}
.old-price{
    color: #808080FF;
    text-decoration: line-through;
    font-size: 14px;
}
.price-title{
    padding: 20px 0 15px 0;
    font-weight: 800;
    font-size: 25px;
}
#dt_affiliate_user{
    tr{
        td{
            vertical-align: middle;
            img{
                width: 30px;
            }
        }
    }
}
.dataTable{
    tr{
        td{
           font-size: 0.9rem;
           white-space: normal !important;
        }
    }
    button{
        /* border:0.5px; */
        /* font-size: 0.85rem;
        border-radius: 5px;
        padding: 2px 10px;
        border:1px solid */
    }
}
#dt_blog{
    tr{
        td{
           img{
                width: 100px;
           }
        }
    }
}
.status{
    text-wrap: nowrap;
    position: relative;
    padding-left: 15px;
    font-size: 0.95rem;
    &::before{
        content: '';
        position: absolute;
        left:0px;
        top:50%;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        border-radius: 20px;
    }
    &.survey{
        color: #c79c18;
        &::before{
            background: #c79c18;
        }
    }
    &.quotation{
        color: #7cd90b;
        &::before{
            background: #7cd90b;
        }
    }
    &.lost{
        color: #000000;
        &::before{
            background: #000000;
        }
    }
    &.done{
        color: #24622e;
        &::before{
            background: #24622e;
        }
    }
    &.complain{
        color: #771d4a;
        &::before{
            background: #771d4a;
        }
    }
    &.in-progress{
        position: relative;
        padding-left: 15px;
        color:#ff9800;
        font-size: 0.95rem;
        &::before{
            content: '';
            position: absolute;
            left:0px;
            top:50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 20px;
            background: #ff9800;
        }
    }
    &.cancelled{
        position: relative;
        padding-left: 15px;
        color:#000000;
        font-size: 0.95rem;
        &::before{
            content: '';
            position: absolute;
            left:0px;
            top:50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 20px;
            background: #000000;
        }
    }
    &.invoice{
        position: relative;
        padding-left: 15px;
        color:#ff5722;
        font-size: 0.95rem;
        &::before{
            content: '';
            position: absolute;
            left:0px;
            top:50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 20px;
            background: #ff5722;
        }
    }
    &.completed{
        position: relative;
        padding-left: 15px;
        color:#4caf50;
        font-size: 0.95rem;
        &::before{
            content: '';
            position: absolute;
            left:0px;
            top:50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-radius: 20px;
            background: #4caf50;
        }
    }
}
.fee{
    position: relative;
    .total-fee{
        position: absolute;
        right: 5px;
        top: 50%;
        background: black;
        color: #fff;
        font-size: 0.8rem;
        padding: 5px 10px;
        border-radius: 5px;
        transform: translateY(-50%);
    }
}
.bold{
    font-weight: bold;
}
.pg {
    display: flex;
    margin-bottom: 30px;
    /* justify-content: center; */
    .one {
        width: 25px;
        height: 25px;
        background: #009688;
        transform: skew(-20deg);
        margin-right: 7px;
    }
    .two {
        width: 25px;
        height: 25px;
        background: #336979;
        transform: skew(-20deg);
        margin-right: 7px;
    }
    .three {
        width: 25px;
        height: 25px;
        background: #f7ca42;
        transform: skew(-20deg);
    }
}
.list-history{
    position: relative;
    list-style: none;
    &::before{
        content: "";
        width: 1px;
        height: calc(100% - 10px);
        background: #c9c9c9;
        position: absolute;
        top: 7px;
        left: 11px;
    }
    li{
        position: relative;
        &:not(:last-child){
            margin-bottom: 15px;
        }
        .by{
            font-size: 0.8rem;
            font-weight: 500;
        }
        &::before{
            content: "";
            width: 10px;
            height: 10px;
            background: #009688;
            border-radius: 50%;
            position: absolute;
            top: 7px;
            left: -25px;
        }
    }
}
.history-note{
    .property{
        background: #060606;
        color: #fff;
        padding: 0 8px;
        font-size: 0.85rem;
        border-radius: 5px;
    }

}
.summary-affiliate{
    padding: 5px;
    .col-3{
        padding: 5px;
        .item{
            padding: 10px;
            /*background: #D7D7D7;*/
            background: #b7d4ff;
            border-radius: 7px;
            color:#ffffff;
            &.all{
                background: #4d8deb;
            }
            &.in-progress{
                background: #009688;
            }
            &.completed{
                background: #FF9800;
            }
            &.cancelled{
                background: #1e1e1e;
            }
        }
    }
}
.board-list{
    display: flex;
    list-style: none;
    padding: 10px 0 30px 0;
    overflow: hidden;
    overflow-x: auto;
    flex-wrap: nowrap;
    background: none;
    li{
        &:not(:last-child){
            margin-right: 15px;
        }
        .board{
            width: 320px;
            background: #FFFFFF;
            padding: 10px 15px;
            border-radius: 8px;
            padding-bottom: 60px;
            position: relative;
            .title{
                margin-bottom: 10px;
                font-weight: bolder;
            }
            .list-item{
                padding: 0;
                list-style: none;
                max-height: calc(100vh - 260px);
                overflow: hidden;
                overflow-y: auto;
                li{
                    padding: 6px 10px;
                    background: #c4c5c547;
                    border-radius: 4px;
                    margin-right: 0;
                    margin-bottom: 10px;
                    cursor: pointer;
                    border: 1px solid #efefef;
                    &.dragging {
                        opacity: 0.5;
                    }
                    &.over {
                        background-color: #d7d7d7;
                    }
                    &:last-child{
                        background: #d3dcff;
                        &:hover{
                            background: #c1cbf5;
                        }
                    }
                    &:hover{
                        position: relative;
                        border: 1px solid #545454;
                        &:not(:last-child){
                            &:after{
                                content: '';
                                background: url("/img/edit.svg") center no-repeat;
                                width: 10px;
                                height: 10px;
                                position: absolute;
                                right: 10px;
                                top:50%;
                                display: flex;
                                align-items: center;
                                transform: translateY(-50%);
                            }
                        }
                    }
                    &.add-new{
                        text-align: center;
                        position: absolute;
                        bottom: 0;
                        width: 91%;
                    }
                    &.affiliate{
                        border-left: 4px solid #0b8a8e;
                    }
                    .title{
                        font-weight: 600;
                        margin: 0;
                    }
                }
            }
            .date{
                font-size: 0.65rem;
            }
            .by{
                font-size: 0.65rem;
            }
        }
    }
}
.select2-container--default .select2-selection--multiple{
    border: solid #dee2e6 1px!important;
    min-height: 38px!important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple{
    border: solid #dee2e6 1px!important;
    min-height: 38px!important;
}
.select2-container--default .select2-selection--single{
    border: solid #dee2e6 1px!important;
    min-height: 38px!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 38px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    min-height: 38px!important;
}
.attachment-label{
    /*width: 100%;*/
    /*height: 38px;*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*font-size: 1rem;*/
    i{
        margin-right: 5px;
    }
}
.at-border-bottom{
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 15px;
}
.list-attachment{
    list-style: decimal-leading-zero;
    li{
        padding: 10px 0;
        &:not(:last-child){
            border-bottom: 1px solid #dfdfdf;
        }
        &:last-child{
            padding-bottom: 0;
        }
        button{
            background: none;
            border: none;
            float: right;
        }
    }
}
.list-result{
    list-style: none;
    column-count: 3;
    column-gap: 5px;
    padding-left: 0;
    li{
        position: relative;
        margin-bottom: 5px;
        img{
            width: 100%;
        }
        video{
            width: 100%;
        }
        button{
            border: none;
            position: absolute;
            right: 5px;
            top: 5px;
            background: #e1e1e1;
            border-radius: 50%;
        }
    }
}
.loading-form{
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0a0d12a1;
    top: 0;
    left: 0;
    z-index: 9999;
    color: #fff;
    &.show{
        display: flex;
    }
}
.accordion-button{
    background: #f7f9ff;
}
.file-icon{
    display: inline-flex;
    background: url("/img/other.svg") center no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    &.image{
        background: url("/img/image.svg") center no-repeat;
    }
    &.pdf{
        background: url("/img/pdf.svg") center no-repeat;
    }
    &.xls{
        background: url("/img/xls.svg") center no-repeat;
    }
    &.doc{
        background: url("/img/doc.svg") center no-repeat;
    }
}
.select2{
    width: 100%!important;
}
#table_pekerjaan_vendor{
    tr{
        th{
            background: #efefef;
        }
        td{
            vertical-align: middle;
            button{
                background: none;
                border: none;
            }
        }
    }
}
.badge{
    &.active{
        background: #24622e;
    }
    &.inactive{
        background: #191a19;
    }
}
.badge-vendor{
    display: block;
    padding: 0;
    /* margin-top: -5px; */
    small{
        font-size: 0.7rem;
        background: #545454;
        color: #fff;
        padding: 0 5px;
        border-radius: 4px;
    }
}
.project-page{
    .sticky{
        position: sticky;
        top: 85px;
    }
    .gallery-image{
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        li{
            width: calc(100% / 4 -  5px);
            margin-bottom: 5px;
            /*height: 0;*/
            /*background: red;*/
            /*&:after{*/
            /*    content: '';*/
            /*    width: 100%;*/
            /*    padding-top: 100%;*/
            /*}*/
            img{
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}
.modal-project-page{
    .upload-box{
        width: 150px!important;
        height: 150px!important;
        .thumbnail{
            width: 150px!important;
            height: 150px!important;
            img{
                width: 150px!important;
                height: 150px!important;
            }
        }
    }
}
.project-gallery{
    list-style: none;
    column-count: 3;
    column-gap: 7px;
    padding-left: 0;
    li{
        position: relative;
        margin-bottom: 7px;
        img{
            width: 100%;
        }
        button{
            position: absolute;
            top: 3px;
            right: 3px;
            background: #ffffff;
            border: none;
            border-radius: 50px;
        }
        .upload-progress{
            position: absolute;
            z-index: 99;
            background: #0000003b;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            .bar {
                width: 35px;
                height: 35px;
                border: 5px solid #FFF;
                border-bottom-color: transparent;
                border-radius: 50%;
                display: inline-block;
                box-sizing: border-box;
                animation: rotation 1s linear infinite;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }
}
.sticky-top-project{
    position: sticky;
    top: 100px;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.editor{
    .toolbar{
        position: sticky;
        top: 60px;
        z-index: 99;
        background: #FFFFFF;
        padding: 15px 10px 10px 10px;
        border: 1px solid #dee2e6;
        display: flex;
        flex-wrap: wrap;
        .separator{
            width: 1.5px;
            height: 30px;
            background: #eeeeee;
            margin: 0 15px 0 10px;
        }
        button{
            margin-bottom: 5px;
            min-width: 33px;
            border: 1px solid #797979;
            border-radius: 2px;
            margin-right: 5px;
            &.is-active{
                background: #000000;
                color: #ffffff;
                box-shadow: none;
                border-radius: 2px;
                border: 1px solid #000000;
            }
            &:hover{
                background: #d3d3d3;
            }
            &.disabled{
                background: #e8e8e8;
                color: #c2c5c9;
                cursor: not-allowed;
                border: 1px solid #e8e8e8;
            }
        }
    }
    div[contenteditable="true"] {
        background: #FFFFFF;
        padding: 15px 12px 12px 12px;
        border-left: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        border-radius: 0 0 7px 7px;
        font-family: "Inter", serif;
        font-size: 14px;
        min-height: 400px;
        &:focus{
            outline: 0px solid #c9cbce;
        }
        a{
            cursor: pointer;
        }
        p{
            margin: 0;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: "Inter", serif;
            margin: 0.5rem 0;
        }
        h2{
            font-size: 1.5em;
            font-weight: bold;
        }
        h3{
            font-size: 1.4em;
            font-weight: bold;
        }
        h4{
            font-size: 1.3em;
            font-weight: bold;
        }
        h5{
            font-size: 1.2em;
            font-weight: bold;
        }
        ol, ul{
            padding-left: 15px;
        }
        blockquote{
            border-left: 5px solid rgba(61, 37, 20, 0.1215686275);
            padding-left: 20px;
            margin: 15px 0;
        }
        img{
            max-width: 100%;
            position: relative;
            .setting{
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: red;
                width: 200px;
                height: 200px;
            }
            &:hover{
                cursor: pointer;
            }
        }
        a{
            position: relative;
            .tooltip{
                position: absolute;
                top: -10px;
                left: 0;
                width: 100px;
                height: 20px;
                background: red;
            }
        }
        table{
            border-collapse: collapse;
            width: 100%;
            table-layout: fixed;
            td,th{
                border: 1px solid #ddd;
                padding: 10px;
                vertical-align: top;
            }
            th {
                font-weight: 600;
                background: #515151;
                color: #eaeaea;
            }
        }
    }
}
.image-list-gallery{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    li{
        width: calc(100% / 4);
        aspect-ratio: 1 / 1;
        padding: 5px;
        position: relative;
        display: flex;
        align-items: stretch;        
        img{
            width: 100%;
            border: 1px solid #f4f4f4;
            object-fit: contain;
            background: #f4f4f4;
            &:hover{
                border: 1px solid #FF9800;
                cursor: pointer;
            }
            &.selected{
                border: 3px solid #196164;
            }
        }
        button{
            position: absolute;
            right: 10px;
            top: 10px;
            border: none;
            border-radius: 5px;
        }
        .uploading{
            position: absolute;
            left: 5px;
            top:5px;
            width: calc(100% - 10px);
            height: calc(100% - 10px);
            background: rgb(56 56 56 / 63%);
            border-radius: 5px;
            &:after{
                content: 'Uploading...';
                position: absolute;
                top:50%;
                left:50%;
                transform: translate(-50%, -50%);
                color: #ffffffe6;
            }
        }
    }
}
.session-out{
    position: fixed;
    top:0;
    left:0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999;
    width: 100%;
    height: 100%;
    display: none;
    .message{
        position: fixed;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        width: 420px;
        padding: 20px;
        background: #FFFFFF;
        .title{
            font-size: 20px;
            font-weight: bold;
            border-bottom: 1px solid #e0dfe3;
            padding-bottom: 10px;
        }
        .text{
            padding: 10px 0;
            border-bottom: 1px solid #e0dfe3;
            margin-bottom: 20px;
        }
        a{
            display: inline-flex;
            border:1px solid #ff5722;
            padding: 5px 15px;
            border-radius: 20px;
            background: #ff5722;
            color:#ffffff;
            float: right;
        }
    }
    &.active{
        display: block;
    }
}
.custom-subject{
    position: relative;
    .char-count{
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        background: #e8e8e8;
        display: flex;
        align-items: center;
        padding: 10px;
        border-radius: 0 5px 5px 0px;
        border-top: 1px solid #dee2e6;
        border-right: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        font-size: 0.9rem;
    }
}
.preview-broadcast{
    /* background: rgb(227, 227, 227); */
    background: #ffff;
    width: calc(100% - 750px);
    padding: 20px;
    max-width: 375px;
    margin-bottom: 30px;
    .emulator{
        width: 100%;
        position: sticky;
        top: 100px;
    }
    .content-mail{
        position: absolute;
        width: calc(100% - 25px);
        left: 13px;
        top: 23px;
        border-radius: 20px;
        height: 100%;
        background: #ffff;
        padding: 15px;
        height: 633px;
        overflow: hidden;
        overflow-y: auto;
        .header-mail{
            border-bottom: 1px solid #dee2e6;
            padding-bottom: 25px;
            .d-flex{
                width: 100%;
                .icon{
                    width: 50px;
                    height: 50px;
                    background: #eaeaea;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50%;
                }
                .name{
                    padding: 0 10px;
                    .from{
                        font-weight: bold;
                    }
                }
            }
        }
        .body-mail{
            padding: 20px 0;
            .subject-mail{
                font-weight: 700;
                margin-bottom: 20px;
            }
            img{
                width: 100%;
            }
        }
    }
}

.modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);padding:24px;}
.modal.open{display:block}
.modal-card{background:#fff;max-width:900px;margin:0 auto;border-radius:10px;overflow:hidden}
.modal-header,.modal-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #eee}
.modal-footer{border-top:1px solid #eee;border-bottom:0}
.modal-body{padding:16px;max-height:70vh;overflow:auto}
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.grid-item{border:2px solid transparent;border-radius:5px;overflow:hidden;cursor:pointer}
.grid-item img{width:100%;height:110px;object-fit:cover;display:block}
.grid-item.selected{border-color:#2563eb}
.grid-item { position: relative; }
.grid-item .btn-del {
  position: absolute;
  top: 6px; right: 6px;
  border: 0;
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  background: rgb(243 241 241 / 60%);
  color: #555151;
  font-size: 12px;
}
.grid-item .btn-del:hover { background: rgba(0,0,0,.8); color: #fff; }
.grid{
    &.folder{
        .grid-item{
            height: 120px;
            background: linear-gradient(0deg, #c5c5c5, #f2f3f569);
            border: none;
            display: flex;
            align-items: flex-end;
            padding: 10px;
            margin-bottom: 10px;
            .folder-card{
                position: relative;
                &::before{
                    content: '';
                    position: absolute;
                    top: -25px;
                    left: 0;
                    width: 20px;
                    height: 20px;
                    background: url('img/folder.svg') center no-repeat;
                    background-size: cover;
                }
            }
            .folder-name{
                position: relative;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                small{
                    margin-top: 5px;
                    display: block;
                    font-size: 0.8rem;
                }
            }
        }
    }
}
.modal-header{
    /* button{
        background: #ededed;
        color: #000000;
        &:hover{
            background: #000000;
            color: #ededed;
        }
    } */
}
/* .card{
    background: #fff;
    padding: 30px;
} */
/* wrapper */
.gallery-images{
  display:grid;
  gap:12px;
}

/* default: 3 kolom */
.gallery-images[data-cols="3"]{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}
.gallery-images[data-cols="2"]{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.gallery-images[data-cols="1"]{
  grid-template-columns:1fr;
}

.gallery-images img{
  width:100%;
  height:100%;
  display:block;
  border-radius:8px;
  object-fit:cover;
}
.image-preview{
    cursor: pointer;
}
.ctx-menu{
    position: fixed;
    z-index: 99999;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    width: 220px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.ctx-menu button{
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    border-radius: 8px;
    color: #101827;
}
.ctx-menu button:hover{ background:#f3f4f6; }
.ctx-menu hr{ border:0; border-top:1px solid #eee; margin:6px 0; }