﻿@import url("fonts.css");

* {
    border: 0 none;
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
	box-sizing: border-box;
}

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

body{
	background: url(../images/headbox-himmel-bg.jpg) no-repeat top center #ec6618;
    background-size: cover;
	font-family: 'Roboto Slab', serif;
	letter-spacing: 0.01em;
	color: #FFF;
	margin:0; 
	-webkit-font-smoothing: antialiased !important;
	-webkit-tap-highlight-color: rgba(0,0,0,0);  
}

p {
	font-size: 1.05em;
    font-weight: 400;
    line-height: 1.6em;
    margin: 0 0 1.7em;
    text-align: left;
}


strong {
	font-weight:700;
}

a{	cursor:pointer;
	text-decoration:none;
	color:#988c75;	
}
a:hover{
	color:#932e23;
}

h3 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight:900;
	font-size:3.5em;	
	text-transform:uppercase;
	color:#222222;
	line-height:1em;
	margin: 0 0 0.4em;
}

h2 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-weight:900;
	font-size: 5.35em;
	color:#FFF;
	text-transform:uppercase;
	background-color:#222222;
	line-height: 0.9em;
    margin: 0 0 0.1em -0.2em;
    padding: 0.05em 0.2em 0;
	position:relative;
	display:inline-block;
	-webkit-border-radius: 3px 3px 3px 3px;
	border-radius: 3px 3px 3px 3px;
}

h4 {
	color: #8b3300;
    font-family: "Roboto Slab",serif;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.4em;
    margin: 0 0 1em;
    text-transform: uppercase;
}

h5 {
	font-family: 'Yellowtail', cursive;
	font-size:2em;
	line-height:1em;
	margin:0 0 0.5em 0;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

section {
	position:relative;
}

#ankauf h3 {
	color:#FFF;
}

#ankauf h4 {
	color:#ec6618;
}

#ankauf p {
	color:#c8c8c8;
}

.hgroup {
    margin: 0 0 1em;
}

.center {
	margin: 0 auto;
    max-width: 1450px;
    padding: 5% 4%;
    width: 100%;
	position:relative;
}

.center.min {
	padding: 7.5% 6% 0;
}

.center.box {
	padding: 3% 8px;
}

.floatleft {
	float:left;
}

.floatright {
	float:right;
}

.column-main {
	width:69%;	
	padding: 6%;
	margin:0 0 0em;
}

.column2 {
	margin-right: 5%;
    width: 47.5%;
}

.column2.lastrow,
.column3.lastrow  {
	margin-right: 0%;	
}

.column3 {
	width: 32.93%;
	margin-right: 0.6%;	
}

.white {
	color:#FFF;
}

.darkgrey {
	background-color:#222222;
}

.clear {
    clear: both;
    float: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}


h1#logo {
	background:url(../images/bauhaus-logo.png) no-repeat top center;
	background-size:contain;
	text-align:center;
	padding-top: 11.6%;
	height: 0px;
    margin: 0 auto;
    position: absolute;
    width: 30%;
	max-width:560px;
	text-indent:-999%;
    z-index: 55;
	top: 12px;
	left:0;
	right:0;
	-webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

#headbox .center {
	padding: 2% 4% 4%;
}

.claim {
	display: inline-block;
	position: relative;
	z-index:50;
	text-align:left;
	float: left;
    margin: 10px 0 0 4%;
}

.claim ul li {
	background: url(../images/claim-list.svg) no-repeat scroll left center / 29px auto;
	list-style: none;
    padding: 0 0 0 1.2em;
    width: 100%;
	font-family: "Alegreya Sans SC",sans-serif;
    font-size: 2em;
    font-weight: 900;
    line-height: 1.05em;
	color:#486e7c;
    margin: 0;
    text-transform: uppercase;
	display:block;
	text-align:left;
}

.seit_40_jahren {
	display: inline-block;
	position: relative;
	z-index:50;
	text-align:center;
	float: right;
    margin: 4px 5% 0 0;
}

.seit_40_jahren p {	
	font-family: 'Yellowtail', cursive;
	font-size:1.8em;
	color:#598d9f;
	text-align:center;
	line-height: 1em;
	margin:0;
}

.seit_40_jahren p span {
	font-family: "Alegreya Sans SC",sans-serif;
    font-size: 1.45em;
    font-weight: 900;
    line-height: 0.9em;
	color:#486e7c;
    margin: 0;
    padding:0;
    text-transform: uppercase;
	display:block;
	text-align:center;
}

div.freds-revier {
	background-image:url(../images/freds-revier-logo.png);
	background-repeat:no-repeat;
	background-size:contain;
	display: block;
    height: 0px;
	padding-bottom: 10%;
    position: absolute;
    right: 10%;
    bottom: 59%;
    width: 20%;
	text-indent:-9999%;
    z-index: 80;
}

/*div.freds-revier:hover {
	background-image:url(../images/freds-revier-logo-hover.png);
	background-size:contain;
	width: 20%;	
	height: 0px;
	padding-bottom: 10%;	
}*/

