﻿body {
    background-color: #f3f3f3 !important;
}


.select2.select2-container.select2-container--bootstrap4 {
    width: 100% !important;
}

.w-215 {
    min-width: 215px;
    max-width: 215px;
}


.w-200 {
    min-width: 200px;
    max-width: 200px;
}

.m-auto {
    margin: auto;
}

.content-wrapper {
    background-color: #fff;
}

.fabric-section, .location-section, .type-section {
    padding: 20px;
    background-color: #f4f6f9;
    height: 100%;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: auto !important;
}

.pull-right {
    float: right;
}

.field-required {
    color: red;
}

.nowrap {
    white-space: nowrap;
}

.align-center {
    text-align: center;
}

.tbl-summary thead th {
    text-align: center;
}

label.error {
    color: red;
    font-size: 12px;
    font-weight: 500 !important;
    display: none !important;
}

.icheck-primary.d-inline {
    position: absolute;
    right: 0;
}
/*#f4f6f9*/

/*NOTI ALERT*/
.alert-notification-success {
    border-left: 6px solid green;
}

.alert-notification-danger {
    border-left: 6px solid red;
}

.i-notification-success {
    color: green;
}

.i-notification-danger {
    color: red;
}

.i-notification {
    font-size: 39px;
}

.alert-notification {
    padding: 12px;
    margin-bottom: 20px;
    color: black;
    background-color: #fff;
    box-shadow: 0px 0px 12px -2px #333333;
}

.alert-notification-title {
    margin-bottom: 10px;
    display: block;
}

.input-group-append button {
    height: max-content;
}

/*DATATABLE*/
.dt-buttons, .dataTables_length {
    display: none;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0 !important;
}

.dataTables_info {
    width: 100%;
    margin-top: 10px;
    text-align: left !important;
}

div.dataTables_wrapper div.dataTables_paginate {
    margin-top: 15px !important;
    float: left !important;
    text-align: center !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next, .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    background-color: #007bff !important;
    color: #fff !important;
    padding: 4px 17px !important;
    font-weight: 500;
    font-size: 16px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.first.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.last.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.next.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.previous.disabled {
    opacity: .4;
    pointer-events: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #72777a !important;
    padding: 4px 8px;
    border-radius: 2px;
    margin-right: 10px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration: none;
}

.dataTables_filter {
    display: none !important;
}

.w-60px {
    width: 60px !important;
}

.text-align-center {
    text-align: center !important;
}

.dataTables_scrollBody {
    min-height: 150px;
}

.ms-auto {
    margin-left: auto !important;
}

.nav-logo {
    width: 186px;
    text-align: center;
}

.navbar-nav .nav-item {
    padding-top: 8px;
    height: auto;
    text-align: center;
}

    .navbar-nav .nav-item .nav-link:hover {
        border-bottom: 6px solid #f8611c;
    }

    .navbar-nav .nav-item .nav-link.actived, .nav-item.show {
        border-radius: unset !important;
        border-bottom: solid 6px #f8611c;
        transition: border-bottom 1s;
    }

    .navbar-nav .nav-item a {
        text-transform: uppercase;
        color: #fff !important;
    }

.nav-profile-item {
    background: black;
    border: solid 1px #f8611c;
    box-shadow: none;
}

    .nav-profile-item a:hover {
        background: #f8611c;
    }

.nav-sidebar {
    /* position: relative; */
    float: right;
    display: inline-block;
}

.main-header {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-bottom: none;
    height: 80px;
}

    .main-header li.nav-item {
        width: 220px;
        text-align: center;
        text-align: center;
        display: inline-block;
    }

.main-sidebar {
    background-color: #0c2636 !important;
    width: 220px !important;
    position: unset !important;
    float: left !important;
    height: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: absolute !important;
    height: 100%;
    top: 80px !important;
}

    .main-sidebar .sidebar {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden;
    }

    .main-sidebar .nav-item:hover {
        background-color: #0c2636 !important;
        color: #fff;
    }

[class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link {
    color: #fff;
    border-left: 6px solid transparent;
}

    [class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link.actived {
        background-color: #0c2636;
        color: #fff;
        border-radius: unset !important;
        border-left: solid 6px #f8611c;
        transition: border-left 1s;
    }

    [class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link, [class*=sidebar-dark-] .nav-sidebar > .nav-item > .nav-link:focus {
        background-color: #0c2636;
        color: #fff;
        border-radius: unset !important;
        border-left: solid 6px #f8611c;
    }

.content-wrapper {
    background-color: #f3f3f3;
    margin-left: 0 !important;
    min-height: calc(100vh - (3.5rem + 1px)) !important;
    padding: 0 !important;
}

.home-order-section {
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

    .home-order-section img {
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
        width: 535px;
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-transition: .3s ease-in-out;
        transition: .3s ease-in-out;
    }

        .home-order-section img.ok {
            -webkit-transform: scale(1.3);
            transform: scale(1.3);
        }

.mT-20 {
    margin-top: 20px !important;
}

.mT-40 {
    margin-top: 40px !important;
}

.mT-50 {
    margin-top: 50px !important;
}

.link-order {
    position: relative;
}

.link-text {
    position: absolute;
    /* text-align: center; */
    top: -20px;
    width: 100%;
    left: 0;
    text-align: center;
    color: #fff;
    font-size: 45px;
    z-index: 0;
}

.order-roller-blinds {
    margin-right: 35px !important;
}

.order-title {
    font-size: 22px;
}


.btn-primary:hover {
    color: #fff;
    background-color: #f8611c;
    border-color: #f8611c;
}

.btn-primary {
    color: #fff;
    background-color: #f8611c;
    border-color: #f8611c;
}

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #ddc674;
        border-color: #f8611c;
    }

.btn-primary-2 {
    color: #fff;
    background-color: #0c2636;
    border-color: #0c2636;
}

    .btn-primary-2:hover {
        color: #fff;
        background-color: #3f6983;
        border-color: #0c2636;
    }

    .btn-primary-2.disabled, .btn-primary-2:disabled {
        color: #fff;
        background-color: #3f6983;
        border-color: #3f6983;
    }

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #fff !important;
    background-color: #f8611c !important;
    border-color: #f8611c !important;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next, .dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    background-color: #f8611c !important;
    color: #fff !important;
    padding: 4px 17px !important;
    font-weight: 500;
    font-size: 16px;
}


.card-header {
    background-color: #090b18 !important;
}


.navbar-white {
    background-color: #090b18;
    color: #fff !important;
}

.card-header img {
    width: 100px;
}

/* Tùy chỉnh thanh scroll bar (áp dụng cho trình duyệt Webkit như Chrome, Edge, Safari) */

/* Toàn bộ thanh cuộn */
::-webkit-scrollbar {
    width: 12px; /* Độ rộng thanh cuộn dọc */
    height: 12px; /* Độ cao thanh cuộn ngang */
}

/* Background track của thanh cuộn */
::-webkit-scrollbar-track {
    background: #f0f0f0; /* Màu nền của thanh track */
}

/* Thanh kéo (thumb) */
::-webkit-scrollbar-thumb {
    background: #888; /* Màu thanh kéo */
}

    /* Khi hover lên thanh kéo */
    ::-webkit-scrollbar-thumb:hover {
        background: #555; /* Màu thanh kéo khi hover */
    }

/* Thanh cuộn góc (dành cho trường hợp cả thanh ngang và dọc đều hiển thị) */
::-webkit-scrollbar-corner {
    background: #f0f0f0; /* Màu góc */
}
