/*************** Stert Comments ******************/
.edNews__commentPendingApproval,
.edNews_errorMessage {
    position: absolute;
    bottom: 100%;
    right: 0;
    transition: all ease-in-out .3s;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: block
}

.edNews__commentPendingApproval.show,
.edNews_errorMessage.show {
    max-height: 3rem;
    opacity: 1;
    background: var(--accent-color2);
    padding: 0 0.5rem;
    color: #fff;
    border-radius: 5px;
}

.edNews__commentsWrapper .btn-submit {
    color: var(--White);
    transition: all ease-in-out .3s;
    cursor: pointer;
    font-weight: bold;
}

.edNews__commentsWrapper .btn-submit:hover {
    background: var(--accent-color4)
}

.edNews__commentsWrapper :where(input[type="text"], input[type="email"], textarea) {
    outline: unset !important;
    ;
    padding: 1rem;
    width: -webkit-fill-available;
    background-color: var(--lsilver);
    transition: all ease-in-out .3s;
    border: 0.1em solid var(--silverLight);
}

.edNews__commentsWrapper :where(input[type="text"], input[type="email"], textarea)::placeholder {
    text-align: right !important;
    font-family: IranSite;
    color: var(--Silver-Secondary-Color);
    transition: all ease-in-out .3s;

}

input:where([type="email"], [type="cell"]) {
    direction: ltr
}

.edNews__commentsWrapper .form-group label {

    padding: .4rem 0
}

.edNews__commentsWrapper :where(input[type="text"], input[type="email"], textarea):focus {
    border-color: var(--Accent-Color);
}

.edNews__commentsWrapper :where(input[type="text"], input[type="email"], textarea):focus::placeholder {
    letter-spacing: -0.05rem;
    font-size: 0.9rem;
}

.edNews__commentsWrapper .GDPR input[type=checkbox]+label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: .2em;
    gap: 1rem
}

.edNews__commentsWrapper .GDPR input[type=checkbox] {
    display: none
}

.edNews__commentsWrapper .GDPR input[type=checkbox]+label:before {
    content: "\2714";
    border: .1em solid var(--Black-Color);
    border-radius: .2em;
    display: flex;
    color: transparent;
    transition: .2s;
    padding: 0 0.5em;
    border: 0.1rem solid var(--blgnav);
}

.edNews__commentsWrapper .GDPR input[type=checkbox]+label:active:before {
    transform: scale(0)
}

.edNews__commentsWrapper .GDPR input[type=checkbox]:checked+label:before {
    background-color: #3cb371;
    border-color: #3cb371;
    color: #fff
}

.edNews__commentsWrapper .GDPR input[type=checkbox]:disabled+label:before {
    transform: scale(1)
}

.edNews__commentsWrapper .GDPR input[type=checkbox]:checked:disabled+label:before {
    transform: scale(1);
    background-color: #bfb;
    border-color: #bfb
}

.edNews__commentsCommentFormWrapper .edNews__replyingToMessage {
    opacity: 0;
    visibility: hidden;
    transition: all ease-in-out .3s
}

.edNews__commentsCommentFormWrapper.edNews__replyingToComment .edNews__replyingToMessage {
    opacity: 1;
    visibility: visible
}

.edNews__commentsCollapseWrapper {
    width: 100%
}

.edNews_commentDetails .media-body {
    flex: 1 0 80%;
    border: 0.1rem solid var(--silverLight);
    border-radius: calc(var(--b-rasiud)*2);
}

.edNews__commentVoting_upvote .fa-thumbs-o-up:before {
    color: green;
    font-size: 1.5rem
}

.edNews__commentVoting_downvote .fa-thumbs-o-down:before {
    color: red;
    font-size: 1.5rem
}

.edNews_commentActions span {
    color: var(--accent-color1)
}

.edNews_numberVotes {
    color: var(--accent-color1)
}

.edNews_loadMoreTriggerWrapper {
    display: flex;
    justify-content: center
}

.edNews_loadMoreTriggerWrapper button {
    background: var(--accent-color3);
    border: 1px solid var(--accent-color2);
    padding: 1rem;
    margin-bottom: 2rem;
    cursor: pointer
}

.edNews_loadMoreTriggerWrapper .loadingOverlay {
    display: none
}

.edNews_loadMoreTriggerWrapper.loading,
.edNews__editingComment .edNews__editCommentContainer {
    display: block
}

.edNews_loadMoreTriggerWrapper.hide,
.edNews__editCommentContainer {
    display: none
}

.edNews_userAvatar img {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: var(--b-radius);
}

.edn_recentCommentContainer {
    display: flex;
    gap: 1rem;
    align-items: center;

}

.ItemTitleComment svg {
    width: 1.5rem;
}

.edNews__commentContent {
    font-size: 0.9rem;

    p {
        margin: 0;
    }
}

.edNews_commentDate {
    font-size: 0.8rem;
    padding-top: 6px;
}

.edNews__childCommentsContainer {
    border-right: solid 2px var(--accent-color);
    margin-bottom: 8px;

    .edNews__itemCommentContainer {
        margin-right: 30px;
        border-top: 0.1rem solid var(--dark-gray);
    }
}

