/* Common used css*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;700&family=Inria+Serif&display=swap');


@font-face {
	font-family: 'FontAwesome';
	src: url('/font-awesome/fonts/fontawesome-webfont.eot?v=4.3.0');
	src: url('/font-awesome/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'), url('/font-awesome/fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'), url('/font-awesome/fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'), url('/font-awesome/fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'), url('/font-awesome/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

html {
	font-size: 100%;
	/* 16px */
	/*87.5% = 14px */
}

body {
	font-family: "Inria Serif", "Piazzolla", serif;
	font-size: 1rem;
	color: #000000;
	line-height: 1.5;

	/* Background */
	background: linear-gradient(90deg,
			rgba(107, 214, 255, 1) 0%,
			rgba(182, 230, 251, 1) 39%,
			rgba(100, 230, 255, 1) 100%);
	background-size: cover;
	min-height: 100vh;
	padding-bottom: 4rem;
	/* prevents text from touching edges on mobile */
}

/*container to display the content for desktop and phone browsing*/
.display {
	width: 100%;
	margin: 0 auto;
	position: relative;
}

/* Phones (default) — width: 100% */

@media (min-width: 768px) {

	/* Tablets */
	.display {
		width: 70% !important;
	}
}

@media (min-width: 1024px) {

	/* Small desktops */
	.display {
		width: 60% !important;
	}
}

@media (min-width: 1280px) {

	/* Large desktops */
	.display {
		width: 50% !important;
	}
}

.logo {
	width: 200px;
	height: 60px;
	background-image: url('/images/logo_200x60.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
}

/* Wrapper for clickable logo */
.logo-link {
	display: inline-block;
	width: 200px;
	height: 60px;
	position: relative;
	cursor: pointer;
	z-index: 101;
}

/* Transparent overlay (if needed) */
.logo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 102;
	pointer-events: auto;
}

/* MOBILE — SCALE LOGO DOWN */
@media (max-width: 480px) {
	.logo {
		width: 150px;
		height: 45px;
	}

	.logo-link {
		width: 150px;
		height: 45px;
	}
}


.backbtn {
	position: absolute;
	right: 0;
	top: 6px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 100;
	padding: 0;
	display: flex;
	justify-content: right;
	align-items: center;
}

/* Desktop image size */
.backbtn-img {
	width: 100%;
	max-width: 150px;
	/* limits size */
	height: auto;
}

/* Mobile: shrink ONLY the image */
@media (max-width: 480px) {
	.backbtn-img {
		width: 112.5px;
	}
}

a:focus,
a:active {
	outline: none;
	box-shadow: none;
}

/* line space*/
.half-line {
	display: block;
	height: 0.5em;
}

.full-line {
	display: block;
	height: 1em;
}

p {
	font-family: "Inria Serif", "Piazzolla";
	font-size: 1em;
}

h1,
h2,
h3 {
	font-family: 'Roboto', sans-serif;
	/* Use a web font for a modern look */
	margin-top: .2rem;
	margin-bottom: .05rem;
	font-weight: 700;
	/* Bold headings stand out */
	color: #333;
	/* Dark gray for good contrast */
	letter-spacing: 0.04em;
}

h1 {
	text-transform: uppercase;
	font-size: 1.5rem !important;
	position: relative;
}

h2 {
	display: inline-block;
	text-transform: uppercase;
	font-size: 1.25rem !important;
	position: relative;
	border-bottom: 4px solid #4A90E2;
}

h3 {
	font-size: 1.15rem !important;
	text-transform: uppercase;
	position: relative;
}

@media (max-width: 768px) {
	h1 {
		font-size: 1.1rem;
	}

	h2 {
		font-size: 1.1rem;
	}

	h3 {
		font-size: 1.05rem;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 1.15rem;
		/* Even smaller font size for mobile devices */
	}

	h2 {
		font-size: 1.15rem;
	}

	h3 {
		font-size: 1.10rem;
	}
}

/* this selector removes the default blue border displayed in some browsers 
around an image when it is surrounded by a link 
*/
a img {
	user-select: none;
	/* Optional: prevent text/image selection */
	-webkit-tap-highlight-color: transparent;
	/* Removes blue tap highlight on mobile */
}


.img-width {
	width: 50%;
	height: auto;
	max-width: 100%;
}

/* Mobile phones */
@media (max-width: 640px) {
	.img-width {
		width: 100%;
	}
}


a:link {
	text-decoration: none;
	color: inherit;
}

a:visited {
	color: inherit;
	text-decoration: none;
}

a {
	outline: none;
	text-decoration: none;
}

/*Button to be used for opening document*/
.button1 {
	box-shadow: 0px 10px 14px -7px #276873;
	background-color: #599bb3;
	border-radius: 21px;
	border: 2px solid #29668f;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-family: Arial;
	font-size: 1.1em;
	font-weight: bold;
	padding: 0px 5px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #3d768a;
	text-transform: uppercase;
	margin-left: 10px;
}

.button1:hover,
.button1:focus {
	background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color: #408c99;
}

.button1:active {
	position: relative;
	top: 1px;
}

