:root {
    --background-dark-color: #282923;
    --background-light-color: #FFFFFF;
    --theme-color-1: #5CC5A7;
    --theme-color-2: #C55C7A;
}

@font-face {
    font-family: 'Nunito';
    src: url('../../assets/font/Nunito-Regular.ttf');
    font-weight: normal;
}

body {
    background-color: #fbfdfc;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Nunito', 'Segoe UI', arial;
    color: var(--background-dark-color);
}

[class*=sidebar-dark-] {
    background-color: var(--background-dark-color);
}

.navbar-white {
    background-color: var(--background-light-color);
}

/* .btn{
    background-color: var(--theme-color-2) !important;
    border-color: var(--theme-color-2) !important;
}
*/
span.brand-text.font-weight-light {
    text-transform: uppercase;
    letter-spacing: 3px;
}

.dropdown-menu .dropdown-title {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #191d21 !important;
    padding: 10px 20px;
    line-height: 20px;
    color: #98a6ad;
}

.dropdown-menu a {
    font-size: 14px;
}

a.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    line-height: 1.2;
}

.btn-round {
    border-radius: 30px;
}

.btn {
    font-weight: 500;
    font-size: 12px;
    line-height: 24px;
    padding: .10rem .4rem;
    letter-spacing: .5px;
}

.bg-custom {
    background-color: var(--theme-color-1);
    color: #fff;
}

.btn.bg-custom:hover {
    color: #fff;
}

input::-webkit-input-placeholder {
    font-size: 14px;
}

.msg-alert {
    display: none;
}

.f-14 {
    font-size: 14px;
}

.f-12 {
    font-size: 12px;
}

@keyframes loader {
    to {
        transform: rotate(360deg);
    }
}

.btn-loading:after {
    content: '';
    -webkit-animation: loader 1.5s infinite linear;
    animation: loader 1.5s infinite linear;
    border: 2px solid #fff;
    border-radius: 50%;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
    display: block;
    height: 1.4em;
    width: 1.4em;
    left: calc(50% - (1.4em / 2));
    top: calc(50% - (1.4em / 2));
    -webkit-transform-origin: center;
    transform-origin: center;
    position: absolute !important;
}

.btn-loading.btn-sm:after,
.btn-group-sm>.btn-loading.btn:after,
.dataTables_wrapper .dataTables_paginate .btn-group-sm>.btn-loading.paginate_button:after {
    height: 1em;
    width: 1em;
    left: calc(50% - (1em / 2));
    top: calc(50% - (1em / 2));
}

.btn-loading.btn-secondary:after,
.dataTables_wrapper .dataTables_paginate .btn-loading.paginate_button:after {
    border-color: #495057;
}

.btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}

.selectgroup {
    display: -ms-inline-flexbox;
    display: inline-flex;
}

.selectgroup label {
    margin-right: 4px;
}

.selectgroup-item {
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
}

.selectgroup-input {
    opacity: 0;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}

.selectgroup-item:not(:last-child) .selectgroup-button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.selectgroup-input:focus+.selectgroup-button,
.selectgroup-input:checked+.selectgroup-button {
    background-color: var(--primary);
    color: #fff;
    z-index: 1;
}

.selectgroup-button {
    background-color: #fdfdff;
    border-color: #e4e6fc;
    border-width: 1px;
    border-style: solid;
    display: block;
    text-align: center;
    padding: 0 1rem;
    height: 35px;
    position: relative;
    cursor: pointer;
    border-radius: 3px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 13px;
    min-width: 2.375rem;
    line-height: 36px;
}

.border-input {
    border: none !important;
    border-bottom: 1px dashed #ccc !important;
    border-radius: 0%;
}

.with_field .select2-container {
    display: inline-block;
}

.with_field .select2-container--bootstrap4 .select2-selection,
.main_fields .select2-container--bootstrap4 .select2-selection {
    border-bottom: 1px dashed #eee !important;
    border: none;
    border-radius: 0;
}

.with_field .select2-search__field {
    width: 100% !important;
}

.main_fields .settle-img-category,
.main_fields .pay-img-category {
    width: 55%;
    text-align: center;
    margin: 15px auto;
    cursor: pointer;
}

/* .main_fields .settle-img-category img,
.main_fields .pay-img-category img {
    width: auto;
} */

/*  */
.modal_img {
    width: 100px;
    height: 100px;
}

/*  */

.daterangepicker .calendar th,
.daterangepicker .calendar td {
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
    min-width: 28px;
}

.grp-frds {
    display: flex;
    flex-wrap: wrap;
}

span.frd-list {
    padding: 0px 5px;
    /* border: 1px solid #6c757d; */
    margin-right: 3px;
    margin-bottom: 4px;
    border-radius: 3px;
    background-color: #5cc5a7;
    color: #fff;
    min-width: max-content;
    cursor: pointer;
}

.action-column,
.action-column a {
    display: flex;
    align-items: center;
}

.action-column a i {
    margin-right: 5px;
}

#TblFriends_wrapper>.row>.col-sm-12.col-md-6,
#TblActivity_wrapper>.row:first-child .col-sm-12.col-md-6,
#TblPayment_wrapper>.row:first-child .col-sm-12.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.expense-action-column a {
    margin-bottom: 4px;
}

.filter__table .select2-container {
    width: 100% !important;
}

.min-width-content {
    min-width: max-content !important;
}

