/* @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap'); */
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

@font-face {
    font-family: 'Glyphicons-Halflings';
    src: url('glyphicons-halflings-regular.eot'); /* IE9 Compat Modes */
    src: url('glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('glyphicons-halflings-regular.woff') format('woff'), /* Modern Browsers */
         url('glyphicons-halflings-regular.woff2') format('woff2'), /* Modern Browsers */
         url('glyphicons-halflings-regular.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('glyphicons-halflings-regular.svg') format('svg'); /* Legacy iOS */
}

:root {
    --primary: #02044a;
}
body {
    font-family: "Rubik" !important;
    font-size: 12.5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: "Rubik";
}

a,
a:hover {
    text-decoration: none;
}

.main-header {
    -webkit-box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.2);
}

.skin-blue .main-header .navbar {
    background: var(--primary);
}

.skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav > li > a:active,
.skin-blue .main-header .navbar .nav > li > a:focus,
.skin-blue .main-header .navbar .nav .open > a,
.skin-blue .main-header .navbar .nav .open > a:hover,
.skin-blue .main-header .navbar .nav .open > a:focus,
.skin-blue .main-header .navbar .nav > .active > a {
    background: rgba(0, 0, 0, 0.4);
}

.nav > li > a {
    padding: 6px 10px !important;
}

.navbar-nav > .user-menu .user-image {
    margin-right: 0px;
}

.navbar-toggle {
    padding: 15px 0px 15px 15px;
}

.box {
    -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.info-box-text,
.description-block > .description-text {
    text-transform: capitalize;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 22px;
}

.info-box-number {
    font-size: 15px;
}

.user-name-sacco {
    padding: 10px 20px 0;
    font-weight: bold;
}

.user-name-sacco a {
    color: #000000;
}

.user-name-sacco a:hover {
    color: #09f;
}

.user-role-sacco {
    font-size: 11px;
    padding: 0 10px 10px;
    color: #666666;
}

.btn-outline-sacco {
    border: 1px solid #3034be;
    color: #02044a;
    background: #e7e8f7;
}

a.btn:hover {
    text-decoration: none !important;
}

.content-filter {
    padding: 15px 15px 0;
    margin-bottom: -20px;
}

.border-outline {
    border: 1px solid #c9c9c9;
}

.filter-title {
    font-size: 16px;
}

.form-control,
.input-group .input-group-addon {
    border-color: #ababab;
}

.form-control:focus {
    box-shadow: 0 0 2px 1px #7ac4ee;
}

.user-exit {
    background: #e7e8f7;
}

.p-l-0 {
    padding-left: 0 !important;
}

.pagination {
    padding: 0;
    margin: 0;
}
.pagination .paginate_button{
    margin: 2px;
}

.pagination .paginate_button a {
    display: block;
    border: 1px solid #ccc;
    padding: 3px 8px;
    border-radius: 4px;
}

.pagination .paginate_button a:hover{
    background: #e1e1e1;
}

.pagination .paginate_button.active a{
    background-color: #3c8dbc;
    border-color: rgba(0,0,0,0.2);
    color: #ffffff;
}

.pagination .paginate_button.active a:hover{
    background-color: #2a729b;
}

.table tbody {
    background: #f9f9f9;
}

.table tr {
    border-bottom: 4px solid #ffffff;
    border-top: 2px solid #ffffff;
}

.table td{
    min-width: 100px !important;
}

.table tr th {
    color: #5d83bb;
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* .table td a.btn{
  color: ;
} */

.form-control[readonly] {
    background-color: #ffffff;
    cursor: auto;
}

.table td a:hover {
    text-decoration: underline;
}

.pagination-p {
    margin: 0;
    padding: 15px 0;
}

.select2-container--default .select2-selection--single {
    border-radius: 0.25rem;
}

.select2-container .select2-selection--single {
    height: 34px;
}

.input-group-sm .select2-container .select2-selection--single {
    height: 30px;
    padding-top: 4px;
    padding-bottom: 4px;
}

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

.mt-10 {
    margin-top: 10px;
}
.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mr-10 {
    margin-right: 10px;
}

.p-10 {
    padding: 10px;
}
.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.p-b-10 {
    padding-bottom: 10px;
}

.p-t-10 {
    padding-top: 10px;
}

.p-5 {
    padding: 0 5px !important;
}

.table-responsive {
    width: 100%;
}

.table-responsive td,
.table-responsive th {
    padding: 8px;
}

.table-responsive thead tr {
    border-bottom: 2px solid #cccccc;
}

.h-100 tr {
    height: 100px;
}

hr.divider {
    display: block;
    height: 1px;
    background-color: transparent;
    border-top: none;
    border-bottom: 1px dashed #cccccc;
}

.progress {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #e1e1e1;
}
.bar {
    background-color: #02044a;
    width: 0%;
    height: 5px;
    border-radius: 3px;
}
.percent {
    position: absolute;
    display: inline-block;
    top: 3px;
    left: 48%;
}

.content-wrapper {
    clear: all;
    padding-top: 60px;
}

.font-18 {
    font-size: 28px;
}

.compare-values-container {
    padding: 15px;
}

.trans-box-type {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #808080;
}

.trans-box-amount {
    font-weight: bold;
}

.login-page,
.register-page {
    background: #f1f1f1 !important;
}

.message-wrap {
    width: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 25%;
    z-index: 900;
}

.message-wrap .alert {
    padding: 10px 20px;
    text-align: center;
    border: 0px;
    border-radius: 5px;
    max-width: 30%;
    z-index: 900;
    margin: auto;
    margin-top: 100px;
}

.alert.alert-success {
    /* background-color: rgb(169, 233, 169, 0.8) !important; */
    background-color: #dcf8dc !important;
    /* border-left: 10px solid green !important; */
    color: green !important;
}

.alert.alert-danger {
    /* background-color: rgb(250, 178, 178, 0.8) !important; */
    background-color: rgb(255, 218, 218) !important;
    /* border-left: 10px solid red !important; */
    color: red !important;
}

button.close {
    position: absolute;
    top: 10%;
    right: 4px;
    /* background: rgba(255, 255, 255, 1); */
    line-height: 0;
    padding: 0;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 50%;
    opacity: 0.8 !important;
    font-size: 12px;
}

.form-control {
    font-size: 13px !important;
}

.error-message {
    color: red !important;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: searchfield-cancel-button;
    cursor: pointer;
}

.breadcrumb.row {
    margin-left: 0;
    margin-right: 0;
}

.breadcrumb {
    background: #ffffff;
}

/* .btn.btn-back {
    -webkit-box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 0 1px 3px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 0 1px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.2);
} */

.input-group .input-group-addon.border-green {
    border-color: #00a65a;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

.btn.btn-back {
    background: rgba(0,0,0,0.1);
    border-color: transparent;
}

.btn.btn-back:hover {
    background: rgba(0,0,0,0.2);
}

.btn:focus{
    -webkit-box-shadow: 0 0 0 .2rem rgba(0,0,0,0.2); 
    -moz-box-shadow: 0 0 0 .2rem rgba(0,0,0,0.2); 
    box-shadow: 0 0 0 .2rem rgba(0,0,0,0.2);
}

.btn-close:focus,
.btn-close:active{
    -webkit-box-shadow: 0 0 0 .25rem rgba(0,0,0,0.2); 
    -moz-box-shadow: 0 0 0 .25rem rgba(0,0,0,0.2); 
    box-shadow: 0 0 0 .25rem rgba(0,0,0,0.2);    
}

.form-check{
    min-height: 0;
}

.line-divider {
    width: 100%;
    height: 1px;
    background: #e9e9e9;
    margin: 10px 0;
}

.divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
}

.comment-block {
    display: inline-block;
    clear: both;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    margin: 15px 0;
    background: #f9f9f9;
    position: relative;
    color: #000000 !important;
}

.comment-block:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: -8px;
    left: 20px;
    background: #f9f9f9;
    border: 1px solid #d9d9d9;
    transform: rotate(45deg);
    border-bottom: 0;
    border-right: 0;
}

.comment-block.confirmed,
.comment-block.verified,
.comment-block.confirmed:before,
.comment-block.verified:before {
    background: #e6ffe4;
    border-color: #a3eb9c;
}

.comment-block.rejected,
.comment-block.rejected:before {
    background: #ffe4e4;
    border-color: #eb9c9c;
}

.loan-comments {
    /* font-size: 22px; */
    /* color: #00a65a; */
    margin-left: 12px;
    background: rgba(0, 0, 0, 0.15);
}

.cursor-pointer {
    cursor: pointer;
}

/* colors based on status */

.cancelled,
.rejected {
    color: red;
}

.paid {
    color: #aaaaaa;
}

.approved {
    color: green;
}

.pending,
.hold {
    color: orange;
}

.confirmed {
    color: #0ce299;
}

.verified {
    color: #0ce262;
}

.recovered {
    color: green;
}

.tr-cancelled,
.tr-rejected {
    border-left: 2px solid red;
}

.tr-paid {
    border-left: 2px solid #aaaaaa;
}

.tr-approved {
    border-left: 2px solid green;
}

.tr-pending,
.tr-hold {
    border-left: 2px solid orange;
}

.tr-confirmed {
    border-left: 2px solid #0ce299;
}

.tr-verified {
    border-left: 2px solid #0ce262;
}

.tr-recovered {
    border-left: 2px solid green;
}

/* *************** */
tr.tr-recovered {
    background: #d9d9d9;
    color: #aaa;
}

select.table-select-filter {
    border: #d1d1d1;
    background-color: #e1e1e1;
    padding: 5px 2px;
    cursor: pointer;
}

select.table-select-filter:active,
select.table-select-filter:focus {
    border-color: rgb(0, 225, 255);
}

.user-name-initials {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    background: #ffffff;
    color: var(--primary);
    border-radius: 50%;
}

.user-flexbox {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.d-inline-block {
    display: inline-block;
}

.btn-sm.filter-btn {
    padding: 7px 12px;
}

.shadow {
    -webkit-box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.1);
}

.btn-disabled,
.btn-disabled:hover {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #444;
}

.text-decoration-none {
    text-decoration: none !important;
}

.input-group-sm > .form-control {
    border-radius: 0;
}

.input-group-sm > .select > .form-control {
    height: 30px;
}

ul.user-settings-menu {
    margin: 0;
    padding: 0;
}

ul.user-settings-menu li {
    list-style: none;
    margin-bottom: 0px;
}

ul.user-settings-menu li a {
    display: block;
    color: inherit;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 10px;
    /* background: #f9f9f9; */
    position: relative;
    border-bottom: 1px solid #f0f9ff;
}

ul.user-settings-menu li.active a {
    /* color: #ffffff; */
    background: #f4f4f4;
    font-weight: bold;
    border-left: 4px solid #3c8dbc;
}

ul.user-settings-menu li:hover {
    color: #3c8dbc;
}

ul.user-settings-menu li.active a:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-right: 1px solid #3c8dbc;
    border-bottom: 1px solid #3c8dbc;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 10px;
    top: 40%;
}

.spinner:before {
    content: "";
    display: inline-block;
    /* position: relative; */
    margin-bottom: -10px;
    margin-left: 15px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: transparent;
    /* transition: all 0.3s ease-in-out; */
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: 1px solid white;
    border-bottom-color: transparent;
    /* transform: translate3d(-50%, -50%); */
    will-change: transform;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.notification-item {
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 3px;
}

.notification-item:hover {
    background: #efefef;
}

.top-notifications {
    padding: 0 15px 15px;
    min-width: 280px;
}

.notification-item.unread .body {
    font-weight: 400;
    font-style: normal;
    font-size: 12px;
}

.notifiation-item a.btn.close-n:hover {
    color: red !important;
}

.box-header {
    padding: 10px 30px;
    font-weight: bold;
    background: #efefef;
}

.p-0 {
    padding: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.filter-input {
    margin-right: 4px;
}

.filter-input:last-child {
    margin-right: 0;
}

.bg-white {
    background: #ffffff !important;
}

.member-name-onoff {
    max-height: 0;
    opacity: 0;
    font-weight: 700;
    transition: all 0.4s ease-in-out 0s;
}

.member-name-on {
    max-height: 40px;
    opacity: 1;
}

.main-footer {
    position: relative;
    z-index: 5;
    background: none;
}

.login-logo{
    font-size: 25px;
    margin-bottom: 15px;
}

#sidenav a.nav-link {
    font-size: .90rem;
    margin: 4px 8px;
}

#sidenav a.nav-link.active, #sidenav a.nav-link.active:hover{
    background: green;
    color: white;
    position: relative;
}

#sidenav a.nav-link.active i.text-secondary{
    color: white !important;
}

