﻿html {
    font-size: 14px;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #0a58ca;
}
    a:hover {
        color: #0d6efd;
    }

/* -- Navbar Start -- */
.navbar .nav-link {
    padding-top: 5px;
    padding-bottom: 5px;
}

    .navbar .nav-link.active {
        color: #ffce34 !important;
    }

.navbar-brand img {
    width: 150px;
    display: block;
}

.navbar-toggler {
    box-shadow: none !important;
}

    .navbar-toggler .bi-collapse {
        display: none
    }

    .navbar-toggler:not(.collapsed) .bi-expand {
        display: none
    }

    .navbar-toggler:not(.collapsed) .bi-collapse {
        display: inline-block
    }

.dropdown-toggle::after {
    margin-left: 0px;
}
/* -- Navbar End -- */

/*.navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.navbar-brand {
    font-size: inherit;
    margin-right:10px;
}
.navbar-brand img.logo{
    width:120px;
}
.navbar-toggler {
    border-width:0px;
    padding:0px;
    box-shadow: none !important;
}

.navbar-light .navbar-toggler-icon.navbar-toggler-icon-submenu {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="rgb(102, 102, 102)" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="feather feather-grid"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>') !important;
}
.navbar .nav-link {
    padding-top: 4px;
    padding-bottom: 4px;
    border:solid 1px red;
}
    .navbar .nav-link.active {
        color: #222222 !important;
        background-color: #ffce34 !important;
        border-radius: 3px;        
    }
 */

.sidebar {
}

    .sidebar .nav-link {
        color: #222222;
        padding: .4rem .6rem;
    }

        .sidebar .nav-link svg {
            margin-right: 2px;
            margin-top: -4px;
            color: #666;
        }

        .sidebar .nav-link.active {
            background-color: #0069d9;
            border-color: #0062cc;
            color: #ffffff;
            border-radius: 4px;
        }

            .sidebar .nav-link:hover svg,
            .sidebar .nav-link.active svg {
                color: inherit;
            }

.footer {
    background-color: #222222;
}

    .footer a {
        color: #999;
        text-decoration: none;
    }

        .footer a:hover {
            color: #fff;
            text-decoration: none;
        }

.bg-dark {
    background-color: #222222 !important;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.form-check-input:focus, .form-select:focus {
    box-shadow: none;
}

button, button:focus {
    outline: none !important;
}
/*img {
    display: block;
    max-width: 100%;
}*/
/* -- Buttons Start -- */
.btn {
    box-shadow: none !important;
    outline: none !important;
    min-width: 100px;
}

.btn-black-blue {
    background-color: #222222;
    border-color: #222222;
    color: #fff;
}

    .btn-black-blue:hover, .btn-black-blue:focus {
        background-color: #0069d9;
        border-color: #0062cc;
        color: #ffffff !important;
    }

.btn-red-black {
    background-color: #cc0000;
    border-color: #b30000;
    color: #ffffff !important;
}

    .btn-red-black:hover, .btn-red-black:focus {
        background-color: #222222;
        border-color: #222222;
        color: #fff;
    }

.btn-blue-black {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #ffffff !important;
}

    .btn-blue-black:hover, .btn-blue-black:focus {
        background-color: #222222;
        border-color: #222222;
        color: #fff;
    }

.lnk-black-blue {
    color: #222222;
    background-color: #ffffff;
}

    .lnk-black-blue:hover {
        color: #0069d9;
        background-color: #ffffff;
    }

.btn-yellow-black {
    color: #333333;
    background-color: #ffce34;
    border-color: #ffce20;
}

    .btn-yellow-black:hover {
        color: #ffffff;
        background-color: #222222;
        border-color: #222222;
    }

.btn-black-outline {
    background-color: transparent;
    border: 1px solid #222222;
    color: #222222 !important;
    font-size: 20px !important;
    border-radius: 0px !important;
}

    .btn-black-outline:hover {
        background-color: #222222;
        color: #fff !important;
    }

.btn-yellow-outline {
    color: #ffce34;
    background-color: transparent;
    border-color: #ffce34;
}

    .btn-yellow-outline:hover {
        color: #333333;
        background-color: #ffce34;
        border-color: #ffce34;
    }

.btn-trans-outline {
    min-width: 10px;
    color: inherit;
    background-color: #f8f9fa;
    border-color: none;
}

    .btn-trans-outline:hover {
        color: inherit;
        background-color: transparent;
        border-color: #999999;
    }

/* -- Buttons End -- */
.form-control, .form-control:focus {
    box-shadow: none !important;
    height: auto;
}

.field-validation-error {
    color: #e3000c;
    font-size: smaller;
}

.validation-summary-errors {
    color: #e3000c;
}

.form-group {
    margin-bottom: 10px;
}

    .form-group label {
        margin-bottom: 2px !important;
    }


