﻿@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&display=swap');
@import url('https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-rounded/css/uicons-solid-rounded.css');

body[data-sidebar=brand] .vertical-menu {
    background-color: #00253d !important;
}

body[data-sidebar=brand] .navbar-brand-box {
    background-color: #00253d!important;
    -webkit-box-shadow: 0 1px 0 #00253d!important;
    box-shadow: 0 1px 0 #00253d!important;
}

body {
    font-family: Dosis, Arial, Helvetica, sans-serif!important;
}

p {
    font-size: 16px!important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f5821f !important;
    --bs-btn-border-color: #f5821f !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00253d !important;
    --bs-btn-hover-border-color: #00253d !important;
    --bs-btn-focus-shadow-rgb: #f5821f30 !important;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00253d !important;
    --bs-btn-active-border-color: #00253d !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #f5821f !important;
    --bs-btn-disabled-border-color: #f5821f !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.3) !important;
}

.btn-primary.dropdown-toggle-split {
    background-color: #f5821f !important;
    border: none;
}

.btn-primary.dropdown-toggle-split:hover{
    background-color: #00253d !important;
    border: none;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #00253d !important;
    --bs-btn-border-color: #00253d !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #012f4d !important;
    --bs-btn-hover-border-color: #012f4d !important;
    --bs-btn-focus-shadow-rgb: 137, 140, 158;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5d6071;
    --bs-btn-active-border-color: #575a6a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #00253d !important;
    --bs-btn-disabled-border-color: #00253d !important;
}

.btn-secondary.dropdown-toggle-split {
    background-color: #00253d !important;
    border: none;
}

body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li > a:hover {
    padding: 15px 20px;
    -webkit-transition: none;
    transition: none;
    background: #f5821f!important;
}

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.5rem;
    --bs-pagination-font-size: 0.875rem;
    --bs-pagination-color: #f5821f !important;
    --bs-pagination-bg: var(--bs-secondary-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: #f5821f !important;
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: #f5821f !important;
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.15rem 0.15rem rgba(81, 86, 190, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #f5821f !important;
    --bs-pagination-active-border-color: #f5821f !important;
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: var(--bs-secondary-bg);
    --bs-pagination-disabled-border-color: var(--bs-border-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
}

.nav-tabs-custom .nav-item .nav-link::after {
    content: "";
    background: #dddddd !important;
    height: 2px !important;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -1px;
    -webkit-transition: all 250ms ease 0s;
    transition: all 250ms ease 0s;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.counter-value {
    font-weight: 800 !important;
}

.header-profile-user {
    height: 36px;
    width: 36px;
    background-color: #d8d8d8!important;
    padding: 1px!important;
}

/* Style for ColVis button */
.dt-button.buttons-colvis {
    background-color: #00253d !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
}

.dt-button.buttons-colvis:hover {
    background-color: #004b75 !important;
    color: white !important;
}

/* Style for csv button */
.dt-button.buttons-csv {
    background-color: #00253d !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
}

.dt-button.buttons-csv:hover {
    background-color: #004b75 !important;
    color: white !important;
}

/* Style for excel button */
.dt-button.buttons-excel {
    background-color: #00253d !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
}

    .dt-button.buttons-excel:hover {
        background-color: #004b75 !important;
        color: white !important;
    }

/* Style for print button */
.dt-button.buttons-print {
    background-color: #00253d !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
}

.dt-button.buttons-print:hover {
    background-color: #004b75 !important;
    color: white !important;
}

/* Add borders to table cells */
table.dataTable tbody td {
    border: 1px solid #e9e9ef !important;
}

table.dataTable thead th {
    border: 1px solid #e9e9ef !important;
}

/* Style for pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: .4em .6em !important;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}

/* Style for search input */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #e9e9ef!important;
    border-radius: 3px;
    padding: 3px!important;
    background-color: transparent;
    color: inherit;
    margin-left: 3px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #00253d!important;
    border-color: #00253d!important;
}

#sidebar-menu ul li a svg {
    height: 16px;
    width: 16px;
    color: #fff !important;
    fill: transparent!important;
    margin-right: 10px;
    margin-top: -3px;
}

.auth-bg {
    background-image: url("../images/happy-farmer.jpg")!important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    opacity: .5!important;
    background-color: #013d65!important;
}