@charset "UTF-8";
/* CSS Document for hydrologicalatlas.ch - teaching material */
/* delete?
#subsite_menu  ul ul {width: 380px; border-width: thin; border: thin ridge; border-color: #E8E8E7;}
#subsite_menu ul li {padding: 7px 10px; color: #E8E8E7; font-weight: bold; border-width: thin; border-bottom: thin ridge; border-color: #E8E8E7;}
#subsite_menu ul li.hover,
#subsite_menu ul li:hover {background: #aaa; color: #fff;}
#subsite_menu ul a:link,
#subsite_menu ul a:visited {color: #fff; text-decoration: none;}
#subsite_menu ul a:active {color: #ffa500;}
*/


p, table, ul {font-weight:400; line-height:18px;
	margin-left: 0px; margin-right:0px; margin-bottom:1em; }

	/*Listenformatierung*/
ul, ol{display:inline-block; padding-left:20px; list-style-type:square; list-style-position:outside; list-style-color:#0A6289;} 


/*Menus*/
#tm_subsite_menu {position: relative; float:left; width: 227px;font-family: 'Fira Sans Extra Condensed', sans-serif;}
#tm_subsite_menu ul,
#tm_subsite_menu ul li,
#tm_subsite_menu ul ul {display: block; position: relative; list-style: none; margin: 0; padding: 0; border: 0; height: 17px;}
#tm_subsite_menu  ul ul {width: 380px; border-width: thin; border: thin ridge; border-color: #E8E8E7;}
#tm_subsite_menu ul li {padding: 3px 1px 1px 10px; color: #E8E8E7; font-weight: 300; border-bottom-style: solid; border-bottom-width: 1px; border-color: #E8E8E7;}
#tm_subsite_menu ul li.hover,
#tm_subsite_menu ul li:hover {color: #fff;}
#tm_subsite_menu ul a:link,
#tm_subsite_menu ul a:visited {color: #fff; text-decoration: none;}
#tm_subsite_menu a:hover,
#tm_subsite_menu a:active,
#tm_subsite_menu a.active,
#tm_subsite_menu li:hover,
#tm_subsite_menu li:active {background-color:#ad112b;}

/** Menu colors: **/
.tm_menu1{background-color:#0A6289;}
.tm_menu2{background-color:#0A6289;}
.tm_menu3{background-color:#0A6289;}

/*Boxen für Inhalte*/
#subsite_wrapper.themes{width: 921px;}
#colorbar.themes{width: 921px;}
#tm_contentbox{position:absolute; left:233px; top: 88px; height: 746px; width: 689px ;background-image: url(../images/linie_1px.png); background-repeat:repeat; overflow:visible;}
#tm_contentbox.module, #tm_contentbox.themes{display: inline;}
#tm_contentbox.module div:nth-child(3n+3){margin-right: 0px;}
#tm_contentbox.themes div:nth-child(4n+4){margin-right: 0px;}

#tm_contentbox.themes{width: 921px;}
#tm_contentbox p{line-height:22px}
#tm_titlebox{position: absolute; margin-left: 233px; height:87px;}
#tm_titleimg{position: absolute; margin-top: 13px; height:38px; width:454px;}
#tm_titletxt{position: absolute; margin-top: 13px; left: 459px; height:13px; width:454px;}
#sig{margin-top:46px; margin-left: 10px; color: #000;}
#sig img{vertical-align:middle}
#sig p{position: absolute; left: 31px; top: 50px;}
#rhein p, #rhone p, #po p, #donau p{ font-weight: bold; text-align: center; line-height: 22px; font-size: 16px;}
#rhein{width: 100px; color: #5FC6F1; position: absolute; top: 50px; left: 193px;}
#rhone{width: 100px; color: #8F97CB; position: absolute; top: 424px; left: 0px;}
#donau{width: 100px; color: #F6AB5C; position: absolute; top: 314px; left: 557px;}
#po{width: 100px; color: #BB7EB4; position: absolute; top: 424px; left: 483px;}
#imgmap{position: absolute; top: 46px;}
#figtitle{position: absolute; top: 515px; left: 10px; color: #000;}
#figtitle p{font-style: italic;}
#chart{position:absolute; left: 524px; top: -8px}
.mtbox{position:relative; top: 22px; height: 330px; float: left; margin-right: 5.5px; }
#theme{width: 226px;}
#module{width: 335px;}
#image_tm{position:absolute; top: 0px; left: 44px; width: 181px; height: 220px;}
#quad_tm{position:absolute; top: 220px; left: 0px; width: 44px; height: 44px; background-color: #004D73; }
#legende_txt, #module_title {font: bold 13px/22px Arial,Helvetica,sans-serif; }
#module_title{position: absolute; left: 46px; top: 227px; width: 179px; height: 44px;}
#legende_txt{position: absolute; top: 270px; width: 225px; height: 66px; color: #004D73;}
#start{position:relative; top: 29px; float: left; }
#start p{line-height: 22px; }
#tm_inactive{width: 100%; height: 100%; z-index: 9; }
#tm_subtitle{position: absolute; margin-top: 13px; height:38px; width:454px; left: 464px; top: 21px; font: bold 13px/22px Arial,Helvetica,sans-serif; z-index: 1; }
#themen_legtitel{position:relative; top: 31px; float: left; width: 921px; color: #0A6289; }
#themen_legende{position:relative; top: 36px; width: 921px; height: 123px; float: left; }
#leg_sig{width: 100.5px; height: 88px; margin-left: 13px; float: left; color: #0A6289; }
#leg_sig p{text-align: center}

/* leere Boxen */
#tm_fillbox{position:absolute; top: 0; height:100%; background-image: url(../images/linie_1px.png); background-repeat:repeat; overflow:visible;}
.fbr{right:0; width: 228px;}
.cbt{left:0;  width: 228px;}
.flhw{left:0; width: 228px; height:24px; background-color: #fff; z-index:9}

/* Maps and Legends*/
/* colorbar */
#colorbar_tm{position:absolute; vertical-align:top; top: 0px; height: 220px; width:44px; display: inline-block; z-index:20;}
	/** colors for themes **/
	.cbtm1{background:linear-gradient(to top, #008D46, #fff);}
	.cbtm2{background:linear-gradient(to top, #ECC500, #fff);}
	.cbtm3{background:linear-gradient(to top, #C9742C, #fff);}
	.cbtm4{background:linear-gradient(to top, #995F94, #fff);}
	.cbtm5{background:linear-gradient(to top, #CD522A, #fff);}
	.cbtm6{background:linear-gradient(to top, #D5790B, #fff);}
	.cbtm7{background:linear-gradient(to top, #DBA300, #fff);}
	.cbtm8{background:linear-gradient(to top, #E1CC00, #fff);}
	.cbtmb{background:linear-gradient(to top, #437C98, #fff);}	
	.cbtmgrey{background:linear-gradient(to right, #9B9B90, #fff);}
	.cbtmblue{background:linear-gradient(to right, #004D73, #fff);}
/* Farbdefinition für Modul-Titel */
.mod_tit1{color:#008D46;}
.mod_tit2{color:#ECC500;}	
.mod_tit3{color:#C9742C;}
.mod_tit4{color:#80A6B9;}
.mod_tit5{color:#80A6B9;}
.mod_tit6{color:#80A6B9;}
.mod_tit7{color:#80A6B9;}
.mod_tit8{color:#80A6B9;}
.mod_tit9{color:#80A6B9;}	

.inaktiv{pointer-events: none; cursor: default;}


/* Accordion für Glossar */

article.accordion
{
	display: block;
	padding: 0em;
	margin: 0 auto;
}

article.accordion a
{
	border-radius: 0 em;
	cursor: pointer;
	display: block;
	margin-top: .5em;
	margin-bottom: 0em;
	padding: .05em 0.5em;
	z-index: 20;
}

article.accordion a:hover,
article.accordion section:target a
 {
	background: #0A6289;
	color: white;
}

article.accordion section:target
{
	display: block;
	padding: 0 0em;
	margin: 0 0 0.5em 0;
	background: #e5edf1;
	overflow: hidden;
}
article.accordion section
{
	height: auto;
}

article.accordion p
{
display: none;
padding: 1.7em 0.5em;
line-height: 1.7;
margin:0;
}

article.accordion section:target a,
article.accordion section:target p,
article.accordion section:target ul.lang
{
	display: block;
	height: auto;
}

ul.lang{
  float: right;
  list-style-type: none;
  display:none;
}

article.accordion section:target a.active
{
background: #ad112b;
}

li.lang{
  float: left;
  list-style-type: none;
  padding-left: 5px;
  margin: 0;
}

/* Lernmedium */
#tm_contentbox{left:233px; top: 88px; height:100%; width: 689px ;background-image: url(../images/linie_1px.png); background-repeat:repeat; position:absolute; overflow:visible;}
#tm_titlebox{position: absolute; margin-left: 233px; height:87px;}
#tm_titleimg{position: absolute; margin-top: 13px; height:38px; width:454px; background-image: url(../images/titel_lern.png);background-repeat: no-repeat;}
#tm_titletxt{position: absolute; margin-top: 13px; left: 459px; height:13px; width:454px;}
#sig{margin-top:49px; margin-left: 10px; color: #000;}
#sig img{vertical-align:middle}
#sig p{vertical-align:middle}
#rhein p, #rhone p, #po p, #donau p{ font-weight: bold; text-align: center; line-height: 22px; font-size: 16px;}
#rhone{width: 100px; color: #8F97CB; position: absolute; top: 424px; left: 0px;}
#donau{width: 100px; color: #F6AB5C; position: absolute; top: 314px; left: 557px;}
#po{width: 100px; color: #BB7EB4; position: absolute; top: 424px; left: 483px;}
#imgmap{position: absolute; top: 46px;}
#figtitle{position: absolute; top: 512px; left: 10px; color: #000;}
#figtitle p{font-style: italic;}
#chart{position:absolute; margin-left: 524px; margin-top: -99px}


#imagebox {position: absolute; top: 0; height: 100%; background-position: center; background-repeat: no-repeat; background-color: #e5edf1;}
.right_2 {left: 928px; width: 227px;}
.right_3 {left: 812px; width: 343px;}
.right_4 {left: 464px; width: 691px;}
.home {background-image: url(../images/home.jpg);}
.aboutus {background-image: url(../images/aboutus.jpg);}
.actuell {background-image: url(../images/news.jpg);}
.contact{background-image: url(../images/contact.jpg);}
.links{background-image: url(../images/links.jpg);}
.projects{background-image: url(../images/produkte.jpg);}
/* Maps and Legends*/
#map{width: 924px; height: 650px; overflow: hidden}
#map_legend{position: absolute; float:left; top: 125px; width:228px; height:540px; background-color: white;}

#fuss {position:relative; margin-top:5px; margin-bottom:5px;	width:100%; height:169px;}
#field_grey_left  { position: absolute; width: 227px; height: 169px; background-color: #E8E8E7;}
#field_grey_right{ position: absolute; left: 928px; width: 227px; height: 169px; background-color: #E7E7E7;}
#logo_unibe_box	{position: absolute; left: 232px; width: 227px; height: 169px; background-color: #E7E7E7;} 
#logo_unibe	{position: relative; margin-left: 10px; margin-top: 7px; height: 154px; background-image: url(../images/logo_unibe.svg); background-size: contain; background-repeat: no-repeat;} 
#logo_bafu_box	{position: absolute; left: 464px; width: 459px; height: 169px; background-color: #E7E7E7;} 
#logo_bafu	{position: relative; margin-left: 10px; margin-top: 107px; height: 52px; background-image: url(../images/logo_bafu.svg); background-size: contain; background-repeat: no-repeat;} 
#disclaimer {position: relative; width: 459px; height: 25px; z-index: 2;}


/* Style for subsites - HADES products */
#subsite_wrapper{
	width:922px;
	height: 100%;
}

#subsite_wrapper_dp{
	width:1156px;
	height: 100%;
}

#subsite_first_row{display: block; width:100%; margin-bottom:5px;}
#tm_subsite_first_row{display: block; width:100%; height: 100%; margin-bottom:3px;}
/* Titel */
#subsite_menu_title {padding-left:10px; vertical-align:top; width: 217px; height: 18px; background: #4d91ac; display: inline-block;}
#subsite_menu_title p {color: #fff;}
/*** Farbbalken: ***/
#colorbar{position:absolute; vertical-align:top; left: 232px; height: 18px; width:692px;  display: inline-block; z-index:20;}
#colorbar_map{position:absolute; vertical-align:top; left: 232px; height: 18px; width:100%;  display: inline-block; z-index:20;}

/* #textbox_da_6 {position: absolute; left: 232px; width: 692px; background-color: #e5edf1; overflow:auto;}*/
#textbox_da_6 {margin-right:70px; float:right; top: 0; width: 550px; overflow: visible; display: inline-block;}
#textbox_da_8 {margin-right: 0px; float:right; top: 0; width: 924px; overflow: visible; display: inline-block;}
#textbox_da_6 p {margin-top: 1em;}
#fillbox{top: 0; height:100%; background-color: #e5edf1; position:absolute; overflow:visible;}
#tm_fillbox{top: 0; height:100%; background-image: url(../images/linie_1px.png); background-repeat:repeat; position:absolute; overflow:visible;}
.fbr{right:0; width: 228px;}
.cbt{left:0;  width: 228px;}
.flhw{left:0; width: 228px; height:24px; background-color: #fff; z-index:9}


#textbox_ex_c2{margin: 0px;top: 0; width: 270px; background-color: #fff; overflow: visible; display: inline-block;}
.col_left{float:left; padding-right: 10px;}
.col_right{float:right;}
#textbox_ex_c1{margin: 0px;top: 0; width: 560px; background-color: #fff; overflow: visible; display: inline-block;}


/* Custom CSS 4 subsite menu Styles */
/*#tm_subsite_menu ul a:active {color: #ffa500;}
*/
/*** Menüfarben: ***/
/*Lernmedium*/
.tm_menu1{background-color:#0A6289;}
.tm_menu2{background-color:#0A6289;}
.tm_menu3{background-color:#0A6289;}

/* Lightbox */

/* Styles the lightbox, removes it from sight and adds the fade-in transition */
/*#lightbox{position: absolute; width: 100%; z-index:-900; text-align: center;margin:0; display:none;}
#lightbox-wrapper{width: 1156px; height: 750px; z-index:910; text-align: center;}*/

.lightbox-target {
display:none;
position: fixed;
width: 100%;
left:0;
background: rgba(0,0,0,.7);
overflow: hidden;
text-align: center;
text-align: -moz-center;
text-align: -webkit-center;
z-index: -99;
}

/*.lightbox-target div{
position: fixed;
width: 100%;
}*/

.lightbox-navigation {
width:1100px;
height:44px;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
background-color: #4d91ac;
}

/* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */

.lightbox-target iframe {
max-height: 0%;
max-width: 0%;
border: 6px solid #4d91ac;
box-shadow: 0px 0px 8px rgba(0,0,0,.3);
box-sizing: border-box;
background-color: white;
}

/* Styles the close link, adds the slide down transition */
a.lightbox-close {
width:47px;
height:47px;
box-sizing: border-box;
background-image:url(/assets/buttons/close.png);
text-decoration: none;
position: absolute;
}

a.lightbox-left {
display: block;
margin: 10px;
width:24px;
height:24px;
box-sizing: border-box;
background-image:url(/assets/buttons/left.png);
text-decoration: none;
position: absolute;
}

a.lightbox-right {
display: inline;
margin: 10px;
float: right;
width:24px;
height:24px;
box-sizing: border-box;
background-image:url(/assets/buttons/right.png);
text-decoration: none;
}

.lightbox-title{
position: relative;
float:left;
margin: 12px 10px 10px 60px;
color: whitesmoke;
font-family: sans-serif;
}

/* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */
.lightbox-target:target {
display:block;
z-index: +99;
opacity: 1;
top: 0;
bottom: 0;
}

.lightbox-target:target iframe{
margin-top: 5%;
max-height: 100%;
max-width: 100%;
}

.lightbox-target:target a.lightbox-close {
top: 5%;
left: calc(50% + 550px);
}

/** Modals **/

.overlay {
  z-index: 99;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.75);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 0px auto;
  background: #fff;
  /*padding: 20px;
  border-radius: 5px;*/
  width: 1280px;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
    position: absolute;
    top: 0px;
    left: 0px;
    padding-left: 15px;
    padding-top: 5px;
    transition: all 60ms;
    font: 17px Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-decoration: none;
    color: #fff;
    width: 70px;
    height: 25px;
    background-color: #8e1d28;
}

.popup .close:hover {
  background-color: #244f73;
}
.popup .content {
  overflow: auto;
  height: 900px;
}

/*@media screen and (max-width: 700px) {
 .popup {
    width: 70%;
  }
}*/
/** end modals **/
/** iframe **/
.popup iframe { 
	margin:0; 
	padding:0; 
	display:block; 
	border:none;
	}

/*#btn_iframe_home a {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 85px;
    height: 30px;
    background-color: #8e1d28;
    cursor: pointer;
	font-size: 15px;
	font-weight: normal;
}

#btn_iframe_home:hover a {
    background-color: #244f73;
}
*/

/* Fig award lernmedium */
#figaward {
    /* position: absolute; */
    top: 396px;
    height: 47px;
    width: 148px;
    margin-left: 774px;
    margin-top: 13px;
    background-image: url(../images/wd_award2016.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#figaward1 {
    /* position: absolute; */
    top: 396px;
    height: 47px;
    width: 148px;
    margin-left: 541px;
    margin-top: 13px;
    background-image: url(../images/wd_award2016.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#figaward2{
    /*position: absolute; 
    top: 396px;*/
    height: 47px;
    width: 148px;
    margin-left: 774px;
    margin-top: 13px;
    background-image: url(../images/wd_award2016.png);
    background-size: contain;
    background-repeat: no-repeat;
}