/*
Theme Name: Plainfaing
Theme URI: http://www.adilade.fr/
Description:  Theme for the Website plainfaing.com.
Author: Adilade
Author URI: http://www.adilade.fr/
*/

/* Main -------------------------------*/
body {
    margin: 0 auto;
    padding: 0;
	font: 78% "Lucida Grande", Geneva, Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	color: #474747;
	background: #77B5FE url(design/body-bg-blue.png) no-repeat top center;
	}
/* Links -------------------------------*/
a {  
	color: #145381;
	text-decoration: none;
	}	
a:visited {
	color: #256B95;
	text-decoration: none;
	}
a:focus, a:hover, a:active {
	color: #145381;
	}
a[hreflang]:after {
	content: "\0000a0[" attr(hreflang) "]";
	}
a img {
	border: none;
	}	
/* H -------------------------------*/
h1 {	
	clear: both;	
	margin: 0!important;
	margin-top: -2px; /* IE6 */
	padding: 0;
	padding-left: 15px;
	height: 30px;
	line-height: 30px;
    text-align: left;
    font-weight: bold;
    font-size: 1.3em;
    color: #F8F8F8;	
	background: #366396 url(design/h1-blue.gif) repeat-x bottom;
	}
h2 {	
	text-align: left;
	}
h3 {
	text-align: left;
	}
h4, h5, h6 {
	text-align: left;
	color: #515151;
	}
/* Various attributes-------------------------------*/			
acronym, abbr { 
    cursor: help;
    border-bottom: dotted 1px #333;
    }
kbd {
	border: 1px solid #6d5732;
	padding: 2px;
	background: #fff;
	}
blockquote {
	border: 1px solid #ddd;
	background: #f5f5f5 url(design/blockquote.gif) no-repeat 5px 3px;
	border-left : 5px solid #ddd;
	padding: 5px 10px 5px 40px;
	margin: 5px 5px 2.25em 5px;
	}
code, pre {	
	border: 1px solid #ccc; 
	background: #eee; 
	padding: 5px;
	margin-left: 10px;
	font-family: "Courier New", Courier, mono, Fixed, sans-serif;
	overflow: auto;
	text-align: left;
	width: 450px;
	white-space: pre;
	}	
small {
	font-size: 0.9em;
	line-height: 1.5em;
	}
strike, del {
	text-decoration: line-through;
	}
sup, sub {
    line-height: 50%;
    font-size: 80%;
	}
q {
	font-style: italic;
	quotes: "� " " �" "'" "'";
	}
q:before {
	content: open-quote;
	}
q:after {
	content: close-quote;
	}
#content .wp-smiley {/* WP Smiley */
	margin:0px;
	padding:0px;
	border:0px;
	}
/* Accessibility -------------------------------*/
#acc {
  width:100%;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	font-size: 0.9em;
	background: #474747;
	color: #e8e8e8;
	}
#acc p {
	width: 760px;
	margin: 0 auto;
	text-align: left;
	padding: 3px;
	padding-left: 5px;
	}
#acc a, #acc a:visited {
	color: #e8e8e8;
	text-decoration: none;
	}
#acc a:focus, #acc a:hover, #acc a:active {
	color: #e8e8e8;
	text-decoration: underline;
	}
/* Page-------------------------------*/
#page {
	margin: 0 auto 5px auto;
	width: 760px;
	background: #F7F6F4;  
	}
/* Header -------------------------------*/
#header {
	margin: 0;
	padding: 0;
	text-align: left;
	height: 130px;
	background: url(design/header.jpg) top;
	}
/* Breadcrumb --------------------------------------------------------*/
#crumb {
	clear: both;	
	margin: 0;
	padding: 0;
    text-align: left;
    font-weight: bold;
    background: #efefef;
    border-bottom: 1px solid #ddd;
	}
#crumb p {
	margin: 0;
	padding: 5px;
	}
#crumb a {
    text-decoration: underline;
    }
