/* ---------------------------------- Color Settings --------------------------------------*/

/* Primary 500 */
#page-header {
        border: 20px solid #dabf94;
        border-radius: 5px 5px 0 0;
        background-color: #dabf94;
        /* lila background-color: #edd8ed;*/
}

#menulink:not(.active) {
  color: rgba(0,0,0,0.87);
}

.active, #menulink:hover:not(.active){
        font-weight:400;
        text-decoration: underline;
}

#secondaryColumn {
    /*background-color: #dabf94;
    Versuch */
    padding: .5em;
}


.notColored {
    background-color: transparent;
}

.innerSide {
    border-radius: 5px;
    background-color: #dabf94;
    padding: 1px 0.5em;
    padding-bottom: 1em;
    margin-bottom: 4em;
}

#footer {
    color: #4b391b;
}

/* Primary 900 */
.sideborder, .dropdown:hover {
	background-color: #F5BE73   ;
}

#footer {
    background-color: transparent  ;
}

/* Accent Color */
input[type=submit], a {
	color: #800000;
}

a {
    text-decoration: none;
}
/* ------------------------------- Images --------------------------- */
.image {
	border-radius: 0;
	border: 0;
	display: none;
	position: relative;
}

	.image img {
		border-radius: 0;
		display: block;
	}

	.image.left, .image.right {
		max-width: 30%;
	}

		.image.left img, .image.right img {
			width: 100%;
		}

	.image.left {
		float: left;
		margin: 0 1.5em 1em 0;
		top: 0.25em;
	}

	.image.right {
		float: right;
		margin: 0 0 1em 1.5em;
		top: 0.25em;
	}

/* ----------------------------------- General Settings ----------------------------------- */

body {
	margin: 0px;
	font-family: 'Lato', sans-serif;
        font-weight: 300;
        background-color: #f7f1e7;
        font-size: 100%;
        /*background-image: linear-gradient(#ffcf73, #ffbe40);*/
	}
	
p {
}
#content-container a:not(.underlinedText) {
	text-decoration: underline;
        font-weight:400;
}

.underlinedText {
    text-decoration:none;
    color:black;
    font-weight:300; 
    background-position: 0 14px; 
    background-size: 1px 1px ;
    background-image: linear-gradient(#fff 50%, #000000 50%) ;
    background-repeat: repeat-x ;
}

h1, h2{
        font-family: 'Source Sans Pro', sans-serif;
	color: rgba(0, 0, 0, 0.87);
}
h1 {
	 font-size: 2.42rem;
	 font-weight: 300;
	 padding: 0px;
	 margin:0px;
	 padding-top: 1rem;
	 padding-bottom: 1rem;
 }

h3 {
	 font-size: 1.14em;
	 font-weight: 300;

 }
h2 {
	font-size: 1.43rem;
	font-weight: 400;
}

.wrapper {
        padding: 0px 1em;
	margin: 0px;
}

#fullSize {
    width:80em;
        max-width:calc(100% - 2em);
        background-color: white;
        margin: auto;
}

#content-container {
	padding-top: 1em;
	padding-bottom:50px;
	min-height: 700px;
        width:80em;
        max-width:calc(100% - 2em);
        margin:auto;
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
	background-color: white;
	}


#secondaryColumn {
	-webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
	-moz-box-flex: 1;         /* OLD - Firefox 19- */
	width: 25%;               /* For old syntax, otherwise collapses. */
	-webkit-flex: 1;          /* Chrome */
	-ms-flex: 1;              /* IE 10 */
	flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
	display: none;
	padding-left: 30px;


}

#mainColumn {
	width: 75%;
        padding-right: 1em;
}

.news-border {
	width: 100%;
	height: 1px;
	margin: 10px auto;
	background-color: rgba(0, 0, 0, 0.12);
}

.secundaryText {
	color: rgba(0, 0, 0, 0.54);
}

table {
    border-collapse: collapse;
    margin-right: 8px;
    display:none;
    font-weight: 300;
}

