/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/


/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */

*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}


/* Pix
-------------------------------------------------- */
img {
  display: block;
  max-width: 100%;
}


/* Links
-------------------------------------------------- */
a {
  color: #000;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #ffffff;
}
div.text a:hover {
	color:#388c42;
}

/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 101%;
  font-family: "Source Sans Pro", sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  font-size: 1.25em;
  line-height: 1.5em;
  padding: 0;
  max-width: 58em;
  background-image: url(../images/background.jpg);
  background-size:cover;
  background-repeat:repeat-y;
  color: #222;
}


/* Header
-------------------------------------------------- */
.header {
  border-bottom: 2px solid red;
  margin-bottom: 1.5em;
}
.logo {
  display: block;
  margin-bottom: 1.5em;
}
.logo img {
  width: 2em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #222;
}
.menu a:hover {
  color: red;
  text-decoration: none;
}
.menu .active {
  color: red;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
  background-color:#f0f0f0;
}
.menu > li > a {
  padding: .35em 0;
  border-top: 1px solid #ddd;
  font-weight: 600;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
  box-shadow:5px 5px 10px #d0d0d0;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #f0f0f0;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #000;
  background: #f0f0f0;
  white-space: nowrap;
}
.submenu a:hover {
  background: #c4c4c4;
  color: #fff;
}
.menu > li {
	text-align:center;
}

@media screen and (min-width: 50em) {
  body {
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
  }
  .menu > li {
    float: left;
    text-align:left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */
h1 {
  color:#94695a;
	font-size:30px;
	font-weight:normal;
	margin-bottom:40px;
}
h2 {
  font-size: 2em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: .5em;
  color: red;
}
h3 {
  font-size: 1.4em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
}
h4 {
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.5em;
  margin-bottom: .5em;
  color: red;
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
}
.main hr {
  margin: 3em 0;
  height: 2px;
  background: #ddd;
}
.main p,
.main figure,
.main ul,
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: 2px solid #ddd;
}
.main a:hover {
  border-color: #222;
}

/* Text blocks */
div.text{
	padding:50px 50px 20px;
	min-height:500px;
	box-shadow:5px 5px 10px #664f42;
}

.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}


/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  font-size: .8em;
  margin-top:-15px;
}
.copyright {
  float: left;
  margin-left:221px;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}
.clear{
	height:0px;
	clear:both;
}

div#main_container{
	margin:auto;
	height:100%;
	/* box-shadow:5px 5px 10px #707070; */
	position:relative;
	z-index:20;
}

div#header{
	height:91px;
	background-color:#568c5c;
	background-repeat:no-repeat;
}

div#main_navigation{
	min-height:2.2em;
	background-color:#f0f0f0;
}

div#left_navigation{
	float:left;
	width:221px;
	font-size:18px;
	margin-top:-5px;
	box-shadow: 0 15px 10px -10px #664f42;
}

div#content{
        font-size:0.9em;
        background-color:#ffffff;
        margin-left:221px;
}

div#logo{
        background-image:url(../images/logo.png);
        width:934px;
        height:91px;
        float:left;
}

@media screen and (min-width: 60em) {
}
@media screen and (max-width: 80em){
	div#reparatur{
		display:none;
	}
	div#schuhtechnik{
		display:none;
	}
}
@media screen and (max-width: 50em) {
	div#left_navigation{
		display:block;
		width:100%;
		box-shadow:0 0 0 #000000;
	}
	ul.main_menu{
		text-align:center;
	}
	ul.main_menu li{
		border-bottom:1px solid #000000;
		line-height:2em;
	}
	div#content{
		margin-left:0;
	}
	div#reparatur{
		display:none;
	}
	div#schuhtechnik{
		display:none;
	}
	div#logo{
		width:100%;
		height:53px;
		background-image:url(../images/logo_mobile.png);
		background-size:contain;
		background-repeat:no-repeat;
	}
	div#header{
		height:53px;
	}
	div.text{
		padding:0.5em;
		line-height:1.2em;
		box-shadow:0 0 0 #000000;
	}
	div.text h1{
		color: #388c42;
		font-size:1.2em;
		font-weight:bold;
		margin-bottom:0.2em;
	}
	body{
		background-image:none;
	}
	div#left_navigation li.active > a{
		margin-top:0;
	}	
}

div#left_navigation ul{
	list-style-type:none;
}

div#left_navigation li.active > a{
	color:#94695a;
}

div#left_navigation li.active_sub > a{
	color:#ffffff;
}

li.active{
	background-color:#ffffff;
}

ul.gallery{
	margin:0;
}

ul.gallery li {
	display:inline;
	width:163px;
	height:163px;
	float:left;
}

ul.gallery_certificates li {
	display:inline;
        width:163px;
        height:238px;
        float:left;
}
ul.gallery img {
	box-shadow:5px 5px 5px #d0d0d0;
}

ul.gallery_certificates img {
        box-shadow:5px 5px 5px #d0d0d0;
}

div#fancybox-wrap {
	box-sizing:content-box;
}

.tuev img{
	margin-left:20px;
	float:left;
	margin-top:17px;
}

.address img{
	margin-left:16%;
	margin-top:54px;
	float:left;
}

.navigation_heading{
	border-bottom:5px #f0f0f0 solid;
	margin-left:-20px;
	padding-left:20px;
	font-weight:bold;
	margin-bottom:5px;
	font-size:1.2em;
}

strong {
	color:#388c42;
}

.impressum{
	float:right;
}

div#background_top{
	position:absolute;
	height:91px;
	width:100%;
	top:0;
	left:0;
	background-color:#6b3f3c;
	z-index:10;
	box-shadow:5px 5px 10px #664f42;
}

div#reparatur{
	background-image:url(../images/reparatur.png);
	width:220px;
	height:91px;
	float:left;
}

div#schuhtechnik{
	float:left;
	position:absolute;
	width:195px;
	height:91px;
	background-image:url(../images/schuhtechnik.png);
	left:58em;
}

ul.main_menu{
	background-color:#568c5c;
}

ul.main_menu a{
	margin-left:9px;
	margin-top:5px;
	display:block;
}

ul.sub_menu{
	background-color:#df9875;
}
