/* http://meyerweb.com/eric/tools/css/reset/  v2.0 | 20110126 License: none (public domain) */

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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
        display: block;
}

body {
        line-height: 1;
}

ol, ul {
        list-style: none;
}
blockquote, q {
        quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
        content: '';
        content: none;
}
table {
        border-collapse: collapse;
        border-spacing: 0;
}

/******* CSS perso *******/
/****** Polices ******/
@font-face {
    font-family: 'Alef';
    src: url('polices/Alef-bold.eot');
    src: url('polices/Alef-bold.eot?#iefix') format('embedded-opentype'),
         url('polices/Alef-bold.woff') format('woff'),
         url('polices/Alef-bold.ttf') format('truetype'),
         url('polices/Alef-bold.svg#alefbold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Alef';
    src: url('polices/Alef-regular.eot');
    src: url('polices/Alef-regular.eot?#iefix') format('embedded-opentype'),
         url('polices/Alef-regular.woff') format('woff'),
         url('polices/Alef-regular.ttf') format('truetype'),
         url('polices/Alef-regular.svg#alefregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Carmela';
    src: url('polices/carmela.eot');
    src: url('polices/carmela.eot?#iefix') format('embedded-opentype'),
         url('polices/carmela.woff') format('woff'),
         url('polices/carmela.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dejavu_sansbook';
    src: url('polices/DejaVuSans-webfont.eot');
    src: url('polices/DejaVuSans-webfont.eot?#iefix') format('embedded-opentype'),
         url('polices/DejaVuSans-webfont.woff2') format('woff2'),
         url('polices/DejaVuSans-webfont.woff') format('woff'),
         url('polices/DejaVuSans-webfont.ttf') format('truetype'),
         url('polices/DejaVuSans-webfont.svg#dejavu_sansbook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'modernpics';
	src: url('polices/modernpics.otf');
}
/****************************/

body {
	padding-bottom: 1.45238em;
	font-family: /*'Assistant'*/ 'David Libre';
	font-weight: normal;
  	font-style: normal;
  	font-variant: normal;
  	font-size: 1.3125em;
  	line-height: 1.52381em;
  	width: 1020px;
    margin: 0 auto;
    /*background: url(images/cadrandixonze2.jpg) 50px 500px no-repeat;*/
    /*background: linear-gradient(
    rgba(255, 255, 255, 0.8), 
    rgba(255, 255, 255, 0.8)
    ), url(images/cadrandixonze2.jpg);
     background-repeat:no-repeat;
     background-size:  cover;*/
}

header, nav, section, section nav, section aside, footer {
    position: relative;
	margin: 0 auto;
}

header, section {
    padding: /*1.52381em 0 1.52381em 0*/ 1em 0 1.3125em 0;
}

nav {
    padding: /*1.52381em 0 1.52381em 0*/ 1em 0 1.3125em 0;
}

footer {
    padding: 1.52381em 0 0 0;
}

.verse {
    font-family: 'EzraSILRegular';
    font-weight: normal;
    font-style: normal;
    color: #999;
    font-size: 0.865em;
    margin-top: 1em;
}

.versenormal {
    font-family: 'EzraSILRegular';
    font-weight: normal;
    font-style: normal;
    color: #444;
    font-size: 0.7785em;
}

.vert {
    margin: 0 auto;
    width: 100px;
    color: #668827;
}

.discret {
    font-size: 0.75em;
    color: gray;
}

.petit {
    font-size: 0.85em;
}

.erreur {
    color: red;
}

.envoye {
    color: #44a9d5;
}

article .verse {
    text-align: center;
}

a {
    text-decoration: none;
    outline-style: none;
}

#menu_sup {
   text-align: /*left*/ center;   
   background: url('images/separateur_bleu.png') repeat-x top;
}

#menu_sup a, nav a {
    color: /*#80aa33*/ #668827;
}

#menu_sup a:hover {
    color: #cc0403;
    border-bottom: 1px solid #cc0403;
}

header aside {
    float: right;
    color: #44a9d5 /*#668827 #195fc4*/;
    margin: 2.90476em 0 3.04762em 0;
    padding: 1em 1em 0 1em;
    font-style: italic;
}

.slogan {
    color: #44a9d5;
    margin-right: 2.90476em;
    font-style: italic;
}

h1, h2 {
	font-weight: normal;
}

header h1 {
    font-size: 1.52381em;
  	line-height: 1.5em;
  	text-align: center;
  	height: 285px;
}

h2 {
    margin-bottom: 0.75em;
	font-size: 1.33333em;
	line-height: 1.42857em;
    text-align: center; 
    font-style: italic;
    color: #44a9d5;
}

h3 {
    margin: /*1.52381em*/ 1.815475em 0 1.125em 0;
	/*font-size: /*1.0555em*/ 1.14286em;*/
	line-height: 1.42857em; 
    text-align: center;
    color: #668827;
    font-weight: bold;
}

.picto {
    font-family: modernpics;
	font-size: 45px;
	max-width: 590px;
	display: block;
	/*position: absolute;
	bottom: 0;*/
	width: 100%;
	margin-top: 1.815475em;
}

.picto a, .bouton a {
	color: #6bbbdd;
}

.picto a:hover, .bouton a:hover {
	color: #b7ddee;
}

#fleches {
    width: 590px;
    margin-bottom: 15px;
}

