/*    ########## 

      Designed and Coded by Laurensvanochten.de
      For Schreinerei Hundschell

      http://laurensvanochten.de

      ##########
*/

html, body {
    overflow-x: hidden;

    font-family: 'Lato', sans-serif;
}

.container {
    margin: 0;
    padding: 0;
    width: 100%;
}

nav {
	background: #fff url('../images/menubg.jpg') no-repeat;
    background-position: bottom left;
    background-size: 250px;
	width: 250px;
	height: 100vh;
	float: left;
	z-index:0;
	position: fixed;
	top: 0;
	left: 0;
}

.sitewrap {
	width: 100%;
	background: #efefef;
	min-height: 1000px;
	position: relative;
	z-index: 1;
	top: 0;
	left: 0;
	overflow-x: hidden;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.background {
    width: 100%;
    max-height: 90vh;  
    text-align: center;
    position: relative;
    -moz-box-shadow: inset 0 -10px 10px -10px #000000;
    -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
    box-shadow: inset 0 -10px 10px -10px #000000;
    
    animation: 2s ease normal forwards 1 running overlay; 
}

.camera-wrap {
    max-height: 90vh;
}

.leistungen .fotorama__nav {
    position: absolute;
    bottom: 20px;
    background: RGBA(255,255,255,0.5);
    padding: 5px;
}

.fotorama__nav--dots {
    display: none;
}

.leistungen .fotorama__nav--dots {
    display: block;
}

.fotorama__thumb-border {
    border-color: #bb1e0a;
}

.direction {
    color: #efefef;
    position: absolute;
    bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    left: 0px;
    right: 0px;
    z-index: 999;
    
    animation: 1.2s ease alternate infinite direction;  
}

@keyframes direction {
    from {opacity: 0;}
    to {opacity: .4;}
}

label {
	color: #fff;
	margin: 0;
	padding: 0;
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 999;
	width: 60px;
	height: 60px;
	cursor: pointer;
    background: RGBA(255,255,255,0.7);

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

#menu {
	display: none;
	margin: 0;
	padding: 0;
}

#menu:checked + label {
	left: 270px;
	top: 20px;
}

#menu:checked ~ .sitewrap {
	left: 250px;
	box-shadow: 0 0 3px 2px rgba(0,0,0,0.2);
	}

.hamburger span {
	width:45px;
	height: 5px;
	background: #861607;
	display: block;
	position: absolute;
	top: 12px;
	left: 8px;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.hamburger span:before, .hamburger span:after {
	content: '';
	width:45px;
	height: 5px;
	background: #861607;
	display: block;

	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.hamburger span:before {
	position: absolute;
	top: 15px;
}

.hamburger span:after {
	position: absolute;
	top: 30px;
}

#menu:checked + label span {
	background: RGBA(255,255,255,0);
	transform: rotate(90deg);
	top: 27px;
}

#menu:checked + label span:before {
	top: 0px;
    background: #861607;
	transform: rotate(45deg);
}

#menu:checked + label span:after {
	top: 0px;
    background: #861607;
	transform: rotate(-45deg);
}

.userdetails {
    text-align: center;
    padding-top: 40px;
}

.userdetails img {
    width: 200px;
    height: auto;
}

.navigation {
	list-style: none;
	text-align: left;
	padding-top: 30px;
}

.navigation li {
		border-bottom: 1px solid #ebebeb;
        background: RGBA(255,255,255,0.6);
}

.navigation li:first-child {
		border-top: 1px solid #ebebeb;
}

.active {
		border-left: 8px solid #a02528;
}

.navigation li a {
	color: #000;
	display: block;
	width: 100%;
	height: 50px;
	line-height: 50px;
	padding-left: 30px;
	text-decoration: none;	
	font-weight: 300;
	border-left: 0px solid #EBEBEB;
    font-size: 1.1em;

	transition: all 0.2s;
	-webkit-transition: all 0.2s;
}

.navigation li a:hover {
	border-left: 8px solid #fff;
    color: #363636;
    background: RGBA(255,255,255,0.7);
}

.logo-holder {
    position: absolute;
    top: 10px;
    right: 80px;
    padding: 35px 15px 10px 15px;
    text-align: center;
    float: right;
    width: 250px;
    z-index: 999;
}

.logo-holder img {
    width: 250px;
    height: auto;
}

@keyframes overlay {
    from { opacity: 0;}
    to { opacity: 1;}
}

h2 {
    color: #a02528;
    font-weight: 300;
    font-size: 1.4em;
}

h3, h1 {
    margin: 0;
    color: #861607;
    font-weight: 300;
}

.content {
    max-width: 900px;
    margin: 0 auto;
    min-height: 0px;
    padding-bottom: 30px;
    padding-top: 20px;
    display: block;
}

.content p {
    margin-bottom: 26px;
    line-height: 1.6em;
    font-size: 16px;
}

h1 {
    font-weight: 300;
    padding-bottom: 20px;
}

aside {
    text-align: center;
}

aside h3{
    text-align: center;
    font-weight: 300;
    font-size: 1.8em;
    padding-bottom: 10px;
}

aside h4 {
    padding-bottom: 20px;
}

.img-holder {
    width: 70%;
    margin: 0 auto;
    text-align: center;
}

aside img {
    width: 100%;
    border-radius: 20px; 
}

.subnav {
margin-bottom: 75px;
}

.subnav ul {
    list-style: none;
}

.subnav ul li {
    width: 70%;
    text-align: right;
    margin: 0 auto;
    padding: 10px 10px;
    border-bottom: 1px solid #cacaca;
}

