
/* ----------------------------- */
/*  ==     Styles de base #5f7797*/
/* ----------------------------- */


/* Page [(#SET{couleur,54809b})] */ 
/* html { 
	padding: 60px 30px 0 60px;
  	font-size: 62.5%;
  	background: #54809b url(images/background.jpg) -570px top no-repeat fixed; 
}
body { 
	width: 580px;
	padding: 60px 30px 0 80px;
	margin: 0; 	
	font-family: "Century Gothic", "Lucida Grande", "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
	font-size: 14px; font-size: 1.4rem;
	line-height: 1.5;
	color: white; 
}  */
html { 
	/* position: relative; */
	background: #54809b; /* url(images/-background-.jpg) -570px top no-repeat fixed; */
	margin: 0 auto;
	border:0;
	width: 975px;
	padding: 0;
  	font-size: 62.5%;
  	text-align: center;
}
body { 
	width: 975px;
	margin: 5px;
	padding: 0;
	text-align: center; 	
	font-family: "Century Gothic", "Lucida Grande", "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
	font-size: 14px; font-size: 1.4rem;
	line-height: 1.5;
	color: white; 
} 
#page { 
	width: 965px;
	margin: 0;
	padding: 0;
	text-align: center; 	
	font-family: "Century Gothic", "Lucida Grande", "Trebuchet MS", Arial, Helvetica, FreeSans, sans-serif;
	font-size: 14px; font-size: 1.4rem;
	line-height: 1.5;
	color: white; 
} 

/* Liens */ 
a { 
  	text-decoration: none; 
  	color: #66CCFF;
  	-moz-transition: all 1s ease;
	-webkit-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
} 
a {
	-moz-transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

a:hover, a:focus, a:active { 
  text-decoration: underline;
  color: #fff;
} 
/* Pas de bordure pointillée ou halo lors du clic sur un lien */ 
a:focus, a:active { 
  outline: none; 
} 



/* Pas de bordure autour des images dans les liens */ 
a img { 
  border: none; 
  vertical-align: bottom;
} 
 

 
/* Paragraphes */ 
p { 
  margin: .75em 0;
} 
 
 
/* Divers éléments de type en-ligne (8) */ 
em { 
  font-style: italic; 
} 
strong { 
  font-weight: bold; 
} 

/* ----------------------------- */
/*  ++     Blocs  header, nav,                */
/* ----------------------------- */

footer, figure, section {
  display: block;
  text-align: center;
}

/* ----------------------------- */
/*  ++     in line               */
/* ----------------------------- */

header, nav {
  display: inline;
  text-align: center;
}


/* ----------------------------- */
/*  ++     section               */
/* ----------------------------- */
section {
	clear: both;
	text-align: center;
	padding: 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: url(images/trans.png) left top; 
}
section ~ section {
	margin-top: 20px;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
}

section img {
	text-align: center;
}

/* Header */ 
[role=banner] {
	text-align:left;	
}

h1 { 
  display: inline-block;
  margin: 0 0 20px 0;
  font-family: 'Amaranth', "Lucida Grande",Tahoma, "Trebuchet MS", Helvetica, sans-serif;
  font-weight: normal;
  font-size: 80px; 
  text-align: right;
  line-height: 0.8;
  color: white;
  text-shadow: 0px 0px 5px #fff; 
} 
h1 span { 
  display: block;
  font-weight: normal;
  font-size: 50px; 
  color: black;
  text-shadow: 0px 0px 5px rgba(255,255,255,0.3); 
} 
h1 a, h1 a:visited {
  color: white;
  text-decoration: none;
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s;
}
h1 a:hover, h1 a:focus {
  text-decoration: none;
  outline: none;
  text-shadow: 0px 0px 15px #fff; 
}

[role=banner] #rub11 {
	text-align:center;	
}

#presentation {
	margin-bottom: 20px;
  	font-size: 16px; font-size: 1.6rem;
  	text-shadow: 1px 1px 0 #20424B;
}

.semaine {
  position: absolute;
  background-color: #ffff00;
  float: right;
  width: 480px;
  height: 200px;
  text-align: center;
  margin: 0;
  margin-right: 800px;
}

.spacer {
  clear: both;
} 

/* Login */

#login {
	/* display: inline; */
	width: 300px;
	margin-left: 33%;
	padding: 0 0 0 0;
	text-align: center;
}

