/* Stylesheet für Bikes & Berries, based on Selfhtml Design 04*/

/* ============GLOBAL DEFINITION==================== */

/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 
} 

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

body {
    max-width: 75em;
    margin: 0 auto; 
	padding: 0 1em;
    font: normal 1em Georgia, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
	color: #555;
    background: #ddd;
	position:relative;
}
.float-right { float: right; }
/* ===== header ===== */
header.banner {
	background: #fff;
	background-image: url("../img/backgr3.jpg");
	background-size: cover;
	padding: 0.1em 0.1em;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 0 0 1em 1em;
}
header.bannerLM {
	background: #fff;
	background-image: url("../img/backgr.jpg");
	background-size: cover;
	padding: 0.1em 0.1em;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 0 0 1em 1em;
}
header.bannerVM {
	background: #fff;
	background-image: url("../img/backgr2.jpg");
	background-size: cover;
	padding: 0.1em 0.1em;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 0 0 1em 1em;
}
.flag_unselected
{
	opacity:0.5;
}
p.small{line-height: 0.5}
#logo {
	margin: 2px 0 0 3%;
	color: #F9EBA8;
	font-size:2em;
	font-weight:bold;
	text-decoration: none;
}

#header_top_right {margin-top: 1px;}

#header_top_right span.flags img {
	vertical-align: text-bottom;
	display: inline;}

img.icon { margin: 1px; padding: 0; }
/* ===== content / Inhalt ===== */
main {
	padding: 1em;
	padding-top: 1.5em;
	background: #fff;
	background-image: url("../img/bgx.jpg");
	color: #708900;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	border-radius: 1em;  
}
a {
	color: #97b314; /* link font colour */
}
a.nounderline {
	text-decoration-line: none;
}
a.path {
	text-decoration-line: none;
	color: #AAAAAA;
}
a:hover, {
	text-decoration: none
}
a:active, {
	background: transparent;
}
p.path{			
	position: absolute; /*Format for path: top left*/
	top: 0em;
	left: 1em;
	color: #AAAAAA:
}

a.button{
	background: #97b314; /* lower button colour */
	font-weight: bold;
	box-shadow: 0 0 20px #c3d34e inset, 0 2px 1px rgba(0,0,0,0.2);
	color: #fff;
	padding: 0.5em;
	border-radius: .5em;
	text-decoration: none;	
}
a.button:hover,
a.button:focus {
	background: #708900; /* button colour w mouse over */
}

h1 {
line-height: 1;
}

h1 span,
.akzentfarbe1 {
	color: #cc7721;
	
}

h1 a:hover span {
}

.akzentfarbe2 {
	color: #880088;
}

aside,p {
	line-height: 1.3em;
    padding-left: 1em;
}

aside,
section {
	box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
	border-radius: 1em;
	position: relative;
	padding: 0em 0em 3em;     /* Platz für absolut positionierte Buttons (unten)*/
}

aside h2,
section h2 {
	color: #fff;
	padding: .5em;
	margin: 0;
	background: rgba(195,214,106,0.95); /* upper button colour */
	border-radius: .5em;
	box-shadow: 0 3px 0 #708900;
}
aside h3{
	padding: .5em;
}

section p {
	padding: 0.5em 1em;
}

/*section p:first-of-type {
	font-weight: bold;
	color: #708900;
}*/

section img {
  width: calc(100% - 1em);
  margin: 0.5em 0.5em 1.5em;
}

img.own_size{
	width: auto;
	heigth: auto;
}

table, th, td {
  border:1px solid #708900;
  border-collapse: collapse;

}

section a.button {			
	position: absolute;	/* So werden Buttons immer an der gleichen Stelle, unabhängig vom vorhandenen Inhalt, positioniert */
	right: 1em;
	bottom: 1em;
}

form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:.5em; 
	padding: 1em; 
}

