﻿.article__InternalLink,
.article__InternalLink:visited {
    color: var(--mc1);
    text-decoration: underline;
}

/* ARTICLE LIST */

.opinionBox textarea {
    min-height: 250px;
}


/* Blog List */

.blogListSlider,
.blogRelated .related {
    margin: 0 -8px;
}

.articleListOut {
    padding: 8px;
}

.articleList__Card {
    text-align: right !important;
    transition: var(--transition);
    margin-bottom: 6.75rem;
    position: relative;
}

.articleList__Card:hover .articleList__Card__Content {
    border: 2px solid #00E078;
}

.articleList__Card:hover .dateCreate {
    background: var(--mc1);
}

.articleList__Card__Content {
    padding: 1.5rem !important;
    background: #F5F5F5;
    position: absolute;
    left: 0;
    transform: translateX(1rem);
    top: 4rem;
    border: 2px solid #F5F5F5;
    transition: var(--transition);
    width: 60%;
}

.articleList__Card:hover .articleList__Card__ImgBox img {
    transform: rotate(-1.5deg) scale(1.1);
}

.articleList__Card__ImgBox {
    width: 60%;
    overflow: hidden;
}

.articleList__Card__ImgBox img {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    transform: rotate(0deg) scale(1);
}

.articleList__Card .ttl {
    height: calc(2 * 1.75rem);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}


.articleList__Card .txt {
    height: calc(2 * 1.5rem);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.articleList__Card__Btn {
    position: relative;
    padding-right: 1.5rem;
    color: var(--mc1);
    display: block;
}

.articleList__Card__Btn::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 1rem;
    background: var(--mc1);
}

.articleList__Card__Btn:hover,
.articleList__Card__Btn:focus,
.articleList__Card__Btn:visited {
    color: var(--mc1) !important;
}

.dateCreate {
    padding: 4px 16px;
    background: var(--mc2);
    position: relative;
    display: inline-block;
    color: #fff;
    font-family: "IranYekan";
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    transition: var(--transition);
}

.dateCreate::before {
    content: '';
    display: block;
    background: url("Portals/_default/skins/wb-skin/Images/calendar.svg") no-repeat center;
    background-size: cover;
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
}

.blogListSlider {
    margin-top: 2rem;
}


/* SERIVCE LIST */

.servicesList .mainArticleWrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 2rem;
    column-gap: .5rem;
}

.servicesList .mainArticleWrapper>* {
    max-width: 100% !important;
}

.serviceList__Card {
    margin: .5rem;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    position: relative;
}

.serviceList__Card__Box {
    background: #fff;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 15%);
    width: 70%;
    height: 70px;
    position: absolute;
    bottom: -2rem;
    transition: var(--transition);
    text-align: right;
    overflow: hidden;
}

.serviceList__Card__ImgBox {
    position: relative;
    overflow: hidden;
}

.serviceList__Card__ImgBox a,
.serviceList__Card__ImgBox img {
    display: block;
    width: 100%;
}

.serviceList__Card__ImgBox::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 0;
    display: block;
    content: '';
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
    transition: var(--transition) ease-in;
}

.serviceList__Card:hover .serviceList__Card__ImgBox::before {
    /* -webkit-animation: shine var(--transition) ease-in;
	animation: shine var(--transition) ease-in; */
    left: 125%;
}

/* 
@-webkit-keyframes shine {
	0% {
	    left: -100%;
        opacity: 1;
	}
	100% {
        opacity: 0;
		left: 125%;
	}
}
@keyframes shine {
	0% {
	    left: -100%;
        opacity: 1;
	}
	100% {
        opacity: 0;
		left: 125%;
	}
} */




.serviceList__Card:hover .serviceList__Card__Box {
    width: 90%;
    height: 250px;
    padding: 0.5rem 1rem;
}

.serviceList__Card:hover .serviceList__Card__Content {
    opacity: 1;
    visibility: visible;
}

.serviceList__Card:hover .fa-arrow-left::after {
    position: absolute;
    right: 96px;
    transform: translate(0, -50%);
}

.serviceList__Card:hover .fa {
    left: 10% !important;
    width: 90% !important;
}

.serviceList__Card:hover .serviceList__Card__Btn {
    opacity: 1;
    visibility: visible;
}

.serviceList__Card:hover .serviceList__Card__Ttl {
    font-size: 20px !important;
    line-height: 50px !important;
}

