@charset "utf-8";

html, body { 
	margin:0;
	padding:0px;
	font-family:"Helvetica Neue", Roboto, Arial, "Segoe UI", "Lucida Sans Unicode", sans-serif;
	text-align: left;
	color:#000;
	overflow-x:hidden;
	position:relative;
	height:100%;
	font-size:100%;
}

body {
	height:auto;
	min-height:100%;
	font-size:18px;
	line-height:28px;
	font-weight:300;
	overflow-y:hidden;
}

*, ::before, ::after {box-sizing: border-box;}

a { 
	text-decoration:none; 
	color:#43A0DD;
}
a:hover { text-decoration: underline;}

ul { padding-left:20px; }

h1, h2, h3, h4 {
	font-weight:300;
	margin:0 auto;
	padding: 30px 0px 30px;
}

h1 { 
	font-size:2em; 
	line-height:36px;
	padding: 15px 0px 15px;
}
h2 {
	font-size: 1.6em;
    padding: 15px 0px 30px;
}

.searchResult h2 {
	font-size: 1.1em;
    padding: 30px 0px 15px;
}

h3 {font-size:1.5em;}
h4 {font-size:1em;}

.clear {clear:both;}
.center {text-align:center; margin:0 auto;}
.floatL {
	float: left;
	margin: 0 10px 0 0;
}
.floatR {
  float: none;
  margin: auto;
}
.hide {
	display:none;
}

.flex, .flexinitial {
	display: flex;
	display: -moz-flex;
	display: -webkit-flex;
	display: -ms-flex;
	flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
}
.flexinitial {
	padding-bottom: 20px;
}


/* =============== img / Bild / Gallery =============== */

.gallery {
    width: 100%;
    padding: 0px;
    margin: 0px;
    height: 400px;
}

.temp {
  	width: 80%;
}
.banner {
  width: 100%;
  height: 450px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.banner-text {
	color: #fff;
	text-shadow: 0 5px 5px #000;
	margin: 0 auto;
	font-size: 50px;
	text-align: center;
	padding:2em 0 0;
}

.polygon {
  height: 90px;
  width: 100px;
  display: block;
  clip-path: polygon(50% 0%, 85% 40%, 90% 55%, 90% 70%, 70% 100%, 30% 100%, 10% 70%, 10% 55%, 15% 40%);
  border-radius: 10%;
}


/* ================================================= */
/* =============== Section / Content =============== */
/* ================================================= */

section {
	width:100%;
	padding:0;
	margin:0 auto 70px;
}

div {
  display: block;
}

article {
	width:100%;
	max-width:1200px;
	margin:0 auto;
}

.content {
	width: 75%;
	max-width:900px;
	padding: 0 0 20px;
	background: #f9f9f9;
	margin: 0 auto;
	float:right;
	box-shadow: 1px 0px 5px #bcbcbc;
}

.textbox {padding: 0 20px;}
.searchbox {padding: 20px 20px;}

.sidebar.full {width:15%;max-width:none;}
.content.full {width:85%;max-width:none;}
.full {max-width:none;}


/* ============================================== */
/* =============== Sidebar / Menu =============== */
/* ============================================== */

.sidebar h1, .sidebar h2, .sidebar h3, .sidebar h4 {
	font-size:1.3rem;
	line-height:1.7rem;
	padding:0 25px;
	background: #fff;
	max-width:300px;
	margin:0;
}

.sidebar {
	width: 25%;
	max-width:300px;
	padding: 40px 0 20px;
	background: #fff;
	float:left;
	margin: 0 auto;
	z-index:1;
	color:#222;
	box-shadow: 0px 0px 3px #bcbcbc;
}

.sidebar ul {
	list-style:none;
	margin:0;
	padding: 20px 0 0;
	max-width:300px;
	background: #fff;
	min-height:93%;
}

.sidebar ul li {position:relative;}

.sidebar ul li a {
	font-weight:300;
	font-size:14px;
	width:100%;
	text-decoration:none;
	color:#222;
}

.sidebar ul li.active a {
	background:#5A5A5A;
}

.sidebar ul li a:hover, .sidebar ul li a:focus, 
.sidebar ul li ul li.active a, .sidebar ul li ul li a:hover, .sidebar ul li ul li a:focus {
	background:#ebebec;
}


/* ===================================================== */
/* =============== Search / Suchformular =============== */
/* ===================================================== */

.search {padding:20px;}
.search form {width:100%;}
.search input, .search button {
	padding:0 10px; 
	width:75%; 
	height: 3em;
	margin:0;
	display:block;
	border-radius: 1px;
}
.search button {width:25%;}

/* ====================================== */
/* =============== Footer =============== */
/* ====================================== */

footer {
	padding:15px;
	background:#3f3f3f;
	color:#000;
	text-align:left;
	height: 70px;
	position:absolute;
	bottom:0;
	right:0;
	left:0;
	z-index: 99999;
}

footer a {color:#fff;}

footer img {padding:0; max-height:30px;}
footer .social {
	margin:0 auto;
	text-align:center;
}

.imgtxt {
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 10px 0;
    padding: 0;
}
.tdfacts {
  font-size: 17px;
  line-height: 18px;
  padding: 7px 30px 5px 5px;
}
.catlink {
  text-decoration: none;
  color: rgb(119, 119, 119);
  line-height: 33px;
}
.catspan {
    padding-top: 0px;
    max-width: 200px;
    line-height: 20px;
    font-size: 16px;
}
.extxt {
  clip-path: polygon(0% 0%, 100% 0%, 93% 100%, 0% 100%);
  min-height: 50px;
}
.rowshadow {
  background-color: rgb(235, 235, 236);
}

.catspanM {
  padding-top: 0px;
  max-width: 700px;
  line-height: 22px;
}


.floatRs {
  float: right;
  width: 50%;
  padding-left: 20px;
  padding-bottom: 10px;
}
.floatR50 {
  float: right;
  width: 50%;
  padding-left: 20px;
  padding-bottom: 10px;
}
.img-comp-container {
  position: relative;
}
.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}
.img-comp-img img {
  display: block;
  vertical-align: middle;
}
.img-comp-slider {
  position: absolute;
  cursor: ew-resize;
  width: 45px;
  height: 45px;
  background-color: white;
  opacity: 0.7;
  transform: rotate(45deg);
}
#rugimg1 {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
#rugimg1:hover {
  opacity: 0.7;
}
#rugimg2 {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
#rugimg2:hover {
  opacity: 0.7;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 30px;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.9);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 420px;
}
#caption1, #caption2 {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 420px;
  text-align: center;
  color: rgb(34, 34, 34);
  padding: 10px 0px;
  height: 150px;
}
.close1, .close2 {
  position: absolute;
  top: 15px;
  right: 35px;
  color: rgb(34, 34, 34);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}