.edNews_adminEdit .btn-submit {
    background: transparent !important;
    color: var(--accent-color);

    .edNews__editComment,
    .edNews__deleteComment {
        display: none;
    }
}

div#edNewsComment3424_2219_3 {
    border-bottom: 0.1em solid var(--accent-color2)
}

/********************** End Comments ***********************/

/***************** Start Related Aritcle *******************/
.relatedBox {
    .relatedImgBox {
        width: 7rem;
        height: 7.2rem !important;
    }

    .relatedTextBox {
        strong {
            font-size: 0.8rem;
        }

        span {
            font-size: 0.7rem;
        }
    }
}

/***************** End Related Aritcle *******************/




/***************** Start Article Category Slider *****************/
.news-slider-section {
    .title-box {
        svg {
            stroke: var(--CustomColor1);
        }
    }

    .category-slider {
        .swiper-slide {
            a {
                border-radius: 15px 15px 5px 5px;
                border: solid 1px #F6F6F6;
                overflow: hidden;

                .img-box {

                    img {
                        border-radius: 15px 15px 5px 5px;
                        -webkit-border-radius: 15px 15px 5px 5px;
                        -moz-border-radius: 15px 15px 5px 5px;
                        -ms-border-radius: 15px 15px 5px 5px;
                        -o-border-radius: 15px 15px 5px 5px;
                        width: 100%;
                    }
                }

                .cat-label {
                    display: block;
                    font-weight: normal;
                    font-size: 1.3rem;
                    min-height: 86px;
                    padding: 0.5rem 0.5rem 1rem;
                    margin: 0;
                    color: #000;
                }
            }
        }
    }

    @media(max-width: 960px) {
        .category-slider {
            .swiper-slide {
                a {
                    .cat-label {
                        font-size: 1rem;
                    }
                }
            }
        }
    }
}

/***************** End Article Category Slider *******************/


/***************** Start Article Category Title Slider *****************/
.article-category-title-slider {
    border-radius: 5px;
    background-color: rgb(158 11 15 / 10%);
    padding: 0.6rem;
    margin-bottom: 1.5rem;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;

    .category-title-slider {
        width: calc(100% - 56px);

        .swiper-slide {
            >a {
                font-size: 1rem;
                color: var(--accent-color);

                .cat-label {
                    color: #000;
                }
            }
        }
    }
}

/***************** End Article Category Slider *******************/


/***************** Start Article List Widget *****************/
.article-list-widget {
    .puzzle-article {
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
        }

        .right-col {
            .item {
                height: 100%;

                .title-box {
                    right: 0;
                    bottom: calc(50% - 85px);
                    left: 0;
                    padding: 2.5rem 1rem;
                    background: rgba(0, 0, 0, 0.25);
                    color: white;

                    .title {
                        font-size: 2.5rem;
                        color: white;
                        margin-top: 0;
                        margin-bottom: 0.9rem;
                    }

                    .date-box {
                        border-radius: 18px;
                        background-color: rgba(255, 255, 255, 0.2);
                        padding: 0.4rem 1.1rem;

                        .publish-date {
                            font-size: 0.9rem;
                        }

                        svg {
                            width: 1rem;
                            height: 1rem;
                            stroke: white;
                        }
                    }
                }
            }

            @media(max-width:768px) {
                .item {
                    .title-box {
                        bottom: 0;
                        padding: 1rem 0.5rem;

                        .title {
                            font-size: 1.5rem;
                        }

                        .date-box {
                            padding: 0.2rem 0.3rem;

                            .publish-date {
                                font-size: 0.7rem;
                            }
                        }
                    }
                }
            }
        }

        .left-col {
            .item {
                height: 100%;

                .title-box {
                    min-height: 7rem;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    padding: 0.3rem 0.8rem;
                    background: rgba(0, 0, 0, 0.25);
                    color: white;

                    .title {
                        font-size: 1rem;
                        color: white;
                        margin-top: 0;
                        margin-bottom: 0.9rem;
                    }

                    .date-box {
                        .publish-date {
                            font-size: 0.9rem;
                        }

                        svg {
                            width: 1rem;
                            height: 1rem;
                            stroke: white;
                        }
                    }
                }
            }
        }
    }

    .row-items-box {
        border-radius: 5px;
        border: solid 1px #F5F5F5;
        padding: 1rem;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;

        .title {
            font-weight: normal;
            font-size: 1rem;
            color: #000;
            margin: 0 0 1rem 0;
        }

        .publish-date {
            font-size: 0.9rem;
            color: #1B2C65;
        }

        svg {
            width: 1rem;
            height: 1rem;
            stroke: #1A86B5;
        }
    }
}

/***************** End Article List Widget *****************/

/***************** Start Buying Guide *****************/

