/* in the name of Allah */

#page-title {
    /*background: -o-repeating-radial-gradient(circle, transparent, transparent 11.5px, #525252 11.5px, #525252 14.8px), -o-repeating-radial-gradient(circle, transparent, transparent 11.5px, #525252 11.5px, #525252 14.8px), #4d4d4d;*/
    /*background: repeating-radial-gradient(circle, transparent, transparent 11.5px, #525252 11.5px, #525252 14.8px), repeating-radial-gradient(circle, transparent, transparent 11.5px, #525252 11.5px, #525252 14.8px), #4d4d4d;*/
    /*background-size: 66px 66px;*/
    /*background-position: 0 0, 33px 33px, 66px 33px;*/
    /*background-color: #4d4d4d;*/
    background-color: #4d4d4d;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='84' viewBox='0 0 84 84' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b3b3b' fill-opacity='0.4'%3E%3Cpath d='M84 23c-4.417 0-8-3.584-8-7.998V8h-7.002C64.58 8 61 4.42 61 0H23c0 4.417-3.584 8-7.998 8H8v7.002C8 19.42 4.42 23 0 23v38c4.417 0 8 3.584 8 7.998V76h7.002C19.42 76 23 79.58 23 84h38c0-4.417 3.584-8 7.998-8H76v-7.002C76 64.58 79.58 61 84 61V23zM59.05 83H43V66.95c5.054-.5 9-4.764 9-9.948V52h5.002c5.18 0 9.446-3.947 9.95-9H83v16.05c-5.054.5-9 4.764-9 9.948V74h-5.002c-5.18 0-9.446 3.947-9.95 9zm-34.1 0H41V66.95c-5.053-.502-9-4.768-9-9.948V52h-5.002c-5.184 0-9.447-3.946-9.95-9H1v16.05c5.053.502 9 4.768 9 9.948V74h5.002c5.184 0 9.447 3.946 9.95 9zm0-82H41v16.05c-5.054.5-9 4.764-9 9.948V32h-5.002c-5.18 0-9.446 3.947-9.95 9H1V24.95c5.054-.5 9-4.764 9-9.948V10h5.002c5.18 0 9.446-3.947 9.95-9zm34.1 0H43v16.05c5.053.502 9 4.768 9 9.948V32h5.002c5.184 0 9.447 3.946 9.95 9H83V24.95c-5.053-.502-9-4.768-9-9.948V10h-5.002c-5.184 0-9.447-3.946-9.95-9zM50 50v7.002C50 61.42 46.42 65 42 65c-4.417 0-8-3.584-8-7.998V50h-7.002C22.58 50 19 46.42 19 42c0-4.417 3.584-8 7.998-8H34v-7.002C34 22.58 37.58 19 42 19c4.417 0 8 3.584 8 7.998V34h7.002C61.42 34 65 37.58 65 42c0 4.417-3.584 8-7.998 8H50z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    border-bottom-left-radius: var(--section-br);
    border-bottom-right-radius: var(--section-br);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-light);
}

#page-title h1 {
    margin: 1rem 0 0 0;
    font-weight: 900;
    text-shadow: 0 3px 6px #0000008c;
}
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
#editor-holder {
    border-radius: var(--border-radius);
    border: 2px solid var(--main2-color);
    padding: 1rem;
    transition: var(--tr-du);
}
#editor-holder:hover, #editor-holder:focus {
    border-color: var(--main-color);
}
#editor-holder .ce-toolbox__button--active,
#editor-holder .ce-toolbox__button:hover,
#editor-holder .ce-toolbar__plus--active,
#editor-holder .ce-toolbar__plus:hover {
    color: var(--main-color);
}
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.file-input {
    opacity: 0;
    width: 0.1px;
    height: 0.1px;
    position: absolute;
}

.file-input-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.file-input-label .name {
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--bc);
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.file-input-label .main-btn {
    margin-left: 0.5rem;
}