.button2 {
	/* used to Go Back to chart in Qur'an preservation */
	font-size: 1em;
	position: sticky;
	cursor: pointer;
	background-color: #4CAF50;
	color: white;
	border-radius: 4px;
	left: 20px;
	padding: 5px 5px 5px 5px;
	white-space: nowrap;
}

.button2:hover {
	background-color: #1e7b23;
	color: black;
}

.scroll-btn {
	position: fixed;
	bottom: 20px;
	right: 20px;
	padding: 10px 20px;
	background-color: #4CAF50;
	color: white;
	border: none;
	cursor: pointer;
}

.play-stop-btn {
	background: none;
	border: none;
	padding: 0;
	margin-left: 8px;
}

.play-stop-img {
	width: 35px;
}

/*for creating table for Q & A
Create two unequal columns that floats next to each other 
for the Q1 and Question columns*/
body {
	/* Set "my-qa-number" to 0 */
	counter-reset: my-qa-number;
}

.qa-button {
	background-color: lch(59% 21 223);
	border-width: 3px;
	height: auto !important;
	padding: 10px;
	box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
	box-sizing: border-box;
	border: #FFFFFF;
	color: black;
	width: 100%;
	font-weight: 700;
	text-align: left;
	text-decoration: none;
	display: inline-block;
	/* font-size is set before creating the able for computer browser and fro phone browser*/
	margin: 4px 2px;
	cursor: pointer;
	padding-left: 2em;
	text-indent: -2em;
}

.qa-button::before {
	/* Increment "my-qa-number" by 1 */
	counter-increment: my-qa-number;
	content: "Q" counter(my-qa-number) ". ";
}

.qa-button:hover {
	background: rgba(17, 87, 45, 0.9);
	box-shadow: 0 6px 20px rgb(0 118 255 / 23%);
	color: rgb(193, 249, 10);
}

.qaInforButton {
	background-color: #675ae3;
	border-radius: 42px;
	border: 5px solid #18ab29;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-family: Arial;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	width: 98%;
	margin-bottom: 5px;
	text-wrap: nowrap;
	text-shadow: 0px 2px 0px #2f6627;
}

/*End format creating table for Q & A */


.box {
	padding: 5px 5px 10px 5px;
	text-align: left;
	box-shadow: -4px -5px 32px -4px rgba(0, 0, 0, 1);
	border-radius: 10px;
	overflow: visible;
}

.subject-box {
	position: relative;
	/* So the title can be positioned relative to this box */
	padding: 5px 5px 5px 5px;
	border: 5px ridge #92d2d7;
	border-radius: 10px;

}

.subject-box-changing-color {
	position: relative;
	/* So the title can be positioned relative to this box */
	padding: 5px 5px 5px 5px;
	border: 5px ridge #92d2d7;
	border-radius: 10px;
	border-color: red;
	animation: colorChange 3s infinite alternate;
}

@keyframes colorChange {
	0% {
		border-color: red;
		/* Start with red */
	}

	100% {
		border-color: green;
		/* End with green */
	}
}

.box-wrapper {
	position: relative;
	width: 100%;
}

.text-in-frame-above-border {
	position: absolute;
	top: -22px;
	left: 50%;
	transform: translateX(-50%);
	/* Centers the title horizontally */
	font-size: 1.2em;
	font-weight: bold;
	background-color: #f4f4f4;
	padding: 0 10px;
	border: 5px ridge #92d2d7;
	border-radius: 10px;
	white-space: nowrap;
}

.header-box {
	box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(71, 255, 28, 0);
	font-size: 1.5em;
	text-align: center;
}

.line-ani {
	width: 0;
	height: 5px;
	left: 0;
	background: red;
	animation: moveLine 5s linear infinite, changeColor 5s linear infinite;
}

@keyframes moveLine {
	0% {
		width: 0;
	}

	100% {
		width: 100%;
	}
}

@keyframes changeColor {
	0% {
		background: red;
	}

	25% {
		background: orange;
	}

	50% {
		background: yellow;
	}

	75% {
		background: green;
	}

	100% {
		background: blue;
	}
}

/*to put text in a box*/
.text-box-w-bk {
	padding: 8px 25px 25px;
	border-radius: 25px;
	background: peachpuff;
	margin-top: 16px;
}

.text-in-box {
	border-radius: 5px;
	padding: 3px;
	background: rgb(111, 207, 239);
}