.btn-toolbar {
    margin-top: 4px;
    margin-bottom: 4px;
    flex-wrap: nowrap;
}

    .btn-toolbar .btn {
        min-width: 24px !important;
        /*width: 24px !important;*/
        background-color: #fff;
        color: #222222;
        line-height: 1;
        transition: none;
    }

        .btn-toolbar .btn:hover {
            background-color: #545b62;
            color: #fff;
        }

/*.btn-toolbar-nav {
    margin-top: 3px;
    margin-bottom: 0px;
}
    .btn-toolbar-nav .btn {
        min-width: 24px !important;
        width: 24px !important;
        color: #ffffff !important;
        background-color: #222222 !important;
        border-color: #222222 !important;
        line-height: 1;
        transition: none;
        padding: 1px 5px;
    }
        .btn-toolbar-nav .btn svg {
            stroke: #ffffff !important;
        }
        .btn-toolbar-nav .btn:hover {
            background-color: #ffce34 !important;
            color: #ffffff !important;           
        }
        */

.modal .btn-close:focus {
    box-shadow: none;
}

.modal-content {
    background-clip: unset;
    border: none;
}

    .modal-content .modal-header {
        padding: 0.7rem 1rem;
    }

.dropdown-item.active, .dropdown-item:active {
    background-color: #0069d9;
}

.pageheading {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}

    .pageheading h4 {
        margin-bottom: 2px;
    }

        .pageheading h4 svg {
            margin-top: -6px;
            width: 24px;
            height: 24px;
        }

    .pageheading p {
        margin-bottom: 0px;
        line-height: 1.3 !important;
    }

.alert svg {
    margin-top: -2px;
    margin-right: 5px;
}

.spinner {
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
    margin-left: -4px;
}

.accordion-button {
    box-shadow: none !important;
    outline: none !important;
}

    .accordion-button:not(.collapsed) {
        color: inherit;
        background-color: #f8f9fa;
    }

.badge {
    font-weight: normal;   
}

    .badge.badge-s {
        background-color: #244ead !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-u {
        background-color: #666666 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-c {
        background-color: #d46820 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-n {
        background-color: #a60822 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-a {
        background-color: #93de87 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-t {
        background-color: #93de87 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-f {
        background-color: #93de87 !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-l {
        background-color: #1f940c !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }
    .badge.badge-x {
        background-color: #dbd75a !important;
        line-height: 1.3;
        width: 24px;
        height: 24px;
    }

.no-border-last-child div:last-child {
    border-bottom: none !important;
}
/*---- jquery UI --------*/
.ui-widget {
    font-family: inherit;
    font-size: inherit;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #0069d9 !important;
    color: #ffffff !important;
}

.ui-datepicker select.ui-datepicker-month {
    margin-right: 10px;
}

.ui-state-default, .ui-widget-content .ui-state-default {
    border-radius: .25rem;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    border: 1px solid #ffce34;
    background: #ffce34;
    color: #333;
}

.ui-state-active, .ui-widget-content .ui-state-active {
    border: 1px solid #0069d9;
    background: #0069d9;
    color: #fff;
}

.ui_tpicker_hour_label {
    font-size: 13px;
}

.ui_tpicker_minute_label {
    font-size: 13px;
}

.ui-datepicker-buttonpane {
    font-size: 14px;
}
/*---- jquery UI --------*/

/*------ Table -------*/
.table-responsive {
    position: relative;
    z-index: 0;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #dee2e6;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.table th {
    font-weight: normal;
}

.table thead tr th {
    border-bottom-width: 2px;
}

/*.table tbody tr:last-child td {
    border-bottom: none;
}*/

.table tbody tr td.table-action-btn {
    padding: 0;
    vertical-align: middle;
}

.table-vertical table tbody {
    border: 1px solid #DEE2E6;
}

    .table-vertical table tbody tr td:first-child {
        background-color: #f8f9fa;
    }
/*------ Table -------*/

/*------ Datatable ----*/
.dataTables_length, .dataTables_paginate {
    margin-top: 10px !important;
}

.page-link:focus {
    box-shadow: none;
}

.page-link {
    padding: 0.2rem 0.45rem;
}

.page-item.active .page-link {
    background-color: #0069d9;
    border-color: #0062cc;
}
.dataTable tbody tr td.table-action-btn {
    padding: 0.5rem;
    vertical-align: text-top;
}
/*------ Datatable ----*/

/* ---- media query ----*/
/*--- Small devices (landscape phones, 576px and up)(X-Small) ---*/
@media (min-width: 374px) {
}
/*--- Small devices (landscape phones, 576px and up)(sm) ---*/
@media (min-width: 576px) {
}

/*--- Medium devices (tablets, 768px and up)(md) ---*/
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/*--- Large devices (desktops, 992px and up)(lg) ---*/
@media (min-width: 992px) {
}

/*--- Extra large devices (large desktops, 1200px and up)(xl) ---*/
@media (min-width: 1200px) {
    .navbar .nav-link.active {
        color: #222222 !important;
        background-color: #ffce34 !important;
        border-radius: 5px;
    }
}
