.Box_Blogs,
.Box_Detail_Article {
    background-color: #f2f3f7;
    border-radius: 20px;
    box-shadow: 0 0 6px rgb(68 59 21 / 22%);
    overflow: hidden;

}

.DescArticle {
    padding: 0 2rem 2rem 2rem;
}

.DescArticle h3 {
    font-size: 1.1rem;
    margin: 0;
    padding: 2rem 0 1rem 0;
}

.Title_Detail_Article h1 {
    font-size: 1.5rem;
}

.Box_Detail_Article {
    padding: 2rem;
}

.Img_Detail_Article img {
    padding: 0.5rem;
    box-shadow: 0 0 6px rgb(68 59 21 / 22%);
}

.pb-3 {
    padding-bottom: 3rem;
}

.text-small {
    font-size: 12px;
}

.edn_docType_pdf a {
    background: #bca43e;
    height: 40px;
    color: white !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 50px;
    border-radius: 20px;
    position: relative;
}

.edn_articleDocuments h2 {
    display: none;
}

.edn_docType_pdf span {
    display: none;
}

.edn_docType_pdf a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 7L12 14M12 14L15 11M12 14L9 11' stroke='%231C274C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 17H12H8' stroke='%231C274C' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12Z' stroke='%231C274C' stroke-width='1.5'/%3E%3C/svg%3E");
}

.h-100 {
    height: 100%;
}

/* Eil */

.List_Article_Blogs {
    .img-box {
        img {
            border-radius: 0.66rem;
            -webkit-border-radius: 0.66rem;
            -moz-border-radius: 0.66rem;
            -ms-border-radius: 0.66rem;
            -o-border-radius: 0.66rem;
        }
    }
}

.Details_Article_Blogs {
    @media screen and (max-width:520px) {
        .writer {
            div {
                flex: 1 0 auto;
            }
        }
    }

    .DetailArticle {
        img {
            width: 100%;
            height: auto;
        }
    }

    .p-sticky {
        position: sticky;
        top: 5rem;
        align-self: self-start;
    }

    h1 {
        font-weight: 600;
    }

    .SpecificationsBox {
        font-weight: 600;
    }
}

/* article_pager */
.article_pager {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    gap: 0.6rem;

    .page {
        border: 0.1em solid var(--accent-color);
        line-height: 0;
        padding: 0.71rem;
        border-radius: 0.66rem;
        width: 2.28rem;
        height: 2.28rem;
        display: flex;
        justify-content: center;
        align-items: center;

        &.active {
            background: var(--accent-color);
            color: var(--White);
            border: unset !important;
        }
    }
}

/* RelatedArticles */
.relatedBox {
    .relatedImgBox {
        width: 9rem;
        height: 9rem !important;
        object-fit: cover;
    }
}

/***************commentsStert******************/
.edNews__commentPendingApproval,
.edNews_errorMessage {
    transition: all ease-in-out .3s;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    display: block;
    margin: unset;
}

.edNews__commentPendingApproval.show,
.edNews_errorMessage.show {
    max-height: 3rem;
    opacity: 1;
    background: var(--accent-color5);
    padding: .4em
}

.edNews__commentsWrapper .btn-submit {
    color: var(--White);
    transition: all ease-in-out .3s;
    cursor: pointer;
    font-weight: bold;
    border-radius: calc(var(--b-radius)*2);
}

.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);
    border-radius: calc(var(--b-radius)*2) !important;
}

.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;
    display: none;
}

.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;
}

.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)
}

.CommentImage {
    border-radius: calc(var(--b-radius)*2)
}

/***************commentsEnd******************/

/****** HomeSlider *******/
.HomeTopBaners a {
    position: relative;
}

.HomeTopBaners .slider-controller {
    position: relative;
    top: -3rem;
    z-index: 1;

    svg {
        display: block;
        cursor: pointer;
    }
}

.HomeTopBaners .swiper-pagination-bullet {
    background: var(--White);
}

.HomeTopBaners .BannerBox .BannerText .seeMore-BTN span {
    border-radius: calc(var(--b-radius)*2);
    background: #E5DDBF;
}

.HomeTopBaners .BannerBox .BannerText {
    display: flex;
    flex-direction: column;
    justify-content: end;
    top: 0;
    right: 0;
    width: 40vw;
    bottom: 15%;
    pointer-events: none;

    p {
        font-size: 4.3rem;
        font-weight: bold;
    }

    h1 {
        font-size: 3.3rem;
    }


    @media (max-width:1200px) {
        width: 47vw;
        bottom: 0;

        .seeMore-BTN {
            scale: 70%;
        }
    }

    @media (max-width:920px) {
        p {
            font-size: 1.5rem;
            font-weight: bold;
        }

        h1 {
            font-size: 1.5rem;
        }

    }
}


