:root {
    --p-color: #2c70bb;
    /*--p-color: #08466f;*/
    /*--p-color: #f26b35;*/
    --s-color: #d49700;
    --g-color: #637e32;
    --grey-color: #6c6c6c;
    --tb-color: #111;
    --blue: #209ADA;
    --light-blue: #8ab6d1;
    --light-yellow: #ffe8b6;
}

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

html,
body {
    height: 100%;
    /*font-family: 'Open Sans', sans-serif;*/
}

body {
    font-weight: 400;
    background: white;
    /*font-size: 14px;*/
    color: var(--tb-color);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    transition: 0.2s all ease;
    color: var(--p-color);
}

.btn-primary, badge-primary, .bg-primary, .card-primary:not(.card-outline) > .card-header {
    background-color: var(--p-color) !important;
    border-color: var(--p-color);
}

.card-body {
    border: solid 1px #ccc;
}

.text-primary {
    color: var(--p-color) !important;
}

img {
    max-width: 100%;
}

.brand-link .brand-image {
    margin-top: unset;
    width: 33px;
}

.content-wrapper {
    /*background-color: #f7f7f7;*/
    background-color: transparent;
    /*background: url(../img/bg11.png);*/
    background-size: cover;
}

.small-box h3 {
    font-weight: normal;
}

.dropdown-menu-lg {
    min-width: unset;
}

.nav-sidebar > .nav-item .nav-icon {
    color: var(--dark);
    /*font-size: 90% !important;*/
    margin-right: .4rem;
    text-align: center !important;
    width: 2rem !important;
}
/*
.form-control {
    height: calc(2.5rem + 2px);
}*/
/*form design start*/
.form-horizontal.form-bordered {
    border: 1px solid rgba(0, 0, 0, 0.27);
}

div.form-horizontal > .form-group.row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.27);
    margin: 0;
    /* background: #f7f7f7; */
}

.control-label {
    text-align: left !important;
    margin: 0;
    padding: 5px 15px !important;
    border-right: 0px solid rgba(0, 0, 0, 0.27);
    border-left: 0px solid rgba(0, 0, 0, 0.27);
    font-weight: 600 !important;
    /*background: #f6f6f6;*/
    background: #fff4d2;
    /*font-size: 14px;*/
    font-size: 90%;
}
/*.control-label span {
    font-size: 12px !important;
    font-weight: 600;
    vertical-align: text-bottom;
}*/
.control-form {
    line-height: 1;
    padding: 5px 15px;
    background: #fff;
    border-left: 1px solid rgba(0, 0, 0, 0.27);
    font-size: 90%;
}

div.form-horizontal.form-bordered .form-control {
    border-color: #bbbbbb;
    /*height: calc(1.5em + 0.50rem + 0px);*/
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    transition: 0.15s all ease-in-out;
    background: #f9f9f9;
    font-size: 14px;
}

.control-error {
    padding: 5px 15px;
}

    .control-error span {
        vertical-align: middle;
    }

.error-text {
    font-size: 13px;
    font-weight: 600;
}
/*form design end*/

/*select2 design start*/
.select2-container {
    /*font-size: 13px;*/
    width: 100% !important;
    min-width:200px !important;
}

.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
    border-radius: 0;
    background: #f9f9f9;
    /*min-height: calc(1.5em + 0.50rem + 0px);*/
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid 1px #80bdff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--p-color);
    border-color: var(--p-color);
    padding: 3px 5px 2px 5px;
    margin-top: 7px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single {
    outline: 0;
    /*min-height: calc(1.5em + 0.50rem + 0px);*/
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    background: red;
    padding: 0px 4px 2px 4px;
    border-radius: 4px;
}
/*.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height:1;
    padding-left:0;
    margin-top:-1px;


/*select2 design end*/

/*datepicker design start*/
.bootstrap-datetimepicker-widget table td, .bootstrap-datetimepicker-widget table th {
    font-size: 12px;
}

    .bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table td.active:hover, .bootstrap-datetimepicker-widget table td span.active {
        background-color: var(--p-color);
        color: white;
    }
/*datepicker design end*/

/*datatable design start*/
.page-item.active .page-link {
    background-color: var(--p-color);
    border-color: var(--p-color);
}

.page-item .page-link {
    color: var(--p-color);
}
/*datatable design end*/
/*table {
    font-size: 12px;
}*/

th {
    font-weight: 600;
}

.nav-sidebar > .nav-item:hover > .nav-link {
    /*background-color: rgba(255,255,255,.1);
    color: #fff;*/
    background-color: white;
    color: var(--p-color);
}

.nav-sidebar > .nav-item > .nav-link:focus {
    background-color: white;
    color: var(--p-color);
}

