* {
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
*::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 40px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.navigation-top {
    color: #fff;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 0.5rem;
}

.main-sidebar,
.sidebar-mini .main-sidebar .nav-legacy .nav-link,
.layout-navbar-fixed .wrapper .brand-link {
    width: 205px;
}

.layout-navbar-fixed .wrapper .main-sidebar:hover .brand-link {
    transition: width 0.3s ease-in-out;
    width: 205px;
}

/* body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper {
    margin-left: 210px;
} */

@media (min-width: 768px) {

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer,
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 205px;
    }
}

.layout-fixed.text-sm .wrapper .sidebar {
    height: calc(84vh - (2.93725rem + 1px));
}

.ag-brand-link {
    display: flex;
    flex-flow: column;
}

.text-sm .brand-link .brand-image {
    height: auto;
    width: 116px;
    margin: 0;
    max-height: inherit;
}

.layout-navbar-fixed.layout-fixed.text-sm .wrapper .sidebar {
    margin-top: calc(6.93725rem + 1px);
}

.h-project-name {
    padding: 10px 0 0;
    text-align: center;
    color: #fff;
    /* font-size: 18px; */
    white-space: normal;
}

.ag-nav-ftr {
    color: #fff;
    text-align: center;
    font-size: 11px;
    padding-top: 10px;
    border-top: 1px solid #56606a;
    opacity: 0.5;
}

.ag-nav-ftr a {
    color: #fff;
}

.page-link {
    color: #148a9d;
    padding: 0.35rem 0.75rem;
}

.page-item.active .page-link {
    background-color: #148a9d;
    border-color: #148a9d;
}

.sub-heading {
    width: 100%;
    padding: 5px 0;
    color: #148a9d;
    font-size: 16px;
    font-weight: bold;
}

.sub-heading-2 {
    width: 100%;
    padding: 5px 0;
    color: #444;
    font-size: 11px;
}

.sub-btn {
    font-size: 0.77rem;
    color: #148a9d;
    font-weight: bold;
    text-transform: uppercase;
}

.content-wrapper {
    /* background-color: #f4f6f9; */
    background: #fff;
}

.navbar-white {
    /* background-color: #f4f6f9; */
    background-color: #148a9d;
    color: #1f2d3d;
    padding: 0;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

.table td,
.table th {
    padding: 3px;
    vertical-align: middle;
}

.table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting:after {
    bottom: 0.2em;
}

.table-bordered thead td,
.table-bordered thead th {
    border-bottom-width: 1px;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid #dee2e6;
    font-size: 12px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f4f6f9;
}

.table-bordered-none tr th,
.table-bordered-none tr td {
    border-top: none;
    vertical-align: top;
}

.dataTable thead th {
    border-bottom: 0px solid #dee2e6;
}

.outline-border {
    border: 1px solid #ccc;
    padding: 10px 10px;
}

.btn-solid {
    color: #fff;
    background-color: #148a9d;
    border-color: #148a9d;
    box-shadow: none;
}

.btn-solid:hover {
    color: #fff;
}

.btn-outline {
    color: #444;
    background-color: transparent;
    border-color: #148a9d;
    box-shadow: none;
}

.btn-outline:hover {
    color: #444;
}

.text-sm {
    font-size: 0.785rem !important;
}

.text-sm .btn {
    font-size: 0.77rem !important;
}

.text-sm .btn i {
    font-size: 0.7rem !important;
    padding-right: 3px;
}

.btn {
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.6;
    padding: 0.15rem 0.75rem;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
}

.select2-container--default .select2-selection--single {
    padding: 0.46875rem 0.5rem;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: normal;
    margin-bottom: 0;
    font-size: 11px;
}

.ag-panel {
    display: flex;
    /* width: 100%; */
    margin-right: -7.5px;
    margin-left: -7.5px;
}

.ag-panel .ag-right-panel,
.ag-panel .ag-left-panel {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.ag-panel .ag-right-panel {
    width: 82%;
}

.ag-panel .ag-left-panel {
    width: 18%;
}

.main-header.text-sm .nav-link,
.text-sm .main-header .nav-link {
    height: 1.3rem;
    padding: 0.5rem 1rem;
}

.layout-navbar-fixed.text-sm .wrapper .content-wrapper {
    margin-top: calc(2.1rem + 1px);
}

.ag-users-designation {
    color: #fff;
    /* font-weight: 600; */
    padding: 0.5rem 1rem;
    /* padding-left: 1rem;
  padding-right: 1rem; */
    border-left: 1px solid #ccc;
}

/* .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #148a9d;
} */

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f4f6f9;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #148a9d;
}

.text-sm .select2-container--default .select2-selection--single .select2-selection__arrow,
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0.25rem;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #148a9d;
    border-color: transparent;
    color: #fff;
}

