.table-md td,
.table-md th {
    padding: 0.4rem;
}

.tooltip {
    position: relative;
    display: inline-block;
    opacity: 1;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* DataTable Custom CSS */
.table-responsive .right-panel div {
    display: inline-block;
    margin-left: 10px;
}
.table-responsive .right-panel {
    text-align: right;
}

.table-responsive .left-panel div {
    display: inline-block;
    margin-right: 10px;
}

.table-responsive .left-panel {
    text-align: left;
}

/* .table th {
    background-color: #3e521f;
    color: #fff;
} */


/* Sidebar Menu CSS */
.brand-link.text-sm .brand-image,
.text-sm .brand-link .brand-image {
    height: 40px;
}
.layout-navbar-fixed.layout-fixed .wrapper .brand-link.text-sm ~ .sidebar,
.text-sm .layout-navbar-fixed.layout-fixed .wrapper .brand-link ~ .sidebar {
    margin-top: calc(3.5rem + 5px);
}
.brand-link {
    padding: 0.93rem 0.5rem;
}
/* Sidebar Menu CSS end */

.subheader-title {
    font-size: 16px;
    background: #d2ecad;
    padding: 7px 10px 7px;
    font-weight: bold;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 500;
}

.form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}

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

.datepicker-dropdown {
    transform: translate(0, 3.8em);
}

.swal-icon {
    margin: 10px auto;
}

/*Select2 ReadOnly Start*/
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection {
    background: #fff;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__arrow,
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__clear {
    display: none;
}
/*Select2 ReadOnly End*/

/* Table Responsive */
@media screen and (max-width: 600px) {
    .tfi-table-responsive {
        border: 0;
    }

    .tfi-table-responsive thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .tfi-table-responsive tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: 0.625em;
    }

    .tfi-table-responsive td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: 0.8em;
        text-align: right;
    }

    .tfi-table-responsive td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .tfi-table-responsive td:last-child {
        border-bottom: 0;
    }
}
/* End Table Responsive */

/* ::-webkit-scrollbar {
    width: 0.5em;
    height: 0.5em
}
::-webkit-scrollbar-button {
    background:#ccc;
}
::-webkit-scrollbar-track-piece {
    background: #eee;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
}​ */

.modal-header .modal-title{
    font-size: 1.1rem;
    line-height: 1.2;
}

.content-header h3{
    font-size: 1.4rem;
}

.modal-body .form-group label{
    margin-bottom: .2rem;
    font-size: 0.95rem;
}

.card .card-body{
    padding: 1rem;
}
.card .card-header{
    padding: .75rem 1rem;
}