:root {
    --primary: #51B174;
    --secondary: #444;
    --primary-hover: #444;
    --primary-yellow: #F7D600;
    --nav-headbg: #fff;
    --sidebar-bg: #fff;
    --danger-light: #fee6ea;
    --danger: #f72b50;
    --rgba-primary-5: var(--primary);
    --rgba-primary-1: rgb(81, 177, 116, 0.15);
    --rgba-blue: #d9f6f3;
}

.btn {
    border-radius: 30px;
    padding: 10px 26px;
}

.font-normal {
    font-style: normal;
}

.bg-primary-light {
    background: var(--rgba-primary-1) !important;
}

.bg-blue-light {
    background: var(--rgba-blue) !important;
}

a:hover {
    color: var(--primary);
}

/* ----- Header ----- */
.brand-logo img {
    max-width: 150px;
}

.header-profile>a {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-profile>a>svg {
    stroke: #fff;
}

.header-profile .dropdown-menu a:hover, .header-profile .dropdown-menu a:focus, .header-profile .dropdown-menu a.active {
    color: var(--primary);
}

.nav-header, .dlabnav {
    width: 18rem;
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .nav-header .brand-logo img {
    max-width: 80px;
}

.search-btn {
    background-color: #fff;
    padding: 5px;
}

.search-btn .btn {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .search-area {
        max-width: 450px;
        margin-left: auto;
    }
}

/* ----- Sidebar ----- */
/* .dlabnav {
    z-index: 9999;
} */
.metismenu .has-arrow:after {
    border-color: rgba(255, 255, 255, 0.85) transparent transparent rgba(255, 255, 255, 0.85);
    -webkit-transform: rotate(-225deg) translateY(-50%);
    transform: rotate(-225deg) translateY(-50%);
}

[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle .dlabnav .metismenu li>ul {
    background: var(--primary);
}

/* ----- Table ----- */
table.dataTable thead th {
    font-size: 16px;
}

table.dataTable tbody td {
    font-size: 14px;
}

.badge-lg {
    font-size: 12px;
    font-weight: 600;
}

table .btn {
    padding: 3px 10px;
    font-size: 12px !important;
}

table.dataTable thead .sorting {
    background-size: 14px;
}

@media (max-width: 1400px) {
    table.dataTable thead th {
        font-size: 14px;
    }

    table.dataTable tbody td {
        font-size: 12px;
    }
}

/* ----- Job List ----- */
.job_list_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.jobs2.inactive .job_list_icon {
    background-color: var(--danger-light);
}

.job_list_icon svg {
    fill: #fff;
    width: 30px;
    height: 30px;
}

.jobs2.inactive .job_list_icon svg {
    fill: var(--danger)
}

.jobs2.inactive .text-primary {
    color: var(--danger) !important;
}

.abs-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

.user img {
    width: inherit;
    height: inherit;
}

/* ----- Code Editor ----- */
.code_editor ul li {
    list-style-type: inherit;
}

.code_editor ul li:not(:last-child) {
    margin-bottom: 10px;
}

/* hide serch input element provided by dataTable because of we are using our styling input element */
#example5_filter {
    display: none;
}

.form-select {
    padding: 9px 20px;
}

.form-select:disabled, .form-control:disabled {
    border-color: grey;
    background-color: #e9ecef;
    color: #6c757d;
}

.form-control:read-only {
    border-color: grey;
    background-color: #e9ecef;
    color: #6c757d;
}

.form-control:focus, .form-select:focus {
    color: #212529;
    /* background-color: #e1e1e1; */
    border-color: #86fe8a;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(28 253 13 / 20%);
}

.border_light_dark_mod {
    border-color: #dddddd;
}

@media print {
    .content-body {
        margin: 0px !important;
        padding: 0px !important;
    }

    .container-fluid {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.form-check-input:checked[type="radio"] {
    background-position: unset;
}

@media only screen and (min-width: 350px)  and (max-width: 990px) {
    .media_grid_mod {
        display: grid;
        grid-template-columns: repeat(2, 140px);
    }
}

/*------ invocing---*/
.invoice-builder-right {
    /* background: #fff url('https://webeetest.org/body_bg.jpg') repeat left top; */
    /* background: #fff url(../images/body_bg.jpg) repeat left top; */
    background: #fff url('https://billing.webeesocial.tech/images/body_bg.jpg') repeat left top;
    background-size: cover;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 50px 150px 90px;
    width: 210mm;
    height: 297mm;
}
.invoice-content table, .invoice-content p {
    font-size: 12px;
}

#accountInfo p {
    margin-bottom: 0;
}

/* For Payment module */
.shadow_dark { 
    box-shadow: 0px 0px 10px var(--secondary);
    padding: 15px;
    border-radius: 1.25rem;
}
.shadow_warning { 
    box-shadow: 0px 0px 10px var(--primary-yellow);
    padding: 15px;
    border-radius: 1.25rem;
}
.shadow_danger { 
    box-shadow: 0px 0px 10px var(--danger);
    padding: 15px;
    border-radius: 1.25rem;
}
.shadow_success { 
    box-shadow: 0px 0px 10px var(--primary);
    padding: 15px;
    border-radius: 1.25rem;
}

.read_only_input{
    background: transparent;
    border: none;
    width: 50%;
    text-align: center;
}