.nav-treeview > .nav-item > .nav-link:hover, .nav-sidebar > .nav-item > .nav-link:hover {
    background-color: var(--light-yellow);
    color: var(--p-color);
}

.nav-treeview > .nav-item > .nav-link:focus {
    background-color: var(--light-yellow);
    color: var(--p-color);
}

.nav-sidebar .nav-link {
    color: white;
}

.login-box2 {
    width: auto;
}

    .login-box2 .card {
        box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
        border-radius: 16px;
    }

        .login-box2 .card .card-body {
            border-radius: 16px;
            border: none;
            /*border: solid var(--p-color);*/
        }

.main-header {
    background: #2470bd;
    min-height: 70px;
    border-bottom: none;
}

.main-sidebar {
    background-color: #f1f3f6 !important;
}

.nav-pills .nav-link {
    color: #6c757d;
    font-weight: 500;
}

.brand-link {
    min-height: 69px;
    display: flex;
    align-items: center;
}

.layout-navbar-fixed .wrapper .content-wrapper,
.layout-navbar-fixed.layout-fixed .wrapper .sidebar {
    margin-top: calc(4rem + 1px);
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.sidebar {
    padding: 0;
}

    .sidebar .nav-link {
        padding: .9rem 1rem;
    }

.nav-sidebar > .nav-item {
    margin-bottom: 0;
    border-bottom: solid 1px #ccc;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: baseline;
    font-size: 90%;
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
    top: 1.2rem;
}

.pushmenu i {
    font-size: 26px;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #ffc107;
}

.dropdown-item {
    font-size: 14px;
    color: #838383;
    padding: 0.4rem 1rem;
}

.rounded-lg {
    border-radius: 1.3rem !important;
}

.small-box .icon > i.fa {
    font-size: 32px;
    position: relative;
    top: 0;
    right: 0;
}

.card-header {
    border-top-left-radius: 0.55rem;
    border-top-right-radius: 0.55rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    /*border-right: solid 4px var(--primary);*/
    /*background-color: white;*/
    background-color: var(--light-yellow);
    color: var(--p-color);
    border-radius: 0;
}

td a small {
    width: 100px;
    display: inline-block;
}

.sidebar-collapse.sidebar-mini .main-sidebar.sidebar-focused .nav-link, .sidebar-collapse.sidebar-mini .main-sidebar:hover .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar.sidebar-focused .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar:hover .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar.sidebar-focused .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar:hover .nav-link {
    width: 100% !important;
}

.sidebar-collapse.sidebar-mini .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-md .main-sidebar .nav-sidebar .nav-link, .sidebar-collapse.sidebar-mini-xs .main-sidebar .nav-sidebar .nav-link {
    width: 100% !important;
}

.dropdown-item.active, .dropdown-item:active {
    /*background-color: var(--p-color);*/
    background-color: #ffc107;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: #ffc107;
}

.nav-sidebar > .nav-item .nav-icon {
    text-align: right;
}
/*.fa-bars:before {
    content: "\f0c9" !important;
}*/
.bs-stepper-header {
    position: relative;
    align-items: baseline;
    justify-content: space-between;
}

.bs-stepper .step-trigger {
    flex-direction: column;
}

.bs-stepper .step {
    text-align: center;
    width: 92px;
}

.bs-stepper .line, .bs-stepper-line {
    min-height: 3px;
    background-color: #d9d9d9;
    position: absolute;
    top: 18px;
    right: 2%;
    width: 95%;
    height: 2px;
    left: 2%;
    z-index: -1;
}

.bs-stepper .step-trigger {
    padding: 0px;
    background: white;
}

.bs-stepper-content {
    padding: 16px;
}

.bs-stepper-circle {
    background-color: #a9a9a9;
}

.active .bs-stepper-circle {
    background-color: var(--p-color);
}

.active .bs-stepper-label {
    color: var(--p-color);
}

.bs-stepper .step-trigger.disabled, .bs-stepper .step-trigger:disabled {
    opacity: 1;
}

.bs-stepper-label {
    margin: .25rem;
    display: block;
    font-size: 80%;
    font-weight: 500;
    color: #a9a9a9;
}

/* --------------------------------- */

/* PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /*background: var(--navy);*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background-color: navajowhite;
}
    /* lines */
    .preloader .lines {
        position: absolute;
        width: 80px;
        height: 40px;
    }
    /* line */
    .preloader .line {
        position: absolute;
        width: 80px;
        height: 10px;
        background-color: red;
        clip: rect(0, 0, 20px, 0);
    }
    /* line_1 */
    .preloader .line_1 {
        top: 0;
        -webkit-animation: slide 2s ease 0s infinite;
        animation: slide 2s ease 0s infinite;
    }
    /* line_2 */
    .preloader .line_2 {
        top: 15px;
        -webkit-animation: slide 2s ease 0.25s infinite;
        animation: slide 2s ease 0.25s infinite;
    }
    /* line_3 */
    .preloader .line_3 {
        top: 30px;
        -webkit-animation: slide 2s ease 0.5s infinite;
        animation: slide 2s ease 0.5s infinite;
    }
    /* loading_text */
    .preloader .loading_text {
        position: relative;
        top: 60px;
        text-align: center;
        width: 100%;
        color: red;
        font-size: 13px;
        font-family: sans-serif;
        letter-spacing: 3px;
        line-height: 10px;
        height: 10px;
        -webkit-animation: fade 1s ease 0s infinite;
        animation: fade 1s ease 0s infinite;
    }

@-webkit-keyframes slide {
    0% {
        clip: rect(0, 0, 20px, 0);
    }

    30% {
        clip: rect(0, 80px, 20px, 0);
    }

    50% {
        clip: rect(0, 80px, 20px, 0);
    }

    80% {
        clip: rect(0, 80px, 20px, 80px);
    }

    100% {
        clip: rect(0, 80px, 20px, 80px);
    }
}

@keyframes slide {
    0% {
        clip: rect(0, 0, 20px, 0);
    }

    30% {
        clip: rect(0, 80px, 20px, 0);
    }

    50% {
        clip: rect(0, 80px, 20px, 0);
    }

    80% {
        clip: rect(0, 80px, 20px, 80px);
    }

    100% {
        clip: rect(0, 80px, 20px, 80px);
    }
}

@-webkit-keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*.card-header {
    padding: .35rem;
}*/

/*.card-title, .form-control, .btn {
    font-size: 14px;
}*/

/*.control-label {
    font-size: 13px;
    font-weight: 400 !important;
}*/

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef !important;
    opacity: 1;
}

