@font-face 
{
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/OpenSans-Regular.ttf') format('truetype');
	/*unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;*/
}

@font-face 
{
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 400;
	src: url('fonts/Roboto-Regular.ttf') format('truetype');
}

@font-face 
{
	font-family: 'Roboto';
	font-style: normal;
	font-weight: 500;
	src: url('fonts/Roboto-Medium.ttf') format('truetype');
}

body
{
	background-color: #0e7c32;
	overflow-x: hidden;
}
body, input, textarea, select, option, button, address, ul
{
	font-size: 14px;
	line-height: 1.5;
	color: #fdeb19;
	font-family: 'Roboto';
	font-weight: 500;
	margin: 0;
	padding: 0;
	border: 0;
}
a
{
	text-decoration: underline;
	color: inherit;
}
p,article
{
	margin: 1em 0;
}
ul
{
	list-style-type: '► ';
	list-style-position: outside;
	padding-left: 1.2em;
	font-size: inherit;/*16px;*/
}
li
{
	padding: 0.1em 0;	
}
s
{
	color: #f33;	
}
.h1
{
	font-size: 36px;
	margin-bottom: 0.5em;
}
.h1:not(:first-of-type)
{
	margin-top: 1.5em;	
}
.h2
{
	font-size: 16px;
	font-weight: bold;
	line-height: 1.25;
	margin-bottom: 0.5em;
}
.h3
{
	font-weight: bold;
}

.inner
{
	position: relative;
	margin: 0 auto;
	min-width: 300px;
	max-width: 1500px;
	width: 90%;
	padding: 10px;
}

header
{
	background-color: #0b5d26;
}
header>.inner
{
	padding: 5px 10px;
}
#logo
{
	width: 300px;
	height: 165px;
}
nav
{
	color: #fff;
}
nav
{
	padding: 0;
	margin: 0;
	list-style: none;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 22px;
}
nav a
{
	display: inline-block;
	padding: 3px 0;
	margin: 5px 30px 0px 0px;
}
nav a
{
	display: inline-block;
	text-decoration: none;
	width: 125px;
}
nav a:nth-of-type(even)
{
	margin-right: 0;	
}
#tonis_holzkunst
{
	margin-right: 0;
	color: #c85;
	text-shadow: 0 0 2px #000;
}
#tonis_holzkunst>img
{
	height: 85px;
	width: 140px;
	display: none;
	margin-top: -67px;
}
nav .sel
{
	text-decoration: underline;
}
#btnLoc
{
	position: absolute;
	top: 55px;
	right: 0;
	background-color: #0e7c32;
	border-radius: 100%;
	width: 5em;
	height: 3em;
	text-align: center;
	font-size: 20px;
	line-height: 125%;
	padding: 1.2em 0.2em;
	transform: rotate(10deg);
	
}
#content
{
	background-repeat: repeat-y;
	background-position: top right;
}
#content>div
{
	min-height: 70vh;
	padding-top: 20px;
}

.group
{
	display: inline-block;
	width: 300px;
}
address
{
	font-style: italic;
	margin: 0.5em 0;
}


footer
{
	background-color: #0b5d26;
	text-align: right;
	line-height: 1.3;
}
#contact
{
	text-align: left;
	margin-bottom: 0.5em;
}
#contact .h2
{
	margin-bottom: 0.2em;
}



