.tails-t5 {
    background: linear-gradient(45deg, #ffebd1, #fff);
    border-radius: var(--border-radius);
    border: 1px solid #E5E5E5;
    box-shadow: var(--box-shadow);
    background-position: top 170px left -90px, bottom -270px right -130px;
    background-size: auto, auto 700px;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    /*height: 100%;*/ /*TT29456 */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: white;
    position: relative;

}

.tails-t5__content {
    display: flex;
    flex-direction: column;
    padding: 58px 15px 34px;
    flex-grow: 1;
    background-repeat: no-repeat;
    background-size: 200px;
    min-height: 350px;
    background-position: right 15px bottom 15px;
}

.tails-t5__date-range {
    color: var(--contrast-color);
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 35px;
}

.tails-t5__label {
    position: absolute;
    top: 20px;
    left: 0;
    background: linear-gradient(273.97deg, #FF912B 5.29%, #FF2B2B 123.04%);
    border-radius: 0 5px 5px 0;
    color: white;
    padding: 3px 13px;
}

.tails-t5--purple {
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-purple.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-purple.svg);
}

.tails-t5--pink {
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-pink.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-pink.svg);
}

.tails-t5--blue {
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-blue.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-blue.svg);
}

.tails-t5--yellow {
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-yellow.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-yellow.svg);
}

.tails-t5--peach {
    position: relative;
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-peach.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-peach.svg);
}

.tails-t5--green {
    position: relative;
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-green-shadow.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-green.svg);
}
.tails-t5--lightblue {
    position: relative;
    background-image:
            url(/local/templates/tpl_2021/assets/images/star-blue-shadow.svg),
            url(/local/templates/tpl_2021/assets/images/ellipse-light-blue.svg);
}



@media (hover) {
    .tails-t5--purple:hover {
        background-color: rgba(255,167,199,0.2);
        box-shadow: 0 8px 20px 0 rgba(182,110,232,0.3)
    }

    .tails-t5--blue:hover {
        background-color: rgba(10,155,235,0.1);
        box-shadow: 0 8px 20px 0 rgba(10,155,235,0.3);
    }

    .tails-t5--pink:hover {
        background-color: rgba(255,167,199,0.2);
        box-shadow: 0 8px 20px 0 rgba(255,167,199,0.4);
    }

    .tails-t5--yellow:hover {
        background-color: rgba(255,233,115,0.2);
        box-shadow: 0 8px 20px 0 rgba(255,233,115,0.3);
    }

    .tails-t5--green:hover {
        background-color: rgba(196,251,201,0.2);
        box-shadow: 0 8px 20px 0 rgba(196,251,201,0.3);
    }
    .tails-t5--lightblue:hover {
        background-color: rgba(212,240,251,0.2);
        box-shadow: 0 8px 20px 0 rgba(212,240,251,0.3);
    }
}

.tails-t5__title {
    padding-bottom: 15px;
}
.tails-t5__title .like-h4 {
	padding-bottom: 20px;
    font-weight: 500;
}

.tails-t5__text {
    padding-bottom: 25px;
    flex-grow: 1;
	font-size: 15px;
}

.tails-t5__button {
    margin-bottom: 30px;
}

@media( min-width: 500px ) {
    .tails-t5__content {
        padding-top: 50px;
        padding-bottom: 50px;
		background-size: 120px;
    }
    .tails-t5__title {
        font-size: 30px;
    }
    .tails-t5__text {
        font-size: 15px;
    }
}

@media( min-width: 1150px ) {
    .tails-t5__content {
        display: flex;
        flex-direction: column;
        padding: 58px 60px 34px;
        flex-grow: 1;
        background-repeat: no-repeat;
        background-size: 200px;
        min-height: 350px;
        background-position: right 15px bottom 15px;
    }

    .tails-t5__content {
    }
}

@media( min-width: 1500px ) {
    .tails-t5__text{
        padding-right: 150px;
		font-size: 15px;
    }
}