/*
Theme Name: CVR
Theme URI: http://wordpress.org/
Description: CVR Theme
Author: État d'Esprit
Version: 1.0
Tags: cvr
*/


/* Reset */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

article, aside, h1, h2, h3 {
	margin: 0;
	padding: 0;
}



/* Real CSS */

body {
	background: #fff;
	color: #333;
}

#container {
	width: 960px;
	margin: 0 auto;
	font-family: "Lucida Grande", Helvetica, Verdana, sans-serif;
	font-size: 14px;
	line-height: 22px;
	text-rendering: optimizeLegibility;
}

header {
	display: block; /* Required by Firefox 3.6 and earlier versions */
	display: block;
	width: 100%;
	height: 160px;
	margin-bottom: 40px;
	background: #a10000 url(images/header.jpg) no-repeat top left;
}

nav {
	display: none;
	width: 100%;
}

#content {
	clear: both;
	float: left;
	width: 620px;
}

article {
	padding-bottom: 30px;
	margin-bottom: 30px;
}

article section.infos
{
	color : #888;
	border-bottom: 1px solid #ccc;
	font-size : 13px;
}

article section.infos a
{
	color : #888;
	font-style: italic;
}

article section.share
{
	border-top : 1px solid #ccc;
	padding : 4px 0px;
	height : 26px;
	clear: both;
}

article section.share .fb-like
{
/*	width : 110px;*/
	overflow: hidden;
}

article section.share .button-container
{
	width : 107px;
	display: block;
	float:  left;
	height : 26px;
	overflow: hidden;
}

article section.share .button-googleplus
{
	width : 75px;
}

article section.share .button-facebook
{
	width : 300px;
}

article section.share .twitter-share-button
{
	width : 110px;
	display: block;
	float: left;
}

article:last-child {
	border-bottom: none;
}

aside {
	float: right;
	width: 300px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #fff;
}

footer {
	clear: both;
	display: block; /* Required by Firefox 3.6 and earlier versions */
	width: 100%;
	height: 60px;
	border-top: 1px solid #ccc;
	padding-top: 20px;
}



/* Header */

header h1 a {
	display: block;
	width: 100%;
	height: 160px;
	margin-bottom: 40px;
	background: #a10000 url(images/header.jpg) no-repeat bottom left;
	opacity: 0;
	-webkit-transition: opacity .2s ease-out;
	-moz-transition: opacity .2s ease-out;
	-o-transition: opacity .2s ease-out;
	transition: opacity .2s ease-out;
}

header h1 a:hover {
	opacity: 1;
}

header h1 a span {
	display: none;
}



/* Article */

article h1 {
	font-size: 27px;
	line-height: 36px;
	margin: 0 0 18px 0;
	background: none;
	color: #a10000;
}

article h1 a, article h1 a:visited {
	text-decoration: none;
	color: #a10000;
}

article h1 a:hover {
	text-decoration: underline;
	color: #a10000;
}

article h2 {
	font-size: 21px;
	line-height: 34px;
	clear: left;
}

article p {
	text-align: justify;
}

article p.intro {
	font-weight: bold;
	color: #a10000;
}

article a, article a:hover, article a:visited {
	color: #003399;
	text-decoration: none;
}

article a:hover {
	text-decoration: underline;
}

article #author {
	border-top: 1px solid #ccc;
	padding-top: 10px;
}

article #author h2 {
	font-size: 14px;
	font-weight: bold;
}

article #author-description p {
	margin-top: 0;
	font-style: italic;
}



/* Aside */

aside .box {
	margin-bottom: 20px;
}

aside .box a
{
	color: #fff;
	text-decoration: none;
}

aside .box a:hover,
aside .box a:focus
{
	text-decoration: underline;
}

aside .box h1 {
	font-size: 27px;
	line-height: 43px;
	height: 29px;
	overflow: hidden;
	color: #3c73a9;
}

