/*
Project         :  Quran
Version         :  0.1
Author          :  
Developer       :  Kareem Sultan (HTML-CSS)
Framework       :  Bootstrap 5
Date            :  11/03/2024      
*/

/* ============================================ *
 * Contents
 1- root
 2- font
 3- body
 4- container
 5- framework
 6- navbar
 7- hero  
 8- about
 9- api's
 10- surah  
 11- translation
 12- new translation
 13- conatct us
 14- footer
 15- responsive
 * ============================================ */

/* ============================================ *
 * root
 * ============================================ */

:root {
  --primary: #2680EB;
  --black: #2E3845;
  --secondary: #8A9CB2;
  --gainsboro: #DFE3EA;
  --bright_gray: #363F4D;
  --dark-theme-gray: #282C33;
  --sepia-theme-gray: #DAD5CC;
  --sepia-theme-main: #919090;
  --sepia-theme-main-2: #786759;
  --green: #44D2A8;
  --white: #FFFFFF;
  --yellow: #FFC042;
  --purple: #9D7ED5;
  --white-lilac: #F7F7F9;
  --light-primary: rgba(38, 128, 235, 6%);
  --light-blue: #F1F6FD;
  --white_80: rgba(255, 255, 255, 0.8);
  --white_24: rgba(255, 255, 255, 0.24);
  --white_18: rgba(255, 255, 255, 0.18);
  --white_16: rgba(255, 255, 255, 0.16);
  --white_4: rgba(255, 255, 255, 0.04);
  --black_4: rgba(14, 19, 27, 0.4);
  --px5: 0.312rem;
  --px6: 0.375rem;
  --px8: 0.5rem;
  --px10: 0.625rem;
  --px11: 0.687rem;
  --px12: .75rem;
  --px14: .875rem;
  --px16: 1rem;
  --px17: 1.062rem;
  --px18: 1.125rem;
  --px20: 1.25rem;
  --px24: 1.5rem;
  --px30: 1.875rem;
  --px32: 2rem;
  --px36: 2.25rem;
  --px40: 2.5rem;
  --px44: 2.75rem;
  --px48: 3rem;
  --px56: 3.5rem;
  --px64: 4rem;
  --px75: 4.687rem;
  --px125: 7.812rem;
}

@font-face {
  font-family: 'Janna';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Janna-regular.woff') format('woff');
}

@font-face {
  font-family: 'Janna';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Janna-bold.woff') format('woff');
}

@font-face {
  font-family: 'Hafs';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Hafs_20.woff2') format('woff2');
}

.ff_hafs {
  font-family: "Hafs", sans-serif;
}

/*font-size*/
.fs12 {
  font-size: var(--px12);
}

.fs14 {
  font-size: var(--px14);
}

.fs16 {
  font-size: var(--px16);
}

.fs18 {
  font-size: var(--px18);
}

.fs20 {
  font-size: var(--px20);
}

.fs24 {
  font-size: var(--px24);
}

.fs30 {
  font-size: var(--px30);
}

.fs32 {
  font-size: var(--px32);
}

.fs36 {
  font-size: var(--px36);
}

.fs40 {
  font-size: var(--px40);
}

body {
  font: 400 1rem/1.35 "Janna", sans-serif;
  color: var(--black);
  background: #FAFAFA;
}


/* ============================================ *
 * container
 * ============================================ */

@media (min-width: 1200px) {
  /*   .container-xl {
    max-width: 1200px;
  } */
}

@media (min-width: 1200px) {
  .container-xl {
    max-width: 1262px;
  }
}

/* ============================================ *
 * framework
 * ============================================ */

/* ============================================ *
 * bg - border - text-color - shadow - font
 * ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: inherit;
  margin-bottom: 0;
}

.bg_gainsboro {
  background-color: var(--gainsboro);
}

.bg_primary {
  background-color: var(--primary);
}

.bg_light_primary {
  background-color: var(--light-primary);
}

.bg_light_green {
  background: rgba(68, 210, 168, 0.08);
}

.bg_light_yellow {
  background: rgba(255, 192, 66, 0.08);
}

.bg_light_purple {
  background: rgba(157, 126, 213, 0.08);
}

.bg_white_4 {
  background-color: var(--white_4);
}

.bg_bright_gray {
  background-color: var(--bright_gray);
}

.excel_bg {
  background-color: #73b9dc;
}

.csv_bg {
  background-color: #cb9536;
}

.xml_bg {
  background-color: #a0ce4e;
}

.global_white_text *,
.global_white_text .form-control,
.global_white_text input::placeholder {
  color: var(--white);
}

.ltr {
  direction: ltr;
}

.text_primary {
  color: var(--primary) !important;
}

.text_green {
  color: var(--green);
}

.text_yellow {
  color: var(--yellow);
}

.text_purple {
  color: var(--purple);
}

.text_secondary {
  color: var(--secondary);
}

.text_black {
  color: var(--black) !important;
}

.placeholder_secondary::placeholder {
  color: var(--secondary) !important;
}

.text_white_80,
.label_text.text_white_80 {
  color: var(--white_80);
}

.bg_white_lilac {
  background-color: var(--white-lilac);
}

.bg_white_18 {
  background-color: var(--white_18);
}

.bg_white_16 {
  background-color: var(--white_16);
}

.bg_white_24 {
  background-color: var(--white_16);
}

.bg_black {
  background-color: #000;
}

.bg_black_4 {
  background-color: var(--black_4);
}

.bg_green {
  background-color: var(--green);
}

.bg_yellow {
  background-color: var(--yellow);
}

.bg_purple {
  background-color: var(--purple);
}

.bc_white_24 {
  border-color: var(--white_24) !important;
}

.bc_gainsboro {
  border-color: var(--gainsboro) !important;
}

.bc_primary {
  border-color: var(--primary) !important;
}

.bc_bright_gray {
  border-color: var(--bright_gray) !important;
}

.btn_close_white {
  background-image: url(../img/close-white.svg);
  opacity: initial;
}

.br_5px {
  border-radius: var(--px5);
}

.br_6px {
  border-radius: var(--px6);
}

.br_8px {
  border-radius: var(--px8) !important;
}

.br_12px {
  border-radius: var(--px12) !important;
}

.br_16px {
  border-radius: var(--px16);
}

.br_24px {
  border-radius: var(--px24);
}

.scroll_right {
  direction: ltr;
}

.scroll_right>* {
  direction: rtl;
}

.scroll::-webkit-scrollbar {
  width: 2px;
}

.scroll_md::-webkit-scrollbar {
  width: 4px;
}

.scroll::-webkit-scrollbar-track,
.scroll::-webkit-scrollbar-thumb,
.scroll_thumb_md::-webkit-scrollbar-thumb,
.scroll_thumb_md::-webkit-scrollbar-track {
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.gray_scroll::-webkit-scrollbar-track {
  background-color: var(--white_4);
}

.gray_scroll::-webkit-scrollbar-thumb {
  background-color: #68717E;
}

.light_gray_scroll::-webkit-scrollbar-track {
  background-color: var(--white-lilac);
}

.light_gray_scroll::-webkit-scrollbar-thumb {
  background-color: var(--gainsboro);
}

.scroll_thumb_md::-webkit-scrollbar,
.scroll_thumb_md::-webkit-scrollbar-track {
  width: 4px;
  border: 1px solid #fff;
}

.scroll_thumb_md::-webkit-scrollbar-thumb {
  width: 4px;
}

/* ============================================ *
 * width - height - spacing
 * ============================================ */

