@import url("./button.css");
@import url("./color.css");

:root{
  --bg-body: hsl(var(--col) 80% 20%);
}
.cms-bg-color{
  background-color: var(--bg-body);
}
html {
  height: 100%;
}

body {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--bg-body);
  background-image: linear-gradient(to right, hsl(var(--col) 60% 10%) , hsl(var(--col) 50% 35%)  );
}
.tooltip{
  position:absolute;
}
.table {
  --bs-table-striped-bg: hsl(var(--col) 90% 50% / 4%);
}

::placeholder {
  color: #bbb;
}
.width-20 {
  width: 20px !important;
}
.width-30 {
  width: 30px !important;
}
.width-60 {
  width: 60px !important;
}
.width-90 {
  width: 90px !important;
}

.width-120 {
  width: 120px !important;
}

.width-180 {
  width: 180px !important;
}

.width-240 {
  width: 240px !important;
}

.width-300 {
  width: 300px !important;
}

.width-360 {
  width: 360px !important;
}

.width-420 {
  width: 420px !important;
}

.width-480 {
  width: 480px !important;
}

.width-540 {
  width: 540px !important;
}

.width-600 {
  width: 600px !important;
}
.width-660 {
  width: 660px !important;
}
.width-720 {
  width: 720px !important;
}
.width-800 {
  width: 800px !important;
}
.width-900 {
  width: 800px !important;
}
.fn-1{font-size:0.7rem !important; }
.fn-2{font-size:0.8rem !important; }
.fn-3{font-size:0.9rem !important; }
.fn-4{font-size:1rem !important; }
.fn-5{font-size:1.1rem !important; }
.fn-6{font-size:1.2rem !important; }
.fn-7{font-size:1.3rem !important; }
.fn-8{font-size:1.4rem !important; }
.fn-9{font-size:1.5rem !important; }
.fn-10{font-size:1.6rem !important; }



.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.v-top {
  vertical-align: top;
}

.v-middle {
  vertical-align: middle;
}

.v-bottom {
  vertical-align: bottom;
}

.nowrap {
  white-space: nowrap;
}

.table th {
  font-weight: 500;
}

.center th {
  text-align: center;
}

td.action {
  white-space: nowrap;
}

.panel {
  width: fit-content;
  width: -moz-fit-content;
  margin: 2rem auto;
  min-width: 500px;
  font-size:0.9rem;
}

.panel-header {
  border-bottom: 1px solid #ffffff;
  background:hsl(var(--col) 100% 88% / 20%);
  border-radius: 3px 3px 0 0;
  margin: 0;
  color: #fff7;
}
.panel-header .btn{
  color:#fff;
}
.panel-body {
  background: #fff;
}

.panel-body .table {
  margin: 0;
}

.panel-footer {
  background: hsl(var(--col) 100% 98% / 95%);
  border-radius: 0 0 3px 3px;
  text-align: center;
}

.panel-header div,
.panel-footer div {
  padding: 6px 3px;
}

.panel-header .icon.back {
  color: hsl(var(--col) 90% 27%);
}

.panel-header .title {
  font-size: 1.5rem;
  font-weight: 400;
  color: hsl(var(--col) 87% 100%);
}

.panel-body .table th {
  text-align: center;
  font-style: italic;
  color: hsl(var(--col) 90% 27% / 70%);
  border-bottom: 0.1px solid hsl(var(--col) 90% 27% / 12%);
  border-bottom-color: hsl(var(--col) 90% 27% / 17%) !important;
}

.panel-body .table td {
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid hsl(var(--col) 43% 62% / 14%);
}

.panel-body .no {
  text-align: center;
}

.panel .input {
  border: 1px solid hsl(var(--col) 50% 86%);
  padding: 4px 6px;
  color: #444;
  outline: none;
  border-radius: 3px;
}

.panel .input:focus {
  border: 1px solid hsl(var(--col) 90% 27% / 40%);
}

.panel .update td.label,.panel .detail td.label {
  padding-left: 16px;
  font-size: 0.95rem;
  color: hsl(var(--col) 90% 27%);
  font-style: italic;
  background: hsl(var(--col) 64% 95%);
}

.update.panel-body, .detail.panel-body  {
  background: hsl(var(--col) 63% 97%);
}

select.input {
  min-width: 100px;
}

.form-check-input[type="checkbox"] {
  border-radius: 0.15em;
}

.form-check-input {
  border: 2px solid hsl(var(--col) 100% 36% / 56%);
}

.form-check-input:checked {
  background-color: hsl(var(--col) 100% 36%);
  border-color: hsl(var(--col) 100% 36% / 56%);
}

.form-check-input:focus {
  border-color: hsl(var(--col) 100% 36%);
  outline: 0;
  box-shadow: 0 0 0 0.25rem hsl(var(--col) 100% 36% / 27%);
}

