@font-face {
    font-family: SourceSansPro;
    src: url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/regular.eot?),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/regular.ttf) format('truetype'),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/regular.woff) format('woff');
}

@font-face {
    font-family: SourceSansPro;
    src: url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/italic.eot?),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/italic.ttf) format('truetype'),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/italic.woff) format('woff');
	font-style: italic;
}

@font-face {
    font-family: SourceSansPro;
    src: url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold.eot?),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold.ttf) format('truetype'),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold.woff) format('woff');
	font-weight: bold;
}

@font-face {
    font-family: SourceSansPro;
    src: url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold-italic.eot?),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold-italic.ttf) format('truetype'),
	url(http://www.pheno.ulg.ac.be/fonts/sourcesanspro/semibold-italic.woff) format('woff');
	font-style: italic;
	font-weight: bold;
}

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

html {
	font-family: SourceSansPro, Calibri, "Trebuchet MS", Trebuchet, sans-serif;
	background-color: #f4f4f4;
}

.pdf_link,
a[href$=".pdf"] {
    background: url(http://www.pheno.ulg.ac.be/img/pdf-icon.gif) center right no-repeat;
    padding-right: 18px;
}

a[href$=".txt"] {
    background: url(http://www.pheno.ulg.ac.be/img/txt-icon.png) center right no-repeat;
    padding-right: 18px;
}

a[href$=".doc"] {
    background: url(http://www.pheno.ulg.ac.be/img/word-icon.jpeg) center right no-repeat;
    padding-right: 18px;
}

a[href$=".xls"] {
    background: url(http://www.pheno.ulg.ac.be/img/xls-icon.gif) center right no-repeat;
    padding-right: 18px;
}

.exposant {
	vertical-align: super;
	font-size: 0.5rem;
}

.indice {
	vertical-align: sub;
	font-size: 0.7em;
}

nav {
	position: fixed;
	width: 100%;
	box-shadow: 0 3px 2px #999;
	background-color: #333;
	height: 4rem;
	padding: 1rem 0 0 1rem;
	font-family: "Calibri Light", Calibri, "Trebuchet MS", Arial, sans-serif;
	font-weight: 300;
	/* = required for some OS to recognize Calibri Light */
	font-size: 1.3rem;
	color: #fff;
	transition: background 1s ease-out, color 1s ease-out;
}

nav li {
	display: inline-block;
	margin: 0;
	padding: 8px;
	border-radius: 3px;
	transition: background 1s ease-out, color 1s ease-out, margin 1s ease, opacity 1s ease;
}

nav#Navg li:last-child {
	opacity: 0;
}

nav a {
	color: #fff;
	text-decoration: none;
	transition: color 1s ease-out;
}

.NavgChanged {
	z-index: 100;
	background-color: rgba(0,0,0,0.1);
	box-shadow: none;
}

nav.NavgChanged li {
	background-color: rgba(0,0,0,1);
	color: #fff;
	margin-top: -3rem;
}

#Navg.NavgChanged li:last-child {
	opacity: 1;
	background: none;
}

.NavgChanged a {
	color: #fff;
}

section {
	clear: both;
	position: relative;
	top: 3rem;
	width: 970px;
	padding: 35px 0 0 0;
	margin: 0 auto 0 auto;
	text-align: left;
}

article {
	background-color: rgba(255,255,255,0.9);
	margin: 1rem;
	padding: 3rem;
	line-height: 1.4rem;
	box-shadow: 0 3px 2px #999;
	border: 1px solid #e6e6e6;
}

header {
	background-color: #f5f5f5;
	padding: 1rem;
}

article img {
	margin: 2.5rem 1rem 1rem 1rem;
}

article h1, article h2, article h3 {
	font-family: "Calibri Light", Calibri, "Trebuchet MS", Arial, sans-serif;
	font-weight: 300;
	/* = required for some OS to recognize Calibri Light */
}

article h1 {
	font-size: 2.3rem;
	line-height: 2rem;
}

article h2 {
	font-size: 1.8rem;
	padding: 2.5rem 0 1rem 0;
}

article h3 {
	font-size: 1.6rem;
	padding: 2.5rem 0 0.5rem 0;
  	background-color: #fff;
	z-index: 100;
  	display: inline;
	margin: 0 0 0 4rem;
}

article h3::before {
	content: '';
	display: inline-block;
	margin: 5rem 0 0 0;
}

article h3::after {
	display: block;
	content:'';
	margin: -0.7rem 0 1.8rem 0;
	border-top: 1px solid rgba(0,0,0,0.6);
}

article h4 {
	font-size: 1.1em;
	font-family: "Calibri Light", Calibri, "Trebuchet MS", Arial, sans-serif;
	font-weight: 300;
	/* = required for some OS to recognize Calibri Light */
	padding: 1.1rem 0 0.5rem 0;
}

article h4::before {
	display: inline-block;
	content: " ";
	width: 0.9em;
	height: 0.4em;
	border-top: 0.9em solid #ccc;
	margin-right: 0.4em;
}

article h5 {
	font-size: 0.9rem;
	color: #333;
	padding: 1.1rem 0 2rem 0;
}

article h6 {
	font-size: 0.9rem;
	line-height: 1.2rem;
	padding: 0 0 3rem 0;
}

article p {
	padding-bottom: 0.5rem;
}

article ol, article ul {
	margin: 0;
}

article ol {
	list-style-type: disc;
}

article a {
	color: #0099ff;
	text-decoration: none;
	transition: color 1s ease;
}

article a:hover {
	color: #006bb3;
	text-decoration: none;
}

footer {
	position: relative;
	top: 60px;
	left: 80px;
	margin: 0 auto 50px auto;
	color: #bbb;
}

footer a {
	text-decoration: none;
	color: #bbb;
}