.w_1px {
  width: 1px;
}

.w_40px {
  width: var(--px40);
}

.max_w_200px {
  max-width: 12.5rem;
}

.max_w_325px {
  max-width: 325px;
}

.max_w_376px {
  max-width: 23.5rem;
}

.max_w_410px {
  max-width: 25.625rem;
}

.max_h_190px {
  max-height: 11.875rem;
}

.max_h_400px {
  max-height: 25rem;
}

.max_h_470px {
  max-height: 29.375rem;
}

.max_h_246px {
  max-height: 15.4rem;
}

.max_h_58px {
  max-height: 3.625rem;
}

.h_40px {
  height: var(--px40);
}

.h_24px {
  height: var(--px24);
}

.v_hidden {
  visibility: hidden;
}

.py_5px {
  padding-top: var(--px5);
  padding-bottom: var(--px5);
}

.py_12px {
  padding-top: var(--px12);
  padding-bottom: var(--px12);
}

.p_10px {
  padding: var(--px10);
}

.p_20px {
  padding: var(--px20);
}

.p_32px {
  padding: var(--px32);
}

.pb_32px,
.py_32px {
  padding-bottom: var(--px32);
}

.pt_32px,
.py_32px {
  padding-top: var(--px32);
}

.pr_32px,
.px_32px {
  padding-right: var(--px32);
}

.pl_32px,
.px_32px {
  padding-left: var(--px32);
}

.p_6px {
  padding: var(--px6);
}

.pr_12px {
  padding-right: var(--px12);
}

.pl_12px {
  padding-left: var(--px12);
}

.pt_40px {
  padding-top: var(--px40);
}

.pt_64px {
  padding-top: var(--px64);
}

.pt_125px {
  padding-top: var(--px125);
}

.py_125px {
  padding-top: var(--px125);
  padding-bottom: var(--px125);
}

.py_75px {
  padding-top: var(--px75);
  padding-bottom: var(--px75);
}

.line_h_0 {
  line-height: 0;
}

.line_h_30px {
  line-height: var(--px30);
}

/* ============================================ *
 * hover and transitions
 * ============================================ */

.hoverable:hover .img_hover_primary,
.hoverable:focus .img_focus_primary,
.active .img_active_primary,
.btn.show .img_show_primary,
.img_primary {
  filter: invert(85%) sepia(78%) saturate(1660%) hue-rotate(193deg) brightness(95%) contrast(94%);
}

.hoverable:hover .img_hover_blue,
.hoverable:focus .img_focus_blue,
.radio_item_container .radio_item:has(input:checked) .img_hover_blue,
.active .img_active_blue,
.accordion-header>.btn:not(.collapsed) img {
  filter: invert(42%) sepia(53%) saturate(3000%) hue-rotate(196deg) brightness(95%) contrast(94%);
}

.hoverable:hover .hover_black_bold,
.hoverable:focus .focus_black_bold,
.active .active_black_bold {
  -webkit-text-stroke: 0.4px var(--black);
}

.accordion-header>.btn:not(.collapsed) span {
  -webkit-text-stroke: 0.4px var(--primary);
}

.hoverable:hover .img_hover_white,
.hoverable:focus .img_hover_white,
.active .active_white,
.img_white {
  filter: brightness(0) invert(1);
}

.hoverable:hover .hover_white,
.hoverable:focus .hover_white,
.active .text_active_white,
.active.text_active_white,
.hover_white:hover,
.hover_white:focus {
  color: var(--white) !important;
}

.hoverable:hover .hover_bg_white_24,
.hoverable:focus .hover_bg_white_24,
.active .text_active_bg_white_24 {
  background-color: var(--white_24);
}

.hoverable:hover .hover_text_primary,
.accordion-header>.btn:not(.collapsed) span {
  color: var(--primary);
}

.radio_item_container .radio_item:has(input:checked) .label_text.text_checked_bright_gray,
.hoverable:hover .hover_bright_gray,
.text_bright_gray {
  color: var(--bright_gray);
}

