.content-left {
    background-color: none;
}

.content-right {
    overflow: hidden;
}

.content-main-title {
    font-size: 32px;
}

.best-comment {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    top: -22px;
    z-index: 111;
    cursor: unset !important;
}

.modal-content {
    overflow: unset !important;
    height: auto;
}

#galleryModal .modal-dialog {
    height: auto !important;
}

.gallerymodal-right .img-like {
    bottom: -2.5rem;
}

/*main.main {*/
/*    margin-top: 10.5rem !important;*/
/*}*/

.save {
    font-size: 2rem;
}

.comment-btns {
    opacity: 0;
    transform: translateX(-6.5rem);
    transition: .25s ease-in-out;
}

.comment-item:hover .comment-btns {
    opacity: 1;
    transform: translateX(0);
}


.comment-replay-box {
    background-color: #d7d7d75e;
    border-radius: var(--border-sm);
    border-right: 2px solid gray;
}

.comment-text {
    word-break: break-word;
}

.comment-replay-box span {
    margin: 0;
    width: 20rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1rem;
}

.comment-detail .dropdown .dropdown-menu {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
    top: unset !important;
    bottom: 4rem;
}

.comment-detail .open > .dropdown-menu {
    display: flex !important;
}

.next-post {
    background-color: #ffffff;
    box-shadow: var(--mainshadow);
    border-radius: var(--border-sm);
    overflow: hidden;
    z-index: 0;
    transition: .25s ease-out;
}

.next-post:hover {
    box-shadow: var(--mainshadowhover);
    background-color: var(--hoverbg);
}

.next-post-img {
    margin-bottom: 2rem;
}

.next-post-img-item {
    width: 100%;
    border-radius: 2rem;
    position: relative;
    aspect-ratio: 392 / 206;
    overflow: hidden;
    box-shadow: 0 4px 9px 0px #666666a8;
    position: relative;
    display: block;

}


.next-post-img-item:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 30%;
    z-index: 3;
    background: linear-gradient(to top, #2f2727ad, transparent);
}

.next-post-title h4 {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.next-post-text p {
    margin: 0;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.sp_title {
    margin-bottom: 2rem;
}

.img-header {
    color: #ffff;
    z-index: 11;
}

.img-footer {
    color: white;
    bottom: 1rem;
    z-index: 4;
}

.category-name h4 a {
    color: white;
}


.profile-name {
    font-size: 1.1rem;
}

.gallerymodal-right {
    width: 100% !important;
}


.content-right-header-img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;

}

/*.main-img-modal {*/
/*    aspect-ratio: 1 / 1;*/
/*}*/

.main-img-box {
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.content-right-middle-middle {
    text-align: justify;
}

.content-right-middle img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--border-sm);
}


.content-right-middle-middle .thumbnail {
    border: unset !important;
    border-radius: 1rem;
}

