body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #212121;
}

b, strong {
    font-weight: 700;
}

header {
    background: var(--main-navbar-bg-color);
    box-shadow: 2px 2px 8px -1px rgba(0, 0, 0, 0.2);
    height: 86px;
    position: relative;
}

.navbar-dark .navbar-brand {
    padding: 0;
}

    .navbar-dark .navbar-brand img {
        height: 17px;
    }

.navbar-dark .navbar-nav .nav-link {
    color: var(--main-navbar-text-color2);
}

.navbar-dark #navbar a {
    font-size: 12px;
}

.head {
    background-color: #f9fbfc;
    /* padding-bottom: 20px;*/
    padding-top: 10px;
    padding-bottom: 10px;
}

.navbar-nav .dropdown-menu,
#main-navigation .dropdown-menu {
    border-radius: 0;
    padding: 0;
}

.navbar-nav .dropdown-menu {
    top: 27px;
}

#main-layout-container {
    min-height: calc(100vh - 175px);
}

#main-navigation .dropdown-menu {
    top: -5px !important;
}

    .navbar-nav .dropdown-menu a,
    #main-navigation .dropdown-menu a {
        width: 336px;
        padding: 15px 30px;
        border-bottom: 2px solid #fafafa;
    }

        .navbar-nav .dropdown-menu a:last-child,
        #main-navigation .dropdown-menu a:last-child {
            border-bottom: none;
        }

.dropdown-divider {
    margin: 0;
}

.dropdown-menu {
    font-size: 14px;
}

.progress-bar-vertical {
    width: 80px;
    min-height: 200px;
    margin-right: 20px;
    vertical-align: bottom;
    display: flex;
    flex-direction: column-reverse;
    margin: 0 auto;
}

    .progress-bar-vertical .progress-bar {
        width: 100%;
        height: 0;
        -webkit-transition: height 0.6s ease;
        -o-transition: height 0.6s ease;
        transition: height 0.6s ease;
        display: block;
    }

.progress.progress-transparent {
    background-color: transparent !important;
}

.bb-2px {
    border-bottom: 2px solid #ccc !important;
}

.bt-1px {
    border-top: 1px solid #ccc !important;
}

.hide {
    display: none !important;
}

.card-header {
    background-color: transparent;
    border-bottom: 0;
}

.text-primary {
    color: #4082B6 !important;
}

.bg-white {
    background-color: #FFF;
}

.bg-light-blue {
    background-color: #ddedf9;
}

.bg-light-light-blue {
    background-color: #f9fbfc;
}

.bg-light-blue2 {
    background-color: #F2F9FD;
}

.bg-gray {
    background-color: #cecece;
}

.bg-light-gray {
    background-color: #f4f4f4;
}

.bg-light-light-gray {
    background-color: #fbfbfb;
}

.bg-gray2 {
    background-color: #fafafa;
}

.bg-transparent {
    background-color: transparent;
}

.bg-gray2.text-primary {
    opacity: 0.5;
}

.alert {
    border-radius: 0;
}

.btn-underline {
    text-decoration: underline;
}

.btn {
    border-radius: 0;
    font-size: 13px;
}

.btn-group-sm > .btn, .btn-sm {
    border-radius: 0;
}

.btn-primary {
    background-color: #4082B6;
    border-color: #4082B6;
}

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #E0E0E0;
        border-color: #E0E0E0;
    }

.btn-link:hover, .btn-link:focus, .btn-link:visited {
    text-decoration: none;
}

.b-0 {
    border: none !important;
}

.progress {
    background-color: #E0E0E0 !important;
}

.progress-bar {
    background-color: #4A90E2 !important;
}

    .progress-bar.bg-success {
        background-color: #72B133 !important;
    }

    .progress-bar.bg-danger {
        background-color: #D0021B !important;
    }

