﻿/*#region global */

.containerShadow {
    background-color: #fff;
    box-shadow: 0px 0px 5px 0 hsla(0,0%,45%,.388);
}

#libraryFrame {
    background-color: white;
    direction: ltr;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    overflow-x: auto;
    background-image: url('../images/DigitalLib/GroundPattern.png');
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
}

#tags_div {
    width: 350px;
    height: 98%;
    border-radius: 5px;
    background-color: transparent;
    float: right;
    direction: rtl;
    border: 2px solid rgb(218, 218, 218);
    overflow: auto;
}

#popupFrameContent {
    position: absolute;
    top: 40px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    overflow: auto;
}

#verticalPopupPanel {
    width: 350px;
    height: 100%;
    position: fixed;
    border: 2px solid #1dcfec;
    /*display: none;*/
    z-index: 1011;
    background-color: whitesmoke;
    top: 0px;
    left: -350px;
    bottom: 0px;
    overflow: auto;
    padding: 5px;
    box-shadow: 0px 0px 7px #b0b0b0;
    transition: left .2s ease;
}

#verticalPopupBack {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    z-index: 1010;
    display: none;
    background-color: #00000030;
}

#siteLogo {
    margin-top: 5px;
    float: right;
    width: 60px;
    height: 60px;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%,80%;
}

/*#endregion */

/*#region main frame */
#header {
    background-color: #24377b;
    min-width: 400px;
    height: 65px;
    position: sticky;
    top: 0px;
    right: 0px;
    left: 0px;
    z-index: 1001;
    direction: rtl;
}

#mainPage {
    width: 100%;
    max-width: 1100px;
    margin-top: 100px;
    margin: 0px auto; /* باعث میشه وقتی بزرگتر از 1000 شد وسط بمونه */
    direction: rtl;
}

#mainSlider {
    height: 300px;
    margin-top: 10px;
    width: 100%;
    position: relative;
    /*margin: 10px;*/
    /*background-image: url('../images/SwiperSlide/1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;*/
}

.SliderImage {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: opacity 2s ease-in-out;
    border-radius: 20px;
    border: 2px solid #f5d944;
}

#searchPanel {
    margin: 10px;
    /*box-shadow: 0px 0px 10px #dbd8d8;*/
    /*position: relative;*/
    display: inline-block;
}

#searchContext {
    height: 45px;
    width: 200px;
    margin: 0px;
    background-color: white;
    border-color: gray;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-size: 15px;
    font-family: var(--mainFontFamily);
    color: #8a8a8a;
}

#searchWord {
    height: 45px;
    width: 400px;
    background-color: white;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-color: gray;
    margin: 0px;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-size: 17px;
    font-family: var(--mainFontFamily);
    color: #8a8a8a;
}

#searchBtn {
    height: 45px;
    width: 45px;
    cursor: pointer;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    margin: 0px;
    float: right;
    background-image: url('../images/search.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: transparent;
    border: 2px solid #dfdfdf;
}

    #searchBtn:hover {
    }

#showProSearchBtn {
    float: left;
    height: 45px;
    width: 150px;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 8px;
    color: blue;
    /*background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;
    background-color: transparent;*/
    font-size: 15px;
    font-family: var(--mainFontFamily);
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    box-shadow: inset 0 0 0 1px #bae6fd;
    color: #334155;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
}

    #showProSearchBtn:hover {
        color: blue;
    }


#chatBtn {
    float: left;
    height: 45px;
    width: 150px;
    cursor: pointer;
    margin-left: 0px;
    margin-top: 8px;
    color: blue;
    /*background-position: center;
    background-repeat: no-repeat;
    background-size: 95%;
    background-color: transparent;*/
    font-size: 15px;
    font-family: var(--mainFontFamily);
    border-radius: 6px;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    box-shadow: inset 0 0 0 1px #bae6fd;
    color: #334155;
    padding: 10px;
    text-align: center;
}

    #chatBtn:hover {
        color: blue;
    }