.close1:hover, .close1:focus {
  color: rgb(187, 187, 187);
  text-decoration: none;
  cursor: pointer;
}
.close2:hover, .close2:focus {
  color: rgb(187, 187, 187);
  text-decoration: none;
  cursor: pointer;
}

.searchResult {
	padding: 0 0 20px 0;
	border-bottom: dashed #737373 1px;
}

.searchResult a {
	color: #000000;
}

/* ===================================================== */
/* =============== Mobil / media Queries =============== */
/* ===================================================== */


.adBlock ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.adBlock li {
    position: relative;
    text-align: center;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 0;
    padding: 0;
    width: 49%;
}
.adBlock li:first-child {
	display: inline-block;
}
.adBlock li img {
	max-height: 210px;
	max-width: 160px;
}
.adBlock li a {
	color: #000000;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
}

.adBlock li .pr-text {
	display: block;
	height: 35px;
    margin: 0 0 10px 0;
}


/*
	Sitemap Styler 	 
*/

#sitemap, #sitemap ul, #sitemap li{
	margin:0;
	padding:0;
	list-style:none;
}
#sitemap{}
#sitemap ul{
	display:none;
}
#sitemap li{
	line-height:200%;
	margin-top:1px;
	position:relative;
	width:100%;
}
/* IE leaves a blank space where span is added so this is to avoid that */
* html #sitemap li{
	float:left;
	display:inline;
}

#sitemap li a{padding-left: 45px; display: inline-block;}
#sitemap li span{float:left;position:absolute;top: 12px;left: 20px;width:13px;height:13px;cursor:auto;font-size:0;}
#sitemap li span, #sitemap li span.collapsed{background:url(../img/collapsed.gif) no-repeat 0 0;} 
#sitemap li span.expanded{background:url(../img/expanded.gif) no-repeat 0 0;}

/* second level */

#sitemap li li{
}
#sitemap li li a{padding-left:70px;}
#sitemap li li span{left:45px;}

/* third level */

#sitemap li li li a{padding-left:90px;}
#sitemap li li li span{left:60px;}

/* etc. */

/*  */

