.search-found {
    background: #FCEED4;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #17a2b8;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #13687a;
}

.header-body-second {
    border-bottom-color: rgba(103, 97, 97, 0.72) !important;
    box-shadow: 0 0 3px rgba(140, 137, 137, 0.5) !important;
}

.menu-operation {
    position: fixed !important;
    background-color: #17a2b8;
    opacity: 1;
    color: #000;
    z-index: 99;
    height: 60px;
    left: 0;
    right: 0;
    padding: 18px;
    box-shadow: 0 3px 8px #17a2b8;
    margin: auto !important;
}

.menu-operation a {
    color: #fff !important;
}

.tab-pane ul li a {
    color: #70260B !important;
}

.tab-pane ul li a:hover {
    cursor: pointer;
    color: #70260B !important;
    text-decoration: underline !important;
}

a {
    cursor: pointer;
    text-decoration: none !important;
}

h1 {
    color: #369 !important;
    font-size: 30px !important;
    font-weight: bold !important;
    /*line-height: 20px !important;*/
    margin-bottom: 23px !important;
}

h2 {
    color: #4F3320 !important;
    font-weight: bold !important;
    font-size: 23px !important;
    margin-bottom: 0 !important;
    margin-top: 13px !important;
}

h3 {
    font-weight: bold !important;
    font-size: 21px !important;
    font-style: normal !important;
    margin-bottom: 23px !important;
    margin-top: 13px !important;
    color: #0d5e6b !important;
}

h1 .libAlaemChar span {
    color: #4F3320 !important
}

h2 .libAlaemChar span {
    color: #4F3320 !important
}

h3 .libAlaemChar span {
    color: #4F3320 !important
}

.libAlaemChar span {
    font-family: Rafed Alaem, serif;
    font-size: 120% !important;
}

.libAie span {
    font-family: KFC_naskh, "Traditional Arabic", serif !important;
}

.section-book {
    text-align: justify;
    margin-left: 35px;
    margin-right: 0;
    margin-top: 40px;
}

select > option {
    line-height: 10px;
}

.font-home {
    padding-right: 15px;
    list-style: none;
}

.font-home .child {
    padding-right: 15px;
}

.operations a {
    margin-right: 5px;
    margin-left: 5px;
}

.loading {
    position: relative;
    margin-right: 30%;
    color: #000;
    z-index: 999;
    text-align: center;
    text-shadow: 1px 1px 1px #e8dfdf;
}

.hidden {
    display: none;
}

.search-result {
    padding-top: 8px;
    font-size: 11px;
}

.position-fix {
    position: fixed !important;
    bottom: 0;
}

.normal-column {
    left: 0 !important;
    position: absolute !important;
    margin: auto !important;
}

.normal-scroll {
    overflow: auto !important;
}

.cover {
    width: 173px;
    float: right;
    position: sticky;
    margin-top: -55px;
}

.margin-bottom-200 {
    margin-bottom: 200px;
}

.pre-loading {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../../img/preloader.gif) center no-repeat #fff;
}

.loading-mini {
    position: absolute;
    left: 50%;
    width: 50%;
    height: 60px;
    z-index: 9999;
    background: url(../../img/preloader.gif) center no-repeat transparent;
    top: 60px;
}

.margin-top-65 {
    margin-top: 65px;
}

.book-index {
    display: block;
    overflow-y: auto;
}

.pull-left-important {
    float: left !important;
}

.pull-right-important {
    float: right !important;
}

.socicon-custom {
    border: none !important;
    font-size: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 25px !important;
}

.scroll-x-hide {
    overflow-x: hidden;
}

.border-top-3 {
    border-top: 3px solid #00000080;
}

.load-more {
    text-align: center;
    background: #17a2b8;
    color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 8px 1px #ccc;
}

.invisible-menu a {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.MsoToc1, .MsoToc2, .MsoToc3 {
    text-align: inherit !important;
    background-color: transparent !important;
    line-height: 2.5em;
}

.MsoToc1 span, .MsoToc2 span, .MsoToc3 span {
    background-color: transparent !important;
}

.MsoToc1:hover, .MsoToc2:hover, .MsoToc3:hover {
    background-color: lightgrey !important;
    cursor: pointer !important;
    border-radius: 5px;
}

.page-header-bread {
    margin: 0 0 35px 0;
    padding: 30px 0;
    position: relative;
    text-align: right;
}

.page-header-bread .breadcrumb > li > a {
    color: #08c;
}

.page-header-bread .breadcrumb > li + li:before {
    color: inherit;
    opacity: .5;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: "\f105";
    padding: 0 5px 0 7px;
    content: "\f104";
    float: right;
}

#content .page {
    font-family: "B Badr", "Times New Roman";
}