.content-right-middle-middle .caption {
    font-size: 13px;
    line-height: 1.42857143;
    font-weight: normal;
    color: #999;
    padding-bottom: 1rem;
    margin-bottom: 1.4rem;
    border-image: linear-gradient(to left, #0003 0%, #0000 70%) 30;
    border-width: 0 0 2px 0;
    border-style: solid;
}

.content-right-middle-middle .caption img {

}

.content-right-middle-middle ul {
    list-style: disc;
}

.content-right-middle-middle ol {
    list-style: persian;
}

.content-right-middle-middle ul li {
    padding: 1px;
    transition: all .4s;
}

/*.content-right-middle-middle ul li:hover{*/
/*    background-color:#eeec;*/
/*    color:#000;*/
/*    transition:all .14s*/
/*}*/

.caption.pull-left {
    margin-bottom: 1rem;
    padding-right: 2rem;
    margin-right: 2.14rem;
    clear: left;
    border-image: linear-gradient(to bottom, #0003 0%, #0000 70%) 30;
    border-width: 0 2px 0 0;
    border-style: solid;
    width: calc(100% / 2.14);
}

.caption.pull-right {
    margin-bottom: 1rem;
    padding-left: 2rem;
    margin-left: 2.14rem;
    clear: right;
    border-image: linear-gradient(to bottom, #0003 0%, #0000 70%) 30;
    border-width: 0 0 0 2px;
    border-style: solid;
    width: calc(100% / 2.14);
}

.caption img {
    padding: 0
}

.caption.pull-left img,
.caption.pull-right img {
    width: 100% !important;
}

@media (max-width: 576px) {
    .caption.pull-left,
    .caption.pull-right {
        clear: both;
        margin: 0 0 1.4rem 0;
        padding: 0 0 1rem 0;
        border-image: linear-gradient(to left, #0003 0%, #0000 70%) 30;
        border-width: 0 0 2px 0;
        border-style: solid;
        width: 100% !important;
    }

    .caption.pull-left img,
    .caption.pull-right img {
        padding-top: 1rem;
    }
}

.caption.pull-right span {
    margin-top: 1rem;
    display: block;
}

.content-text {
    line-height: 3.2rem;
}

.next-post-img .profile {
    transform: translateX(+50%);
    bottom: -0.7rem;
    right: 50%;
    z-index: 11;
}

.profile-img {
    background-color: #f5f5f5;
    width: 3.5rem !important;
}

.tags i {
    font-size: 1.7rem;
}

.content-right {
    background-color: unset !important;
    box-shadow: none;
    overflow: unset !important;
}


/**/


/*comment*/

.comment-content {
    box-shadow: var(--mainshadow);
    height: 100%;
    background-color: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 92rem;
    position: relative;
}

/*.comment-content:before{*/
/*    content: "\f00d";*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    font-family: FA;*/
/*}*/

.comment-prof {
    width: 5rem;
    height: 5rem;
    filter: drop-shadow(0 0.2rem 0.25rem rgba(0, 0, 0, 0.2));

}

.comment-upload {
    /*display: grid;*/
    /*grid-template-columns: repeat(5, minmax(0, 1fr));*/
    /*gap: 2rem;*/
    row-gap: 2rem;
}

.comment-upload .comment-upload-item img {
    border-radius: var(--border-sm);
}

.comment-upload-item {
    display: flex;
}

.comment-detail {
    border-right: 1px solid var(--bordergray);
    /*padding-right: 2rem;*/
}

.create-comment {
    display: flex;
    flex-direction: column;
    background: #e6e6e6;
    position: relative;
    width: 100%;
    padding: 1.5rem 2rem;
    border-radius: var(--border-sm);
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.35);
}

.create-comment:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/comment.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    mix-blend-mode: luminosity;
    z-index: 0;
    opacity: 0.05;
}

.create-comment-header, .create-comment-detail {
    z-index: 1;
}

.create-comment-header textarea {
    outline: unset !important;
    resize: vertical;
    width: 100%;
    height: 15rem;
    border: unset;
    border-radius: var(--border-sm);
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.15);
}

.comment-item-edit {
    background-color: #0dcaf0;
}

.upload-img {
    display: grid;
    gap: 2rem;
}

.upload-img-item {
    background-color: #fff;
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    border-radius: var(--border-sm);
    z-index: 1;
}

.upload-img-item img {
    width: 10rem;
    border-radius: var(--border-sm);
}

/*.upload-img-item input {*/
/*    background-color: #fff;*/
/*}*/

.upload-img-item .form-input {
    border-radius: var(--border-sm);
}

.upload-img-item .form-group-ad {
    box-shadow: 0 5px 10px -6px rgba(0, 0, 0, 0.15);
}

.upload-img-item .form-input:focus + .form-label {
    background-color: #fff !important;
}

.del-item {
    left: 1rem;
    top: 1rem;
    z-index: 11;
    cursor: pointer;
    text-shadow: 0px 1px 8px rgb(232, 28, 77);
}

/*file*/
.file-item-box {
    display: grid;
}

.file-ic {
    font-size: 8rem;
}

/**/

.last-post {
    flex-wrap: wrap;
}

.photos {
    flex-wrap: wrap;
}

.multimedia-video-content video {
    border-radius: var(--border-li);
    width: 30rem;
}

/*.multimedia-video-caption p {*/
/*    max-width: 80% !important;*/
/*}*/

.multimedia-audio-content audio {
    border-radius: 0.25rem;
}

/*new*/

@media (min-width: 0px) {

    .img-footer .profile img {
        width: 3.5rem;
    }

    .pass-course:before {
        right: -2.6rem;
        font-size: 2rem;
    }
    .photo-gallery .photos {
        gap: 1rem;
        grid-template-columns: repeat(2, minmax(110px, 1fr));
    }

    .file-item-box {
        display: grid;
        grid-template-columns: repeat(1, minmax(200px, 1fr));
        gap: 3rem;
    }

    .comment-replay-1 {
        width: 96% !important;
    }

    .comment-replay-2 {
        width: 92% !important;
    }

    .comment-replay-3 {
        width: 88% !important;
    }


    .galleryModal .modal-dialog {
        width: 80% !important;
    }

    .content-right h1 {
        font-size: 20px;
    }
}

@media (min-width: 400px) {
    .photo-gallery .photos {
        gap: 1rem;
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }
}

@media (min-width: 576px) {

    .profile-name {
        font-size: 1.6rem;
    }

    .img-footer .profile img {
        width: 4rem;
    }


    .pass-course:before {
        right: -5rem;
        font-size: 2.5rem;
    }

    .photo-gallery .photos {
        gap: 1rem;
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

    .file-item-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 3rem;
    }

    .content-right h1 {
        font-size: 27px;
    }

}

@media (min-width: 768px) {


    .photo-gallery .photos {
        gap: 1rem;
        grid-template-columns: repeat(5, minmax(100px, 1fr));
    }

    .file-item-box {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        gap: 3rem;
    }

    .comment-replay-1 {
        width: 92% !important;
    }

    .comment-replay-2 {
        width: 84% !important;
    }

    .comment-replay-3 {
        width: 76% !important;
    }
}

@media (min-width: 1200px) {
    .file-item-box {
        display: grid;
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        gap: 3rem;
    }

    .galleryModal .modal-dialog {
        width: 50% !important;
    }
}

@media (min-width: 1400px) {
    .comment-box {
        width: 80%;
        align-items: end;
    }

}

.comment-box {
    align-items: end;
}

/**/


@media (max-width: 350px) {
    .profile-img {
        width: 2.2rem !important;
    }

    .next-post-img .profile {
        bottom: -0.4rem !important;
    }
}

@media (max-width: 400px) {

    .next-post-img .profile {
        font-size: 1.2rem;
    }

    .img-details {
        font-size: 1rem !important;
    }
}

@media (max-width: 450px) {
    /*.photo {*/
    /*  width: 71% !important;*/
    /*}*/
}

@media (max-width: 480px) {
    /*.comment-upload {*/
    /*    grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;*/
    /*}*/
    .multimedia-video-content {
        flex-direction: column !important;
    }

    .multimedia-video-caption p {
        font-size: 1.3rem;
    }

    .img-footer {
        padding-left: 1rem;
        padding-right: 1rem;
        text-shadow: none;
    }
}

@media (max-width: 576px) {
    .send-btn {
        width: 100%;
    }

    .comment-detail {
        border: unset;
    }

    .upload-img {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .img-details {
        font-size: 1.2rem;
    }

    .profile img {
        width: 3.5rem;
    }

    .profile span a {
        font-size: 1.2rem !important;
    }

}

@media (max-width: 768px) {
    /*.comment-upload {*/
    /*    grid-template-columns: repeat(4, minmax(0, 1fr));*/
    /*}*/
    .comment-content {
        flex-direction: column;
    }

    .comment-content .comment-text {
        width: 100%;
    }

    .comment-content .comment-img {
        width: 100%;
    }


    .multimedia-video-content,
    .multimedia-video-content video {
        width: 100% !important;
    }

    .multimedia-video-content {
        gap: 2rem;
    }

    .multimedia-audio-caption {
        flex-direction: column;
    }

    .multimedia-video-caption {
        padding-right: 0 !important;
    }

}

@media (max-width: 992px) {
    .last-post {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 2rem;
    }
}

@media (max-width: 1400px) {
    .multimedia-video-caption {
        width: 100% !important;
    }
}

@media (max-width: 1920px) {

    .upload-img {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .last-post {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .multimedia-video-caption {
        width: 40rem;
    }

    .multimedia-video-caption {
        padding-right: 1rem;
    }
}

/* photo-gallery */

.photo-gallery {
    color: #313437;
}

.photo-gallery a {
    color: #313437;
}

.photo-gallery h5 {
    line-height: 2rem;
    color: #fff;
    /*bottom: -25%;*/
    bottom: -100%;
    right: 1rem;
    transition: 0.25s ease-in-out !important;
    z-index: 11111;
}

.photo-gallery .photos .photo a:hover h5 {
    bottom: 1rem;
}

.photo-gallery .photos .photo a .photo-over {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: 0.25s ease-in-out;
}

.photo-gallery .photos .photo a:hover .photo-over {
    background-color: #43597173;
}

.photo-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width: 767px) {
    .photo-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.photo-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.photo-gallery .intro p {
    margin-bottom: 0;
}

.photo-gallery .photos {
    padding-bottom: 20px;
}

.img-fluid {
    width: 100%;
    height: 15rem;
    overflow: hidden;
    border-radius: 0.25rem;
}

.lightboxOverlay {
    background-color: #f5f5f5 !important;
}

.lb-number {
    display: none !important;
}

.photo-gallery .item {
    overflow: hidden;
    border-radius: var(--border-li);
    aspect-ratio: 1 / 1;
}

.photo a img {
    width: 100% !important;
    height: 100%;
}

.heartbeat {
    animation: heartbeat 1s ease-in-out;
}

@keyframes heartbeat {
    0% {
        transform: scale(1.25);
    }

    20% {
        transform: scale(1.5);
    }

    40% {
        transform: scale(1.25);
    }

    60% {
        transform: scale(1.5);
    }

    80% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.course-item-sub {
    display: none;
}

.course-item-main {
    cursor: pointer;
}

.course-item-main i {
    transition: .25s ease-in;
}

.course-item-main .rotate {
    rotate: -90deg;
    transition: .25s ease-in;
}

.pass-course {
    background: rgb(171 227 169);
    position: relative;
}

.pass-course:before {
    content: "\f058";
    font-family: "FA";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
}