.form-control select>option:hover {
    background-color: yellow !important;
}

.form-control,
.select2-container--default .select2-selection--single {
    border: 0.5px solid #72c2cf;
}

.form-control:disabled,
.form-control[readonly],
.input-group-text:disabled {
    border: 0.5px solid #ced4da !important;
    background-color: #fff;
}

.select2-container--disabled .select2-selection--single {
    border: 0.5px solid #ced4da !important;
    background-color: #fff !important;
}

.form-control:focus {
    border-color: #148a9d;
}

.note-editor.note-airframe .note-editing-area .note-editable[contenteditable="false"],
.note-editor.note-frame .note-editing-area .note-editable[contenteditable="false"] {
    background-color: #fff;
    border-radius: 0px 5px 0 0;
}

.view-editor .card,
.ag-note .card {
    box-shadow: none;
}

.note-editor.note-airframe,
.note-editor.note-frame {
    border: 0.5px solid #ced4da !important;
}

/* .note-editor.note-frame .note-editing-area .note-editable:focus {
  border: 0.5px solid #72c2cf !important;
} */

.table tr td .form-group {
    margin-bottom: 0rem;
}

.ag-dropdown-menu i {
    font-size: 11px;
}

.dropdown-divider {
    margin: 0.1rem 0;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #148a9d;
}

a {
    color: #148a9d;
}

.ag-no-link {
    color: #148a9d;
    background: none;
    padding: 0;
    border: none;
}

.content-wrapper>.content {
    padding: 10px 0.5rem;
    /* margin-bottom: 2rem; */
}

.ag-modal-header {
    background-color: #148a9d;
    padding: 0.5rem 0.5rem;
}

.ag-modal-header h4 {
    font-size: 1rem;
    color: #fff;
}

.ag-modal-header h4 i {
    font-size: 0.8rem;
    padding-right: 5px;
}

.modal-footer {
    justify-content: start;
}

.button {
    font-size: 11px;
    padding: 4px 10px 3px 10px;
    /* // line-height: 19px; */
    letter-spacing: 0.5px;
}

.button-solid {
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    border: 0;
    /* line-height: 20px; */
    display: inline-block;
    border: 3px solid transparent;
    color: #fff;
    background: #148a9d;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-decoration: none;
}

.button-sm {
    font-size: 12px;
    padding: 2px 10px;
    font-weight: 500;
}

.button-round {
    border-radius: 20px;
}

.button-solid-success {
    color: #fff;
    background: #238800;
}

.button-solid-gray {
    color: #000;
    background: #b5b4b4;
    border: 1px solid #4e4d4d;
}

.button-solid-draft {
    color: #000;
    background: #67b6d5;
    border: 1px solid #093f54;
}

.button-solid-validatetd {
    color: #000;
    background: #90dd75;
    border: 1px solid #216a07;
}

.button-solid-amended {
    color: #000;
    background: #ddcd75;
    border: 1px solid #216a07;
}

/* .sub-btn {
  color: #148a9d;
} */

.ag-tab-type-heading {
    border-bottom: 1px solid #dee2e6;
    padding-top: 20px;
}

.ag-tab-type-heading span {
    color: #495057;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin-bottom: -1px;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding: 10px 20px 5px;
    border-bottom: none;
    font-size: 11px;
}

.ag-custom-content {
    border-bottom: 1px solid #dee2e6;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0.5rem;
}

.ag-custom-content .lead {
    color: #148a9d;
    font-size: 16px;
    font-weight: bold;
}

.ag-custom-content i {
    font-size: 14px;
}

.custom-file-input,
.custom-file-label {
    height: calc(2rem + 2px);
}

.ag-indent-info {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #72c2cf;
}

hr {
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #72c2cf;
    border-top: 0;
}

.note-editor.note-frame .note-editing-area .note-editable {
    height: 150px;
}