.table tr.py-2 td, .table tr.py-2 th {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

table .fa-address-book {
    font-size: 14px;
    color: #616161;
}

.is-link:hover {
    cursor: pointer;
}

.table td, .table th {
    border-top-color: #cccccc;
}

.table tr:last-child td {
    border-bottom: 1px solid #cccccc;
}

thead {
    color: #4A4A4A;
}

    thead th.small {
        font-size: 10px;
        font-weight: bold;
    }

a {
    color: #4082B6;
    text-decoration: none;
}

    a:hover {
    }

    a.btn-link {
        color: #616161;
    }

.text-primary {
    color: #4082B6;
}

.txt-red {
    color: #D0021B;
}

.txt-light-blue {
    color: #ddedf9;
}

.text-gray {
    color: #cecece;
}

.text-dark-gray {
    color: #616161;
}

.font-normal {
    font-weight: normal;
}

.required {
    color: #f45858;
}

.input {
    padding: .75rem;
}

.table thead th, .table thead td {
    text-align: left;
    border-top: none;
    /* font-weight: bold; */
    font-weight: normal;
}

.table.table-hover tr:hover {
    background-color: #fbf4c2;
}

.table.table-hover tr.active:hover, .table tr.active {
    background-color: #c2dcfb !important;
}

.form-check-input {
    position: relative;
    margin: 0;
}

header .navbar {
    border-bottom: 1px solid var(--main-navbar-bg-color);
    margin-bottom: 5px;
    padding: 0;
}

header #main-navigation .nav-tabs {
    border-bottom: 1px solid transparent;
}

header #main-navigation .nav-link {
    display: block;
    padding: 12px 1rem 20px;
    color: var(--main-navbar-text-color2);
    border-radius: 0;
    border: none;
}

header #main-navigation .show .nav-link {
    color: #4082B6;
}

header #main-navigation .nav-tabs .nav-link:hover {
    border: none;
}

header #main-navigation .nav-tabs .nav-link.active {
    color: #212121;
    background-color: #f9fbfc;
    border: none;
}

    header #main-navigation .nav-tabs .nav-link.active:hover {
        background-color: #f9fbfc;
    }

header #secondary-navigation .nav-link {
    color: rgba(255, 255, 255, .5);
}

header #main-navigation .company {
    width: 218px;
    border-right: 1px solid #77b0dc;
    margin-right: 20px;
}

    header #main-navigation .company .nav-link {
        padding: 0.75rem 1rem;
        color: #4082B6;
        font-weight: 600;
        margin-top: 0;
    }

main .navbar {
    border-bottom: 1px solid #FAFAFA;
    margin-bottom: 20px;
}

.head {
    color: #616161;
    box-shadow: 2px 2px 8px -1px rgba(0, 0, 0, 0.2);
}

    .head .text-muted {
        font-weight: 600;
    }

    .head .h3,
    .head .navbar .h3 {
        font-size: 20px;
        /* font-weight: bold; */
        color: #212121;
        margin-bottom: 10px;
    }

    .head .fa-2x,
    .head .navbar .fa-2x {
        font-size: 24px;
    }

.card {
    border-radius: 0;
}

.bb-0 {
    border-bottom: 0;
}

.bb-1 {
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.bb-2 {
    border-bottom: 2px solid rgba(0, 0, 0, .125);
}

label {
    font-weight: bold;
}

.form-control {
    border-radius: 0;
    border-color: #CCC;
    font-size: 12px;
}

.apply-to .form-control {
    width: 350px;
}

.payments-applied h5 {
    margin-top: 50px;
}

.payments-applied .card {
    /* position: sticky;
	top: 20px;
	margin-bottom: 30px; */
}

.payments-applied .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
}

.payments-applied .dropdown-toggle,
.payments-applied .dropdown-menu {
    width: 213px;
}

.payments-applied .dropdown-menu {
    height: 150px;
    overflow-y: auto;
}

.payments-applied label {
    font-weight: normal;
}

.payments-applied .form-check {
    padding-left: 0.75rem;
    margin-bottom: 5px;
}

.payments-applied li {
    border-bottom: 1px solid #d2d2d2;
    padding: 10px 0;
    color: #616161;
}

    .payments-applied li:last-child {
        border-bottom: none;
    }

    .payments-applied li span {
        font-weight: bold;
        color: #000;
    }

.payments-applied dl {
    margin-bottom: 0;
}

    .payments-applied dl dt {
        font-weight: normal;
        color: #9e9e9e;
    }

    .payments-applied dl dd {
        margin-bottom: .1rem;
    }

.form-control.search {
    padding-right: 30px;
}

.payments-applied .search.active {
    background-color: #fafafa;
}