#crumb a:focus, #crumb a:hover, #crumb a:active {
	text-decoration: none;
	}
/* Content -------------------------------*/
#contentleft {
    float: left;
    width: 480px;
    padding: 10px 10px 10px 20px;
    margin: 0;
 	}
#content p {
	text-align: left;
	font-size: 1em;
	line-height: 1.5em;
	margin: 0 1.5em 2.25em 0;
	}
#content ul, #content ol {
	margin-bottom: 2.25em;
	}
#content ul li {
	text-align: left;
    display: list-item;
    list-style: disc;
	line-height: 155%;
	margin: 0 1.5em 0 0;
    }
#content ol li {
	text-align: left;
    display: list-item;
    list-style: decimal;
	line-height: 155%;
	margin: 0 1.5em 0 0;
	}
dl {
	margin: 0 1.5em 2.25em 0;
 	text-align: left;
 	line-height: 155%;
 	}
dt {
	font-size: 1.1em;
	}
dd {
	margin-bottom: 2.25em;
	}
#content a {
    text-decoration: underline;
    }
#content a:focus, #content a:hover, #content a:active {
	text-decoration: none;
	}
#content h2 {
	clear: both;
	font-size: 1.6em;
	border-bottom: 3px solid #474747;
	padding-bottom: 5px;
	}
#content h2 a {
	color: #145381;
	text-decoration: none;
	}
#content h2 a:focus, #content h2 a:hover, #content h2 a:active {
	color: #426892;
	}
#content h3 {
	font-size: 1.4em;
	}
#content .postmetadata-more { /* Next img */
	text-align: right;
	margin-top: 5px;
	}
div#content .postmetadata-more img { /* Next img */
	border: none;
	padding: 0;
	margin: 0;
	}
/* Sidebar --------------------------------------------------------*/
#sidebar {
	margin-top: 10px;
	margin-right: 5px;
    float: right;
    width: 230px;
    border: 1px solid #ddd;
	background: #E6F0F9 url(design/sidebar-bg-blue.gif) repeat-x bottom;
	}
/* Sidebar search -------------------------------*/
.searchmenu {
    margin: 0;
	padding: 0;
	}
.submitmenu {
	padding: 2px;
	margin: 5px;
	border: 1px solid #c8c8c8;
	text-align: center;
	cursor: pointer;
	}
#smenu {
	border: none!important;
	background: none!important;
	text-align: left;
	}
.searchm {
	padding: 2px 2px 2px 2px;
	margin: 5px;
	border: 1px solid #c8c8c8;
	background: #e2e2e2;
	}
.searchm:focus, .searchm:hover, .searchm:active {
    border: 1px solid #ddd; 
	background: #f1f1f1;
	}
.submitmenu, .submitmenu:hover, .submitmenu:focus, .submitmenu:active {
    border: 1px solid #ddd;
	background: #474747 url(design/bg-grey.gif) repeat-x bottom;
	color: #e2e2e2;
	}
/* End Sidebar search -------------------------------*/
#sidebar p {
	padding: 3px;
	margin: 0;
	font-size: 1.2em;
	font-weight: bold;
	}
#sidebar h2 {
	text-align: center;
	font-size: 1.3em;
	height: 30px;
	line-height: 30px;
	margin: 0;
	padding: 0;
    color: #F8F8F8;	
	background: #366396 url(design/sidebar-top-blue.gif) repeat-x top;
	}
#sidebar ul {
	margin: 0;
	padding: 0;
	text-align: left;
	}
#sidebar li {
	list-style: none;
	border-top: 1px solid #fff;
	}
#sidebar ul li ul {
	margin: 0;
	background: none;
	border: none;
	padding-left: 12px;
	font-size: 0.9em;
	}
#sidebar a {
	display: block;
	color: #212121;
	font-weight: bold;
	}
#sidebar ul li a {
	height: auto!important; 
	height: 2.7em; /* IE6 */
	line-height: 2.7em;
	padding: 0 0 0 17px;
	background: url(design/sidebar-li-blue.gif) no-repeat 7px;
	}
