/**
 * Base styles
 **/

/* Background color */
.clix-holidays-slider {
	background-color: #98009b;
	background-image: radial-gradient(ellipse at center, #98009b 0%,#600065 100%);
}

/* Button colors */
.clix-holidays-slider .cta-button-container a {
	color: #404040;
	background-color: #ecd400;
}
.clix-holidays-slider .cta-button-container a:hover {
	color: #fff;
	background-color: #3b3a38;
}

/** Teaser **/
.clix-holidays-slider .clix-teaser {
	position: absolute;
	margin: 0 auto;
	width: 276px;
	height: 284px;
	left: 0; top: 10%; right: 0; bottom: 0;
}

/* Change of CSS / Denis / Für animierten Teaser Holidays z-index: -20; */
.clix-holidays-slider .clix-teaser .image-back {
	position: absolute;
	margin: auto;
	width: 120%;
	height: 120%;
	left: -30px; top: 6px; right: 0; bottom: 0;
	z-index: -20;
}

/* Change of CSS / Denis / Für animierten Teaser Holidays display: none; */
.clix-holidays-slider .clix-teaser .image-front {
	position: absolute;
	margin: auto;
	width: 396px;
	height: 380px;
	left: -59px; top: -5px; right: 0; bottom: 0;
	display: none;
}




.clix-holidays-slider .clix-teaser .image-headline {
	position: absolute;
	margin: auto;
	width: 71px;
	height: 71px;
	right: -15px;
	top: -15px;
}

/* Dices */
.clix-holidays-slider .dices {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	transform: scale(0);
}
.clix-holidays-slider .dice-small,
.clix-holidays-slider .dice-medium,
.clix-holidays-slider .dice-big {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
}
.clix-holidays-slider .dice-small img {
	position: relative;
	left: -30%;
	top: -55%;
	width: 144px;
	height: 145px;
}
.clix-holidays-slider .dice-medium img {
	position: relative;
	left: 30%;
	top: -30%;
	width: 148px;
	height: 146px;
}
.clix-holidays-slider .dice-big img {
	position: relative;
	left: -50%;
	top: -35%;
	width: 252px;
	height: 250px;
}


#circle-holidays{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    height: 115%;
    aspect-ratio: 1;
    
    background-image: url(/media/swisslos/buehnenteaser/clix_holidays_slider/images/de/image_back.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* zeigt das Bild in voller Grösse */
    
    clip-path: circle(50% at 50% 50%);
	background-size: 120% 120%;
    background-position-y: 100%;
    overflow: visible;
}



.suitcase0, .suitcase1, .suitcase2{
	width: 45%;
	top: -1111px;
	position: absolute;
	animation: sc-animation linear infinite 6s;
	overflow: hidden;
}

.suitcase0 > img{
	width: 100%;
}

.suitcase1 > img{
	width: 100%;
}

.suitcase2 > img{
	width: 100%;
}

.suitcase1{
	animation-delay: 2s;
}

.suitcase2{
	animation-delay: 4s;
}

@keyframes sc-animation{
  0% {
	top: 70%;
	left: -40%;
  }
  100% {
	top: 55%;
	left: 100%;
  }	
}

.logo-holidays{
	position: absolute;
	animation: logo-animation ease 3s 1;
	left: 50%;
	transform: translate(-50%, 0%);
	top: -5%;
	width: 83%;
}

.logo-holidays > img{
	width: 100%;
}

@keyframes logo-animation{
	0%{
		top: -40%;
	}
	100%{
		top: -5%;
	}
	
}


/**
 * Desktop styles
 **/
@media screen and (min-width: 1021px) {
	/* Button position and size */
	.clix-holidays-slider .cta-button-container {
		bottom: 60px;
	}
	.clix-holidays-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-holidays-slider .clix-logo {
		position: absolute;
		bottom: 40px;
		right: 0;
		width: 276px;
	}
}

/**
 * Tablet styles
 **/
@media screen and (min-width: 768px) and (max-width: 1020.9px) {
	/* Button position and size */
	.clix-holidays-slider .cta-button-container {
		bottom: 70px;
	}
	.clix-holidays-slider .cta-button-container a {
		padding: 20px 60px;
	}

	.clix-holidays-slider .clix-logo {
		position: absolute;
		bottom: 40px;
		right: 0;
		width: 200px;
	}
	
}

/**
 * Mobile styles
 **/
@media screen and (max-width: 767.9px) {
	/* Button position and size */
	.clix-holidays-slider .cta-button-container {
		bottom: 15%;
	}
	.clix-holidays-slider .cta-button-container a {
		padding: 12px 25px;
	}

	.clix-holidays-slider .clix-logo {
		position: absolute;
		bottom: 70px;
		right: 10px;
		width: 85px;
	}


	#circle-holidays {
		height: 85%;
		top: 20%;
	}
	
	.clix-holidays-slider {
		margin: auto;
		width: 193px;
		height: 199px;
		top: -30%
	}

	.clix-holidays-slider .dice-small img {
		top: -50%;
		width: 58px;
		height: 58px;
	}
	.clix-holidays-slider .dice-medium img {
		top: 0;
		width: 59px;
		height: 58px;
	}
	.clix-holidays-slider .dice-big img {
		width: 101px;
		height: 100px;
	}
	
	/* Change of CSS / Denis */
	
	.clix-holidays-slider .image-front {
	width: 242px;
	height: 242px;
	top: 30px;
	left: -28px;
	}
	
	
	/* Change of CSS / Denis */
	
.clix-holidays-slider .image-back {
    position: absolute;
    margin: auto;
    width: 112%;
    height: 112%;
    left: -10px;
    top: 40px;
    right: 0;
    bottom: 0;
}
	
	
.clix-holidays-slider .dices {
	display: none;
}

}

/**
 * Animation
 **/
.clix-holidays-slider.slick-active .image-front {
	animation: teaser-pulse 1s ease-in-out 1.5s 1 forwards;
}

.clix-holidays-slider.slick-active .image-back {
	animation: teaser-pulse 1s ease-in-out 1s 1 forwards;
}

.clix-holidays-slider.slick-active .dices {
	animation: show-dices 1s ease-in-out 1.2s 1 forwards;
}

.clix-holidays-slider.slick-active .dice-small img {
	animation: float-small-dice 1s ease-in-out 1.5s infinite forwards;
	animation-direction: alternate;
}

.clix-holidays-slider.slick-active .dice-medium img {
	animation: float-small-dice 1s ease-in-out 1.9s infinite forwards;
	animation-direction: alternate;
}

.clix-holidays-slider.slick-active .dice-big img {
	animation: float-small-dice 1s ease-in-out 2.2s infinite forwards;
	animation-direction: alternate;
}

@keyframes teaser-pulse {
	0% { transform:scale(1); }
	25% { transform:scale(0.9); }
	50% { transform:scale(1.1); }
	100% { transform:scale(1); }
}

@keyframes show-dices {
	0% { transform:scale(0) }
	100% { transform:scale(1) }
}

@keyframes float-small-dice {
	0% { transform:translate3d(0, -3px, 0) }
	100% { transform:translate3d(0, 3px, 0) }
}

@keyframes float-medium-dice {
	0% { transform:translate3d(0, -4px, 0) }
	100% { transform:translate3d(0, 4px, 0) }
}

@keyframes float-big-dice {
	0% { transform:translate3d(0, -8px, 0) }
	100% { transform:translate3d(0, 8px, 0) }
}








/* Change of CSS / Denis / Für animierten Teaser Holidays vorher:


top: 50%; neu 206px;
width: 460px; wurde neu hinzugefügt
left: 50%; neu 598px;


 */






 
 
 
