html,
body {
  font-size: 1em;
  font-family: "Verdana", sans-serif
}

h1 {
  font-size: 2em;
  font-family: "Segoe UI", sans-serif
}
h2 {
  font-size: 1.5em;
  font-family: "Segoe UI", sans-serif
}
h3 {
  font-size: 1.17em;
  font-family: "Segoe UI", sans-serif
}
h4 {
  font-size: 1em;
 font-family: "Segoe UI", sans-serif
}
h5 {
  font-size: 0.83em;
  font-family: "Segoe UI", sans-serif
}
h6 {
  font-size: 0.67 em;
  font-family: "Segoe UI", sans-serif
}

.w3-theme-l5 {
  color: #000 !important;
  background-color: #ebebde !important
}

.w3-theme-l4 {
  color: #000 !important;
  background-color: #e5e5df !important
}

.w3-theme-l3 {
  color: #000 !important;
  background-color: #cacac0 !important
}

.w3-theme-l2 {
  color: #000 !important;
  background-color: #b0b0a0 !important
}

.w3-theme-l1 {
  color: #fff !important;
  background-color: #959580 !important
}

.w3-theme-d1 {
  color: #fff !important;
  background-color: #6c6c5a !important
}

.w3-theme-d2 {
  color: #fff !important;
  background-color: #606050 !important
}

.w3-theme-d3 {
  color: #fff !important;
  background-color: #545446 !important
}

.w3-theme-d4 {
  color: #fff !important;
  background-color: #48483c !important
}

.w3-theme-d5 {
  color: #fff !important;
  background-color: #3c3c32 !important
}

.w3-theme-light {
  color: #000 !important;
  background-color: #f7f7f5 !important
}

.w3-theme-dark {
  color: #fff !important;
  background-color: #3c3c32 !important
}

.w3-theme-action {
  color: #fff !important;
  background-color: #3c3c32 !important
}

.w3-theme {
  color: #fff !important;
  background-color: #777764 !important
}

.w3-text-theme {
  color: #777764 !important
}

.w3-border-theme {
  border-color: #777764 !important
}

.w3-hover-theme:hover {
  color: #fff !important;
  background-color: #777764 !important
}

.w3-hover-text-theme:hover {
  color: #777764 !important
}

.w3-hover-border-theme:hover {
  border-color: #777764 !important
}

.w3-button:hover {
  color: #000 !important;
  background-color: #ebebde !important
}

.sd-color-background {
  color: #000 !important;
  background-color: #f4f4f2 !important
}

.sd-color-transparent {
  color: #000 !important;
  background-color: transparent !important
}

.sd-color-primary {
  color: #fff !important;
  background-color: #777764 !important
}

.sd-color-primaryContainer {
  color: #000 !important;
  background-color: #ebebde !important
}

.sd-color-secondary {
  color: #000 !important;
  background-color: #ebebde !important
}

.sd-color-secondaryContainer {
  color: #000 !important;
  background-color: #91f4e8 !important
}

.sd-color-tertiary {
  color: #000 !important;
  background-color: #4f4747 !important
}

.sd-color-tertiaryContainer {
  color: #000 !important;
  background-color: #8ff3f2 !important
}

.sd-color-appBarColor {
  color: #000 !important;
  background-color: #91f4e8 !important
}

.sd-color-error {
  color: #000 !important;
  background-color: #b00020 !important
}


.sd-color-schemeErrorContainer {
  color: #000 !important;
  background-color: #FCD8DF !important
}

.sd-color-schemeOnSurface {
  color: #fff !important;
  background-color: #131312 !important
}

.sd-color-schemeOnSurfaceVariant {
  color: #fff !important;
  background-color: #242424 !important
}

.sd-color-schemeInverseSurface {
  color: #fff !important;
  background-color: #191917 !important
}

.sd-color-schemePrimaryLight {
  color: #000 !important;
  background-color: #ADADA2 !important
}


/*schemeOutline*/
.sd-color-CardBorder {
  color: #000 !important;
  background-color: #62625C !important
}

/*schemeShadow*/
.sd-color-Shadow {
  color: #fff !important;
  background-color: #000000 !important
}

/*schemeSurface*/
.sd-color-ExpandableStart {
  color: #000 !important;
  background-color: #F4F4F2 !important
}

/*schemeOnInverseSurface*/
.sd-color-ExpandableSecond {
  color: #000 !important;
  background-color: #ECECEC !important
}

.sd-color-ListViewSecond {
  color: #000 !important;
  background-color: #ECECEC !important
}

.sd-color-colorSearchSecond {
  color: #000 !important;
  background-color: #ECECEC !important
}

/*schemeSurfaceVariant*/
.sd-color-ExpandableHeaderBackground {
  color: #000 !important;
  background-color: #E9E9E6 !important
}

/*schemeFloatingButton*/
.sd-color-CurrentVerse {
  color: #000 !important;
  background-color: #EBEBDE !important
}