/* Colonnes */
.page {
	overflow:auto;
	float: left;
	width: auto!important; /*width: 570px;*/
	/* height: 850px; */
	margin-top: 0;
	margin-left: 0; 
	margin-bottom: 15px;
	padding-top: 5px;
	padding-right: 25px;
	padding-left: 10px;
	text-align: center;
} 
#col-center {
	display: bloc;
	float: left;
	text-align: center;
	width: 100%;
	padding-top: 15px;
}
.col-c {
	display: inline;
	float: left;
	width: 35%;
	margin: 0;
	margin-top: 25px;
	padding: 0;
	line-height: 25px;
}
.col-d {
	display: inline;
	float: left;
	width: 65%;
	margin: 0;
	margin-top: 25px;
	padding: 0;
	line-height: 25px;
}
.col1, .col2, .col3 {
	display: inline;
	float: left;
	width: 33%;
	margin: 0;
	margin-top: 25px;
	padding: 0;
	line-height: 25px;
} 
/* Listes */ 
.content ul, .content ol { 
  margin: .75em 0 .75em 10px; 
  padding: 0; 
  list-style-type: none;
} 
.content li {
  padding-left: 20px;
  background: url(images/puce.png) left center no-repeat;
}

/* Content */ 

.content {	
	padding: 20px;
	font-size: 15px; font-size: 1.5rem;
	background: url(images/trans.png) left top; 
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	text-shadow: 1px 1px 0 #20424B;
}

.content ~ .content {
	margin-top: 20px;
}

.content a[href^="https:"]:not([href*="charay.com"]) { 
  padding-right: 15px;
  background-image: url(images/arrow.png);
  background-position: right center;
  background-repeat: no-repeat; 
}


/* Titres internes */ 

h2, h3 { 
	margin: 0 0 14px 0; 	
  	letter-spacing: 1px;
  	font-weight: normal;
  	text-shadow: 1px 1px 0 #20424B;
} 
h3 {
	font-size: 1.2em;
}
h2 ~ h2, h3 ~ h3 {
	margin-top: 20px;
}

.content p.contact {
  margin-top: 20px;
}
.content p.contact img {
  float: left;
  margin-right: 20px;
}
.content p.livres img {
  float: right;
  margin-left: 20px;
}

section h2 {
	text-align: center;
}

/* ----------------------------- */
/*  ==     Navigation    titre=420px        */
/* ----------------------------- */

nav {
	display: inline-block;
	text-align:center;
	/* width: auto!important; ok= width: 540px; */
	width: 940px;
	/* text-align:center; */
	margin-right: 40px;
	margin-left: 40px;	
}

[role=navigation] {
	/* ok= width: 480px; */
	width: 780px;
	margin-top: 20px;
	margin-bottom: 40px;
	overflow: hidden;
	text-align: left;
}

[role=navigation] ol {
	margin: 0; padding: 0;
}

[role=navigation] ul {
	margin: 0; padding: 0;
}
[role=navigation] li {
	float: left;
	width: 50%;
	min-height: 45px;
	line-height: 45px;	
	vertical-align: middle;
	list-style: none;
	border-bottom: 1px dotted #6C9CA8;
	border-bottom: 1px dotted rgba(255,255,255,0.2);
	
}
[role=navigation] img {
	vertical-align: middle;
	-webkit-transition: all .8s;
	-moz-transition: all .8s;
	-o-transition: all .8s;
	transition: all .8s;
}
[role=navigation] a {
	margin-left: 14px;
	font-size: 1.1em;
	vertical-align: middle;
	text-shadow: 1px 1px 0 #20424B;
	background-position: right center;
	-moz-transition: color 1s ease;
	-webkit-transition: color 1s ease;
	-o-transition: color 1s ease;
	transition: color 1s ease;
}
[role=navigation] a[href^="http"]:not([href*="charay.com"]):hover, [role=navigation] a[href^="http"]:not([href*="charay.com"]):focus { 
  padding-right: 15px;
  background-image: url(images/arrow.png);
  background-position: right center;
  background-repeat: no-repeat; 
}

[role=navigation] li:hover img {
	-webkit-transform: rotate(360deg);
	-moz-transform: rotate(360deg);
	-o-transform: rotate(360deg);
	transform: rotate(360deg);
}

/* ----------------------------- */
/*      Portfolio Badge          */
/* ----------------------------- */


