/* Theme */

html{
	background: #000;
}
body{
	font-size: 120%;
	line-height: 1.5;
	font-family: 'open sans', arial, sans-serif;
	background: #fff;
	color: #333;
}
#page{
	margin: 10px auto 0;
	max-width: 39em;	/* 4em for borders and padding of child blocks */
	min-height: 15em;
}



a:link {
  text-decoration: none;
}
a:link,
a:visited{
	color: #00f;
}
a:hover,
a:active,
a:focus{
	background-color: #ff9;
	color: #000;
}
/*
	background-color: #42b6e7;
	color: #000;
*/
a:hove {
  text-decoration: underline;
}



header{
	background: #000 url('../images/bg_lyon-declaration.png') center 0px no-repeat;
	color: #fff;
}
header #title-slogan{
	float: none;
	margin: 0 0 32px;
}
h1#site-title{
	margin: 0;
	padding: 80px 0 0;	/* total height 150px */
	font-weight: 700;
	font-size: 280%;
	line-height: 1.2;
	text-align: center;
}
h2{
	font-size: 150%;
}
h1#site-title a,
h2,
h3{
	text-decoration: none;
	background-color: transparent !important;
	color: #42b6e7 !important;
}
h3{
	margin-top: 1.5em;
}

ul li{
	margin-bottom: .5em;
}
ol li{
	margin-bottom: 1em;
}
ul ul li,
ol ol li{
	margin-top: -0.5em;	/* also measn that the space between sub LIs is .5em */
}
ol.signatories-list li{
	margin-bottom: .3em;
}
ol.signatories-list li #alphabetical-order{
	margin-left: -30px;
}

#site-slogan{
	margin: 0 0 4em;
	padding: 20px 0 0 18px;
	font-size: 120%;
	text-align: center;
}
nav{
	border: solid 0px #fff;
	border-radius: 0 0 20px 20px;
	border-radius: 0;
}
nav.main{
	clear: both;
	margin: -35px 0 0;
}
nav.main ul{
	margin: 0 auto;
	padding: 0;
	max-width: 39em;
	list-style: none;
}
nav.main ul li{
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 120%;
}
nav.main ul li a{
	display: inline-block;
	margin: 0 -3px;
	padding: .4em 1em .7em;
	border-radius: 0 0 20px 20px;
	border-radius: 0;
	color: #ccc;
}
nav.main ul li a:link{
	text-decoration: none;
}
nav.main ul li.current a,
nav.main ul li a:active,
nav.main ul li a:hover{
	background-color: #fff;
	color: #333;
}
nav.main ul li a:active,
nav.main ul li a:hover{
	text-decoration: underline;
}

article{
	margin-top: 2em;
	padding: .5em 1.5em 1em;
	text-align: justify;
	background-color: #fff;
}
article .signatories-list{
	text-align: left;
}
article a{
	text-decoration: underline;
}
article#sign-it{
	padding: .3em 1.5em .5em;
	text-align: left;
	background-color: #42b6e7;
	color: #000;
}
article#sign-it a,
article#sign-it a:hover{
	color: #fff !important;
}
article#sign-it a:active,
article#sign-it a:hover{
	background-color: #666 !important;
}



body.lyondeclaration h2#signatories{
	margin-top: 2em;
	border-top: solid 1px;
	padding-top: .6em;
}

article#content {
  position: relative;
}
#pdfs-label {
  position: absolute;
  top: 20px;
  top: 8px;
  left: 31px;
  margin: 0;
  width: 60px;
  text-align: center;
  text-align: left;
  color: #fff;
  color: #333;
}
#pdfs {
  margin-top: 5px;
  margin-top: 0;
  margin-left: 2px;
  margin-left: 0;
  border-left: solid 60px #d00;
  border-left: solid 40px transparent;
  padding-left: 20px;
}
#pdfs p { 
	font-size: 80%;
}
article #pdfs p { 
	margin: 0;
}
article #pdfs p:last-child { 
	margin-bottom: 1em;
}

footer{
	margin: 4em 0 0;
	padding: 2em 0;
	text-align: center;
	background: #000;
	color: #ccc
}
footer p{
	margin: 0;
}
footer a{
	text-decoration: none;
	background-color: transparent !important;
	color: #fff !important;
}
footer a:hover{
	text-decoration: underline;
}



@media screen and (max-width: 570px) {
	h1#site-title{
		font-size: 200%;
	}
	h2{
		font-size: 130%;
	}
	h3{
		font-size: 110%;
	}
	#site-slogan{
		font-size: 110%;
	}
	nav.main ul li{
		font-size: 110%;
	}
}
@media screen and (max-width: 470px) {
	h1#site-title{
		padding: 1em 0 0;
		font-size: 160%;
	}
	h2{
		font-size: 120%;
	}
	h3{
		font-size: 100%;
	}
	#site-slogan{
		margin: 0 0 3em;
		padding: 20px 0 0 18px;
		font-size: 100%;
	}
	
	nav.main ul{
		border-bottom: solid 1em #000;
		width: 90% !important;
	}
	nav.main ul li{
		display: block !important;
		margin: 0 5%;
		width: 80% !important;
		font-size: 100%;
	}
	nav.main ul li a{
		display: block !important;
		border-bottom: solid 1px #ccc;
		width: 100% !important;
	}
	nav.main ul li.last a{
		border-bottom: none;
	}
	
	article{
		text-align: left !important;
	}
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	nav,
	footer{
		display: none !important;
	}
	body{
		font-size: 100%;
		line-height: 1.3;
		font-family: 'times new roman', serif;
		color: #000;
	}
    h1#site-title a[href]:after,
	article#sign-it a:after{
        content: "";
    }
	header #title-slogan{
		margin-bottom: 0 !important;
	}
	a,
	article#sign-it a{
		color: #000 !important;
		text-decoration: none !important;
	}
	abbr[title]{
		border: none !important;
	}
}
