﻿.ShopDS-banner-medium-3 a.link,
.clickable {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
}

@media (min-width:1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1670px
    }
}

.NewsPost img,
.ads-img img,
.ads-img-2 img,
.carousel-inner,
.image-1 img,
.image-2 img,
.loopCenter {
    border-radius: 10px;
}

.clickable {
    left: 0;
    width: 100%;
    height: 100%;
    display: block
}

.ShopDS-banner-medium-3,
.ads-sec,
.brand-sec,
.categories-sec {
    position: relative;
}

.ads-sec {
    background-image: url('/FileManager/Icons/Background/homepage-new-slide-bg.jpg');
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
    padding: 45px 15px;
    width: 100%
}

.ShopDS-banner-medium-3 .banner-featured-image {
    background-color: #fac250;
    background-image: url('/FileManager/Icons/Background/homepage-new-banner-1.png');
    background-position: left bottom;
    background-repeat: no-repeat;
    border-radius: 10px;
    background-size: 60%;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute
}

.ShopDS-banner-medium-3 .banner-content {
    max-width: 81%;
    display: flex;
    margin: auto;
    height: 460px;
    border-radius: 10px;
    align-items: center;
    position: relative;
    z-index: 1
}

.ShopDS-banner-medium-3 .banner-title {
    margin: 0 0 33px;
    color: #000;
    font-size: 40px;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: -1.5px
}

.ShopDS-banner-medium-3 .banner-desc {
    color: #000;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -1px
}

.ShopDS-banner-medium-3 .btn-button {
    align-items: center;
    display: inline-flex;
    padding: 11px 33px;
    color: var(--fm-background-text-color-secondary);
    border-radius: 3px;
    background-color: var(--fm-background-color-secondary);
    font-size: 13px;
    font-weight: 700;
    margin-top: 120px;
    color: #000;
    background-color: #fff
}

.carousel-indicators {
    margin: 25px 0
}

.carousel-indicators li {
    border: 0;
    width: 10px !important;
    height: 10px !important;
    background-color: #fff;
    opacity: .8;
    -webkit-box-shadow: 0 1px 1px 0 rgb(0 0 0 / 30%);
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 30%);
    margin: 0 6px !important;
    position: relative;
    transition: .3s;
    border-radius: 50%
}

.carousel-indicators li:hover {
    transform: scale(1.1)
}

.carousel-control-next-icon:hover {
    transform: translateX(3px)
}

.carousel-control-prev-icon:hover {
    transform: translateX(-3px)
}

.carousel-control-next,
.carousel-control-prev {
    width: 7%
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 61px;
    height: 44px;
    background-repeat: no-repeat !important;
    background-size: 50% !important;
    background-position: 50% 50% !important;
    transition: .3s;
    filter: invert(1)
}

.bg-flower,
.fancy-short-banner-fourteen {
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s
}

.carousel-control-next-icon {
    background: url('/FileManager/slider/blk-chevron-left.svg')
}

.carousel-control-prev-icon {
    background: url('/FileManager/slider/blck-chevron-right.svg')
}

.carousel-indicators .active {
    background: #ee0480 !important;
}

.categories-sec {
    padding: 77px 5px 75px
}

.brand-sec .brand-header .header-link span,
.categories-sec .cat-header .header-link span {
    color: #666;
    transition: .3s
}

.brand-sec .farmart-svg-icon,
.categories-sec .farmart-svg-icon {
    font-size: 14px;
    padding-right: 10px;
    color: #666;
    display: inline-flex
}

.brand-sec .farmart-svg-icon svg,
.categories-sec .farmart-svg-icon svg {
    width: 14px;
    height: 14px;
    transform: rotate(180deg)
}

.brand-sec .brand-header .header-link,
.categories-sec .cat-header .header-link {
    color: #888;
    transition: .3s;
    display: flex;
    align-items: center;
    margin: 0 35px 0 0
}

.brand-sec .brand-header h3,
.categories-sec .cat-header h3 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
}

.brand-sec .brand-header,
.categories-sec .cat-header {
    display: flex;
    align-items: center;
    padding: 0 0 40px;
    justify-content: flex-start
}

