/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

i {
	font-style: italic;
}

/* 
body {
	background:url(../i/grid.png) center repeat-y;
}
*/

.top-nav {
	margin-top: .5em;
	text-align:right;
}

header {
	background-color:rgb(240,127,65);
	border-bottom: 4px solid rgba(238,111,41, 0.5);
	color: #FFF;
}

header div.logo {
	height: 125px;
	line-height: 125px;
	float: left;
}

header div#logo-no {
	float:right;
}

header div.logo img {
	height: 50px;
}

header div.logo span {
	display: inline-block;
}

header div.logo img, header div.logo span {
	vertical-align: middle;
}

.header-text {
	font-family: Arial, Helvetica, sans-serif;
	padding-right: 1em;
}

table.termin {
	margin: 1em 0;
}

hr {
	display: block;
	margin: 3em auto;
    border-width: 1px;
    border-color: rgba(120,120,120,0.1);
}

th {
	text-align: left;
	padding-right: 1em;
}

#left-nav a {
	font-weight: 400;
	text-decoration: none;
	font-family: 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.box {
	margin: 1em -1em 0 -1em;
}

.box h5 {text-align: center;}

.box, p.notify {
	background-color: rgba(121,121,121,0.1);
	border-bottom: 3px solid rgba(121,121,121,0.2);
	padding: 1em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	        border-radius: 0.5em;
}

.half-margin {
	margin: 0.5em;
}

ul.list-square {list-style:square;}

div.content a {
	color: rgb(240, 127, 65);
	text-decoration: none;
	-webkit-transition: color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

div.content a:hover {
	color: #444;
	text-decoration: underline;
}

nav li {
	margin: 0;
}

nav a {
	background-color: #fbfafa;
	position: relative;
	display: block;
	margin: .125em -1em;
	padding: .25em 1em;
	outline: none;
	color: #333;
	font-weight: 700;
	text-decoration: none;
	/*text-transform: uppercase;*/
	letter-spacing: 1px;
	text-shadow: 0 0 1px rgba(255,255,255,0.3);
	-webkit-transition: color 0.3s, background-color 0.5s;
	-moz-transition: color 0.3s, background-color 0.5s;
	transition: color 0.3s, background-color 0.5s;
}

nav ul li:first-of-type > a {
	-webkit-border-top-left-radius: 0.5em;
	        border-top-left-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
			border-top-right-radius: 0.5em;
}

nav ul li:last-of-type > a {
	-webkit-border-bottom-left-radius: 0.5em;
	        border-bottom-left-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
			border-bottom-right-radius: 0.5em;
}

nav ul > li.scnd {
	border-top: 2px solid rgba(240, 127, 65, 0.5);
}

nav ul > li.scnd ~ li.scnd {
	border: none;
}

nav li.scnd a {
	padding-left: 1.5em;
	background-color: #fff;
	text-transform: none;
	margin-bottom: .5em;
}

nav li.scnd a:before {
	content: "\203A";
	color: rgb(240, 127, 65);
	position: relative;
	left: -0.5em;

	-webkit-transition: left 0.2s;
	-moz-transition: left 0.2s;
	transition: left 0.2s;
}

nav ul li.scnd a.active {
	color: rgb(240,127,65);
	background-color: #fff;
}

nav li a.active,
nav li a:hover,
nav li a:focus {
	outline: none;
	background-color: rgb(240,127,65);
	color: white;
}

nav li.scnd a:focus,
nav li.scnd a:hover {
	background-color: #fff;
	color: rgb(240,127,65);
}

nav li.scnd a:hover:before {
	left: -0.25em;
}

h1 {
	margin-bottom: 23px;
}

p.to-top {
	text-align: right;
	font-size: .75em;
}

p.to-top a {
	border: 0;
	color: rgba(240, 127, 65, 0.75);
}

.hide-on-large {
	display: none;
}

.img-right {
	border: 2px solid #fbfafa;
	float: right;
	margin: 0 0 .75em .75em;
}

.event {
	border-top: 2px solid rgb(242,242,242);
	margin-top: 3em;
	margin-bottom: 1rem;
	position: relative;
}

.event::before, .event:before {
	content: " ";
	display: block;
	font-size: .75em;
	position: absolute;
	right: 0;
	text-align: right;
	top: -1.8em;
	z-index: 2;
}

.event::after, .event:after {
	clear: both;
	content: " ";
	display: block;
}

.event h4 {
	line-height: 2em;
}

/* Events */
.conference {
	border-color: rgb(127,66,240);
}

.exhib {
	border-color: #666;
}

.paper {
	border-color: rgb(179,240,66);
}

.podium {
	border-color: rgb(18,154,226);
}

.workshop {
	border-color: #FF6666;
}

.conference::before, .conference:before {
	color: rgb(127,66,240);
	content: "Konferenz";
}

.exhib::before, .exhib:before {
	color: #666;
	content: "Ausstellung";
}

.paper::before, .paper:before {
	color: rgb(179,240,66);
	content: "Vortrag";
}

.podium::before, .podium:before {
	color: rgb(18,154,226);
	content: "Podiumsdiskussion";
}

.workshop::before, .workshop:before {
	color: #FF6666;
	content: "Workshop";
}

/* #Page Styles
================================================== */

body#home div.content h4 {
	border-bottom: 2px solid rgba(120,120,120,0.1);
	margin-top: 1em;
	margin-bottom: .75em;
	margin-right: -0.25em;
	margin-left: -0.25em;
	padding-top: 0.5em;
	padding-left: 0.25em;
	padding-right: 0.25em;
}

body#home div.content p ~ h4 {
	margin-top: 1.5em;
}