#portfolio_badge_uber_wrapper {
  position: relative;
  width: auto!important; /*width:490px;*/ 
  
  margin-left: 0px;
  text-align: center;
}
.portfolio_badge_image {display: inline-block; line-height: 1; margin: 0 14px 14px 0;}
#portfolio_badge_wrapper img {
	margin: 2px;
	border: 5px solid #fff;
	-webkit-box-shadow: 0 0 6px #fff;
	-moz-box-shadow: 0 0 6px #fff;
	-ms-box-shadow: 0 0 6px #fff;
	box-shadow: 0 0 6px #fff;
}

#portfolio_badge_wrapper div img {
	position: relative;
	-webkit-transition: -webkit-transform .8s ease;
	-moz-transition: -moz-transform .8s ease;
	-ms-transition: -ms-transform .8s ease;
	-o-transition: -o-transform .8s ease;
	transition: transform .8s ease;
}

#portfolio_badge_wrapper div img:hover {
	z-index: 10;
	-moz-transform: translate(0, -20px);
	-webkit-transform: translate(0, -20px);
	-ms-transform: translate(0, -20px);
	-o-transform: translate(0, -20px);
	transform: translate(0, -20px);
}

/* Footer */ 

footer {
	clear: both;
	margin-top: 20px;
	padding: 20px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: url(images/trans.png) left top; 
}
footer ~ footer {
	margin-top: 20px;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
}
#pied {
	text-align: center;
}
#pied a {
	padding-left: 20px;
	padding-right: 20px;	
}
#edito a {
  display: block;
  margin-bottom: 15px;
}
#edito img {
	-moz-transform: rotate(0deg); 
  -webkit-transform: rotate(0deg);
  -webkit-transition: all .5s;
  -moz-transition: all .5s;
  transition: all .5s;
}
#edito img:hover {
  -moz-transform: rotate(5deg); 
  -webkit-transform: rotate(5deg);
}

/* ----------------------------- */
/*  ==     404                   */
/* ----------------------------- */

#page404 {
	margin: 100px 0 0 50px;
}

#page404 h1 {
	font-size: 200px;
}
#page404 h2 {
	font-size: 50px;
	font-family: 'Amaranth', "Lucida Grande",Tahoma, "Trebuchet MS", Helvetica, sans-serif;
}
#page404 h1, #page404 h2 {
	text-shadow: 0px 0px 40px #fff;
}

#page404 h1, #page404 h2 {
	-webkit-animation: color 10s linear infinite;
	-moz-animation: color 10s linear infinite;
	animation: color 10s linear infinite;
}

#page404 p {
	width: 400px;
	color: #fff;
	font-size: 1.1em; font-size:1.6rem;
	text-shadow: 1px 1px 1px #555;
	font-weight: normal;
}

