﻿@import url(fontiran.css);

@font-face {
    font-family: IranNastaliq;
    font-style: normal;
    font-weight: normal;
    src: url('../Fonts/IranNastaliq.ttf') format('truetype');
}
#load {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 9999;
    background: url(../../images/loadpage.png) no-repeat center center #0e1621;
}
:root {
    --backColor: #0e1621;
    --headerColor: #323337;
    --cardColor: #17212b;
    --accentColor: #276899;
    --mainColor: #ffffff;
    --secondColor: #bdbdbd;
}

label {
    font-size: 14px;
    color: #fff;
}

input:focus {
    box-shadow: none !important;
}

body {
    font-family: IRANSans;
    background-color: var(--backColor);
}


a {
    text-decoration: none !important;
}

#header-top {
    width: 100%;
    background-color: var(--cardColor);
    height: 54px;
    padding-right: 25px;
    padding-left: 20px;
}

.site-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap:10px;
}
.item-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

    .item-content a {

        color: var(--mainColor);
    }

a.main-title {
    color: var(--mainColor) !important;
    font-family: IRANSans;
    text-align: end;
    font-size: 15px;
}


.item-content span.ghazal {
    color: #05651e;
}

.item-content span.dobeyti {
    color: #1e279a;
}

.card-cascade {
    position: relative;
}

    .card-cascade .poem-date {
        position: absolute;
        left: 10px;
        top: 5px;
        color: var(--secondColor);
        font-size: 13px;
        /*transform: rotate(-90deg);*/
        z-index: 1000;
    }

a.poem-link {
    position: absolute;
    left: 10px;
    top: 90%;
    color: var(--secondColor) !important;
    font-size: 13px;
}

    a.poem-link:hover {
        font-size: 15px;
    }

.owl-carousel .card .card-body, .all-poem .card .card-body {
    min-height: 250px;
    max-height: 250px;
    overflow-y: auto;
    /*background-color: #1f50a3;*/
    background-color: var(--cardColor);
    font-size: 16px;
    font-weight: 100;
    color: var(--mainColor);
    line-height: 25px;
}

.poem-card, .poem-card .card-cascade, .poem-comment {
    background-color: var(--cardColor);
}

.poem-comment {
    min-height: 647px;
    max-height: 647px;
    overflow-y: auto;
    background-color: var(--cardColor);
    font-size: 16px;
    font-weight: 100;
    color: var(--mainColor);
    line-height: 25px;
    border-right: 1px solid #2c445d;
}

    .poem-comment label {
        font-size: 13px;
    }

    .poem-comment input {
        height: 30px;
    }

.poem-card .card .card-body {
    min-height: 600px;
    max-height: 600px;
    overflow-y: auto;
    background-color: var(--cardColor);
    font-size: 16px;
    font-weight: 100;
    color: var(--mainColor);
    line-height: 25px;
}

    .poem-card .card .card-body img {
        width: 200px;
        max-width: 100%;
        height: auto;
        border-radius: 0.25rem !important;
    }

.show-comment {
    max-height: 350px;
    overflow-y: auto;
}

@media screen and (max-width:768px) {
    .poem-card .card .card-body {
        min-height: 350px;
        max-height: 350px;
    }

    .poem-comment {
        min-height: unset;
        max-height: unset;
    }

    .show-comment {
        min-height: unset;
        max-height: unset;
    }
}


.owl-carousel .card .card-body .card-text h2, .all-poem .card .card-body .card-text h2 {
    font-size: 16px;
    font-weight: 100;
    color: var(--mainColor);
    line-height: 25px;
}

.owl-carousel .card .card-body .card-text, .all-poem .card .card-body .card-text {
    font-size: 16px;
    font-weight: lighter;
    color: var(--mainColor);
    line-height: 40px;
}

.poem-card .card .card-body .card-text h2 {
    font-size: 16px;
    font-weight: 100;
    color: var(--mainColor);
    line-height: 25px;
}

.poem-card .card .card-body .card-text {
    font-size: 16px;
    font-weight: lighter;
    color: var(--mainColor);
    line-height: 40px;
}

a.btn-small {
    width: 30px;
    height: 30px;
    margin: 0px;
}

.btn-floating i {
    font-size: 15px;
    line-height: 30px;
}

.btn-left {
    position: relative;
}

    .btn-left span {
        /*position: absolute;*/
        top: 17px;
        left: -1px;
        font-size: 12px;
        color: var(--secondColor);
        padding: 0 3px 0 3px;
    }

.btn-right span.mdi {
    color: var(--secondColor);
    font-size: 18px;
}

.section-heading {
    position: relative;
    color: var(--accentColor);
}

.section-title:before {
    font-weight: 400;
}

.section-title {
    font-weight: normal;
    font-size: 16px;
    color: var(--mainColor);
}



.card-body {
    padding: 0;
}

.card-footer {
    padding: 10px 1px 7px 1px;
    border: none;
    background-color: var(--cardColor);
}

.card-title {
    margin: 0;
    color: white;
    background-color: var(--cardColor);
}


