@font-face {
    font-family: 'sky';
    src: url('../font/sky.ttf');
}

@font-face {
    font-family: 'sky-bold';
    src: url('../font/sky-bold.woff');
}

@font-face {
    font-family: 'jazeera-bold';
    src: url('../font/Al-Jazeera-Arabic-Bold.ttf');
}

@font-face {
    font-family: 'UthmanicHafs_v2-1.ttf';
    src: url('../font/UthmanicHafs_v2-1.ttf');
}


@font-face {
    font-family: 'UthmanicHafs1B Ver12';
    src: url('../font/UthmanicHafs1B Ver12.otf');
}

@font-face {
    font-family: 'UthmanTN1Ver10';
    src: url('../font/UthmanTN1Ver10.otf');
}

@font-face {
    font-family: 'UthmanicHafs1Ver09';
    src: url('../font/UthmanicHafs1Ver09.otf');
}

@font-face {
    font-family: 'mcs_GF1';
    src: url('../font/mcs_GF1.ttf');
}

@font-face {
    font-family: 'mcs_GF2';
    src: url('../font/mcs_GF2.ttf');
}

@font-face {
    font-family: 'mcs_GF3';
    src: url('../font/mcs_GF3.ttf');
}

@font-face {
    font-family: 'mcs_GF4';
    src: url('../font/mcs_GF4.ttf');
}

@font-face {
    font-family: 'mcs_GF6';
    src: url('../font/mcs_GF6.ttf');
}

* {
    font-family: 'UthmanTN1Ver10';

}

body {
    background-color: #fbf7ee !important;
    opacity: 1;
}


.bibliography-table td {
    border: none;
    padding: 5px 10px;
}
.bibliography-table label {
    font-weight: bold;
}

.rawy_name {
    color: #c55235 !important;
    text-decoration: none !important
}

.gareeb {
    color: #245c8c !important;
}


.nartorAlfaa {
    font-size: 1.2rem;
    background: #fff;
    border: 3px solid #faf7ee !important;
    color: #afa787 !important;
    padding: 3px 0 !important;
    width: 50px;
    overflow: hidden;
}


.normal-title {
    font-family: 'sky' !important;
    font-size: 26px;
    color: #245c8c !important;
    text-align: center;
}


.hr-title {
    font-family: 'sky-bold' !important;
    font-size: 22px;
    color: #ffffff !important;
    text-align: center;
}

.ribbon-title {
    font-family: 'sky-bold' ;
    font-size: 26px;
    color: #ffffff !important;
    text-align: right;
}

/* Blue ribbon remains in normal order */
.blue-ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f3d7a;
    padding: 15px 20px;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
    margin-bottom: 20px;
}

/* Specific class for manuscript container */
.manuscript-layout {
    display: flex;
    flex-direction: row-reverse; /* Apply row-reverse only here */
    justify-content: space-between;
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}


.hr-text {
    font-size: 22px;
    color: #c55235 !important;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.hr-text:before {
    content: "";
    height: 2px;
    width: 40%;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #245c8c;
    display: inline-block;
}

.rounded-frame {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #f8f9fa;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
}

.styled-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.title-cell {
    font-weight: bold;
    text-align: right;
}

.data-cell {
    color: #666;
    text-align: right;
}

.no-data {
    text-align: center;
    color: #999;
    font-weight: bold;
}

.hr-text:after {
    content: "";
    height: 2px;
    width: 40%;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #245c8c;
    display: inline-block;
}


.ContentRadiues {
    background: #fff;
    padding: 15px;
    border-radius: 20px;
}

