:root {
    --arabic-size: 30px;
    --latin-size: 17px;
    --body-size: 17px;
    --superscript-margin: -30px;
    --subscript-margin: 30px;
    --accent: #500050;
    --primary-btn-active: #500050;
    --primary-btn-hover: #830183;
    --primary-btn-text-color: #020202;
    --primary-btn-text-active: #ffffff;
    --primary-btn-text-hover: #ffffff;
}

@font-face {
    font-family: "Sakkal Majalla";
    font-style: normal;
    font-weight: 400;
    src: local("Sakkal Majalla"), url("/assets/font/majalla.woff") format("woff");
}

@font-face {
    font-family: "Sakkal Majalla";
    font-style: normal;
    font-weight: 700;
    src: local("Sakkal Majalla"), url("/assets/font/majalla.woff");
}

@font-face {
    font-family: "Liberation Sans";
    font-style: normal;
    font-weight: 400;
    src: local("Liberation Sans"), url("/assets/font/LiberationSans-Regular.woff");
}

@font-face {
    font-family: "Liberation Sans";
    font-style: italic;
    font-weight: 400;
    src: local("Liberation Sans"), url("/assets/font/LiberationSans-Italic.woff");
}

@font-face {
    font-family: "Liberation Sans";
    font-style: normal;
    font-weight: 700;
    src: local("Liberation Sans"), url("/assets/font/LiberationSans-Bold.woff");
}

@font-face {
    font-family: "Liberation Sans";
    font-style: italic;
    font-weight: 700;
    src: local("Liberation Sans"),
        url("/assets/font/LiberationSans-BoldItalic.woff");
}

@font-face {
    font-family: "Shaikh Hamdullah Mushaf";
    src: url("/assets/font/Shaikh_Hamdullah_Mushaf.ttf")
}

.cursor-pointer {
    cursor: pointer !important;
}

.arabic {
    font-family: Sakkal Majalla;
    font-size: var(--arabic-size);
    white-space: nowrap;
    word-break: keep-all;
    display: inline;
    direction: rtl;
}

.kelimeMealiArea .arabic {
    font-size: calc(var(--arabic-size) * 1.07);
}

.latin {
    font-family: 'Liberation Sans Narrow';
    font-size: var(--latin-size);
    direction: ltr;
}

.kelimeMealiArea .latin {
    font-size: calc(var(--latin-size)*1.06);
}

.latin.regular {
    display: inline-block;
}

* {
    font-size: var(--body-size);
}

.regular {
    font-weight: 400;
}

.bold {
    font-weight: bold;
}

.superscript {
    vertical-align: super;
    font-size: calc(var(--latin-size)*0.8 * 1.06) !important;
    display: inline-block !important;
}

.italic {
    font-style: italic;
}

.subscript {
    vertical-align: sub;
    font-size: calc(var(--latin-size)*0.8 * 1.06) !important;
    cursor: pointer;
    display: inline-block !important;
}

.blue {
    color: #0070c0;
}

.navy {
    color: #003e60;
}

.magenta {
    color: #7030a0;
}

.green {
    color: #76923c;
}

.arabic.green {
    color: #009999;
}

.orange {
    color: orange;
}

.brown {
    color: #663300;
}

.darkgray {
    color: darkgray;
}

.gray {
    color: gray;
}

.black {
    color: black;
}

.red {
    color: #943634;
}

.burgundy {
    color: darkred;
}

.subscript.blue {
    color: #31849b;
}

.arabic.regular.brown {
    font-size: calc(var(--arabic-size) * 0.9);
}

.ayet_card {
    width: 100%;
    border: 1px solid #EBEBEB;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.ayet_card .ayetno {
    font-weight: 700;
    font-size: 125%;
    color: #263238;
    background: #D7CCC8;
    border-radius: 5px;
}

body {
    margin-top: 0 !important;
    line-height: 1.2;
}

body.dark-mode .blue {
    color: peru;
}

body.dark-mode .black {
    color: white;
}

body.dark-mode {
    background-color: darkgrey;
}

body.bg-light {
    background-color: darkgrey !important;
}

body.dark-mode {
    color: white;
}

.kelimeMealiArea .secili {
    outline: 5px solid var(--accent);
    background-color: #F9F6F2;
}

.ingilizcemeal {
    max-height: 70vh;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-top: 20px !important;
    line-height: 1.0;
}

.kelimeMealiArea {
    max-height: 70vh;
    min-height: 70vh;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-top: 20px !important;
    padding-bottom: 20px;
}

.ingilizcemeal .ayet_card,
.kelimeMealiArea .ayet_card {
    position: relative;
    padding: 10px;
    padding-top: 10px;
    padding-bottom: 30px;
    cursor: pointer;
}

.ingilizcemeal .ayet_card .bottom-bar,
.kelimeMealiArea .ayet_card .bottom-bar {
    position: absolute;
    bottom: 5px;
    right: 5%;
}