.PanelTitle {
    padding: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
    width: 100%;
    font-size: 20px;
    font-family: var(--mainFontFamily);
    color: #606060;
  

    /*border-bottom: 1px dashed #959595*/
}
.Point {
    width: 40px;
    height: 40px;
    background-image: url(../images/DigitalLib/Point.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: transparent;
    float: right;
    margin-left: 10px;
}

#publicInfoPanel {
    width: 100%;
    padding: 5px;
    /* height: 162px; */
    background-color: #fdfdfd;
    border: 1px dashed #959595;
    margin: 10px;
    display: flex;
    border-radius: 9px;
    justify-content: center;
}

.PublicInfoItem {
    width: 182px;
    float: right;
    padding: 5px;
    margin: 10px;
    border-left: 1px dashed #b0aeae;
}

.PublicInfoItemTitle {
    width: 100%;
    float: right;
    font-size: 16px;
    font-family: var(--mainFontFamily);
    margin: 0px;
    padding: 5px;
    color: blue;
    text-align: center;
}

.PublicInfoItemNumber {
    width: 100%;
    float: right;
    font-size: 16px;
    font-family: var(--mainFontFamily);
    margin: 0px;
    padding: 5px;
    color: darkgray;
    text-align: center;
}

.PublicInfoImage {
    width: 100%;
    height: 70px;
    float: right;
    padding: 5px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}



#newBooks {
    height: 370px;
    margin: 10px;
    border-radius: 10px;
    /*box-shadow: 0px 0px 10px #dbd8d8;*/
    line-height: 2.9;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border: 1px dashed #cecece;
    padding: 15px;
    scrollbar-width: thin; /* Firefox */
}

    #newBooks::-webkit-scrollbar {
        width: 8px; /* Chrome/Safari */
    }

#mostVisited {
    height: 370px;
    margin: 10px;
    border-radius: 10px;
    /*box-shadow: 0px 0px 10px #dbd8d8;*/
    line-height: 2.9;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border: 1px dashed #cecece;
    padding: 15px;
    scrollbar-width: thin;
}

#specialOffers {
    height: 370px;
    margin: 10px;
    border-radius: 10px;
    /*box-shadow: 0px 0px 10px #dbd8d8;*/
    line-height: 2.9;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border: 1px dashed #cecece;
    padding: 15px;
    scrollbar-width: thin;
}

#booksForSail {
    height: 370px;
    margin: 10px;
    border-radius: 10px;
    /*box-shadow: 0px 0px 10px #dbd8d8;*/
    line-height: 2.9;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border: 1px dashed #cecece;
    padding: 15px;
    scrollbar-width: thin;
}

#footer {
    height: 250px;
    background-color: #3f3f3f;
    width: 100%;
    display: inline-block;
    direction: rtl;
}

#footerWave {
    height: 60px;
    width: 100%;
    background-color: transparent;
}

#footerContents {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto; /* باعث میشه وقتی بزرگتر از 1100 شد وسط بمونه */
    min-height: 250px;
    font-family: var(--mainFontFamily);
}

.DlHeaderMenuItem {
    margin-top: 15px;
    float: right;
    font-size: 15px;
    font-family: IRANSANSWEB;
    font-weight: 500;
    color: white;
    cursor: pointer;
    border-left: 1px solid white;
    padding-right: 15px;
    padding-left: 15px;
}

    .DlHeaderMenuItem:hover {
    }

#newsTicker {
    height: 40px;
    color: black;
    font-family: var(--mainFontFamily);
    font-size: 15px;
    overflow: hidden;
    z-index: 1000;
    height: 35px;
    display: flex;
    align-items: center;
    background-color: #fff;
    /* border-bottom: 1px solid black; */
    /* border-top: 1px solid gray; */
    top: 65px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    position: sticky;
    direction: rtl;
    padding: 5px;
}


/*#endregion */

/*#region books frame   */

#booksFrame {
    position: absolute;
    padding: 5px;
    top: 65px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-x: hidden;
    display: none;
    background-color: rgb(236, 236, 236);
}

#booksFrameContent {
    width: 100%;
    max-width: 1100px;
    margin-top: 100px;
    margin: 0px auto; /* باعث میشه وقتی بزرگتر از 1000 شد وسط بمونه */
    display: inline-block;
}

#subjectsFrame {
    position: absolute;
    top: 0px;
    right: 15px;
    bottom: 13px;
    padding: 5px;
    width: 250px;
    direction: rtl;
}