.boxMedia {
    box-shadow: 0px 0px 5px #afa788;
    padding: 12px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.boxMedia:hover {
    transform: scale(1.05);
}


nav-item-hover:hover {
    background: #c55235;

}

.hadith-box {
    background: #f7f7f7 !important;
    border-radius: 33px;
    height: 300px;
    overflow-y: auto;
}


.scrollspy-example {
    position: relative;
    max-height: 400px;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.toggle-example {
    position: relative;
    max-height: 400px;
    height: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

.sura-name {
    color: #c55235;
}

.round-brackets {
    color: #c55235;
}

.square-brackets {
    color: #c90076;
}

.curly-brackets {
    color: #245c8c;
}

.aya-tag {
    color: #c55235;
}

.guillemet {
    color: #245c8c;
}

.double-quotes {
    color: #245c8c;
}





.g-title {
    color: #505050;
    background: #f7f7f7;
    margin-bottom: 5px;
    border-right: 3px solid #ccc;
    padding: 10px 10px 10px 0;
    font-size: 22px;

}

.g-paragraph {
    margin: 10px 0;
    padding: 5px 5px 5px 0;
    text-align: justify;
    font-size: 20px;
    line-height: 35px!important;
}

.g-paragraph:hover {
    background-color: #f5f5f5;
}



.g-link {
    color: #f50000;
}

.g-aya {
    color: #494179;
}

.g-square-brackets {
    color: #245c8c;
}

.g-parentheses {
    color: #c55235;
}

.g-quotes {
    color: #aea68a;
}

.g-list {
    color: #f50000;
    text-align: center;
    padding: 0 3px;
    font-size: 21px;
}



.g-symbol{
    color: #f50000;

}



.copy-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none; /* Initially hidden */
    width: 150px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-family: 'sky-bold';

}
.g-copy{
    text-decoration: none;

}

.book-title-link {
    color: inherit; /* Inherit the original color */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
}

.book-title-link:hover {
    text-decoration: none; /* Keep underline off on hover */
    cursor: pointer; /* Show pointer cursor on hover */
}


/* Styled search box and navigation buttons */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.search-input {
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 8px 16px;
    width: 100%;
    max-width: 400px;
}

.search-button,
.nav-button {
    border: none;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover,
.nav-button:hover {
    background-color: #e2e6ea;
}

.nav-button-bold {
    font-weight: bold;
}


.scrollable-book-index-container {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

.book-read-header {
    text-align: center;
    border: 1px solid white;
    background: #faf7ee;
    margin: 7px 0;
    padding: 7px;
    border-radius: 10px;
}
.book-header-title{

    color: #202a5a;
    font-family: 'sky-bold';
    font-size: 22px;

}


.section-header-title{

    color: #ffffff;
    font-family: 'sky-bold';
    font-size: 26px;

}
.manuscript-title{
    color: #202a5a;
    font-family: 'sky-bold';
    font-size: 22px;

}


.small-span-book-page{
    font-size: 12px;
    color: #707189;
    padding-right: 3px;
    display: inline-block;

}



.book-index-toggle {
    -webkit-transition: all .50s ease-out;
    transition: all .50s ease-out;
    border-radius: 5px;
    color: #245c8c;
    display: block;
    position: relative;
    cursor: pointer;
    padding: 2px;

}

.book-index-toggle.active {
    -webkit-transition: all .50s ease-in;
    transition: all .50s ease-in;


}

.book-index-toggle.active .fa-angle-right {
    transform: rotate(90deg);
}


.book-index-item {
    cursor: pointer;
    color: #202a5a;
    font-weight: bold;
}

.book-index-item:hover {
    text-decoration: none;
    background-color: #e8e1ca;

}

.book-index-item-active{
    background-color: #e8e1ca;
}


.ico-file {
    font-family: "Font Awesome 5 Free";
    content: "\128462"; /* Unicode for the copy icon */
    color: rosybrown;
    font-size: 19px;
    margin: 0 10px;
    font-style: normal;

}

.ico-files::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c5"; /* Unicode for the copy icon */
    color: grey;
    font-size: 17px;
    margin: 0 10px;
    font-style: normal;

}




.arabic-double-quotes {
    color: #245c8c;
}

.poetry {
    color: #c55235;
}

.aya {
    font-family: 'UthmanicHafs1Ver09' !important;
    text-align: justify !important;
    color: #245c8c;
}

.hadith {
    font-family: 'UthmanTN1Ver10' !important;
    font-size: 24px;
    line-height: 1.7;
    text-align: justify;
}

.sep {
    color: #aea68a;
}


.mosshaf-aya-selected {

    background: #f3d29b !important;
}


.mosshaf {
    font-family: 'UthmanicHafs1Ver09' !important;
    font-size: 26px;
    line-height: 1.7;
    text-align: justify !important;
}


.aya-data {
    font-family: 'UthmanicHafs1Ver09' !important;
    font-size: 22px;
    line-height: 1.5;
    text-align: justify !important;
    color: #595c5f;
}


.mosshaf-data {
    font-size: 24px;
    line-height: 1.7;
    text-align: justify;
}


.mosshaf-sura-name {
    background-image: url("../images/sura_name_frame.webp") !important;
    clear: both;
    padding: 11px 0;
    background-repeat: no-repeat;
    background-position: center center;
    height: auto;
    background-size: cover;
    text-align: center;
}

.mosshaf-aya:hover {
    background: #ffeb3b38;
    cursor: pointer;
}

mark {
    background-color: yellow;
}


search-result:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


.card-title {
    font-size: 20px;
    color: #245c8c;
    cursor: pointer;
    text-decoration: none !important;
}


.bib-title {
    font-size: 18px;
    color: #000000;
    cursor: pointer;
    text-decoration: none !important;
}

.today-hadith {
    font-size: 22px;
    color: #000000;
    cursor: pointer;
    text-decoration: none !important;
}

/*modify the bootstrap calsses*/
.nav-link.active {
    background-color: #245c8c !important;
    color: #e9ecef !important;

}


.nav-link-dark-green {
    font-size: 14px;
    font-weight: bold;
    font-family: 'sky' !important;
    color: #245c8c !important;

}

.nav-link-dark-green.active {
    font-size: 14px;
    font-weight: bold;
    font-family: 'sky' !important;
    color: #FFF !important;
    background-color: #afa788 !important;

}


.nav-link {
    font-family: sky !important;


}


.invalid-feedback {
    color: #afa788 !important;

}


.loader-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    z-index: 9999; /* Ensure the loader is on top of other content */
}

.spinner-border {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 10px;
    padding: 6px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #007bff; /* Change color for better visibility */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.page-menu-section {
    background: #ffffff;
    /*padding: 13px 0;*/
    /*border-radius: 13px;*/
    box-shadow: 0px 0px 14px #b3acac2e;
    /*margin: 0 0 0 2px;*/
    background-image: url("../images/top_header_2.webp") !important;
    clear: both;
    background-repeat: no-repeat;
    background-position: center center;
    height: auto;
    background-size: cover;

}


/*.mosshaf-border {*/
/*    background-image: url("../images/top.webp") !important;*/
/*    border: none;*/
/*    background-repeat: repeat;*/
/*    padding: 10px;*/

/*}*/

.page-menu-row {
    background: #ffffff21;
    padding: 10px 10px 7px 18px;
    border-radius: 28px;
}

.form-select {
    background-position: left .75rem center !important;
}

.header-nav-link {
    color: #444;
    font-size: 16px;
    font-weight: 100 !important;
    font-family: 'sky-bold' !important;
}

.header-bib {
    color: #245c8c;
    font-size: 32px;
    font-weight: 100 !important;
    font-family: 'sky-bold' !important;
}

.list-group {
    padding-left: 0; /* Remove left padding of the list */
    margin: 0; /* Ensure the list aligns with the parent container */
}

.list-group-item {
    padding-left: 10px; /* Adjust to align content as needed */
    margin: 0; /* Remove extra spacing */
    border: none; /* Optional: if borders look off */
}


.list-group-item:hover {
    background-color: #f9f9f9;
}

.book-title-link {
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

.book-title-link:hover {
    color: #007bff;
}

.header-bib-small {
    color: #245c8c;
    font-size: 24px;
    font-weight: 100 !important;
    font-family: 'sky' !important;
}

.child-list-group {
    display: none; /* Hidden by default */
    padding-left: 10px;
    width: 120%; /* Adjust width */
}

.subtitle {
    color: #245c8c;
    font-size: 18px;
    font-weight: 100 !important;
    font-family: 'sky' !important;
}

.subtitle2 {
    color: #245c8c;
    font-size: 22px;
    font-weight: 100 !important;
    font-family: 'sky' !important;
}
.dropdown-hover:hover .dropdown-menu {
    display: block;
}

li a {
    display: block;
    padding: 10px;
    background-color: transparent; /* Make the background transparent */
    border: 1px solid #ddd;
    border-radius: 5px; /* Keeps rounded corners */
    text-decoration: none;
    font-size: 16px;
    color: #333;
    text-align: center;
    transition: background-color 0.3s ease;
}

li a:hover {
    background-color: #007bff; /* Add hover background color */
    color: white;
}

.header-nav-item .dropdown-item {
    border-bottom: 1px solid #f7f7f7;
    color: #777;
    font-family: sky !important;
    font-weight: 400;
    padding: 6px 18px 6px 18px;
    position: relative;
    text-transform: none;
    letter-spacing: -0.5px;
}


.header-nav-item .dropdown-item:hover {
    color: #ffbb4a;
}

.header-nav-item:hover .header-nav-link {
    color: #ffbb4a;
}

.QuranTFrame {
    background: url("../images/top.webp");
    height: 23px !important;
    width: 100%;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
}

.QuranBFrame {
    background: url("../images/bottom.webp");
    width: 100%;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
}

.btn-dark-green {
    color: #FFF !important;
    background-color: #afa788 !important;
    border-color: #afa788 !important;
    border-radius: 35px;
    font-family: sky !important;


}


.btn-dark-green:hover {
    color: #fff;
    background-color: #8b8261 !important;
}

.btn-light-green {
    color: #afa788 !important;
    background-color: #ffffff !important;
    border-color: #afa788 !important;
    border-radius: 35px;
    font-family: sky !important;


}


.btn-light-green:hover {
    color: #ffffff !important;
    background-color: #8b8261 !important;
}


.btn {
    font-size: 12px;
}


.QuranCFrame {
    background: url("../images/center.webp");
    width: 100%;
    padding: 0px 18px !important;
    background-size: 100% 33px !important;
}

.mosshaf-aya-no {
    background: url("../images/ayaaSign.svg");
    width: 41px;
    height: 51px;
    color: #fff;
    position: relative;
    top: -6px;
    text-align: center;
    margin: 0 auto;
}


.btn-blue {
    color: #FFF !important;
    background-color: #245c8c !important;
    border-color: #245c8c !important;
    border-radius: 35px;
    font-family: sky !important;
}

.btn-blue:hover {
    color: #fff;
    background-color: #144063 !important;
}

.btn-primary {
    --bs-btn-bg: #245c8c !important;

}


/*.mosshaf-data > * {*/
/*    !* Make the span inherit the styles of the div *!*/
/*    font-size: inherit !important;*/
/*    font-family: inherit !important;*/
/*    !* Add more inherit properties as needed *!*/
/*}*/


.select-radius {
    font-size: 16px;
    border-radius: 18px;
}


.form-control::placeholder {
    color: #adadad; /* replace with the color you want */
}

/* Set styles for all nav links */
.hadith-nav-link {
    border: 0 !important;
    border-bottom: 3px solid #eee !important;
    border-radius: 0 !important;
    color: black !important;
}

/* Set styles for active nav link */
.hadith-nav-link.active {
    color: black !important;
    background-color: transparent !important;
    border-bottom-color: #ffbb4a !important;
}

.hadith-nav-link:hover {
    color: #ffbb4a !important;
    border-bottom-color: #ffbb4a !important;
}

.fa-greater-than {
    color: #bbbbbb;
    font-size: 13px;
    opacity: 0.5;
    font-weight: 900;
    margin-top: 2px;
}


.blue-toggle {
    -webkit-transition: all .50s ease-out;
    transition: all .50s ease-out;
    /*background: #f7f7f7;*/
    background: #ece6d5;
    border-left: 3px solid #245c8c;
    border-radius: 5px;
    color: #245c8c;
    display: block;
    min-height: 20px;
    padding: 12px 20px 12px 10px;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-size: 20px;
}

.blue-toggle.active {
    color: #FFF;
    background: #afa788;
    border-left-color: #afa788;
    -webkit-transition: all .50s ease-in;
    transition: all .50s ease-in;


}

.blue-toggle.active .fa-angle-right {
    transform: rotate(90deg);
}



     /* General Layout */
 .container-fluid {
     margin-top: 20px;
 }

.row {
    margin: 0;
}

/* Sidebar Styles */
.bg-light {
    background-color: #f8f9fa !important;
}

.border-end {
    border-right: 1px solid #ddd !important;
}

.list-group {
    padding: 0;
    margin: 0;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    padding: 10px 15px;
    text-align: right;
    background-color: transparent;
}

.list-group-item:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Main Content Area */
.col-md-10 {
    padding: 15px;
    background-color: #fff;
}

.table {
    width: 100%;
    margin-top: 20px;
}

/* Buttons */
.btn {
    font-size: 0.9rem;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.85rem;
}

/* Search Form */
.form-control {
    border-radius: 0.25rem;
}

.form-select {
    border-radius: 0.25rem;
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary:hover {
    background-color: #004085;
    border-color: #004085;
}

/* Table */
.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #ddd;
    text-align: center;
}

.table tbody tr:hover {
    background-color: #f2f2f2;
}

.table tbody td {
    text-align: center;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .col-md-2 {
        display: none;
    }

    .col-md-10 {
        width: 100%;
        padding: 10px;
    }

    .table {
        font-size: 0.85rem;
    }
}




