@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz&v2);
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:300&v2);

@media (max-width: 640px) {

 /* passer tous les éléments de largeur fixe en largeur automatique */
 body, element1, element2 {
   width: auto;
   margin: auto;
   padding: auto;
  -webkit-text-size-adjust: 70%;
background-color:#222222;
font-family:'Yanone Kaffeesatz', sans-serif;

 }

 /* fixer une largeur maximale  de 100 % aux éléments potentiellement problématiques */
 img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, video {
   max-width: 100%;
 }
/* conserver le ratio des images et empêcher les débordements de boîtes dûs aux border ou padding */
 img {
   height: auto; width: auto;
   -webkit-box-sizing: border-box;
   -moz-box-sizing: border-box;
 }

 /* gestion des mots longs */
 textarea, table, td, th, code, pre, samp {
   word-wrap: break-word; /* passage à la ligne forcé */
   -webkit-hyphens: auto; /* césure propre */
   -moz-hyphens: auto;
   hyphens: auto;
 }
 code, pre, samp {
   white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
 }

 /* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */
 element1, element2 {
   float: none !important;
   width: auto !important
 }

 /* masquer les éléments superflus */
 .hide_mobile {
   display: none !important;
 }

 /* Un message personnalisé */
 body:before {
   content: "Version mobile du site";
   display: block;
   color: #777;
   text-align: center;
   font-style: italic;
 }
}

div#content_holder{
width:800px;
}

div#content{
color:#222222;
font-family:trebuchet;
width:700px; 
/*height:300px;*/
border-width:2px;
/*float:left;*/
}

div#texte {
padding:20px;
width:500px;
padding-left:60px;
/*float:left;*/
}

div#left_column{
position:absolute;
top:350px;
left:650px;
width:200px;
color:white;
font-family:'Yanone Kaffeesatz', "Trebuchet MS", sans-serif;
font-size:0.9em;

}
			span.reference{
				position:fixed;
				left:10px;
				bottom:10px;
				font-size:12px;
			}
			span.reference a{
				color:#aaa;
				text-transform:uppercase;
				text-decoration:none;
				text-shadow:1px 1px 1px #000;
				margin-right:30px;
			}
			span.reference a:hover{
				color:#ddd;
			}
			ul.sdt_menu{
				/*margin-top:150px;*/
			}
			h1.title{
				/*text-indent:-9000px;*/
				background:black no-repeat top left;
				width:400px;
				height:150px;
				font-size:4em;
				color:white;
				margin:0;
				padding:20px;
			}


h2 {
font-family:'Yanone Kaffeesatz', "Trebuchet MS", sans-serif;
font-size:2em;
font-weight:500;
color:orange;
border-bottom:solid 1px orange;
margin-bottom:0.5em;
}

.detail_titre {
color:white;
font-size:14px;
}

h3
{
font-family:'Yanone Kaffeesatz', "Trebuchet MS", sans-serif;
font-size:1.0em;
font-weight:500;
margin-top:-5px;
margin-bottom:-5px;
padding-top:0;
padding-bottom:0
}

h4
{
margin-top:5px;
margin-bottom:5px;
font-family:'Yanone Kaffeesatz', "Trebuchet MS", sans-serif;
font-size:1.1em;
font-weight:400;
border-top:solid 1px orange;
color:orange;
}

p,li,dd, label{font-family:'Yanone Kaffeesatz',sans-serif;
font-size:0.9em;font-weight:200}

dd{}
dt{font-weight:500;margin-top:5px}

a {
color:orange;
text-decoration:none;
}

a:hover{
color:white;
text-decoration:underline;
}

a:visited{
color:silver
}

ul.teaching_category{
list-style:none;
}

li.first{
color:orange;
border-bottom:solid 1px orange;
font-weight:500;
margin-left:-10px;
padding-left:-10px;
}

ul.teaching_category li{
list-style:none;
padding-left:10px;
}

li.actu{
list-style:none;
color:orange;
border-left:solid 2px orange;
padding-left:10px;
margin-left:-40px;
margin-top:2px;
}

label
{
	display: block;
	width: 150px;
	float: left;
}

input {
	width : 250px;
}