.textflow {
	width:100%;
}
tr {
    min-width: 100%;
		border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.expandable {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}
td, th {

    text-align: left;
    padding: 16px 8px;
    padding-left: 0px;
}

td a {
    display: block;
    height: 100%;
}

th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    color: rgba(0, 0, 0, 0.54);
    font-weight: normal;
    padding-bottom:8px;

}
tr:nth-child(even) {background-color: rgba(0, 0, 0, 0.0)}
tr:hover {
    background-color: rgba(0, 0, 0, 0.12);
}

th {
    background-color: #f8f8f8;
}

.hiddenRow, .hiddenRow:hover {
	border-top: none;
	background-color: transparent;
}

.contact-info {
	display: none;
	position:absolute;
	background-color: #f9f9f9;
    	min-width: 160px;
    	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	padding: 3px;
}

.contact-icon:hover .contact-info {
	display: block;
}

.contact-info>p{
	color: black;
	padding: 1px;
	margin:1px;
}
/* ------------------------------------------ Header ------------------------------------------ */
#partnersContainer {
	display: inline;
}

#page-header {
	color: rgba(255, 255, 255, 0.87);
	background-repeat: no-repeat;
        width:calc(80em - 40px);
        max-width:calc(100% - 2em - 40px);
        margin:auto;
        text-align: center;

}

#page-header a {
	color: rgba(0, 0, 0, 0.87);
}

#page-header #logo {
	width: 50px;
}

/* ------------------------------------------ Menu ------------------------------------------ */

#menuList {
    list-style-type: none;
	margin: 0;
    padding: 0px /*calc((100% - 80em)/2)*/;
    overflow: hidden;
    text-align:center;
    left:50%;


}

#menu {
    text-align: center;
}
#menulink, .dropbtn {
        font-family: 'Source Sans Pro', sans-serif;
        font-size:1.3em;
        text-align: center;
        padding: 14px 1.2em 16px 0px;
        
	text-transform: capitalize;
	/*font-weight: 700;*/
        float: left;
	background-color:none;
	margin: 0px;}

#menulink:not(.active) {
    text-decoration: none;
}
/*
#menulink, #menulink:hover:not(.active) {
	color: rgba(255, 255, 255, 0.87);
}
*/

.dropdown-content {
	z-index: 1;
	width: 100%;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	left: 0px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	text-transform: capitalize;
}

.dropbtn {
	background-image:url(../img/menu.png);
	background-repeat: no-repeat;
	background-position: center;
        background-color: inherit;
        font-size: inherit;
	font-family: inherit;
        border: none;
        cursor: pointer;
	text-align: center;
	margin: 0.5em;
	outline: none;
        width: 2em;

}

.dropdown-content a:hover {background-color: #f1f1f1}

.show {
	color: red;
	display:block;}


/* ----------------------------------------- Gallery ------------------------------------------ */

#slideshow {
	padding: 0px;
	position: relative;
}
#imageWrapper {
}
#slideshow img {
	margin: auto;
	max-height: 200px;
	}

#captions {
	padding-top: 10px;
	position: absolute;
	bottom: 0px;
	right: 0px;
	width: 100%;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.8);
	visibility: hidden;
	}

#slideshow:hover  #captions{
	visibility: visible;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* ------------------------------------------ Footer ------------------------------------------ */
#footer {
	padding-top: 10px;
	padding-bottom:10px;
	bottom: 0px;
	/*color: rgba(255, 255, 255, 0.87);*/
}

#footerLink {
	/*color: rgba(255, 255, 255, 0.87);*/
}
#footer > p {
	padding: 0px;
	margin: 0px;
	text-align: center;
}
#footer > h3 {
	text-align: center;
	font-weight: 500;
}

#footer > a {
        display: block;
        /*color: rgba(255, 255, 255, 0.87);*/
        text-align: center;
}
/* ------------------------------------------ Resources ------------------------------------------ */
.listcontainer  {
	width: 100%;
}

#explist .notexpandable li {
	cursor: default;
	width: 100%;
}
.listContainer ul {
	list-style-type: none;
    margin: 0;
    padding-left: 0%;
    overflow: hidden;
	background-color: inherit;
}

.innerList ul{
	list-style-type: disc;
	padding-left: 5%;
	width: 100%;
	cursor: default;
}



