﻿.list-loading-wrapper {
    background: rgba(230, 230, 230, 0.37);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.list-loading-wrapper .list-loading {
    background: url(../_images/list-loading.gif) no-repeat center center #fff;
    border-radius: 12px;
    box-shadow: 0 0 35px 1px #ddd;
    position: absolute;
    left: calc(50% - 110px);
    top: 75px;
    text-align: center;
    width: 220px;
    height: 128px;
    opacity: 0.8;
    padding-top: 100px;
}

.mbd-list-default {
    display: block;
    position: relative;
    padding: 5px;
    margin: 0;
}

.mbd-list-default .ld-item {
    background-color: #f2f2f2;
    border: solid 1px #ddd;
    margin-bottom: 25px;
    padding: 0;
    height: 300px;
}

.mbd-list-default .ld-image-weapper {
    width: 100%;
    height: 170px;
    overflow: hidden;
    position: relative;
}

.mbd-list-default .ld-image-weapper img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    max-height: 150px;
}

.mbd-list-default .ld-title {
    margin: 12px 12px 5px;
    font-size: 20px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}

.mbd-list-default .ld-title>a {
    color: #333;
    text-decoration: none;
}

.mbd-list-default .ld-categories {
    padding: 10px;
    font-size: 14px;
}

.mbd-list-default .ld-rate {
    margin: 0 10px;
}


.SpecialAds {
    .swiper-slide{
        height:auto !important;
    }
    .SpecialAdsBox {
        border: 1px solid var(--text-light-2);
        padding: 0.857em;

        .SpecialTop {
            &:before {
                content: "";
                position: absolute;
                width: 100%;
                height: 50%;
                bottom: 0;
                border-bottom-left-radius: var(--radius-8);
                border-bottom-right-radius: var(--radius-8);
                background: var(--Gradient-Gradient-Gray, linear-gradient(0deg, #313131 0%, rgba(255, 255, 255, 0.00) 100%));
                mix-blend-mode: multiply;
                pointer-events: none;
            }

            &>img {
                border-radius: var(--radius-8);
                -webkit-border-radius: var(--radius-8);
                -moz-border-radius: var(--radius-8);
                -ms-border-radius: var(--radius-8);
                -o-border-radius: var(--radius-8);
                object-fit: cover;
            }

            .Location {
                top: 0.571em;
                right: 0.571em;
                padding: 0.285em;

                svg {
                    max-width: 1.142rem;
                    max-height: 1.142rem;
                }
            }

            .Favorite {
                top: 0.571em;
                left: 0.571em;
                padding: 0.571em;
                line-height: 0;

                svg {
                    max-width: 1.428rem;
                    max-height: 1.428rem;
                    stroke:var(--system-red-0);
                    fill:transparent;
                }
                &.favorited{
                    svg{
                        fill:var(--system-red-0);
                    }
                }
            }

            .AdUserLogo {
                bottom: 0.571em;
                right: 0.571em;
                border: 0.1em solid var(--text-light-4);
                background: rgba(194, 194, 194, 0.25);
            }

            .PhotoLength {
                bottom: 0.571em;
                left: 0.571em;
                background: var(--text-dark-5);
                padding: 0.285em 0.571em;

                svg {
                    max-width: 1.285rem;
                    max-height: 1.285rem;
                }
            }
        }

        .DescriptionBox {
            padding-top: 0.571em;
            row-gap: 0.571em;
            .title{
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                display: -webkit-box;
                overflow:hidden;
                height: 4rem;
            }
            .AdProperty {
                column-gap: 0.714em;

                svg {
                    max-width: 1.285rem;
                    max-height: 1.285rem;
                }

                .Urgent,
                .BarterActive {
                    padding: 0.285em;
                    column-gap: 0.285em;
                }

                .Urgent {
                    background: var(--system-orange-3);
                }
            }
        }
    }
}

.SpecialAdsPrev {
    top: -2rem;
    right: unset;
    left: 2rem;
}

.SpecialAdsNext {
    top: -2rem;
    left: 0;
    right: unset;
}