html,
body {
  min-height: 100%;
  padding: 0;
  margin: 0; 
  font-size: 14px;
  color:#3f3d38;
  background-color: #eff5f8!important;
}

#wrapper {
  padding: 60px 0 50px 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #eff5f8!important;
  height: auto;
}
#main_navbar{
  --tw-border-opacity: 1;
  border-color: rgb(234 242 245 / var(--tw-border-opacity));
  border-bottom-width: 1px;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;
  color: rgb(207, 231, 247);
}

main { 
    min-height: calc(100vh - 156px); 
}

.max-w-7xl {
  max-width: 95rem!important;
}
.appname-header
{
  padding-left: 0.925rem; /* 10px */
  padding-right: 0.725rem; /* 10px */
  font-weight: bold; 
  font-size:38px;
  color: #1773ce;
}

.systemname{
  font-weight: bold;
  color: #1773ce;
}

.applicationtype-header{
  padding-top: 10px;
  font-weight: bold;
  color: #1773ce;
  font-size: 20px;
  text-align: center;
  text-decoration: underline;

}
.button-logo-size{
  width: 10rem;
  height: 10rem;
}

.nav-header-page{
  --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='currentColor'/%3E%3C/svg%3e");
}
.nav-header-page .breadcrumb{
  margin-bottom: 2px!important;
  margin-top: 2px!important;
}
header{
  background-color: #ffffff;
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
} 
footer { 
  height: 50px;
  background-color: #1773ce;
  color: rgb(255 , 255 , 255);
  vertical-align: middle; 
  text-align: center;
  padding: 15px;
  display: flex;
  align-items:center;
  justify-content: center;
}
footer img{
  padding-left: 10px;
  height: 25px;
}
p {
  margin: 0;
  padding: 0 0 1em 0;
}

.user-group-list {
  list-style-type: disc !important;
  padding-left: 1em;
  margin:10px;
}


.picture-container{
  border: #cccdce solid 1px;
  background-color: #dfe0e267;
  position: relative;
  cursor: pointer;
}

.picture-container-view{
  cursor: default!important;
}

.picture-container .default{
  font-weight:400;
  font-size: 18px;
}

.btn-refresh-list{
  padding-left: 5px;
  padding-top: 2px;
  color: #0945818b;
}
.btn-refresh-list-th{ 
  height: 16px!important;
  padding-top: 0px!important;
  color: #e5eaf0da!important;
}
.user-group-list li{
  padding:3px 0 3px;
  color: #495d70;
}
.ui-autocomplete{
  z-index: 19999!important;
}

input[type=number]{
  text-align: right!important;
}
.text-right{
  text-align: right!important;
}
.home-logo{
  display: block;
  align-items: center;
  position: absolute;
  top: 50%;
  margin-top: -75px;
}
.home-logo img{
  display: block;
  margin-left: auto;
  margin-right: auto; 
  height: 150px;
}
.login-logo{
  display: block;
  align-items: center;
}
.login-logo img{
  display: block;
  margin-left: auto;
  margin-right: auto; 
  height: 120px;
}
.login-section{
  height: 100%;
  position: absolute;
  top: 50%;
  margin-top: -210px;
}
.welcome-logo-text
{
  display: flex;
}
.welcome-logo-text img
{
  height: 100px!important;
}
.welcome-logo-text span
{
  padding-left: 20px;   
  align-self: flex-end;  
  color: #1773ce;
}
.text-app
{
  color:#1773ce;
}
.notify-title{
  color: rgb(205, 57, 82);
  font-size: 18px;
  font-weight: 400;
  font-style: inherit;
}
 