#sidebar a.current_page_item, #sidebar ul li a:hover, #sidebar ul li a:focus, #sidebar ul li a:active {
	padding: 0 0 0 17px;
	color: #292929;
	background: #f1f1f1 url(design/sidebar-li-blue.gif) no-repeat 7px;
	}	
/* Sidebar Station Verte - Ville Fleurie -------------------------------*/	
#sidebar p.sv {
	border-top: 1px solid #fff;
	padding-top: 7px;
	}
#sidebar p.vf {
	padding-top: 7px;
	}	
/* Footer -------------------------------*/
hr.clear { /* IE6 */
	display:block;
	height:1px;
	clear:both;
	visibility:hidden;
	} 
#footer {
	clear: both;	
	margin: 0;
	padding: 7px;
	font-size: 0.9em;
	color: #e1e1e1;
    background: #474747 url(design/bg-grey.gif) repeat-x top;
	}
#footer p {
	margin: 0;
	padding: 5px;
	text-align: center;
	}
#footer a {
	color: #f1f1f1;
	text-decoration: none;
	}
#footer a:hover, #footer a:focus, #footer a:active {
	color: #f1f1f1;
	text-decoration: underline;
	}
/* Home -------------------------------*/
#lefthome {
	float: left;
	background: url(design/home-top.gif) no-repeat top center;
	}
#righthome {
	float: right;
	background: url(design/home-top-events.gif) no-repeat top center;
	}
#righthome, #lefthome {
	text-align: left;
	width: 230px;
	padding: 0px 0px 2px 0px;
	margin: 0 0 10px 0;
	}
#righthome h2, #lefthome h2 {
	padding: 0 0 0 30px;
	line-height: 16px;
	height: 30px;
	font-size: 1.2em;
	margin-bottom: -7px;
	margin-top: 8px;
	text-align: left;
	border: none;
	}
#righthome h2 {
	background:url(design/home-events-anim.gif) repeat -230px -23px;
	color: #474747;
	}
#righthome h2:hover {
	color: #5A5A5A;
	}
#lefthome h2 {
	background:url(design/home-anim.gif) repeat -230px -23px;
	color: #474747;
	}
#lefthome h2:hover {
	color: #5A5A5A;
	}
#righthome h3, #lefthome h3 {
	font-size: 1.1em;
	margin: 0px 5px 5px 5px;
	text-align: left;
	border: none;
	}
#righthome h3 a, #lefthome h3 a {
	text-decoration: none;
	}
#righthome h3 a:hover, #lefthome h3 a:hover, #lefthome h3 a:active {
	text-decoration: underline;
	}
#righthome div, #lefthome div {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px 5px 10px 5px;
	background: #f1f1f1 url(design/home-bg.gif) repeat-x bottom;
	}
#righthome p, #lefthome p {
	margin: 0px 5px 0px 5px;
	}
div#righthome img.home, div#lefthome img.home {
	border: none;
	padding: 0;
	margin: 0 auto;
	}
 /* Home Slideshow */
.jMyCarousel {width: 450px; height: 276px;margin: 0 auto;}
.jMyCarouselalt p {
	padding: 0;
	margin: 0 0 2em 0;
	}
.jMyCarouselalt a {
	font-size: 0.8em;
	text-decoration: underline;
	}
/* Posts -------------------------------*/	
.entry {
	border-bottom: 1px solid #e2e2e2;
	}
p.postmetadata {
	font-size: 0.9em;
	font-style: italic;
	}
.entry-list {
	padding-bottom: 15px;
	background: url(design/entry-bg.gif) no-repeat bottom center;
	}
.entry-list .postmetadata-list {
	font-size: 0.9em;
	margin-top: -7px;
	padding-left: 17px;
	background: url(design/entry-metadata.gif) no-repeat left center;
	}