.subnav ul li a {
    font-size: 1.2em;
    text-align: right;
    transition: .3s all;
    color: #838281;
}

.subnav ul li a:hover {
    color: #a02528;
}

.qualifications {
    list-style: none;
}

.timeline {
    background:#f4f4f4 url('../images/timeline-bg.jpg') center repeat-y;
    min-height: 500px;
    overflow: hidden;
    -moz-box-shadow: inset 0 -10px 10px -10px #000000;
    -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
    box-shadow: inset 0 -10px 10px -10px #000000;
    position: relative;
}

.timeline h1 {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
}

.timeline-top {
    background: #f4f4f4 url('../images/timeline-top.jpg') top center no-repeat;
    width: 100%;
    height: 62px;
    color: #a02528;
    text-align: center;
    padding-top: 15px;
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 130px;
}

.timeline-section {
    width: 90%;
    max-width: 450px;
    background:#EFEFEF;
    min-height: 100px;
    border: 1px solid #cacaca;
    border-radius: 10px;
    padding: 10px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    margin-bottom: 150px;
    
    transition: all 250ms ease 0s;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 2px rgba(0, 0, 0, 0.24);
}

.timeline-section:hover {
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.19), 0px 6px 6px rgba(0, 0, 0, 0.23);
    transform: translateY(-5px);
}

.timeline-section:last-child {
     margin-bottom: 50px;   
}

.timeline-year {
    position: absolute;
    top: -40px;
    width: 90px;
    height: 30px;
    background: #a02528;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    text-align: center;
    color: #f4f4f4;
    padding-top: 5px;
}

.timeline-section h2 {
    padding-bottom: 20px;
    text-align: left;
}

.timeline-section p {
    text-align: left;
    font-size: 18px;
    line-height: 1.6em;
}

.timeline-section img {
    margin-top: 20px;
    width: 60%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 5px;
}

footer {
    width: 100%;
    background: #fff url('../images/footer-bg.jpg') bottom right no-repeat;
    min-height: 200px;
    padding-top: 15px;
    padding-bottom: 15px;
    overflow:hidden;
}

.footer-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.col {
    text-align: center;
}

.footer-wrap h3 {
    font-weight: 300;
    font-size: 1.5em;
    padding-bottom: 15px;
    text-align: left;
}

.footer-menu {
    list-style: none;
    padding-left: 40px;
    text-align: left;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li, a {
    color: #000;
    font-size: 1em;
    font-weight: 300;
    text-decoration: none;
    
    transition: all .5s;
}

.footer-menu li a:hover {
    color: #a02528;
    padding-left: 5px;
}

.footer-images ul {
    list-style: none;
    padding-top: 50px;
}

.facebook-icon {
    width: 75px;
}

.footer-logo {
    width: 150px;
}

main p {
    font-size: 16px;
    line-height: 1.6em;
    margin-bottom: 26px;
}

main a{
    font-weight: bold;
    color: #a02528;
    text-decoration: underline;
}

.content section {
    padding-bottom: 50px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
     display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}

.content section.intro {
    padding-bottom: 25px;
    margin-bottom: 35px;
    border-bottom: 1px solid #cacaca;
    line-height: 1.6em;
}

.profile-img h3, .profile-img p {
    text-align: center;
}

.section-text, .section-img {
    padding: 20px;
}

.section-text ul {
    padding: 20px 10px;
}

.section-img img{
    margin-bottom: 10px;
    transition: .3s all;
}

.content section:nth-child(odd) .section-text {
    -webkit-box-ordinal-group: 2;   /* OLD - iOS 6-, Safari 3.1-6 */
  -moz-box-ordinal-group: 2;      /* OLD - Firefox 19- */
  -ms-flex-order: 2;              /* TWEENER - IE 10 */
  -webkit-order: 2;               /* NEW - Chrome */
  order: 2;  
}

.content section:nth-child(even) h2, .content section:nth-child(even) {
    text-align: right;
}

.content section:nth-child(odd) .section-img {
    -webkit-box-ordinal-group: 1;  
  -moz-box-ordinal-group: 1;     
  -ms-flex-order: 1;     
  -webkit-order: 1;  
  order: 1;  
}

.section-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.profile-image {
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    width: 100%;
    max-width: 250px;
}

.inline-profile-img {
    display: none;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    float: left;
    margin-right: 20px;
    vertical-align: middle;
}

.leistungen .direction {
    display: none;
}

.maps {
    width: 100%;
}

.content-list {
    list-style: none;
}

.content-list li {
    padding: 5px;
    font-size: 300;
}

.content-list li a {
    color: #bb1e0a;
}

.content-list li a:hover {
    padding-left: 5px;
}

.ToTop {
    background: #a02528 url('../images/cd-top-arrow.svg') center center no-repeat;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 999;
    color: #a02528;
    cursor: pointer;
    display: none;
    text-indent: -9999px;
}

.ToTop a {
    color: #a02528;
    display: block;
    width: 100%;
    height: 100%;
}

.pix_thumb {
    height: 70px;
    width: 70px;
    overflow: hidden;
}

#camera {
    margin-bottom: 20px !important;
}

.camera_thumb {
    width: 100px;
    height: auto;
}

.camera_thumbs {
    margin-top: -100px;
}

.camera_thumbs_cont ul {
    overflow-x:scroll;
}

.impressum {
    list-style: none;
    margin-bottom: 26px;
}

.impressum li a {
    color: #a02528;
    font-weight: 400;
}

.profile {
    padding-left: 20px;
}
