/*
 default template css
*/
body {
  padding-bottom: 0;
}

/*******************************************************************************************/
/* Set padding to keep content from hitting the edges */

.body-content {
  position: relative;
  height: auto;
}

.body-content-home {
  position: relative;
  min-height: 100vh;
  min-height: -webkit-calc(100vh - 24px);
  min-height: -moz-calc(100vh - 24px);
  min-height: calc(100vh - 24px);
}

footer {
}

.bg-darkblue {
  background-color: #536a81;
  color: white;
}

.bg-darkblue .navbar-nav .nav-link,
.bg-darkblue .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

.bg-darkblue .navbar-nav .nav-link:focus,
.bg-darkblue .navbar-nav .nav-link:hover {
  color: rgba(26, 188, 156, 1);
}

.bg-lightblue {
  background-color: rgb(34, 121, 148) !important;
}

.bg-lightblue .navbar-nav .nav-link,
.bg-lightblue .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

.bg-lightblue .navbar-nav .nav-link:focus,
.bg-lightblue .navbar-nav .nav-link:hover {
  color: rgba(26, 188, 156, 1);
}

.bg-lightblue2 {
  background-color: rgb(33, 153, 202) !important;
}

.bg-lightblue2 .navbar-nav .nav-link,
.bg-lightblue .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

.bg-lightblue2 .navbar-nav .nav-link:focus,
.bg-lightblue .navbar-nav .nav-link:hover {
  color: rgba(1, 69, 120, 1);
}

.breadcrumb {
  background-color: #eef4ff;
  margin-top: 7px;
}

#toolbars-view {
  margin-top: 5px;
}

.text-red-light {
  color: rgba(228, 96, 109, 1) !important;
}

/*******************************************************************************************/
/* override */
nav {
  min-height: 46px;
}

.navbar {
  padding: 0;
}

.navbar > dl,
ol,
ul {
  margin-top: 0;
}

.navbar .navbar-brand {
  margin-top: 0;
  font-weight: bold;
}

.navbar .navbar-brand:hover {
  color: #1dc116;
}

.navbar .navbar-brand img {
  margin-top: 0.1rem;
}

.navbar #navbar-right {
  margin: 0.25rem 0;
}

.navbar .dropdown-toggle::after {
  /*vertical-align: unset;*/
}

.navbar .dropdown-menu {
  /*    background-color: #f8d7da;
        margin: 0 2.70rem;*/
}

.navbar .dropdown-item:hover {
  background-color: rgb(194, 219, 235);
  background-color: #c0d4f8;
  color: #000000;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #16181b;
  text-decoration: none;
  background-color: #a3c1f5;
}

.table-responsive {
  display: table;
}

.table-container {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 575px;
  overflow-x: auto;
  overflow-y: auto;
}

.table-container th {
  position: sticky;
  top: 0;
  z-index: 20;
}

.table-grid-data > tbody > tr > th:first-child {
  position: sticky;
  left: 0;
  top: 0;
}

.table-grid-data > tbody > tr > td:first-child {
  position: sticky;
  left: 0;
  background-color: #fff;
}

.page-item.active .page-link {
  background-color: #6c757d;
  border-color: #6c757d;
}

.page-link {
  color: #6c757d;
}

#data-form {
  margin-top: 8px;
}

.data-form-wraper {
  background-color: rgb(235 233 251);
  background-color: rgb(233 242 251 / 70%);
}

.index-container {
  background-color: #28a745;
  border-bottom: 1px #24993f solid;
}

.modal {
  overflow: auto !important;
}

/* ------------------------------------ Password View ------------------------------------------------ */

/* Login eye */
.eye-password {
  text-align: center;
  width: 0em;
  margin-top: 9px;
  color: #000000;
  font-size: 20px;
  position: relative;
  left: -33px;
  /* ปรับเป็นค่าลบเพื่อขยับไปทางซ้าย */
}

.field-icon {
  float: right;
  margin-top: -27.3px;
}

/* After Change Password  */
.fa-toggle-on:before {
  content: "\f205";
  color: #28a745;
  font-size: 20px;
}

button:focus {
  outline: none;
  border-color: transparent;
}

/* before Change Password */
.fa-toggle-off:before {
  font-size: 20px;
  position: relative;
  left: 0px;
  /* ปรับเป็นค่าลบเพื่อขยับไปทางซ้าย */
}

.btn_changepwd {
  padding: 6px 13px 3px 15px;
  background-color: #99e6e9;
  border: 2px solid rgb(0 0 0 / 0%);
  overflow: hidden;
}

/* ------------------------------------ End Change Password View --------------------------------------------- */

/* เพิ่ม */
.bg-secondary {
  background-color: #015277 !important;
}

#head_card {
  background-color: #054077 !important;
  color: #fff;
  border: none !important;
}

.btn-secondary {
  color: #fff;
  background-color: #015277;
  border-color: #015277;
}

.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary:not(:disabled):not(.disabled):active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #015277;
  border-color: #015277;
}

.page-item.active .page-link {
  background-color: #015277;
  border-color: #015277;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #000000;
  text-decoration: none;
  background-color: #a3c1f5;
}

.dropdown-item:hover,
.dropdown-item:hover {
  background-color: #cbe9fd;
}

.bg-table-shadow {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#search-normal-refresh-button {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

#search-normal-refresh-button i {
  color: #ffffff !important;
}

#advance-search-button {
  color: #ffffff;
  background-color: #ffc107;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#sort-button {
  color: #ffffff;
  background-color: #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#add-button {
  color: #ffffff;
  background-color: #28a745;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#print-button {
  color: #ffffff;
  background-color: #17a2b8;
  border-radius: 50%;
  width: 41px;
  height: 40px;
}