/*schemeInversePrimary*/
.sd-color-ListViewInfo {
  color: #000 !important;
  background-color: #F1F1E9 !important
}

.sd-color-colorHighlight {
  color: #000 !important;
  background-color: #E6EE9C !important
}

.sd-color-colorCardWiladat {
  color: #000 !important;
  background-color: #C8E6C9 !important
}

.sd-color-colorCardEid {
  color: #000 !important;
  background-color: #F0F4C3 !important
}

.sd-color-colorCardWafat {
  color: #000 !important;
  background-color: #FFCCBC !important
}

.sd-color-colorCardOther {
  color: #000 !important;
  background-color: #D7CCC8 !important
}

.material-icons {
  position: relative;
  /* Adjust these values accordingly */
  top: 5px;
  left: 5px;
}

@font-face {
  font-family: Scheherazade;
  src: url(Scheherazade-Regular.ttf);
  font-weight: regular;
}

@font-face {
  font-family: Me_Quran;
  src: url(me_quran.ttf);
  font-weight: regular;
}

body {
  background-color: #f4f4f2;
}

#arabic {
  accent-color: #777764;
}

#transliteration {
  accent-color: #777764;
}

#translation {
  accent-color: #777764;
}

#analytic {
  accent-color: #777764;
}

#personalized {
  accent-color: #777764;
}

br {
  display: block;
  /* makes it have a width */
  content: "";
  /* clears default height */
  margin-top: 5px;
  /* change this to whatever height you want it */
}

input[type=range] {
  height: 21px;
  -webkit-appearance: none;
  background: #f4f4f2;
  margin: 10px 0;
  width: 70%;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  /*animate: 0.2s;*/
  box-shadow: 0px 0px 0px #000000;
  background: #777764;
  border-radius: 5px;
  border: 0px solid #000000;
}

input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #EBEBDE;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: #777764;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  /*animate: 0.2s;*/
  box-shadow: 0px 0px 0px #000000;
  background: #777764;
  border-radius: 5px;
  border: 0px solid #000000;
}

input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #EBEBDE;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  /*animate: 0.2s;*/
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type=range]::-ms-fill-lower {
  background: #777764;
  border: 0px solid #000000;
  border-radius: 10px;
  box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-fill-upper {
  background: #777764;
  border: 0px solid #000000;
  border-radius: 10px;
  box-shadow: 0px 0px 0px #000000;
}

input[type=range]::-ms-thumb {
  margin-top: 1px;
  box-shadow: 0px 0px 0px #000000;
  border: 1px solid #2497E3;
  height: 14px;
  width: 14px;
  border-radius: 14px;
  background: #EBEBDE;
  cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
  background: #777764;
}

input[type=range]:focus::-ms-fill-upper {
  background: #777764;
}



* {
  box-sizing: border-box;
}

body {
  font: 16px Arial;
}

.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f4f4f2;
  padding: 10px;
  font-size: 1em;
}

input[type=text] {
  background-color: #f4f4f2;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #f4f4f2;
  border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}

.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #f4f4f2;
}

html {
  scroll-behavior: smooth;
}



.collapsible {
  background-color: #E9E9E6;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border-width: 1px;
  border-color: #62625C;
  text-align: center;
  outline: none;
  font-size: 0.94em;
}

.active,
.collapsible:hover {
  background-color: #ebebde;
  color: black;
}

.collapsible:after {
  content: '\002B';
  color: black;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f4f4f2;
}

#close_cookie {
  display: none;
}

#close_cookie:checked+#cookie_consent_popup {
  display: none;
}

#cookie_consent_popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 300px;
  height: 180px;
  background-color: #ebebde;
  padding: 20px;
  z-index: 2;
}

#cookie_consent_popup h1 {
  font-size: 1.2em;
}

#cookie_consent_popup h1:before {
  content: "";
  padding: 0;
}

#cookie_consent_popup p {
  font-size: 0.7em;
}

#cookie_consent_popup #close_cookie_box {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 1.3em;
}

#cookie_consent_popup #ok_cookie_box {
  position: absolute;
  bottom: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 1.6em;
  padding: 10px 20px;
  font-weight: 700;
  color: black;
}

/* Print styles that only hide elements with no-print class */
@media print {
  /* Hide no-print elements */
  .no-print {
      display: none !important;
  }

  /* Remove background colors but keep other colors */
  body, div, section, article {
      background: none !important;
  }



  /* Basic print optimization */
  body {
      width: 100% !important;
      margin: 0;
      padding: 0;
      line-height: 1.45;
  }

  /* Ensure images fit */
  img {
      max-width: 100% !important;
  }

  /* Prevent line splits for each verse container */
  .print-dont-split {
      page-break-inside: avoid !important;
      break-inside: avoid !important;
  }

  /* Optional: Control where breaks can occur between sections */
  .print-dont-split {
      page-break-before: auto !important;
      page-break-after: auto !important;
  }

  /* Force text colors to print */
  * {
      -webkit-print-color-adjust: exact !important;
      print-color-adjust: exact !important;
  }
}