.filters {
    margin-bottom: -1px;
}

    .filters .actions {
        line-height: 38px;
    }

    .filters .filters-applied {
        line-height: 33px;
        padding-left: 10px;
    }

    .filters .accordion .card:last-of-type {
        border-bottom: 1px solid rgba(0, 0, 0, .125);
    }

    .filters ul {
        margin-bottom: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .125);
        padding-bottom: 10px;
    }

    .filters li {
        /* border-bottom: 1px solid #d2d2d2; */
        /* padding: 5px; */
        color: #616161;
        /* width: 720px; */
        margin: 0 30px 5px 0;
        border: 1px solid #bcd8ee;
        background-color: #F2F9FD;
        padding-right: 30px;
        position: relative;
    }

    .filters.filters-wide li {
        margin-right: 0;
    }

    .filters li:last-child {
        margin-bottom: 0;
    }

    .filters li > div {
        padding: 5px 10px;
    }

    .filters li div:first-child {
        border-right: 1px solid #bcd8ee;
    }

    .filters li .dropdown-toggle {
        background-color: transparent;
        border: none;
        color: #212121;
        text-align: left;
        width: 100%;
        height: 38px;
        line-height: 38px;
        padding-top: 0;
        padding-bottom: 0;
    }

        .filters li .dropdown-toggle::after {
            top: 50%;
            /* line-height: 35px; */
            position: absolute;
            right: 10px;
        }

    .filters li div.delete {
        line-height: 35px;
        position: absolute;
        right: 0;
        top: 0;
        width: 30px;
        padding: 5px 15px 5px 0;
        text-align: right;
    }

    .filters .dropdown-menu {
        width: 230px;
        padding: .5rem;
    }

        .filters .dropdown-menu p {
            margin-bottom: 5px;
            margin-top: 5px;
        }

        .filters .dropdown-menu .dropdown-item {
            padding-left: 0;
            padding-right: 0;
        }

        .filters .dropdown-menu .dropdown-item-inner {
            padding-left: 2rem;
        }

.dropdown-menu {
    border-radius: 0;
}

.btn-outline-control {
    border-color: #ccc;
    font-size: 12px;
    background-color: #fff;
    color: #495057;
    padding: .375rem .75rem;
    height: calc(2.25rem + 2px);
}

.with-sidebar .main-panel {
    width: calc(100% - 260px);
    float: left;
}

.with-sidebar .sidebar {
    width: 245px;
    float: right;
    margin-right: 15px;
}

.growl {
    position: fixed;
    top: 65px;
    left: 15px;
    right: 15px;
    z-index: 1090;
}

.growl {
    left: auto;
    width: 400px;
}

    .growl.growl-static {
        position: fixed;
        top: 10px;
        right: 10px;
    }

.dropdown-toggle.no-caret::after {
    border: none;
}

.table.table-outline {
    border: 1px solid #FAFAFA;
}

.table tfoot td, .table tfoot th {
    border: none;
}

.card-payments .card-body {
    padding: 1.25rem 0;
}

    .card-payments .card-body tr td:first-child {
        padding-left: 1.55rem;
    }

    .card-payments .card-body tr td:last-child {
        /* padding-right: 1.55rem; */
    }

.accordion .card {
    margin-bottom: 20px;
}

    .accordion .card .card-header {
        border-bottom: 1px solid rgba(0, 0, 0, .125);
    }

.accordion.accordion-group .card {
    margin-bottom: -1px;
}

    .accordion.accordion-group .card:last-child {
        border-bottom: 0;
        margin-bottom: 20px;
    }

.text-sm {
    font-size: 12px;
}

.text-xl {
    font-size: 19px;
}

.text-xxl {
    font-size: 24px;
}

.text-xxxl {
    font-size: 42px;
}

.card.card-payments tfoot {
}

.bx-0 {
    border-left: 0;
    border-right: 0;
}

.bt-0 {
    border-top: 0;
}

.resume-default .card.balance {
    background-color: #cecece;
}

.resume-in-progress .card.balance {
    background-color: #9ec6e5;
}

.resume-success .card.balance {
    background-color: #8edb71;
}

.resume-error .card.balance {
    background-color: #f45858;
}

.card.card-payments .fas {
    color: #000;
}

.card.card-payments .card-header {
    cursor: pointer;
}

.card.card-payments thead {
    color: #616161;
}

.card.card-payments .card-header thead td {
    padding-bottom: 0;
    color: #9E9E9E;
    font-weight: 500;
}

.card.card-payments .card-body {
    padding-bottom: 0;
}

    .card.card-payments .card-body thead td {
        border: none;
        color: #9E9E9E;
        font-weight: 500;
    }

.card.card-payments .table td, .card.card-payments .table th {
    border-top: 1px solid #cecece;
}

.card.card-payments .card-header .table td, .card.card-payments .card-header .table th {
    border: none;
}

.card.card-payments .card-header.card-header-collapsed tbody td, .card.card-payments .card-header.card-header-collapsed .invoices, .card.card-payments .card-header.card-header-collapsed .balance {
    color: #000;
}

.status-default .card-header,
.status-default .card-body tfoot tr:first-child {
    background-color: #f4f4f4;
}