.zig-zag-box {
	padding: 30px 10px 30px 10px;
	--mask:
		linear-gradient(0, #0000 60px, #000 0) 0 30px,
		radial-gradient(30px, #000 calc(100% - 1px), #0000) 50%/55.5px 60px repeat space;
	mask: var(--mask);
	-webkit-mask: var(--mask);
	box-sizing: 2px;
	border: 5px solid rgb(9, 9, 9);
}

audio:hover,
audio:focus,
audio:active {
	box-shadow: 15px 15px 20px rgba(0, 0, 0, 0.4);
	transform: scale(1.05);
}

audio {
	transition: all 0.5s linear;
	box-shadow: 2px 2px 4px 0px #006773;
	border-radius: 7px;
}

.title-w-bk {
	display: flex;
	vertical-align: baseline;
	padding: 5px 5px 5px;
	background-color: rgb(18, 218, 48);
	font-size: 1.2em;
	vertical-align: middle;
	height: auto;
	font-weight: bold;
	color: #000000;
}

.subtitle-1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #000000;
	border-bottom: 2px solid black;
	display: block;
	width: fit-content;
}

span.title-w-bk,
span.subtitle-1 {
	margin-top: 10px;
}

.audioVersion {
	box-shadow: 0px 5px 15px 5px rgba(0, 0, 0, 0.83);
	font-weight: bold;
	color: #000000;
	border: 3px solid darkblue;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	width: fit-content;
	max-height: 35px;
	height: auto;
	background: linear-gradient(90deg, rgba(107, 214, 255, 1) 0%, rgba(182, 230, 251, 1) 39%, rgba(100, 230, 255, 1) 100%);
	padding-left: 5px;
}

.audioVersion button:first-of-type {
	margin-left: 10px;
	/* Adds space after the text and before the first image */
}

.audioVersion img {
	height: 33px;
	width: 33px;
}

.audioVersion:hover {
	color: rgb(252, 246, 246) !important;
	background: linear-gradient(90deg, rgb(7, 33, 44) 0%, rgb(20, 41, 50) 39%, rgba(4, 48, 57, 0.273) 100%);
}

.return-to-btn {
	display: flex;
	margin-top: -30px;
	z-index: 10;
	padding-left: 250px;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

#audioDiv {
	display: none;
	width: 95%;
	text-align: center;
}

/* format UL - OL - LI list */
ul,
ol {
	padding: 0;
	margin: 0;
	position: relative;
	font-family: "Inria Serif", "Piazzolla";
	max-width: 100%;
}


ul {
	margin-left: 30px;
}

ol {
	padding-left: 25px;
}

ul.a {
	list-style-type: lower-alpha;
}

ul.ua {
	list-style-type: upper-alpha;
}

ul.d {
	list-style-type: decimal;
}

ul.s {
	list-style-type: square;
}

ul.c {
	list-style-type: circle;
}

ol.c {
	counter-reset: item;
	list-style: none;
	padding-left: 1.5em;
}

ol.c>li {
	counter-increment: item;
	position: relative;
	margin-bottom: 0.5em;
}

ol.c>li::before {
	content: "(" counter(item) ")";
	position: absolute;
	left: -1.5em;
	font-weight: bold;
}

li {
	font-size: 1em;
	margin-bottom: 3px;
}

li span {
	position: relative;
	left: -3px;
	padding: 0;
	font-size: 1em;
}

.circle-list {
	list-style: none;
	counter-reset: li;
	padding-left: 0;
	margin: 0;
}

.circle-list li {
	counter-increment: li;
	position: relative;
	padding-left: 50px;
	/* Space for the circle */
	margin: 0;
	/* Remove spacing between items */
	line-height: 1.5;
	display: flex;
	align-items: center;
	/* Vertically center text with number */
	min-height: 40px;
}

.circle-list li::before {
	content: counter(li);
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 50%;
	background-color: #000;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
}

ol.square-brackets-sequence {
	list-style: none;
	/* remove default numbering */
	counter-reset: item;
	/* reset the custom counter */
}

ol.square-brackets-sequence li {
	position: relative;
	margin-left: 2rem;
	/* space for the number */
}

ol.square-brackets-sequence li::before {
	counter-increment: item;
	content: "[" counter(item) "]";
	/* format like [1], [2], etc. */
	position: absolute;
	left: -2rem;
	/* align numbers outside */
	font-weight: bold;
}

/*bolit of number color and */
::marker {
	font-weight: 600;
	color: blue;
	font-size: 1em;
}

/*  End of List formating */

#clear {
	clear: both;
}