.innerList li {
    line-height:110%;
    text-indent:0px;
    background-position: left top;
    background-repeat: no-repeat;
	padding-right: 0px;
	width: 100%;


}
.innerList h3 {
	background-position: right center;
    background-repeat: no-repeat;
	width: 100%;
	cursor: pointer;
}


.innerList .collapsed  h3 {
	 background-image: url(../img/down.png);
}
.innerList .expanded h3{
    background-image: url(../img/up.png);

}

#epoche {
	background-image: none;
	font-size: 1em;
	font-weight: 500;
	padding-left: 1em;
}
/* ------------------------------------------ Index ------------------------------------------ */
#partner-container {
	display: inline-block;
	width: calc(50% - 9*4px);
        min-width: 9em;
        max-width: 12em;
	padding-left:8px;
	padding-right:8px;
	padding-top: 12px;
	text-align: center;
	vertical-align: top;
}

.partnerImage {
    max-width: 100%;
}

.news-entry-side {
    padding: 0 1em;
}

.news-entry-side > h3 {
    padding-top:0;
    margin-top:0;
    padding-bottom:.1em;
}

.news-entry-side > p {
    margin-bottom:.25em;
    padding-top: 0.1em;
}

.news-entry-side:hover{
    background-color: rgba(0, 0, 0, 0.12);
    cursor:pointer;
}
/* ------------------------------------------ Filters ------------------------------------------ */
#filters {
	display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
}

#filters ul {
	list-style-type: none;
    margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;
    padding-left: 5%;
    overflow: hidden;
}

#filters li {
	display: block;
	padding: 5px 0px;
}
input[type=submit] {
    padding:10px 5px;
    background:none;
    border:none;
    cursor:pointer;
	outline: none;
	text-transform: uppercase;
	float: left;
	margin: 1em 1em;
            font-weight: bold;
}

input[type=submit]:hover {
	background-color: rgba(0, 0, 0, 0.12);
}

input[type=submit]:active {
	background-color: rgba(0, 0, 0, 0.4);
}
 #secondaryColumn  h3 {
	display: block;
 }

.dropdownSelect {
  width: 100%;
  margin-top: 1em;
  max-width: 16em;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.24);
  background-color: transparent;
  font-size: 1em;
	font-family: 'Lato', sans-serif;
        font-weight: 300;}

.dropdownSelect option {
      max-width: 100% !important;
      background-color: white;
  font-size: 1em;
	font-family: 'Lato', sans-serif;
        font-weight: 300;
  }

  #filters h2 {
  margin:0;
  }
  
  
  #filters h3 {
    margin-bottom:0px;
  }
/* --------------------------- Variations for different screen sizes --------------------------- */
.mobileInvisible  * {
	display: none;
	}

.mobileInvisibleInline  * {
	display: none;
	}

#mainColumn {
	width: 100%;
}

@media only screen and (min-width: 900px) {
    /* For tablets: */
        .innerList ul:not(#nostyle){
            list-style-image: url(../img/coin.png);
        }

	#nostyle {
		list-style-image: none;
	}

	.textflow { 
		width: auto;
	}
	.mobileOnly  *{
		display: none;
	}
	.mobileInvisible *{
		display: block;
	}
	.mobileInvisibleInline *{
		display: inline;
	}
	.image {

		display: inline-block;
	}

	#slideshow img {
		max-height: 400px;
	}

	#page-header #logo {
		width: 100px;
		margin: auto;
	}
	
	#page-header {
            margin-top:20px;
        }

	/*.wrapper {
	padding: 0px 15%;
}*/
	#mainColumn {
		width: 75%;
	}
        #secondaryColumn {
            display:block;
        }
        table {
            display: table;
        }
        #partner-container {
            width: calc(25% - 9*4px);
            min-width: 10em;
            max-width: 12em;
            padding-left:16px;
            padding-right:16px;
        }
	.Institution * {
	  display: block;
}


}
.underlinedText {
    text-decoration:none;
    color:black !important;
    font-weight:300; 
    background-position: 0 14px; 
    background-size: 1px 1px ;
    background-image: linear-gradient(#fff 50%, #000000 50%) ;
    background-repeat: repeat-x ;
}