aside .box div {
	padding: 20px;
	background: #3c73a9;
}

aside .box h2 {
	font-size: 18px;
	line-height: 28px;
	color: #fff;
}

aside .box h2 a
{
	color : #fff;
	text-decoration : none;
}

aside .box h2 a:hover,
aside .box h2 a:focus
{
	text-decoration : underline;
}

/* Aside : About */

aside .box.about h1 {
	margin-left: -1px;
	color: #3c73a9;
}

aside .box.about div {
	background: #3c73a9;
}

aside .box.abonnement h1 {
	color: #cb9b00;
}

aside .box.abonnement div {
	background: #cb9b00;
}

aside .box.abonnement div.une
{
	text-align: center;
	padding : 0;
}

/* Aside : Categories */

aside .box.categories h1 {
	margin-left: -2px;
	color: #d15f34;
}

aside .box.categories div {
	background: #d15f34;
}

aside .box.categories ul {
	margin: 0;
	padding: 0;
}

aside .box.categories li {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

aside .box.categories li a, aside .box.categories li a:visited {
	color: #fff;
	text-decoration: none;
}

aside .box.categories li a:hover {
	text-decoration: underline;
}

/* Aside : Minis */

aside .box.minis h1 {
	margin-left: -2px;
	color: #7ea343;
}

aside .box.minis div {
	background: #7ea343;
}

aside .box.minis ul {
	margin: 0;
	padding: 0;
}

aside .box.minis li {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

aside .box.minis li a, aside .box.minis li a:visited {
	color: #fff;
	text-decoration: none;
}

aside .box.minis li a:hover {
	text-decoration: underline;
}

/* Aside : Portfolio */

aside .box.portfolio h1 {
	margin-left: -2px;
	color: #96a6a4;
}

aside .box.portfolio p.subtitle {
	margin: 0 0 14px 0;
	padding: 0;
}

aside .box.portfolio div {
	background: #96a6a4;
}

aside .box.portfolio div {
	padding: 20px 0 20px 20px;
}

aside .box.portfolio img {
	-webkit-box-shadow: 0px 1px 2px #869694;
	margin: 0 17px 17px 0;
	padding: 0px;
	border: 1px solid #ccc;
	width: 72px;
	height: 72px;
	float: left;
	overflow: hidden;
}

aside .box.portfolio p.right {
	text-align: right;
	margin: 0 24px 14px 0;
}

aside .box.portfolio p.right a, aside .box.portfolio p.right a:visited {
	color: #fff;
	text-decoration: none;
	display: block;
	clear: both;
}

aside .box.portfolio p.right a:hover {
	text-decoration: underline;
}

/* Aside : Authors */

aside .box.authors h1 {
	margin-left: -2px;
	color: #804f70;
}

aside .box.authors div {
	background: #804f70;
}

aside .box.authors ul {
	margin: 0;
	padding: 0;
}

aside .box.authors li {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

aside .box.authors li a, aside .box.authors li a:visited {
	color: #fff;
	text-decoration: none;
}

aside .box.authors li a:hover {
	text-decoration: underline;
}

/* Aside : Links */

aside .box.links h1 {
	margin-left: -2px;
	color: #5c8c9e;
}

aside .box.links div {
	background: #5c8c9e;
}

aside .box.links ul {
	margin: 0;
	padding: 0;
}

aside .box.links li {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

aside .box.links li a, aside .box.links li a:visited {
	color: #fff;
	text-decoration: none;
}

aside .box.links li a:hover {
	text-decoration: underline;
}

aside .box p a
{
	text-decoration : underline;
}



/* Footer */

footer {
	font-size: 11px;
	line-height: 20px;
}

footer p {
	margin: 0 0 20px 0;
}

footer .title {
	margin-right: 12px;
	font-size: 13px;
	font-weight: bold;
}

footer div {
	display: block;
	width: 300px;
	float: left;
	text-align: left;
	padding-bottom: 40px;
}

footer #legal, footer #team {
	margin: 0 30px 0 0;
}

footer img {
	margin-top: 10px;
}

footer ul, footer li {
	margin: 0;
	padding: 0;
}

footer li {
	list-style: none;
}

footer a, footer a:visited {
	color: #a10000;
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

footer a.invisible, footer a.invisible:visited {
	color: #333;
	text-decoration: none;
}

footer a.invisible:hover {
	text-decoration: underline;
}



/* Misc */

h1.page-title {
	margin-bottom: 24px;
	font-size: 36px;
	line-height: 50px;
}

hr {
	clear: both;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	border: none;
	background-color: transparent;
}

.alignright {
	float: right;
	margin: 0 0 8px 20px;	
}

.alignleft {
	float: left;
	margin: 0 20px 8px 0;	
}

/* Formulaire d'abonnement */

.form p label
{
	display : block;
	float : left;
	width : 120px;
	height : 1.6em;
	padding : 3px 0 1px;
	margin-right : 14px;

	text-align : left;
}

.form fieldset.adresse label
{
	width : 180px;
}

.form fieldset.contact label
{
	width : 120px;
}

.form p .wpcf7-not-valid-tip-no-ajax
{
	color : #a10000;
	display : block;
	text-align : left;
	margin-bottom : 1.3em;
	margin-left : 134px;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng
{
	color : #a10000;
	font-weight : bold;
}

.wpcf7-mail-sent-ok
{
	font-weight : bold;
	color : #7ea343;
}

.form fieldset.adresse p .wpcf7-not-valid-tip-no-ajax
{
	margin-left : 194px;
}

.form fieldset.contact p .wpcf7-not-valid-tip-no-ajax
{
	margin-left : 134px;
}

.form p label .obligatoire
{
	color : #a10000;
}

.form p
{
	clear : left;
}

.form p.radios label,
.form p.checkbox label
{
	display : inline;
	float : none;
	width : auto;
}

.form fieldset
{
	border-width : 0px;
}

.form input,
.form select
{
	padding : 0.3em;
	border : solid 2px #ddd;
}

.form .checkboxes input,
.form .checkbox input,
.form .radios input
{
	border-width : 0px;
}

.form input:focus,
.form select:focus
{
	border-color : #666;
}

.form p.submit input
{
	padding : 1em;
	background-color : #a10000;
	color : white;
	font-weight : bold;
	size : 1.6em;
}

.wpcf7-form-error input,
.wpcf7-form-error select
{
	border-color : #a10000;
}

article img
{	
	padding: 10px;
	border: 1px solid #ccc;
	margin: 6px 10px 6px 0;
}

article .wp-caption img,
article.attachment section img
{
	padding : 0px;
	border-width  : 0px;
	margin : 0px;
}

article.attachment
{
	overflow : auto;
}

article.attachment section
{
	float : left;
}

article.attachment section p
{
	text-align : center;
	margin : 0;
}

article.attachment section p
{
	text-align : center;
	margin : 0;
}

article.attachment section p img
{
	max-width : 940px;
	height : auto;
}

.wp-caption,
article.attachment section
{
	padding: 10px;
	border: 1px solid #ccc;
	margin: 6px 10px 6px 0;
}

.wp-caption
{
	padding-right : 0px;
}


.wp-caption-text
{
	margin : 0;
	padding-right : 10px;
	font-size : x-small;
	font-style : italic;
	line-height: 1.3em;
	text-align : center;
}

body.attachment #content
{
	width : auto;
}

body.attachment #content a
{
	color: #003399;
	text-decoration: none;
}

body.attachment #content a:hover,
body.attachment #content a:focus
{
	text-decoration: underline;
}

article.attachment
{ 
	font-style : italic;
}

article.attachment p
{
	margin : 0;
}

.fancybox-title
{
	font-style : italic;
}