/*
Theme Name: AFA
Theme URI: http://localhost/
Author: Ludovic Mabilat <gnuk@gnuk.fr>
Author URI: http://gnuk.fr/
Description: AFA based on Twenty twelve by Wordpress Team (The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.)
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: afa
Text Domain: afa
*/

body {
    margin:0;
    padding:0;
    background:#efefef;
}

body,td,th {
    font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
    color: #000000;
    font-size:14px;
}

#primary {
    background:#9a1a16;
}

header#masthead {
    background:#fff;
    background-image:url('images/header.jpg');
    height:179px;
    width:1000px;
}

div#site-navigation {
    float:left;
    background:#9a1a16;
    width:197px;
    clear:right;
    font-family:Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
    font-size:12px;
    font-weight:bold;
    padding-top:5em;
    padding-bottom:5em;
}

div#site-navigation li.sep {
    background:#9a1a16;
    color:#fff;
    padding:1em 0.5em;
    cursor:default;
    width:auto;
}

#content {
    margin:0 0 0 197px;
    padding:2em;
    background:#fff;
}

#page {
    background:#fff;
    width:1000px;
    margin:auto;
}

footer {
    clear:both;
    text-align:right;
    font-style:italic;
    margin:0 1ex;
}

a:link {
        color: #9a1a16;
        text-decoration: none;
        font-weight: bold;
}
a:visited {
        color: #9a1a16;
        text-decoration: none;
        font-weight: bold;
}
a:hover {
        color: #666666;
        text-decoration: underline;
        font-weight: bold;
}
a:active {
        text-decoration: none;
}
.Style9 {
        color: #666666;
        font-size: 9px;
}

footer.entry-meta {
    width:100%;
    padding:0.5ex;
}

footer.entry-meta span.edit-link a.post-edit-link {
    background-color:#ddd;
    padding:0.5em;
    border:dashed #888 1px;
}

/* Images from twentytwelve */
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content img,
.comment-content img,
.widget img,
img.header-image,
.author-avatar img,
img.wp-post-image {
	/* Add fancy borders to all WordPress-added images but not things like badges and icons and the like
	border-radius: 3px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); */
}
.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #757575;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}
.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

table#commande {
    margin-top:1em;
    margin-bottom:1em;
    text-align:center;
    width:100%;
    border:0;
    border-collapse:collapse;
}

table#commande .little {
    width:15px;
    height:15px;
}

table#commande th {
    background-color:#000;
    color:#fff;
}

table#commande .left {
    text-align:left;
}

table#commande .bold {
    font-weight:bold;
}

img.documentation {
    border: dashed 2px #807340;
    margin: 1ex auto;
    padding: 2px;
}

img.shadowlight {
    box-shadow: -1px 2px 5px -2px rgba(0, 0, 0, 0.7);
}

img.shadow {
    box-shadow: -1px 2px 5px 1px rgba(0, 0, 0, 0.7);
}

td.dernierparus {
    padding:0.5em 0.5em 0.5em 0;
}
/* CAROUSEL/SLIDESHOW on front page */
/* Slideshow container */
.AFA-slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.AFA-slides {
    display: none;
}

/* Next & previous buttons */
.AFA-slides-prev, .AFA-slides-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.AFA-slides-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.AFA-slides-prev:hover, .AFA-slides-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* The dots/bullets/indicators */
.AFA-slides-dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.AFA-slides-dot:hover {
    background-color: #717171;
}

/* Fading animation */
.AFA-slides-fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 0.8s;
    animation-name: fade;
    animation-duration: 0.8s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}
