﻿/*   Theme Name:WPDF
Theme URI:http://www.apsc.dfarnier.fr/
Description:Thème réalisé par Daniel Farnier à partir du thème twenty ten
Author:Daniel Farnier
Author URI:http://www.apsc.dfarnier.fr
Version:1.0
Template:twentyten
Tags: 2 colonnes, widgets*/
/*  appel de la feuille de style du thème twentyten */
@import url(../twentyten/style.css);
@import url(widgetsWPDF.css);
@import url(../../plugins/simple-classifieds/annonces.css);
@import url(contactWPDF/contactWPDF.css);

/*  styles redéfinis dans le thème WPDF */

body {color:#444;}
#wrapper {background:#F4E2A6;}
#primary, #secondary {background-color:#FFFFFF; margin:0 0 10px; padding:10px 5px 0;}

/*blogtitle*/
#site-title, #site-description {position:absolute; left:-5000px; top:-5000px; text_indent:-5000px;}

#content .sticky {border-top:none;}

/* ------------ mise en forme des articles ---------------------------------------------------------------------------------- */
.entry-content, .entry-summary {text-align:justify;}

#content h2.entry-title, #content h1.entry-title {text-align: center;background-color:#DDDDDD;padding-top:5px;padding-bottom:5px;}

#content .entry-title a:link, #content .entry-title a:visited, #content h1.entry-title {color:#333;}
#content .entry-title a:active, #content .entry-title a:hover {color:#8524C3;}
.hentry {padding:5px;background-color:#EEEEEE;}
#content .entry-meta {color:#888888;font-style:italic;text-align:right;font-weight:bold;margin-right:10px;margin-top:10px;}
#content div.entry-content h3, #calendrier h3 {text-transform:none; font-variant: small-caps;font-size: 16px; font-weight:bold;line-height:18px; color: #8524c3;text-align: left;}
#content div.entry-utility {text-align:right;font-weight:bold;margin:5px;}
#content blockquote {border:1px solid #8524C3; padding:1em 3em;background-image:url(./img/ptitambour.gif);
background-repeat:no-repeat;background-position:right top;background-color:#F2F7FC;}
#content blockquote.notambour {background-image:none;}
/* ------------ mise en forme des liens dans les articles ----- */
.entry-content a, .entry-content a:link, .entry-content a:active {background-color: #ddd; color: #a02753; text-decoration: underline; padding-left: 5px; padding-right: 5px;}
.entry-content a:hover {background-color: #a02753; color: white; text-decoration: none; padding-left: 5px; padding-right: 5px;}
.entry-content .wp-caption a {background-color: inherit; color: inherit; text-decoration: none; padding-left: 0; padding-right: 0;}
.entry-content a[rel]{background-color: inherit; color: inherit; text-decoration: none; padding-left: 0; padding-right: 0;}
.entry-content div.lien a, .entry-content div.lien a:link, .entry-content div.lien a:active {background-color: #ddd; color: #a02753; text-decoration: underline; padding-left: 5px; padding-right: 5px;}
.entry-content div.lien a:hover {background-color: #a02753; color: white; text-decoration: none; padding-left: 5px; padding-right: 5px;}

.post h2 a, .post h2 a:visited, #single_post h2 span, .page h2 span { font-variant: small-caps;font-weight: bold;}
.post_content {font-family: cursive; text-align: justify;}
.post_content a:hover { color:#e2415b; }
#content h4 {font-weight:bold;margin-bottom:5px;text-decoration:underline;}
a.haut {display:block;text-align:right;}
div.vignette img {float:right;padding-left:10px; padding-right:10px;}

#content div.wpdf_recents, #content div.wpdf_relatifs {float:left; margin-top:20px; margin-right:20px; width:290px; }
#content div.wpdf_recents h3{font-weight:bold;margin-bottom:0px;}
#content div.wpdf_relatifs h3 {font-weight:bold;margin-bottom:0px;}

/* ------------------------ liste des décisions du maire ---------------------------------- */
.entry-content ul.decisions li  {text-indent:-50px;margin-left:30px;list-style-type:none;margin-bottom:10px;}
.post td, .post th {padding:5px;}


/* ----- pied de page   ---------------------------------------------------------------------------------------------------- */
#footer #site-info {width:940px;}
#footer #site-info ul#infosite{margin-left:0;}
#footer #site-info li { float:left; display:inline; font-size:12px; background : none; padding:2px 0 0 2px; margin:0px 0px 0 15px;}
#footer #site-info li.rss  {background:url(img/comment_rss.gif) no-repeat left top; padding-left: 20px;}
#footer #site-info li #footer #copyright li { float:left; display:inline; font-size:12px; background : none; padding:2px 0 0 2px; margin:0px 0px 0 15px;}
#footer #site-info li  a:hover #footer #copyright li  a:hover { text-decoration:none; }
#return_top a { position:absolute; position:fixed; right:15px; bottom:15px; width:18px; height:70px;
                display:block; background:url(img/return_top.png) no-repeat left top; }
#return_top a:hover { background:url(img/return_top.png) no-repeat right top; }

/* ----- zone des widgets ----------------------------------------- */
#main .widget-area ul {padding:0;}

/* ----- calendrier WordPress ----------------------------------------- */
#wp-calendar tbody td a, #wp-calendar tbody td a:visited { color:#8524c3; background:#e3db96;}
#wp-calendar caption {color:#743399;text-align:center;}
/* ----- changer légende des images  -----------------------------------------*/
#content .wp-caption p.wp-caption-text {color:#222277;font-style:italic;}
/* ----- mise en page pour sitemap  ----------------------------------------- */
#SiteMap h3 {text-align:center;}
#SiteMap h4 {font-size:large;font-variant:small-caps;font-weight:bold;margin-top:10px;margin-bottom:0;}

/* ----- styles pour le menu principal ----------------------------------------- */
#access .menu-header li.menu-item-search { float: right; padding-top: 7px;padding-right: 5px;}

/* ----- articles de la semaine  ancienne version  ----------------------------------------- */
#semaine a, #semaine a:visited, #semaine1 a, #semaine1 a:visited { background-color: #e5dab4; color: #000;text-align:center;border-color:#eee; border-width:3px;border-style:ridge;padding: 3px;text-decoration:none;display:block;font-variant: small-caps;font-weight:bold;font-family:Verdana;}
#semaine a:hover, #semaine1 a:hover {background-color:#726A50; color:#FFF; border-color:#726A50; text-decoration:none;}
#semaine li, #semaine1 li { background-image:none;padding:0; list-style-type:none; }

/* ----- articles de la semaine  ( custom post type) ----------------------------------------- */
#recap a, #recap a:visited { background-color: #e5dab4; color: #000;text-align:center;border-color:#eee; border-width:3px;border-style:ridge;padding: 3px;text-decoration:none;display:block;font-variant: small-caps;font-weight:bold;font-family:Verdana;}
#recap a:hover {background-color:#726A50; color:#FFF; border-color:#726A50; text-decoration:none;}
#recap li { background-image:none;padding:0; list-style-type:none; }
#semaine2 a, #semaine2 a:visited { background-color: #e5dab4; color: #000;text-align:center;border-color:#eee; border-width:3px;border-style:ridge;padding: 3px;text-decoration:none;display:block;font-variant: small-caps;font-weight:bold;font-family:Verdana;}
#semaine2 a:hover {background-color:#726A50; color:#FFF; border-color:#726A50; text-decoration:none;}
#semaine2 li { background-image:none;padding:0; list-style-type:none; }
/* ----- divers  ----------------------------------------- */
.avis {background-color:#e5dab4; color:#8584b0; font-size:x-large; text-align:center;line-height:30px;padding :10px;}
.avis1 {background-color:#f4e2a6; color:#8524c3; text-align:justify; font-weight:bold;line-height:30px;padding :10px;font-family:Arial;}
.separ {clear:both;display : block; height:0; visibility : hidden;}
.cache {display:none;}
.cacherDF {display : block; height:0; visibility : hidden;}
.taille10 {font-size:10px;}
.taille11 {font-size:11px;}
.arial {font-family:arial;}
.encadre { border-style: double;     border-width: 2px; margin: 10px; padding : 10px; border-color: blue;}

/* Format d'articles -------------------------------------------------- */
div.format-aside h2, div.format-aside h1, div.format-aside div.entry-meta, div.format-aside div.entry-utility {display: none;}
#content div.format-aside{background-color: #F6DC97; border: 10px groove yellow; padding: 10px;}

/* Tinymce -------------------------------------------------- */
#content table.mceToolbar tr td, #content tr td.mceToolbar, #content tr td.mceIframeContainer {padding: 0px;}

/* Menu annonces    -------------------------------------------------------------- */

div.menu-annonces-container {	background: #CCCCFF;	display: block;	float: left;	margin: 0 auto;	width: 640px; font-size: 12px;}
#content div.menu-annonces-container ul {margin-bottom: 0px;}
#menu-annonces li {	list-style: none;	margin: 0;}
#menu-annonces li {	float: left;	position: relative;}
#menu-annonces li {	min-width: 150px;}
#menu-annonces a {	color: #6666aa;	display: block;	line-height: 30px;	padding: 0 10px;	text-decoration: none;font-weight: bold; text-align: center;}
#menu-annonces ul {	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	display: none;	position: absolute;	top: 30px;	left: 0;	float: left;	width: 180px;	z-index: 99999;}
#menu-annonces ul ul {	left: 100%;	top: 0;}
#menu-annonces ul a {	background: #CCCCFF;	line-height: 1em;	padding: 10px;	width: 160px;	height: auto;text-align: left;}
#menu-annonces li:hover > a {	background: #6666aa;	color: #fff;}
#menu-annonces ul ul :hover > a {	background: #6666aa;	color: #fff;}
#menu-annonces li:hover > ul {	display: block;}
#menu-annonces select { background-color: #6666AA; color: #FFFFFF; font-size: 13px; margin-top: 4px;}

/* Menu petitions    -------------------------------------------------------------- */

div.menu-petition-container {	background: #4843d4;	display: block;	float: left;	margin: 0 auto;	width: 640px; font-size: 12px;}
#content div.menu-petition-container ul {margin-bottom: 0px;}
#menu-petition li {	list-style: none;	margin: 0;}
#menu-petition li {	float: left;	position: relative;}
#menu-petition li {	min-width: 150px;}
#menu-petition a {	color: #eeeeee;	display: block;	line-height: 30px;	padding: 0 10px;	text-decoration: none;font-weight: bold; text-align: center;}
#menu-petition ul {	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);	display: none;	position: absolute;	top: 30px;	left: 0;	float: left;	width: 180px;	z-index: 99999;}
#menu-petition ul ul {	left: 100%;	top: 0;}
#menu-petition ul a {	background: #CCCCFF;	line-height: 1em;	padding: 10px;	width: 160px;	height: auto;text-align: left;}
#menu-petition li:hover > a {	background: #6666aa;	color: #fff;}
#menu-petition ul ul :hover > a {	background: #6666aa;	color: #fff;}
#menu-petition li:hover > ul {	display: block;}
#menu-petition select { background-color: #6666AA; color: #FFFFFF; font-size: 13px; margin-top: 4px;}
p.alert_petition_mail { background-color: #4843d4; color: white; font-weight: bold; margin: 20px; text-align: center;}
#txt_petition { border-color: Silver; border-style: solid; border-width: 5px; color: RoyalBlue; font-weight: bold; padding: 10px; text-align: justify;}
#content #aff_petition h3 {background-color: #DDDDDD; margin: 20px 5px 0; padding: 0 10px;;}
#content #aff_petition p { padding: 0 20px;}

/* affichage annonces    -------------------------------------------------------------- */
#categ {	float: right; margin-top: 5px;}
#categ span.categ-nom {	background: #CCCCFF;	color: #6666aa; padding-left: 5px; padding-right: 5px;}

/* Modification du css du thème twenty ten ---------------------------------------------------------- */

#content img {
/*	margin: 0;    */
/* 	height: auto; */
	max-width: 580px;
/* 	width: auto; */
}
