.stacked-cards {
    position: relative;
}
.stacked-cards ul.slider {
    position: relative;
    max-width: 60%;
    margin: 0 auto;
    padding-left: 0;
}

.stacked-cards ul.slider li {
    margin-top: 5px;
    cursor: pointer;
    border-radius: 8px;
    list-style: none;
    width: 65%;
    position: absolute;
    left: 50%;
    border: solid 3px #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.2);
    transition: 0.5s ease transform;
}

.stacked-cards ul.slider li:after {
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.stacked-cards ul.slider li img {
    position: relative;
    display: block;
    max-width: 100%;
    height: auto;
    z-index: 4;
}
.stacked-cards ul.slider li.active {
    cursor: default;
    box-shadow: none;
    transition: 0.5s ease transform;
}

.stacked-cards ul.buttons{
    padding: 0;
    text-align: center;
}

.stacked-cards ul.buttons li{
    display: inline-block;
    font-size: 24px;
    margin-right: 10px;
    color: #ECECEC;
    cursor: pointer;
}

.stacked-cards ul.buttons li.selected{
    color: #2A2A2A;
}

.stacked-cards ul.buttons li:last-child{
    margin-right: 0;
}

.sentPostcardCarousel li h3{
    display: none;
}

.sentPostcardCarousel li.active h3{
    display: block;
}

.sentPostcardCarousel.stacked-cards ul.slider li{
    border: none;
    max-width: 270px;
    height: auto;
}

.sentPostcardCarousel ul.slider li img{
    width: 270px;
    height: 198.5px;
}

.sentPostcardCarousel.stacked-cards ul.slider li .button{
    z-index: 1000;
    font-size: 6.8px;
    width: 87.8px;
    padding: 3px 0 8px;
}

.sentPostcardCarousel.stacked-cards ul.slider li .flipcard{
    width: 75.9px;
}

.sentPostcardCarousel ul.slider{
    height: 300px !important;
    margin-left: -35px;
}
.sentPostcardCarousel ul.buttons{
    display: none;
}

@media only screen and (max-width: 600px) {
    .stacked-cards ul.slider{
        margin-top: 50px;
        margin-bottom: -20px;
        max-width: 100%;
    }
    .stacked-cards ul.slider li{
        max-width: 320px;
        width: 100%;
    }
}