.hoverable:hover .hover_border_primary {
  border-color: var(--primary) !important;
}

.show.show_bc_bright_gray,
.active.active_bc_bright_gray {
  border-color: var(--bright_gray) !important;
}

.show>.arrow img.black_img {
  filter: invert(0%) sepia(0%) saturate(100%) hue-rotate(49deg) brightness(0%) contrast(103%);
}

.hover_bg_bright_gray:hover,
.hover_bg_bright_gray:focus,
.active.active_bg_bright_gray {
  background-color: var(--bright_gray) !important;
}

.hover_bg_gainsboro:hover {
  background-color: var(--gainsboro) !important;
}

.hoverable:hover .hover_bg_primary,
.hover_bg_primary:hover {
  background-color: var(--primary) !important;
}

.hover_bg_white_lilac:hover {
  background-color: var(--white-lilac) !important;
}

.hover_bg_light_blue:hover {
  background-color: var(--light-blue) !important;
}

.hover_b_light_blue:hover {
  border-color: var(--light-blue) !important;
}

.focus_white_16:focus {
  background-color: var(--white_16);
}

.focus_bc_primary:has(input:focus),
.focus_bc_primary:has(textarea:focus) {
  border-color: var(--primary) !important;
}

.focus_bc_primary:has(input:focus) .top_text,
.focus_bc_primary:has(textarea:focus) .top_text {
  color: var(--primary);
}

.hoverable:hover .hover_visible,
.hoverable:focus .hover_visible {
  visibility: visible;
}

.img_gray {
  filter: grayscale(100%);
}

.c_pointer {
  cursor: pointer;
}


/* ============================================ *
 * buttons
 * ============================================ */
.btn,
.btn-check:active+.btn:focus,
.btn-check:checked+.btn:focus,
.btn.active:focus,
.btn:active:focus,
.btn-check:focus+.btn,
.btn:focus,
.btn:focus,
.btn:hover,
.btn:focus,
.btn:active,
.btn:active:focus,
.form-control,
.form-control:focus,
.form-check-input:focus,
.form-control.is-valid,
.form-control.is-valid:focus {
  box-shadow: none !important;
  border: none;
  color: inherit;
}

.circle {
  width: var(--px56);
  min-width: var(--px56);
  max-width: var(--px56);
  height: var(--px56);
  min-height: var(--px56);
  max-height: var(--px56);
}

.btn_inner_circle {
  width: var(--px36);
  height: var(--px36);
}

.arrow_left {
  transform: rotate(90deg);
}

/* ============================================ *
 * radio
 * ============================================ */

input.form-control:not(#search_modal input.form-control),
textarea {
  background-color: transparent !important;
}

.radio_item_container,
.radio_item_container label {
  display: flex;
}

.radio_item_container label {
  align-items: center;
  flex: 1;
  justify-content: space-between;
}

.radio_item_container label,
.radio_item_container input {
  cursor: pointer;
}

.radio_item_container label,
.radio_item_container input {
  -webkit-tap-highlight-color: transparent;
}

.radio_item_container input,
.radio_item_container input:after,
.radio_item_container input:checked:after,
.radio_item_container input:checked:before {
  display: inline-block;
}

.radio_item_container input {
  position: relative;
  appearance: none;
  width: var(--px20);
  min-width: var(--px20);
  height: var(--px20);
  min-height: var(--px20);
  text-align: left;
}

.radio_item_container input:after,
.radio_item_container input:checked:after,
.radio_item_container input:checked:before {
  content: "";
}

.radio_item_container input:checked {
  visibility: visible;
}

.radio_item_container input:after,
.radio_item_container input:checked:after {
  height: 100%;
  width: 100%;
}

.radio_item_container input:after,
.radio_item_container input:checked:before {
  border-radius: 50%;
}

.radio_item_container input:after {
  border-width: 2px;
  border-style: solid;
  border-color: var(--white_18);
}

.radio_item_container input.radio_secondary:after {
  border-width: 1px;
  border-color: var(--secondary);
}

.radio_item_container input.radio_primary:after {
  border-width: 1px;
  border-color: var(--white_18);
}

.radio_item_container input:checked:after {
  background-color: var(--white);
  border-width: 2px;
}

.radio_item_container input.radio_primary_blue:checked:after {
  background: transparent url(../img/checked.svg) no-repeat center center;
  border: none;
}

.radio_item_container input.radio_black:after {
  border-color: var(--black);
}

.radio_item_container input.radio_black:checked:after {
  background: transparent url(../img/checked-black.svg) no-repeat center center;
}

.radio_item_container input:checked:before {
  height: var(--px12);
  min-height: var(--px12);
  width: var(--px12);
  min-width: var(--px12);
  background-color: var(--black);
  margin-left: -1rem;
  margin-bottom: 0.25rem;
}

.radio_item_container input.radio_primary:checked:before {
  background-color: var(--primary);
}

.radio_item_container input.radio_primary_blue:checked:before {
  background-color: transparent;
}

.radio_item_container input:checked:after,
.radio_item_container .radio_item:has(input:checked) {
  border-color: var(--black);
}

.radio_item_container input.radio_primary:checked:after,
.radio_item_container .radio_item:has(input.radio_primary:checked) {
  border-color: var(--primary);
}

.radio_item_container .radio_item:has(input:checked) .label_text.text_checked_white {
  color: var(--white) !important;
}

.radio_item_container .radio_item:has(input:checked) .label_text.text_checked_primary {
  color: var(--primary) !important;
}

.radio_item_container .radio_item:has(input:checked) .label_checked_primary {
  border-color: var(--primary) !important;
}

.radio_item_container .radio_item:has(input:checked) .label_checked_light_primary {
  border-color: var(--light-blue) !important;
  background-color: var(--light-blue);
}

.radio_item_container .radio_item:has(input.radio_primary:checked) .label_text {
  color: var(--white) !important;
}

input.arrow_btns[type=number] {
  position: relative;
  background-color: transparent;
}

input.arrow_btns[type=number]::-webkit-inner-spin-button,
input.arrow_btns[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  opacity: 1;
  width: 1rem;
  position: absolute;
  top: 50%;
  left: .5rem;
  bottom: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/input-number-arrows.svg);
  background-size: contain;
  height: 30px;
  transform: translate(0, -50%);
  cursor: pointer;
}