/* For menu  */
.collapsible,
.notCollapsible {
	background: linear-gradient(to bottom, #a0c8e0, #5a9cc5);
	color: #FFFFFF;
	border: 0;
	cursor: pointer;
	box-shadow: 0 4px 3px #000000;
	display: block;
	padding: 10px;
	width: 98%;
	border: none;
	margin: 5px 5px;
	text-align: center;
	outline: none;
	font-size: 1.2em;
	font-weight: bold;
	height: 60px;
}

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

.content {
	padding: 0 18px;
	display: none;
	overflow: hidden;
}

.subMenuButtonStyle {
	background: linear-gradient(to bottom, #4c7d75, #166291);
	padding: 10px 15px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 4px 3px #000000;
	font-size: 1.1em;
	font-weight: 800;
	text-align: left;
	display: block;
	width: 90%;
	margin: 10px 10px;
	margin-top: -5px;
	color: #ffffff;
}

/* Blinking  */
.blinking-text {
	animation: blink 1s infinite;
}

@keyframes blink {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/*Make text background blinks*/
.blink-bk {
	animation: blink-bk 2s steps(5, start) infinite;
}

@keyframes blink-bk {
	to {
		visibility: hidden;
	}
}

@keyframes blink-bk {
	from {
		background-color: rgb(174, 174, 197);
	}

	to {
		background-color: rgb(117, 117, 176);
	}
}

/* end blink */

/*svg: Scalable Vector Graphics - Responsive image map*/
.svg {
	fill: floralwhite;
	stroke: pink;
	stroke-width: 0;
	opacity: .5;
	fill-opacity: 0.1;
	stroke-opacity: 0.9;
}

/* Styling the rectangle */
.hover-border {
	transition: all 0.3s ease;
	/* Smooth transition */
}

/* Show border on hover */
.hover-border:hover {
	fill: floralwhite;
	stroke: bisque;
	stroke-width: 5;
	fill-opacity: 0.2;
	background-color: unset;
	opacity: 1;
}

#myDIV {
	text-align: left;
	display: none;
}

/* to format the Surah pages */
.surah-reading-title::after {
	content: "Click on Ayah to Practice Reading";
}

.surah-meaning-title::after {
	content: "Click on Ayah to Learn its Meaning";
}

.surah-practice-title::after {
	content: "Click on Ayah to Listen to Your Reading";
}

.surah-reading-title,
.surah-meaning-title,
.surah-practice-title {
	margin-top: 0px;
	font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	letter-spacing: -0.5px;
	line-height: 1.2;
	font-size: 20px;
	margin-right: auto;
	margin-left: auto;
	font-weight: 800;
	color: rgb(97, 19, 37);
}

/* End of format the Surah pages */

.sunnah::before {
	color: #FFF !important;
	content: "Sunnah - ptional";
}

.fardh::before {
	color: #F00 !important;
	content: "Rukun - Obligatory";
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
}

.video-wrapper {
	position: relative;
	width: 100%;
	max-width: 100%;
	padding-bottom: 56.25%;
	/* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 auto;
}

.video-wrapper iframe,
.video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 10px;
	display: block;
}

.small-button {
	display: inline;
	flex-direction: column;
	align-items: center;
	padding: 6px 8px;
	font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
	border-radius: 6px;
	border: none;
	color: #fff;
	background: linear-gradient(180deg, #4B91F7 0%, #367AF6 100%);
	background-origin: border-box;
	box-shadow: 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2);
	touch-action: manipulation;
	font-size: 1.1rem;
}

.small-button:focus {
	box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1.5px rgba(54, 122, 246, 0.25), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
	outline: 0;
}

.vertical-label {
	writing-mode: vertical-rl;
	/* text goes vertical */
	text-orientation: mixed;
	font-size: 1.2em;
	font-weight: bold;
	margin-right: 0px;
	/* space between label & buttons */
	color: #333;
}

.navigation-btn-container {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	/* makes all children same width */
}

.btn-3d {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 2em;
	max-width: 18em;
	padding: 5px 5px 5px 5px;
	background: linear-gradient(#4da6ff, #0066cc);
	color: white;
	font-weight: bold;
	border-radius: 8px;
	box-shadow: 0 5px #004080;
	transition: all 0.15s ease-in-out;
	margin: 8px 0;
	font-size: 1.1em;
	width: max-content;
	min-width: 100%;
	user-select: none;
	-webkit-user-select: none;
	/* For Safari/old Chrome */
	-moz-user-select: none;
	/* For Firefox */
	-ms-user-select: none;
	/* For IE/Edge */
}

/* On Mobile wide buttons */
@media (min-width: 768px) {
	.btn-3d {
		width: 100%;
		max-width: 100%;
	}
}

/* Hover sink effect */
.btn-3d:hover {
	box-shadow: 0 2px #004080;
	transform: translateY(3px);
}

.myButtom {
	box-shadow: 0px 10px 14px -7px #276873;
	background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
	background-color: #599bb3;
	border-radius: 8px;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-family: Arial;
	font-size: 20px;
	font-weight: bold;
	padding: 7px 11px;
	text-decoration: none;
	text-shadow: 0px 1px 0px #3d768a;
}

.myButton:hover {
	background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
	background-color: #408c99;
}

.audioOutput {
	width: 95%;
	height: 50px;
	position: sticky;
	top: 40px;
	text-align: center;
	display: none;
	z-index: 200;
}

/* For phones (screen width 600px or less) */
@media (max-width: 600px) {
	.audioOutput {
		top: 0;
	}
}

/* transleteration */
.transl {
	font-size: 1.5rem;
	color: darkblue;
	font-weight: bold;
}

.arabic {
	font-size: 1.5rem;
	color: red;
	font-weight: bold;
}

.line-before,
.line-after {
	border: 0;
	height: 5px;
	background-color: #000;
	margin: 20px 0;
}

.line-before {
	margin-bottom: 10px;
	/* Space between the top and text */
}

.line-after {
	margin-top: 10px;
	/* Space between the text and bottom line */
}

.line-container {
	display: flex;
	align-items: center;
	/* Vertically align text with lines */
	justify-content: center;
	/* Center the content horizontally */
}

.line {
	flex-grow: 1;
	/* Makes the line expand to fill the space */
	height: 5px;
	background-color: #000;
	/* Black color for the line */
	margin: 0;
	/* Adds space between the text and the lines */
}

blockquote {
	display: block;
	margin-left: 5px;
	border-left: 3px solid #049204;
	border-right: 1px solid #049204;
	border-top: 3px solid rgba(0,0,0,0.05);
	padding-left: 10px;
	margin-top: 5px;
	margin-bottom: 0px;
	box-shadow: 0 15px 16px rgba(0,0,0,0.05);
}

.thumbnail {
	cursor: pointer;
	transition: transform 0.3s ease;
}

.enlarged {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 98vw;
	/* 98% of screen width */
	height: auto;
	/* keep aspect ratio */
	max-height: 98vh;
	/* prevent overflow on tall images */
	z-index: 1000;
	border: 2px solid #333;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
	.enlarged {
		width: 50%;
		/* only half width of container */
	}
}

.divCollapsible {
	background-color: #f1f1f1;
	border: 1px solid #ccc;
	cursor: pointer;
	padding: 12px;
	width: 100%;
	text-align: left;
	outline: none;
	font-size: 1em;
	transition: background-color 0.2s ease;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
	border-radius: 8px;
	/* position: sticky; */
	top: 10px;
	margin-top: .3em;
	z-index: 100;
}

.divCollapsible:hover {
	background-color: #ddd;
}

.divContentHidden {
	position: relative;
	/* Make absolute children relative to this div */
	padding: 20px 12px 12px;
	/* Add top padding so button doesn't overlap content */
	display: none;
	/* Hidden by default */
	overflow: visible;
	background-color: #fafafa;
	border-top: 1px solid #ccc;
}

/* Mobile styles */
@media (max-width: 768px) {
	.divContentHidden {
		padding: 15px 12px !important;
	}
}

.active+.divContentHidden {
	display: block;
}

.notice {
	background-color: #fffbe6;
	border: 2px solid #ffd700;
	padding: 30px;
	border-radius: 10px;
	display: block;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	text-align: left;
}

.notice-title {
	font-size: 1.6em;
	font-weight: bold;
	color: #c08400;
	text-align: center;
	margin-bottom: 20px;
}

.notice-content {
	display: flex;
	align-items: center;
}

.notice-content img {
	width: 80px;
	height: auto;
	margin-right: 20px;
	border-radius: 8px;
}

.notice-text p {
	font-size: 1.2em;
	margin: 8px 0;
	color: #333;
}

/*Wudu 2 div columns*/
.wudu-info-container {
	display: flex;
	padding: 5px;
}

.wudu-info-container-column {
	padding: 5px;
	border: 1px solid #ccc;
}

.wudu-info-container-left {
	width: 60px;
	background-color: #f4f4f4;
}

.wudu-info-container-right {
	flex: 1;
	background-color: #e9e9e9;
}

.image-border {
	border: 3px solid #333;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* for text banner with countdown ring */
.banner {
	background-color: #2d2d2d;
	color: white;
	padding: 10px;
	text-align: center;
	font-size: 1.3em;
	transition: opacity 1s ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;

	border: 2px solid #00ffcc;
	border-radius: 15px;
	box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
	max-width: 99%;
	margin: 10px auto;
}

.hidden {
	opacity: 0;
}

.countdown-ring {
	position: relative;
	width: 40px;
	height: 40px;
}

.countdown-ring svg {
	transform: rotate(-90deg);
}

.countdown-ring circle {
	fill: none;
	stroke-width: 5;
}

.countdown-bg {
	stroke: #444;
}

.countdown-fg {
	stroke: #00ffcc;
	stroke-linecap: round;
	transition: stroke-dashoffset 1s linear;
}

.countdown-number {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white !important;
	font-size: .9em !important;
	font-weight: bold;
}

/* End text banner with countdown ring*/


/* for first page slider */
* {
	box-sizing: border-box;
}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}

.myDiv {
	text-align: left;
	background: none;
}

.frame {
	border: 5px solid transparent;
	padding: 0px;
	border-image: url(/images/border.png) 30 stretch;
	cursor: pointer;
}

.overlay-click-2-expand-image {
	position: absolute;
	top: 22%;
	right: 0;
	transform: translate(-50%, -50%);
	width: 15vw;
	max-width: 200px;
	min-width: 30px;
	z-index: 10;
}

@media (max-width: 500px) {
	.overlay-click-2-expand-image {
		top: 18%;
		right: -12%;
		width: 28vw;
	}
}

/* used for moving a dive in the link-container to pthe op */
.link-container {
	position: relative;
	top: 0;
}

/*Comprison table*/

.comparison-table {
	display: flex;
	flex-direction: column;
	border: 1px solid #ccc;
	font-family: sans-serif;
	margin-top: 10px;
	max-width: 100%;
}

.row {
	display: flex;
	border-bottom: 1px solid #ddd;
}

.row:last-child {
	border-bottom: none;
}

.cell {
	flex: 1;
	padding: 8px;
	border-right: 1px solid #ddd;
}

.cell:last-child {
	border-right: none;
}

.header {
	background-color: #f0f0f0;
	font-weight: 500;
}

.highlight {
	background-color: yellow;
	font-weight: bold;
}


/*Counter*/
.countdown-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background-color: #ffffff;
	padding: 2rem;
	border-radius: 1rem;
	/* Rounded corners */
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	/* Soft shadow */
	max-width: 90%;
	/* Responsive width */
	width: 500px;
	/* Max width for larger screens */
}

canvas {
	display: block;
	margin: 1.5rem auto;
	border-radius: 50%;
	/* Ensure canvas itself is circular */
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
	/* Inner shadow for depth */
}

.countdown-text {
	color: #334155;
	/* Darker text for readability */
	font-size: 1.25rem;
	/* Medium font size */
	margin-bottom: 0.5rem;
}

/* Styles for centering the number within the circle */
.countdown-circle-wrapper {
	position: relative;
	/* This is crucial for positioning children absolutely */
	width: 150px;
	/* Must match canvas width */
	height: 150px;
	/* Must match canvas height */
	margin: 1.5rem auto;
	/* Keep the same margin as canvas had */
}

.countdown-number {
	position: absolute;
	/* Position the number absolutely within its wrapper */
	top: 50%;
	/* Move top edge to the middle */
	left: 50%;
	/* Move left edge to the middle */
	transform: translate(-50%, -50%);
	/* Adjust for the element's own size to truly center */
	font-size: 3rem;
	/* Large font for the number */
	font-weight: bold;
	color: #1d4ed8;
	/* Blue color for emphasis */
	/* margin-top: 0.5rem; This is no longer needed with absolute positioning */
	z-index: 10;
	/* Ensure it's above the canvas */
}

.final-message {
	font-size: 2.5rem;
	/* Very large font for the final message */
	font-weight: bold;
	color: #065f46;
	/* Green color for positive message */
	line-height: 1.3;
	margin-bottom: 1.5rem;
	/* Space between message and countdown */
	/* The message is now visible by default, no need for opacity/transform transitions */
}

/* Responsive adjustments */
@media (max-width: 640px) {
	.container {
		padding: 1.5rem;
	}

	.countdown-text {
		font-size: 1rem;
	}

	.countdown-number {
		font-size: 2.5rem;
	}

	.final-message {
		font-size: 1.75rem;
		margin-bottom: 1rem;
	}
}

/*Scrolling right side div*/
/* Base scroll container */
.scroll-container {
	width: 100%;
	max-width: 100%;
	height: 50vh;
	max-height: 400px;
	min-height: 200px;
	overflow-y: scroll;
	overflow-x: hidden;
	border: 5px solid #ccc;
	box-sizing: border-box;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
	border-radius: 8px;

	/* Firefox scrollbar */
	scrollbar-width: thin;
	scrollbar-color: #888 #f1f1f1;
}

/* WebKit browsers (Chrome, Edge, Safari) */
.scroll-container::-webkit-scrollbar {
	width: 8px;
	/* width of the vertical scrollbar */
}

.scroll-container::-webkit-scrollbar-thumb {
	background-color: #888;
	/* scrollbar handle */
	border-radius: 4px;
}

.scroll-container::-webkit-scrollbar-track {
	background-color: #f1f1f1;
	/* scrollbar background */
}

.scroll-container::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

/* Responsive adjustments */
@media (min-width: 768px) {
	.scroll-container {
		scrollbar-width: auto;
		/* Firefox */
	}

	.scroll-container::-webkit-scrollbar {
		width: 12px;
	}
}

@media (max-width: 480px) {
	.scroll-container {
		scrollbar-width: thin;
		/* Firefox */
	}

	.scroll-container::-webkit-scrollbar {
		width: 8px;
	}
}

.closeButton {
	position: absolute;
	top: 10px;
	/* Adjust distance from top */
	right: 10px;
	/* Adjust distance from right */
	padding: 8px 16px;
	font-size: 1em;
	font-weight: bold;
	background-color: #f44336;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	z-index: 10;
	display: block;
	/* Make visible */
}

label {
	display: block;
	text-align: left;
	font-weight: bold;
	margin-bottom: 5px;
}

input[type="text"],
textarea,
select {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-bottom: 15px;
}

.form-container form {
	text-align: left;
}

/* Customized dropdown */
.dropdown {
	position: relative;
	width: 100%;
	user-select: none;
}

/* Selected Box */
.dropdown-selected {
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 10px;
	padding: 5px 10px;
	display: flex;
	align-items: flex-start;
	/* top-align text (and optional number) */
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
	font-size: 1.2em;
	font-weight: 600;
	text-align: left;
	justify-content: space-between;
	/* keep caret icon at right */
}

/* Optional: if you want a circle number in selected box */
.dropdown-selected .circle-num {
	display: inline-flex;
	background-color: black;
	color: white;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	justify-content: center;
	align-items: center;
	/* center number inside circle */
	flex-shrink: 0;
	align-self: flex-start;
	/* top-align with text */
	margin-right: 8px;
	font-weight: bold;
	font-size: 1em;
}

.dropdown-selected em {
	color: #098104ff;
	margin-top: 2px;
	font-size: 0.9em;
	font-weight: 600;
}

.dropdown-selected:hover {
	border-color: #4a6cff;
}

.dropdown.open .dropdown-selected i {
	transform: rotate(180deg);
	transition: transform 0.25s ease;
}

/* Default arrow rotation */
.dropdown-selected i {
	transition: transform 0.25s ease;
}

/* Dropdown Options Container */
.dropdown-menu {
	position: absolute;
	top: calc(100% + 0px);
	/* dropdown appears just below selected box */
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 10px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	padding: 8px 6px 6px 6px;
	display: none;
	animation: fadeIn 0.2s ease-in-out;
	font-size: 1.2em;
	font-weight: 600;
	text-align: left;
	z-index: 2222;
}

/* Show dropdown when parent has .open */
.dropdown.open .dropdown-menu {
	display: block;
}

/* Each Option Box */
.dropdown-item {
	border: 2px solid #089616;
	border-radius: 8px;
	margin-bottom: 6px;
	padding: 5px 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	background: #fff;

	display: flex;
	/* align circle and text horizontally */
	align-items: flex-start;
	/* top-align text with circle */
	gap: 8px;
	/* space between circle and text */
}

.dropdown-item:hover {
	background: #f0f2ff;
	border-color: #4a6cff;
	transform: translateY(-1px);
}

.dropdown-item em {
	color: #098104ff;
	margin-top: -05px;
	font-size: 0.9em;
	font-weight: 600;
}

.text-wrap {
    display: flex;
    flex-direction: column;
}

.indent-text {
    line-height: 1.4;
}

.dropdown-message {
	font-size: 0.9em;
	color: #333;
	padding: 10px;
	border-top: 1px solid #ddd;
	margin-top: 5px;
}

.dropdown-message i {
	margin-left: 5px;
	color: #09C;
	/* match footer color or brand */
}

/* Indented items */
.dropdown-item.indent {
	display: flex;
	align-items: flex-start;
}

/* Circle number */
.circle-num {
	display: inline-flex;
	background-color: black;
	color: white;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 1em;
	flex-shrink: 0;
	/* prevent shrinking */
}

/* The text (wraps nicely and stays indented) */
.indent-text {
	display: block;
	line-height: 1.4em;
	word-break: break-word;
	/* prevents overflow */
	flex: 1;
	/* fill remaining space next to circle */
}

/* Selected box */
.dropdown-selected {
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 10px;
	padding: 5px 10px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
	font-size: 1.2em;
	font-weight: 600;
	text-align: left;
	z-index: 2;
}

/* Selected text container */
.dropdown-selected span {
	display: flex;
	align-items: center;
	gap: 8px;
	/* spacing between optional circle and text */
}

/* Optional circle number in selected */
.dropdown-selected .circle-num {
	background-color: black;
	color: white;
	border-radius: 50%;
	width: 1.5em;
	height: 1.5em;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 1em;
	flex-shrink: 0;
}

/* Arrow rotation when open */
.dropdown.open .dropdown-selected i {
	transform: rotate(180deg);
	transition: transform 0.25s ease;
}

/* Default arrow rotation */
.dropdown-selected i {
	transition: transform 0.25s ease;
}


@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* computer browser menu styling */
/* Genetal menu styling */
#menu {
	padding: 0px 0px 0px 0px;
	position: fixed;
	width: 100%;
	text-align: left;
	z-index: 100;
	font-size: 20px;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	right: 0px;
	top: 0px;
}

/* menu level 1 (Top menu) */
#menu ul {
	background-color: rgb(125 211 252 / var(--tw-bg-opacity, 1));
	padding: 0 0px 0 0px;
	border-radius: 4px;
	box-shadow: 0px 1px 13px 0px rgba(85, 85, 85, .71);
	margin: 0;
	width: auto;
	list-style: none;
	position: relative;
	white-space: nowrap;
	display: inline-table;
}