.file-input-label .btn {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.post .content *:not(i) {
    font-family: "yekanBakh" !important;
    word-spacing: -2px !important;
}
.post .content a:not(.btn) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding-left: 18px;
    position: relative;
    display: inline-block;
    -webkit-transition-duration: var(--tr-du);
    -o-transition-duration: var(--tr-du);
    transition-duration: var(--tr-du);
}

.post .content a:not(.btn)::after {
    position: absolute;
    top: 50%;
    left: 0;
    color: var(--main-color);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f08e";
    font-size: 15px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.post .content a:not(.btn):hover {
    text-decoration: underline;
    color: var(--main-color);
}

.post .content p {
    line-height: 2;
}

.post .content img.withBorder,
.post .content video.withBorder {
    border: 1px solid var(--bc);
}

.post .content img.withBackground,
.post .content video.withBackground {
    background-color: var(--main2-color);
    padding: 20px 10%;
    width: 100%;
}

.post .content img.stretched,
.post .content video.stretched {
    width: 100%;
}

.post .content img,
.post .content video {
    display: block;
    border-radius: var(--border-radius);
    margin: 0 auto 1rem auto;
    max-width: 100%;
    height: auto;
}

.post .content blockquote {
    border-radius: var(--border-radius);
    border: 1px solid var(--bc);
    border-right: 3px solid var(--main-color);
    padding: 1rem;
    font-weight: 500;
    position: relative;
}

.post .content blockquote::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f10d";
    position: absolute;
    top: 50%;
    line-height: 1;
    right: -14px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: var(--main-color);
    padding: 5px;
    background-color: var(--text-light);
}

.post .content blockquote span {
    color: var(--main-color);
    margin-top: 0.5rem;
    display: inline-block;
}

.post .content pre {
    border-radius: var(--border-radius);
    font-family: consolas !important;
}

.post .content pre {
    position: relative;
}

.post .content pre .copy {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    border-radius: var(--border-radius);
    background-color: var(--main-color);
    font-family: "maharatjoo" !important;
    color: var(--text-light);
    cursor: pointer;
}

.post .content pre * {
    font-family: consolas !important;
}

.post .content pre code {
    padding-top: 2rem;
}

.post .content ol,
.post .content ul {
    padding: 0;
    list-style: none;
}

.post .content ol li {
    counter-increment: item;
}

.post .content ol li:not(:last-child) {
    margin-bottom: 5px;
}

.post .content ol li:before {
    content: counter(item);
    margin-left: 5px;
    font-size: 80%;
    background-color: var(--main2-color);
    color: var(--main-color);
    font-weight: bold;
    padding: 3px 8px;
    width: 20px;
    height: 20px;
    line-height: 1;
    border-radius: 30rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


.post .content ul {
    padding-right: 1.5rem;
}

.post .content ul li {
    position: relative;
}

.post .content ul li:not(:last-child) {
    margin-bottom: 5px;
}

.post .content ul li:before {
    content: "";
    position: absolute;
    top: 7px;
    right: -18px;
    background: var(--main-color);
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.post .content .delimiter-3star {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 0.5;
    margin: 1rem 0;
}

.post .content .delimiter-3star span {
    font-size: 3rem;
    color: var(--main-color);
}

.post .content .blog-important {
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px dashed var(--main-color);
}

.post .content .blog-important .title {
    position: relative;
    font-weight: bold;
    padding-right: 20px;
    margin-bottom: 0.3rem;
}

.post .content .blog-important .title::before {
    content: '';
    position: absolute;
    top: 6px;
    right: 0px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--main-color);
    -webkit-box-shadow: 0 0 0 0 rgba(15, 181, 131, 0.5);
    box-shadow: 0 0 0 0 rgba(15, 181, 131, 0.5);
    -webkit-animation: pulse 1s 15;
    animation: pulse 1s infinite;
}

@-webkit-keyframes pulse {
    100% {
        -webkit-box-shadow: 0 0 0 21.2px #0000;
        box-shadow: 0 0 0 21.2px #0000;
    }
}

@keyframes pulse {
    100% {
        -webkit-box-shadow: 0 0 0 21.2px #0000;
        box-shadow: 0 0 0 21.2px #0000;
    }
}

.post .content .table-responsive {
    padding: 0 2px;
}

.post .content .inline-code {
    font-size: .875em;
    color: var(--main-color);
    word-wrap: break-word;
    background-color: #e9e9e9;
    padding: 2px 5px;
    border-radius: 5px;
}

.post .content .text-end {
    direction: ltr;
}
/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.post {
    border-radius: var(--border-radius);
    padding: 0.5rem;
    display: block;
    color: var(--text-dark);
    background-color: var(--text-light);
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    position: relative;
}

.post .meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between; */
}