/* Page Navigation -------------------------------*/	
.navigation {
	margin: 0;
	padding: 5px 10px 20px 10px;
	font-weight: bold;
	font-size: 1.1em;
	}
.navigation a {
	text-decoration: none!important;
	}
.ar {				
	float: right;
	}
.al {
	float: left
	}
/* Links template -------------------------------*/
.links {
	line-height: 1.7em;
	}
.links li {	
	padding-bottom: 2.5em;
	}
.links a {
	font-size: 1.1em;
	font-weight: bold;
	}
/* Forms -------------------------------*/
.form {
    width: 90%;
	}
.form input, select {
	padding: 3px;
	margin: 5px 5px 1px 0;
	border: 1px solid #c8c8c8;
	background: #e2e2e2;
    }
.form label {
	color: #2F476E;
	font-weight: bold;
	}
.form textarea {
	padding: 2px;
	margin: 5px 5px 1px 0;
	border: 1px solid #c8c8c8;
	background: #e2e2e2;
    }
.form input:focus,.form input:hover,.form input:active, .form select:focus, .form select:hover, .form select:active, .form textarea:focus, .form textarea:hover, .form textarea:active  {
    border: 1px solid #ddd; 
	background: #f1f1f1;
    }
input.formsubmit {
	background: #2F5680 url(design/bg-blue.gif) repeat-x;
	color: #e5e5e5;
	padding: 3px;
	font-weight: bold;
	text-align: center;
	border: 1px solid #ccc;
	cursor: pointer;
    }
input.formsubmit:hover, input.formsubmit:focus, input.formsubmit:active { 
	background: #474747 url(design/bg-grey.gif) repeat-x;
	color: #e5e5e5;
	cursor: pointer;
	border: 1px solid #ccc;   
    }
.classerror {
	border: 1px solid #F4A4AD!important;
	background: #FFCCCC!important;
	color: #474747!important;
	}
/* Messages manage-------------------------------*/
.error {
	color: #B50000;
	font-weight: bold;
	}
.confirm {
	color: #2C7C27;
	font-weight: bold;
	}
.message {
	background: #FFFFCC;
	border: 1px solid #e5df98;
	padding: 7px;
	margin-bottom: 1em;
	}
/*  Image align and caption for WP -------------------------------*/
div#content img.aligncenter, div#content img.alignright, div#content img.alignleft {margin: 10px; padding: 5px;}
div#content img.alignright, div#content img.alignleft {border: 1px solid #ccc;}
div#content img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
div#content img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}
div#content img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
div#content .alignright {
	float: right;
	}
div#content .alignleft {
	float: left;
	}
/* Captions */
div#content .aligncenter, div#content div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
div#content .wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #eee;
	padding-top: 4px;
	margin: 10px;
	}
div#content div.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
	}
div#content .wp-caption p.wp-caption-text {
	font-size: 0.9em;
	text-align: center;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
	}
/* End captions -------------------------------

/* Image Gallery -------------------------------*/
div.gallery {
	clear: both;
	margin: auto;
	}
dl.gallery-item {
	float: left;
	margin: 10px 0 10px 10px;
	padding: 0;
	text-align: center;
	border: 1px solid #ccc;
	background-color: #eee;
	}
dt.gallery-icon {
	padding: 8px 0 4px 0;
	text-align: center;	
	margin: 0 auto;
	}
dt.gallery-icon img {
	padding: 0;
	}
dd.gallery-caption {
	font-size: 0.9em;
	font-style:italic;
	text-align: center;
	margin: 0;
	line-height: 17px;
	padding: 0 4px 5px;
	}
div.gallery dl.gallery-columns-1 {
	width:100%;
	}
div.gallery dl.gallery-columns-2 {
	width:45%;
	}
div.gallery dl.gallery-columns-3 {
	width:33%;
	}
div.gallery dl.gallery-columns-4 {
	width:24%;
	}
div.gallery dl.gallery-columns-5 {
	width:19%;
	}
/* End Image Gallery -------------------------------*/