#fleches a {
    color: /*#44a9d5*/ #6bbbdd;
}

#fleches a:hover {
    color: #b7ddee;
}

#fg {
    float: left;
    height: 45px;
    display: block;
}

#fd {
    float: right;
    height: 45px;
    display: block;
}

.pictodeux {
    font-family: modernpics;
	font-size: 45px;
	display: inline-block;
	height: 45px;
	position: relative;
	top: 5px;
}


cite {
	margin: 0 0 1.42857em 0;
	line-height: 1.42857em; 
}

p, blockquote {
	margin: 0 0 1.14286em 0; 
}

header blockquote {
    text-align: center;
}

header h1, header blockquote {
    width: 500px;
    margin: 0 auto;
}

nav ul {
    list-style-type: none;  
}

nav li, footer nav li {
    display:inline-block;
    margin-left: 15px;
    margin-right: 15px;
}

article {
    display:inline-block;
    width: 660px;
}

article p, article blockquote {
    max-width: 590px;
    margin-right: 15px;
}

section aside {
    display: inline-block;
    width: 320px;
    vertical-align: top;
    padding-top: 3.04762em;
    padding-right: 15px;
    margin-right: 15px;
}

section aside li {
    display: block;    
    width: 320px;
    height: /*7.14285*/ 5.71428em;
    line-height: /*7.14285*/ 5.71428em;
    background-color: #84aa00;
    margin-bottom: 1.42857em;
    text-align: center;
    border-radius: 12px;
    box-shadow: 1px 1px 2px #555;
}

section aside a {
    color: #fff;
    display: block;
    width: 320px;
    margin-bottom: 1.42857em;
}

section aside a:hover {
    display: block;
    /*width: 320px;*/
    color: #84aa00;
    background-color: #e8eeb9;    
    border-radius: 12px;
}

section aside li:first-child {
    background-color: #53acae;
    /*width: 320px;*/
}

section aside li:first-child a:hover {
    color: /*#cc0403*/ #44a9d5;
    background-color: #dbeef7;
}

#questions, #brakhot {
    max-width: 620px;
}

#questions li, #brakhot li {
    display: block;    
    width: 520px;
    height: 2.85714em;
    line-height: 2.85714em;
    margin-bottom: 4.35714em;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #40addb;
    background-color: /*#dbeef7*/ #e7eef7;
}

#questions li:last-child, #brakhot li:last-child {
    margin-bottom: 2.17857em;
}

#questions a:hover, #brakhot a:hover {
    color: #fff;
    background-color: #53acae;
    display: block;
    width: 520px;
    border-radius: 36px;
}

#troisfaces {
    margin-bottom: 1.42857em;
    margin-right: 2.85714em;
}

.gras {
    font-weight: bold;
}

p a {
    color: #668827;
}

p a:hover {
	color: /*#b7ddee*/ #b3cc8b;
}

#troisfaces a, .liste a {
    color: #6bbbdd;
}

#troisfaces a:hover, .liste a:hover {
	color: #b7ddee;
}

#inscription {
	width: 500px;
}

textarea {
    width: 500px;
    resize: none;
}

fieldset input {
    margin-top: 10px;
}

#inscription p input {
	display: inline-block;
	width: 350px;
	float: left;
	margin-bottom: 10px;
}


footer {
    background-color: #e6eed9;
    border-radius: 12px;
}

footer nav {
    display: inline-block;
    width: 750px;
}

footer nav a {  
    color: #668827;
}

footer nav a:hover {
    color: #cc0403;
    border-bottom: 1px solid #cc0403;
}

footer h1 {
    display: inline-block;
    width: 250px;
    margin: 0 auto;
}

@media all and (max-width: 1024px) {
    body {
        width: auto;
    }
    
    section {
        flex-direction: column;
    }
    
    .verse {
        font-size: 0.75em;    
    }
    
    article, article p, section, section aside, section nav, section aside ul, section aside li, section aside a, footer nav, footer h1, header h1, h3, header blockquote, #questions, #questions li, .picto, #fleches {
        width: auto;
        margin: 0 auto;
        display: block;
    }
    
    section aside ul {
        margin: 0 auto;
        width: 320px;
    }
    
    section aside li, #questions li {
        margin-bottom: 1.125em;
    }
    
    #menu_sup, footer nav {
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    footer h1 {
        display: block;
        margin: 0 auto;
        width: auto;
    }
}