.post .avatar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.post .avatar img {
    width: 40px;
    border-radius: 20rem;
    margin-left: 0.5rem;
}

.post .avatar small {
    color: rgb(141 141 141);
    font-size: 0.8rem;
}

.post .rate {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-right: auto;
}

.post .rate .num {
    direction: ltr;
}

.post .rate .up,
.post .rate .down {
    border: 1px solid var(--bc);
    border-radius: var(--border-radius);
    padding: 5px;
    line-height: 1;
    font-size: 0.9rem;
    cursor: pointer;
}

.post .rate .up:hover,
.post .rate .down:hover {
    border-color: var(--main-color);
}

.post .rate .up i,
.post .rate .down i {
    vertical-align: middle;
}

.dropdown-btn {
    padding: 3px 8px;
    color: var(--text-dark);
    margin-right: 0.5rem;
}

.dropdown-btn:hover {
    color: var(--text-dark);
}

.post .info {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bc);
    margin-bottom: 0.5rem;
}

.mbadge {
    display: inline-block;
    font-size: 0.8rem;
    border: 1px solid var(--bc);
    border-radius: 20rem;
    padding: 0.2rem 0.5rem;
    margin: 0 0 0.5rem 0.3rem;
    color: var(--text-dark);
}

a.mbadge:hover {
    color: var(--text-dark);
    border-color: var(--main-color);
}

.mbadge i {
    vertical-align: middle;
    color: var(--main-color);
    margin-left: 0.3rem;
}

.comments {
    margin-top: 0.5rem;
    padding-right: 1rem;
}

.comments .post {
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--bc);
}

.comments .post:not(:last-child) {
    margin-bottom: 0.5rem;
}

/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.leave-comment {
    margin-bottom: 0.5rem;
}

.leave-comment i {
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
.post .rate .up,
.post .rate .down {
    -webkit-transition: var(--tr-du);
    -o-transition: var(--tr-du);
    transition: var(--tr-du);
}

/* &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& */
@media (min-width:992px) {
    .file-input-label {
        -ms-flex-wrap: initial;
        flex-wrap: initial;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .file-input-label .name {
        width: 100%;
        margin: 0;
        margin-left: 0.5rem;
        padding-top: 0.375rem;
        padding-bottom: 0.375rem;
    }

    .file-input-label .btn {
        -webkit-box-flex: initial;
        -ms-flex: initial;
        flex: initial;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .post {
        padding: 1rem;
    }

    .post:not(:last-child) {
        margin-bottom: 1rem;
    }

    .post .meta {
        padding-bottom: 0;
        border: 0;
    }

    .post .avatar img {
        width: 50px;
        margin-left: 1rem;
    }

    .post .rate {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .post .rate .num {
        margin: 0 0.5rem;
        direction: ltr;
    }

    .post .info {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }

    .comments {
        margin-top: 1rem;
    }

    .comments .post:not(:last-child) {
        margin-bottom: 1rem;
    }

    .leave-comment {
        margin-bottom: 1rem;
    }
}