.status-default .card-body {
    background-color: #fbfbfb;
}

    .status-default .card-header-collapsed .balance,
    .status-default .card-header-collapsed .chevron,
    .status-default .card-body tfoot tr:last-child {
        background-color: #cecece;
    }

/* conciliated */
.status-conciliated .card-header,
.status-conciliated .card-body tfoot tr:first-child {
    background-color: #ddedf9;
}

.status-conciliated .card-body {
    background-color: #f9fbfc;
}

    .status-conciliated .card-header-collapsed .balance,
    .status-conciliated .card-header-collapsed .chevron,
    .status-conciliated .card-body tfoot tr:last-child {
        background-color: #9ec6e5;
    }

/* success */
.status-success .card-header,
.status-success .card-body tfoot tr:first-child {
    background-color: #d6efba;
}

.status-success .card-body {
    background-color: #eff9e5;
}

    .status-success .card-header-collapsed .balance,
    .status-success .card-header-collapsed .chevron,
    .status-success .card-body tfoot tr:last-child {
        background-color: #8edb71;
    }

/* error */
.status-error .card-header,
.status-error .card-body tfoot tr:first-child {
    background-color: #fdd0d0;
}

.status-error .card-body {
    background-color: #f9e5e5;
}

    .status-error .card-header-collapsed .balance,
    .status-error .card-header-collapsed .chevron,
    .status-error .card-body tfoot tr:last-child {
        background-color: #f45858;
    }

.card .card-header-collapsed .invoices {
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
}

.card .card-header .chevron {
    width: 30px;
}

    .card .card-header .chevron div {
        background-color: #fff;
        padding: 8px;
        top: -1px;
        right: -1px;
        position: absolute;
        border: 1px solid #dfdfdf;
    }

main .main-panel .nav-tabs .nav-item {
    border: 0;
    color: inherit;
}

    main .main-panel .nav-tabs .nav-item.active {
        border-bottom: 4px solid #85C7E9;
        font-weight: bold;
    }

.footer {
    bottom: 0;
    width: 100%;
    height: 48px;
    background-color: #616161;
    z-index: 999;
    margin-top: 40px;
    font-size: 12px;
}

    .footer a {
        color: #fff;
    }

.card-header {
    font-size: 13px;
}

.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: #FAFAFA;
}

/* .table td, .table th {
	border-top: none;
} */
.show-view {
    font-size: 12px;
}

    .show-view label {
        color: #9e9e9e;
        font-weight: normal;
    }

    .show-view .form-control {
        background-color: #fafafa;
        /* padding: 10px; */
        height: 32px;
    }

.filters {
    font-size: 12px;
}

.popover i {
    float: left;
    margin-right: 10px;
    width: 10%;
    /* max-width:400px; */
    text-align: right;
    padding-top: 3px;
}

.popover .company {
    float: left;
    width: 85%;
    white-space: nowrap;
}

.popover .list-group-item {
    border: none;
}

.popover .popover-body {
    min-width: 276px;
}

.list-group-flush-unstyled .list-group-item {
    border: none;
}

.list-group-item .actions {
    float: right;
    display: inline-block;
}

.filters-applied li, .filters-applied li > div:first-child {
    border: 1px solid #85C7E9;
}

    .filters-applied li > div:first-child {
        margin: -1px 0 -1px -1px;
    }

.badge-float {
    position: relative;
    padding-right: 10px;
    display: block;
}

    .badge-float .badge {
        position: absolute;
        right: 0;
        top: 0;
    }

.br-1 {
    border-right: 1px solid;
}

.bt-1 {
    border-top: 1px solid #EBEBEB;
}

.nav .br-1 {
    border-color: #212121;
}

.text-muted th {
    font-weight: normal;
}

/* .accordion {
	border-top: 2px solid #E0E0E0;
  background-color: #fbfbfb;
  padding:10px;
} */
.table-align-middle td {
    vertical-align: middle;
}

.b-b-2 {
    border-bottom: 2px solid #9e9e9e;
}

.b-0 {
    border: none;
}

.resume .card .card-body {
    text-align: center;
}

.resume .card strong {
    display: block;
    font-size: 20px;
}

/* autocomplete */
.chosen-container {
    font-size: 16px;
}

    .chosen-container .chosen-single {
        height: 38px;
        line-height: 38px;
        background: none;
        border-color: #ced4da;
        box-shadow: none;
    }

.chosen-container-active.chosen-with-drop .chosen-single {
    background: none !important;
}

