/*
Theme Name:     2011 Vélocité
Theme URI:      
Description:    Sous-thème (child theme) de "Twenty Eleven" pour Vélocité Languedoc
Author:         Michel Julier
Author URI:     
Template:       twentyeleven
Version:        
*/

@import url("../twentyeleven/style.css");

/********** NE RIEN METTRE AU-DESSUS DE CETTE LIGNE ************/
/* le bloc d'entête ne peut pas être retiré, et la ligne "Template:" ne peut pas être modifiée */
/* Explications sur les sous-thèmes: https://codex.wordpress.org/Child_Themes */

/* PERSONNALISATION DU THÈME ENFANT */

/*Pas de case "recherche" dans l'entête*/
.only-search.with-image {
	display:none;
}
/*Le menu peut donc occuper toute la largeur*/
#branding .only-search + #access div {
	padding-right:0px;
}
/*réduit espace sous entête et sous titre*/
#main {
	padding:1em 0 0;
}
.entry-content, .entry-summary {
	padding:inherit;
}
/*réduire un peu les marges latérales en 2 colonnes*/
#content {
	margin:0 28% 0 4%;
	width:68%;
}

#secondary {
	margin-right:4%;
	width:20%;
}
#page {
	margin:0.5em auto;
}
body {
	padding:0 0.5em;
}
@media (max-width: 800px) { body {padding:0;} }

/*Menu de navigation:la page courante et ses parents s'affichent en rouge*/
#access .current-menu-item > a, #access .current-menu-ancestor > a, #access .current_page_item > a, #access .current_page_ancestor > a {
	font-weight:bold;
	color:#FF0000;
}
/* AJOUT DE LA BARRE LATÉRALE SUR TOUTES LES PAGES ET ARTICLES (avec aussi des modifs PHP)
voir: http://en.bainternet.info/2011/add-sidebar-on-single-posts-and-pages-in-twenty-eleven */

.single #author-info {
	background:#f9f9f9;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	margin:2.2em 0% 0 0%;
	padding:20px 35.4%;
}

/* PAS DE "--" À GAUCHE DES LÉGENDES D'IMAGES */
.wp-caption .wp-caption-text:before {
	content:"";
}
.wp-caption .wp-caption-text {
	padding:5px;
}

/* Supprimer la largeur de 500 px sur le widget PHP Code (utilisé par les sous-rubriques) */
.execphpwidget {
	width: inherit !important;
}

/* AUGMENTER LA LISIBILITÉ DES DATES SUR L'AGENDA DE TIME.LY ALL-IN-ONE EVENT CALENDAR */
.ai1ec-agenda-view a.ai1ec-date-title .ai1ec-weekday, .ai1ec-agenda-widget-view a.ai1ec-date-title .ai1ec-weekday {
	font-size:1.2em !important;/*0.8em*/
}
.ai1ec-agenda-view a.ai1ec-date-title .ai1ec-month, .ai1ec-agenda-widget-view a.ai1ec-date-title .ai1ec-month{
	font-size:0.9em !important;/*0.8em*/
	font-weight:bold !important;/*normal..bold*/
	padding-top: 0.2em;
}
.ai1ec-posterboard-view .ai1ec-weekday {
	font-size: 0.9em !important;
	font-weight: bold !important;
}
.ai1ec-posterboard-view .ai1ec-month {
	font-size: 1em !important;
	font-weight: bold !important;
}
/* montrer le calendrier, sans image "loading", sans attendre "webfont.js" qu'on a supprimé */
.timely > * {
	visibility:visible !important;
	opacity:1 !important;
}

.timely {
	/*background:none !important;*/
}
.ai1ec-posterboard-view {
	background:none !important;
}
.ai1ec-posterboard-view > * {
	visibility: visible !important;
	opacity: 1 !important;
}
.ai1ec-posterboard-view .ai1ec-event-wrap {
    opacity: 1 !important;
 }