#imagebox-wide {
	background: url(../images/platz-panorama.jpg) no-repeat top center;
	background-size:cover;
	width:100%;
	height:0;
	padding-top: 19%;
	margin-top: 0;
	position:relative;
	min-height:200px;
	z-index: 4;	
}

#headbox {
	width:100%;
	height:auto;
	position:relative;
	transition: all 0.6s ease-in-out;
	box-shadow: 0 -6px 3px -1px rgba(0, 0, 0, 0.6) inset;	
}

.headbox-bg {
	background: url(../images/headbox-bg.png) no-repeat top center;
	background-size:contain;
	width:100%;
	height:0;
	padding-top: 32.6%;
	margin-top: -4%;
	position:relative;
	transition: all 0.6s ease-in-out;
	z-index: 65;
}

a.arrow {
  background: url(../images/arrow-bounce.png) no-repeat center center;
  background-size: cover;
  position: absolute;
  bottom: 9%;
  left: 0%;
  right:0;
  margin:0 auto;
  width: 70px;
  height: 70px;
  cursor:pointer;
  z-index:99; 
}

a.arrow:hover {
	opacity:0.9;
}

.bounce {
	animation:5s bounce infinite ease 0.3s;
	-moz-animation:5s bounce infinite ease 0.3s; 
    -webkit-animation:5s bounce infinite ease 0.3s;
}

img.roundimage {
	height: auto;
  	max-width: 100%;
	margin: 0.3em 1.7em 1em 0;
}

section ul {
	display: inline-block;
    line-height: 1.4em;
    margin: 0 0 1.8em;
    text-align: left;
    width: 100%;
	position:relative;
	z-index:20;
}

section ul li {    
    list-style: outside none none;
    padding: 0.6em 0 0.6em 2.1em;
    width: 100%;
}

section ul.dark li {
    background: url(../images/list-dark.svg) no-repeat 8px center;
	background-size:26px;
	background-color:rgba(236, 102, 24, 0.75);
	border-radius:3px;
	border-top: 1px solid #cd520a;
	margin: 0 0 0.1em -0.2em;
	padding: 0.6em 0 0.6em 3em;
	text-shadow: 1px 1px 0 #ec6618;
}

section ul.orange {
	width:auto;
	margin-right:10px;
}

section ul.orange li {
    background: url(../images/list-orange.svg) no-repeat left center;
	background-size:25px;
	border-top: 1px solid #424242;
}

section ul li:first-child {
    border:none;
}

@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
    transform: translateY(0px);
}
40% {
    transform: translateY(-30px);
}
60% {
    transform: translateY(-15px);
}
}

@-webkit-keyframes bounce {
0%, 20%, 50%, 80%, 100% {
    transform: translateY(0px);
	-webkit-transform: translateY(0px);
}
40% {
    transform: translateY(-30px);
	-webkit-transform: translateY(-30px);
}
60% {
    transform: translateY(-15px);
	-webkit-transform: translateY(-15px);
}
}

.headlinebox {
	width:100%;
	height:auto;
	position:relative;
	border-bottom:6px solid #c44800;
}

.headlinebox .center {
    padding: 35px 0;
}

.headlinebox .column2 {
	position:relative;
}

.headlinebox .column2.lastrow:before {
    content: '';
	background:#4d4d4d;
    display: block;
    width: 3px;
    height: 105%;
    position: absolute;
    left: -5.5%;
    top: 0;
	margin:0;
}

.headlinebox h2 {
	color:#FFF;
	text-align:right;
	margin: 0 0 0em 0;
    padding: 0 0 0;
	display:block;
	line-height: 0.92em;
	font-size: 4em;
}

.headlinebox h2.subline {
	color:#ec6618;
	text-align:right;
	font-weight:900;
	font-size:2.2em;	
	text-transform:uppercase;
	line-height:1em;
	margin:0 0 0 0;
}

.headlinebox p {
	color:#6e6e6e;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.7);
	margin:0px;
}

p.werkzeug {
	background: url(../images/werkzeug-nicht-vergessen.png) no-repeat 0 0;
	background-size:contain;
	line-height:55px;
	width:auto;
	display:block;
	text-indent:-9999px;
	margin: 0.5em 0 1em;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
p.werkzeug {
	background: url(../images/werkzeug-nicht-vergessen_2x.png) no-repeat 0 0;
	-webkit-background-size: 268px 55px;
}
}


.stapler {
	background:url(../images/stapler.png) no-repeat center center;
	background-size:contain;
	vertical-align:middle;
	height: 0;
    padding-top: 54.1%;
    position: absolute;
    bottom: 0%;
	left:-3%;
    width: 86%;
	max-width:1337px;
	display:block;
	z-index:5;
}

#languagebox {
	border-top: 6px solid #c44800;
	border-bottom: 6px solid #c44800;
	text-align: center;
}

#languagebox .center {
    padding: 2% 4% 1%;
}

#languagebox ul.flags {
	display: inline-block;
    margin: 0 0;
    text-align: left;
    width: auto;
	position:relative;
	z-index:20;
}