/* /autocomplete */
option:disabled {
    background-color: #E8E8E8;
}

.grip {
    color: #EBEBEB;
    cursor: grab;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
}

    .switch input {
        display: none;
    }

    .switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        -webkit-transition: .4s;
        transition: .4s;
    }

        .switch .slider .label {
            opacity: 0;
            font-weight: normal;
            height: 24px;
            line-height: 26px;
            font-size: 11px;
            text-transform: uppercase;
            float: right;
            padding-right: 4px;
        }

        .switch .slider::before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            -webkit-transition: .4s;
            transition: .4s;
        }

    .switch input:checked + .slider {
        background-color: #4082B6;
    }

    .switch input:focus + .slider {
        box-shadow: 0 0 1px #4082B6;
    }

    .switch input:checked + .slider:before {
        -webkit-transform: translateX(22px);
        -ms-transform: translateX(22px);
        transform: translateX(22px);
    }

    .switch input + .slider.disabled {
        background-color: #9E9E9E;
        border: 1px solid #9E9E9E;
    }

    .switch input + .slider.disabled {
        background-color: #EBEBEB;
        border: 1px solid #E0E0E0;
    }

        .switch input + .slider.disabled::before {
            background-color: #9E9E9E;
        }

    .switch input:checked + .slider.disabled {
        background-color: #FFF;
    }

        .switch input:checked + .slider.disabled::before {
            background-color: #9E9E9E;
        }

    .switch .slider.disabled::before {
        bottom: 1px;
    }

    .switch .slider.disabled .label {
        opacity: 1;
        color: #9E9E9E;
    }

    .switch input:checked + .slider.disabled .label {
        float: left;
        padding-left: 7px;
    }

    /* Rounded sliders */
    .switch .slider.round {
        border-radius: 34px;
    }

        .switch .slider.round:before {
            border-radius: 50%;
        }


    .switch.switch-sm {
        height: 20px;
        width: 40px;
    }

        .switch.switch-sm .slider .label {
            opacity: 0;
            font-weight: normal;
            height: 24px;
            line-height: 26px;
            font-size: 11px;
            text-transform: uppercase;
            float: right;
            padding-right: 4px;
        }

        .switch.switch-sm input:checked + .slider:before {
            -webkit-transform: translateX(20px);
            -ms-transform: translateX(20px);
            transform: translateX(20px);
        }

        .switch.switch-sm .slider::before {
            height: 18px;
            width: 18px;
            left: 1px;
            bottom: 1px;
        }

.list-group-item {
    background-color: transparent;
}

.nav-sidebar {
    border-right: 1px solid #ececec;
    padding-top: 35px;
}

    .nav-sidebar nav li a {
        display: block;
        padding: 0 0 0 10px;
        color: #4082B6;
        border-left: 4px solid transparent;
        line-height: 30px;
    }

    .nav-sidebar nav li.active a {
        border-left: 4px solid #4082B6;
    }

.table .input-group-sm .input-group-prepend .input-group-text {
    background-color: #fff;
    border-radius: 0;
}

.table .input-group.readonly .input-group-text, .table .input-group.readonly .money-mask {
    background-color: #e9ecef;
}

.table .input-group-sm .money-mask {
    border-left: none;
}

.table .input-group-sm .input-group-append .btn, .table .input-group-sm input {
    border-radius: 0;
}

.va-middle td,
.va-middle tfoot th {
    vertical-align: middle;
}

.w-80px {
    width: 80px !important;
}

.shadow-hover .card-header {
    padding: 0;
}

    .shadow-hover .card-header > div {
        padding: .75rem 1.25rem
    }

    .shadow-hover .card-header .collapsed:hover,
    .shadow-hover .row-hover:hover,
    .shadow-hover tbody tr:hover {
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
        z-index: 10;
        position: relative;
    }

.hidden {
    visibility: hidden;
}

.hidden-hover .collapsed:hover .hidden,
.hidden-hover tr:hover .hidden,
.hidden-hover .row-hover:hover .hidden {
    visibility: visible;
}

.hidden-hover [data-bs-toggle="collapse"][aria-expanded="false"]:hover .hidden,
.hidden-hover [data-bs-toggle="collapse"][aria-expanded="true"] .hidden {
    visibility: visible;
}

