:root {
    --aya-font-size: 3vh;
    --aya-line-height: normal;
    --aya-text-align: right;
    --aya-font-family: QuranFontttf;
    --translate-font-size: 1.8vh;
    --translate-line-height: 2.8vh;
    --translate-display: block;

    --aya-light-color: #0f222b;
    --aya-dark-color: #d6cb9b;
    --translate-light-color: #284a59;
    --translate-dark-color: #d6c474;
    --aya-light-selected-color: #ff0000;
    --aya-dark-selected-color: #ffe85e;
    --translate-light-selected-color: #ff0000;
    --translate-dark-selected-color: #ffb845;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #00000077;
    z-index: 1;
    display: none;
}

.overlay.full {
    background: rgba(0, 0, 0, 0.45);
    z-index: 100;
}

.overlay .overlay_content {
    display: none;
}

.overlay.full .overlay_content {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.overlay_content .overlay_loading {
    margin: auto auto 0;
}

.overlay_content .overlay_text {
    margin: 0 auto auto;
    color: white;
    font-size: 2.5vh;
}

::-webkit-scrollbar {
    width: 2px;
    height: 3px;
}

::-webkit-scrollbar-track {
    background: #0000;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.overlay_content .new_version_popup {
    margin: auto;
    background: #eadb7b;
    width: 80%;
    min-height: 20%;
    max-height: 80%;
    padding: 1.5vh 2vh;
    border-radius: 5px;
    color: #524706;
    display: flex;
    flex-direction: column;
}

.overlay_content .new_version_popup .new_version_header {
    text-align: center;
    font-size: 3vh;
    font-variation-settings: "wght" 600;
}

.overlay_content .new_version_popup .new_version_changes {
    font-size: 2.5vh;
    line-height: 4vh;
    overflow: auto;
    margin: 10px;
    text-align: justify;
}

.overlay_content .new_version_popup .new_version_changes ul {
    margin-block-start: 1vh;
    margin-block-end: 1vh;
}

.overlay_content .new_version_popup .new_version_footer_button {
    padding: 1vh;
    background: #f1dc55;
    border-radius: 5px;
    outline: 0;
    color: #594f14;
    font-size: 2.5vh;
    text-align: center;
    width: 100%;
    cursor: pointer;
    border: 2px solid;
    margin-bottom: 1.5vh;
}

.overlay_content .new_version_popup .new_version_footer_button:last-of-type {
    margin-bottom: 0;
}

*:focus {
    outline: none !important;
}

@font-face {
    font-family: sahel;
    src: url(/lib/Sahel_VF.woff2) format('woff2');
}

.page.dark .overlay_content .new_version_popup {
    background: #2e2e2e;
    color: #d6cb9b;
}

@keyframes flickerAnimation {
    50%  { opacity:0; }
}
@-o-keyframes flickerAnimation{
    50%  { opacity:0; }
}
@-moz-keyframes flickerAnimation{
    50%  { opacity:0; }
}
@-webkit-keyframes flickerAnimation{
    50%  { opacity:0; }
}
.blink-animation {
    -webkit-animation: flickerAnimation 1s infinite;
    -moz-animation: flickerAnimation 1s infinite;
    -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}

.middle-title {
    display: flex;
    flex-direction: row;
}

.middle-title:before,
.middle-title:after {
    content: "";
    flex: 1 1;
    border-bottom: 1px solid;
    margin: auto;
}

.middle-title:before {
    margin-left: 10px
}

.middle-title:after {
    margin-right: 10px
}