#export-button {
  color: #ffffff;
  background-color: #dc3545;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#export-all-button {
  color: #ffffff;
  background-color: #015277;
  border-radius: 50%;
  width: 41px;
  height: 40px;
  border-color: #015277 !important;
}

#search-normal-button {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
}

#search-normal-button i {
  color: #ffffff !important;
}

#advance-search-button:hover,
#sort-button:hover,
#add-button:hover,
#print-button:hover,
#export-button:hover,
#export-all-button:hover {
  transform: scale(1.1);
}

#search-normal-button:hover {
  background-color: #218838 !important;
  border-color: #218838 !important;
}

#search-normal-refresh-button:hover {
  background-color: #c82333 !important;
  border-color: #c82333 !important;
}

#viewlist-select-button:hover,
#viewcard-select-button:hover {
  background-color: #6dacc9 !important;
}

#viewlist-select-button {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

#viewcard-select-button {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

#export-all-button:hover {
  background-color: #6dacc9 !important;
  border-color: #6dacc9 !important;
}

.breadcrumb-item.active {
  color: #57a0e1;
}

.breadcrumb a {
  color: #6c757d !important;
  text-decoration: none;
  background-color: transparent;
}

.bg-dark {
  background: linear-gradient(270deg, #f79797, #9fcefd);
}

/* ------------------------------------------------ List_zbl_land_view ------------------------------------------------ */
.div_main {
  width: 100%;
  height: 100%;
}

.div_asset {
  width: 100%;
}

.div_asset_head {
  width: 100%;
}

.div_asset_data {
  width: 100%;
}

.head_land {
  background-color: #808080;
}

.head_house {
  background-color: #008040;
}

.head_sign {
  background-color: #0080c0;
}

.ui-jqgrid tr {
}

.table_data_land tr {
  cursor: pointer;
}

.ui-jqgrid tr:hover {
  background-color: #b7e8ff;
}

.ui-jqgrid_act {
  background-color: #aee4ff !important;
}

.ui-jqgrid_act td {
  color: #222222 !important;
}

.ui-th-column {
  font-size: 14px;
}

table {
  border-spacing: 0px;
  border-collapse: separate;
}

td {
  font-family: sans-serif;
  font-size: 14px;
}

.link_num {
  width: 50px;
  text-align: center;
}

.link_edit {
  min-width: 50px;
  text-align: left;
  border: 1px solid #ff8000;
  background-color: #ffad5b;
  cursor: pointer;
}

.link_refresh {
  color: #eb6705;
  border: 1px #eb6705 solid;
  border-radius: 4px;
  background-color: #fff1e8;
  padding-left: 5px;
  padding-right: 5px;
  box-shadow: 2px 1px #444444;
}

.link_refresh:hover {
  background-color: #ff8635;
  color: #ffffff;
}

.link_refresh:link {
  text-decoration: none;
}

.tr_cancel {
  background: #ffcae0;
}

.tr_new {
  background: #c6ffc6;
}

.tr_edit {
  background: #a2ddfd;
}

.tr_normal {
  background: #ffffff;
}

.div_list_data {
  padding-left: 5px;
}

.ui-th-ltr {
  background-image: linear-gradient(#aaaaaa, #eeeeee);
  font-weight: bold;
  border-right: 1px #aaaaaa solid;
}

.td_l_head {
  background-color: #ffd966;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_l_head {
  background-color: #ffd966;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_l_main {
  background-color: #fff2cc;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_h_head {
  background-color: #c6e0b4;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_h_main {
  background-color: #e2efda;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_s_head {
  background-color: #afe6fa;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.td_s_main {
  background-color: #dff4fd;
  border-right: 1px solid #000000;
  padding-left: 4px;
  padding-right: 4px;
}

.div_main {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
}

.div_asset {
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.div_asset_head {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  background-color: #015277;
  color: #fff;
  font-weight: bold;
}

.div_asset_head input[type="text"],
.div_asset_head input[type="button"] {
  margin-left: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.div_asset_head input[type="button"] {
  background-color: #c6eac2;
  color: rgb(0, 0, 0);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 90px;
}

.div_asset_head input[type="button"]:hover {
  background-color: #498542;
  color: rgb(255, 255, 255);
}

.link_refresh {
  margin-left: auto;
  color: #2196f3;
  background-color: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 4px;
  padding: 4px 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  transition: 0.2s;
}

.link_refresh:hover {
  background-color: #1976d2;
  color: white;
}

.div_asset_data {
  padding: 10px 16px;
  background-color: #dce7ef;
}

.table_data_land tr:hover {
  background-color: #e0f7fa;
  cursor: pointer;
}

.tr_cancel {
  background-color: #ffebee;
}

.tr_new {
  background-color: #e8f5e9;
}

.tr_edit {
  background-color: #e3f2fd;
}

/* ------------------------------------------------ List_zbl_land_view ------------------------------------------------ */

.text-white {
  color: #ffffff !important;
}

.bg-info {
  background: linear-gradient(to right, #83bcf1, #fdd6d6) !important;
}
.alert-info {
  color: #5f5f5f;
  background: linear-gradient(to right, #83bcf1, #fdd6d6) !important;
  border: none;
}

.alert-warning {
  background: linear-gradient(to right, #83bcf1, #fdd6d6) !important;
}

.alert-warning {
  color: #7b7153;
  background-color: #fff3cd;
  border-color: #b0bfe1;
}