#languagebox ul.flags li {  
	background: url(../images/flags.png) no-repeat;
	margin: 0 0 1em;  
    list-style: outside none none;
    padding: 1px;
	height:36px;
    width: 48px;
	text-indent:-9999%;
	float:left;
	margin-right:40px;
	transition: all 0.3s ease-in-out;
}

#languagebox ul.flags li:hover {
	opacity:0.6; 
}

#languagebox ul.flags li:last-child {margin-right:0;}

#languagebox ul.flags li.ger {background-position: -1px 0px;}
#languagebox ul.flags li.eng {background-position: -51px 0px;}
#languagebox ul.flags li.ita {background-position: -101px 0px;}
#languagebox ul.flags li.fra {background-position: -151px 0px;}
#languagebox ul.flags li.tur {background-position: -201px 0px;}
#languagebox ul.flags li.lib {background-position: -251px 0px;}

#languagebox ul.flags li.headline {
	background:none;
	text-indent:0;
	width:auto;
}
#languagebox ul.flags li.headline:hover {
	opacity:1; 
}

#languagebox ul.flags h3 {
	color:#FFF;
	float:left;
	font-size: 3.2em;
    line-height: 0.7em;
    margin: 0 0em 0 0;
}

section {
	min-height:200px;
}

section#service .column2.lastrow {
	margin-bottom:12%;
}

section#kontakt {
	
}

section#kontakt .center {
	background:url(../images/kontakt-bg.png) no-repeat bottom center;
	background-size:contain;
    padding: 5% 2.5% 27%;
}

section#kontakt h3 {
	font-size: 2.6em;
}

section#kontakt h2.phone {
	color:#ec6618;
	font-size:4.1em;
	line-height: 1.1em;
    margin: 0 0 0.1em -0.2em;
    padding: 0.03em 0.2em 0.08em;
}

section#kontakt h2.phone a[href^="tel"]:link,
section#kontakt h2.phone a[href^="tel"]:visited, 
section#kontakt h2.phone a[href^="tel"]:hover {
    text-decoration:none;
    color:#ec6618;
	cursor:default;
}

section#kontakt h2.fax {
	background: rgba(34, 34, 34, 0.9);
	color:#ec6618;
	font-size:2.5em;
	line-height: 1.1em;
    margin: 0 0 0.2em -0.32em;
    padding: 0.03em 0.2em 0.08em;
}

section#kontakt .column2.zeiten {
    margin-right: 0;
    width: 26%;
	display: inline-table;
}

section#kontakt p {
	text-shadow: 1px 1px 0 #ec6618;
}

section#kontakt .column2 dl {
    line-height: 1.8em;
    margin: -1.5em 0 1em;
    text-align: left;
}

section#kontakt .column2 dl dt {
    float: left;
    margin-right: 1em;
}

section#kontakt .column2 dl dd {
    text-align: right;
}

/*.namebox {
	left: 58%;
    position: absolute;
    top: 120px;
}

.namebox p {
	font-size: 0.8em;
    font-weight: 400;
    line-height: 1em;
    margin: 0 0 0.3em;
}

p.name {
	font-family: 'Yellowtail', cursive;
	font-size:1.8em;
	color:#FFF;
	text-shadow: 1px 1px 0 #ec6618;
}*/

.headlinebox h3 {
    color: #ec6618;
    font-size: 3.2em;
    line-height: 1.25em;
    margin: 0 0 0 0;
	text-align:right;
	display:block;
}

.triangle {
    border-color: #222222 transparent transparent;
    border-style: solid;
    border-width: 60px 60px 0;
    bottom: -3em;
    height: 0;
    left: 50%;
	margin-left: -60px;
    position: absolute;
    width: 0;
	z-index: 35;
}

.mapBox {
	box-shadow: 0 10px 7px -10px rgba(0, 0, 0, 1) inset;
}

#karte {
	border: none;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    width: 100%;	
}
#karte:empty::after {
  content: 'Google Maps aufgrund von Datenschutzeinstellungen blockiert!';
  color: #ec6618;
  position: absolute;
  margin: auto;
  text-align: center;
  left: 0;
  right: 0;
  padding: 11vw;
}

#footer {
	background:#222222;
    border-top: 1px solid #151414;
    display: block;
    height: auto;
    position: relative;
    width: 100%;
	margin-top: 0px;
	font-size: 0.9em;
}

.center.footer-box {
	padding:1.2em 2.5% 0;
}

p.claim {
	color:#575655;
    margin: 0 0em 1.3em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
}

a.impressum,
a.datenschutz {
	color:#ec6618;
    margin: 0 0em 1.3em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
	font-size: 1.1em;
    line-height: 1.7em;
	text-transform:uppercase;
	transition: all 0.3s ease-in-out;
    padding-left: 10px;
}

a.impressum:hover,
a.datenschutz:hover {
	color:#FFF;
    margin: 0 0em 1.3em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.8);
	font-size: 1.1em;
    line-height: 1.7em;
	text-transform:uppercase;
}

/* --------------------- =Slider -------------------------- */

