/*Font*/

/* raleway-200 - latin */
@font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 200;
	src: url('../_fonts/raleway-v34-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* raleway-300 - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 300;
	src: url('../_fonts/raleway-v34-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* raleway-regular - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	src: url('../_fonts/raleway-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* raleway-500 - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 500;
	src: url('../_fonts/raleway-v34-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* raleway-600 - latin */
  @font-face {
	font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 600;
	src: url('../_fonts/raleway-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


body {
	font-size: 1em;
	line-height: 1.3;
	color: #494747;
	font: 400 1em/22px "Raleway", Helvetica Neue, Helvetica, Arial, sans-serif;
}

h1 {
	font-family: 'Raleway', sans-serif;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	font-size: 1.8em;
}

h2 {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 1.6em;
}

h3 {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 1.4em;
}

h4 {
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	margin: 1em 0;
	font-size: 1.2em;
}


/*Startseite*/

.page-home .main	{
	background-color: #eee;
	max-width: 1000px;
}

.page-home .main .content, .page-home .link_weitere_informationen a {
    color: #323232;
}

.page-home .main h1, .page-home .main h2, .page-home .main h3 {
	color:#782F3F;
	font-weight: bold;
}

h1, .h1, h2, .h3, h3 {
	color:#782F3F;
	font-weight: bold;
}

/*Main größer*/

.headertop, .topnav, .navigation, .slider.headerimage, .flexslider, .main, .social-buttons-inner {
    max-width: 1000px;
	background-color: #eee;
}

header, nav {
	background-color: #eee;
}

.topnav li.active > a {
    color: #fff;
}
.topnav li.active a {
    color: #782F3F;
	/*text-transform: uppercase;	*/
}


/*Sliderbilder Unterseiten größer*/

.slider.headerimage .flexslider .slides li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider.headerimage, .slider.headerimage, .slider.headerimage .flexslider, .slider.headerimage .flexslider .slides, .slider.headerimage .flexslider .slides li, .slider.headerimage .flexslider .slides li img {
    max-height: calc(85vh - 165px); /*90 Standard*/
}


/* add custom styles*/

	.headertop .logo img {
            display: none !important;
	}


	.headertop .haus {
	background: url(images/schloetelburg_logo.png) no-repeat;
	height: 200px;
	}

	.headertop .haus h1 {
	display: none !important;
	}
	.headertop .haus .h1 {
	display: none !important;
	}	
	
/* Home Overlay  ####################################################*/
	.home-overlay{
		z-index: 90;
		position: absolute;
		width: 100%;
		height:100%;
		top:150px;
			
	}

	.home-overlay-container{
		width: 50%;
		/*position #################*/
		margin: 200px auto 0 auto;
		/*color overlay #############*/
		background: rgba(255, 255, 255, 1);
	}

	.home-overlay .image{
		width: 100%;
		float: center;
		padding: 10px;

	}
	.home-overlay .text{
		width: 0%;
		float: left;
		padding: 10px;
	}


/* responsive IFrame Darstellung############################################*/
.embed-container {
	position: relative; 
	padding-bottom: 100% /*56.25%;*/ /* ratio 16x9 */;
	height: 0; 
	overflow: hidden; 
	width: 100%;
	height: auto;
	}
	
	.embed-container iframe {
	position: absolute; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	}
	
	/* ratio 4x3 */
	.embed-container.ratio4x3 {
	  padding-bottom: 75%;
	}
	



/* hide on small screens*/
@media only screen and (max-width: 100px) {
	.home-overlay{
		display: none;
	}
}


/* end Home Overlay  ##################################################*/

/*//logo galerie####################################################*/

.box-logo{
	width: 25%;
	padding: 5px;
}

.div-logo{
	background: #fff;
	border: 1px solid #eee;
	border-bottom: 2px solid #e3e3e3;
	text-align: center;
	height: 150px;
	margin: auto;
	position: relative;

}

.div-logo  img{
   position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    backface-visibility: hidden;
    max-height: 90%;
    max-width: 90%;
}
/*//bilder galerie####################################################*/
.box-galerie{
	width: 33%;
	padding: 5px;
}

.div-galerie{
	box-shadow: 0 0 2px 0 rgba(1, 1, 1, 0.2);
	position: relative;
}

.box-galerie .div-galerie img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.box-galerie .div-galerie .text{
  background: rgba(50, 50, 50, 0.8);
    bottom:-17px;
    color: #eee;
    display: block;
    padding: 10px;
    position: absolute;
    /*transition: padding 0.3s ease 0s;*/
    width: 100%;
}


/*//ueber-uns######################################################*/

.p-ueber-uns .col{
	padding: 10px;

}
.p-ueber-uns .col .mod{
	min-height: 430px;
	border: 1px solid #eee;
	border-bottom: 2px solid #e3e3e3;
	padding: 10px 10px 0 10px;
	background: #F2F2F2;
	font-size: 0.8em;
}

.p-ueber-uns .col .mod .text{

}
img.service{
margin-top: 15px;
}

.gmapcontent2{
float: right;
margin: -130px 125px 0 0;
}


@media only screen and (max-width: 959px) {

	.headertop .haus h1{
		font-size: 1.8em;
		padding: 0 0 30px 10px;
	}
	.headertop .haus .h1{
		font-size: 1.8em;
		padding: 0 0 30px 10px;
	}
}

/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) 

{
	.headertop .haus {
	background: url(images/schloetelburg_logoklein.png) no-repeat;
	height: 70px;
	}
	.box-logo{
	width: 50%;
	}
	.p-ueber-uns .col{
	width: 50%;
	min-height: 500px;
	}

	.gmapcontent2{
	float: left;
	margin: inherit;
	}

	.headertop .haus h1{
		font-size: 1em;
		display: block;
		margin: 0;
		padding: 0 0 10px 10px;
	}
	.headertop .haus .h1{
		font-size: 1em;
		display: block;
		margin: 0;
		padding: 0 0 10px 10px;
	}
	.page-service .content ul{
	width: 100%;
	display: inline-table;
	margin-top: 40px;
	}
}

@media only screen and (max-width: 479px) {

	.home-overlay{
		display: none;
	}


}