/* remplacer qq icones disparues avec la suppression de webfont.js */
#ai1ec-print-button:after{
	content:"Imprimer";
}
.timely .icon-chevron-left:after{
	content:"<";
}
.timely .icon-chevron-right:after{
	content:">";
}
.timely .icon-plus:after{
	content:"(+)";
}
.timely .icon-google-plus:after{
	content:"G+ ";
}
/* mettre le jour en haut et le mois en bas (normalement inversé) */
.ai1ec-agenda-widget-view .ai1ec-date-title, .ai1ec-agenda-view .ai1ec-date-title, .ai1ec-date-block-wrap .ai1ec-load-view {
	height: 5em !important;
	position: relative !important;
	display: block !important;
}
.ai1ec-load-view .ai1ec-month {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
}
.ai1ec-agenda-widget-view .ai1ec-month, .ai1ec-agenda-view .ai1ec-month {
	border-radius: 0 0 4px 4px !important;
}
.ai1ec-load-view .ai1ec-weekday {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
}
.ai1ec-load-view .ai1ec-day {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 23% !important;
}
.ai1ec-agenda-widget-view .ai1ec-date-title, .ai1ec-agenda-view .ai1ec-date-title {
    border: 1px solid #CACACA !important;
}
/****
/* PLUSIEURS CLASSES POUR AFFICHER LES DERNIERS ARTICLES AVEC
 * LE PLUGIN "LIST CATEGORY POSTS"
 * http://wordpress.org/extend/plugins/list-category-posts/ */

/*STYLE "velocite_3blocs":RÉSUMÉ D'ARTICLES DANS DES BLOCS, 3 BLOCS PAR LIGNE*/
ul.velocite_3blocs {/*liste*/
	list-style:none outside none;
	margin:0;
}
ul.velocite_3blocs > li {/*article*/
	display:inline-block;
	font-size:80%;
	margin:3px 0.5%;
	vertical-align:top;
	width:32.3%;
}
ul.velocite_3blocs > li > a:first-child {/*titre*/
	background:/*#A04000*/#713988;
	color:#FFFFFF;
	display:block;
	font-size:125%;
	font-weight:bold;
	padding:3px;
	min-height: 5em;
}
ul.velocite_3blocs .date {/* date */
	display:block;
	font-style:italic;
	text-align:right;
}
ul.velocite_3blocs > li img:first-child {/*miniature*/
	display:block;
	margin:0 auto;
	width:100%
}

@media (max-width: 650px) { /* écran moins large => 2 blocs */
	ul.velocite_3blocs > li {/*article*/
		width:48.8%;
	}
}
@media (max-width: 450px) { /* écran étroit => 1 bloc */
	ul.velocite_3blocs > li {/*article*/
		width:98.8%;
	}
}

/* STYLE "velocite_cadrelarge":RÉSUMÉ D'ARTICLES DANS DES CADRES DE LA LARGEUR DE LA FENÊTRE */
ul.velocite_cadrelarge {/*liste*/
	list-style:none outside none;
	margin:0;
}
ul.velocite_cadrelarge > li {/*article*/
	background:#FFF3C4;
	border:1px solid #A04000;
	border-radius:5px 5px 5px 5px;
	box-shadow:2px 2px 3px;
	-webkit-box-shadow:2px 2px 3px;
	display:block;
	font-size:80%;
	margin:10px 0;
	padding:5px;
	width:100%;
	overflow:hidden
}
ul.velocite_cadrelarge > li > a:first-child {/*titre*/
	color:#A04000;
	display:block;
	font-size:125%;
}
ul.velocite_cadrelarge .date {/*date*/
	display:block;
	font-style:italic;
	text-align:right;
}
ul.velocite_cadrelarge > li img:first-child  {/*miniature*/
	border:5px solid #FFFFFF;
	float:right;
	margin:3px;
	max-height:100px;
	width:auto;
}

