* {
	margin: 0;
}
html, body {
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	font-family: arial,sans-serif;
	font: 12px/1.5 arial,  sans-serif;
	background-color: #D9D9D9;	
}
.wrapper {
	width: 1000px;
	text-align: left;
	background-color: white;
	margin: 0 auto;
}
.header {
	width: 1000px;
	height: 90px;
	padding-top: 40px;
	background-image: url(http://math.uni.lu/sl2r/2016/images/header.png);
}
.footer {
	width: 1000px;
	margin: 0 auto;
	background-position: bottom;
	background-image: url(http://math.uni.lu/sl2r/2016/images/footer.png);
	text-align: center;
	margin-top: 0px;
	font-size: 10px;
	height: 70px;
	clear: both;
}

/* Links */
a {
        color:#01A8DC;
        text-decoration:none;
}

a:hover{
	color:#424242;
}

/* layout for the header */
#unilogo{
        padding-left: 30px;
        float: left;
}

#unilu{
	width:80px;
	height:auto;
}

#headertext{
        padding: 34px 0px 0px 50px;
        float: left;
}

#headersub{
	float: left;
	padding-top: 20px;
	padding-left: 30px;
}

#headersub h1 {
	padding-top: initial;
}

#headersub p {
	font-weight: bold;
}

#lang {
  float: right;
  padding-top: 25px;
  padding-right: 30px; 
}

#conflogo{
	display: none;
        height: 100px; 
        padding: 25px 25px 0px 0px;
        float: right;
        text-align: right;
        font-size: 9pt;
}



/*layout for the navigation bar (the gray horizontal bar)*/
#bar{
        background-color:#848484;
        padding: 5px 0px 3px 0 ;
        margin-bottom: 30px;
}

#nav{
        color: white;
        padding: 0px 0px 0px 210px ;
        font-size:7pt;
}


#nav a {
        color:white;
        text-decoration:underline;
}

#nav a:hover {
	text-decoration: underline overline;
}




/* layout for the left menu */
#menu{
        float: left;
        width: 210px;
        clear:left;
        padding-left: 10px;
        margin-bottom:2em;
}
.floattitle {
	color:#848484;
	font-variant: small-caps;
	margin-bottom:.5em;
}
#support{
        float: left;
        width: 210px;
        clear:left;
        padding-left:10px;
}

#support ul li a {
}

img.support {
	vertical-align: middle;
}

#menu li a.active {
        color:black;
}

#menu li a.active:hover{
	color:black;
}

#menu li a {
        font-weight:bold;
        text-decoration:none;
        font-size: 12px;
}

.menumainpage a {
        font-weight:bold;
        text-align:center;
        text-decoration:none;
        width:150px;
        font-size: 14px;
}

.floattitle {
	color:#848484;
	font-variant: small-caps;
	margin-bottom:.5em;
}


/* layout for the real content of the page */
#textcontent{
        width: 770px;
        margin-left: 220px;
}
#content{
        height: 100%;
}

p{
        padding: 0px 20px 10px 0px;
}



h1,h2{
        color:		#848484;
        font-weight:	bold;
	padding-top:	1.5em;
}
h3,h4,h5,h6,h7,h8{
        color:		#848484;
        font-weight:	bold;
	padding-top:	1em;
}
#headersub h1 {
	font-size: x-large;
}

h1.first,h2.first,h3.first,h4{
	padding-top:	0em;
}


img{    border: 0px;}

ul{
        padding: 0px 0px 10px 0px;
        margin-left: 20px;
}

td {
	vertical-align:	top;
}


/* Main page */
.mainpagepicture {
	text-align: center;
	margin-top: 40px;
}

.mainpagepicture img {
	max-width: 500px;
}




/* some special CSS rules for the member page with the images...*/
div.member{
	width: 200px;
	text-align: center;
}

.member img{
	border:0.5mm solid #848484;
}

.member img:hover {
	border: 0.5mm solid #01A8DC;
}

.floatleft, .startleft {
	float:	left;
	margin-right:	40pt;
}

.startleft {
	clear:	left;
}


/*special class for emailaddress obfuscation */
.removeme {
  display: none; 
}


h2,h3 {
        border-bottom-color: #01A8DC;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	margin-bottom: 1em;
}

.no {
	text-decoration: line-through;
}

.yes {
	font-weight: bold;
}

.maybe {
	font-style: italic;
}

.updated {
	color: red;
}


/* Participants list */
.lastname {
	font-weight: bold;
}

.lastname:after {
	font-weight: normal;
	content: ',';
}

.firstname {
}

.affiliation {
	padding-left: 10px;
	font-style: italic;
}

.affiliation:before {
	content: '(';
}

.affiliation:after {
	content: ')';
}

/* Schedule */
.schedule .time {
	padding-left: 15px;
	padding-right: 15px;
	text-align: center;
}

.schedule .event {
	padding-bottom: 10px;
}

.schedule .speaker {
	font-weight: bold;
}

.schedule .title {
	font-style: italic;
}

.room {
	font-size: 80%;
	color: black;
	margin-left: 15px;
}

.room:before {
	content: '(';
}

.room:after {
	content: ')';
}

/* Abstracts */
ul.abstracts span.speaker_name {
  font-weight: bold;
}

ul.abstracts p.title {
  font-size: 1.25em;
  font-weight: bold;
  font-style: italic;
}

ul.abstracts p.speaker, 
ul.abstracts p.title, 
ul.abstracts p.abstract {
  margin-bottom: .1em;
}

ul.abstracts li {
  position: relative;
  padding-bottom: 1.5em;
}

/* Responsive stuff */
@-ms-viewport {
	width: device-width;
}
@viewport {
	width: device-width;
}
@media (max-width: 1020px) {
	/* Simplify the basic layout */
	body {
		background-color: white;
	}
	#bar {
		display: none;
	}
	#menu {
		display: block;
		background-color:#848484;
		padding: initial;
		margin-bottom: initial;
		float: none;
		width: auto;
		clear: both;
	}
	#menu .floattitle {
		display: none;
	}
	#menu ul {
		list-style-type: none;
		overflow: hidden;
		padding: initial;
		margin: initial;
	}
	#menu li {
		float: left;
	}
	#menu li a {
		color: white;
		display: block;
		padding: 8px 16px;
	}
	.pastsessions {
		display: none;
	}
	#support {
		display: none;
	}
	#textcontent{
		width: auto;
		margin: 10px;
	}
	.wrapper {
		width: auto;
	}
	.header {
		width: auto;
		background-image: none;
		padding-top: 15px;
	}
	.footer {
		display: none;
		width: auto;
		background-image: none;
	}
}
@media (max-width: 500px) {
	#headersub {
		clear: both;
	}
	#unilu{
		width:50px;
		height:auto;
	}
	#lang {
		padding-top: 15px;
	}
	.mainpagepicture img {
		width: 100%;
	}
	.affiliation {
		padding-left: initial;
		font-style: italic;
		display: block;
	}
	.affiliation:before {
		content: '';
	}
	.affiliation:after {
		content: '';
	}
	.room {
		margin-left: initial;
		display: block;
		text-align: right;
	}
	.room:before {
		content: '';
	}
	.room:after {
		content: '';
	}
}

@media all {
	.page-break {
		display: none;
	}
}