.accordion {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
} 
.spinner{
  width: 5rem; height: 5rem;
  margin: 2rem;
}
.readonly
{
  background-color:rgba(237, 236, 236, 0.944)!important;
}
.accordion-button span{
  padding-left: 10px;
}
.accordion-body{
  position: relative;
}
.accordion-body table{
  position: relative;
}
.accordion-body table tr{
  position: relative;
}
.accordion-body table td{
  position: relative;
}
.accordion-body table td .kv-preview-thumb{
  position: relative;
}
.file-drop-zone {
  min-height: 120px!important;
}
#table_picture{
  position: relative;
}
#table_picture tr{
  position: relative;
}
#table_picture td{
  position: relative;
}
#navbarSupportedContent .home-link
{
  vertical-align: middle;
  align-items: center;
  justify-content: left;
}
#navbarSupportedContent .home-link span
{
  padding-left: 5px;
}
#navbarSupportedContent .home-link img
{
  height: 35px!important;
}
#navbarSupportedContent .nav-item a{
  vertical-align: middle!important;
  line-height: 44px;
}
#navbarSupportedContent .dropdown-menu  a {
  line-height: 30px !important;
  vertical-align: middle !important;
  align-items: center;
  display: flex;
}
#navbarSupportedContent .dropdown-menu  a span {
   padding-left: 5px;
   white-space: nowrap;
   font-size: 1rem;
}
#navbarSupportedContent .dropdown-menu .logout a:hover {
  color: rgb(255, 255, 255); 
  background-color: rgb(197, 49, 81);
}
.user-profile{
  color: #1773ce!important;
}
.user-group{
  color: #40749e!important;
}
.dropdown-item.active, .dropdown-item:active {
  color: var(--bs-dropdown-link-active-color);
  text-decoration: none;
  background-color: #1773ce!important;
}

.ui-dialog{
  overflow: visible !important;
}
.item-prev-next{
  padding-top: 2px;
}
.item-next{
  padding-left: 5px;
}
  
.text-button-add{
  background-color:rgba(49, 158, 58, 0.944)!important;
  color: white!important;
}
.text-button-reject{
  background-color:rgba(238, 84, 24, 0.944)!important;  
  color: white!important;
}
.text-button-edit{
  background-color:rgba(196, 145, 27, 0.944)!important;
  color: white!important;
}

.text-button-resetpwd{
  background-color:rgba(205, 116, 14, 0.944)!important;   
  color: white!important;
}

.text-button-warning{
  background-color:rgba(236, 116, 17, 0.944)!important;
  color: white!important;
}

.text-button-view{
  background-color:#1773ce!important;
  color: white!important;
}

.text-button-del{
  background-color:rgba(232, 19, 26, 0.944)!important;  
  color: white!important;
}
.text-button-search{
  background-color:rgba(21, 107, 188, 0.866)!important;
  color: white!important;
}
.text-button-save{
  background-color:rgba(7, 102, 191, 0.944)!important;
  color: white!important;
}

.text-button-subfrom{
  background-color:rgba(107, 131, 153, 0.866)!important;
  color: white!important;
  line-height: 1rem!important;
} 
.text-button-cancel{
  background-color:rgba(28, 29, 29, 0.488)!important;
  color: white!important;
}

.text-button-back{
  background-color:rgba(123, 119, 246, 0.89)!important;
  color: white!important;
}

.text-button-print{
  background-color:rgba(190, 83, 173, 0.89)!important;
  color: white!important;
} 

.text-button-tool{
  background-color:rgba(34, 2, 29, 0.89)!important;
  color: white!important;
}

.link-del{
  color:rgba(232, 19, 26, 0.944)!important;  
  padding: 0 1px 0 1px;
}
.icons-link{  
  font-size:20px!important;

}
.link-resetpwd{
  color:rgba(205, 116, 14, 0.944)!important;   
  padding: 0 1px 0 1px;
}
.link-edit{
  color:rgba(196, 145, 27, 0.944)!important;   
  padding: 0 1px 0 1px;
}
.link-reject{
  color:rgba(238, 84, 24, 0.944)!important;   
  padding: 0 1px 0 1px;
}
.link-add{
  color:rgba(11, 155, 90, 0.944)!important;   
  padding: 0 1px 0 1px;
}

.link-save{
  color:rgba(23, 104, 181, 0.944)!important;   
  padding: 0 1px 0 1px;
}
link-return{
  color:rgba(18, 82, 177, 0.944)!important;   
  padding: 0 1px 0 1px;
}