form input {
	background: #fff;
	border-radius: 4px;
	border: none;
	color: #000;
	padding: 0.75em 0.75em 0.75em 2.5em;
}

form#search{ 
	position:relative;
}	

form#search input {
	width: 15em;
	margin: 0 1em;
}		

section ul {
	margin: 0.5em 0 0 3em;
	line-height: 1.5;
}
		
section li {
	font-weight: bold;
	margin: 0.5em 0 1em 2em;
}
section li i {
	color: #97b314; 
}
.VM{
	color: #cc7721;
}

.LM{
	color: #880088;
}

dl.grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  padding: 0.5em;
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}
dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

/* ===== Navigation ===== */

nav li{
	margin-right: .5em;
}
nav ul {
	}
nav a {
	display: inline; 
	text-decoration: none;
	padding: 0.4em 1em;
    background: linear-gradient(#FFF, rgba(195,214,106,0.95));
	border-radius: 0.5em 0.5em 0.5em 0.5em;
}
nav a[aria-current=page] {
	font-weight:bold;
	background-image: url("../img/bg.jpg");
}
nav a:hover,
nav a:focus, 
nav a:active  {
	color: white;
}
nav ul a {
	min-width:8em;
	/*border-radius: 0.5em 0.5em 0.5em 0.5em;*/
}

nav ul ul {
	display: none;
	position: absolute;
	text-align: center;
}

nav ul li:hover > ul{
	display:block;
	z-index: 1;
}

nav ul ul li:hover {
  position: relative;
  display: block;
}

nav ul ul li{
  display: block;
  position: relative;
/*	background: linear-gradient(rgba(195,214,106,0.95),#eff4d7);*/
/*  background: rgba(214, 228, 155,0.9);*/
  text-align: left;
  border-radius: 0 0 0.5em 0.5em;	
  top:0em;
  left:-2em;
}
nav ul ul ul li{
  top:-1.5em;
  left:5em;
}
#lingradient{
    background: linear-gradient(#FFFFFF, rgba(195,214,106,0.95));
    border-radius: 0.5em 0.5em 0em 0em;
}
#topround{
    border-radius: 0.5em 0.5em 0em 0em;
}
/* ===== Footer ===== */
	
#social {
	float: left;
}

#social li {
	margin: 0 20px 0 0;
	display:inline-block;;
}
	
#fb {
	background: url("../img/fb.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#twitter {
	background: url("../img/twitter.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#yt {
	background: url("../img/yt.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
footer #copyright {
	float: right;
}

/* ===== responsives Layout ===== */

/* Mobile first! 1-Spaltenlayout  */


/* 2-Spaltenlayout, sobald der Platz es erlaubt  */

@media only screen and (min-width: 40em) {
  main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1em;
	position: relative;
	margin: 3em auto 1em;
  }
  
  article {
	grid-column: span 2;
  }
  #articlepicture {
  float:right;
  max-width:300px;
  height:auto;
  }
  header a#navlink {
	display: none;
  }

  nav  {
    position: absolute;
    top: -3em;
  }
  
  nav li {
	display: inline-block;
	width: auto;
}

nav a {
	display: inline-block; 
}

/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
@media only screen and (min-width: 60em) {
  main {
	grid-template-columns: repeat(3, 1fr);
  }

	main header,
	main footer {
	  grid-column: span 3;
	}

	article{
	  grid-column: span 2;
	}
	tabelle{
	  grid-column: span 3;
	}
}

/* Flexbox Fallback wenn der  Browser kein display:grid unterstützt. */
@supports not (display: grid) {
  main {
    display: flex;
    flex-flow: row wrap;
  }

main > * {
  flex: 1 100%;      /* Alle Elemente werden über die volle Breite dargestellt */
} 

article {
  flex: 1 64%;      
  margin: 1%;
}
section,
aside {
  flex: 1 31%;      /* Diese Elemente erhalten eine Breite von 1/3.  */
  margin: 1%;
}
}