/*td i {
    font-size: 18px;
}*/

.custom-fieldset {
    border: 1px solid #2470bd !important;
    padding: 0 1rem 0 1rem !important;
    margin: 0 5px 15px 5px;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}


    .custom-fieldset legend {
        font-size: 14px !important;
        font-weight: bold !important;
        text-align: left !important;
        width: auto;
        padding: 0 10px;
        border-bottom: none;
        color: #2470bd;
    }

/*.bootstrap-datetimepicker-widget.dropdown-menu {
    left: 30px !important;
}
table .bootstrap-datetimepicker-widget.dropdown-menu {
    left: 0px !important;
}*/

.badge {
    padding: 0.5em .4em;
}

.btnPadding {
    padding: 0px 6px 2px 6px !important;
    line-height: 12px;
}

.fontsize10 {
    font-size: 10px;
}

.graycolorText {
    color: gray;
}

.fontsize11 {
    font-size: 11px !important;
}

.fontsize12 {
    font-size: 12px !important;
}

.trim-title .select2-selection__rendered {
    width: 250px;
}

.small-box {
    height: 100%;
    margin-bottom: 0;
    transition: all 0.3s;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .small-box:hover {
        transform: scale(1.05);
        box-shadow: 0 0 20px;
    }

    .small-box h6 {
        margin-bottom:0;
    }
    .small-box h6 + .small{
        opacity:0.6;
    }
    .small-box p {
        font-weight: 600;
    }

    .small-box > .inner {
        padding: 0;
    }

.box-icon2 .row .col-lg-3 {
    margin-bottom: 16px;
}

.content-wrapper2 {
    min-height: 87vh;
    margin-top: 65px;
}

/*.navbar {
    background-image: linear-gradient(to right, white, var(--p-color), var(--p-color));
    border-bottom: 1px solid var(--p-color);
}*/

@media only screen and (max-width: 992px) {
    .navbar {
        background-color: #92b8dd !important;
        background-image: none !important;
    }

    .table-responsive2 {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}



.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        /*-webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;*/
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.right_menu {
    right: 100% !important;
    left: auto !important;
}

/*li.dropdown-item.active a {
    color: white !important;
}

.dropdown-item.active a, .dropdown-item:active a{
    color:white;
}

.dropdown-item  a{
    color: #838383;
}*/

.dropdown-menu {
    min-width: 12rem;
}

/*.nav-item.active {
     background: #ffc107;
}

    .nav-item.active a {
        color: #000 !important;
    }*/

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 14px;
}

.content .col-lg-3 {
    margin-bottom: 24px;
}


.logo-list2 li {
    /*background: #fff;*/
    border-right: 1px solid #818181;
    font-weight: 600;
    padding: 10px 15px;
    text-align: center;
    padding-top: 16px;
    transition: all .3s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 14px 28px rgb(0 0 0 / 10%), 0 10px 10px rgb(0 0 0 / 10%);
    border-radius: 6px;
    margin-bottom:16px;
}

    .logo-list2 li:hover {
        background: white;
        box-shadow: 0 14px 28px rgb(0 0 0 / 25%), 0 10px 10px rgb(0 0 0 / 22%);
        transform: scale(1.05);
        border-radius: 10px;
    }

    .logo-list2 li span {
        font-size: 18px;
        display: block;
        font-weight: 600;
        color: #E65A23;
        margin-top: 6px;
    }


thead {
    background: var(--light-yellow);
}
.table-hover tbody tr:hover {
    color: black;
    background-color: rgba(0,0,0,.025);
}

.bg-light-yellow {
    background: var(--light-yellow);
    color:black;
}

.bg-light-blue {
    background: #f1f7fe;
}

.bg-light-orange {
    background: #f1fef2;
}

.bg-light-yellow td, .bg-light-yellow th {
    border: 1px solid var(--light-yellow);
}

.bg-light-blue td, .bg-light-blue th {
    border: 1px solid #6e98c9;
}

.bg-light-orange td, .bg-light-orange th {
    border: 1px solid #109d1a;
}

.bg-gradient1 {
    background: #FF512F; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #F09819, #FF512F); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #F09819, #FF512F); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
}

.bg-gradient2 {
    background: #1A2980;
    background: linear-gradient(to right, #1fa9a7, #1A2980);
    background: linear-gradient(to right, #1fa9a7, #1A2980);
    color: #fff;
}

.bg-gradient3 {
    background: #3CA55C; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #B5AC49, #3CA55C); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #B5AC49, #3CA55C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
}

/*@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p {
        width: 0;
        white-space: nowrap;
        word-break: normal;
        word-spacing: normal;
        word-wrap: normal;
        white-space: normal;
    }
}*/

.company .card-header{
    cursor:pointer;
    min-height:65px;
}

.company .card-header::after {
    display: block;
    clear: both;
    content: "";
    content: "\f107";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: "Font Awesome 5 Free";
    line-height: 1;
    font-weight: 900;
    font-size: 1.8rem;
}

.company .card-header[aria-expanded="true"]::after{
    content: "\f106";
}

.small-box .icon {
    color: inherit;
}

.wrapper .content-wrapper {
    /*min-height: calc(100vh - calc(3.8rem + 1px) - calc(3.8rem + 1px)) !important;*/
    min-height: calc(100vh - calc(3.8rem + 1px) - calc(2.8rem + 1px)) !important;
}

.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute;
    box-shadow: 0 0 10px #707070;
    border-radius: 10px;
    overflow: hidden;
}

.navbar-expand .navbar-nav .dropdown-menu .dropdown-item {
    padding: 1rem;
}

/*.small, small {
    font-size: 85%;
    font-weight: 400;
}*/


.login-page, .register-page {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #e9ecef;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow:hidden;
}

.login-box, .register-box {
    width: auto !important;
}

footer, .dataTables_length, .dataTables_filter, .dataTables_info, .dataTables_paginate {
    font-size: 90%;
}

@media (max-width: 768px) {
    .login-page, .register-page, .h-auto-small{
        height:auto !important;
        overflow:auto !important;
    }
    .log_bg{
        min-height:unset !important;
    }
    .log_bg h1{
        font-size:1rem !important;
    }
}

.gridSmallBtn .btn,
.gridSmallBtn .badge {
    font-weight: bold !important;
}

.gridSmallBtn .btn-danger,
.gridSmallBtn .badge-danger {
    color: #721c24 !important;
    background-color: #f5c6cb !important;
}

.gridSmallBtn .btn-success,
.gridSmallBtn .badge-success {
    color: #155724 !important;
    background-color: #c3e6cb !important;
}
.gridSmallBtn .btn-info,
.gridSmallBtn .badge-info {
    color: #0c5460 !important;
    background-color: #bee5eb !important;
}
.gridSmallBtn .btn-warning,
.gridSmallBtn .badge-warning {
    color: #856404 !important;
    background-color: #ffeeba !important;
}

.gridSmallBtn .btn-primary,
.gridSmallBtn .badge-primary {
    color: #004085 !important;
    background-color: #b8daff !important;
}

.gridSmallBtn .badge{
    width:60px;
    white-space:normal;
}

.tblProgrss .progress-bar {
    background: #b1ccf2 !important;
}

/*.sidebar-mini.sidebar-collapse .nav-sidebar .nav-link p{
    white-space:normal;
    width:80%;
}*/

/*.company .card-body {
    background-repeat: no-repeat;
    background-size: 100px;
    background-position: 86%;
}*/

.blinker-ani {
    animation: blinker 6.0s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0
    }
}

.bg-yellow2 {
    background: yellow;
}

.progress {
    height: 1.2rem;
}

.w-23 {
    width: 23% !important;
}