#menu a {
	font-family: 'Poppins', sans-serif;
}

/* Top menu <li> format */
#menu>ul>li {
	display: inline-block;
	vertical-align: top;
	position: relative;
	font-family: "Inria Serif", "Piazzolla";
	font-size: 1.2rem !important;
	font-weight: bold;
	width: fit-content;
}

#menu ul li:hover>ul {
	display: block !important;
	visibility: visible;
	opacity: 1;
	pointer-events: all;
	-webkit-transform: translateY(0) scale3d(1, 1, 1);
	-ms-transform: translateY(0) scale3d(1, 1, 1);
	transform: translateY(0) scale3d(1, 1, 1);
	-webkit-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

#menu>ul>li:hover>a {
	color: #000000 !important;
	border-radius: 0px;

	z-index: 9;
}

.blinking {
	animation: blink 1s infinite;
	box-shadow: 0px 1px 13px 0px rgba(85, 85, 85, .71);
}

@keyframes blink {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

/* all <a> format within li */
#menu ul li a {
	display: block;
	text-decoration: none;
	white-space: nowrap;
}

/* only <a> format in the first li */
#menu>ul>li>a {
	padding: 0px 18px;
	line-height: 35px;
	height: 35px;
	color: #4c4c4c;
}

/* menu level 2*/
#menu ul ul {
	font-size: 1rem;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	opacity: 0;
	-webkit-transform: translateY(-50%) scale3d(1, 0, 1);
	-ms-transform: translateY(-50%) scale3d(1, 0, 1);
	transform: translateY(-50%) scale3d(1, 0, 1);
	visibility: hidden;
	display: block;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(76, 192, 240, 1) 3%, rgba(137, 206, 235, 1) 97%);
	border-radius: 0px;
	width: auto !important;
	min-width: 320px;
	padding: 0px 1px 1px 1px;
	margin: 0;
	position: absolute;
	z-index: 8;
	margin-top: 0;
	/* box-shadow: 0px 0px 10px 0px rgba(85, 85, 85, .52);*/
	top: 35px;
}