.department-section {
    position: relative;
    padding: 4rem 0;

    .department-Slider {
        width: 71rem;
        max-width: 100%;
        margin: auto;
        padding: 1.6rem;

        .swiper-slide {

            .img-box {
                img {
                    width: 100%;
                    border-radius: 0.4rem;
                    filter: grayscale(1);
                    cursor: pointer;
                    transition: all 0.3s ease;
                }
            }

            &.focused {
                z-index: 10;

                .img-box {
                    img {
                        filter: grayscale(0);
                        transform: scale(1.2);
                        z-index: 1000;
                    }
                }
            }
        }
    }

    .slider-controller {
        position: absolute;
        top: calc(50% - 2rem);
        right: 1.3rem;
        left: 1.3rem;
        z-index: 1;

        svg {
            display: block;
            cursor: pointer;
        }
    }

    .content-box {
        width: 34.2rem;
        max-width: 90%;
        min-height: 8rem;
        margin: 3rem auto 0;
        text-align: center;

        .basic-data {
            text-align: center;

            .title {
                font-size: 1.1rem;
                font-weight: 700;
                color: var(--accent-color);
                margin: 0 0 1rem;
            }

            .desc {
                margin: 0;
                text-align-last: center;
            }
        }

        .item-data {
            display: none;

            .title {
                font-size: 2.28rem;
                font-weight: 700;
                color: #595959;
                margin: 0 0 1rem;
            }

            .btn {
                cursor: pointer;
                width: max-content;
                min-height: 3rem;
                background: #E5DDBF;
                gap: 0.5rem;
                color: var(--button-color);
                margin: auto;

                svg {
                    fill: var(--accent-color)
                }
            }
        }
    }

    @media(max-width:1320px) {
        padding-bottom: 0;
    }



}

.lawfirm-service {
    margin-top: 11rem;
    background: linear-gradient(92deg, #DCCE94 0%, #BCA43E 70%);

    .content-box {
        padding: 8.8rem 0;

        .title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--White);
            margin-bottom: 0.2rem;
        }

        .desc {
            color: var(--White);
            margin: 0;
        }
    }

    .img-box {
        position: relative;

        img {
            position: absolute;
            bottom: 0;
            left: 0;
            max-width: 100%;
        }
    }

    @media(max-width:1320px) {
        margin-top: 0;
    }

    @media(max-width:960px) {
        .content-box {
            padding: 4.8rem 0;
        }

        .img-box {
            position: relative;
            align-items: end;

            img {
                position: relative;
            }
        }
    }

    @media(max-width:760px) {
        .content-box {
            padding: 4.8rem 0;
        }
    }
}

.lawfirm-experts {
    margin-top: 3rem;

    .expert-item {
        margin-bottom: 4rem;

        .img-box {
            position: relative;
            border-radius: 0.5rem;
            overflow: hidden;
            margin-bottom: 0.9rem;

            .main {
                width: 100%;
            }

            .overlay {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }
        }

        .name {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 0.2rem;
        }

        ul {
            li {
                position: relative;
                display: flex;
                align-items: center;
                gap: 0.5rem;

                &:before {
                    content: '';
                    width: 0.5rem;
                    height: 0.5rem;
                    background: var(--accent-color);
                    border-radius: 50%;
                    line-height: 2rem;
                }
            }
        }
    }
}

.brands-section {
    margin-top: 2rem;
    padding-bottom: 2rem;

    .swiper-slide {
        img {
            width: 100%;
        }
    }

    .slider-controller {
        position: absolute;
        top: calc(50% - 1rem);
        right: 0;
        left: 0;
        z-index: 1;

        svg {
            display: block;
            cursor: pointer;
        }
    }
}

.lawfirm-certificates {
    padding: 5.14rem 0;
    margin-bottom: 4rem;
    background: var(--LightGray1);

    .title {
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--Black-Color);
    }

    .desc {
        color: var(--Black-Color);
        margin: 0.8rem 0 0;
    }

    .slider-holder {
        position: relative;
        padding: 0 3rem;
    }

    .certificate-Slider {
        width: 100%;

        .swiper-slide {
            img {
                width: 100%;
            }
        }
    }

    .slider-controller {
        position: absolute;
        top: calc(50% - 1rem);
        right: 0;
        left: 0;
        z-index: 1;

        svg {
            display: block;
            cursor: pointer;
        }
    }
}

/* Gallery */
.Gallery {
    .GalleryBox {
        transition: all 0.3s ease-in-out;
        flex-shrink: 1 !important;

        &:hover {
            width: 70% !important;

            .GalleryText {
                opacity: 1;
                visibility: visible;
            }

            .maximize-btn {
                &:before {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    width: 100%;
                    height: 50%;
                    border-radius: 8px;
                    background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, #000 100%);
                    mix-blend-mode: multiply;
                }
            }
        }

        img {
            height: 26rem;
            object-fit: cover;
        }

        .GalleryText {
            bottom: 1rem;
            right: 50%;
            transform: translate(50%, 0);
            transition: all 0.6s ease-in-out;
            opacity: 0;
            visibility: hidden;

            .GalleryMore {
                background: #E5DDBF;

                svg {
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }

    .maximize-image {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000000000;
        background-color: rgba(0, 0, 0, 0.9);

        .layout {
            img {
                width: 45%;
                height: auto;
                max-width: 95%;
                max-height: 95%;
                border-radius: 1rem;
                border: solid 2px #000;
                -webkit-border-radius: 1rem;
                -moz-border-radius: 1rem;
                -ms-border-radius: 1rem;
                -o-border-radius: 1rem;
            }
        }
    }

    @media screen and (max-width:980px) {
        .GalleryBox {
            flex-shrink: 0 !important;

            &:hover {
                width: 100% !important;
            }
        }

        .GalleryText {
            opacity: 1 !important;
            visibility: visible !important;
        }

        .maximize-btn {
            &:before {
                content: "";
                position: absolute;
                bottom: 0;
                width: 100%;
                height: 50%;
                border-radius: 8px;
                background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, #000 100%);
                mix-blend-mode: multiply;
            }
        }

        .maximize-image {
            .layout {
                img {
                    width: 100%;
                }
            }
        }
    }
}

.GalleryOld {
    .article-wrapper {
        img {
            object-fit: cover;
            border-radius: 10px;
        }
    }
}