@media (min-width: 400px) {
	.catspan {
		padding-top: 0px;
		max-width: 250px;
		line-height: 22px;
		font-size: 18px;
	}	
	
}
@media (min-width: 480px) {
	.adBlock li {
		width: 32%;
	}
	.adBlock li img {
		max-height: 210px;
		max-width: 160px;
	}
	.catspan {
		max-width: 345px;
	}	
	
	.floatRs {
		width: 40%;
		padding-left: 20px;
		padding-bottom: 10px;
	}
	
}
@media (min-width: 600px) {
	.adBlock li img {
		max-height: 250px;
		max-width: 180px;
	}	
	.floatR {
		float: right;
    	margin: 0 0 10px 20px;
	}
	.catspan {
		max-width: 465px;
	}	
}

@media (min-width: 768px) {
	.catspan {
		max-width: 600px;
	}
	.floatRs {
		width: 30%;
		padding-left: 20px;
		padding-bottom: 10px;
	}
}

@media (min-width: 900px) {
	h1 {
		font-size: 2.2em;
		line-height: 36px;
		padding: 15px 0px 35px;
	}
	h2 {
		font-size: 1.9em;
		padding: 15px 0px 35px;
	}	
	.searchResult h2 {
		font-size: 1.4em;
		padding: 35px 0px 15px;
	}
	.adBlock li {
		width: 32%;
	}
	.adBlock li img {
		max-height: 210px;
		max-width: 160px;
	}
	.catspan {
		max-width: 520px;
	}
	
	
}

@media (min-width: 1024px) {
    .adBlock li:first-child {
		display: none;
	}
	.adBlock li {
		width: 19%;
	}
	.adBlock li img {
		max-height: 200px;
   		max-width: 150px;
	}
	.catspan {
		max-width: 600px;
	}
	
}

@media (min-width: 1200px) {
    .adBlock li:first-child {
		display: none;
	}
	.adBlock li {
		width: 19%;
	}
	.adBlock li img {
		max-height: 210px;
		max-width: 160px;
	}
	.adBlock li a {
		font-size: 14px;
		font-weight: 500;
		line-height: 18px;
	}
	
	.adBlock li .pr-text {
		height: 35px;
	}
	
}

@media gwd-media-rule-disabled and (max-width: 700px) {
  .modal-content {
	width: 100%;
  }
}

@media all (max-height:680px), (max-width:900px) {


/* =============== mobil Classes =============== */
.phone {display:block;}


.banner {height:150px;}
.banner-text {font-size:2em;}

.flex {
  display: -webkit-flex;
  flex-wrap: wrap;
}
.flexinitial {
  	margin: 10px 0 30px 0;
  	padding-bottom: 0px;
}


/* =============== mobile Section / mobile Conent =============== */
section {margin:0 auto;}

.content {
	width:100%;
	padding:40px 0 20px;
	margin:0;
	}
.textbox {padding: 0 10px;}
.searchbox {padding: 20px 20px;}


/* =============== mobile Sidebar =============== */

.sidebar {
	width:100%;
	transition: all ease-in-out 0.5s;
	margin:0 0 0 -100%;
	z-index: 99999;
	left: 0;
	top:0;
	bottom:0;
	position:fixed;
	max-width:none;
	background: rgba(51, 51, 51,0);
	overflow-y:auto;
	}

.sidemenu {
	width:100%;
	position:fixed; 
	height:40px;
	left:0;
	right:0;
	top: 0;
	margin:0 auto; 
	display:block;
	background: #fff;
	transition: all ease-in-out 0.5s;
	z-index:100000;
	cursor:pointer;
	}

.sidemenu-i, .sidemenu-i.close, .sidemenu-i::before, .sidemenu-i::after, .sidemenu-i.close::before, .sidemenu-i.close::after {
	content:"";
	position:absolute;
	top:13px;
	background: #222;
	height:1px;
	width:20px;
	right:20px;
	}

.sidemenu-i::before, .sidemenu-i::after {right:0;}
.sidemenu-i::before {top:12px;}
.sidemenu-i::after {top:6px;}
.sidemenu-i.close {background:transparent;}
.sidemenu-i.close::before, .sidemenu-i.close::after {right:0; top:7px;}
.sidemenu-i.close::before {transform: rotate(-45deg);}
.sidemenu-i.close::after {transform: rotate(45deg);}


.side-show {margin:0 !important; background: #fff;}

/* =============== mobile Footer =============== */

footer {
	height:auto; 
	position:static;
	}
footer img {
	width:30px;
	max-height:30px;
	}

}
@media not all, (max-width: 768px) {
	.gallery {
		height: 200px;
	}
	.imgmobile {
	 	width: 100% !important; 
	}
	.tableex1 {
		width: 100% !important;
	}
	.tableex2 {
		width: 60% !important;
	}
	.mobiletxt {
		font-size: 14px !important;
		line-height: 15px !important;
	}
}