/* list level 2 style */
#menu ul ul li {
	float: none;
	position: relative;
	width: auto;
	text-align: left;
	border: 3px solid #999;
	padding-top: 5px;
}

#menu ul ul li a {
	padding: 0px 20px 5px 5px;
	line-height: 25px;
	height: 30px;
	color: #000000 !important;
	margin: 0;
	/* text-shadow: 0px 0px 1px rgba(250, 249, 247, 0); */
}

#menu ul ul li:hover>a {
	border-radius: 10px;
	color: #ffffff !important;
}

#menu ul ul li a:hover {
	border-radius: 0px;
	background: #8e8e8e;
}

#menu canvas {
	position: absolute;
	width: 1px;
	height: 1px;
}

canvas noscript {
	display: none;
}

/* top sub menu 2 */
#menu ul ul ul {
	position: absolute;
	z-index: 8;
	left: 10%;
	top: 20px;
	border-left: 1rem solid;
	border-color: blue;
}

/* top sub menu 3 */
#menu ul ul ul ul {
	position: absolute;
	z-index: 9;
	left: 10%;
	top: 20px;
	border-left: 1rem solid;
	border-color: blue;
}

#menu ul>li>a:before,
#menu>ul>li>a:after {
	color: #4c4c4c;
	font-family: FontAwesome;
	pointer-events: none;
	text-align: center;
	line-height: 35px;
	font-size: 21px;
	padding: 0 1px 0 0;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	float: left;
	content: attr(data-icon);
	visibility: hidden;
}