#autoteile,
#service,
#kontakt {
  background: #ec6618;
}

section#autoteile ul.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

section#autoteile ul.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

section#autoteile ul.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

section#autoteile ul.rslides img {
  border: 0;
  display: block;
  height: auto;
  float: left;
  width: 100%;
  }

section#autoteile ul.rslides li{ padding:0;}
section#autoteile ul.rslides li .slide{width:100%; height:100%; background-size:contain; min-height:340px; max-width:100%; }
section#autoteile ul.rslides li .slide.eins{background: url(../images/bauhaus-teilelager.jpg) no-repeat center top; background-size:contain;}
section#autoteile ul.rslides li .slide.zwei{background: url(../images/bauhaus-halle.jpg) no-repeat center top; background-size:contain;}
section#autoteile ul.rslides li .slide.drei{background: url(../images/bauhaus-aussen.jpg) no-repeat center top; background-size:contain;}

/* Navigation */

.menu-collapser {
	background:rgba(255, 255, 255, 0.75);
	position: relative;
	color: #598d9f;
	text-shadow: 0 1px 0 rgba(255,255,255,0.5);
	width: 100%;
	height: 50px;
	line-height: 50px;
	font-size: 0.9em;
	letter-spacing: 1px;
	text-transform:uppercase;
	padding: 0 8px;
	position:relative;
	text-align: center;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-shadow: 0 1px 6px rgba(72, 110, 124, 0.7);
	z-index:70;

	
}
.collapse-button {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
	margin-left:30px;
    background-color: #0E0E0E;
    background-image: linear-gradient(to bottom, #151515, #040404);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    color: #FFFFFF;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
    padding: 7px 10px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 14px;
    text-align: center;
	z-index:99!important;

    transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box
}
.collapse-button:hover, .collapse-button:focus {
    background-image: none;
    background-color: #040404;
    color: #FFF;
}
.collapse-button .icon-bar {
    background-color: #ec6618;
    border-radius: 1px 1px 1px 1px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    display: block;
    height: 2px;
    width: 18px;
    margin: 2px 0;
}

ul.slimmenu {
	background:rgba(255, 255, 255, 0.75);
    list-style-type: none;
    margin: 0px auto 0;
    padding: 0;
    width: 100%;
	height:auto;
	position:relative;
	text-align:center;	
	box-shadow: 0 1px 6px rgba(72, 110, 124, 0.7);
}

ul.slimmenu.collapsed {
	height:334px;
	background:none;
	box-shadow:none;
}

ul.slimmenu li {
    position: relative;
    display: inline-block;
	width: auto;
	line-height:50px;
	text-align:center;
	padding: 1px 0;
	z-index: 80;
}
ul.slimmenu > li { margin-right: 0px; }
ul.slimmenu > li:first-child { border-left: 0 }
ul.slimmenu > li:last-child { margin-right: 0 }
ul.slimmenu li a {
    display: block;
    color: #282828;
    padding:0px 30px;
    font-family: "Alegreya Sans SC",sans-serif;
    font-size: 1.5em;
    font-weight: 900;
	text-decoration:none;
	text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0,0,0,0.1);
    transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;

}
ul.slimmenu li a:hover {
    background: #dee1e2;
	color:#ec6618;
    text-decoration: none;
}

ul.slimmenu li a.active {
    background: #000;
	color:#e1dacd;
    text-decoration: none;
}

ul.slimmenu li .sub-collapser {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.075);
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    text-align: center;
    z-index: 999;
    cursor: pointer;
}
ul.slimmenu li .sub-collapser:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}
ul.slimmenu li .sub-collapser > i {
    color: #333;
    font-size: 18px;
    display: inline-block;
    vertical-align: middle;
}
ul.slimmenu li ul {
    margin: 0;
    list-style-type: none;
}
ul.slimmenu li ul li { background-color: #BBB; }
ul.slimmenu li > ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 999;
    width: 100%;
}
ul.slimmenu li > ul > li ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 999;
    width: 100%;
}

ul.slimmenu.collapsed li {
    display: block;
    width: 100%;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
ul.slimmenu.collapsed li a {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
ul.slimmenu.collapsed li .sub-collapser {
    height: 40px;
}
ul.slimmenu.collapsed li > ul {
    display: none;
    position: static;
}

ul.slimmenu li.space {
	width: 23%;
	min-width:160px;
	max-width: 290px;
}

/*----------------------------------------------------
// ----> AJAX Content
/----------------------------------------------------*/

#ajax-content {
	background:#dfdbd4;
	border: 0.5em solid #222222;
	max-width: 900px;
	margin: 20px auto;
	padding: 9% 6%;
	position: relative;
}

#ajax-content p{
	color: #222222;
    font-size: 1em;
    font-weight: 300;
}