@media (max-width: 767px) {

    #TblFriends_wrapper .dataTables_length,
    div.dataTables_wrapper div.dataTables_filter,
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate,
    #TblGroup_length,
    #TblExpense_length,
    #TblActivity_wrapper .dataTables_length,
    #TblActivity_wrapper .TblActivity_filter,
    #TblRequest_length,
    #TblPayment_wrapper .dataTables_length,
    #TblNotification_length {
        text-align: inherit;
    }

    div.dataTables_wrapper div.dataTables_filter {
        text-align: right;
    }

    .filter__table {
        display: none !important;
    }
}

@media (max-width: 568px) {

    #TblFriends_wrapper>.row:first-child .col-sm-12.col-md-6,
    #TblActivity_wrapper>.row:first-child .col-sm-12.col-md-6,
    #TblPayment_wrapper>.row:first-child .col-sm-12.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    #TblFriends_wrapper .dataTables_length,
    #TblFriends_wrapper .dataTables_filter,
    #TblFriends_wrapper .dataTables_info,
    #TblFriends_wrapper .dataTables_paginate,
    #TblActivity_wrapper .dataTables_length,
    #TblActivity_wrapper .dataTables_filter,
    #TblActivity_wrapper .dataTables_info,
    #TblActivity_wrapper .dataTables_paginate,
    #TblPayment_wrapper .dataTables_length,
    #TblPayment_wrapper .dataTables_filter,
    #TblPayment_wrapper .dataTables_info,
    #TblPayment_wrapper {
        text-align: left;
    }
}

.login-brand {
    margin: 20px 0;
    margin-bottom: 40px;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #666;
    text-align: center;
}

.select2-container--bootstrap4 .select2-results>.select2-results__options {
    max-height: 10em;
    overflow-y: auto;
}

.select2-container--bootstrap4 .select2-selection__clear {
    line-height: 0.85em;
}

.select2bs4+.select2-container--default .select2-selection--multiple {
    border: none;
    outline: 0;
    border-bottom: 1px dashed #efefef;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 10em;
    overflow-y: auto;
}

.select2bs4+.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ccc;
}

.select2bs4+.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-color: #ccc;
    color: #000;
    margin-top: .31rem;
    background-color: #fff;
}

.filter__table .select2-container--bootstrap4 .select2-selection--single {
    height: calc(1.5em + .75rem + 5px) !important;
}

.filter__table .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-left: .75rem;
    line-height: calc(1.5em + 1.063rem);
    color: #495057;
}

.badge-info {
    padding: 9px 10px !important;
    margin: 0px 7px;
    font-weight: 500;
    font-size: 12px;
}

#TblGroup_wrapper .dtr-details li[data-dtr-index="4"],
#TblGroup_wrapper .dtr-details li[data-dtr-index="4"] .dtr-data {
    display: flex;
    flex-wrap: wrap;
}

#TblGroup_wrapper .dtr-details li[data-dtr-index="4"] .dtr-title {
    min-width: 130px;
}

#TblFriends_wrapper .dtr-details li[data-dtr-index="8"],
#TblGroup_wrapper .dtr-details li[data-dtr-index="6"] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#TblPayment_wrapper table.dataTable>tbody>tr.child span.dtr-title>p {
    min-width: inherit !important;
}

@media (max-width: 768px) {
    .login-brand {
        max-width: 120px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 576px) {
    .mobile-payment-btns {
        display: block !important;
    }

    .md-payment-btns {
        display: none !important;
    }

    .card-body {
        padding: 0.5rem;
    }

    .card-header {
        padding: .75rem 0.5rem;
    }
}

@media (max-width: 468px) {
    .info-box {
        margin-bottom: 1rem;
        min-height: 70px;
        padding: .5rem;
    }

    .info-box .info-box-icon {
        font-size: 1.875rem;
        width: 54px;
    }

    .info-box .info-box-icon i {
        font-size: 24px;
    }

    .table-responsive .page-link {
        font-size: 12px;
        padding: 0.5rem 0.65rem;
    }
}

@media (max-width: 424px) {
    .table-responsive .page-link {
        padding: .4rem .4rem;
        line-height: 1.25;
        font-size: 13px;
    }

    .info-box {
        margin-bottom: 1rem;
        min-height: 56px;
        padding: .5rem;
    }

    .info-box .info-box-icon {
        font-size: 1.875rem;
        min-width: 42px;
        width: 42px;
    }

    .info-box .info-box-icon i {
        font-size: 16px;
    }

    .info-box .info-box-content {
        padding: 0 5px;
    }

    .info-box-text,
    .info-box-number {
        line-height: normal;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .table-responsive .page-link {
        padding: .4rem .4rem;
        line-height: 1.25;
        font-size: 12px;
    }

    .table-responsive .dataTables_info {
        font-size: 12.5px;
    }

    .info-box {
        margin-bottom: 1rem;
        min-height: 50px;
        padding: 0.4rem;
    }

    .info-box .info-box-icon {
        font-size: 1.875rem;
        width: 37px;
        min-width: 37px;
    }

    .info-box .info-box-icon i {
        font-size: 14px;
    }

    .info-box .info-box-content {
        padding: 0 4px 0 6px;
    }

    .info-box-text,
    .info-box-number {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .table-responsive .page-link {
        padding: 0.38rem 0.38rem;
        line-height: 1.25;
        font-size: 11px;
    }
}

.exp-desc {
    font-size: 20px;
    text-transform: capitalize;
    font-weight: 500;
    color: #0f8f64;
}

.badge-info-custom {
    color: #fff;
    background-color: #36b9cc;
}