#menu>ul>li>a:after {
	visibility: visible;
	position: absolute;
	top: 0;
	padding: 0;
	left: 18px;
	transition: all .12s ease-out;
}

#menu>ul>li>a:before,
#menu>ul>li>a:after {
	width: 21px;
}

#menu>ul>li>a.empty:before {
	padding: 0;
}

/*Icon before the text*/
#menu>ul>li:hover>a:after {
	color: #4c4c4c;
	font-size: 28px;
	left: 13px;
	text-shadow: 0px 1px 0px rgba(255, 255, 255, .25);
}

#menu ul ul li a:before {
	visibility: visible;
	color: #000000c7;
	line-height: 25px;
	font-size: 17px;
	padding: 0 10px 0 0;
}

#menu ul ul li:hover>a:before {
	color: #ffffff;
}

@media (max-width: 930px) {
	#menu>ul {
		min-width: 250px !important;
		width: 30%;
		padding: 0;
	}

	/*submenu text*/
	#menu ul li {
		float: none;
		display: block;
		position: relative;
	}

	#menu>ul>li {
		width: auto !important;
		margin: 0 1px 0 1px;
	}

	#menu>ul>li>a {
		display: none;
	}

	#menu>ul:hover>li>a {
		display: block !important;
		margin-left: 3px;
	}

	#menu>ul>li:hover {
		z-index: 9 !important;
	}

	/*menu top 3 lines from Font-Awesome when page minimized*/
	#menu>ul:before {
		font-family: FontAwesome;
		content: '\f0c9';
		color: #4c4c4c;
		font-size: 21px;
		float: left;
		line-height: 35px;
		padding: 0 10px;
	}

	#menu>ul:hover:before {
		opacity: 0
	}

	/*submenu bk*/
	#menu ul ul {
		left: 110px !important;
	}

	#menu ul ul ul {
		margin-top: 25px;
	}
}