#ajax-content .header {
	padding: 10% 0 5%;
	z-index: 30;
}
#ajax-content hgroup {
	border-bottom: 2px dotted #3A3A3A;
	padding-bottom: 15px;
	text-align: right;
	width: auto;
}
#ajax-content hgroup h2 {
	color: #3A3A3A;
	font-size: 4.1vw;
	font-style: italic;
	font-weight: 700;
	line-height: 0.9em;
	text-transform: uppercase;
}
#ajax-content .textBox {
	margin: 0 0 3%;
	text-align: left;
}
#ajax-content .textBox h4 {
	color: #ec6618;
}
#ajax-content dl.kontaktlist {
	width: auto;
}
#ajax-content dl.kontaktlist.first {
	margin-right: 0%;
}
#ajax-content dl {
	font-size: 1em;
	font-weight: 400;
	line-height: 2em;
	margin: 0 0 1.3em;
	text-align: left;
}
#ajax-content dd.border {
	border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
}
#ajax-content dl dt {
	color: #333;
    float: left;
    font-size: 0.9em;
    font-weight: 500;
    margin-right: 1em;
}
#ajax-content dl dd {
	text-align: right;
	color: #383838;
}
#ajax-content h2 {
	font-size: 4em;
	font-weight: 700;
	margin: 0 0 0.7em 0;
}
#ajax-content ul {
	font-size: 1em;
	font-weight: 400;
	line-height: 2em;
	margin: 0 0 1.3em;
	text-align: left;
    color: #222222;
    list-style-position: inside;
}

/* Media quires for a responsive layout */
	

/* For tablets & smart phones */
@media only screen and (min-width:701px) and (max-width: 1024px) {	  
	  ul.slimmenu.collapsed {
			height:auto;
	  }
	  .hgroup {
		font-size: 0.9em;
	  }	  
}

@media (max-width: 1408px) {
	section ul.orange {
		float:none;
	  }
	
}
	
@media (max-width: 970px) {	   
	  #headbox {
		min-height: 78px;
	  }	  
	  .column-main,
	  .column-side,
	  .column-side.left {
		margin-left: 0;
		padding: 1.7em;
		width: 100%;
		margin-bottom:0.3em;
	  }	  
	  img.roundimage.floatleft {
		 float:none;
	  }	  
}