@-webkit-keyframes color {
	0% {color: #fff;}
	50% {color: transparent;}
	100% {color: #fff;}			
}
@-moz-keyframes color {
	0% {color: #fff;}
	50% {color: transparent;}
	100% {color: #fff;}				
}
@keyframes color {
	0% {color: #fff;}
	50% {color: transparent;}
	100% {color: #fff;}				
}

#page404 #lens {
	position: fixed;
	top: 430px;
	left: 950px;
	width: 367px;
	height: 150px;
	background: url(images/lens.png);
}

/* ----------------------------- */
/*            SPIP               */
/* ----------------------------- */

a .right {
	text-align: right;
}
.right {
	text-align: right;
}

.sous_rubriques {
	margin: 2px;
	margin-top: 4px;
	margin-bottom: 4px;
	padding: 2px;
	text-align: center;
}

a .sous_rubriques {
	margin: 4px 4px 4px 4px;
	margin-top: 14px;
	margin-bottom: 14px;
	padding: 4px 4px 0 4px;
	padding-bottom: 14px;
	text-align: center;
}
. menu rubriques{
	text-align: center;
}

.cartouche {
	text-align: right;
}

table.spip {
	margin: auto;
	margin-bottom: 1em;
	border: 1px solid;
	border-collapse: collapse; }
table.spip caption {
	caption-side: top; /* bottom pas pris en compte par IE */
	text-align: center;
	margin: auto;
	padding: 3px;
	font-weight: bold; }
table.spip tr.row_first { background: #A4A4A4; } /* FFC */
table.spip tr.row_odd { background: #; } /* DDD */
table.spip tr.row_even { background: #; } /* EEE */
table.spip th, table.spip td { padding: 3px; text-align: left; vertical-align: middle; }
td { background: #f4f4f4; } /* DDD */

/* ----------------------------- */
/*  ==     Web mobile    5f7797  */
/* ----------------------------- */

@media screen and (max-width:1024px)  {
	html {width: auto!important; background: #54809b url(images/-background-.jpg) -750px top no-repeat fixed; padding: 30px 10px 0 20px;}
	body {width: auto!important; /*width:490px;*/}
	#page {width: auto!important;}     
    #portfolio_badge_wrapper {width: auto!important; /*width:490px;*/ }
	#portfolio_badge_uber_wrapper {width: auto!important; /*width:490px;*/ text-align: center;}
	#portfolio_badge_uber_wrapper img {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    margin: 0 5px 5px 0;
    padding: 2px;
	}
	#login {width: 260px; margin-left: 10%;}
}
nav {
	display: inline-block;
	text-align:center;
	/* width: auto!important; ok= width: 540px; */
	width: 700px;
	/* text-align:center; */
	margin-right: 100px;
	margin-left: 100px;	
}

[role=navigation] {
	/* ok= width: 480px; */
	width: 640px;
	margin-top: 20px;
	margin-bottom: 40px;
	overflow: hidden;
	text-align: left;
}

@media screen and (max-width:768px)  {
	html {width: auto!important; background: #54809b url(images/-background-.jpg) -700px top no-repeat fixed; padding: 30px 10px 0 20px;}
	body {width: auto!important; /*width:490px;*/}
	#page {width: auto!important;}     
    #portfolio_badge_wrapper {width: auto!important; /*width:490px;*/ }
	#portfolio_badge_uber_wrapper {width: auto!important; /*width:490px;*/ text-align: center;}
	#portfolio_badge_uber_wrapper img {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    margin: 0 5px 5px 0;
    padding: 2px;
	}
	#login {width: 260px; margin-left: 10%;}
}
nav {
	display: inline-block;
	text-align:center;
	/* width: auto!important; ok= width: 540px; */
	width: 500px;
	/* text-align:center; */
	margin-right: 100px;
	margin-left: 100px;	
}

[role=navigation] {
	/* ok= width: 480px; */
	width: 360px;
	margin-top: 20px;
	margin-bottom: 40px;
	overflow: hidden;
	text-align: left;
}



@media only screen and (max-width:640px) {
    html {width: auto!important; padding: 5px; background-image: none;}
    
    body {width: auto!important; padding: 0 5px; font-size: 1.2rem;}
    
    #page {width: auto!important;} 

    a {font-size: 1.2rem;}
    
    img,table,td,blockquote,object,embed,video,input,code,pre,textarea {
	max-width:100% !important
	}
	nav {margin-right: 0; margin-left: 0; font-size: 1.1rem;}
	
	.content {word-wrap:break-word!important; line-height: 1.2!important}
	code, pre, textarea {
	word-wrap:break-word!important;
	white-space: pre-wrap!important;
	}
	h1,h2,h3,h4,h5 {text-align: center;
	
	[role="navigation"] li {
		float: none !important;
		width: auto! important;
	}
	[role="navigation"] a {
		font-size: 16px; font-size: 1.6rem;
		padding: 10px 30px 10px 10px;
		font-weight: bold !important;
		color: #fff !important;
	}
	
	#portfolio_badge_uber_wrapper {
    width: auto !important;
    text-align: center;
	}
	#portfolio_badge_uber_wrapper img {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    margin: 0 5px 5px 0;
    padding: 2px;
	}
	#login {width: 260px; margin-left: 5px;}
    #page404 {margin: 0;}
    #page404 h1, #page404 h2 {font-size : 1.5em;}
}

nav {
	display: inline-block;
	text-align: center;
	/* width: auto!important; ok= width: 540px; */
	width: 300px;
	/* text-align:center; */
	margin-right: 10px;
	margin-left: 10px;	
}
nav img {
	width: 50%;
	height: 50%;
}

[role=navigation] {
	/* ok= width: 480px; */
	width: 280px;
	margin-top: 20px;
	margin-bottom: 40px;
	overflow: hidden;
	text-align: center;
}


@media only screen and (max-device-width:640px) and (orientation:landscape)  {
	body {
	-webkit-text-size-adjust: 70% !important;
	}
} 