#content .newStyle {
    width: 100%;
    min-height: 100px;
    height: auto;
    margin: 0 auto 1px;
    background: #FFF;
    border: none;
    float: right;
    font-size: 130%;
}

#pg0 .pageContent {
    text-align: center;
}

.right {
    float: right;
}

sub, sup {
    color: #CC0000;
    font-size: 55%;
    font-weight: bold;
    vertical-align: super;
}

.breadcrumbs {
    height: 55px;
    width: 100%;
}

#pg0 {
    border-bottom: 1px solid #aba5a5 !important;
    padding-bottom: 5px;
}

.newStyle {
    border-bottom: 1px solid #aba5a5 !important;
}

.newStyle .pageContent {
    width: 100%;
    min-height: 120px;
    float: right;
}

.page h1, p.Heading1, p.Heading1Center, p.Heading1CenterChar {
    margin-top: 12pt;
    margin-bottom: 3pt;
    padding: 0;
    font-size: 130%;
    font-weight: bold;
    color: #369 !important;
    text-align: center !important;
}

p.libCenter, p.libCenterBold1, p.libCenterBold1Char, p.libCenterBold2, p.Heading1Center, p.Heading2Center, p.Heading3Center, p.Heading4Center, p.Heading5Center, p.libFootnoteCenter, p.libFootnoteCenterBold, p.libVarCenter, p.libPoemFootnoteCenter, p.libPoemCenter, p.Heading1CenterChar {
    text-align: center;
    text-indent: 0;
}

p.libBold1, p.libBold2, p.libCenterBold1, p.libCenterBold1Char, p.libCenterBold2, p.libLeftBold, p.libFootnoteBold, p.libFootnoteCenterBold {
    font-weight: bold;
}

.page p, .page h1, .page h2, .page h3, .page h4, .page h5 {
    text-align: center;
}

.page p {
    color: #242424;
    margin: 5px 0;
    text-align: justify;
    direction: rtl;
    font-size: 85%;
}

.libAlaem, .libAlaemChar {
    font-family: Rafed Alaem;
    font-size: 120%;
    line-height: 1;
}

p.libAie, p.libAieChar, p.libFootnoteAie, p.libArAie, .libAie, .libAieChar, .libFootnoteAie, .libArAie, .libDoaBold, .libDoaColor {
    /*font-family: "KFC_naskh", "Traditional Arabic" !important;*/
    color: green !important;
    direction: rtl !important;
    font-size: 120%;
}

/*#bookContent .page, h1, h2, h3, h4, h5, h6 {*/
/*    font-family: B Badr, "Times New Roman";*/
/*}*/


.page h1, p.Heading1, p.Heading1Center, p.Heading1CenterChar {
    margin-top: 12.0pt;
    margin-bottom: 3.0pt;
    padding: 0;
    font-size: 130%;
    font-weight: bold;
    color: #369;
}

.page h2, p.Heading2, p.Heading2Center {
    margin-top: 12.0pt;
    margin-bottom: 3.0pt;
    padding: 0;
    font-size: 115%;
    font-weight: bold;
    color: #4F3320;
    text-align: center;
}

.page h3, .page h4, .page h5, p.Heading3, p.Heading3Center, p.Heading4, p.Heading4Center, p.Heading5, p.Heading5Center {
    margin-top: 12.0pt;
    margin-bottom: 3.0pt;
    padding: 0;
    font-size: 105%;
    font-weight: bold;
    color: #333;
}

.page h1, .page h2, .page h3, p.Heading1, p.Heading2, p.Heading3 {
    text-align: right;
}

.libFootnotenum, .libFootnotenumChar {
    color: #CB6521;
    font-size: 70%;
    line-height: 50%;
    vertical-align: super;
    font-weight: normal;
}

.libHadees, .libHadeesFootnote {
    color: #663300;
}

p[class^="libToc"] {
    font-size: 90%;
    cursor: pointer;
}

p[class^="libToc"]:hover {
    background: #EEE;
}

.libTocNum {
    float: left;
}