.scroll-cm::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #27292b;
}

.scroll-cm::-webkit-scrollbar {
    width: 3px;
    background-color: var(--accentColor);
}

.scroll-cm::-webkit-scrollbar-thumb {
    background-color: var(--accentColor);
}


html::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #27292b;
}

html::-webkit-scrollbar {
    width: 8px;
    background-color: var(--accentColor);
}

html::-webkit-scrollbar-thumb {
    background-color: var(--accentColor);
}

.card-cascade .poem-share {
    position: absolute;
    right: 18px;
    font-size: 20px;
    transition: all 2s;
    z-index: 1000;
}

    .card-cascade .poem-share:hover div.share-content {
        visibility: visible;
        opacity: 1;
        display: block;
        width: 200px;
    }

.poem-sound {
    position: absolute;
    left: 5px;
    top: 5px;
    font-size: 20px;
    transition: all 2s;
    z-index: 1000;
}

.p-audio {
    height: 25px;
}

    .p-audio:focus {
        box-shadow: none;
    }

.audio-btn {
    text-align: center;
    color: white !important;
    font-size: 12px;
    position: absolute;
    top: 0px;
    right: 5px;
    z-index: 100000;
    width: 25px;
    height: 25px;
    background-color: #e04a14;
    border-radius: 15px;
}

    .audio-btn span {
        position: relative;
        top: 4px;
    }

a.share-btn span.mdi {
    color: #e44b13fa;
}

div.share-content {
    display: none;
    visibility: hidden;
    width: 170px;
    opacity: 0;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    position: relative;
    top: -30px;
    right: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: all 1s;
    background-color: #17212b;
}

    div.share-content a {
        position: relative;
        right: 4px;
    }

        div.share-content a span.mdi {
            color: var(--secondColor);
            font-size: 18px;
        }

.owl-prev, .owl-next {
    color: var(--mainColor) !important;
    font-size: 20px !important;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: none;
}

    .owl-theme .owl-nav [class*='owl-']:hover span {
        color: #4DC7A0;
    }

@media screen and (max-width: 700px) {
    div .owl-dots {
        display: none !important;
    }
}



/*Comments*/
.scroll-cm-cm::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #27292b;
}

.scroll-cm-cm::-webkit-scrollbar {
    width: 5px;
    background-color: var(--accentColor);
}

.scroll-cm-cm::-webkit-scrollbar-thumb {
    background-color: var(--accentColor);
}

.cm-box {
    border-right: 2px solid var(--accentColor);
    border-bottom: 1px solid #232f3c;
    position: relative;
}

.comment-date {
    position: absolute;
    left: 7px;
    top: 30px;
    color: #bd9812;
    font-size: 10px;
    z-index: 1000;
}

.reply-btn {
    position: absolute;
    width: 25px;
    font-size: 11px;
    left: 15px;
    background-color: #00c851;
    text-align: center;
    border-radius: 8px;
}

.cm-name {
    font-size: 11px;
    color: #86c7a0;
}

.cm-reply-name {
    font-size: 9px;
    color: white;
}

.cm-text {
    font-size: 13px;
}

/*#region modal*/
.modal {
    padding-right: 0px !important;
}

.modal-backdrop {
    background-color: transparent;
}

.modal-footer {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background-color: #e8e5e5 !important;
    border-top: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
    background-color: #17212b;
}

.modal-header {
    background-color: #293744 !important;
    position: relative;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px
}

.modal-title {
    color: white;
    position: absolute;
    right: 45px;
    font-size: 14px;
}

.modal-content {
    border-radius: 20px;
}

.close {
    opacity: 0.8 !important;
}

button.close {
    position: relative;
    right: 4px;
    width: 35px;
    height: 35px;
    margin: 4px !important;
}

    button.close span {
        position: relative;
        font-size: 20px;
        top: -5px;
        right: -4px;
    }

body.modal-open {
    height: 100vh;
    overflow-y: hidden;
}

/*#endregion*/

.pagination .page-item .page-link {
    color: #4285f4;
}

.card {
    background-color: #0e161f;
}

#footer {
    width: 100%;
    text-align: center;
    background-color: var(--cardColor);
}

p.copy-right {
    font-size: 14px;
    color: var(--mainColor);
}

p.designer {
    font-size: 12px;
    color: var(--mainColor);
}

div.month-card {
    /*width: 50px;
    height: 50px;*/
    background-color: #4285f4;
    border-radius: 30px;
    margin: 1px 0;
}

    div.month-card a {
        position: relative;
        top: 2px;
        color: white !important;
        font-size: 13px;
    }

i.fa-undo {
    color: var(--secondColor);
}

a.rotate-btn {
    font-size: 30px;
    color: var(--mainColor) !important;
}

.card-wrapper .avatar {
    margin-top: 0px;
}

    .back div.card-body, .card-wrapper .card-rotating .face, .card-wrapper .avatar img, .card-wrapper .avatar {
        background: var(--backColor) !important;
    }

        .card-wrapper .avatar img {
            border: none;
            width: 90px;
        }