.serviceList__Card__Ttl {
    transition: var(--transition);
    font-size: 1.25rem !important;
    line-height: 70px !important;
}

.serviceList__Card__Content {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.serviceList__Card .fa {
    transition: var(--transition);
    width: 32px;
    height: 70px;
    background: var(--mc2);
    color: #fff;
    position: absolute;
    left: 30%;
    bottom: -2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serviceList__Card .fa::before {
    display: none;
}

.serviceList__Card .fa::after {
    content: "";
    display: block;
    transition: var(--transition);
    right: 50%;
    top: 50%;
    position: absolute;
    transform: translate(50%, -50%);
    background: url(../Images/arrow-left.svg) no-repeat center;
    width: .75rem;
    height: 1rem;
}


.serviceList__Card .ttl {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1rem !important;
}

.serviceList__Card .txt {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    /* text-align: justify; */
}

.serviceList__Card__Btn {
    position: absolute;
    bottom: 1.25rem;
    right: 1rem;
    z-index: 1;
    color: #fff !important;
    opacity: 0;
    visibility: hidden;
    transition: 1.25s;
}

.serviceList__Card__Number {
    color: var(--mc1);
    position: relative;
    padding-right: 1.5rem;
    font-family: "IranYekan" !important;
}

.serviceList__Card__Number::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 3px;
    width: 1rem;
    background: var(--mc1);
}

.serviceList__Card__ImgBox img {
    border-radius: var(--border-radius);
}

.serviceList__Card__Btn i {
    font-size: 12px;
    margin-right: 4px;
    font-weight: 100;
}

.appendSerivceRelated .related {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.serviceList__Home .mainArticleWrapper {
    display: flex;
    justify-content: space-between;
}

.blogList .mainArticleWrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1100px;
}

/* Detail */

.blogDetail__Image {
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: block;

}

.blogDetail article img {
    width: auto !important;
    height: auto !important;
    border-radius: var(--border-radius);
    margin: 2rem auto;
    display: block;

}

.blogDetail article ol {
    padding-right: 1rem;
}

.blogDetail article ol li {
    list-style: persian;
}

.blogDetail article ul {
    padding-right: 1rem;
}

.blogDetail article ul li {
    list-style: disc;
}

.blogDetail article h2 {
    margin-top: 1rem !important;
    margin-bottom: .5rem !important;
}

.blogDetail article h3,
.blogDetail article h4 {
    font-weight: bold;
    margin-top: 1rem !important;
    margin-bottom: .5rem !important;
}

.relatedTitle {
    margin: 2rem 0 2.5rem !important;
}

.getBlogTitle {
    width: fit-content;
    position: relative;
    color: var(--mc2);
}

.getBlogTitle::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(10px);
    width: 6rem;
    height: 2px;
    background: var(--mc1);
}

