/******************************************************************************/
/* cweb_carousel **************************************************************/
/******************************************************************************/

div.cweb_carousel {
	width: 100%;
	height: var(--carousel-height);
	position: relative;
}

/******************************************************************************/
/* cweb_carousel - control ****************************************************/
/******************************************************************************/

div.cweb_carousel div.previous {
	width: 5.0em;
	height: var(--carousel-height);
	background: transparent;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent);
	cursor: pointer;
	display: none;
	position: absolute;
	left: 0px;
	z-index: 102;
}

div.cweb_carousel div.previous > div.arrow {
	width: 100%;
	height: 100%;
	background: transparent url('../img/cweb_carousel/arrow_left.png') center center no-repeat;
}

div.cweb_carousel div.next {
	width: 5.0em;
	height: var(--carousel-height);
	background: transparent;
	background-image: linear-gradient(to left, rgba(0, 0, 0, 0.9), transparent);
	cursor: pointer;
	display: none;
	position: absolute;
	right: 0px;
	z-index: 102;
}

div.cweb_carousel div.next > div.arrow {
	width: 100%;
	height: 100%;
	background: transparent url('../img/cweb_carousel/arrow_right.png') center center no-repeat;
}

div.cweb_carousel div.previous:hover,
div.cweb_carousel div.next:hover {
	opacity: 0.6;
}

/******************************************************************************/
/* cweb_carousel - image ******************************************************/
/******************************************************************************/

div.cweb_carousel div.image {
	width: 100%;
	height: var(--carousel-height);
	opacity: 0;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 100;
}

div.cweb_carousel div.image:first-child {
	opacity: 1;
	z-index: 101;
}

div.cweb_carousel div.image > img {
	width: 100%;
	height: var(--carousel-height);
	object-fit: cover;
}

div.cweb_carousel div.image > div.text {
	width: 100%;
	position: absolute;
	bottom: 30%;
	left: 0px;
	z-index: 200;
}

div.cweb_carousel div.image > div.text > div.title {
	color: #ffffff;
	display: none;
	font-family: var(--f-rc);
	font-size: 3.0rem;
	line-height: 3.5rem;
}

div.cweb_carousel div.image > div.text > div.description {
	color: #ffffff;
	font-family: var(--f-rc);
	font-size: 3.0rem;
	line-height: 3.5rem;
	margin-bottom: 1rem;
}

@media only screen and (max-width: 56em) {
	div.cweb_carousel div.image > div.text {
		top: 5%;
	}

	div.cweb_carousel div.image > div.text > div.title {
		font-size: 2.0rem;
		line-height: 3.0rem;
}

	div.cweb_carousel div.image > div.text > div.description {
		font-size: 2.0rem;
		line-height: 3.0rem;
}
}

div.cweb_carousel div.image > div.text > div.description > strong {
	color: var(--c-accent);
}

div.cweb_carousel div.image > a {
	width: 100%;
	height: var(--carousel-height);
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 250 !important;
}

div.cweb_carousel div.image > div.text > a.button {
	font-size: 1.0rem;
	line-height: 2rem;
	margin: 0 0.5em;
	padding-left: 3.0rem;
}

div.cweb_carousel div.image > div.text > a.button::before {
 width: 1.5rem;
}

/******************************************************************************/
/* cweb_carousel - index ******************************************************/
/******************************************************************************/

div.cweb_carousel div.index {
	width: 100%;
	display: flex;
	gap: 0.7em;
	justify-content: center;
	position: absolute;
	bottom: 2.0rem;
	left: 0px;
	text-align: center;
	z-index: 260 !important;
}

div.cweb_carousel div.index > div.item {
	width: 1.0em;
	height: 1.0em;
	background-color: transparent;
	border: 4px solid #ffffff;
	border-radius: 0.5em;
}

div.cweb_carousel div.index > div.item.active {
	background-color: #ffffff;
}
