﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #001d72;
}

p, body {
    font-family: "DM Sans", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    margin-bottom: 0px !important;
    font-size: 16px;
    line-height: 25px;
    color: #6e6e6e;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 40px;
    line-height: 45px;
}

h2 {
    font-size: 35px;
    line-height: 40px;
}

h3 {
    font-size: 30px;
    line-height: 35px;
}

h4 {
    font-size: 25px;
    line-height: 30px;
}

h5 {
    font-size: 20px;
    line-height: 25px;
}

h6 {
    font-size: 15px !important;
    line-height: 25px !important;
}

.content-wrapper {
    background-color: #ffffff;
    height: 100vh;
    min-height: auto !important;
}

.content-wrapper > .content {
    padding: 40px;
    margin-bottom: 60px;
}

.wrapper {
    position: relative;
}

/* Header */
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer {
    margin-left: 275px;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-left: 300px;
    background-color: #ffffff;
    margin-right: 20px;
    position: relative;
    top: 20px;
    border-radius: 10px;
    box-shadow: 0px 1px 17px rgb(11 43 102 / 13%);
}

.header-nav-icons {
    font-size: 25px;
    cursor: pointer;
    display: flex;
    background-color: #21739c26;
    color: #21739c;
    border-radius: 5px;
    padding: 0.5rem;
}

.navbar {
    padding: .7rem 1.5rem;
}

.header-nav-icons:hover, .header-icons:hover {
    color: #00b8cc !important;
    text-decoration: none;
}

.header-icons {
    font-size: 18px;
    cursor: pointer;
    display: flex;
    background-color: #21739c26;
    color: #21739c;
    border-radius: 5px;
    padding: 13px 13px 11px;
    align-items: center;
    justify-content: center;
    line-height: 18px;
}

.img-avatar-header {
    width: 42px;
    background-color: #21739c26;
    border-radius: 5px;
    padding: 5px;
    margin-left: 10px;
}