.dateCreate__Detail {
    position: relative;
    display: inline-block;
    color: var(--mc2);
    font-family: "IranYekan";
    padding-right: 1.5rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.blogLatest__Ttl .dateCreate__Detail {
    margin-bottom: 0;
}

.dateCreate__Detail::before {
    content: '';
    display: block;
    mask-image: url(../Images/calendar.svg);
    -webkit-mask-image: url(../Images/calendar.svg);
    mask-size: 1rem;
    -webkit-mask-size: 1rem;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: right;
    -webkit-mask-position: right;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    background-color: var(--mc2);
}

.blogDetail__TopicsBox_hide {
    display: none !important;
}

/* table style in detail */
.article_table_container {
    margin: 1rem auto;
    overflow-x: auto;
    border-color: var(--mc1);
}

.article_table {
    border-collapse: collapse;
    width: 100%;
}

.article_table td,
th {
    padding: 5px;
    text-align: center;
}

.article_table tr:nth-child(odd) {
    background-color: #c5aa7536;
}



/* Latest List*/

.blogLatest {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
    transition: var(--transition);
    position: relative;
}

.blogLatest .fa {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 6px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.blogLatest .fa::before {
    display: none;
}

.blogLatest .fa::after {
    content: "";
    display: block;
    top: 0;
    left: 0;
    background: url(../Images/arrow-left.svg) no-repeat center;
    width: .75rem;
    height: 1rem;
}

.blogLatest:hover .fa {
    opacity: 1;
    visibility: visible;
}

.blogLatest__Img {
    flex: 0 0 40%;
}

.blogLatest__Ttl {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 0 60%;
    background: #F5F5F5;
    padding: .75rem 1rem;
    border-left: 4px solid #183E57;
    transition: var(--transition);
    padding-left: 1.5rem;
}

.blogLatest:hover .blogLatest__Ttl {
    border-width: 1.5rem;
    border-color: var(--mc1);
    padding-left: 0.25rem;
}

.blogLatest__Ttl .ttl a {
    height: calc(2 * 1.5rem);
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.blogLatest__Ttl .ttl {
    width: fit-content;
    position: relative;
    margin-bottom: 10px !important;
}

.blogLatest__Ttl .ttl::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translateY(3px);
    width: 1rem;
    height: 2px;
    background: var(--mc1);
}

.blogLatest:not(:last-child) {
    margin-bottom: 1.25rem;
}

.blogLatest .imgBox img {
    width: 100%;
    height: 100%;
}

.serviceSidebar {
    position: relative;
    margin: 0 .5rem;
}

.serviceSidebar__Ttl .ttl a {
    color: #fff !important;
    white-space: nowrap;
}

.serviceSidebar__Ttl {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.serviceSidebar__Img {
    position: relative;
}

.serviceSidebar__Img img {
    width: 100%;
}

.serviceSidebar__Img::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 165px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    z-index: 1;
    pointer-events: none;
}

/* TOC */
.blogDetail__TopicsBox .About-Article {
    display: block;
    background: var(--mc1);
    padding: 12px 10px;
    color: #fff;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    font-size: 16px;
}

.blogDetail__TopicsBox {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 60px;
}

ul#blogDetail__TopicsBox__List {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--mc1);
    border-top: 0;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    list-style-type: none;
    margin: 0;
    height: 100%;
    align-items: flex-start;
}

#blogDetail__TopicsBox__List li {
    cursor: pointer;
    transition: 0.5s;
    width: 50%;
    position: relative;
    padding-left: 8px;
    padding-right: 24px;
    margin: 8px 0;
}

#blogDetail__TopicsBox__List li:hover {
    color: var(--mc1);
}

#blogDetail__TopicsBox__List li::before {
    content: '';
    display: block;
    background: var(--mc1);
    position: absolute;
    right: 8px;
    top: 7px;
    border-radius: 50%;
    width: 8px;
    height: 8px;

}

/* CALL US CARD */
.callUs__Card {
    position: relative;
}

.callUs__Card__Content {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    z-index: 3;
}

.callUs__Card__Img {
    position: relative;
}

.callUs__Card__Img img {
    width: 100%;
}

.callUs__Card__Img::before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(289.74deg, #00E078 13.56%, rgba(0, 224, 120, 0) 71.16%);
    mix-blend-mode: darken;
    z-index: 1;
}

.callUs__Card__Content h3 {
    color: var(--mc2);
}

.callUs__Card__Content p {
    font-weight: 100;
    color: #fff;
    position: relative;
}

.callUs__Card__Content p::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    /* transform: translateY(3px); */
    width: 2rem;
    height: 2px;
    background: #fff;
}


/* CALL TO ACION */

.CTAblog_wrapper {
    background: url(Portals/0/Images/cta-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 30px;
    text-decoration: none !important;
}

.CTAblog_wrapper p {
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    text-align: justify;
}


@media all and (max-width: 767px) {
    .articleList__Card {
        margin-bottom: 16rem;
    }

    .articleList__Card__Content {
        width: 320px;
        transform: translate(0, 70%);
        top: auto;
        bottom: 0;
    }

    .articleList__Card__ImgBox {
        width: 315px;
    }

    .appendBlogRelatedMobile {
        margin-bottom: 90px;
    }

    .callUs__Card__Img img {
        width: 100%;
    }

    .CTAblog_wrapper p {
        font-size: 17px;
        margin-top: 1rem;
    }

    .CTAblog_wrapper {
        justify-content: center;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .servicesList .mainArticleWrapper {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 2rem;
        column-gap: .5rem;
    }

    .articleList__Card__Content {
        top: 6rem;
    }

    .blogLastest__Wrap .mainArticleWrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .blogLatest {
        flex: 0 0 46%;
        max-width: 46%;
        margin: 0 .5rem;
        max-height: 110px;
    }

}

@media (max-width:768px) {
    .servicesList .mainArticleWrapper {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 2rem;
        column-gap: 0;
    }

}