.kelimeMealiArea[dir='rtl'] .ayet_card .bottom-bar {
    left: 5%;
}

.ingilizcemeal span.newWord,
.ayet_card span.newWord {
    margin-left: 5px;
    margin-right: 5px;
}

.ingilizcemeal span.newBreak,
.ayet_card span.newBreak {
    margin-left: 5px;
    margin-right: 5px;
}

.ingilizcemeal span.equals,
.ayet_card span.equals {
    -ms-display: math;
    -moz-display: math;
    -webkit-display: math;
    display: math;
}

.nowrap {
    display: inline;
}

.nav {
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.nav-pills .nav-link {
    border: 1px solid #bdc1c4;
    color: var(--primary-btn-text-color) !important;
}

.nav-pills .nav-link:hover {
    background-color: var(--primary-btn-hover);
    color: var(--primary-btn-text-hover) !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--primary-btn-active);
    color: var(--primary-btn-text-active) !important;
}

.nav-link {
    padding: 0.5rem 0.25rem;
}

.gramertahliliarea {
    height: 96vh;
    overflow-y: scroll;
    padding: 0px 3px;
}

.gramertahliliarea .kok {
    cursor: pointer;
    background: #d9dcdf;
    border-radius: 7px;
    box-shadow: 1px 1px #bfbfbf;
    padding: 0px 1px;
    font-size: 1.2em;
}

.gramertahliliarea .kok:hover {
    cursor: pointer;
    background: #c2c5c8;
    border-radius: 7px;
    box-shadow: inset -1px -1px 0px 0px #a2a2a2;
    padding: 0px 1px;
}

.gramertahliliarea .kok::after {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    color: #003e60;
    position: absolute;
    top: 0;
    left: 0;
}

.gramertahliliarea .baslik {
    font-weight: 600;
    font-size: 1.2rem;
}

.bg-yanmenu {
    background-color: #eee;
    height: 100vh;
    overflow: hidden;
}

.bg-yanmenu.mealmenu {
    overflow-y: scroll;
}

.border-radius {
    border-radius: 6px;
}

.mealmenu:not(.ingilizcemeal) *:not(i):not(.arabic) {
    font-family: 'Liberation Sans Narrow';
}

.mealmenu:not(.ingilizcemeal) .arabic {
    font-family: 'Sakkal Majalla';
}

.mealmenu:not(.ingilizcemeal) .latin {
    font-family: 'Liberation Sans Narrow';
}

.mealmenu:not(.ingilizcemeal) .navy {
    color: #002060;
}

.mealmenu:not(.ingilizcemeal) .latin.regular {
    display: inline;
}

.mealArea {
    border-bottom: 1px solid #bdc1c4;
}

.mealArea:not(.ingilizcemeal) .annotation {
    position: relative;
    color: #888888;
}

.margin-left-10 {
    margin-left: 10px;
}

.mealArea:not(.ingilizcemeal) .annotationgroup.closed {
    display: none;
}

.mealArea:not(.ingilizcemeal) .annotationBtn {
    background: #d9dcdf;
    border-radius: 7px;
    box-shadow: 1px 1px #bfbfbf;
    padding: 0px 1px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.mealArea:not(.ingilizcemeal) .annotationBtn.closed {
    display: none;
}

.bg-yanmenu.grameryanmenu {
    padding: 0;
    padding: 4px;
}

.bg-yanmenu.grameryanmenu .latin.regular {
    display: inline;
    padding: 3px;
}

.bg-yanmenu.grameryanmenu .linebreak {
    display: block;
    width: 100%;
    position: relative;
}

.bg-yanmenu.grameryanmenu .linebreak::after {
    display: inline-block;
    content: "";
    width: 100%;
    height: 1px;
    background: #bdc1c4;
    position: absolute;
    top: 0;
    left: 0;
}

.bg-yanmenu.grameryanmenu .gramertahliliBaslik {
    border-bottom: 1px solid #bdc1c4;
}

.bg-yanmenu.grameryanmenu .nav-item {
    font-size: .90em;
    font-family: 'Liberation Sans Narrow';
}

.specialredfont {
    font-family: 'Trebuchet MS', sans-serif !important;
    color: #842284;
}

.btn-tefsirgetir {
    font-size: 0.87rem;
    border: 1px solid #6c757d;
    border-radius: 7px;
    line-height: 0.75;
    color: #2a2d30;
    font-weight: 300;
}

.modal-title span {
    font-size: 1.5rem;
}

.gramertahliliarea .latin.english.black {
    display: none;
}

.gramertahliliarea.ingilizceacik .latin.english.black {
    display: unset;
}

.form-switch .form-check-input {
    width: 1.75em;
    margin-left: -2em;
}

.form-switch .form-check-label {
    font-size: 0.75em;
}

.secilikokbaslik {
    text-align: center;
}

.secilikokbaslik,
.secilikokbaslik * {
    font-size: calc(var(--arabic-size)*0.8);
}

#pills-kok-anlami * {
    font-kerning: normal;
}