input.tafseer_font_size[type=number] {
  width: 100px;
  padding-right: 2.8rem;
}

input.tafseer_font_size[type=number]::-webkit-inner-spin-button,
input.tafseer_font_size[type=number]::-webkit-outer-spin-button {
  background-image: url(../img/plus-minus.svg);
  rotate: 90deg;
  width: 5rem;
  height: 5rem;
  top: -25px;
  left: -30px;
}

input.quran_font_size[type=number]::-webkit-inner-spin-button,
input.quran_font_size[type=number]::-webkit-outer-spin-button {
  top: -27px;
}

input.quran_font_size {
  color: var(--secondary) !important;
}



/* ============================================ *
 * navbar
 * ============================================ */

.navbar-nav {
  gap: var(--px30);
}

.navbar-expand-lg .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: var(--px16);
  color: var(--secondary);
  padding: 0;
}

.navbar-toggler:after {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: 0;
  visibility: hidden;
  background: linear-gradient(257.02deg, rgba(54, 63, 77, 0.98) -42.29%, rgba(14, 19, 27, 0.98) 45.67%);
  pointer-events: none;
  transition: all .7s ease;
}

.navbar-toggler.show:after {
  z-index: 1032;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sidebar_menu {
  z-index: 1033;
}

.close_dropdown {
  cursor: pointer;
}

.sidebar_menu,
.sidebar_menu.show {
  left: auto;
  display: block;
}

.sidebar_menu.show {
  margin-top: 0;
}

.sidebar_menu .dropdown-item {
  height: 0;
}

.sidebar_menu.show .dropdown-item {
  height: 57px;
  transition-delay: .1s;
}

.sidebar_menu .slide_top_nav {
  margin-top: -45px;
}

.sidebar_menu.show .dropdown-item .slide_top_nav {
  margin-top: 0;
  transition-property: margin-top;
  transition-duration: .9s;
  transition-timing-function: ease;
  transition-delay: .4s;
}

.modal-backdrop,
.modal-backdrop.show {
  opacity: initial;
}

.dropdown-toggle::after {
  content: url(../img/arrow-bottom-white.svg);
  border: none;
  margin-left: 0;
  vertical-align: middle;
  height: 14px;
  line-height: 10px;
  transition: transform .4s ease;
}

.dropdown-toggle.show::after {
  transform: rotate(180deg);
}

#search_modal .modal-content {
  transition: margin-top .5s ease;
}

/* #search_modal .modal-content:has(.dropdown-menu.show) {
  margin-top: -300px;
} */

.switch_mood_btn {
  height: var(--px24);
  width: var(--px24);
  background-image: url(../img/nav/light-mood-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.switch_mood_btn.dark_mood {
  background-image: url(../img/nav/dark-mood-icon.svg);
}

.switch_mood_btn.sepia_mood {
  background-image: url(../img/nav/sepia-mood-icon.svg);
}


/* ============================================ *
 * hero
 * ============================================ */

.hero-logo-container {
  max-width: 30rem;
}

.lang_tag {
  background-color: var(--white-lilac);
  color: var(--secondary);
  font-size: var(--px14);
  cursor: pointer;
}

.lang_tag:hover,
.lang_tag.active {
  background-color: var(--light-primary);
  color: var(--primary);
}

.tab_card:not(.dev_modal_card):hover {
  border-color: var(--primary) !important;
}

.stats_container {
  padding: 5.625rem 6.25rem;
  background: url(../img/stats-bg.svg) no-repeat right center, linear-gradient(112.41deg, #363F4D -29.38%, #0E131B 64.03%);
  border-radius: var(--px24);
}

.lang_in_progress {
  box-shadow: 0px 8px 24px 0px #7180960A;
}

#dev_services .modal-dialog {
  max-width: 1072px;
}

body .modal-backdrop {
  background: rgba(14, 19, 27, 0.64) !important;
}

body:has(#language_modal.show) .modal-backdrop {
  background: linear-gradient(257.02deg, rgb(54 63 77) -42.29%, rgb(14 19 27) 45.67%) !important
}

body:has(.modal.show) header,
body:has(.modal.show) main,
body:has(.modal.show) footer {
  filter: blur(2px);
}

/* ============================================ *
 * about
 * ============================================ */

.video_container {
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--px18);
  border-top-right-radius: var(--px18);

}

.v_overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(24, 28, 33, 0.64) url(../img/quran-video-bg.svg) no-repeat center center;
  cursor: pointer;
}

.phase_card_body p {
  line-height: var(--px24);
}


/* ============================================ *
 * api's
 * ============================================ */

.api_container p {
  word-wrap: break-word;
}

/* ============================================ *
 * surah
 * ============================================ */