.cl-theme {
    color: #148a9d;
}

.mx-h-126 {
    max-height: 126px;
}

.mx-h-invoices {
    height: 160px;
    border: 1px solid #dee2e6;
}

.custom-switch .custom-control-label::before {
    width: 2.5rem;
}

.custom-switch .custom-control-input:checked~.custom-control-label::after {
    transform: translateX(1.5rem);
}

.custom-control-input:checked~.custom-control-label::before {
    border-color: #148a9d;
    background-color: #148a9d;
}

.nav-sidebar>.nav-item .nav-icon.fas {
    font-size: 14px;
}

.message-section {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.message-icon {
    padding-right: 20px;
}

.message-icon .fas {
    font-size: 50px;
    width: 50px;
}

.message {
    font-size: 17px;
}

.icon-confirm {
    color: rgb(229, 120, 59);
}

.icon-success {
    color: #238800;
}

.icon-failure {
    color: rgb(211, 69, 91);
}

.icon-info {
    color: #0066cc;
}

.popup-button-right {
    justify-content: flex-end;
}

.star {
    color: #f00;
}

a:not([href]):not([class]) {
    color: #148a9d;
    text-decoration: underline;
}

a:hover {
    color: #148a9d;
    text-decoration: underline;
}

.ag-logout:hover {
    color: #fff !important;
    text-decoration: underline;
}

.ag-logout-icon {
    font-size: 11px !important;
}

.ag-file-name-show {
    display: flex;
    border: 0.5px solid #72c2cf;
    border-radius: 0.15rem;
    background-color: #f4f6f9;
}

.ag-file-name-show a {
    padding: 5px 10px;
}

.ag-file-name-show a:nth-child(2) {
    flex: 1 1 auto;
}

/* .ag-file-name-show a:last-child {
  border-left: 0.5px solid #72c2cf;
} */
.mt-22 {
    margin-top: 22px;
}

.disabled {
    cursor: not-allowed;
}

.text-sm .nav-legacy.nav-sidebar .nav-item>.nav-link>.nav-icon {
    margin-left: 0.25rem;
    font-size: 12px;
}

.nav-sidebar>.nav-item .nav-icon {
    width: 1.2rem;
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 100000;
    text-align: center;
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader .spinner-xl {
    width: 3rem;
    height: 3rem;
    color: #148a9d;
}

.loader .wait {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
}

.note-editor.note-frame .note-statusbar .note-resizebar .note-icon-bar {
    border-top: 1px solid #ced4da;
}

.note-editor.card {
    box-shadow: none;
}

.note-area .input-group-text {
    border-radius: 5px 0 0 5px;
    border-right: 0;
}

.note-editor.note-airframe .note-statusbar,
.note-editor.note-frame .note-statusbar {
    background-color: #e9ecef;
    border-top: 1px solid #e9ecef;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: #148a9d;
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #148a9d;
}

.custom-switch .custom-control-input {
    top: 1px;
    width: 2.5rem;
    z-index: 2;
    cursor: pointer;
}

.datepicker table tr td.today {
    background-color: #148a9d !important;
    color: #fff !important;
}

footer {
    /* position: fixed; */
    padding: 10px 0.5rem;
    padding-left: 210px;
    width: 98vw;
    text-align: end;
}

.form-check-input {
    margin-top: 0.2rem;
}

.content-wrapper {
    margin-top: calc(2.1rem + 1px);
    min-height: calc(100vh - 4.9rem) !important;
}

.main-header {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1037;
}

.text-sm .select2-container--default .select2-selection--multiple,
select.form-control-sm~.select2-container--default .select2-selection--multiple {
    height: 32px;
    border-color: #72c2cf;
    overflow: auto;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #148a9d;
}

.nav-tabs {
    border-bottom: 1px solid #148a9d;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #148a9d;
    border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content {
    padding: 10px;
    border: 1px solid #148a9d;
    border-top: none;
}

.ck-editor__editable {
    min-height: 200px;
}

.alert {
    padding: 0rem 1.25rem;
    font-size: 16px;
}

.alert-success {
    color: #444;
    background-color: #97fbc1;
    border-color: #97fbc1;
}

input[type=checkbox] {
    accent-color: #148a9d;
}

input[type=radio] {
    accent-color: #148a9d;
}