/* For smartphones */
@media (max-width: 480px) {
	.headbox-bg {
    background-size: auto 100% !important;
    height: 0;
    margin-top: 5px;
    padding-top: 48% !important;
}
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
	
	section#kontakt h2.phone {
		font-size: 3.2em;
	}
	
	section#kontakt .center {
		padding: 5% 2.5% 58%;
	}
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	
		h1#logo {
			height: auto;
			width:80%;
	  }	
	  
	 .seit_40_jahren {
		float: none;
		font-size: 0.6em;
		margin: 30px 0 0 0;		
		bottom: 0;
		height: 50%;
		left: 0;
		margin: auto;
		padding: 0;
		position: absolute;
		right: 0;
		text-align: center;
		top: 50%;
		width: 100%;
		z-index: 50;
	}
	
	#headbox .claim {
		display:none;
	}
	
	.claim ul li {
		background-size: 18px auto;
	}
	  
	.headbox-bg {
		background-size: auto 100%;
		height: 0;
		margin-top: 5px;
		padding-top: 32.6%;
	}
	
	a.arrow {
		height: 55px;
		width: 55px;
		bottom: 5%;
	}
	
	section#kontakt h2.phone a[href^="tel"]:link,
	section#kontakt h2.phone a[href^="tel"]:visited, 
	section#kontakt h2.phone a[href^="tel"]:hover {
		cursor:auto;
	}
	
	.menu-collapser {
		width: 106%;
		margin-left:-6%;
	}
	
	ul.slimmenu.collapsed {
		margin: 0 auto 0;
		height: 270px;
		display:none;
	}
	
	h2 {
		font-size: 3em;
	}
	
	h3 {
		font-size: 2.2em;
	}
	
	.center {
		padding: 10% 6%;
	}
	
	#headbox .center {
		padding: 3% 4% 5%;
		min-height:200px;
	}
	
	.headlinebox .center {
		padding: 35px 6%;
	}
	
	.headlinebox h3 {
		display: block;
		line-height: 1em;
		margin: 0;
		font-size: 2.6em;
		text-align: left;
	}
	
	#service .center {
		padding: 10% 6% 45%;
	}
	
	#languagebox .center {
		padding: 9% 4% 1%;
	}
	
	.column2,
	section#kontakt .column2,
	section#kontakt .column2.zeiten {
		margin-right: 0;
		padding: 0;
		width: 100%;
		margin-bottom:0.6em;
	}
	
	section ul.orange {
		margin-right: 0px;
		width: 100%;
	}
	
	.rhino-container {
		height: 204px !important;
		margin: 0 auto !important;
		width: 100% !important;
	}
	
	.stapler {
		background-size: 104% auto;
		padding-top:60%;
		width:100%;
		left: -3%;
	}
	
	#languagebox ul.flags {
		display: inline-block;
		margin: 0 auto;
		width: 282px;
	}
	
	#languagebox ul.flags li {
		background-size:236px auto;
		height: 29px;
		margin: 0 10px 1em 0;
		width: 38px;
	}
	
	#languagebox ul.flags li.eng {background-position: -39px 0;}
	#languagebox ul.flags li.ita {background-position: -79px 0;}
	#languagebox ul.flags li.fra {background-position: -119px 0;}
	#languagebox ul.flags li.tur {background-position: -159px 0;}
	#languagebox ul.flags li.lib {background-position: -198px 0;}
	
	#languagebox ul.flags li.headline {
		text-indent: 0;
		width: 100%;
		text-align:center;
		margin: 0 0 1em;
	}
	
	#languagebox ul.flags h3 {
		color: #fff;
		float: none;
		font-size: 2.2em;
		line-height: 0.7em;
		margin: 0 0 0 0;
	}
	
	a.impressum.floatright {
		font-size:0.9em;
	}
	
	.headlinebox .column2 {
		padding: 8% 0 0;		
	}
	
	.headlinebox .column2.lastrow:before {
		height: 3px;
		left: 0;
		margin: 0;
		top: 0;
		width: 100%;
	}
	
	.headlinebox h2 {
		font-size: 2.8em;
		line-height: 0.92em;
		text-align: left;
	}
	
	.headlinebox h2.subline {
		font-size: 2em;
		text-align: left;
		margin: 0 0 5%;
	}
	
	section#kontakt .center {
		padding: 10% 2.5% 66%;
		background-size:111% auto;
	}
	
	section#kontakt h2.phone {
		color: #ec6618;
		font-size: 2.4em;
		line-height: 1.1em;
		margin: 0 auto 0.2em;
		padding: 0.03em 0.2em 0.08em;
		text-align: center;
		width: 100%;
	}
	section#kontakt h2.fax {
		font-size: 1.5em;
		line-height: 1.1em;
		margin: 0 auto 1em auto;
		text-align: center;
		width: 100%;
	}
	
	section#kontakt h3 {
		font-size: 2em;
	}		
	
	#karte {
	border-top: none;
    min-height: 275px;
    overflow: hidden;
    position: relative;
    width: 100%;	
	}
	
	#ajax-content h2 {
		font-size: 2em;
		font-weight: 700;
		margin: 0 0 0.7em;
	}
	
	#ajax-content .textBox h4 {
		color: #ec6618;
		font-size: 1em;
	}

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

	h1#logo {
			height: auto;
			width:80%;
	  }	
	  
	 .seit_40_jahren {
		float: none;
		font-size: 0.6em;
		margin: 30px 0 0 0;		
		bottom: 0;
		height: 50%;
		left: 0;
		margin: auto;
		padding: 0;
		position: absolute;
		right: 0;
		text-align: center;
		top: 50%;
		width: 100%;
		z-index: 50;
	}
	
	a.freds-revier {
		display:none;
	}
	
	#headbox .claim {
		display:none;
	}
	
	.claim ul li {
		background-size: 18px auto;
	}
	  
	.headbox-bg {
		background-size: auto 100%;
		height: 0;
		margin-top: 5px;
		padding-top: 32.6%;
	}
	
	a.arrow {
		height: 55px;
		width: 55px;
		bottom: 5%;
	}
	
	section#kontakt h2.phone a[href^="tel"]:link,
	section#kontakt h2.phone a[href^="tel"]:visited, 
	section#kontakt h2.phone a[href^="tel"]:hover {
		cursor:auto;
	}
	
	.menu-collapser {
		width: 106%;
		margin-left:-6%;
	}
	
	ul.slimmenu.collapsed {
		margin: 0 auto 0;
		height: 270px;
		display:none;
	}
	
	h2 {
		font-size: 3em;
	}
	
	h3 {
		font-size: 2.2em;
	}
	
	.center {
		padding: 10% 6%;
	}
	
	#headbox .center {
		padding: 3% 4% 5%;
		min-height:200px;
	}
	
	.headlinebox .center {
		padding: 35px 6%;
	}
	
	.headlinebox h3 {
		display: block;
		line-height: 1em;
		margin: 0;
		font-size: 2.6em;
		text-align: left;
	}
	
	#service .center {
		padding: 10% 6% 45%;
	}
	
	#languagebox .center {
		padding: 9% 4% 1%;
	}
	
	.column2,
	section#kontakt .column2,
	section#kontakt .column2.zeiten {
		margin-right: 0;
		padding: 0;
		width: 100%;
		margin-bottom:0.6em;
	}
	
	section ul.orange {
		margin-right: 0px;
		width: 100%;
	}
	
	.rhino-container {
		height: 204px !important;
		margin: 0 auto !important;
		width: 100% !important;
	}
	
	.stapler {
		background-size: 104% auto;
		padding-top:60%;
		width:100%;
		left: -3%;
	}
	
	#languagebox ul.flags {
		display: inline-block;
		margin: 0 auto;
		width: 282px;
	}
	
	#languagebox ul.flags li {
		background-size:236px auto;
		height: 29px;
		margin: 0 10px 1em 0;
		width: 38px;
	}
	
	#languagebox ul.flags li.eng {background-position: -39px 0;}
	#languagebox ul.flags li.ita {background-position: -79px 0;}
	#languagebox ul.flags li.fra {background-position: -119px 0;}
	#languagebox ul.flags li.tur {background-position: -159px 0;}
	#languagebox ul.flags li.lib {background-position: -198px 0;}
	
	#languagebox ul.flags li.headline {
		text-indent: 0;
		width: 100%;
		text-align:center;
		margin: 0 0 1em;
	}
	
	#languagebox ul.flags h3 {
		color: #fff;
		float: none;
		font-size: 2.2em;
		line-height: 0.7em;
		margin: 0 0 0 0;
	}
	
	a.impressum.floatright {
		float:left;
		font-size:0.9em;
	}
	
	.headlinebox .column2 {
		padding: 8% 0 0;		
	}
	
	.headlinebox .column2.lastrow:before {
		height: 3px;
		left: 0;
		margin: 0;
		top: 0;
		width: 100%;
	}
	
	.headlinebox h2 {
		font-size: 2.8em;
		line-height: 0.92em;
		text-align: left;
	}
	
	.headlinebox h2.subline {
		font-size: 2em;
		text-align: left;
		margin: 0 0 5%;
	}
	
	section#kontakt .center {
		padding: 10% 2.5% 66%;
		background-size:111% auto;
	}
	
	section#kontakt h2.phone {
		color: #ec6618;
		font-size: 2.4em;
		line-height: 1.1em;
		margin: 0 auto 0.2em;
		padding: 0.03em 0.2em 0.08em;
		text-align: center;
		width: 100%;
	}
	section#kontakt h2.fax {
		font-size: 1.5em;
		line-height: 1.1em;
		margin: 0 auto 1em auto;
		text-align: center;
		width: 100%;
	}
	
	section#kontakt h3 {
		font-size: 2em;
	}		
	
	#karte {
	border-top: none;
    min-height: 275px;
    overflow: hidden;
    position: relative;
    width: 100%;	
	}
	
	#ajax-content h2 {
		font-size: 2em;
		font-weight: 700;
		margin: 0 0 0.7em;
	}
	
	#ajax-content .textBox h4 {
		color: #ec6618;
		font-size: 1em;
	}
	  
 }
 
 /* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px)
and (-webkit-min-device-pixel-ratio: 1.5){ 

	.seit_40_jahren {
		top: 60%;
	}
	
	.headbox-bg {
		background-size:120% auto;
		height: 0;
		margin-top: 5px;
		padding-top: 39.12%;
	}
	
	a.impressum.floatright {
		float:right;
		font-size:0.9em;
	}

}
	 

#madeby a {
	background:url(../images/indivisualz-logo.svg) no-repeat 0 0;
	background-size:contain;
	color: #1c242b;
    display: block;
    font-family: 'Raleway',sans-serif;
    font-size: 14px;
    line-height: 2em;
    padding-left: 2.4em;
	margin-bottom: 2em;
	transition: all 0.3s ease 0s;
  	-webkit-transition: all 0.3s ease 0s;
}

#madeby a:hover {
	color: #f92c42;
}


/* Preloader */