ul.sdt_menu{
	margin:0;
	padding:0;
	list-style: none;
	font-family:'Yanone Kaffeesatz', "Trebuchet MS", sans-serif;
	font-size:14px;
	width:1020px;
	display:block;
}
ul.sdt_menu a{
	text-decoration:none;
	outline:none;
}
ul.sdt_menu li{
	float:left;
	width:170px;
	height:85px;
	position:relative;
	cursor:pointer;
}
ul.sdt_menu li > a{
	position:absolute;
	top:0px;
	left:0px;
	width:170px;
	height:85px;
	z-index:12;
	background:transparent url(../images/overlay.png) no-repeat bottom right;
	-moz-box-shadow:0px 0px 2px #000 inset;
	-webkit-box-shadow:0px 0px 2px #000 inset;
	box-shadow:0px 0px 2px #000 inset;
}
ul.sdt_menu li a img{
	border:none;
	position:absolute;
	width:0px;
	height:0px;
	bottom:0px;
	left:85px;
	z-index:100;
	-moz-box-shadow:0px 0px 4px #000;
	-webkit-box-shadow:0px 0px 4px #000;
	box-shadow:0px 0px 4px #000;
}
ul.sdt_menu li span.sdt_wrap{
	position:absolute;
	top:25px;
	left:0px;
	width:170px;
	height:60px;
	z-index:15;
}
ul.sdt_menu li span.sdt_active{
	position:absolute;
	background:#111;
	top:85px;
	width:170px;
	height:0px;
	left:0px;
	z-index:14;
	-moz-box-shadow:0px 0px 4px #000 inset;
	-webkit-box-shadow:0px 0px 4px #000 inset;
	box-shadow:0px 0px 4px #000 inset;
}
ul.sdt_menu li span span.sdt_link,
ul.sdt_menu li span span.sdt_descr,
ul.sdt_menu li div.sdt_box a{
	margin-left:15px;
	text-transform:uppercase;
	text-shadow:1px 1px 1px #000;
}
ul.sdt_menu li span span.sdt_link{
	color:#fff;
	font-size:24px;
	float:left;
	clear:both;
}
ul.sdt_menu li span span.sdt_descr{
	/*color:#0B75AF;*/
	color:orange;
	float:left;
	clear:both;
	width:155px; /*For dumbass IE7*/
	font-size:10px;
	letter-spacing:1px;
}
ul.sdt_menu li div.sdt_box{
	display:block;
	position:absolute;
	width:170px;
	overflow:hidden;
	height:170px;
	top:85px;
	left:0px;
	display:none;
	background:#000;
	z-index:13;
}
ul.sdt_menu li div.sdt_box a{
	float:left;
	clear:both;
	line-height:30px;
	color:#0B75AF;
}
ul.sdt_menu li div.sdt_box a:first-child{
	margin-top:15px;
}
ul.sdt_menu li div.sdt_box a:hover{
	color:#fff;
}

 /* images with caption */
 #slider3 img {
  width: 100%;
  height: 100%;
 }
 /* position the panels so the captions appear correctly */
 #slider3 .panel { position: relative; }
 /* captions */
 #slider3 .caption-top, #slider3 .caption-right,
 #slider3 .caption-bottom, #slider3 .caption-left {
  background: #000;
  color: #fff;
  padding: 10px;
  margin: 0;
  position: relative;
  z-index: 10;
  opacity: .8;
  filter: alpha(opacity=80);
 }
 /* Top caption - padding is included in the width (480px here, 500px in the script), same for height */
 #slider3 .caption-top {
  left: 0;
  top: 0;
  width: 480px;
  height: 30px;
 }
 /* Right caption - padding is included in the width (130px here, 150px in the script), same for height */
 #slider3 .caption-right {
  right: 0;
  bottom: 0;
  width: 130px;
  height: 150px;
 }
 /* Bottom caption - padding is included in the width (480px here, 500px in the script), same for height */
 #slider3 .caption-bottom {
  left: 0;
  bottom: 0;
  width: 480px;
  height: 30px;
 }
 /* Left caption - padding is included in the width (130px here, 150px in the script), same for height */
 #slider3 .caption-left {
  left: 0;
  bottom: 0;
  width: 130px;
  height: 150px;
 }
 /* Caption close button */
 .caption-top .close, .caption-right .close,
 .caption-bottom .close, .caption-left .close {
  font-size: 80%;
  cursor: pointer;
  float: right;
  display: inline-block;
 }