.hidden-hover .card-header {
    min-height: 47px;
}

    .hidden-hover .card-header .collapsed .fa-chevron-down,
    .hidden-hover .card-header .collapsed .fa-chevron-up,
    .hidden-hover .card-header .collapsed .dropdown {
        display: none;
    }

    .hidden-hover .card-header .dropdown {
        display: inline;
        margin-left: 10px;
        top: -2px;
    }

        .hidden-hover .card-header .dropdown > a {
            padding-top: 0;
            padding-bottom: 0;
            padding-right: 0;
        }

    .hidden-hover .card-header:hover .collapsed .fa-chevron-down,
    .hidden-hover .card-header:hover .collapsed .dropdown {
        display: inline-block;
    }

    .hidden-hover .card-header > div[class=""] {
        background-color: #f9f9f9;
    }

    .hidden-hover .card-header [aria-expanded="true"] .fa-chevron-down,
    .hidden-hover .card-header .has-pointer .fa-chevron-down {
        display: none;
    }

.has-pointer {
    cursor: pointer;
}

.block-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: .75rem 1.25rem;
    color: inherit;
}

.input-lock .input {
    border-left: none;
    text-align: right;
}

.input-lock .btn {
    color: #0069d9;
    background-color: #ddedf9;
    border-radius: 0 !important;
}

.card-shadow {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
}

.comments li .btn {
    visibility: hidden;
}

.comments li:hover .btn {
    visibility: visible;
}

.chosen-container-single .chosen-single {
    border-radius: 0;
    background-color: #fff;
    font-size: 12px;
    color: #495057;
    border-color: #ccc;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    background-color: #fff !important;
}

.chosen-container .chosen-results li {
    font-size: 12px;
}

.chosen-container-single .chosen-single div {
    top: 7px;
}

.chosen-container-single .chosen-drop {
    margin-top: -3px;
}

.client-segment {
    cursor: pointer;
}

.w-xs {
    width: 50px;
}

.w-sm {
    width: 100px;
}

.w-md {
    width: 150px;
}

.w-lg {
    width: 220px;
}

.w-xl {
    width: 300px;
}

.w-xxl {
    width: 400px;
}

table .text-truncate {
    display: block;
}

.gutters-sm [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px
}

.form-control {
    padding: .375rem 6px;
}

header {
    height: 95px;
}

    header #company {
        width: 500px;
        margin-right: 20px;
    }

        header #company .nav-link {
            padding: 0.75rem 1rem;
            color: var(--main-navbar-text-color1);
            font-weight: 600;
            margin-top: 0;
        }

#main-navigation .navbar-brand {
    color: var(--main-navbar-text-color1);
}

header #company .dropdown-item {
    width: 336px;
    padding: 15px 30px;
    border-bottom: 2px solid #fafafa;
}

header .navbar-brand {
    padding: 0;
}

    header .navbar-brand img {
        max-width: 220px;
        max-height: 40px;
    }

.popover {
    max-width: 100%;
}

.company-logo-preview {
    background-color: rgb(134, 199, 234);
}

td.can-edit a.edit-single-col {
    visibility: hidden;
}

td.can-edit:hover a.edit-single-col {
    visibility: visible;
}

.can-edit .chosen-container {
    width: 275px !important;
}

    .can-edit .chosen-container .chosen-single {
        padding: 0 4px;
        height: 21px;
        line-height: 1.5;
        width: 275px;
    }

    .can-edit .chosen-container .input-group-append {
        float: left;
    }

.can-edit .chosen-container-single .chosen-single div {
    top: -2px;
}

.can-edit .chosen-container-multi .chosen-choices {
    padding: 0px 2px;
}

    .can-edit .chosen-container-multi .chosen-choices .search-choice {
        margin: 2px 0px;
        padding-top: 3px;
        padding-bottom: 3px;
    }

    .can-edit .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
        top: 5px;
    }

.chosen-container-multi .chosen-choices {
    border-radius: 0;
    font-size: 12px;
    color: #495057;
    background: none;
    background-color: #fff;
    border-color: #ced4da;
    box-shadow: none;
    padding: 6px 8px;
}

    .chosen-container-multi .chosen-choices li.search-choice {
        margin-bottom: 1px;
        background-color: #f2f2f2;
        border-radius: 0;
        border-color: #d2d2d2;
        font-size: 13px;
        background-image: none;
        padding: 6px 20px 6px 10px;
    }

        .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
            top: 8px;
        }

.badge {
    font-weight: 500;
    border: 1px solid #ccc;
}

.badge-outline-primary {
    color: #0069d9;
    background-color: transparent;
    background-image: none;
    border-color: #0069d9;
    vertical-align: text-top;
}

.badge-outline-success {
    color: #28a428;
    background-color: transparent;
    background-image: none;
    border-color: #28a428;
    vertical-align: text-top;
}

