.slider40 {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 900px;
    margin: auto;
    overflow: hidden;
    font-family: 'Heebo', sans-serif;
}

/* Individual slides */
.slide40 {
    position: absolute;
    width: 100%;
    height: 70vh;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

/* Make the first slide visible initially */
.slide40.active {
    opacity: 1;
    z-index: 1;
}

/* Image styling */
.slide40 img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

a.slide40content {
    position: relative;
    height: 100%;
    width: 100%;
    display: block;
}

.slide40content .sale-mark {
    width: 212px;
    height: 206px;
    position: absolute;
    left: 66px;
    background-repeat: no-repeat;
    z-index: 15;
    top: 160px;
}

.slide40content .saledata {
    width: 100%;
    transform: rotate(-15deg);
    height: 100%;
    display: block;
    align-items: center;
    vertical-align: middle;
    padding: 80px 0 0 0;
    color: rgba(47, 47, 54, 1);
}

.slide40content .saledata .sale1 {
    font-weight: bold;
    font-size: 18px;
    line-height: 7px;
}

.slide40content .saledata .sale2 {
    font-weight: bold;
    font-size: 15px;
}

.slide40content .slideimage-big {
    right: 0;
    width: 360px;
    height: auto;
    z-index: 13;
}

.slide40content .slideimage-small {
    position: absolute;
    left: 0;
    width: 220px;
    height: auto;
    z-index: 14;
}

.slide40content .caption {
    z-index: 16;
    position: absolute;
    right: 0;
    top: 728px;
    width: 100%;
    height: 50px;
    color: white;
    text-align: right;
    font-size: 30px;
    font-weight: 900;
}

.slide40content:hover .caption {
    color: #F2FF61
}

.slide40content:hover .caption i {
    background-color: #F2FF61;
}

.slide40content .frame_img_1 img.slideimage-big {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


.slide40content .frame_img_1 {
    max-width: 410px;
    height: 640px;
    border-radius: 500px;
    border: 20px solid rgba(55, 211, 146, 1);
    overflow: hidden;
    position: absolute;
    top: 50px;
    left: 175px;
}

.slide40content .frame_img_2 img.slideimage-small {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
}

.slide40content .frame_img_2 {
    max-width: 253px;
    height: 411px;
    border-radius: 500px;
    border: 20px solid rgba(55, 211, 146, 1);
    overflow: hidden;
    position: absolute;
    top: 460px;
    left: 0;
}

.slide40content .caption i {
    cursor: pointer;
    border-radius: 50px;
    width: 55px;
    height: 55px;
    background: #fff;
    text-align: center;
    color: rgba(31, 188, 122, 1);
    line-height: 54px;
    margin-left: 10px;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .slide40content .frame_img_1 {
        max-width: 280px;
        height: 460px;
        border: 12px solid rgba(55, 211, 146, 1);
        position: unset;
    }
	
	.slide40 {
    position: absolute;
    width: 100%;
    height: 585px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
	}

    .slide40content .frame_img_2 {
        max-width: 190px;
        height: 260px;
        border: 12px solid rgba(55, 211, 146, 1);
        left: 0;
        top: 240px;
    }

    .slide40content .sale-mark {
        width: 182px;
        height: 176px;
        position: absolute;
        left: 26px;
        background-repeat: no-repeat;
        z-index: 15;
        top: 50px;
        background-size: 180px;
    }

    .slide40content .saledata {
        padding: 68px 0 0 0;

    }

    .slider40 {
        height: 550px;
        max-width: 400px;
    }

    .slide40content .caption {
        z-index: 16;
        position: absolute;
        right: 0;
        bottom: 40px;
        width: 100%;
        height: 50px;
        color: white;
        text-align: right;
        font-size: 18px;
        font-weight: bold;
        top: auto;
    }

    .slide40content .caption i {
        cursor: pointer;
        border-radius: 50px;
        width: 40px;
        height: 40px;
        background: #fff;
        text-align: center;
        color: rgba(31, 188, 122, 1);
        line-height: 40px;
        margin-left: 10px;
    }

}

@media (min-width: 376px) and (max-width: 400px) {
    .slide40content .caption {
        /*bottom: 35px;*/
    }

    .slide40content .sale-mark {
        left: 0;
    }
}

@media (max-width: 375px) {
    .slide40content .caption {
        /*bottom: -40px;*/
    }

    .slide40content .sale-mark {
        left: 0;
    }
}