#pills-gramer-tahlili {
    padding: 7px 10px;
}

.secilikokbaslik span {
    color: green;
}

.secilikokbaslik span::before {
    color: red !important;
    content: attr(data-first);
}

.secilikokbaslik span::after {
    color: blue !important;
    content: attr(data-last);
}

.tab-content .tab-pane.scroll {
    height: 100%;
    width: 100%;
    padding: 10px;
}

.tab-content .tab-pane.scroll {
    overflow: hidden;
    overflow-y: scroll;
}

* {
    scrollbar-width: thin;
    scrollbar-color: red;
}

ul.settingsmealler {
    list-style: none;
    padding-left: 0;
}

ul.settingsmealler li {
    margin-left: 0;
    padding-left: 0;
}

#pills-gectigi-yerler ul {
    list-style: none;
    padding-left: 0;
}

.modal-max-height {
    max-height: 75vh;
    overflow-y: auto;
}

.modal-body {
    overflow-x: hidden;
}

.l-navbar .badge-yeni {
    top: 0%;
    right: 0%;
    font-size: 8px;
}

.l-navbar.show .badge-yeni {
    top: 50%;
    right: -8%;
    font-size: 11px;
    transition: all 0.5s;
}

.bottom-fixed-menu {
    display: none;
}

.nextprevArea {
    white-space: nowrap;
}

.specialredfont.mobileblack {
    color: #575a5d;
}

@media only screen and (max-width: 992px) {
    .mobil-hidden {
        display: none !important;
    }

    .sm-mb-3 {
        margin-bottom: 1.25rem;
    }

    .sm-mt-3 {
        margin-top: 1.25rem;
    }

    .kelimeMealiArea {
        max-height: 75vh;
    }

    .btn-prev-sure,
    .btn-next-sure {
        font-size: 0.75rem;
        text-decoration: underline;
        display: inline-grid;
    }

    .mobileKelimeMealiTitle {
        display: inline-grid;
        line-height: 1.8;
    }


    .btn-next-sure img,
    .btn-prev-sure img {}

    .bottom-fixed-menu {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #500050;
        border-top: 1px solid #ddd;
        z-index: 1000;
        color: white;
    }

    .bottom-fixed-menu * {
        font-size: 0.7rem;
    }

    .bottom-fixed-menu .col {
        height: 70px;
        white-space: wrap;
    }

    .specialredfont {
        font-size: calc(var(--body-size)*0.8);
    }

    .mealmetini {
        line-height: 1.7;
    }
}

.modalici.sureadi {
    font-weight: bolder;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #ebebeb;
    font-size: calc(var(--latin-size) * 1.2);
}

.ayetMetni .mealmetini {
    line-height: 1.4
}

.ayetMetni .row:first-child {
    background-color: #ebebeb;
}

@media only screen and (min-width:992px) {
    .nextprevArea {
        white-space: nowrap;
        flex-wrap: nowrap;
        display: flex;
        align-items: center;
    }

    .col-md-6.ekranorta {
        width: 52%;
        height: 100vh;
        overflow: hidden;
    }

    .col-md-3.bg-yanmenu.grameryanmenu {
        width: 27%;
        height: 100vh;
        overflow: hidden;
    }

    .col-md-3.bg-yanmenu.mealmenu {
        width: 21%;
        height: 100vh;
    }


    .ayetMetni .mealmetini.ortak,
    .ayetMetni .ayetokunusu.ortak {
        overflow-y: scroll;
        min-height: 20vh;
        max-height: 20vh;
    }

    .ayetMetni .mealmetini {
        line-height: 1.7;
    }

    .ayetMetni .row:first-child {
        max-height: 20vh;
        background-color: #ebebeb;
    }

}

.mobile-menu-btn {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile-search-icon {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 60px;
    height: 60px;
    clip-path: circle(50%);
    transform: translate(-50%, -35%);
    background-color: #500050;
}

.mobile-search-icon>div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    clip-path: circle(50%);
    transform: translate(-50%, -50%);
    background-color: var(--accent);
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-group {
    position: relative;
}

.form-group datalist,
.form-group .autocomplete-dropdown {
    display: none;
    width: 100%;
    max-height: 170px;
    border: 1px solid gainsboro;
    position: absolute;
    z-index: 1050;
    background: white;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.form-group .autocomplete-dropdown .autocomplete-item,
.form-group datalist option {
    padding: 5px;
}

.form-group .autocomplete-dropdown .autocomplete-item:hover,
.form-group datalist option:hover {
    background-color: var(--ct-primary);
    border: none;
    color: #252525;
    cursor: pointer;
}

.form-group .autocomplete-dropdown .autocomplete-item.active,
.form-group datalist option.active {
    background-color: var(--ct-primary);
    border: none;
    color: #fff;
    cursor: pointer;
}

.etiket-badge {
    font-size: 40% !important;
    left: 100% !important;
}