.section_header {
  background: url(../img/section_header_bg_top.svg) no-repeat right top, url(../img/section_header_bg_bottom.svg) no-repeat left bottom, linear-gradient(249.11deg, #363F4D -30.44%, #0E131B 130.09%);
  border-radius: var(--px20);
}

.line {
  height: 1px;
  width: 100%;
}

.line_img {
  z-index: 1;
}

.surah_link_container:nth-child(3n+2) {
  border-right: 1px solid var(--gainsboro);
  border-left: 1px solid var(--gainsboro);
}

.surah_link {
  text-decoration: none;
  color: var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #DFE3EA;
  padding: 2rem 1rem;
  max-width: 350px;
  margin: auto;
}

.surah_number_container {
  height: var(--px48);
  width: var(--px48);
  background: url(../img/surah-number.svg) no-repeat center center;
  background-size: cover;
}

.surah_number {
  color: var(--secondary);
  font-weight: 700;
}

.joz_card {
  cursor: pointer;
}

/* ============================================ *
 * translation
 * ============================================ */

.search_sidebar {
  transition: .5s margin-right ease-out;
}

.search_sidebar.hide_sidebar {
  margin-right: -325px;
}

.filter_sidebar {
  transition: .7s margin-left ease-out;
}

.filter_sidebar.hide_sidebar {
  margin-left: -325px;
}

.surah_search_result {
  margin: 0 -12px;
  padding: 0 10px;
}

.search_list li {
  margin-bottom: var(--px16);
}

.surah_card {
  cursor: pointer;
  border-radius: var(--px10);
  padding: 1rem;
}

.surah_card:hover .surah_number_container {
  background-image: url(../img/surah-number-primary.svg);
}

.surah_card.active .surah_number_container,
.surah_card.active:hover .surah_number_container {
  background-image: url(../img/surah-number.svg);
}

.surah_card.active,
.joz_card.active,
.surah_card.active:hover {
  background-color: var(--primary) !important;
}

.surah_card.active *,
.joz_card.active,
.surah_card.active:hover * {
  color: var(--white) !important;
}

.accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: var(--px24);
}

.accordion-button::after {
  width: var(--px12);
  height: var(--px6);
  background-image: url(../img/arrow-down.svg);
  background-size: cover;
  background-position: center;
  margin-left: initial;
  margin-right: auto;
}

.accordion-header>.btn img {
  max-width: var(--px24);
}

.accordion-header>.btn:not(.collapsed) {
  background-color: var(--light-blue);
}

.accordion-header>.btn .arrow,
.btn .arrow {
  transition: .2s transform ease-in;
}

.btn[data-bs-toggle="collapse"]:not(.collapsed) .arrow,
.btn[data-bs-toggle="dropdown"].show .arrow {
  transform: rotate(180deg);
}

.top_text {
  top: -11px;
  right: var(--px8);
}

.top_text_sm {
  top: -10px;
}

.filter_shadow {
  box-shadow: 0px 12px 30px 0px rgba(70, 87, 147, 0.102);
}

#other_translations_filter_container {
  z-index: 1;
}

.collapse_right_to_left.collapse,
.collapse_right_to_left.collapsing {
  position: absolute;
  width: 100%;
  height: 100% !important;
  top: 0;
  bottom: 0;
  right: 0;
  transition: height .0s ease-in, right .7s ease;
}

.collapse_right_to_left.collapse:not(.show) {
  display: block;
  right: -100%;
}

.other_translations_header,
.other_translations_container {
  margin-right: -1rem;
}

.other_translations_container {
  height: calc(100% - 112px);
}

.other_translations_modal_container {
  height: 465px;
}

.tafseer_modal .modal-dialog {
  max-width: 940px;
  max-height: 780px;
}

.tafseer_modal .modal-body {
  padding-right: 22px;
  margin-right: 2px;
}

.tafseer_filters_container {
  max-width: 570px;
}

.aya_filter_container {
  max-width: 265px;
}

.ayah_container {
  max-height: 343px;
  margin-right: -1rem;
}

.tafseer_content_text {
  max-height: 400px;
  margin-right: -1rem;
}

.tafseer_text {
  line-height: var(--px24);
}

.translate_to {
  max-width: 135px;
}

audio.audio_card::-webkit-media-controls-enclosure {
  border-radius: 0;
  background-color: transparent;
}

audio.audio_card {
  background-color: var(--white);
}

audio.audio_card::-webkit-media-controls-play-button {
  background-color: var(--gainsboro);
  /*   filter: invert(87%) sepia(84%) saturate(7094%) hue-rotate(175deg) brightness(89%) contrast(80%); */
  z-index: 1;
}

.translation_card_details .btn,
.audio_container {
  width: 30px;
  height: 30px;
}

.audio_card {
  position: absolute;
  top: 50%;
  right: -259px;
  transform: translate(0, -50%);
}

.page_dropdown_menu {
  right: -56px !important;
}

/* ============================================ *
 * new translation
 * ============================================ */

.translation_header {
  box-shadow: 0px 8px 16px 0px rgba(104, 113, 126, 0.04);
}

.options_label {
  box-shadow: 4px 8px 16px 0px rgba(162, 169, 173, 0.14) inset;
  opacity: .6;
}

.radio_item_container .options_label:has(input:checked) {
  opacity: 1;
}

.download_type_btn img {
  opacity: 0.72;
}

/* ============================================ *
 * conatct us
 * ============================================ */