#sidenav a.nav-link.active:after{
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    position: absolute;
    right: 12px;
    top: 12px;
    transform: rotate(45deg);
}

#sidenav a.nav-link:hover{
    background: rgba(0,0,0,0.2);
    color: inherit;
}

.content-wrapper{
    width: calc( 100% - 220px );
    margin-left: 220px !important;
    background-color: #e3e7e9;
}

.dataTables_filter,.dataTables_length,.dt-buttons{
    float: left;
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.dataTables_filter .form-control, .dataTables_length .form-control {
    border-radius: 5px;
}

button.dt-button{
    border-radius: 5px;
    background: #f1f1f1;
}

table.dataTable{
    border-collapse: collapse !important;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
  }
  
  .autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
  }
  
  /*when hovering an item:*/
  .autocomplete-items div:hover {
    background-color: #e9e9e9; 
  }
  
  /*when navigating through the items using the arrow keys:*/
  .autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
  }

  table th.memo{
      width: 350px;
      overflow: hidden;
      line-break: auto;
      text-overflow: ellipsis;
  }

  .menu-item-disc{
    width: 8px; 
    height: 8px; 
    border: 2px solid rgba(0,0,0,0.4);
  }

  #sidenav .btn-toggle-nav a{
      color: inherit;
      font-size: .85rem;
  }

  #sidenav .btn-toggle-nav a.active{
      background: none;
  }

  #sidenav .btn-toggle-nav a.active span{
      border-color: #000;
  }

  #sidenav a[aria-expanded=true]{
      background: rgba(0,0,0,0.08);
      font-weight: 600;
  }

  
@media screen and (max-width: 991px) {
    .table-responsive {
        border: 0 !important;
    }

    .m-d-block {
        display: block !important;
        clear: all;
    }

    .filter-input {
        margin-right: 0;
        width: 70%;
        padding: 0 5px;
    }
}

.dropdown-toggle-no-after:after{
    display: none !important;
  }