body#home div.content h4::before,
body#home div.content h4:before {
	content: ' ';
	clear: both;
	display: block;
	visibility: hidden;
	height: 0;
}

div#termine {
	margin-bottom: 1em;
}

div#termine div {
	padding:.5em 0;
}

/* Obsolet seit 18.01.2015 - :before */
/*
div#termine div.termin-datum.next {
	color:white;
	padding-left:.5em;
	margin-right:17px;
	margin-left:-7px;

	background-color:rgb(242,143,89);
	border-bottom: 2px solid rgba(238,111,41, 0.5);


	-webkit-border-radius: 3px;
	        border-radius: 3px;
}
*/

.termin-datum.next:before,
.termin-datum.next::before {
	content: '\25BA ';
	display: inline-block;
	color: rgb(242,143,89);
	font-size: .8em;
	width: 1.5em;
	margin-left: -1.5em;
  position: absolute;
}

#pubs h2 {
	margin: 0;
}

#pubs h3 {
	font-size: 1.25em;
	text-transform: lowercase;
	font-variant: small-caps;
	margin-bottom: 0em;
}

#pubs div.content h4, #pubs h3 {
	color: #666;
}

#pubs div.content h4 {
	font-size: 1.25em;
	margin-bottom: .75em;
}

#team div.content div.profile,
#team div.content div.profile-img {
	margin-top: 2em;
}

#team div.content div.profile-img p a img {
	height: 1.5em;
	float: left;
	border-bottom: none !important;
	display: block;
}

a.pub, a.pub:hover {
	box-shadow: none;
	border-bottom: none !important;
	display: block;
	margin: 0;
	padding: 0;
	color: rgb(68,68,68);
}

a.pub img {
	height: auto !important;
}

#team div.content div.profile-img img.portrait {
	margin-bottom: 1em;
	max-width: 100%;
	border: 0 none;
	-webkit-border-radius: .5em;
	        border-radius: .5em;
}

#team div.content div.profile-img p.cpt {
	color: grey;
	margin-top: -2em;
	padding: 0;
	font-size: x-small;
}

#team div.content div.profile h5 {
	clear:both;
}

#team div.content div.profile h6 {
	font-size: 1em;
	margin-top: .5em;
	font-style: italic;
	font-weight: normal;
	font-family: 'PT Serif', serif;
}

#team div.content div.profile ul, #presse div.content ul {
	margin: .5em 0 1em 1.5em;
	list-style: square;
}

#team div.content div.profile li {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.5em;
}

#mediathek h4 {
	margin-top: 2em;
}

 .spoiler {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 99999;
	opacity: 0;
	-webkit-transition: opacity 400ms ease-in;
	   -moz-transition: opacity 400ms ease-in;
	    -ms-transition: opacity 400ms ease-in;
	     -o-transition: opacity 400ms ease-in;
	        transition: opacity 400ms ease-in;
	pointer-events: none;
}

.trigger {
	font-size: .8em;
	border: none;
	position: relative;
	left: .5em;
	padding:inherit;
	margin:inherit;
}

.trigger.show {
	box-shadow: none;
	color: #fff;
	background-color:rgb(240,127,65);
	padding: 0 .5em;
	-webkit-border-radius: .25em;
	        border-radius: .25em;
	-webkit-transition: color 0.3s, background-color 0.3s;
	   -moz-transition: color 0.3s, background-color 0.3s;
	        transition: color 0.3s, background-color 0.3s;
}

.trigger.show:hover {
	color: rgb(240, 127, 65);
	background-color: rgb(255, 255, 255);
	text-decoration: none !important;
}

.spoiler:target {
	opacity: 1;
	pointer-events: auto;
}

.spoiler > div {
	display: block;
	max-width: 640px;
	position: relative;
	margin: 10% auto;
	border-radius: .5em;
	background: white;
}

.spoiler > div p.fallback {
	text-align: center;
	font-weight: 700;
}

.spoiler > div a.trigger.close {
	left: 1em;
	top: 1em;
	padding: .25em .5em;
	color: white;
	font-weight: 700;
	background-color: rgba(0, 0, 0, 0.25);
	-webkit-border-radius: .2em;
	        border-radius: .2em;
}

.spoiler > div a.trigger.close:after {
	content: " Close";
}

.spoiler > div a.trigger.close:hover {
	background-color: rgb(240,127,65);
}

.spoiler > div video.modalVideo {
	width: 640px;
	height: 400px;
	padding: 2em;
}

video {
	max-width: 100% !important;
	max-height: 100% !important;
}

.profile__pub-image {
  display:inline-block;
  width:32.5%;
  overflow: show;
}

/* #Media Queries
================================================== */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {

    .profile__pub-image {
      width:100%;
    }

		.hide-on-mobile {
			display: none;
		}

		.hide-on-large {
			display: inherit;
		}

		a.hide-on-large {
			display: inline;
		}

		header div.logo {
			height: auto;
			line-height: 1em;
			width: 48%;
			margin: 1em 1%;
		}

		header div.logo img {
			max-width: 100%;
			height: auto;
		}

		div#termine div.termin-datum {
			padding-left: .25em;
			background-color: rgba(60, 60, 60, 0.15);
		}

		div#termine div.termin-datum.next {
			margin-right: 10px;
			margin-left: 0;
		}

		div#termine div.termin-text {
			margin-bottom: .5em;
		}

	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		.spoiler > div {
			max-width: 480px;
			margin: auto;
		}

		.spoiler > div video.modalVideo {
			width: 480px;
			padding: .75em;
		}
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
		.spoiler > div {
			max-width: 320px;
			margin: auto;
		}

		.spoiler > div video.modalVideo {
			width: 320px;
			padding: .5em;
		}
	}


/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/
