/**
 * This file contains component styles
 *
 * @author Christian Hamacher <c.hamacher@alldesign.de>
 */

/*###############################################################################*/
/*#### AD NEWS CAROUSEL (Shortcode)
/*###############################################################################*/

.ad-news-carousel .carousel-items {
	margin: 0;
	padding: 0;
}

.ad-news-carousel .owl-nav.disabled {
	display: none;
}

.ad-news-carousel .owl-dots {
	width: 100%;
	text-align: center
}

.ad-news-carousel .owl-dot {
	display: inline-block;
	width: 15px;
	height: 15px;
	border-radius: 30px;
	background-color: #63b330
}

.ad-news-carousel .owl-dot+.owl-dot {
	margin-left: 10px
}

.ad-news-carousel .entry-title a {
	color: #fff;
	text-decoration: none
}

.ad-news-carousel .more-link {
	color: #0d4e71
}

.ad-news-carousel .owl-item {
	width: 450px !important;
}

.ad-news-carousel .entry-excerpt a {
	text-decoration: underline;
}

.page.home .ad-news-carousel {
	padding: 20px;
	color: #fff;
	background: #1c9dd9;
	animation-name: fadeInUp;
	animation-iteration-count: 1;
	animation-duration: .8s;
	animation-delay: 1s;
	animation-timing-function: ease;
	animation-fill-mode: both;
	backface-visibility: hidden;
	z-index: 100
}

.page.home .ad-news-carousel .owl-dots {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	bottom: -30px
}

.page.home .ad-news-carousel .owl-dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 44px;
	border: 2px solid #1c9dd9;
	background-color: #0d4e71
}

.page.home .ad-news-carousel .owl-dot span {
	display: block;
	margin: auto;
	width: 0;
	height: 0;
	border-radius: 8px;
	opacity: 0;
	background-color: transparent;
	transition: all .4s ease
}

.page.home .ad-news-carousel .owl-dot.active span,
.page.home .ad-news-carousel .owl-dot:hover span {
	width: 4px;
	height: 4px;
	opacity: 1;
	background-color: #63b330
}

/*###############################################################################*/
/*#### AD CONTACT FLYOUT (HOOK)
/*###############################################################################*/

.contact-flyout {
	position: fixed;
	right: 0;
	top: 50%;
	padding: 30px;
	max-width: 520px;
	background-color: #ece9e9;
	transform: translate3d(100%, -50%, 0);
	transition: transform 0.4s ease-in-out;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
	z-index: 100;
}

.contact-flyout.__active {
	transform: translate3d(0, -50%, 0);
	z-index: 1000;
}

.contact-flyout .toggle {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -57px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	color: #fff;
	border-radius: 5px 0px 0px 5px;
	background-color: #265c77;
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.contact-flyout .toggle .icon {
	width: 27px;
	height: 17px;
	background: url("../img/icon-form.png") no-repeat;
}

.contact-flyout .mobile-toggle {
	display: none;
	margin-bottom: 15px;
	text-decoration: underline;
	font-weight: 700;
	color: #333;
	text-align: right;
	cursor: pointer;
}

.contact-flyout form {
	color: #444;
}

.contact-flyout .form-group>label {
	font-weight: bold;
}

.contact-flyout .wpcf7-list-item+.wpcf7-list-item {
	margin-left: 8px !important;
}

.contact-flyout input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.contact-flyout select,
.contact-flyout option,
.contact-flyout textarea {
	background: #fff;
}

.contact-flyout input[type=submit],
.contact-flyout .submit {
	display: inline-block;
	vertical-align: top;
	padding: 10px 20px;
	color: white;
	border: none;
	background-color: getColor("secondary");
	line-height: normal;
	text-decoration: none !important;
	transition: all 0.4s ease;
	cursor: pointer;
}

.contact-flyout input[type=submit]:hover,
.contact-flyout .submit:hover {
	color: white;
	background-color: getColor("primary");
}

@media (max-width: 570px) {
	.contact-flyout {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.contact-flyout .mobile-toggle {
		display: block;
	}
}

/*###############################################################################*/
/*#### AD SLIDEOUT - see function.php
/*###############################################################################*/

.ad-slideout {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
}

.ad-slideout .item {
	display: flex;
	background-color: rgb(236, 233, 233);
	transform: translateX(calc(100% - 40px));
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
	transition: transform 0.4s ease;
}

.ad-slideout .item a:hover {
	color: rgb(38, 92, 119);
}

.ad-slideout .item.active {
	transform: translateX(0);
}

.ad-slideout .item+.item {
	margin-top: 0.5rem;
}

.ad-slideout .item .icon {
	padding: 8px;
	width: 40px;
	color: white;
	text-align: center;
	background-color: #63B330;
}

.ad-slideout .item .icon:before {
	display: inline-block;
	vertical-align: sub;
}

.ad-slideout .item a {
	padding: 8px;
	align-self: center;
	color: var(--awb-text-color);
	/*#8d8d8d*/
}

#ad-newsletter-modal .off-canvas-content>.fusion-fullwidth {
	padding: 0;
}

#ad-newsletter-modal iframe {

	height: 1140px;
}

@media screen and (max-height: 700) {
	#ad-newsletter-modal iframe {
		height: 600px;
	}
}

/*###############################################################################*/
/*#### AD Conword Language Switcher
/*###############################################################################*/

#ad-language-switcher {
	position: sticky;
	width: fit-content;
	bottom: 50px;
	left: 10px;
	/* border: 1px solid red; */
	padding: 5px 10px;
	/* border-radius: 5px; */
	cursor: pointer;

	z-index: 1000;

	& select {
		width: 100px;
		padding: 5px;
	}
}