.libBold2 .libFootnotenum, .libCenterBold2 .libFootnotenum, .libLeftBold .libFootnotenum, .libBold2 .libFootnotenumChar, .libCenterBold2 .libFootnotenumChar, .libLeftBold .libFootnotenumChar {
    font-size: 95%;
}

h1 .libFootnotenum, .Heading1 .libFootnotenum, .Heading1Center .libFootnotenum, h2 .libFootnotenum, .Heading2 .libFootnotenum, .Heading2Center .libFootnotenum, h3 .libFootnotenum, h4 .libFootnotenum, h5 .libFootnotenum, .Heading3 .libFootnotenum, .Heading3Center .libFootnotenum, .Heading4 .libFootnotenum, .Heading4Center .libFootnotenum, .Heading5 .libFootnotenum, .Heading5Center .libFootnotenum, .libBold1 .libFootnotenum, .libCenterBold1 .libFootnotenum {
    font-size: 80%;
}

.libFootnote_num_par {
    color: #336600;
    font-size: 70%;
    line-height: 50%;
    vertical-align: super;
}

.libVar, .libVar0, .libVarCenter {
    font-size: 90%;
}

.libMid {
    font-size: 85%;
}

.libFootnote, .libFootnote0, .libFootnote0Char, .libPoemFootnote, .libPoemFootnoteCenter, .libFootnoteCenter, .libFootnoteCenterBold, .libFootnoteLeft, .libFootnoteBold, p.libFootnote, p.libFootnote0, p.libFootnote0Char, p.libPoemFootnote, p.libPoemFootnoteCenter, p.libFootnoteCenter, p.libFootnoteCenterBold, p.libFootnoteLeft, p.libFootnoteBold {
    font-size: 78% !important;
}

.libFootnote .libFootnote0, .libFootnote0 .libFootnote, .libFootnote0 .libFootnote0, .libFootnote .libFootnote, .libFootnote0 .libFootnoteCenter, .libFootnote0 .libFootnoteCenterBold, .libFootnote0 .libFootnoteLeft, .libFootnote0 .libFootnoteBold, .libHadeeslibHadees {
    font-size: 95% !important;
}

.libFootnote, .libLine, .libFootnote0 {
    color: #6B7E6D !important;
}

#pg0 h2 {
    font-size: 120%;
    text-align: center;
}

#bookContent .page {
    min-height: 630px;
    height: auto;
    margin: 10px auto;
    background: #FFF;
    font-size: 150%;
}

.page .pageContent {
    margin: 40px 30px 10px;
    width: 92%;
    min-height: 520px;
}

.pageContent {
    font-size: 140%;
    line-height: 1.5;
}

.page .pageNum {
    margin: 10px 20px;
    padding-top: 5px;
    width: 94%;
    float: right;
    text-align: center;
}

.libBold1, .libBold1Char, .libCenterBold1, .libCenterBold1Char {
    margin-top: 21pt;
    margin-bottom: 9pt;
    padding: 0;
    font-size: 110%;
    font-weight: bold;
}

.libNotice {
    color: red !important;
}

p.libLeft, p.libLeftBold, p.libFootnoteLeft {
    text-align: left;
}

p.libBold2, p.libBold2Char, p.libCenterBold2, p.libLeftBold, p.libFootnoteBold, p.libFootnoteCenterBold {
    font-size: 95%;
}

p.libBold1, p.libBold2, p.libCenterBold1, p.libCenterBold1Char, p.libCenterBold2, p.libLeftBold, p.libFootnoteBold, p.libFootnoteCenterBold {
    font-weight: bold;
}

/* book search */
#searchResults div.search-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 2px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    justify-content: space-around;
    flex-direction: row-reverse;
}

#searchResults .page-number {
    margin-right: 10px;
    font-weight: bold;
    color: #007bff;
}

#searchResults .search-text {
    flex-grow: 1;
}


#searchResults strong {
    color: #007bff;
}

.highlight {
    background-color: yellow;
}


.skeleton-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #f0f0f0;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
}

.skeleton.page-number {
    width: 50px;
    height: 20px;
    margin-right: 10px;
}

.skeleton.search-text {
    flex-grow: 1;
    height: 20px;
}

/* Add a shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

.skeleton {
    animation-duration: 1.2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: shimmer;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
    background-size: 800px 104px;
    position: relative;
}

#bookSearchForm {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px;
}

#bookSearchForm .form-control {
    flex-grow: 1;
}



