@charset "utf-8";

.bg-img {
	position: absolute;
	top: auto;
	bottom: 10px;
	left: 0;
	right: 0;
	width: calc(100% - 20px);
	height: calc(100% - 70px);
	margin: auto;
	overflow: hidden;
	z-index: 1;
}

.carousel {
	
}

.carousel-images {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0);
}

.carousel-cell {
	width: 100%;
	height: 100%;
}

.carousel-cell img {
	position: relative;
	display: block;
	width: 100%;
}

.object-fit .carousel-cell img {
	object-fit: cover;
	width: 100%;
	height: 100%;
	/*image-rendering: -moz-crisp-edges;
	image-rendering: pixelated;*/
}

.show .carousel-cell,
.next .carousel-cell,
.prev .carousel-cell {
	display: block;
}

.flickity-prev-next-button {
	top: 0;
	bottom: 0;
	width: 30px;
	height: 30px;
	padding: 10px;
	background: transparent;
	border: none;
	box-shadow: none;
	z-index: 31;
	opacity: 0;
	margin: auto;
	transition: 0.5s cubic-bezier(.17,.84,.44,1);
	transition-property: transform, opacity;
}

.flickity-prev-next-button.previous {
	left: 10px;
	transform: translateX(-30px);
}

.flickity-prev-next-button.next {
	right: 10px;
	transform: translateX(30px);
}

.flickity-prev-next-button svg {
	left: 20%;
	top: 20%;
	width: 60%;
	height: 60%;
}

.flickity-prev-next-button .arrow {
	fill: #fff;
}

.flickity-prev-next-button:hover {
	background: transparent;
	border: none;
}

.flickity-page-dots {
	position: absolute;
	width: 100%;
	bottom: 40px;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	line-height: 1;
	z-index: 30;
}

.flickity-page-dots .dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	margin: 0 5px;
	padding: 0;
	opacity: 0.25;
	box-sizing: border-box;
	cursor: pointer;
	transition: opacity 0.3s ease;
	border-radius: 50%;
	background: transparent;
	opacity: 0;
	transform: translateY(30px);
	transition: 0.5s cubic-bezier(.17,.84,.44,1);
	transition-property: transform, opacity;
}

.flickity-page-dots .dot:before {
	position: absolute;
	top: auto;
	bottom: auto;
	margin: auto 0;
	display: block;
	width: 8px;
	height: 8px;
	background: rgba(255,255,255,0.2);
	transition: all 0.5s ease;
	border-radius: 50%;
	content: "";
}

.flickity-page-dots .dot:hover:before {
	background: rgba(255,255,255,0.7);
}

.js-transitionEnd .show.hide-info .flickity-page-dots .dot,
.js-transitionEnd .show.hide-info .flickity-prev-next-button {
	opacity: 1;
	transform: translateY(0);
}

.flickity-page-dots .dot.is-selected {
	background: transparent;
}

.flickity-page-dots .dot.is-selected:before {
	background: rgba(255,255,255,1);
}

.flickity-page-dots .dot:hover {
	transition: none;
}



@media screen and (min-width: 1280px) {
	
	.bg-img {
		bottom: 20px;
		width: calc(100% - 40px);
		height: calc(100% - 120px);
	}
	.show-info .carousel-images:before {
		background-color: rgba(0,0,0,0.25);
	}
	
	.flickity-prev-next-button {
		top: 50%;
		bottom: auto;
	}
	
	.flickity-prev-next-button.previous {
		right: auto;
		left: 30px;
		bottom: 0;
		top: 0;
	}
	
	.flickity-prev-next-button.next {
		right: 30px;
		left: auto;
		bottom: 0;
		top: 0;
	}
	
	.flickity-page-dots {
		bottom: 30px;
		right: 20px;
		width: 50%;
		text-align: right;
	}
	
}