@charset "UTF-8";
body {
    padding: 0;
    margin: 0;
    color: #DDD;
}
main {
    margin: 50px 0 80px 0;
}

.inlineDic {
    cursor: help;
    border-bottom: 1px dotted #666;
}
.inlineDic:hover {
    border-bottom: 1px dotted #AAA;
}

.poemPage {
    text-align: center;
    color: #f0e6c8;
    padding-top: 15px;
}
.poemPage .othersPoemLinks {
    font: 15px 'fa_shabnam';
    user-select: none;
    -webkit-user-select: none;
    display: grid;
    grid-template-columns: 1fr 10px 1fr;
    margin: auto;
    position: fixed;
    bottom: 8px; right: 0; left: 0;
    text-align: center;
    padding: 8px;
    z-index: 100;
    box-shadow: #111 0 -2px 4px;
    background-color: #283c28;
    /*backdrop-filter: blur(10px);*/
    /*-webkit-backdrop-filter: blur(10px);*/
}

.poemPage .othersPoemLinks a {
    padding: 10px 0;
}
.poemPage .othersPoemLinks #previousPoemOrder {
    padding-left: 10px; text-align: left
}
.poemPage .othersPoemLinks #nextPoemOrder {
    padding-right: 10px; text-align: right
}
@media all and (max-width: 767px) {
    .poemPage .othersPoemLinks #previousPoemOrder {
        padding-left: 5px;
    }
    .poemPage .othersPoemLinks #nextPoemOrder {
        padding-right: 5px;
    }
}


.poemPage .poet {
    text-shadow: 4px 4px 4px #000;
    font-size: larger;
    color: #ffd969;
}


.poemPage .poem-name {
    margin-bottom: 60px;
    opacity: .5;
    font-size: smaller;
}
.poemPage .poem-alignment {
    /*display: grid;*/
    /*grid-template-columns: auto auto auto;*/
    margin: auto;
    width: 80%; /* عرض شعر*/
}
@media all and (max-width: 1023px) {  /*( Mobile and Tablet Devices )*/
    .poemPage .poem-alignment {
        width: 96%;
    }
}

.readingStyle_Nastaliq {
    font: 36px 'fa_nastaliq';
    /*font: 2.0vw 'fa_nastaliq';*/
    font-weight: 100;
    line-height: 2.5em;
    transition: line-height 1.0s ease;
}
.readingStyle_Nasr {
    font: 26px 'fa_shabnam';
    /*font: 1.4vw 'fa_shabnam';*/
    font-weight: 200;
    line-height: 2em;
    transition: line-height 1.0s ease;
}


.poem2LINES, .poemGHAZAL {
    display: grid;
    grid-template-columns: 4% 1fr 1fr 4%;
    text-align: center;
    /*text-shadow: 1px 1px 2px #000;*/
    color: #fff4d2;
    border-radius: 30px;
    border-right: 2px solid rgb(0, 0, 0, 0);
    border-left: 2px solid rgb(0, 0, 0, 0);
    /*transition: background-color 0.5s linear;*/
}
.poem2LINES:hover, .poemGHAZAL:hover {
    background-image: -webkit-linear-gradient(rgb(0, 0, 0, 30%), rgba(0,0,0,30%));
    background-image: linear-gradient(rgb(0, 0, 0, 30%), rgba(0,0,0,30%));
    border-right: 2px solid #ffeab0AA;
    border-left: 2px solid #ffedb6AA;
}
.readingStyle_Nastaliq .poem2LINES, .readingStyle_Nastaliq .poemGHAZAL {
    padding: 10px 0 0 0;
}
.readingStyle_Nasr .poem2LINES, .readingStyle_Nasr .poemGHAZAL {
    padding: 5px 0;
}




.poemNEO {
    display: grid;
    grid-template-columns: 4% 1fr 4%;
    text-align: center;
    /*text-shadow: 1px 1px 2px #000;*/
    color: #fff4d2;
    border-radius: 30px;
    border-right: 2px solid rgb(0, 0, 0, 0);
    border-left: 2px solid rgb(0, 0, 0, 0);
}
.poemNEO:hover {
    background-image: -webkit-linear-gradient(rgb(0, 0, 0, 40%), rgba(0, 0, 0, 40%));
    background-image: linear-gradient(rgb(0, 0, 0, 40%), rgba(0, 0, 0, 40%));
    border-right: 2px solid #ffeab0;
    border-left: 2px solid #ffedb6;
}

