body {
  margin: 1%;
  background-color: rgb(170, 187, 204, 0.05);
  color: rgb(52, 58, 64);
  overflow: hidden;
  transition:
    background-color 0.3s,
    color 0.3s;
}
#outer_container {
  background-color: #ffffff;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  max-width: 1280px;
  position: relative;
  transition: background-color 0.3s;
}

/* ----------------------------------------- Header ----------------------------------------- */
#header {
  padding: 0.75rem 0.75rem 0 0.75rem;
  border-radius: 4px 4px 0 0;
}
#controls {
  flex-shrink: 0;
}
#controls button {
  border: 0;
}
#controls button i {
  color: rgb(52, 58, 64);
  transition: color 0.3s;
}
#controls button:focus-visible {
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

/* ------------------------------------------ Main ------------------------------------------ */
#main {
  max-width: 1280px;
  padding: 0.5rem;
}
#inner_container {
  overflow-y: auto;
  background-color: #fff;
}
#inner_container img:not(.h5p-content img) {
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}
.shadow-img {
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}
.btn-move-down:active {
  transform: translateY(4px);
  transition: 0.3s;
}
.text-just {
  text-align: justify;
}

.modal-footer .btn {
  border: 0;
}

/* ---------------------------------------- Fieldset ---------------------------------------- */
fieldset.fieldset-original {
  min-width: min-content;
  padding: 0.35em 0.75em 0.625em 0.25em;
  margin: 2px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
fieldset.fieldset-original legend {
  float: none;
  width: fit-content;
  margin-bottom: 0;
  padding: 0 5px;
}

/* --------------------------------------- Scroll Bars -------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: rgb(109, 117, 125, 0.6);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgb(109, 117, 125, 0.8);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgb(109, 117, 125);
}

/* ---------------------------------------- Dark Mode --------------------------------------- */
body.dark-mode {
  background-color: #2c2c2c;
  color: #e0e0e0;
}
body.dark-mode #outer_container {
  background-color: #3a3a3a;
}
body.dark-mode #controls button i {
  color: #e0e0e0;
}
body.dark-mode #inner_container {
  overflow-y: auto;
  background-color: #3a3a3a;
}
body.dark-mode ::-webkit-scrollbar-thumb {
  background-color: #5a5a5a;
}
body.dark-mode .form-control,
body.dark-mode select {
  background-color: #3a3a3a;
  color: #e0e0e0;
  border-color: #495057;
}
body.dark-mode .input-group-text {
  background-color: #303030;
  color: #e0e0e0;
  border-color: #495057;
}
body.dark-mode .form-control::placeholder {
  color: #e0e0e0;
  opacity: 1;
}
body.dark-mode .form-control::-ms-input-placeholder {
  color: #e0e0e0;
}
/* ------------------------------------- Dark Mode Links ------------------------------------ */
body.dark-mode a {
  color: #6ea8fe !important;
}
body.dark-mode a:hover {
  color: #8bb9fe !important;
}
/* -------------------------------- Dark Mode Bootstrap Colors ------------------------------ */
body.dark-mode .text-primary {
  color: #6ea8fe !important;
}
body.dark-mode .text-secondary {
  color: #a7acb1 !important;
}
body.dark-mode .text-success {
  color: #75b798 !important;
}
body.dark-mode .text-info {
  color: #6edff6 !important;
}
body.dark-mode .text-warning {
  color: #ffda6a !important;
}
body.dark-mode .text-danger {
  color: #ea9097 !important;
}
body.dark-mode .text-light {
  color: #f8f9fa !important;
}
body.dark-mode .text-dark {
  color: #dee2e6 !important;
}
body.dark-mode .bg-primary {
  background-color: #031633 !important;
}
body.dark-mode .bg-secondary {
  background-color: #161719 !important;
}
body.dark-mode .bg-success {
  background-color: #051b11 !important;
}
body.dark-mode .bg-info {
  background-color: #032830 !important;
}
body.dark-mode .bg-warning {
  background-color: #332701 !important;
}
body.dark-mode .bg-danger {
  background-color: #2c0b0e !important;
}
body.dark-mode .bg-light {
  background-color: #343a40 !important;
}
body.dark-mode .bg-dark {
  background-color: #1a1d20 !important;
}
body.dark-mode .border-primary {
  border-color: #084298 !important;
}
body.dark-mode .border-secondary {
  border-color: #41464b !important;
}
body.dark-mode .border-success {
  border-color: #0f5132 !important;
}
body.dark-mode .border-info {
  border-color: #087990 !important;
}
body.dark-mode .border-warning {
  border-color: #997404 !important;
}
body.dark-mode .border-danger {
  border-color: #842029 !important;
}
body.dark-mode .border-light {
  border-color: #495057 !important;
}
body.dark-mode .border-dark {
  border-color: #343a40 !important;
}
body.dark-mode .btn-light {
  background-color: #303030;
  color: #e0e0e0;
  border-color: #495057 !important;
}
body.dark-mode .btn-light:hover {
  background-color: #424649;
  color: #e0e0e0;
  border-color: #373b3e;
}
body.dark-mode .btn-light.active {
  background-color: #4d5154;
  color: #e0e0e0;
  border-color: #373b3e;
}
body.dark-mode .accordion-item {
  border-color: #495057 !important;
}
body.dark-mode .accordion-button {
  background-color: #303030;
  color: #e0e0e0;
  border-color: #495057 !important;
}
body.dark-mode .accordion-button:after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e0e0e0'%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='%236ea8fe'%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") */
}
body.dark-mode .accordion-button:hover {
  background-color: #3f3f3f;
}
body.dark-mode .accordion-body {
  background-color: #353535;
  color: #e0e0e0;
}
/* ------------------------------------ Dark Mode Modals ------------------------------------ */
body.dark-mode .modal-content {
  background-color: #3a3a3a;
  color: #e0e0e0;
  border: none;
  transition:
    background-color 0.3s,
    color 0.3s;
}
body.dark-mode .modal-header {
  background-color: #2c2c2c;
  border-bottom: 1px solid #555555;
  transition:
    background-color 0.3s,
    border-bottom 0.3s;
}
body.dark-mode .modal-header .modal-title {
  color: #ffffff;
  transition: color 0.3s;
}
body.dark-mode .modal-body {
  background-color: #3a3a3a;
  color: #e0e0e0;
  transition:
    background-color 0.3s,
    color 0.3s;
}
body.dark-mode .modal-footer {
  background-color: #2c2c2c;
  border-top: 1px solid #555555;
  transition:
    background-color 0.3s,
    border-top 0.3s;
}
body.dark-mode .modal-footer .btn-secondary {
  background-color: #555555;
  color: #ffffff;
  transition:
    background-color 0.3s,
    color 0.3s;
}
body.dark-mode .modal-footer .btn-secondary:hover {
  background-color: #666666;
}
body.dark-mode .btn-close {
  filter: invert(1);
  transition: filter 0.3s;
}
body.dark-mode .modal-body a {
  color: #9ecfff;
  transition: color 0.3s;
}
body.dark-mode .modal-body a:hover {
  color: #70a1ff;
}
.modal-content,
.modal-header,
.modal-body,
.modal-footer {
  transition:
    background-color 0.3s,
    color 0.3s;
}
/* ---------------------------------- Dark Mode Scroll Bars --------------------------------- */
body.dark-mode ::-webkit-scrollbar-track {
  background-color: #535353;
}
body.dark-mode ::-webkit-scrollbar-thumb {
  background-color: rgb(199, 199, 199, 0.6);
}
body.dark-mode ::-webkit-scrollbar-thumb:hover {
  background-color: rgb(199, 199, 199, 0.8);
}
body.dark-mode ::-webkit-scrollbar-thumb:active {
  background-color: rgb(199, 199, 199);
}
/* -------------------------------------- Dark Mode eme ------------------------------------- */
body.dark-mode .h5p-question {
  background: #3a3a3a;
  transition: color 0.3s;
}

/* -------------------------------------------e-me ------------------------------------------ */
#fullscreen-btn {
  /* position: absolute;
	right: 22px; */
  position: sticky;
  float: right;
  bottom: 10px;
  color: #000;
  z-index: 1000;
  font-size: 1em;
  text-shadow: 3px 2px 1px #fff;
}
#fullscreen-btn .bi-arrows-fullscreen {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  padding: 5px;
  width: 2em;
  height: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Addition css here */
