/*reset all styles : http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */

/*
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	line-height: 20px;
	font-size: 16px;
	font-family: inherit;
	vertical-align: baseline;
}*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	font-weight: inherit;
}

* {
	font-family: Verdana;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	/*line-height: 1;*/
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	/*font-weight: normal;*/
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* actual styling */


html, 
body {
    height: 100%;
	width: 100%;
}
body {
	background-image: url("../images/background.png");
    background-repeat: repeat-y;
	background-position: center; 
	background-color: #f4f3f3;
	background-size: 1120px 10px;
}

#mainColumn {
	/**width: 830px;  sadly we cannot fix width, otherwise our links font size gets messed up: https://stackoverflow.com/questions/39550403/css-displayinline-block-changes-text-size-on-mobile */
	max-width: 830px;
	margin: 0 auto;
	padding-bottom: 75px;
	padding-left: 20px;
	padding-right: 20px;
}

@media (max-width: 550px) {
}
@media (min-width: 551px) {
    h1 {
		float: left;
    }
	#contact-links {
		clear: left;
	}
	#portrait {
		float: right;
		margin-top: 30px;
		margin-left: 50px;
	}
	#portrait, #portrait * {
		font-size: 11px;
		line-height: 1.4;
	}
}


h1 {
	font-size: 40px;
	margin-top: 30px;
	margin-bottom: 10px;
	font-family: "Trebuchet MS" !important;
}
h2 {
	font-size: 28px;
	margin-top: 30px;
	margin-bottom: 20px;
	font-family: "Trebuchet MS" !important;
}

#contact-links {
	margin-bottom: 10px;
}
#portrait {
	margin-bottom: 10px;
}
#portrait img {
	width: 150px;
	height: 150px;
	/*box-shadow:2px 2px 5px #555555;*/
	border-radius: 50%;
	border: 5px solid #f1f1f1;
}

.publication-short {
	min-height: 130px;
}
.publication-short:nth-child(odd) {background: #F7F7F7; }
.publication-short:nth-child(even) {background: #FCFCFC; }


.publication-short {
	margin: 5px;
	padding: 5px;
	clear: both;
	position: relative;
}

@media (max-width: 550px) {
.publication-short .thumbnail-container {
	text-align: center;
}
.publication-short .thumbnail {
	height: 120px;
	width: 120px;
}
.publication-short .desc {
	margin: 5px;
}
}
@media (min-width: 551px) {
	
.publication-short .thumbnail-container {
	position: absolute;
	left: 5px;
	top: 5px;
	bottom: 5px;
	width: 140px;
}
.publication-short .thumbnail {
	position: absolute;
	height: 120px;
	width: 120px;
	/*vertical center:*/
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}
.publication-short .desc {
	padding-top: 10px;
	padding-right: 5px;
	margin-left: 150px;
	
}
}

.publication-short h3 {
	font-weight: bold;
}
.publication-short .links {
	padding-top: 10px;
	max-height: 1000000px;
}
a {
	text-decoration: none;
	color: #d22a4c;
}
a:hover {
	text-decoration: underline;
	color: #d22a4c;
}


#contact-links a {
	max-height:1000000px;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid #d22a4c;
	color: #d22a4c;
	padding: 1px 7px;
	margin-right: 8px;
	margin-bottom: 5px;
	transition: 0.5s;
	text-align: center;
	display: inline-block;
	/*font-size: 19px;*/
}
#contact-links a:hover {
	color: white;
	background-color: #d22a4c;
	text-decoration: none;
}

.publication-short a {
	max-height:1000000px;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid #d22a4c;
	color: #d22a4c;
	padding: 1px 7px;
	margin-right: 8px;
	margin-bottom: 5px;
	transition: 0.5s;
	text-align: center;
	display: inline-block;
	/*font-size: 19px;*/
}
.publication-short a:hover {
	color: white;
	background-color: #d22a4c;
	text-decoration: none;
}
.codes h3 {
	background: #F7F7F7;
	padding: 7px 15px;
	margin: 5px;
}
.codes h3, .codes h3 a{
	font-size: 18px;
}
