body.adslider-body{
    margin: 0;
    padding: 0
}

.ad-slider-wrapper::before{
    content: 'AUGLÝSING';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 0.8em;
    color: #939393;
}
.ad-slider-wrapper{
    background: #eceff3;
    max-height: 376px;
    position: relative;
}
.ad-slider .slider-title{
    padding-left: 20px;
    background: #eceff3;
}
.ad-slider .slider-title img{
    height: 50px;
    width: auto;
}
.ad-slider .slider-title span{
    vertical-align: bottom;
    margin-left: 15px;
    font-size: 1.2em;
    font-weight: bold;
}
.ad-slider .slider-wrapper{
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    background: #eceff3;
    padding: 20px 0;
    margin-left: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ad-slider .slider-wrapper::-webkit-scrollbar {
    width: 0 !important;
}

.ad-slider .slider-wrapper:before{
    content: '';
    width: 40px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: rgb(236,239,243);
    background: linear-gradient(270deg, rgb(236, 239, 243) 0%, rgb(236, 239, 243) 60%, rgba(236,239,243,0) 100%);
}
.ad-slider .slider-item{
    margin-right: 15px;
    scroll-snap-align: start;
    max-width: 120px;
    width: 120px;
}
.ad-slider .slider-item.wide{
    margin-right: 15px;
    scroll-snap-align: start;
    max-width: 255px;
    width: 255px;
}
.ad-slider .slider-item img{
    width: 120px;
    height: 186px;
    object-fit: cover;
}
.ad-slider .slider-item.wide img{
    width: 255px;
    height: 166px;
    object-fit: cover;
}
.ad-slider .slider-item .title{
    font-weight: bold;
    color: black;
    margin-top: 8px;
}
.ad-slider .slider-item .subtitle{
    color: #939393;
    font-weight: bold;
    font-size: 0.8em;
}
.ad-slider .slider-button{
    width: 40px;
    height: 40px;
    background-color: #a00101;
    opacity: .8;
    border-radius: 20px;
    position: absolute;
    top: 35%;
    cursor: pointer;
}
.ad-slider .slider-button.fwd{
    right: 50px;
}
.ad-slider .slider-button.back{
    left: 50px;
    transform: rotate(180deg);
}