.contact_img_container {
  background: linear-gradient(209.61deg, #2A82EB 38.78%, #224D80 276.47%);
}

.contact_img {
  opacity: .1;
}

/* ============================================ *
 * footer
 * ============================================ */

footer {
  margin-top: 2.25rem;
  background: url(../img/footer-bg.svg) no-repeat center center, linear-gradient(112.41deg, #363F4D -29.38%, #10151D 64.03%);
  background-size: cover;
  background-attachment: fixed;
}

.footer_container_top {
  padding-top: 4.5rem;
  padding-bottom: var(--px48);
  border-bottom: 1px solid var(--white_16);
}

.footer_links a {
  font-size: var(--px14);
  text-decoration: none;
  color: #CBCBCB;
  padding: .5rem 0;
  display: block;
}

.footer_warning_text {
  line-height: var(--px20);
}

/* ============================================ *
 * pdf page
 * ============================================ */

.owl-stage {
  padding-right: 0 !important;
}

.pdf_img {
  max-width: 180px;
  box-shadow: 0px 0px 22px 5px rgba(0, 0, 0, 0.12);
}

.page-link {
  height: var(--px32);
  width: var(--px32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: var(--px14);
  border: 1px solid var(--gainsboro);
  border-radius: var(--px8);
  color: var(--black);
}

.page-link:hover {
  background-color: var(--bright_gray);
  color: var(--white);
}

/* ============================================ *
 * responsive
 * ============================================ */

@media(max-width:1200px) {
  .gap_lg_30px {
    gap: var(--px30);
  }

  .fs_lg_12px {
    font-size: var(--px12);
  }

  .pt_lg_64px {
    padding-top: var(--px64);
    padding-bottom: 0;
  }

  footer {
    margin-top: var(--px64);
  }

}

@media(max-width:991px) {
  .surah_link_container:nth-child(3n+2) {
    border: none;
  }

  .surah_link_container:nth-child(even) {
    border-right: 1px solid var(--gainsboro);
  }
}

@media(max-width:767px) {
  .fsmd30 {
    font-size: var(--px30);
  }

  .fsmd20 {
    font-size: var(--px20);
  }

  .fsmd18 {
    font-size: var(--px18);
  }

  .pt_md_0 {
    padding-top: 0;
  }

  .hero {
    background-image: none;
  }

  .stats_container {
    padding: var(--px48);
  }

  .v_overlay .btn img {
    max-width: var(--px40);
  }

  .surah_link_container:nth-child(even) {
    border-right: none;
  }

  .btn_mob_transparent {
    background-color: transparent;
    color: var(--primary) !important;
    padding: .2rem;
  }

  .btn_mob_transparent:hover {
    background-color: transparent !important;
  }

}

@media(max-width:575px) {

  .pb_sm_0 {
    padding-bottom: 0;
  }

  .pt_sm_0 {
    padding-top: 0;
  }

  .page_dropdown_menu {
    right: auto !important;
  }

  .px_sm_10px {
    padding-left: var(--px10);
    padding-right: var(--px10);
  }

  .tafseer_modal .modal-body {
    padding-right: 10px;
  }

  .max_w_sm_full {
    max-width: 100%;
  }

  .fssm24 {
    font-size: var(--px24);
  }

  .fssm16 {
    font-size: var(--px16);
  }

  .fssm12 {
    font-size: var(--px12);
  }
}

@media(max-width:470px) {

  .fsxs12 {
    font-size: var(--px12);
  }

  .fsxs14 {
    font-size: var(--px14);
  }

  .max_w_xs_300px {
    max-width: 300px;
  }

  .max_w_xs_270px {
    max-width: 270px;
  }

  .max_w_xs_96px {
    max-width: 96px;
  }

  .p_xs_16px {
    padding: var(--px16);
  }

  .page-item:nth-child(5),
  .page_first,
  .page_last {
    display: none;
  }
}


/* ============================================ *
 * dark theme
 * ============================================ */

body.dark_theme {
  background-color: #0E131B !important;
  color: var(--white) !important;
}

body.dark_theme .modal-content,
body.dark_theme .top_text.bg-white {
  background-color: #1A1F26 !important;
}

body.dark_theme .contact_us_form .top_text.bg-white {
  background-color: #21262d !important;
}

body.dark_theme .bg-white,
body.dark_theme .lang_tag,
body.dark_theme .hover_bg_light_blue:hover,
body.dark_theme .radio_item_container .radio_item:has(input:checked) .label_checked_light_primary {
  background-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark_theme .text_black,
body.dark_theme input.form-control,
body.dark_theme input.form-control::placeholder,
body.dark_theme .hoverable:hover .hover_bright_gray,
body.dark_theme .radio_item_container .radio_item:has(input:checked) .label_text.text_checked_bright_gray,
body.dark_theme .hoverable:hover .hover_bright_gray,
body.dark_theme .text_bright_gray {
  color: rgba(255, 255, 255, 1) !important;
}


body.dark_theme .bg_white_lilac {
  background-color: var(--dark-theme-gray) !important;
}

body.dark_theme .bc_gainsboro,
body.dark_theme .radio_item_container .radio_item:has(input:checked) .label_checked_light_primary {
  border-color: var(--dark-theme-gray) !important;
}

body.dark_theme .border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark_theme .dropdown-menu:not(.dropdown-menu.sidebar_menu) {
  background-color: #3B4048 !important;
  color: var(--white);
}

body.dark_theme .radio_item_container input.radio_black:checked:after {
  background: transparent url(../img/checked-white.svg) no-repeat center center;
}

body.dark_theme .btn,
body.dark_theme .options_label,
body.dark_theme .aya_filter_container>div,
body.dark_theme .tafseer_tabs_container .selected_item_container .nav-link {
  border-color: #3B4048 !important;
}

body.dark_theme .translation_card_details .btn {
  background-color: transparent;
}

body.dark_theme .bg_gainsboro {
  background-color: var(--dark-theme-gray) !important;
}

body.dark_theme .header {
  background-color: transparent !important;
}

body.dark_theme .navbar {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

body.dark_theme .navbar-expand-lg .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.64) !important;
}

body.dark_theme .nav-link.active .img_active_primary,
body.dark_theme .nav-link:hover .img_hover_primary,
body.dark_theme .nav-link:focus .img_hover_primary,
body.dark_theme .navbar-expand-lg .navbar-nav .nav-link:hover span,
body.dark_theme .navbar-expand-lg .navbar-nav .nav-link:focus span,
body.dark_theme .navbar-expand-lg .navbar-nav .nav-link.active span,
body.dark_theme .navbar-brand,
body.dark_theme .dev_card_footer .btn img,
body.dark_theme .show>.arrow img.black_img {
  filter: brightness(0) invert(1) !important;
  color: var(--white) !important;
}

body.dark_theme .tab_card {
  background-color: #1A1F26 !important;
  border-color: #1A1F26 !important;
}

body.dark_theme .line_img {
  background-color: transparent !important;
}

body.dark_theme .surah_link,
body.dark_theme .radio_item_container .radio_item:has(input:checked) .label_text.text_checked_primary,
body.dark_theme .translators .hoverable:hover .hover_text_primary {
  color: var(--white) !important;
}

body.dark_theme .surah_link_container,
body.dark_theme .surah_link {
  border-color: var(--dark-theme-gray);
}

body.dark_theme .scroll::-webkit-scrollbar-thumb {
  background-color: #68717E !important;
}

body.dark_theme .scroll::-webkit-scrollbar-track {
  background-color: #20232B !important;
  border-color: #1A1F26 !important;
}

body.dark_theme .contact_img_container {
  background: #1A1F26;
}

/* ============================================ *
 * sepia theme
 * ============================================ */

body.sepia_theme,
body.sepia_theme footer {
  background: #F9F0E3;
}

body.sepia_theme,
body.sepia_theme .global_white_text *,
body.sepia_theme .surah_link {
  color: #271A17 !important;
}

body.sepia_theme .bg-white {
  background-color: #FFF7EA !important;
}

body.sepia_theme .lang_tag {
  color: var(--sepia-theme-main) !important;
  font-weight: 400;
}

body.sepia_theme .lang_tag,
body.sepia_theme .bg_light_primary {
  background-color: #F9F0E3 !important;
}

body.sepia_theme .text_black,
body.sepia_theme input.form-control,
body.sepia_theme input.form-control::placeholder,
body.sepia_theme .text_secondary {
  color: var(--sepia-theme-main) !important;
}

body.sepia_theme .text_primary,
body.sepia_theme .download_type_btn .text_white_80,
body.sepia_theme .radio_item_container .radio_item:has(input:checked) .label_text.text_checked_primary {
  color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme .download_type_btn.hover_bg_bright_gray:hover {
  background-color: var(--sepia-theme-gray) !important;
}


body.sepia_theme .tab_card img,
body.sepia_theme .goals_card_header,
body.sepia_theme .dev_card_header img {
  filter: brightness(0) saturate(100%) invert(83%) sepia(2%) saturate(852%) hue-rotate(359deg) brightness(85%) contrast(84%) !important;
}

body.sepia_theme .hero-logo-container>img,
body.sepia_theme .tab_card_footer>.btn img,
body.sepia_theme .img_hover_primary:hover,
body.sepia_theme .stats_container img,
body.sepia_theme .footer_container_top+div img,
body.sepia_theme footer form img,
body.sepia_theme #language_modal .modal-body form .radio_item.hoverable:hover .img_hover_blue,
body.sepia_theme #language_modal .modal-body form .radio_item_container .radio_item:has(input:checked) .img_hover_blue,
body.sepia_theme #tafseer_modal .modal-body form .radio_item.hoverable:hover .img_hover_blue,
body.sepia_theme #tafseer_modal .modal-body form .radio_item_container .radio_item:has(input:checked) .img_hover_blue,
body.sepia_theme .download_type_btn img,
body.sepia_theme .translation_card_details .btn img,
body.sepia_theme .ayah_translation_block img {
  filter: brightness(0) saturate(100%) invert(41%) sepia(21%) saturate(396%) hue-rotate(345deg) brightness(94%) contrast(87%) !important;
}

body.sepia_theme .translation_card_details .btn img {
  opacity: .5;
}

body.sepia_theme .bg_white_lilac {
  background-color: #F9F0E3 !important;
}

body.sepia_theme .contact_img_container {
  background: #E3D9CB !important;
}

body.sepia_theme .contact_img {
  opacity: .2;
}

body.sepia_theme .active.text_active_white,
body.sepia_theme .hover_white:hover {
  color: var(--white) !important;
}

body.sepia_theme .tab_card_header .bg_white_lilac {
  background-color: #FFF7EA !important;
}

body.sepia_theme .bc_primary {
  border-color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme footer form .rounded-pill {
  border: 1px solid #786759;
}

body.sepia_theme .hover_bg_bright_gray:hover,
body.sepia_theme .hover_bg_bright_gray:focus,
body.sepia_theme .active.active_bg_bright_gray,
body.sepia_theme .bg_primary {
  background-color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme .bc_gainsboro {
  border-color: var(--sepia-theme-gray) !important;
}

body.sepia_theme .hoverable:hover .hover_border_primary {
  border-color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme .bg_gainsboro {
  background-color: var(--sepia-theme-gray) !important;
}

body.sepia_theme .header,
body.sepia_theme footer form .bg_white_16 {
  background-color: transparent !important;
}

body.sepia_theme .navbar {
  background-color: #FFF7EA !important;
}

body.sepia_theme .navbar-expand-lg .navbar-nav .nav-link {
  color: var(--sepia-theme-main) !important;
}

body.sepia_theme .nav-link.active .img_active_primary,
body.sepia_theme .nav-link:hover .img_hover_primary,
body.sepia_theme .nav-link:focus .img_hover_primary,
body.sepia_theme .navbar-expand-lg .navbar-nav .nav-link:hover span,
body.sepia_theme .navbar-expand-lg .navbar-nav .nav-link:focus span,
body.sepia_theme .navbar-expand-lg .navbar-nav .nav-link.active span,
body.sepia_theme .navbar-brand,
body.sepia_theme .dev_card_footer .btn img {
  filter: invert(0%) sepia(2%) saturate(8%) hue-rotate(275deg) brightness(95%) contrast(102%) !important;
  color: var(--sepia-theme-main) !important;
}

body.sepia_theme .download_type_btn img {
  opacity: 1;
}

body.sepia_theme .navbar-expand-lg .navbar-nav .nav-link>img,
body.sepia_theme img[src*="search-white"] {
  filter: brightness(0) saturate(100%) invert(84%) sepia(0%) saturate(3848%) hue-rotate(144deg) brightness(92%) contrast(63%);
}

body.sepia_theme .tab_card {
  background-color: #F9F0E3 !important;
  border-color: #F9F0E3 !important;
}

body.sepia_theme .line_img {
  background-color: transparent !important;
}

body.sepia_theme .surah_link_container,
body.sepia_theme .surah_link {
  border-color: var(--sepia-theme-gray);
}

body.sepia_theme .stats_container {
  background: #FFF7EA url(../img/sepia-stats-bg.svg) no-repeat right center !important;
}

body.sepia_theme .dev_card_footer .btn:hover img {
  filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(210deg) brightness(102%) contrast(101%) !important;
}

body.sepia_theme footer .footer_container_top {
  border-top: 1px solid #DAD5CC;
}

body.sepia_theme .circle {
  background-color: #EDE2D6;
}

body.sepia_theme .section_header {
  background: url(../img/sepia_section_header_bg_top.svg) no-repeat right top, url(../img/sepia_section_header_bg_bottom.svg) no-repeat left bottom, #E3D9CB;
}

body.sepia_theme .modal-backdrop {
  background: rgba(186, 176, 160, 56);
}

body.sepia_theme .modal-content,
body.sepia_theme .modal-content .dropdown-menu,
body.sepia_theme .translation_header .dropdown-menu {
  background-color: #FFF7EA !important;
}

body.sepia_theme #language_modal .modal-body form .radio_item label span,
body.sepia_theme #tafseer_modal .modal-body form .radio_item label span {
  font-weight: 700 !important;
  color: var(--sepia-theme-main) !important;
}

body.sepia_theme #language_modal .hoverable:hover .hover_white,
body.sepia_theme #tafseer_modal .hoverable:hover .hover_white,
body.sepia_theme #search_modal .hoverable:hover .hover_bg_white_24 {
  color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme #language_modal .modal-body form .radio_item label,
body.sepia_theme #tafseer_modal .modal-body form .radio_item label {
  border-color: var(--sepia-theme-gray) !important;
}

body.sepia_theme #search_modal .dropdown_container:first-child .dropdown-menu .bg_white_16,
body.sepia_theme #search_modal .btn_container .btn,
body.sepia_theme #language_modal .modal-body form>div:first-child,
body.sepia_theme #tafseer_modal .modal-body form>div:first-child {
  border: 1px solid #DAD5CC !important;
}

body.sepia_theme #language_modal .modal-body form .radio_item label img,
body.sepia_theme #language_modal .modal-body form>div:first-child .btn img,
body.sepia_theme #tafseer_modal .modal-body form .radio_item label img,
body.sepia_theme #tafseer_modal .modal-body form>div:first-child .btn img {
  filter: brightness(0) saturate(100%) invert(62%) sepia(10%) saturate(6%) hue-rotate(334deg) brightness(92%) contrast(80%);
}

body.sepia_theme #language_modal .modal-body form .radio_item_container input:after,
body.sepia_theme #tafseer_modal .modal-body form .radio_item_container input:after {
  border-color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme #language_modal .modal-body form .radio_item_container input.radio_primary_blue:checked:after,
body.sepia_theme #tafseer_modal .modal-body form .radio_item_container input.radio_primary_blue:checked:after,
body.sepia_theme .radio_item_container input.radio_primary_blue:checked:after {
  background-image: url(../img/checked-sepia.svg);
}

body.sepia_theme #language_modal .modal-body form .radio_item:has(input:checked) label,
body.sepia_theme #language_modal .modal-body form .radio_item label:hover,
body.sepia_theme #tafseer_modal .modal-body form .radio_item:has(input:checked) label,
body.sepia_theme #tafseer_modal .modal-body form .radio_item label:hover,
body.sepia_theme #search_modal .modal-body form .bg_white_16,
body.sepia_theme #search_modal .modal-body form .bg_black,
body.sepia_theme .surah_card.hover_bg_white_lilac:hover,
body.sepia_theme .hover_bg_light_blue:hover,
body.sepia_theme .radio_item_container .radio_item:has(input:checked) .label_checked_light_primary {
  background-color: #F9F0E3 !important;
  border-color: #F9F0E3 !important;
}

body.sepia_theme .focus_bc_primary:has(input:focus),
body.sepia_theme .focus_bc_primary:has(textarea:focus) {
  border-color: var(--sepia-theme-main-2) !important;
}

body.sepia_theme .focus_bc_primary:has(input:focus) .top_text,
body.sepia_theme .focus_bc_primary:has(textarea:focus) .top_text {
  color: var(--sepia-theme-main-2);
}

body.sepia_theme #search_modal .modal-body .dropdown-toggle::after {
  content: url(../img/arrow-bottom-gray.svg);
}

body.sepia_theme .gray_scroll::-webkit-scrollbar-thumb,
body.sepia_theme .hoverable:hover .hover_bg_primary,
body.sepia_theme .hover_bg_primary:hover {
  background-color: #B0ACA5 !important;
}

body.sepia_theme .gray_scroll::-webkit-scrollbar-track {
  background-color: #F9F0E3;
}

body.sepia_theme .btn_close_white {
  background-image: url(../img/close-sepia.svg);
}

body.sepia_theme .modal-content {
  border: none !important;
}

body.sepia_theme .surah_card:hover .surah_number_container {
  background-image: url(../img/surah-number.svg);
}

body.sepia_theme .surah_card.hoverable:hover .hover_text_primary {
  color: var(--sepia-theme-main-2) !important;
}