#subjects {
    position: absolute;
    top: 40px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    padding: 5px;
    overflow: auto;
    font-size: 13px;
}

#contentFrame {
    line-height: 2.9;
    text-align: justify;
    direction: rtl;
    font-family: var(--mainFontFamily);
    font-size: 18px;
    position: absolute;
    top: 0px;
    right: 280px;
    bottom: 15px;
    font-size: 12px;
    width: 350px;
  
}

.SubjectListItem {
    font-family: var(--mainFontFamily);
    font-size: 14px;
    padding: 4px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
}

    .SubjectListItem:hover {
        background-color: aliceblue;
    }

.BookListItem {
    border: 1px solid #e6e6e6;
    height: 300px;
    width: 175px;
    /* float: right; */
    margin: 10px;
    border-radius: 9px;
    padding: 4px;
    display: inline-block;
    box-shadow: 0px 0px 5px 0 hsla(0,0%,45%,.388);
    position: relative;
}

.BookListItemImage {
 
    height: 200px;
    width: 164px;
    border-radius: 10px;
     float: right; 
}

.BookListItemTitle {
    width: 100%;
    float: right;
    font-size: 14px;
    font-family: var(--mainFontFamily);
    line-height: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 4px;
    padding-right: 3px;
    padding-left: 3px;
}

.BookListItemAuthor {
    width: 100%;
    float: right;
    font-size: 12px;
    font-family: var(--mainFontFamily);
    line-height: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #cbcaca;
    padding-right: 3px;
    padding-left: 3px;
}

.BookListItemControls {
    border-radius: 5px;
    width: 98%;
    float: right;
    margin-top: 5px;
    padding: 5px;
    background-color: #f5f5f5;
    max-height: 33px;
    min-height: 33px;
    font-size: 12px;
    font-family: var(--mainFontFamily);
    line-height: 2.9;
}

.BookListItemControl {
    width: 50%;
    float: right;
    font-size: 11px;
    font-family: var(--mainFontFamily);
    padding-right: 2px;
    cursor: pointer;
    margin-top: -4px;
    max-height: 27px;
    text-align: center;
}

    .BookListItemControl:hover {
        color: red;
    }


#booksSearchWord {
    font-family: var(--mainFontFamily);
    font-size: 13px;
    padding: 10px;
    width: 95%;
    float: right;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 20px;
    border-top-left-radius: 0px;
    margin-top: 2px;
}

#booksSearchContext {
    font-family: var(--mainFontFamily);
    font-size: 13px;
    padding: 3px;
    padding-right: 10px;
    width: 150px;
    float: right;
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 9px;
    margin-top: 4px;
}

#booksSearchBtn {
    font-family: var(--mainFontFamily);
    font-size: 14px;
    padding: 3px;
    padding-right: 10px;
    width: 130px;
    margin-right: 3px;
    float: right;
    height: 30px;
    background-color: #db393e;
    color: white;
    border-radius: 9px;
    margin-top: 4px;
    cursor: pointer;
}

.SaleRibbon {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    background-color: #3498db;
    box-shadow: 4px 4px 10px rgba(0,0,0,.678);
    box-sizing: border-box;
    clip-path: polygon(-18% 71%,65% -18%,100% -3%,1% 100%);
    direction: rtl;
    font-family: var(--mainFontFamily);
    font-size: 14px;
    height: 81px;
    left: -5px;
    line-height: 1.42857143;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: -5px;
    width: 81px;
    z-index: 4;
}
.SaleRibbonText {
    color: #fff;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 22px;
    transform: rotate(-45deg);
    white-space: nowrap;
    width: 120%;
}

/*#endregion */

/*#region tree */