/*Arrow for the meanu btn*/
arrow {
	border: solid rgb(62, 19, 182);
	border-width: 0 6px 6px 0;
	display: inline-block;
	padding: 3px;
}

.footer {
	position: fixed;
	left: 0;
	width: 100%;
	bottom: 0;
	left: 0;
	padding: 8px;
	background-color: #efefef;
	text-align: center;
	position: static;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
}

/*To display information under href*/
a.tooltip {
	border-bottom: none;
	text-decoration: none;
}

a.tooltip:hover {
	cursor: help;
	position: relative;
}

a.tooltip span {
	display: none;
}

a.tooltip:hover span {
	border: solid;
	padding: 5px 20px 5px 5px;
	display: block;
	z-index: 100;
	background: #e3e3e3;
	left: 0px;
	margin: 15px;
	width: auto;
	position: absolute;
	top: 20px;
	text-decoration: none;
}

.moving-arrow-right {
	display: inline-block;
	animation: moveRight 1s infinite alternate;
}

@keyframes moveRight {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(8px);
	}
}

.hebrew {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.4em;
	direction: rtl;
	font-weight: bold;
}

.saw {
	font-family:
		"Apple Color Emoji",
		"Segoe UI Emoji",
		"Noto Color Emoji",
		emoji;
	font-size: 1.5em;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
	white-space: nowrap;
}