.brand-sec .brand-header .header-link:hover .farmart-svg-icon svg,
.brand-sec .brand-header .header-link:hover .link-text,
.categories-sec .cat-header .header-link:hover .farmart-svg-icon svg,
.categories-sec .cat-header .header-link:hover .link-text {
    color: #ecd812;
    fill: #ecd812;
}

.cat-box {
    background-color: #f7f7f6;
    border-radius: 10px;
    margin: calc(30px/2);
    padding: 46px 27px 38px;
    list-style: none;
    display: block;
    height: 100%;
    position: relative
}

.cat-box .cat-info .cat-title h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #222;
    transition: .4s;
    text-align: center;
    min-height: 38px
}

.brand-box .brand-info .brand-image,
.cat-box .cat-info .cat-image {
    margin-bottom: 20px;
    display: block
}

.brand-box .brand-info .brand-image img,
.cat-box .cat-info .cat-image img {
    margin: auto;
    border: 2px solid transparent;
    transition: .3s;
    max-width: 100%;
    border: none;
    border-radius: 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    display: block;
    width: 100px;
    height: 86px
}

.brand-box .brand-info .brand-title h3 {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #000;
    transition: .3s
}

.brand-box .brand-info .brand-title h4 {
    display: block;
    color: #999;
    text-transform: uppercase;
    line-height: 1;
    font-weight: 700;
    margin: 25px 0 0;
    font-size: 14px
}

.brand-box:hover .brand-info .brand-title h3 {
    color: #ee0481;
}

.brand-box .brand-info .brand-image img {
    width: 390px;
    height: 250px
}

.ads-img {
    padding: 77px 0 75px
}

.bg-flower {
    background-color: #f3f3f3;
    background-image: url('/FileManager/Icons/Background/homepage-new-content-bg-scaled.jpg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 90px 5px 100px;
    position: relative;
    width: 100%
}

.card-block,
.optional_box {
    position: relative;
    border-width: 1px 1px 1px 0;
    border-color: #c9c9c9;
    height: 100%;
    padding: 20px 20px 30px;
    border-style: solid;
    width: 100%;
    background: #fff;
    border-radius: 0 !important;
    margin-bottom: 15px
}

.card-block:before,
.optional_box:before {
    background-color: #c9c9c9;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px
}

.card-block .edit.tran3s,
.optional_box .caption {
    font-size: 16px;
    color: #000;
    line-height: 1.4;
    font-weight: 700;
    display: block;
    text-align: right;
    position: relative;
    width: 100%;
    min-height: 44px;
    /* margin: 0 0 30px; */
}

.card-block img,
.optional_box .img_wrapper img {
    margin: 0 0 15px
}

.card-block .view.tran3s {
    color: #666d7a;
    font-size: 13px;
    display: none;
}

.selected-product {
    padding: 77px 5px 75px;
    position: relative
}
.card-block img, .optional_box img{
    margin: auto;
    width: 215px !important;
    height: 215px;
    margin-bottom: 10px;
}
.fancy-short-banner-fourteen {
    position: relative;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    background-image: url('/FileManager/Icons/Background/homepage-new-contact-form-bg.png');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: flex-start;
    align-items: flex-start;
    margin: 0;
    --e-column-margin-right: 0px;
    --e-column-margin-right: 20px;
    padding: 65px 25px 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center
}

.title-style-thirteen h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ee0481;
    transition: .3s;
    text-align: center;
    margin: 0 0 15px
}

.title-style-thirteen p {
    text-align: center;
    margin: 0 0 15px;
    font-size: 15px
}

.NewsPost {
    margin: 0;
    padding: 28px 23px;
    border-right: 1px solid #eee
}

.loopCenter .item:nth-child(2n) .NewsPost {
    border: none
}

.loopCenter {
    padding: 25px 0 38px;
    background: #fff;
    border: 1px solid #eee
}

.NewsPost .post_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 0
}

.NewsPost .post_content .post-header h5 a {
    font-size: 20px;
    line-height: 23px;
    color: #222;
    font-weight: 600;
}

.NewsPost .post_content .cmt-btn {
    padding: 0;
    background: #f3f3f3
}

.NewsPost .post_content .cmt-btn svg {
    transform: rotate(180deg)
}

.optional_box .img_wrapper a {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center
}

.optional_box .img_wrapper img {
    width: 100% !important;
    height: 215px;
    max-width: 100%
}

.optional_box .caption {
    margin-bottom: 0 !important
}