.readingStyle_Nastaliq .poemNEO {
    padding: 22px 0 8px;
}
.readingStyle_Nasr .poemNEO {
    padding: 5px 0;
}





.poemSTORY {
    margin: auto;
    display: grid;
    grid-template-columns: 80px 1fr;
    text-align: center;
    /*text-shadow: 1px 1px 2px #000;*/
    color: #fff4d2;
}
@media all and (max-width: 767px) {
    .poemSTORY {
        grid-template-columns: 40px 1fr;
    }
}

.poemBR, .poemHR {
    margin-block: 100px;
}


.kingVerses {
    color: #ffd969;
}
.question {
    color: #ff823e;
}



.poemPage .verses-number {
    text-align: center;
    font-size: smaller;
    color: #ecc24455;
    user-select: none;
    -webkit-user-select: none;
}
.poemPage .verses-meaning {
    text-align: center;
    opacity: .6;
    color: #ecc24488;
    user-select: none;
    -webkit-user-select: none;
    top: 5px;
    position: relative;
}


.poemPage .verses-meaning .meaningBtn {
    font-size: 18px;
    position: relative;
    left: -15px;
}
.poemPage .verses-meaning .meaningBtn:hover {
    cursor: help;
}
@media all and (max-width: 767px) {
    .poemPage .verses-meaning .meaningBtn {
        left: 0;
    }
}



.poemPage .verses-right {
    text-align: left;
    margin-left: 4%;
}
.poemPage .verses-left {
    text-align: right;
    /*margin-right: 4%;*/
    margin-right: 0; /* (به این دلیل صفر گذاشتم بجاش ۵ تا اسپیس گذاشتم تا حروفی مانند ک درست نمایش داده شوند ) */
}
.poemPage .verses-context {
    text-align: center;
}
.poemPage .verses-story {
    text-align: justify;
}


.poemPage hr {
    width: 90%;
    border: 1px solid #FFF2;
    margin-top: 80px;
}


/*  Poem List Page */
.poemListPage {
    display: none; grid-template-columns: auto 30%; margin: auto; width: auto; padding: 40px 100px; text-align: justify;
}
.poemListPage .poetImage {
    width: 250px;
    user-select: none;
    -webkit-user-select: none;
}
.poemListPage .poetImage img {
    height: auto;  width: 250px; text-align: center; border-radius: 10px; border: 2px solid #888;
    -webkit-box-reflect: below 50px -webkit-linear-gradient(to bottom, #0000, #0004);
    object-fit: cover;
    aspect-ratio: 4/6;
    margin: 20px;
}


.audioSongs {
    width: 500px;
}
@media all and (max-width: 767px) {
    .audioSongs {
        width: 300px;
    }
}

/*  Overwrite JQuery CSS  */
.ui-tooltip {
    width: fit-content;
    top: 100px;
    padding: 6px;
    font-size: 14px;
    font-weight: 300;
    color: black;
}


@media all and (max-width: 1023px) { /*( Mobile and Tablet Devices )*/
    .readingStyle_Nastaliq {
        font-size: 7.0vw;
        line-height: 2.1em;
    }

    .readingStyle_Nasr {
        font-size: 4.5vw;
    }

    .poemPage .othersPoemLinks {
        font-size: 3vw;
    }

    .readingStyle_Nastaliq .poem2LINES, .readingStyle_Nastaliq .poemGHAZAL {
        padding: 20px 0 10px 0;
    }
    .readingStyle_Nasr .poem2LINES, .readingStyle_Nasr .poemGHAZAL {
        padding: 20px 0;
    }

    .poem2LINES .verses-number,
    .poemGHAZAL .verses-number {
        grid-row: span 2;
        vertical-align: middle;
        text-align: left;
    }

    .poem2LINES .verses-right,
    .poemGHAZAL .verses-right {
        grid-column: span 2;
        text-align: center;
        margin-left: 0;
    }

    .poem2LINES .verses-left,
    .poemGHAZAL .verses-left {
        grid-column: span 2;
        text-align: center;
        margin-right: 0;
    }

    .poem2LINES .verses-meaning,
    .poemGHAZAL .verses-meaning {
        grid-row: span 2;
        text-align: right;
    }
    .poemPage .verses-context {
    }
    .poemPage .verses-story {
    }

    .verses-meaning .meaningBtn {
        font-size: 2.6vw;
        left: -5px;
    }



    /* Poem List CSS */
    .poemListPage {
        display: block; grid-template-columns: initial; padding: 10px 20px;
    }
    .poemListPage .poetImage {
        display: none;
    }
}