.avatar-online-circle {
    position: absolute;
    top: -3px;
    right: -5px;
    width: 14px;
    height: 14px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* user dropdown */
.user-menu .dropdown-toggle::after {
    display: none;
}

.dropdown-menu .dropdown-item button {
    width: 100%;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #ffffff00;
}

.dropdown-menu {
    margin-top: 20px;
    border-radius: 15px !important;
}

.navbar-nav > .user-menu > .dropdown-menu {
    width: 250px;
}

.animated--fade-in {
    animation: fadeIn 0.2s ease-in-out;
}

.profile-header .logged-username {
    color: #fff;
    margin-bottom: -2px;
}

.profile-header {
    background: linear-gradient(135deg, #21739c 0%, #00b8cc 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

    .profile-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 1;
    }

.profile-avatar img {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.profile-email {
    font-size: 15px;
    color: #e3e1e1;
}

.profile-info {
    margin: 10px 0px 15px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.status-dot {
    border-radius: 50%;
    animation: pulse 2s infinite;
    font-size: 12px;
    line-height: 1rem;
    color: #15cd77;
}

.fa-circle {
    font-size: 12px !important;
    margin-right: 0px !important;
    position: relative !important;
    top: 0px !important;
    color: #00BCD4;
}

.navbar-expand .navbar-nav .nav-link.logout-link {
    padding: 0rem;
}

.navbar-nav.logout-nav {
    justify-content: center;
}

    .navbar-nav.logout-nav .nav-link {
        color: #f76c6c;
    }

        .navbar-nav.logout-nav .nav-link:hover {
            color: #fa3131;
        }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.main-footer {
    position: fixed;
    bottom: 0;
    padding: 0.7rem 2.5rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    border-top: 1px solid rgb(38 71 126 / 10%);
    box-shadow: 0 .1rem 0.5rem 0 rgb(38 71 126 / 10%);
    color: #26477e;
    font-size: 15px;
    margin-left: 150px !important;
}

/* Sidebar */
[class*=sidebar-dark-] {
    background-color: #04133f;
}

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

.main-sidebar {
    width: 275px;
}

.sidebar.sidebar-scroll {
    padding: 1rem;
}

.sidebar-logo {
    background-color: #fff;
    padding: 10px 10px 5px;
    border-radius: 10px;
    width: 80px;
}

.side-bar-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0px;
    background: linear-gradient(120deg, rgb(44 131 175 / 60%) 50%, rgb(0 184 204 / 60%) 100%), url(/img/images/EXPO-Logi-Track-img-2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.side-bar-profile {
    border-bottom: 1px solid #00b5cc73;
    display: flex;
    padding: 1rem;
    align-items: center;
}

.img-avatar {
    width: 55px;
    background-color: #00bcd46e;
    border-radius: 5px;
    padding: 5px;
    margin-right: 15px;
}

.profile-img-sec {
    position: relative;
}

.online-circle {
    position: absolute;
    top: -3px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 188, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
    }
}

.online-text {
    font-size: 14px;
    line-height: 14px;
    color: #fff;
}

.logged-username {
    color: #00BCD4;
    margin-bottom: 3px;
    font-weight: 600 !important;
}

.nav-treeview .nav-item > .nav-link {
    margin-bottom: 0px;
    font-size: 14px;
    position: relative;
    padding: 8px 20px;
    text-decoration: none;
}

.timeline-nav {
    position: relative;
    padding-left: 30px;
    margin: 0;
    list-style: none;
    border-left: 2px solid #ccc;
    margin-left: 25px;
    width: calc(250px - 1rem * 2);
}

    .timeline-nav .nav-item {
        position: relative;
    }

        .timeline-nav .nav-item::before {
            content: '';
            position: absolute;
            left: -6px;
            top: 13px;
            width: 10px;
            height: 10px;
            background-color: #00b8cc;
            border-radius: 50%;
            border: 2px solid white;
            z-index: 1;
        }

.sidebar-mini .main-sidebar .nav-link {
    width: calc(260px - .5rem*2);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background: linear-gradient(135deg, #2191a0 0%, #0fd7f0 100%) !important;
}

.nav-sidebar > .nav-item > .nav-link:focus p > .right, .nav-sidebar > .nav-item.menu-open > .nav-link p > .right, .nav-sidebar > .nav-item > .nav-link:hover p > .right, .nav-sidebar > .nav-item > .nav-link.active p > .right {
    right: 1rem;
}

.text-sm .nav-link {
    padding: .5rem .8rem;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: .5rem;
}

.nav-link.active p {
    color: #ffffff;
}

.nav-link p {
    color: #d0d0d0;
    font-size: 15px;
}

.nav-sidebar .nav-link > p > .right {
    right: 0rem;
    top: .9rem;
}


[class*=sidebar-dark-] .nav-sidebar > .nav-item:hover > .nav-link p {
    color: #ffffff;
}

[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, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link:hover {
    background-color: #00bcd42b;
}

    [class*=sidebar-dark-] .nav-sidebar > .nav-item.menu-open > .nav-link p {
        color: #ffffff;
    }

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link {
    width: calc(225px - 0.5rem);
}


    [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link:hover {
        background-color: #00bcd42b;
        width: calc(225px - 0.5rem);
    }

.nav-sidebar .nav-treeview .nav-link {
    padding: .4rem 1rem !important;
}

/* sidebar hover */
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused, .sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 275px !important;
}

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link {
        width: calc(260px - .5rem*2);
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .side-bar-profile {
        padding: 1rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .sidebar-logo {
        width: 80px;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .sidebar.sidebar-scroll {
        padding: 1rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-treeview .nav-link {
        width: calc(225px - .5rem) !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar:hover .sidebar .nav-sidebar .nav-link p {
        display: inline !important;
    }

/* mini sidebar */
.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before {
    width: 5rem !important;
}

    .sidebar-mini.sidebar-collapse .main-sidebar .side-bar-profile {
        padding: 0.75rem;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-logo {
        width: 55px;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar.sidebar-scroll {
        padding: 0.75rem;
    }

.sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 5rem !important;
}

.sidebar-mini.sidebar-collapse .main-header {
    margin-left: 6.3rem !important;
}

/* Breadcrum */
.main-breadcrum-sec {
    margin-bottom: 40px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    font-size: 15px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #00b8cc;
}

.breadcrumb-item {
    color: #00b8cc;
}

    .breadcrumb-item a {
        color: #797979;
        text-decoration: none;
        transition: color 0.3s;
    }

        .breadcrumb-item a:hover {
            color: #00b8cc;
        }

    .breadcrumb-item.active {
        color: #00b8cc;
    }


/* Datatable */
.data-table-body {
    margin-bottom: 50px;
}

.table-hover tbody tr:hover {
    background-color: #f4f9fb;
}

.table td, .table th {
    white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    display: flex;
    gap: 0.5rem;
    padding: 0px 0px 30px;
}

.page-item .page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #b1c4dc;
    background: white;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-link:focus {
    box-shadow: 0 0 0 .2rem #b0dadf;
}

.page-item.disabled .page-link {
    border-color: #b0dadf;
}

.page-item:hover .page-link {
    background: #79554814;
    border-color: #00b8cc;
}

.page-item.active .page-link {
    background: #00b8cc;
    color: white;
    border-color: #00b8cc;
}

.page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

.dataTables_filter .form-control {
    padding: 0.75rem 1rem 0.75rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 280px !important;
    height: 45px;
}

    .dataTables_filter .form-control:focus {
        outline: none;
        border-color: #00b8cc;
        box-shadow: 0 0 0 3px #d7f2f5;
    }

.dataTables_length select {
    padding: 0.75rem 1rem 0.75rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 45px;
    font-size: 16px;
    line-height: 16px;
}

    .dataTables_length select:focus {
        outline: none;
        border-color: #00b8cc;
        box-shadow: 0 0 0 3px #d7f2f5;
    }

.dataTables_scroll, .custom-table {
    background: white;
    margin: 30px 0px 40px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0/0.1),0 8px 10px -6px rgb(0 0 0/0.1);
    border-radius: 15px;
    overflow: hidden;
}

.dataTables_scrollHead {
    border-radius: 15px 15px 0px 0px;
}

#containerTable, #grnTable {
    margin: 30px 0px 40px !important;
}

#qualityTable {
    margin: 30px 0px !important;
}

#commodityCategoryTable {
    margin: 30px 0px 40px !important;
}

table.dataTable {
    margin-top: 0px !important;
}

.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px !important;
}

.table-responsive-container::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive-container::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.table-responsive-container::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.custom-table {
    min-width: 800px;
}

div.dataTables_wrapper div.dataTables_info {
    padding: 0px 0px 35px;
}

.datable-header {
    background: linear-gradient(135deg, #21739c 0%, #00b8cc 100%);
    color: #fff;
    border-radius: 10px;
}

.dataTables_scrollHead {
    background: linear-gradient(135deg, #21739c 0%, #00b8cc 100%);
    color: #fff;
    border-radius: 10px 10px 0px 0px;
}

.data-table-sec .table th {
    padding: 18px 30px;
    vertical-align: top;
    border-top: 0px solid #e5e7eb;
}

.data-table-sec .table thead th {
    border-bottom: 0px solid #dee2e6;
}

.data-table-sec .table td {
    padding: 15px 30px;
    vertical-align: middle;
    border-top: 1px solid #e5e7eb;
}

.table-responsive-scroll {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.header-add-btn {
    background: linear-gradient(135deg, #21739c 0%, #00b8cc 100%);
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    z-index: 2;
    position: relative;
    cursor: pointer;
    text-align: center;
}

    .header-add-btn:hover {
        background: linear-gradient(135deg, #00b8cc 0%, #21739c 100%);
        color: #fff;
    }

.btn-sm {
    padding: 5px 15px;
}

.action-column {
    display: flex;
}

.action-column .btn-success, #qualityTable .btn-success {
    color: #28a745 !important;
    background-color: #c0fbcd !important;
    border-color: #c0fbcd !important;
    font-size: 15px;
    line-height: 28px;
    border: none;
    font-weight: 600;
}

.action-column .btn-danger, #qualityTable .btn-danger {
    color: #dc3545 !important;
    background-color: #ffe0e4 !important;
    border-color: #ffe0e4 !important;
    font-size: 15px;
    line-height: 28px;
    border: none;
    font-weight: 600;
}

.action-column .btn-reset-password, .action-column .btn-view-detail, .view-details-btn {
    color: #21739c !important;
    background-color: #d3ebf7 !important;
    border-color: #d3ebf7 !important;
    font-size: 15px;
    line-height: 28px;
    border: none;
    font-weight: 600;
}

.action-column .btn-success:hover, #qualityTable .btn-success:hover {
    color: #fff !important;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.action-column .btn-danger:hover, #qualityTable .btn-danger:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.action-column .btn-reset-password:hover, .action-column .btn-view-detail:hover, .view-details-btn:hover {
    color: #fff !important;
    background-color: #21739c !important;
    border-color: #21739c !important;
}

.btn-sm {
    border: none;
}

.child-data-table-sec .table th {
    padding: 12px 20px;
    vertical-align: top;
    border-top: 0px solid #e5e7eb;
}

.child-data-table-sec .table thead th {
    border-bottom: 0px solid #dee2e6;
}

.child-data-table-sec .table td {
    padding: 10px 15px;
    vertical-align: middle;
    border-top: 1px solid #e5e7eb;
}

.child-data-table-sec .form-control {
    padding: 8px !important;
    height: 40px !important;
}

.child-form-sec .form-sec {
    padding: 20px !important;
}

.child-form-sec .form-control {
    padding: 0.55rem 1rem 0.55rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 50px;
}

.input-group-text {
    color: #ffffff;
    background-color: #21739c;
    border: 1px solid #21739c;
    border-radius: 0px 10px 10px 0px;
}

.view-sales-contract.child-table-header {
    background-color: #d3ebf7;
}

/* Forms */
.required:after {
    content: " *";
    color: red;
}

.form-sec {
    box-shadow: 1px -3px 15px -5px rgb(0 0 0 / 0.1), 0 8px 15px -6px rgb(0 0 0 / 0.1);
    border-radius: 15px;
    padding: 40px;
}

.form-control-sm {
    height: calc(2.5rem + 2px);
    font-size: 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .form-control-sm:focus {
        outline: none;
        border-color: #00b8cc;
        box-shadow: 0 0 0 3px #d7f2f5;
    }

.form-sec .form-control {
    padding: 0.55rem 1rem 0.55rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 50px;
}

textarea.form-control {
    height: auto !important;
}

.form-sec .form-control:focus {
    outline: none;
    border-color: #00b8cc;
    box-shadow: 0 0 0 3px #d7f2f5;
}

.select2-container--bootstrap4 .select2-selection {
    padding: 0.3rem 0.8rem;
    border: 2px solid #b0dadf;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    outline: none;
    border-color: #00b8cc;
    box-shadow: 0 0 0 3px #d7f2f5;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    border: 1px solid #21739c;
    border-radius: 0.3rem;
}

.select2.select2-container.select2-container--bootstrap4 {
    width: 100%!important;
}

.btn {
    color: #fff;
    border: none;
    padding: 13px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn.btn-update, .btn.btn-create {
        background-color: #00b8cc;
        width: 100%;
    }

        .btn.btn-update:hover, .btn.btn-create:hover {
            background-color: #21739c;
            color: #fff;
        }

    .btn.btn-back {
        background-color: #8b9095;
        width: 100%;
    }

        .btn.btn-back:hover {
            background-color: #5a6268;
            color: #fff;
        }

.btn-sm.btn-info {
    background-color: #f5c126;
    border-color: #f5c126;
}

    .btn-sm.btn-info:hover {
        background-color: #e0ad16;
        border-color: #e0ad16;
    }

div.dataTables_processing > div:last-child > div {
    background: #4a2c1b;
}

.filter-form-sec {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px !important;
}

.filter-form-sec::-webkit-scrollbar {
    height: 6px;
}

.filter-form-sec::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-form-sec::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.filter-form-sec::-webkit-scrollbar-thumb:hover {
    background: #888;
}

#filterForm {
    min-width: 1000px;
}

/* Popup form */
.modal-content {
    box-shadow: 0 .5rem 1rem rgb(0 0 0 / 5%);
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #21739c 0%, #00b8cc 100%);
    border: none;
    padding: 15px 25px;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    justify-content: flex-start !important;
    padding: 15px 20px !important;
}

.modal-title {
    color: #fff;
}

.modal-body .form-control {
    padding: 0.55rem 1rem 0.55rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 50px;
}

    .modal-body .form-control:focus {
        outline: none;
        border-color: #00b8cc;
        box-shadow: 0 0 0 3px #d7f2f5;
    }

.modal-footer .btn.btn-back {
    margin-left: 0px;
}

.modal-footer > * {
    margin: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #b0dadf;
    border-radius: 10px;
    padding: 0.3rem 0.8rem;
    height: 50px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 40px;
    }

.select2-container .select2-selection--single .select2-selection__rendered {
    height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
}

.select2-container--default .select2-selection--multiple {
    border: 2px solid #b0dadf;
    border-radius: 10px;
    padding: 0.3rem 0.8rem;
    height: 50px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    outline: none;
    border-color: #00b8cc;
    box-shadow: 0 0 0 3px #d7f2f5;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #21739c;
    border: 1px solid #21739c;
}

.custom-close-button {
    float: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #00BCD4;
    text-shadow: none;
    opacity: 1;
    background-color: #ffffff !important;
    padding: 3px 10px 5px !important;
    border-radius: 5px;
    position: relative;
    top: 0px;
    right: -10px;
    border: none;
}

.badge {
    padding: 5px 10px;
    font-size: 14px;
}

#filterForm .form-control {
    padding: 0.55rem 1rem 0.55rem 1rem;
    border: 2px solid #b0dadf;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 50px;
}

#filterForm .form-control:focus {
    outline: none;
    border-color: #00b8cc;
    box-shadow: 0 0 0 3px #d7f2f5;
}

/* Child content table */
.child-row-container {
    background-color: #d3ebf7;
}

.child-row-container table {
    background-color: #fff;
}

.child-table-header {
    background-color: #fff;
}

.child-row-container .table td {
    padding: 15px 10px;
    vertical-align: middle;
    border-top: 1px solid #e5e7eb;
}

.child-row-container .table th {
    padding: 15px 10px;
    vertical-align: middle;
    border-top: 0px solid #e5e7eb;
}

.child-row-container .table-hover tr:hover {
    background-color: #ffffff;
}

.child-row-container th {
    color: #001d72;
}

.child-data-table-sec.table-responsive-container {
    padding: 0px 0px 30px!important;
}

/* alerts */
.alert-success .custom-close-button {
    color: #ffffff;
    background-color: #23923d !important;
    padding: 5px 12px 8px !important;
    position: absolute;
    right: 10px;
    top: 8px;
}

.alert-danger .custom-close-button {
    color: #ffffff;
    background-color: #dc3545 !important;
    padding: 5px 12px 8px !important;
    position: absolute;
    right: 10px;
    top: 8px;
}

.alert-success {
    color: #23923d;
    background-color: #b7fac6;
    border-color: #6ec783;
    border-radius: 10px;
    line-height: 20px;
}

.alert-danger {
    color: #dc3545;
    background-color: #ffe0e3;
    border-color: #fa9ea7;
    border-radius: 10px;
    line-height: 20px;
}

/* Alert popup */

.alert-btn-close {
    float: right;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-shadow: none;
    opacity: 1;
    background-color: #23923d !important;
    padding: 3px 10px 5px !important;
    border-radius: 5px;
    position: relative;
    top: -2px;
    right: -50px;
    border: none;
}

.img-thumbnail {
    padding: 0px;
    background-color: #fff;
    border: 0px solid #dee2e6;
    border-radius: 8px;
    box-shadow: none;
}

.thumbnail-caption {
    color: #001d72 !important;
    font-weight: 600;
}

@media screen and (max-width: 1024px) {
    .navbar {
        padding: .7rem 1rem;
    }

    .content-wrapper > .content {
        padding: 30px 20px 0px 20px;
        margin-bottom: 100px;
    }

    .content-wrapper {
        height: 100% !important;
    }

    h2 {
        font-size: 28px;
        line-height: 30px;
    }


    .form-sec {
        padding: 30px;
    }
}

@media screen and (max-width: 991px) {

    .content-wrapper > .content {
        padding: 30px 20px 0px 0px;
        margin-bottom: 100px;
    }

    .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 20px !important;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper {
        margin-left: 20px !important;
    }

    .sidebar-mini.sidebar-collapse .main-footer {
        margin-left: 0px !important;
    }

    .main-footer {
        line-height: 20px;
    }

    .main-sidebar {
        width: 250px;
    }

    .sidebar-mini .main-sidebar .nav-link {
        width: calc(235px - .5rem*2);
    }

    [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link:hover {
        width: calc(200px - 0.5rem);
    }

    [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link {
        width: calc(200px - 0.5rem);
    }

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 270px;
    }


}

@media screen and (max-width: 767px) {
    .sidebar-mini.sidebar-collapse .content-wrapper {
        margin-left: 15px !important;
    }

    .content-wrapper > .content {
        padding: 30px 15px 0px 0px;
        margin-bottom: 100px;
    }

    .action-card {
        padding: 1.2rem!important;
    }

    .welcome-card {
        padding: 1.2rem!important;
    }

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer {
        margin-left: 20px;
    }

    .navbar-nav > .user-menu > .dropdown-menu {
        width: 200px;
    }

    .profile-header {
        padding: 1rem;
    }

    .profile-avatar img {
        width: 60px;
        height: 60px;
    }

    .dropdown-item {
        padding: 0rem 1rem;
    }

    .data-table-body {
        margin-bottom: 0px;
    }

    div.dataTables_wrapper div.dataTables_info {
        padding: 0px 0px 20px;
    }

    .dataTables_scroll, .custom-table {
        margin: 20px 0px 30px;
    }

    .header-add-btn {
        padding: 12px 20px;
    }

    .form-sec {
        padding: 20px;
    }

    .btn {
        padding: 13px 20px;
    }

    .form-group {
        margin-bottom: 0px;
    }

    .form-group .col-md-6, .form-group .col-md-12, .form-group .col-md-4, .form-group .col-md-3 {
        margin-bottom: 1rem;
    }

    .swal2-header {
        padding: 1em;
    }

    .swal2-content {
        padding: 0em;
    }

    .swal2-popup {
        max-width: 95%;
    }

    h5 {
        font-size: 18px;
        line-height: 25px !important;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .modal-body {
        padding: 25px;
    }

    #filterForm {
        min-width: 100%;
    }

    .filter-form-action {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {

    .header-add-btn {
        margin-top: 10px;
        padding: 12px 20px;
    }

    .fullscreen-icon {
        display: none;
    }

    .sidebar-open .user-menu {
        display: none;
    }

    .dataTables_filter .form-control {
        width: auto !important;
    }

    .dataTables_length {
        margin-bottom: 10px;
    }

}