.md-mt-70.mt-150.pt-20.brand-sec .row {
    align-items: end
}

@media(max-width:1200px) {
    #Featured {
        display: none
    }
    #BeforeMain {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%
    }
}

@media(max-width:991px) {
    .ads-left {
        display: flex;
        margin: 30px 0;
        flex-wrap: wrap;
        max-width: 100%;
        width: 100%
    }
    .ads-left .image-1,
    .ads-left .image-2 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        margin: 0;
        padding: 3px
    }
    .ads-img {
        padding: 77px 0 0
    }
    .row .col-lg-4:last-child .ads-img {
        padding: 30px 0 75px
    }
    .md-mt-70.mt-150.pt-20.brand-sec .row .col-sm-6,
    .remove .col-lg-4:nth-child(2n) {
        display: none
    }
    #Featured {
        display: block
    }
    #AsideSecond,
    #BeforeMain,
    #Featured {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%
    }
    .container,
    .container-md,
    .container-sm {
        max-width: 900px
    }
}

@media (max-width:768px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 940px
    }
}

@media(max-width:767px) {
    .ads-sec {
        padding: 15px 0
    }
    .container,
    .container-md,
    .container-sm {
        max-width: 900px
    }
    .ads-left {
        margin: 4px 0 0
    }
    .brand-sec .brand-header,
    .categories-sec .cat-header {
        padding: 0 0 10px
    }
    .owl-carousel .owl-nav button.owl-next,
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel button.owl-dot {
        top: -40px !important
    }
}

@media(max-width:575px) {
    .row .col-lg-4: first-child .ads-img {
        padding: 77px 0 0
    }
    .row .col-lg-4:nth-child(2) .ads-img {
        padding: 30px 0 0
    }
    .row .col-lg-4:last-child .ads-img {
        padding: 30px 0 75px
    }
    .brand-sec .brand-header h3,
    .categories-sec .cat-header h3 {
        font-size: 23px
    }
    .brand-sec .brand-header .header-link span,
    .categories-sec .cat-header .header-link span {
        font-size: 13px
    }
    .brand-sec .farmart-svg-icon svg,
    .categories-sec .farmart-svg-icon svg {
        width: 10px;
        height: 10px
    }
    .NewsPost .post_content .post-header h5 a {
        font-size: 18px
    }
    .brand-title {
        text-align: center
    }
    #demo img {
        height: auto !important
    }
}

@media(max-width:400px) {
    .brand-sec .brand-header,
    .categories-sec .cat-header {
        flex-direction: column;
        align-items: baseline
    }
    .brand-sec .brand-header .header-link,
    .categories-sec .cat-header .header-link {
        margin: 15px 0 0
    }
}

.image-1 {
    margin-bottom: 30px
}
.image-1, .image-2{
    position: relative;
    /* background-color: #ffff; */
    padding: 12px 30px 12px 0;
    border-radius: 25px;
    margin-left: 56px;
}
.image-1 .img-fluid,.image-2 .img-fluid{
    width: 412px;
}
#demo .carousel-inner img {
    height: auto !important
}

.d-disable .cat-box {
    filter: grayscale(2)
}

.d-disable .cat-box: after {
    content: 'غیرفعال';
    font-size: 12px;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    right: 0;
    left: 0;
    text-align: center;
    background: #e3e3e3;
    border-radius: 6px;
    padding: 4px 0
}

.d-flx {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center
}

.flx-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%
}

#discount_modal .modal-content {
    background: #3a3940;
    border: none;
    border-radius: 40px
}

#discount_modal .modal-header {
    border: 0;
    background: #3a3940;
    padding: 0;
    border-radius: 0;
    position: relative
}

#discount_modal .modal-header button.close {
    color: #fff;
    opacity: .8;
    padding: 0;
    position: absolute;
    z-index: 1;
    margin: 0;
    width: 50px;
    height: 70px;
    background: #fcb842;
    right: 0;
    font-size: 50px;
    line-height: 1.3;
    text-align: center
}

@media(max-width:1199px) {
    .cat-box {
        padding: 30px 15px 3px
    }
}

@media(max-width:875px) {
    .flx-20 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%
    }
}

@media(max-width:550px) {
    .flx-20 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%
    }
}

@media(max-width:375px) {
    .flx-20 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%
    }
}