.buying-guide-page {
    .items {
        background: var(--CustomColor5);
        padding: 3.3rem 3rem 2.5rem;
        border-radius: 5px;
        margin-bottom: 0.9rem;

        .title-row {
            &:before {
                content: '';
                position: absolute;
                right: 5rem;
                left: 0;
                top: 50%;
                border-bottom: solid 2px #D7D7D7;
            }

            .title {
                position: relative;
                font-size: 1.2rem;
                padding: 0 0.7rem 0 1rem;
                background: var(--CustomColor5);
            }
        }
    }

    video {
        width: 100%;
        object-fit: cover;
    }

    @media(max-width: 960px) {
        video {
            height: auto;
        }
    }
}

/***************** End Buying Guide *****************/

.article-list {

    a {
        border-radius: 15px 15px 5px 5px;
        border: solid 1px #F6F6F6;
        overflow: hidden;

        .img-box {

            img {
                border-radius: 15px 15px 5px 5px;
                -webkit-border-radius: 15px 15px 5px 5px;
                -moz-border-radius: 15px 15px 5px 5px;
                -ms-border-radius: 15px 15px 5px 5px;
                -o-border-radius: 15px 15px 5px 5px;
                width: 100%;
            }
        }

        .cat-label {
            display: block;
            font-weight: normal;
            font-size: 1rem;
            min-height: 86px;
            padding: 0.5rem 0.5rem 1rem;
            margin: 0;
            color: #000;
        }
    }

}

.article-details {
    .frame {
        background-color: var(--CustomColor3);
        border-radius: 15px;
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        -ms-border-radius: 15px;
        -o-border-radius: 15px;
        padding: 1.5rem;
    }

    .title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .time-box {
        font-size: 1rem;

        svg {
            stroke: var(--accent-color);
            width: 1rem;
            height: 1rem;
            margin-left: 0.5rem;
        }

        span {
            margin-left: 2rem;
        }
    }

    .author {
        font-size: 1rem;
        margin: 0;
    }

    img {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

    .desc {
        display: block;

        p,
        strong {
            display: block;
            margin-bottom: 1rem;
        }
    }

    @media(max-width:960px) {
        .title {
            font-size: 1.1rem;
            line-height: 28px;
        }
    }
}

.related-articles {
    .related-item {
        img {
            min-width: 52px;
            border-radius: 5px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
            margin-left: 1rem;
        }

        .title {
            font-size: 1rem;
            font-weight: normal;
            margin: 0;
        }

        svg {
            width: 14px;
            stroke: var(--accent-color);
            margin-left: 0.5rem;
        }

        .time {
            font-size: 0.8rem;
        }
    }
}


.comments-frame {
    background-color: var(--CustomColor3);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    padding: 1.5rem;
}

.comments-form {
    .sec-title {
        display: block;
        color: #000;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .field-holder {
        position: relative;
        border: solid 1px #F1EEEE !important;
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: start;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        padding: 0px 1rem;
        margin-bottom: 1rem;

        svg {
            min-width: 18px;
            width: 18px;
            height: 15px;
            stroke: #1B2C65;
            margin-left: 0.8rem;
        }

        .form-control {
            width: 100%;
            height: 42px;
            border: none !important;
            outline: none;
            font-size: 1rem;
            padding: 0.5rem 0;
            resize: none;
            text-align: right;

            &::placeholder {
                color: #959595;
                font-size: 1rem;
                font-weight: normal;
            }

            &:disabled {
                background-color: transparent;
            }
        }

        textarea {
            min-height: 150px;
        }
    }

    .rating-in-comment {
        .caption {
            color: #000;
        }
    }

    .submit-btn {
        font-size: 1rem;
        color: #fff;
        border: none;
        padding: 0.3rem 1.5rem;
        border-radius: 5px;
        background-color: var(--accent-color2);
        cursor: pointer;

    }
}

.comments-list {
    background-color: var(--CustomColor3);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    padding: 3rem 1.2rem;
    margin-bottom: 2rem;

    .avatar {
        width: 50px;
        min-width: 50px;
        height: 50px;
        background-color: #fff;
        border-radius: 5px;
        margin-left: 1rem;

        svg {
            width: 20px;
            stroke: var(--accent-color);
        }
    }

    .comment-head {
        width: 100%;
        height: 50px;
        padding: 0.4rem 1rem;
        background-color: #FBFBFB;
        border-radius: 5px;
        border: solid 1px #F1F1F1;

        .author {
            font-size: 1rem;
            color: #000;
        }

        .dete {
            .item {
                font-size: 0.8rem;
                color: #000;

                svg {
                    width: 14px;
                    height: 14px;
                    margin-left: 0.5rem;
                    stroke: var(--accent-color);
                }

            }
        }

        @media(max-width:760px) {
            display: block !important;
            height: auto;

            .dete {
                flex-direction: column;
            }
        }
    }

    .comment-body {
        padding: 1rem;

        .comment-content {
            font-size: 1rem;
            color: #000;
        }

        .action-btns {
            svg {
                cursor: pointer;
            }

            .like {
                .like-couner {
                    color: #000;
                    margin-top: -3px;
                    margin-left: 2px;
                }
            }
        }

        @media(max-width:760px) {
            display: block !important;
            height: auto;

        }
    }

}