#preloader {
	position: fixed;
	height:100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(239, 239, 239, 0.99); /* change if the mask should have another color then white */
	z-index: 99999; /* makes sure it stays on top */
}

#preloader .welcome {
	color: #263037;
    font-size: 1em;
    font-weight: 300;
    left: 50%;
    line-height: 1.5em;
    margin-left: -65px;
    position: absolute;
    text-align: center;
    top: 42%;
    width: auto;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
}

#preloader .welcome span {
	background:url(../images/logo-preload.png) no-repeat center center;
	background-size:contain;
    display: block;
    line-height: 3em;
    width: 130px;
	text-indent:-9999%;
	margin-bottom: 7px;

}
  
/*----------------------------------------------------
// ----> Magnific Popup CSS
/----------------------------------------------------*/

.mfp-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	position: fixed;
	background: #000;
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.mfp-wrap {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	position: fixed;
	outline: none !important;
	-webkit-backface-visibility: hidden;
}
.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 0 8px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
	display: none;
}
.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	z-index: 1045;
}
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
	width: 100%;
	cursor: auto;
}
.mfp-ajax-cur {
	cursor: progress;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor: -moz-zoom-out;
	cursor: -webkit-zoom-out;
	cursor: zoom-out;
}
.mfp-zoom {
	cursor: pointer;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
	cursor: auto;
}
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}
.mfp-loading.mfp-figure {
	display: none;
}
.mfp-hide {
	display: none !important;
}
.mfp-preloader {
	text-indent: -9999px;
	width: 200px;
	height: 200px;
	position: absolute;
	left: 50%; /* centers the loading animation horizontally one the screen */
	top: 50%; /* centers the loading animation vertically one the screen */
	background-image: url(../images/loading.gif); /* path to your loading animation */
	background-repeat: no-repeat;
	background-position: center;
	margin: -100px 0 0 -100px; /* is width and height divided by two */
	z-index: 1044;
}
.mfp-preloader a {
	color: #cccccc;
}
.mfp-preloader a:hover {
	color: white;
}
.mfp-s-ready .mfp-preloader {
	display: none;
}
.mfp-s-error .mfp-content {
	display: none;
}
button.mfp-close, button.mfp-arrow {
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	display: block;
	outline: none;
	padding: 0;
	z-index: 1046;
	-webkit-box-shadow: none;
	box-shadow: none;
}
button::-moz-focus-inner {
 padding: 0;
 border: 0;
}
.mfp-close {
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	opacity: 0.65;
	filter: alpha(opacity=65);
	padding: 0 0 18px 10px;
	color: white;
	font-style: normal;
	font-size: 35px;
	font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover, .mfp-close:focus {
	opacity: 1;
	filter: alpha(opacity=100);
}
.mfp-close:active {
	top: 1px;
}
.mfp-close-btn-in .mfp-close {
	color: #1e1713;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
	color: white;
	right: -6px;
	text-align: right;
	padding-right: 6px;
	width: 100%;
}
.mfp-counter {
	position: absolute;
	top: 0;
	right: 0;
	color: #cccccc;
	font-size: 12px;
	line-height: 25px;
}
.mfp-arrow {
	position: absolute;
	opacity: 0.65;
	filter: alpha(opacity=65);
	margin: 0;
	top: 50%;
	margin-top: -55px;
	padding: 0;
	width: 90px;
	height: 110px;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
	margin-top: -54px;
}
.mfp-arrow:hover, .mfp-arrow:focus {
	opacity: 1;
	filter: alpha(opacity=100);
}
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 35px;
	margin-left: 35px;
	border: medium inset transparent;
}
.mfp-arrow:after, .mfp-arrow .mfp-a {
	border-top-width: 13px;
	border-bottom-width: 13px;
	top: 8px;
}
.mfp-arrow:before, .mfp-arrow .mfp-b {
	border-top-width: 21px;
	border-bottom-width: 21px;
	opacity: 0.7;
}
.mfp-arrow-left {
	left: 0;
}
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
	border-right: 17px solid white;
	margin-left: 31px;
}
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
	margin-left: 25px;
	border-right: 27px solid #3f3f3f;
}
.mfp-arrow-right {
	right: 0;
}
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
	border-left: 17px solid white;
	margin-left: 39px;
}
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
	border-left: 27px solid #3f3f3f;
}
.mfp-iframe-holder {
	padding-top: 40px;
	padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
	line-height: 0;
	width: 100%;
	max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
	top: -40px;
}
.mfp-iframe-scaler {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: black;
}
/* Main image in popup */
img.mfp-img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 40px 0 40px;
	margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
	line-height: 0;
}
.mfp-figure:after {
	content: '';
	position: absolute;
	left: 0;
	top: 40px;
	bottom: 40px;
	display: block;
	right: 0;
	width: auto;
	height: auto;
	z-index: -1;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
	background: #444444;
}
.mfp-figure small {
	color: #bdbdbd;
	display: block;
	font-size: 12px;
	line-height: 14px;
}
.mfp-figure figure {
	margin: 0;
}
.mfp-bottom-bar {
	margin-top: -36px;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	cursor: auto;
}
.mfp-title {
	text-align: left;
	line-height: 25px;
	font-size: 13px;
	color: #f3f3f3;
	word-wrap: break-word;
	padding-right: 36px;
}
.mfp-image-holder .mfp-content {
	max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
	cursor: pointer;
}
 @media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