/* Style "velocite_sous_menu" (affiché en haut à droite s'il y a un sous-menu)*/
div.velocite_sous_menu {/*cadre principal*/
	background:none repeat scroll 0 0 #000000;
	border:1px solid;
	display:block;
	margin:0;
	padding:0;
}
div.velocite_sous_menu>ul>li {/*titre*/
	padding:0 /*5px*/;
	font-size: 12px;
}
div.velocite_sous_menu>ul>li>a {/*titre*/
	color:#FFFFFF;
	font-weight:bold;
	font-size: 10px; /* ceci et la suite: vient de .widget-title*/
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
        padding: 5px;
}
.velocite_sous_menu ul {/*liste complete*/
	list-style:none outside none;
	margin:0;
}
.menu-item-3274 {
	background-color: #007bc4;
	font-weight:bold;

}

.velocite_sous_menu ul ul{/*sous-rubriques*/
	margin:0;
}
.velocite_sous_menu ul > li >ul>li {/*page*/
	background:none repeat scroll 0 0 #F9F9F9;
	border-top:1px solid #C0C0C0;
	display:block;
	padding:0 5px;
}
.velocite_sous_menu li li:hover {/*page sous souris */
	background:none repeat scroll 0 0 #EFEFEF;
	outline:2px solid #FFC000;
}
.velocite_sous_menu ul > li >ul>li>a {/*lien*/
	color:#000000;
	display:block;
	font-weight:normal;
	font-size:12px;
}
.velocite_sous_menu a:hover {/*lien actif*/
	text-decoration:none;
}

/* affichage des liens dans un tableau: class "liens", tableau largeur 100% chaque cellule 33% si 3 cellules */
.liens td {
	font-size:90%;
	vertical-align:top;
}
.liens td img {
	width:90%;
	height:auto;
	margin-bottom:0;
}

/* ML-SLIDER/META SLIDER v1.2 obsolete */
/*.flexslider .slides img {
	max-width:none;
}
.velocite .flexslider {
	border:none;
	border-radius:0;
	overflow:hidden;
	box-shadow:none;
	background:#000000;
}
.velocite.ml-slider p.flex-caption {
	padding:0 0.5em;
	color:#FFFFFF;
}
.velocite.ml-slider a>p.flex-caption {
	text-decoration:underline;
}*/
/* PLUGIN ML-SLIDER/META SLIDER encore utile */
.velocite .flex-control-nav li {
	vertical-align:middle;
}
.velocite .flex-control-paging li a {
	background:#808080;
}
.velocite .flex-control-paging li a:hover {
	background:#D0D0FF;
}
.velocite .flex-control-paging li a.flex-active {
	background:#FFFF00;
	border:1px solid #FF0000;
}
/* PLUGIN ML-SLIDER/META SLIDER 2.4.2 nouveau */
.velocite .flex-control-nav {
	bottom: -20px;
	line-height: 20px;
	background: #000000;
}

/* pas de titre sur la page d'accueil (au-dessus de ML-SLIDER/META SLIDER) */
.home .entry-header {
	display:none;
}
/* supprime espace sous menu navigation */
#access {
	margin:0 auto;
}
/* affiche images defilantes (centrees) dans entete */
#branding .metaslider{
	clear:both;
	margin:0 auto;
}
/* BLOC FACEBOOK:NE PAS DÉPASSER DE LA COLONNE */
.fb_iframe_widget {
	width:100%;
}
.fb_iframe_widget > span {
	width:100% !important;
}

/* BLOC RÉSEAUX SOCIAUX (REALLY SIMPLE SHARE):BOUTONS CENTRÉS */
.really_simple_share {
	text-align:center;
	width:100%;
}
.really_simple_share > div {
	display:inline-block;
	vertical-align:top;
	float:none !important;
}
.really_simple_share_email > a {
	font-size:80%;
	vertical-align:top;
}

/* Custom Facebook Feed */
#cff .cff-item {
	border:1px #CCC solid !important;
	padding:2px !important;
	margin:4px 0 !important;
}
#cff .cff-author-img {
	display:none;
}
#cff .cff-author {
	margin-bottom:0 !important;
}
#cff .cff-post-links {
	display:none;
}