.link-reset{
  color:rgba(167, 170, 172, 0.944)!important;   
  padding: 0 1px 0 1px;
}
#toolbar_img_editor{
  background-color: #eff5f8;
  border-color: var(--bs-table-border-color);
  display: flex;
  border-top: 1px solid #c0cadd7a!important;

}
.btn-img-toolbar
{
  width: 80px!important;  
  position: relative!important;
  display: flex!important;
  align-items: center!important;
}
.image-editor-panel
{
  min-height: 500px!important;
  border: 1px solid #9b9fa53b!important;
  padding: 20px;
}
.btn-icon-img-toolbar{
  border: 1px solid #ededed;
  line-height: 1;
  padding: 5px;
  cursor: pointer;
  -webkit-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
}
.image-tool-panel{
  width: 220px;
  background-color: rgba(226, 228, 231, 0.164);
}
.btn-sq{  
  color:white!important; 
  line-height: 0!important;
  --bs-btn-padding-x: 0.35rem!important; 
  --bs-btn-padding-y: 0.35rem!important; 
}
.btn-sq-add{
  background-color:rgba(11, 155, 90, 0.944)!important;  
}
.btn-sq-del{
  background-color:rgba(232, 19, 26, 0.944)!important;
} 
.btn-sq i{  
  font-size:24px;
}

.button-w{
  width: 82px;;
}

#divTable{
  justify-content: center !important;
  display: flex !important;
  margin-top: 1rem; 
}
#divTable .float-right .btn-secondary{ 
  background-color: darkcyan!important;

}

.tabel-header{
  --bs-table-color: #fff;
    --bs-table-bg: #403d38;
    --bs-table-border-color: #4d5154;
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.tabel-header-form{
  --bs-table-color: #fff;
    --bs-table-bg: #212529;
}

#table_data{
  width: 100%!important;
}
#table_data .highlight td, #table_data .highlight th{
  background-color: rgba(238, 34, 34, 0.658);
  color: rgba(255, 255, 255, 0.658);
}
#table_resident .highlight td{
  background-color: rgba(238, 34, 34, 0.658);
  color: rgba(255, 255, 255, 0.658);
}
#table_data thead th{
  vertical-align: top;
}

.table-data{
  width: 100%!important;
}
.table-data .highlight td{
  background-color: rgba(238, 34, 34, 0.658);
  color: rgba(255, 255, 255, 0.658);
}
.table-data thead th{
  vertical-align: top;
}
.td-first-row-highlight{
  background-color: rgba(222, 229, 240, 0.705)!important;
}

#table_repair_list thead th{
  vertical-align: middle;
}
#deleteConfirmModal h1,#confirmModal h1{
  padding-left: 10px;
}

 .modal-header span {
  padding-left: 10px;
}
 
.confirm-message{
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
}

.bootstrap-table{
  display: inline-block;
  width: 100%!important;
}

#form_msg .btn-close, #formmodal_msg .btn-close,#formmodalimg_editor_msg .btn-close
{
  float: right;
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
}

#formData label ,#formSearch label {
  display: block;
}
.require{
  color: red;
  padding-left: 0.5rem;
}

.require_minor{
  color: rgb(228, 163, 10);
  padding-left: 0.5rem;
}
.status-borrow-0{
  color:rgb(190, 189, 189);
}
.status-borrow-1{
  color:rgb(15, 125, 70);
}
.status-borrow-2{
  color:red;
}

.status-1{
  color:rgb(15, 125, 70);
}
.status-0{
  color:red;
}
.status-2{
  color:rgba(135, 132, 132, 0.653);
}

.status-r{
  color:red;
}
.status-d{
  color:rgb(228, 139, 30);
}
.status-w{
  color:rgb(156, 137, 13);
}
.status-o{
  color:rgb(29, 54, 221);
}
.status-i{
  color:rgb(159, 10, 80);
}
.status-c{
  color:rgb(15, 125, 70);
}
.status-f{
  color:rgb(159, 9, 26);
}
.status-l{
  color:rgb(102, 97, 98);
}
.label-data{
  color: #1773ce;
  padding-top: 3px;
}
#formData .status ,#formSearch .status
{
  font-weight: bold!important; 
}

#formData .form-check ,#formSearch .form-check{
  padding-left: 2.5em!important; 
}

.chosen-container{  
  width: 100%!important; 
  font-weight: 400!important; 
  font-size: 1rem!important; 
}
table th .chosen-search-input{
  color: #6b7280;
}