/* container */
.Tree {
    background-color: transparent;
    padding: 5px;
    width: 100%;
}

    /* ===== TREE LINES ===== */

    .Tree ul {
        list-style: none;
        margin: 0;
        padding-right: 22px;
        position: relative;
        overflow: hidden;
        max-height: 0;
        transition: max-height .35s ease;
    }

        /* vertical dashed line */
        .Tree ul::before {
            content: "";
            position: absolute;
            top: 0;
            right: 8px;
            bottom: 0;
            border-right: 1px dashed #c9ced6;
        }

    /* open animation */
    .Tree li.open > ul {
        max-height: none;
    }

    /* root visible */
    .Tree > ul {
        max-height: none;
    }

    /* each item */
    .Tree li {
        margin: 6px 0;
        position: relative;
    }

        /* horizontal connector */
        .Tree li::before {
            content: "";
            position: absolute;
            top: 14px;
            right: 8px;
            width: 14px;
            border-top: 1px dashed #c9ced6;
        }

        /* remove extra line for last child */
        .Tree li:last-child > ul::before {
            height: 14px;
        }

/* clickable TreeRow */
.TreeRow {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 5px;
    transition: background .2s;
    font-size: 15px;
    font-family: var(--mainFontFamily);
    direction: inherit;
    white-space: nowrap;
    user-select: none;
}

    .TreeRow:hover {
        background-color: #eef3ff;
    }

/* plus minus */
.Toggle {
    width: 18px;
    height: 18px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid #888;*/
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
}

/* TreeNode */
.TreeNode {
    padding-right: 28px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #444;
    font-size: 15px;
    font-family: var(--mainFontFamily);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    border-radius: 5px;
}

    .TreeNode:hover {
        background-color: #eef3ff;
    }

/*#endregion */

/*#region search frame */

#searchFrame {
    position: absolute;
    padding: 5px;
    top: 65px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: none;
}

#proSearchPanel {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 2px;
    height: 55px;
    position: absolute;
    direction: rtl;
}

#proSearchType {
    height: 45px;
    width: 150px;
    margin: 0px;
    background-color: white;
    border-color: gray;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 15px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;

    margin-right:10px;
}

#proSearchContext {
  
    height: 45px;
    width: 150px;
    margin: 0px;
    background-color: white;
    border-color: gray;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 15px;
    border-radius: 7px;
    text-align:center;
 
}

#proSearchWord {
    height: 45px;
    width: 350px;
    background-color: white;
    border-color: gray;
    margin: 0px;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 15px;
}

#proSearchBtn {
    height: 45px;
    width: 45px;
    cursor: pointer;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    margin: 0px;
    float: right;
    background-image: url('../images/search.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-color: transparent;
    border: 2px solid #dfdfdf;
}

    #searchBtn2:hover {
    }

#searchResultFrame {
    position: absolute;
    padding: 5px;
    top: 70px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-x: auto;
    /* border-radius: 9px; */
    border-top: 1px solid #e8e8e8;
}

#searchResults {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    direction: rtl;
}

.SearchResultPage {
    width: 100%;   
}

#searchResultCount {
    display: inline-block;
    margin-right: 20px;
    padding: 9px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 16px;
    color:blue;
    direction:rtl;
}

.ParagraphListItem {
    border-bottom: 1px solid #e3e3e3;
    width: 100%;
    margin: 0px;
    padding: 20px;
    display: inline-block;
    white-space: pre-line;
    text-align: justify;
}

.ParagraphText {
    font-family: IRANSANSWEB;
    font-size: 16px;
    width: 100%;
    float: right;
    padding: 10px;
}

.ParagraphAddress {
    font-family: var(--mainFontFamily);
    font-size: 13px;
    padding: 3px;
    color: blue;
    width: 100%;
    float: right;
    cursor:pointer;
}

.SearchResultText {
    background-color: yellow;
}


/*#endregion */

/*#region bookReader */

#bookReaderPage {
    position: absolute;
    top: 65px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    direction: rtl;
    z-index: 1004;
    background-color: rgb(236, 236, 236);
    display: none;
    direction: rtl;
    transition: opacity 0.55s;
    opacity: 0;
}

#bookReaderFrame {
    
    position:absolute;
    right:0px;
    left:0px;
    bottom:0px;
    top:15px;

}

#topicFrame {
    position: absolute;
    top: 5px;
    right: 15px;
    bottom: 15px;
    padding: 8px;
    font-size: 12px;
    width: 350px;
    direction: rtl;
}

