/*
 * Kontaktformular
 */
#kontaktformular-39, #contactform-101 {
	 background-color: var(--darker-light-grey);
	padding:20px;
}

#kontaktformular-39 .form-group, #contactform-101 .form-group
{
	float:left;
	margin:0 0 20px;
	width:100%;
	
}

#kontaktformular-39 .form-group:last-child, #contactform-101 .form-group:last-child
{
	margin-bottom:0;
}

#kontaktformular-39 .form-group label, #contactform-101 .form-group label
{
	float:left;
	width:100%;
	display:none;
}

#kontaktformular-39 .form-group label.form-check-label, 
#contactform-101 .form-group label.form-check-label, 
{
	display:inline-block;	
}

#kontaktformular-39 .form-group input,
#kontaktformular-39 .form-group textarea,
#contactform-101 .form-group input,
#contactform-101 .form-group textarea
{
	float:left;
	width:100%;
	background-color: var(--darker-light-grey);
	border:none;
	font-size:15px;
font-family:'Open Sans', sans-serif;	
	color: var(--text-color);
}


#kontaktformular-39 .form-group input,
#contactform-101 .form-group input
{
	height:40px;
	border-bottom: 1px solid #dfe0e1;	
}

#kontaktformular-39 .form-group .form-check-label input,
#contactform-101 .form-group .form-check-label input
{
	width:auto;
}

button.btn-primary{

font-family:'Open Sans', sans-serif;
}

button.btn-primary:hover{
	background-color: transparent;
	color:#fff;
}


#shortContact-39 input{
	 background-color: var(--light-grey);
	padding:10px;
}


/*#shortContact-39 button{border:1px solid var(--primary-color); background-color:var(--primary-color); margin-top:20px;}*/

#shortContact-39 button{margin-top:20px;}

#shortContact-39 span{font-size:12px; line-height:16px;}
#shortContact-39 {margin-top:20px; }
#shortContact-39-text-2  {margin-bottom:10px; width:300px;}
.shortContact {position:relative;}
.shortContact::before{
  content:url('../../../../../fileadmin/user_upload/content/grunge_arrow.png'); /* with class ModalCarrot ??*/
  position:absolute; /*or absolute*/
  left:-500px;
   transform: scale(.3);	
  top:-200px;
	z-index:99;
}


/*
 * Gallery
 */
.mfp-wrap figcaption,
.mfp-wrap .mfp-bottom-bar
{
	display:block;
}

.gallery
{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
}

.gallery .magnific-popup
{
	margin:0 30px 30px 0;
	width:calc(100% / 4 - 90px / 4);
}

.gallery .magnific-popup:nth-child(4n)
{
	margin-right:0;
}

.gallery .magnific-popup:last-child
{
	margin-right:0 !important;
}

.gallery .magnific-popup:nth-last-child(-n+4)
{
	margin-bottom:0;
}


.mw_grating{background-color:var(--white); width:179px; height:150px; border-radius: 20px; padding:5px; position:relative; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
.mw_grating span{color:#000; font-size:13px;}
.review_content {margin-top:0px;}
.mw_grating span.rating_value {font-size:35px; font-weight:bold;}
.review_stars {position:absolute; left: 60px;}
.review_description {
	top: 10px;
position: relative;}
.review_stars i {color:#ffde00; font-size:18px;}
.writereview{background-color:#1a73e8; height:30px; border-radius: 8px; margin-top:20px;}
.writereview a {font-weight:bold; display: inline-block; font-size:14px; padding-left:4px; padding-top: 4px;}
img.gratingicon {width:30px; float:left;}
span.review_headline_text{font-size:16px; color:#A6A8A2; margin-left: 5px;
margin-top: 5px;}
.review_headline{height:30px;margin-top:15px;}
.swiper-ratingoverlay {z-index:2; position:absolute; bottom:20px; right:20px;}
.swiper-ratingoverlay a{color:#fff;}


@media (min-width:768px) and (max-width:1023px)
{
	/*
	 * Gallery
	 */
	.gallery .magnific-popup,
	.gallery .magnific-popup:nth-child(4n),
	.gallery .magnific-popup:nth-last-child(-n+4)
	{
		margin:0 30px 30px 0;
		width:calc(100% / 3 - 60px / 3);
	}
	
	.gallery .magnific-popup:nth-child(3n)
	{
		margin-right:0;
	}
	
	.gallery .magnific-popup:nth-last-child(-n+3)
	{
		margin-bottom:0;
	}
	.mw_grating{margin:0 auto; width:300px; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}

	.swiper-ratingoverlay {z-index:2; position:relative; bottom:20px; right:20px;}
	.writereview {text-align:center;}
	
	.review_content {

		position: relative;
		width: 170px;
		margin: 0 auto;
	}
	.review_headline{
		width:163px;
		margin:10px auto;
		margin-bottom: 0px;
	}

}

@media (max-width:767px)
{
	/*
	 * Gallery
	 */
	.gallery .magnific-popup,
	.gallery .magnific-popup:nth-child(4n),
	.gallery .magnific-popup:nth-last-child(-n+4)
	{
		margin:0 20px 20px 0;
		width:calc(100% / 2 - 20px / 2);
	}
	
	.gallery .magnific-popup:nth-child(2n)
	{
		margin-right:0;
	}
	
	.gallery .magnific-popup:nth-last-child(-n+2)
	{
		margin-bottom:0;
	}
	
	
	.mw_grating{margin:0 auto; width:180px; box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;}
	.writereview {text-align:center;}
	
	.review_content {

		position: relative;
		width: 170px;
		margin: 0 auto;
	}
	.review_headline{
		width:163px;
		margin:10px auto;
		margin-bottom: 0px;
	}
	
	#wkdb-widget{width:163px; 	margin:0 auto;}
	
		.swiper-ratingoverlay {z-index:2; position:relative; bottom:20px; right:0px;}
	
	#shortContact-39-text-2  { width:100%;}


}
