
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements 
* { padding: 0; margin: 0;} */
	
body {
	margin: 0 auto;
	max-width: 70em;
	padding: 0;
	font: normal 73%/1.5em 'Trebuchet MS', Tahoma, sans-serif;
	color: #555;
	background: #FFF url(../bilder/bg.jpg) repeat-x;
	overflow: scroll;
	/* container properties of flexbox */
	display:-webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
}

header, nav, article, section, aside, footer {
	/* children properties of flexbox */
	-webkit-flex: 1 100%;
	flex: 1 100%;
}

/* links */
a { background: inherit; color: #72A545; text-decoration: none; }
a:hover { background: inherit; color: #006699; text-decoration: underline; }


/* headers */
h1, h2, h3 { font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif; }
h1 { font-size: 1.4em; color: #65944A; }
h2 { font-size: 1.2em; text-transform: uppercase; }
h3 { font-size: 1.2em; }

p, h1, h2, h3 {
	margin: 10px 10px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;		
}

/* images */
img {
	border: 1px solid #DADADA;
	padding: 5px;
	background: #FAFAFA;

}
img.float-right {
  margin: 5px 0px 5px 15px;
  min-width: 200px;
  max-width: 40%; 
}
img.float-left {
  margin: 5px 15px 5px 0px;
  min-width: 200px;
  max-width: 40%;
}

img.gallery {
  max-width: 30%;
  min-width: 150px;
}


/* start header */

header {
	height: 8em;
	text-align: left;
	margin: 1em 1em auto; 
	padding: 0;
	position: relative;
	-webkit-flex: 1 100%;
	flex: 1 100%;
	}

img.header {
  border: 0em;
  padding: 0em;
}

img.flag {
  border: 0em;
  padding: 0em;
  margin-bottom: 8px;
}

header h1#logo {
	position: absolute;	
	font: bold 4em 'Trebuchet MS', Sans-serif;
	letter-spacing: -0.05em; 
	color: #FFF;
	margin: -0.1em 0 0 0; padding: 0;		
	/* change the values of left and top to adjust the position of the logo */
	top: 0em; left: 1.6em;
}

header #slogan {
	position: absolute;	
	font: bold 1em 'Trebuchet Ms', Sans-serif;
	text-transform: none;
	color: #BFBFBF;	
	margin: -0.4em 0 0 0; padding: 0;
	
	/* change the values of left and top to adjust the position of the slogan */
	top: 4.5em; left: 10em;
}

header a:hover {
		  color: #FFFFFF;
		  text-decoration: none;
}

header td {	
	padding-left: 0px;
	padding-right: 0px;
	border-left: 0px solid #FFF;
	border-bottom: 0px solid #fff;
	}

header tr {
	height: 0px;
}

header tr.menu a:hover {
		  color: #FFFFFF;
		  background: #000000;
}

header tr.menu a:focus  {
	color: #000000;
	background: #65944A;
}

header tr.menu a:active  {
	color: #000000;
	background: #65944A;
}

/* navigation dropdown menu */
header nav {
	text-align: right;
	position: absolute;
	right: 2em; top:0px;
	border-collapse: collapse;
	margin: 0px 0px;
}

header ul.menu a {
	font: bolder 1.0em 'Trebuchet MS', sans-serif;
	color: #FFF;
	text-decoration: none;
	text-align: center;
	background-color: none;
	display: block;
	padding: 2px 6px;
	border-right: 1px solid #272727;
	border-left: 1px solid #272727;
	border-bottom: 1px solid #272727;
	background: #65944A;
	line-height: 20px;
}

header li {	
	padding-left: 0px;
	padding-right: 0px;
	}

header ul {
	list-style: none;
	height: 0px;
}

header ul.menu a:hover {
		  color: #FFFFFF;
		  background: #272727;
}

header ul.menu a:focus  {
	color: #000000;
	background: #65944A;
}

header ul.menu a:active  {
	color: #000000;
	background: #65944A;
}

nav{
	padding: .7em 0em 0em 0em;
}

nav .hackbox{
 display: none; /* hides checkbox */
}
nav .dropdown-menu{
  display: none; /* hides dropdown menu */
}
nav label {
  color: #0060f6;
  cursor: pointer; /* changes mouse to pointer */
}
nav label:hover {
  color: #ffb400;
}
input[type="checkbox"]:checked ~ .dropdown-menu {
  display: block;
}

/* header photo */
.headerphoto {
	margin: 1em 2em 1em 2em;
	max-width: 66em;
	height: 16.5em;
	padding: 1em 1em 1em 1em; 
	background: #FFFFFF url(../bilder/rainforest07.jpg) no-repeat center;
	-webkit-flex: 1 100%;
	flex: 1 100%;
}

.headerphoto_small {
	margin: 1em 2em 1em 2em;
	max-width: 66em;
	height: 3em;
	padding: 1em 1em 1em 1em; 
	background: #FFF url(../bilder/rainforest07a.jpg) no-repeat center;	
	-webkit-flex: 1 100%;
	flex: 1 100%;
}

/* end header */


/* main page table */
.Rtable {
  display: -webkit-box;  
  display: -ms-flexbox; /* presumably turns on flexbox for ms shit */
  -ms-flex-wrap: wrap; /* shifts elements to next row if too big */
  display: flex; /* turns on flexbox */
  flex-wrap: wrap;
  padding: 0;
  border: 0px solid #000;
}

.Rtable-cell {
  box-sizing: border-box;
  -webkit-box-flex: 1 ;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: center;

  padding: 0.8em 1.2em;
  overflow: hidden;

}

.Rtable--2cols{
  margin: 0 8em 0 8em;
}
.Rtable--3cols {
  margin: 0 2em 0 2em;
}

.Rtable--2cols > .Rtable-cell {
  width: 50%;
}
.Rtable--3cols > .Rtable-cell {
  width: 33%;
}



/* start - table */
table {border: 1px
	border-collapse: collapse;
	margin: 10px 15px;
	}
th strong {
	color: #fff;
	}
th {
	background: #74A846;
	height: 29px;
	padding-left: 11px;
	padding-right: 11px;
	color: #fff;
	text-align: left;
	border-left: 1px solid #B6D59A;
	border-bottom: solid 2px #FFF;
	}
tr {
	/*height: 30px; */
}
td {
	padding-left: 11px;
	padding-right: 11px;
	/* border-left: 1px solid #FFE1C3; */
	border-left: 1px solid #FFF;
	border-bottom: solid 1px #ffffff;
}
td.first,th.first {
	border-left: 0px;
}
td.special {border-left: 0px;
	border-bottom: 0px;
}
tr.row-a {
	background: #F8F8F8;
}
tr.row-b {
	background: #EFEFEF;
}
td.index {padding-left: 3px;
	padding-right: 3px;
}
/* end - table */

/* article */

article {
	-webkit-flex: 3 1 0%;
	flex: 3 1 0%;
	clear: both;
	float: left;
	text-align: justify;
	width: 68%;	
	padding: 0;
	margin: 0 0 0 0;
	min-width: 200px;
}


article h1 {
	padding: 0 0em 0em 0em;
	margin: 0 .5em 0 0.5em;
	border-bottom: 1px solid #f2f2f2; 	
	font: normal 1.5em 'Trebuchet MS', Tahoma, Sans-serif;
}

/* end article */

/* sidebar */
aside {
	-webkit-flex: 1 1 0%;
	flex: 1 1 0%;
	margin: 0 1em 1em 1em; padding: 0;	
	/*float: right; 
	width: 100%;*/
}

aside h1 {
	padding: .5em 1em 0em 1em;
	margin: 0;	
	font: bold 1.3em 'Trebuchet MS', Tahoma, Sans-serif;
}
.sidebox {
	background: #F5F5F5;
	border: 1px solid #EFEDED;
	margin-bottom: 1em;
}

.sidebox img
{
	width:90%;	
	max-width:90%;
	max-height:90%;
	min-width:10em;
	display: block;
	margin-left: auto;
   margin-right: auto; 

}

/* sidebar menu */
aside ul.sidemenu {
	list-style:none;
	margin: 1em 0 1.5em 0;
	padding: 0;
	background: #F2F2F2;			
}
aside ul.sidemenu li {
	padding: 0px 10px;
}
aside ul.sidemenu a {
	display:block;
	font-weight:normal;
	color: #333;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D4D4D4;
	text-decoration:none;
}
aside ul.sidemenu a.top{	
	border-top: .1em dashed #D4D4D4;
}

aside ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: .5em solid  #65944A;
	color: #65944A;		
}