#topicHeader {
    border-bottom: 1px solid rgb(218, 218, 218);
    padding: 8px;
    height: 47px;
    font-family: var(--mainFontFamily);
    font-size: 14px;
    color: #991010;
}

#treeFrame {
    position: absolute;
    top: 55px;
    right: 0px;
    bottom: 0px;
    padding: 2px;
    font-size: 12px;
    width: 350px;
    overflow: auto;
}

#bookContentFrame {
    line-height: 2.9;
    text-align: justify;
    direction: rtl;
    overflow: auto;
    font-family: var(--mainFontFamily);
    font-size: 18px;
    position: absolute;
    top: 5px;
    right: 380px;
    bottom: 15px;
    font-size: 12px;
    width: 350px;
    
}

#bookContent {
    position: absolute;
    top: 55px;
    right: 0px;
    bottom: 0px;
    font-size: 12px;
    width: 100%;
    overflow: auto;
    background-color: #eae8e84a;
}

#booksContent {
    position: absolute;
    top: 80px;
    right: 0px;
    bottom: 0px;
    font-size: 12px;
    width: 100%;
    overflow: auto;
    padding: 10px;
}



#allPagesCount {
    font-family: var(--mainFontFamily);
    font-size: 15px;
    float: right;
    padding-right: 7px;
    padding-left: 5px;
    color: #991010;
}

.ReaderToolsButton {
    float: left;
    margin-left: 5px;
    border: solid 1px #cac2c2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 95% 95%;
    background-color: transparent;
    opacity:0.7;
}
    .ReaderToolsButton:hover {
        background-color: #d1ffb887;
    }

    #bookSettingsBtn {
    background-image: url(../images/DigitalLib/Settings.png);
}

#bookInfoBtn {
    background-image: url(../images/DigitalLib/BookInfo.png);
}

#showBookmarks {
    background-image: url(../images/DigitalLib/Bookmark.png);
}

.AddToMyShelf {
    background-image: url(../images/DigitalLib/FavoriteOff.png);
}

.AddedToMyShelf {
    background-image: url(../images/DigitalLib/FavoriteOn.png);
}

/*#endregion */
/*#region book content */
.attach_video_element {
    width: 60%;
    height: 200px;
    float: none;
    border-radius: 5px;
}

.attach_audio_element {
    width: 80%;
    height: 50px;
    border-radius: 5px;
}

.attach_pdf_element {
    width: 80%;
    height: 250px;
    border: 1px solid dimgray;
    background-color: white;
    background-image: url(loading.gif);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 5px;
}

.AttachedImage {
    object-fit: cover;
    cursor:pointer;
}

.attach_flash_element {
    width: 80%;
    height: 80%;
    border: 1px solid dimgray;
    background-color: white;
    background-image: url(loading.gif);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 5px;
}

.AttachedContainer{
    width: 100%;
}

.PageNumber {
    /* padding: 2px; */
    text-align: center;
    font-size: 15px;
    margin: 9px;
    margin-top: 15px;
    margin-bottom: 25px;
    /* box-shadow: -1px 1px 10px 0 hsla(0,0%,45%,.388); */
    font-family: var(--mainFontFamily);
    color: black;
}

.Page {
    padding: 15px;
    padding-bottom: 80px;
    margin: 25px;
    box-shadow: -1px 1px 10px 0 hsla(0,0%,45%,.388);
    min-height: 600px;
    background-color: var(--bookTextGround);
    color: var(--bookTextColor);
    position: relative;
}

.BookParagraph {
    padding-right: 50px;
    padding-left: 50px;
    /*margin: 5px;*/
    font-size: var(--bookTextFontSize);
    font-family: var(--bookTextFontFamily);
    line-height: 2.4;
}

.NodeTitle {
    padding-right: 25px;
    padding-left: 15px;
    font-size: 18px;
    /*margin: 5px;*/
    font-family: var(--mainFontFamily);
    color: blue;
}

.FootnoteLine {
    height: 10px;
    border-top: 1px solid #d2d2d2;
    width: 90%;
    margin-top: 30px;
    margin-bottom: 20px;
    margin-right: 40px;
}