thead th {
    font-weight: bold !important;
}

.accordion.questions-public .collapse {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.questions-public .card-header {
    background-color: #f5f6f5;
}

    .questions-public .card-header[aria-expanded="true"] .fa-chevron-down {
        display: none;
    }

    .questions-public .card-header[aria-expanded="false"] .fa-chevron-up {
        display: none;
    }

.accordion-row[aria-expanded="false"] .fa-chevron-up {
    display: none;
}

.accordion-row[aria-expanded="true"] .fa-chevron-down {
    display: none;
}

.tendering-form-section > div:first-child:hover .hidden {
    visibility: visible;
}

.accordion .tendering-form-section > div.collapse .card {
    border-bottom: 1px solid rgba(0,0,0,.125);
}

input.datepicker, input.datepicker-range {
    background-image: url('../img/calendar.png');
    background-position-x: calc(100% - 8px);
    background-position-y: center;
    background-repeat: no-repeat;
}

a:disabled, a[disabled], button:disabled, button[disabled], .disabled-hastooltip {
    cursor: not-allowed !important;
    opacity: 0.5;
}

.badge-fluogreen {
    background-color: #43c91a;
    color: white;
}

.nav-sidebar #form-answers-nav li a {
    position: relative;
    padding: 10px 0 10px 30px;
    line-height: 1.3em;
}

    .nav-sidebar #form-answers-nav li a small {
        position: absolute;
        left: 9px;
        top: 11px;
    }

tr.ui-sortable-helper {
    display: table;
}


.breadcrumb {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    font-size: 0.95em;
}

    .breadcrumb.text-muted {
        font-weight: normal;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: "\203A";
}

.hr-dashed {
    border-top: 1px dashed #d2d2d2;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.ellipsis-oneline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multi-line-truncate {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.tooltip-lg .tooltip-inner {
    max-width: 350px
}

input[type=number] {
    -moz-appearance: textfield;
}

.row-bg-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.row-bg-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.tooltip {
    pointer-events: none;
}