label.all {
  padding: 4px 18px 4px 4px;
  margin: -4px -17px -4px 0px;
}

.lisitng-thumb .img-frame {
  display: inline-block;
  /* max-width: 100px;
        max-height: 100px; */
  margin: 0.3rem;
}
/* .lisitng-thumb img {
        max-width: 100%;
        max-height: 100%;
    } */

.lisitng-thumb-100 .img-frame img.loading {
  opacity: 0.2;
}

.img-frame:hover i {
  opacity: 1;
}

.img-frame i {
  position: absolute;
  color: #fff;
  margin-left: -20px;
  margin-top: 8px;
  cursor: pointer;
  opacity: 0.1;
}

.img-frame i:hover {
  opacity: 1;
  background: #00000021;
  outline: 3px solid #00000026;
}

.img-frame:hover {
  background: #000;
}

.img-frame img:hover {
  opacity: 0.7;
}

/* FORM Input */
.input-group.dropdown-toggle {
  background: #fff;
}
.input-group.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.25rem hsl(var(--col) 50% 86% / 51%);
}
.input-group.dropdown-toggle::after {
  border-top: 0.6em solid hsl(var(--col) 90% 27% / 53%);
  margin: 12px 8px 0 -17px;
}
.input-group.dropdown-toggle input {
  background: transparent;
  border: 0;
  outline: 0;
}
.input-group.dropdown-toggle input:focus {
  box-shadow: none !important;
}
.input-group.dropdown-toggle ul.dropdown-menu {
  transform: translate(0px, 36px) !important;
  padding: 4px 0;
  width: 100%;
}
.input-group.dropdown-toggle ul.dropdown-menu {
  border-radius: 0 0 3px 3px;
  border-color: hsl(var(--col) 90% 27% / 33%);
}

.dropdown .dropdown-menu{
  border-radius:0.1rem 0.1rem 0.25rem 0.25rem;
  margin: 0px;
  min-width: 100%;
}
.dropdown-item:focus,
.dropdown-item:hover {
  color: #222222;
  background-color: hsl(var(--col) 36% 96%);
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: hsl(var(--col) 90% 27%);
}
:focus-visible {
  outline: 1px solid hsl(var(--col) 90% 20% / 25%);
}
.cms.navbar-dark .navbar-nav .nav-link.active, 
.cms.navbar-dark .navbar-nav .show>.nav-link {
  color: #fff;
  background: hsl(var(--col) 69% 18%);
}
.cms .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}
.cms .nav-item .dropdown-menu{
  background-color: #fff;
  min-width: calc(100% + 1px);
  padding-top: 2px;
}
.cms .nav-item .dropdown-item{
  color: #616161;
  padding: 0.4rem 1rem;
  font-weight: 400;
}
.cms .nav-item .dropdown-item:hover{
  color: #fff;
  background-color: hsl(var(--col) 70% 34%);
}
.cms .nav-item .dropdown-item.active{
  color: hsl(var(--col) 60% 33%);
  background-color: hsl(var(--col) 30% 95%);
  font-weight: 500;
}
.cms .navbar-nav .btn-check:focus+.btn, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem hsl(var(--col) 90% 27% / 0%);
}
.cms.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(255,255,255,.75);
  background: #0000007a;
}

.confirm .modal-dialog{
margin-top: -50px;
}
.confirm .modal-header{
  border-bottom:0;
  padding: 0.5rem 1rem;
}
.confirm .modal-footer{
  border-top:0;
}

.modal-content{
  border-radius:0.5rem;
}
.modal-header{
  padding: 0.7rem 1rem;
  background-color: #f6f6f6;
}
.paging{
  display:inline-flex;
  align-items: center;
}
.paging .items{
  text-decoration: none;
  display: block;
  color: hsl(var(--col) 60% 47%);
  padding: 1px 5px;
  border: 1px solid hsl(var(--col) 50% 89%);
  margin: 1px;
  background: #ffffff4f;
}
.paging .items.active,
.paging .items:hover{
  background:hsl(var(--col) 37% 73%);
  color:#fff;
}

.clear-input{
  background: #fff6 !important;
  border: none !important;
}
.dropdownSearch{
  height:0;
  position:absolute;
}
.form-floating.dropdown ul.dropdown-item{
  font-size:0.9rem;
}
.panel-footer-dark {
  background: hsl(var(--col) 100% 75% / 20%);
  border-radius: 0 0 7px 7px;
  overflow: hidden;
}
.sorting{
  cursor: pointer;
}
.sorting:hover{
  background-color: hsl(var(--col) 96% 98%);
}
.sorting.active{
  border-outline:1px solid hsl(var(--col) 50% 60%);
}