@charset "UTF-8";

/**
* ==========================
* Application styles
* ==========================
*/

body {
  font-family: "Noto Sans JP", sans-serif !important;
}

/* noto-sans-jp-regular - latin_japanese */
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../css/webfonts/noto-sans-jp-v28-latin_japanese-regular.woff2") format("woff2"), /* Chrome 26+, Opera 23+, Firefox 39+ */ url("../css/webfonts/noto-sans-jp-v28-latin_japanese-regular.woff") format("woff");
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  font-display: swap;
}

.full-width {
    width: 100%;
}

/** Spinner**/
.spinner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8) !important;
  background-image: url("../img/loading.svg");
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 999;
  display: none;
}

/** Tables**/

.xs-tbl-col {
  width: 5px !important;
  min-width: 5px;
}

.xs-tbl-col-2 {
  width: 10px !important;
  min-width: 10px;
}

.xs-tbl-col-3 {
  width: 15px !important;
  min-width: 15px;
}

.xs-tbl-col-4 {
  width: 20px !important;
  min-width: 20px;
}

.xs-tbl-col-5 {
  width: 25px !important;
  min-width: 25px;
}

.md-tbl-col {
  width: 30px !important;
  min-width: 30px;
}

.md-tbl-col-2 {
  width: 40px !important;
  min-width: 40px;
}

.md-tbl-col-3 {
  width: 50px !important;
  min-width: 50px;
}

.md-tbl-col-4 {
  width: 60px !important;
  min-width: 60px;
}

.md-tbl-col-5 {
  width: 70px !important;
  min-width: 70px;
}

.lg-tbl-col {
  width: 100px !important;
  min-width: 100px;
}

.xl-tbl-col {
  width: 200px !important;
  min-width: 200px;
}

th.detail {
  background: #007bff !important;
  background-color: #007bff !important;
}

th.bs-checkbox {
  background: #007bff !important;
  background-color: #007bff !important;
}

/** Footer**/
.card-footer {
  background: rgb(255, 255, 255);
}

/** Selects**/
.select2 {
  width: 100% !important;
}

.select2-selection[aria-expanded="false"] {
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

/** Sidebar**/
.treeview > li > a > .fas {
  margin-left: 15px;
}

.hidden-elem {
  display: none !important;
}

.success-page {
  margin: 20px auto 0;
  width: 600px;
}

@media (max-width: 767.98px) {
  .success-page {
    width: 100%;
  }
}

.success-page > .headline {
  float: left;
  font-size: 100px;
  font-weight: 300;
}

@media (max-width: 767.98px) {
  .success-page > .headline {
    float: none;
    text-align: center;
  }
}

.success-page > .success-content {
  display: block;
  margin-left: 190px;
}

@media (max-width: 767.98px) {
  .success-page > .success-content {
    margin-left: 0;
  }
}

.success-page > .success-content > h3 {
  font-size: 25px;
  font-weight: 300;
}

@media (max-width: 767.98px) {
  .success-page > .success-content > h3 {
    text-align: center;
  }
}

.inactive-link {
  pointer-events: none;
  cursor: default;
}

/*Select2 ReadOnly Start*/
select[data-readonly="true"].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[data-readonly="true"].select2-hidden-accessible + .select2-container .select2-selection {
  background: #eee;
  box-shadow: none;
}

body.dark-mode select[data-readonly="true"].select2-hidden-accessible + .select2-container .select2-selection {
  background: #343a40;
  box-shadow: none;
}

select[data-readonly="true"].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[data-readonly="true"].select2-hidden-accessible + .select2-container .select2-selection__clear {
  display: none;
}
.select2-selection__clear {
  color: #dcd6d6;
}
/*Select2 ReadOnly End*/

.colorpicker-input-addon {
  display: inline-block;
  cursor: pointer;
  vertical-align: text-top;
  height: 24px;
  width: 24px;
  position: relative;
}

body.dark-mode .colorpicker-input-addon {
  display: inline-block;
  cursor: pointer;
  vertical-align: text-top;
  height: 24px;
  width: 24px;
  position: relative;
  background-color: #343a40;
}

.colorpicker-input-addon:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: text-top;
  background: linear-gradient(to right, red, green, blue);
  background-size: 24px 24px;
  background-position: 0 0, 5px 5px;
}

/** darkmode modals **/
body.dark-mode div.swal2-html-container {
  color: white;
}
