/* ========================================================
   Fitur Disabilitas / Accessibility Tools - DPUPR Wonosobo
   ======================================================== */

.greyscaleall {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.toolbar-disabilitas {
  position: fixed;
  top: 25%;
  left: 0;
  z-index: 9999;
  height: auto;
  width: auto;
  text-align: center;
  background: transparent !important;
  background-color: transparent !important;
}

.toolbar-disabilitas .groupcontenttoolbar {
  transform: translateX(-190px);
  transition: transform 0.4s ease-in-out;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  height: auto;
  background-color: transparent !important;
}

.toolbar-disabilitas.show-toolbar .groupcontenttoolbar {
  transform: translateX(0px);
}

.toolbar-disabilitas .open-toolbar {
  margin-top: 5px;
  padding: 8px 6px;
  height: 48px;
  width: 48px;
  border: none;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  background: #14206f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.toolbar-disabilitas .open-toolbar:hover {
  background: #0d164d;
  transform: scale(1.05);
}

.contenttoolbar_disabilitas {
  margin-top: 0;
  padding-top: 15px;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  height: max-content;
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid #14206f;
  border-left: none;
  border-radius: 0 0 8px 0;
  box-shadow: 2px 10px 20px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
  width: 190px;
  word-break: break-word;
  box-sizing: border-box;
}

.titletools {
  font-size: 13px !important;
  font-weight: bold;
  margin-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  color: #14206f;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-container {
  margin-bottom: 10px;
  text-align: center;
}

.mycheckbox {
  font-size: 12px;
  color: black;
  font-weight: 500;
}

.btn-color-mode-switch {
  display: inline-block;
  margin: 0px;
  position: relative;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner {
  margin: 0px;
  width: 165px;
  height: 26px;
  background: #E0E0E0;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: block;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner:before {
  content: attr(data-on);
  cursor: pointer;
  position: absolute;
  font-size: 11px;
  font-weight: bold;
  top: 5px;
  right: 20px;
  margin-bottom: 5px;
  color: #333;
}

.btn-color-mode-switch > label.btn-color-mode-switch-inner:after {
  content: attr(data-off);
  cursor: pointer;
  width: 82px;
  height: 22px;
  font-size: 11px;
  background: #fff;
  border-radius: 26px;
  position: absolute;
  left: 2px;
  top: 2px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 6px -2px #111;
  padding: 2px 0px;
  margin-bottom: 10px;
  color: #14206f;
}

.btn-color-mode-switch input[type="checkbox"] {
  cursor: pointer;
  width: 70px;
  height: 25px;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  padding: 2px 0px;
  margin: 0px;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner {
  background: #E0E0E0;
  color: black;
  font-weight: bold;
  font-size: 11px;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:after {
  content: attr(data-on);
  left: 81px;
  background: white;
  font-weight: bold;
  font-size: 11px;
  color: #14206f;
}

.btn-color-mode-switch input[type="checkbox"]:checked + label.btn-color-mode-switch-inner:before {
  content: attr(data-off);
  right: auto;
  left: 15px;
  color: #333;
  font-weight: bold;
  font-size: 11px;
}

.bodytools {
  left: 0;
  height: max-content;
  width: 100%;
  margin-bottom: 5px;
}

.subtitletools {
  font-size: 12px !important;
  margin-bottom: 3px;
  cursor: pointer;
  left: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  padding: 6px 12px;
  text-align: left;
  color: #212529;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.subtitletoolsactive {
  background-color: #14206f;
  font-size: 12px !important;
  margin-bottom: 3px;
  cursor: pointer;
  left: 0;
  padding: 6px 12px;
  text-align: left;
  color: #ffffff !important;
  font-weight: bold;
}

.subtitletoolsactive svg {
  color: #ffc107 !important;
}

.subtitletools:hover,
.subtitletools:focus {
  background-color: #f1f3f9;
  color: #14206f;
  font-weight: bold;
}

.flexrowdata {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
  width: 100%;
}

.flexrowdata span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}

.aksestexttools {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.2;
}

.fontawesomesvg {
  display: inline-block;
  vertical-align: middle;
}

@media only screen and (max-width: 900px) {
  .toolbar-disabilitas {
    top: 20%;
  }
}