.chosen-container-single .chosen-single {
  border: 1px solid #6b7280!important;
  border-radius: 0!important;
  background:none!important;
  box-shadow:none!important;
  padding: .5rem .75rem;
  height: 2.5rem!important;
  background-color: #fff!important;
  line-height: 2.5rem!important;
  --tw-shadow: 0 0 #0000;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e")!important;
  background-repeat: no-repeat!important;
  background-position: right .75rem center!important;
  background-size: 16px 12px!important;
}
.chosen-container-single .chosen-search input[type="text"] {
  padding: 5px 20px 5px 5px!important;
  height: 2.2rem!important;
  border: 1px solid #aaa;
  background-image: url("../chosen/chosen-search.png")!important;
  background-repeat: no-repeat!important;
  background-position: right 0.5rem center!important;
  background-size: 16px 16px!important;
  font-size: 1em!important;
  border-radius: 0;
}
.chosen-container .chosen-results li {
  line-height: 25px!important;
}

.chosen-container-single .chosen-single div b {
  background: none!important;
}
.chosen-container-multi{ 
  border-radius: 0!important;
  background:none!important;
  box-shadow:none!important; 
  height: 2.5rem!important;
  background-color: #fff!important;
  line-height: 2.5rem!important;
}
.chosen-container-multi .search-choice{
  height: 2rem!important; 
  line-height: 2rem!important;
}
.form-select .dropdown-toggle{ 
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0;
  width: 100%;
  line-height: 1.7rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
}
.form-select .dropdown-toggle::after {
  display: none !important;
}

.fht-cell .filter-control .dropdown
{
  width: 100% !important;
  padding: 0;
}
.fht-cell .filter-control{
  width:100%;
  margin : 0!important;
}

.fht-cell .filter-control .dropdown .show{ 
  z-index: 999999;
}

.bootstrap-select.btn-group .dropdown-toggle .caret {
  width: 10px;
  height: 10px;
  border: none!important;
  font-family: 'Glyphicons Halflings'!important;
}

.bootstrap-select.btn-group .dropdown-toggle .caret:before {
  content: "\e003"!important;
}

.fileinput-upload-button , .btn-kv-rotate, .kv-file-rotate{
   display:none!important; 
}

#cardForm .card-header{
  margin: 0px!important;
  box-sizing: border-box!important;
  border-width: 0!important;
  border-style: solid!important;
  border-color: #e5e7eb!important;
  border-radius: 0!important;
  padding:15px!important;
  display:flex;
}

#cardForm .input-group-header{
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
} 

#cardForm .card-header h2{
  position: relative!important;
  display: flex!important;
  align-items: center!important;
  width: 100%!important;
  font-size: 1rem!important;
  text-align: left;
  border: 0;
  border-radius: 0;
  overflow-anchor: none; 
}
#cardForm .card-header h2 span
{
  padding-left: 10px!important;
}
#cardForm {
  border-radius: 0!important;
}

.pdf-header-bt{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 80px!important;
}

.button-icon-text{
  position: relative!important;
  display: flex!important;
  align-items: center!important;
  width: 100%!important;
  text-align: left;
}
.button-icon-text span{
  padding-left: 5px!important;
}

/* unvisited link */
table a:link {
  color: rgb(51, 137, 207);
}

/* visited link */
table a:visited {
  color: #1773ce;
}

/* mouse over link */
table a:hover {
  color: rgb(168, 163, 243);
  text-decoration: underline;
}

/* selected link */
table a:active {
  color: #4380b3;
  text-decoration: underline;
}

#table_data .detail-view td
{
  padding-left: 50px;
}
.sub-table td,.sub-table th{
  padding: .5rem .5rem!important;
}
.sub-table td{
  font-weight: normal!important;;
}

.tabel-header-sub{
  --bs-table-color: #fff;
    --bs-table-bg: #0945818b;
    --bs-table-border-color: #aad1ee;
    --bs-table-striped-bg: #0b4d80;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #0c3c60;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #6393b8;
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.table-with-sub td{
  font-weight: bold;
}

#table_toolbar{
  position: relative;
  display: -webkit-inline-box;
  vertical-align: middle;
}

#table_toolbar button{
  max-width:110px!important;
}

#kvFileinputModal{
  z-index: 99999!important;
}

#kvFileinputModal .modal-dialog{
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin)* 2);
}

#gotoTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #1773ce;
  opacity: .5; 
  color: white;
  cursor: pointer;
  padding: 10px 12px 4px;
  border-radius: 30px;
}

#gotoTopBtn:hover {
  background-color: #555;
  opacity: 1; 
}