#recite-wrapper #primary.container,
#recite-wrapper .top-header>.row,
#recite-wrapper .wp-block-columns {
	direction: ltr;
}

#recite-modal-custom {
	box-sizing: border-box;
	position: fixed;
	top: 50%;
	left: 50%;
	max-width: 700px;
	width: 38vw;
	transform: translate(-50%, -50%);
	/* max-height: 265px; */
	border: 1px solid #999;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	padding: 1rem;
	z-index: 2147483647;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

@media only screen and (max-width: 900px) {
	#recite-modal-custom {
		box-sizing: border-box;
		position: fixed;
		top: 50%;
		left: 50%;
		max-width: 700px;
		width: 90vw;
		transform: translate(-50%, -50%);
		/* max-height: 265px; */
		border: 1px solid #999;
		border-radius: 20px;
		background: #fff;
		overflow: hidden;
		padding: 1rem;
		z-index: 2147483647;
	}

	#recite-modal-custom .recite-modal-custom-button {
		width: 100px !important;
	}
}

.recite-modal-custom {
	position: relative;
}

#recite-modal-custom #recite-modal-custom-header {
	font-size: 1.5em;
	line-height: 2em;
	width: 100%;
	text-align: center;
	height: auto;
	text-transform: uppercase;
	font-weight: bold;
}

#recite-modal-custom #recite-modal-custom-content {
	padding: 0 1rem;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: left;
}

#recite-wrapper.recite-fade-custom::before {
	background-color: #4a4a49 !important;
	opacity: 0.7;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	content: '';
	z-index: 100000;
	user-select: none;
}

#recite-languages-dropdown {
	overflow-y: scroll;
}

#recite-languages-dropdown:not(.recite-active) {
	display: none;
}

#recite-header div#recite-dropdowns #recite-languages-dropdown.recite-dropdown.recite-active {
	max-height: 80vh !important;
}