.mfp-img-mobile .mfp-image-holder {
	padding-left: 0;
	padding-right: 0;
}
.mfp-img-mobile img.mfp-img {
	padding: 0;
}
.mfp-img-mobile .mfp-figure:after {
	top: 0;
	bottom: 0;
}
.mfp-img-mobile .mfp-figure small {
	display: inline;
	margin-left: 5px;
}
.mfp-img-mobile .mfp-bottom-bar {
	background: rgba(0, 0, 0, 0.6);
	bottom: 0;
	margin: 0;
	top: auto;
	padding: 3px 5px;
	position: fixed;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.mfp-img-mobile .mfp-bottom-bar:empty {
	padding: 0;
}
.mfp-img-mobile .mfp-counter {
	right: 5px;
	top: 3px;
}
.mfp-img-mobile .mfp-close {
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	line-height: 35px;
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	text-align: center;
	padding: 0;
}
}
 @media all and (max-width: 900px) {
.mfp-arrow {
	-webkit-transform: scale(0.75);
	transform: scale(0.75);
}
.mfp-arrow-left {
	-webkit-transform-origin: 0;
	transform-origin: 0;
}
.mfp-arrow-right {
	-webkit-transform-origin: 100%;
	transform-origin: 100%;
}
.mfp-container {
	padding-left: 6px;
	padding-right: 6px;
}
}
.mfp-ie7 .mfp-img {
	padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
	width: 600px;
	left: 50%;
	margin-left: -300px;
	margin-top: 5px;
	padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
	padding: 0;
}
.mfp-ie7 .mfp-content {
	padding-top: 44px;
}
.mfp-ie7 .mfp-close {
	top: 0;
	right: 0;
	padding-top: 0;
}