/*
Theme Name: Pétasse d'Alsace
Author: Samuel Wollenschneider

'pa-' préfixe des classes et id propres à Pétasse d'Alsace
*/

@import url("import-fonts.css");

/* reset css */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* police et couleurs par défaut */
body, p, blockquote, span, input, textarea {
    font-family: 'Inika', serif;
    font-size: 18px;
    line-height: 24px;
    color: rgb(66, 108, 177);
}
p {
    margin-bottom: 1.65em;
}
input, textarea {
    color: black;
}
body {
    padding: 0;
    border: 0;
    background-color: #fff;
	background-image: url(../images/fond.jpg);
    background-repeat: repeat-x;
}

/* classe facilitant la gestion des contenus affichés en mode float */
.pa-clear-floating {
    clear: both;
}

/* paramétrage des liens */
a {
    color: rgb(66, 108, 177);
}
a:link {
    text-decoration: none;
}
/* liens dans les articles, contenu de page... */
article p a {
    border-bottom: dotted;
}
article p a:hover{
    color: black;
}

/* menu principal */
.pa-menu {
    font-family: 'Inika', serif;
    height: 40px;
    text-align: right;
    list-style-type: none;
}
.pa-menu a {
    letter-spacing: 2px;
    font-size: 24px;
}
.pa-menu a:hover, .pa-menu a:focus, .pa-menu .current-menu-item a {
    color: black;
}
.pa-menu li {
    display: inline;
}
.pa-menu img {
    vertical-align: middle;
    margin-left: 10px;
    margin-right: 10px;
}

/* menu news */
.pa-menu-news li, .pa-menu-news p {
    font-family: 'Oswald', sans-serif;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 24px;
}
.pa-menu-news ul {
    list-style-type: none;
}
.pa-menu-news li {
    margin-bottom: 4px;
}
.pa-menu-news p {
    color: black;
}
.pa-menu-news a:hover, .pa-menu-news a:focus, .pa-menu-news .current-menu-item a {
    color: black;
}

/* pointillés faisant office de séparateur */
.pa-filet-auto {
    background-image: url(../images/filet-1col.png);
    background-repeat: repeat-x;
    height: 3px;
    width: 100%;
    margin: 10px 0px 30px 0px;
}

/* largeur fixe de la page*/
#page {
    width: 960px;
    max-width: 960px;
    margin: 0px auto;
    position: relative;
	background-color: #fff;
}

/* div intégrant les contenus de page */
#content, #content-accueil {
    min-height: 240px; /* on évite la superposition de contenu avec le logo pétasse d'alsace */
    margin-left: 330px; /* une colonne de 300px est laissée libre à gauche du contenu de la page */
}
#content-accueil {
    margin-left: 0px;
}

/* lien contact email et facebook en entête */
.pa-liens-header {
    text-align: right;
    height: 100px;
}

/* logo du site en superposition */
.pa-logo {
    position: absolute;
    z-index: 10;
    left: 50px;
    top: 110px;
}

/* rendu des articles, mise en forme de texte commune */
.pa-titre-article, .pa-titre-article-bleu {
    font-family: 'Oswald', sans-serif;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 24px;
}
.pa-titre-article {
    color: black;
}
.pa-resume-article {
    font-family: 'Rosario';
    line-height: 24px;
}
.pa-date-article {
    font-size: 14px;
}
.pa-texte-grand {
    font-size: 30px;
    line-height: 34px;
}
.pa-texte-contact {
    font-size: 24px;
}

/* page d'accueil, texte à droite de l'image principale */
#pa-texte-accueil {
    float: right;
    width: 300px;
}
#pa-img-accueil {
    margin-top: 11px;
}

/* encarts composant le footer (news, contact..) */
footer {
    margin-top: 30px;
}
.pa-encart-inferieur, .pa-encart-bottom {
    width: 300px;
    float: left;
    height: 380px;
    text-align: center;
    overflow: hidden;
}
.pa-encart-inferieur p:first-child {
    letter-spacing: 1px;
}
.pa-encart-inferieur p:last-child {
    letter-spacing: -1px;
}
.pa-encart-inferieur-fixe {
    height: 300px;
}
.pa-encart-inferieur-1 {
    clear: both;
    margin-right: 30px;
}
.pa-encart-inferieur-3 {
    margin-left: 30px;
}

/* affichage des produits proposés */
.pa-produits-col-left {
    width: 330px;
    float: left;
}
.pa-produits-col-right {
    width: 630px;
    float: right;
}
article.pa-produit {
    float: right;
    width: 280px;
    text-align: left;
    margin-right: 30px;
}
.pa-produits-col-right article.pa-grand {
    width: 630px;
    margin-right: 0px;
}
article.pa-produit img {
    margin-bottom: 10px;
}
article.pa-produit p {
    margin-left: 20px;
    margin-right: 20px;
}
article.pa-produit span {
    font-family: 'Rosario';
}
article.pa-produit .pa-titre {
    font-family: 'Oswald', sans-serif;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 24px;
}
article.pa-produit .pa-description {
    font-size: 14px;
    line-height: 1;
}
.pa-produits-col-right .pa-grand .pa-description {
    font-size: 18px;
    line-height: 22px;
}
article.pa-produit .pa-taille {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    line-height: 14px;
    line-height: 34px;
}

/* affichage des news */
.pa-news-col-left { /* colonne contenu le menu de sélection des news par thème */
    width: 330px;
    float: left;
    margin-top: 300px;
    min-height: 300px;
}
.pa-news-col-right { /* colonne contenant les news */
    width: 630px;
    float: right;
}
article.pa-news header + img { /* image à la une placée en tête d'article */
    width: 100%;
    margin-bottom: 30px;
}
article.pa-news-excerpt img { /* thumbnail d'une news */
    float: left;
    margin-bottom: 30px;
    margin-right: 30px;
}
/* flèches de navigation "plus récents" / "plus anciens" */
.pa-article-navigation {
    margin-bottom: 160px;
    position: relative;
}
.pa-article-navigation img {
    vertical-align: middle;
}
.pa-article-navigation a {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    line-height: 30px;
    letter-spacing: 1px;
    font-size: 24px;
}
.pa-article-navigation a.pa-nav-ancien {
    right: 60px;
}
.pa-article-navigation a.pa-nav-recent {
    left: 60px;
}

/* mentions légales */
.pa-mentions-legales {
    clear: both;
    text-align: center;
    font-size: 14px;
}
.pa-mentions-legales img {
    margin-top: 40px;
    margin-bottom: 40px;
}
.pa-mentions-legales a {
    margin-bottom: 30px;
}
.pa-mentions-legales a:hover {
    color: black;
}