.FootnoteIndex {
    height: 20px;
    font-size: 13px;
    font-family: var(--mainFontFamily);
    color: red;
    cursor: pointer;
}

    .FootnoteIndex::before {
        content: "[";
    }

    .FootnoteIndex::after {
        content: "]";
    }

.Footnote {
    padding-right: 50px;
    padding-left: 50px;
    font-size: 13px;
    font-family: var(--mainFontFamily);
    color: black;
    cursor: pointer;
    width: 100%;
    line-height: 1.9;
    font-style: italic;
}

    .Footnote:hover {
        color: red;
    }

.Bookmark {
    width: 35px;
    height: 60px;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    background-image: url(../images/DigitalLib/BookmarkOff.png);
    position:absolute;
    top:-1px;
    left:40px;
}

.BookmarkSelected {
    width: 35px;
    height: 60px;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    background-image: url(../images/DigitalLib/BookmarkOn.png);
    position: absolute;
    top: -1px;
    left: 40px;
}


/*نقل قول*/
.Quote {
    font-size: var(--bookTextFontSize);
    font-family: var(--bookTextFontFamily);
    line-height: 2.4;
    color: blue;
}

/*#endregion */

/*#region bookDetailsFrame */

#freezeBack {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    z-index: 1010;
    display: none;
    background-color: #0000009c;
}



#popupFrame {
    position: fixed;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    direction: rtl;
    z-index: 1011;
    background-color: rgb(251, 251, 251);
    border-radius: 5px;
    direction: rtl;
    border: 2px solid white;
    transition: opacity 0.55s;
    opacity: 0;
    display: none;
}

#bookDetailsContent {
    padding: 3px;
    border-radius: 5px;
    overflow: auto;
    text-align: right;
    direction: rtl;
    background-color: transparent;
    font-family: var(--mainFontFamily);
    font-size: 17px;
    max-width: 1100px;
    margin: 0 auto; /* باعث میشه وقتی بزرگتر از 1000 شد وسط بمونه */
    /*line-height: 1.9;*/
}

#popupFrameHeader {
    width: 100%;
    height: 40px;
    /*border-radius: 5px;*/
    border-bottom: 1px solid #d5d5d5;
    margin-bottom:15px;
}

#closePopupFrameBtn {
    border-radius: 5px;
    width: 30px;
    height: 30px;
    float: right;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: transparent;
    background-image: url(../images/close2.png);
}

#aboutBook {
    width: 49%;
    min-width: 350px;
    padding: 15px;
    background-color: transparent;
    float: right;
}

#bookFiles {
    width: 49%;
    min-width: 350px;
    padding: 15px;
    background-color: transparent;
    float: right;
}

#bookAbstract {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    float: right;
    margin-bottom: 50px;
}

.BookImage {
   
    height: 300px;
    width: 200px;
    border-radius: 9px;
    box-shadow: 0px 0px 9px 0 hsla(0, 0%, 64.3%, 0.79);

}

/*#endregion */

/*#region about us */

#aboutUsPage {
    width: 100%;
    margin-top: 100px;
    margin: 0px auto;
    direction: rtl;
    display: none;
    min-height: 700px;
}

#aboutDiv {
    background-image: url('../images/DigitalLib/AboutBack.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
    opacity: 0.5;
    height: 100%;
}

/*#endregion */

/*#region myShelf */

#myShelfPage {
    position: absolute;
    padding: 5px;
    top: 65px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    display: none;
    overflow-x: auto;
}
#myShelfContent {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    direction: rtl;
}


/*#endregion */

/*#region book settings */

#bookSettingsFrame {
    width: 100%;
    padding: 5px;
    display: none;
}

#bookTextFontFamily {
    height: 40px;
    width: 180px;
    margin: 0px;
    background-color: white;
    border-color: gray;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 15px;
    border-radius: 7px;
}

#bookTextFontSize {
    height: 40px;
    width: 180px;
    margin: 0px;
    background-color: white;
    border-color: gray;
    border: 2px solid #dfdfdf;
    padding: 8px;
    float: right;
    font-family: var(--mainFontFamily);
    font-size: 15px;
    border-radius: 7px;
    text-align: center;
}
/*#endregion */


/*<div class="SaleRibbon" > <span class="SaleRibbonText" > مطالعه رایگان</span > </div >*/