.elementcomment-emaillogbody {
    max-height: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.no-bullets {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.purchaserequestedit-inventorylist {
    max-height: 44vh;
    overflow-y: scroll;
}

.dropdown-menu-wrap .dropdown-item {
    white-space: normal;
}

.dropdown-menu-ellipsis .dropdown-item {
    text-overflow: ellipsis;
    overflow: hidden;
}

.textbox-security {
    width: 5em;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.w-100 {
    width: 100%;
}

@media (min-width:992px) {
    .modal-xl {
        max-width: 1100px
    }
}

.accordionTable {
    overflow-x: auto;
    padding-bottom: 24px;
}

    .accordionTable h6 {
        margin-bottom: 0;
        font-size: 14px;
    }

.accordionHead > .row,
.accordionBody > .row {
    flex-wrap: nowrap;
}

.accordionHead {
    height: 47px;
}

    .accordionHead .row > div {
        border-bottom: 2px solid #dee2e6;
    }

    .accordionHead h6 {
        font-weight: bold;
    }

.accordionItem .row > div {
    border-bottom: 1px solid #dee2e6;
}

.accordionBody > .row {
    border: 1px solid transparent;
}

.table td.px-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.accordionTitle {
    flex-wrap: nowrap;
}

    .accordionTitle > div {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .accordionTitle i {
        color: #0069d9;
    }


.accordionItem .accordionCollapse .table-responsive {
    padding: 24px;
    overflow-x: visible;
}

    .accordionItem .accordionCollapse .table-responsive td,
    .accordionItem .accordionCollapse .table-responsive th {
        font-size: 14px;
    }

.accordionItem .accordionCollapse table {
    background-color: #f4f4f4;
    margin-bottom: 0;
}

.accordionItem table thead {
    background: #f4f4f4;
}

    .accordionItem table thead th {
        font-weight: 400;
    }

.d-table {
    display: table;
}

.text-length {
    display: none;
}

.message-tree {
    position: relative;
    padding: 10px 20px;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
}

    .message-tree .ul-thread {
        padding-left: 5px;
        list-style: none;
    }

        .message-tree .ul-thread > li {
            position: relative;
            padding-top: 6px;
            padding-bottom: 10px;
            padding-left: 20px;
            box-sizing: border-box;
            display: flex;
            gap: 24px;
        }

            .message-tree .ul-thread > li:before {
                position: absolute;
                top: 15px;
                left: 0;
                width: 10px;
                height: 1px;
                margin: auto;
                content: "";
                background-color: #666;
            }

            .message-tree .ul-thread > li:after {
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                width: 1px;
                height: 100%;
                content: '';
                background-color: #666;
            }

            .message-tree .ul-thread > li:last-child:after {
                height: 15px;
            }

    .message-tree p {
        margin-bottom: 0;
    }

    .message-tree .date {
        display: flex;
        align-items: center;
        gap: 4px;
        height: fit-content;
    }

    .message-tree .detail > div {
        display: flex;
        gap: 4px
    }

    .message-tree .detail b {
        white-space: nowrap;
    }

.text-sideways {
    writing-mode: tb;
    transform: rotate(180deg);
}

.graph-axis-label {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial';
}

.tfoot-customstyle-light {
    background-color: var(--listfooter-light-bg-color);
    color: var(--listfooter-light-text-color);
}

.tfoot-customstyle-dark {
    background-color: var(--listfooter-dark-bg-color);
    color: var(--listfooter-dark-text-color);
}

.filters-header-customstyle,
.filters-header-customstyle a,
.filters-header-customstyle .dropdown-menu,
.filters-header-customstyle .btn-link,
.filters-header-customstyle .actions button {
    background-color: var(--list-header-bg-color);
    color: var(--list-header-text-color);
}

table .fixed-col-right {
    position: sticky;
    right: 0;
    top: auto;
    background-color: inherit;
}


/*-- STYLES WITH BOOTSTRAP 5 --*/

#login .card-body {
    padding: 1.25rem;
}

.form-control:not(textarea) {
    height: calc(2.25rem + 2px);
}

select.form-control {
    appearance: auto;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #1e2125;
    background-color: #f8f9fa;
}

.dropdown-item:hover button {
    color: #1e2125;
    background-color: #f8f9fa;
}

.badge-pill {
    border-radius: 10rem;
}

.table > :not(:first-child) {
    border-top: 0;
}

.table thead th {
    padding: .75rem;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    padding: .75rem;
    border-top: 1px solid #ccc;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: transparent;
}

.table > :not(caption) > * > * {
    border-bottom-width: 0;
}

.btn:disabled {
    pointer-events: initial;
}

.btn.dropdown-toggle:focus {
    box-shadow: none;
}

.btn-link {
    color: #616161;
    text-decoration: none;
}

.btn-light:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-light[disabled]:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.modal-footer > * {
    margin: 0;
}

a[disabled].color-inherit {
    color: inherit;
}

.line-height-14px {
    line-height: 14px;
}

.form-check-input:disabled {
    background-color: rgba(118, 118, 118, 0.5);
    border-color: rgba(118, 118, 118, 0.3);
}

.custom-file {
    position: relative;
    display: inline-block;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin-bottom: 0;
}

.custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(2.25rem + 2px);
    margin: 0;
    opacity: 0;
}

.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

    .custom-file-label::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        display: block;
        height: 2.25rem;
        padding: .375rem .75rem;
        line-height: 1.5;
        color: #495057;
        content: "Browse";
        background-color: #e9ecef;
        border-left: 1px solid #ced4da;
        border-radius: 0 .25rem .25rem 0;
    }

.show-password {
    all: unset;
    position: absolute;
    right: 0;
    top: 0;
    height: 36px;
    display: flex;
    align-items: center;
    border: 1px solid #CCC;
    border-left: 0;
    padding-inline: 6px;
    cursor: pointer;
}

    .show-password:focus {
        outline: unset;
    }

input:has(+.show-password) {
    padding-right: 30px;
}

.checkbox-align {
    display: flex;
    align-items: center;
}

.sticky-column {
    position: sticky;
}

.table-striped.table-sticky-columns th.sticky-column {
    background: #fff;
}

.table-striped.table-sticky-columns tr:nth-child(even) td.sticky-column {
    background: #fff;
}

.table-striped.table-sticky-columns tr:nth-child(odd) td.sticky-column {
    background-color: inherit;
}

.tendering-form-header {
    background-color: #000062;
    color: white;
}

/*.form-row-bg-danger {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}*/

.form-row-bg-success input,
.form-row-bg-success select,
.form-row-bg-success .row-file-list li:first-child,
.form-row-bg-success .chosen-container-multi .chosen-choices {
    color: #155724;
    background-color: #d4edda !important;
    border-color: #c3e6cb;
}

.form-row-bg-danger input,
.form-row-bg-danger select,
.form-row-bg-danger .row-file-list li:first-child,
.form-row-bg-danger .chosen-container-multi .chosen-choices {
    color: #721c24;
    background-color: #f8d7da !important;
    border-color: #f5c6cb;
}