.trees
{
	position: relative;
	width: calc(85.5vw - 19px);
	height: calc(64.125vw - 14.25px);
	max-width: 1200px;
	max-height: 900px;
	margin: 1em 0;
}
.trees>img
{
	display: block;
	width: 100%;
	box-shadow: 0 0 5px #030;
}
.trees:after
{
	content: '';
	position: absolute;
	display: block;
	width: 20%;
	height: 50%;
	bottom: 5%;
	right: -8%;
	background-image: url('images/baeume.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
}



.swap>img
{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	animation: swap3pics 12s linear 0s infinite;	
}
.swap>img:first-child
{
	opacity: 1;	/* show at least this pic */
}
.swap>img:nth-child(2)
{
	animation-delay: 4s;
}
.swap>img:nth-child(3)
{
	animation-delay: 8s;
}

@keyframes swap3pics
{
	0%		{ opacity: 0; }
	6.67%	{ opacity: 1; }
	33.33%	{ opacity: 1; }
	40%		{ opacity: 0; }
	100%	{ opacity: 0; }
}




#Harvester, #Forwarder
{
	font-size: 16px;	
}




#Fotos_und_Videos video
{
	width: 100%;
	max-width: 1280px;
	display: block;
	margin: 1em auto;
	/*border: 1px solid #333;*/
	box-shadow: 0 0 5px #030;
}



.h2+.gallery
{
	margin-top: 0;
}
.gallery~.h2
{
	margin-top: 40px;
}

.gallery
{
	text-align: center;
	margin: 15px -16px 0; 
}
.gallery>a
{
	display: inline-block;
	
	margin: 5px;
	vertical-align: top;
}
.gallery>a, .gallery img
{
	width: 150px;
	height: 100px;
}
.gallery img
{
	box-shadow: #504040 0 0 5px;
}
.gallery div
{
	display: inline-block;
	min-width: 0;
	vertical-align: top;
}
.gallery div>a
{
	display: block;
}
.gallery+.h1
{
	margin-top: 60px;
}
.gallery_ol
{
	background-color: rgba(40,32,32,0.9);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
}
.gallery_show
{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 998;
}
.gallery_show:target
{
	display: block;
}
.gallery_show>div
{
	box-shadow: 0 0 5px #0a0808;
	position: absolute;
	z-index: 1000;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	text-align: center;
	overflow: hidden;
}
.gallery_show>div, .gallery_show img
{
	min-width: 300px;
	min-height: 200px;
	max-width: 900px;
	max-height: 600px;
	width: 93.75vw;
	height: 62.5vw;
}
.gallery_show.portrait>div, .gallery_show.portrait img
{
	min-height: 300px;
	min-width: 200px;
	max-height: 900px;
	max-width: 600px;
	height: 93.75vh;
	width: 62.5vh;
}
.gallery_show video
{
	width: 100%;
	display: block;
}
@media (min-aspect-ratio: 3/2)
{
    .gallery_show>div, .gallery_show img
	{
        width: 140.625vh;
        height: 93.75vh;
    }
}
@media (max-aspect-ratio: 2/3)
{
    .gallery_show.portrait>div, .gallery_show.portrait img
	{
        height: 140.625vw;
        width: 93.75vw;
    }

}
.previous_pic, .next_pic
{
	display: block;
	position: absolute;
	top: 50%;
	margin-top: -37px;
	left: 0;
	width: 42px;
	height: 74px;
	background-image: url('images/symbols.png');
	background-position: 0 0;
	background-repeat: no-repeat;
}
.next_pic
{
	background-position: -42px 0px;
	left: auto;
	right: 0;
}
.close
{
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 42px;
	height: 42px;
	background-image: url('images/symbols.png');
	background-position: -84px 0px;
}

@media (min-width: 360px)
{
	.gallery
	{
		margin: 15px -1.5% 0;
	}
	.gallery>a
	{
		margin: 1.5% 1.5%;
	}
	.close
	{
		top: 5px;
		right: 5px;
	}
	.previous_pic
	{
		left: 5px;
	}
	.next_pic
	{
		right: 5px;
	}
}
@media (min-width: 533px)
{
	.gallery>a, .gallery img
	{
		width: 225px;
		height: 150px;
	}
}
@media (min-width: 580px)
{
	.gallery
	{
		margin: 15px -2.5% 0;
	}
	.gallery>a
	{
		margin: 1.5% 2.5%;
	}
}
@media (min-width: 800px) and (max-width: 870px), (min-width: 1600px) and (max-width: 1799px)
{
	.gallery
	{
		margin: 15px -1.2% 0;
	}
	.gallery>a
	{
		margin: 1.5% 1.2%;
	}
}
@media (min-width: 1080px) and (max-width: 1279px)
{
	.gallery
	{
		margin: 15px -1% 0;
	}
	.gallery>a
	{
		margin: 1.5% 1%;
	}
}
@media (min-width: 1280px) and (max-width: 1359px)
{
	.gallery
	{
		margin: 15px -1.7% 0;
	}
	.gallery>a
	{
		margin: 1.5% 1.7%;
	}
}



@media (min-width: 480px)
{
	nav a
	{
		width: 200px;
	}
}
@media (min-width: 700px)
{
	nav a
	{
		width: auto;
	}
	nav a, nav a:nth-of-type(even)/*:not(:last-of-type)*/
	{
		margin-right: 4.5%;	
	}
}
@media (min-width: 880px)
{
	#tonis_holzkunst>img
	{
		display: inline-block;
	}
	#btnLoc
	{
		right: initial;	
		left: 380px;
		top: 30px;
	}
}
@media (min-width: 1024px)
{
	#Harvester, #Forwarder
	{
		font-size: 20px;	
	}
	.h1
	{
		font-size: 42px;	
	}
	nav
	{
		font-size: 20px;
		line-height: 26px;
	}
	nav a, nav a:nth-of-type(even)
	{
		margin-right: 5.5%;	
	}
}
