body{
    /* font-family: Arial, Helvetica, sans-serif; */
    word-break: break-word;
}

#topbar{
    /* background-color: white; */
    background: linear-gradient(180deg, #0161bb, rgb(47, 64, 80));
    height:50px;
    /* border-bottom: 1px solid #eceff1; */
    color:white;
}
.user_profile_button{
    text-align: center;
    height: 25px;
    width: 25px;
    background-color: #0071ca;
    color: white;
    display: block;
    border-radius: 100px;
    vertical-align: middle;
    position: relative;
    
}

.user_profile_button > span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.nav{
    /* flex:20%;
    width:20%; */
    width:231px;
    height: calc(100vh - 50px);
    border-right: 1px solid #eceff1;
    overflow-y: auto;
}
.main{
    /* flex:80%;
    width:80%; */
    /* width:calc(100vh - 300px); */
    padding:10px 15px;
    width: calc(100% - 231px);
    height: calc(100vh - 50px);
    overflow-y: auto;
    position: relative;
}
.nav-parent{
    list-style: none;
    width:100%;
    margin:0;
    padding: 0;
    
}

li.nav-item {
    padding: 6px 7px 8px 24px;
}
li.nav-item:hover{
    cursor:pointer;
    background-color:#eceff1;
}
.nav-title{
    margin-left:10px;
}
.card-header-custom{
    display:flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
}

.table th, .table td {
    vertical-align: middle!important;
}
.member-avatar-bg{
    height: 235px;
    width: 196px;
    background:white;
    position:relative;
    border:4px solid black;
}
.member-avatar-bg > span{
    position:absolute;
    top:50%;
    left:54%;
    transform: translate(-50%,-50%);
    text-align: start;
}

.file-input-avatar{
    display: block;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor:pointer;
}

#avatar-preview{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:contain;
    cursor:pointer;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.multiple_files_input_field{
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}
.custom-fileList-preview{
    list-style: none;
    padding:0;
    margin-top:10px;
}
.custom-fileList-preview > li{
    padding:10px 0px;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color:rgba(0,0,0,0.02);
}
.custom-fileList-preview > li div{
    padding:0px 5px;
}
.custom-fileList-preview > li div img{
    width:150px;
    height:60px;
    object-fit: contain;
}
.file_type_container{
    width:150px;
    height:60px;
    position:relative
}
.file_type_container > span{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

.file_type_container {
    background: rgba(0,0,0,0.03);
    color: rgb(177, 177, 177);
}
.bg-readonly{
    background-color:rgba(0,0,0,0.02)!important;
    cursor: not-allowed;
}
.member-avatar-tools{
    bottom: 0px;
    left: 0;
    position: absolute;
    padding: 10px 5px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0,0,0,0.09);
}
.member-avatar-tools > a{
    width:50%;
    cursor:pointer;
}

.member-avatar-tools-file-field > .file-input-avatar{
    position: absolute;
}

.member-avatar-tools-file-field{
    position:relative;
    text-align:left;
}



.select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6!important;

}
.select2-container{
    /* width:100%!important; */
}
.row_in_db{
    background-color:rgba(0,0,0,0.02);
}
.topbar_shrink_button{
    cursor:pointer;
}

hr{
    margin:unset!important;
}

.card-header{
    padding: 5px 10px!important;
}
.main > footer{
    color: #76777b;
    /* position: absolute;
    bottom: 0%;
    width: 95%;
    text-align: center; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.main > footer > p{
    margin:0;
}

.append_family_container{
    padding:7px 5px;
    border:1px solid rgb(229,229,229);
    margin: 10px 0;
    align-items: center;
    margin-left:0!important;
    margin-right:0!important;
}
.row_border{
    padding:7px 5px;
    border:1px solid rgb(229,229,229);
    margin: 10px 0;
    align-items: center;
    margin-left:0!important;
    margin-right:0!important; 
}

.form-control,.input-group-text{
    border: 1px solid #000000!important;
    border-radius: 0px!important;
}

.btn,.card{
    border-radius:0px!important;
}

.input-group-text{
    /* color:white!important; */
    background-color:#26deb9!important;
    border-color:#137763!important;
}

.form-group{
    margin-bottom:2px!important;
}

/* .form-control{
    height:unset!important;
    padding:2px 3px!important;
} */

span.select2-selection.select2-selection--multiple {
    border: 1px solid black;
    border-radius: 0px;
}
span.select2-dropdown.select2-dropdown--below {
    border: 1px solid black;
    border-radius: 0px;
}

.form-control::placeholder{
    color:rgba(0,0,0,0.4);
}

.tribute_container{
    display:flex;
    padding:10px 20px;
    flex-wrap: wrap;
    border:1px solid #dfdfdf;
    align-items:center;
}

.top{
    height: 96%;
    overflow-y:auto;
    overflow-x: hidden;
    position: relative;
}

.bottom{
    height:4%;
    text-align: center;
}
/* .note-toolbar {
    z-index: 0!important;
} */

.content img{
    max-width:100%;
    height:auto;
}
.row_is_not_active{
    background-color: #ffe3b0!important;
}
.row_is_not_active > td:first-child{
    background-color: #ffe3b0!important;
}

.is_blocked_container{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.dataTables_wrapper .dataTables_paginate .paginate_button{
    padding:0!important;
    margin:0!important;
}

.log_content{
    font-size: 14px;
}

.log_content p{
    margin-bottom:0px;
}

.modified_row{
    background: rgba(0, 0, 0, 0.05);
}

input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
  }
  

  .custom_form_check {
    display: block;
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    cursor: pointer;
    /* font-size: 22px; */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }


  /* On mouse-over, add a grey background color */
  .custom_form_check:hover input[type="checkbox"] ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .custom_form_check input[type="checkbox"]:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .custom_form_check input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .custom_form_check .checkmark:after {
    left: 9px;
    top: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  .meeting_content_container{
      background-color: #525659;
      position:relative;
      height:600px;
      /* display:flex;
      flex-direction: column;
      justify-content: center;
      align-items: center; */
      overflow-y: scroll;
  }

  .content_paper{
    background-color: white;
    width: 78%;
    
    padding: 20px 30px;
    box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.3);
  }

  .note-toolbar {
    z-index: auto;
}

.chosen-container-single .chosen-single {
    height: calc(1.5em + 0.75rem + 6px);
    border-radius: 0px;
    border: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
}
.chosen-container-single .chosen-single span {
    padding-top: 2px;
}
.chosen-container-single .chosen-single div b {
    margin-top: 2px;
}

.chosen-container-active .chosen-single,
.chosen-container-active.chosen-with-drop .chosen-single {
    border-color: #ccc;
    border-color: rgba(82, 168, 236, .8);
    outline: 0;
    outline: thin dotted \9;
    -moz-box-shadow: 0 0 8px rgba(82, 168, 236, .6);
    box-shadow: 0 0 8px rgba(82, 168, 236, .6)
}

.page_entries {
    font-size: 16px;
    font-weight: bold;
}

.input-group-prepend button{
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}
.page-link {
    padding: 3px 5px;
}

@media (max-width: 480px){
    .pagination li{
        display: none;
    }

    .pagination .active, .pagination li:first-child, .pagination li:last-child{
        display: inline;
    }

}

.switch_page{
    width: 70px;
    height: 28px;
    margin-right: 10px;
    padding: 0px 10px;
}

.is_centenarian > td{
    background-color:pink!important;
}

tr:hover td{
    background-color: #c1c1c1;
}

.button-group {
    display: flex;
    gap: 10px;
  }