aside ul.sidemenu a.active {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #65944A;
	color: #65944A;		
}

/* videos */
video {
	display: block;
	margin: 0 auto;
	width: 95%;
	min-width: 270 px;
}

@media all and (max-width:36em) {
	aside{
		-webkit-flex: 1 1 100%;
		flex: 1 1 100%;
			}
	iframe {min-width:250px; max-height: 200px;} 
	body{	background: #FFF url(../bilder/bg_small.jpg) repeat-x;}
	
	article img {max-width: 90%;}

	nav{
		padding: 0.35em 0em;
	}

	.Rtable--collapse > .Rtable-cell {
    width: 100% !important;
  }
	.Rtable--collapse {
    display: block;
    margin: 0 0 0 0;
  }
	header h1#logo {
	font: bold 2em 'Trebuchet MS', Sans-serif;
	top: 0em; left: 1.6em;
	}	

	header #slogan {
	position: absolute;	
	font: bold .9em 'Trebuchet Ms', Sans-serif;
	top: 2.8em; left: 5.3em;
	}
	
	header{
	height: 5em;
	margin: 1em 0em 0 1em;
	}
	
	header img#logo {
	height: 40px;
	}

	header img#flag {
	height: 10px;
	}
	.headerphoto {
	max-width: 66em;
	max-height: 5em;
 	background-size: auto auto;
	-webkit-flex: 1 100%;
	flex: 1 100%;	
}

	.headerphoto_small {
	max-width: 66em;
	max-height: 5em;
 	background-size: auto auto;
	-webkit-flex: 1 100%;
	flex: 1 100%;	
}
}

/* start footer */

footer {
	clear: both;
	margin: 0; padding: 0;
	font: normal .95em/1.6em 'Trebuchet MS', Tahoma, Arial, sans-serif;
	text-align: left;
	border-top: 1px solid #EAEAEA;
	margin: 0 auto;
	padding: 0 0 10px 0;
	-webkit-flex: 1 100%;
	flex: 1 100%;
	}

footer p {	margin-left: 0; float: right;}

footer a {
	text-decoration: none;
	color: #777;	
}
footer a:hover {
	text-decoration: underline;
	color: #333;
}

/* end footer */

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.gray  { color: #BFBFBF; font-style: italic;}



