/* ---------------------------------------
		RÈGLES HTML GÉNÉRALES
---------------------------------------- */
p {
    margin: 0 auto;
    max-width: 590px;
}

h1 {
  text-shadow: 3px 3px 3px #a19ea1;
}

h2 {
  text-shadow: 3px 3px 3px #a19ea1;
}

a img {
    border: 0;
}

/* cf. bouton "Astuce" dans les pages secteurs */
a.nounderline:link {
    text-decoration: none;
}

ul {
    padding-left: 0;
}

.italic {
    font-style: italic;
}

.bold {
    font-weight: bold;
}

/* ---------------------------------------
		STRUCTURE PAGE RESPONSIVE
---------------------------------------- */

#col_gauche {
    width: 20%;
    float: left;
    text-align: center;
    margin-top: 100px;
    position: relative;
    padding: 5px 15px;
}

#content_index {
    width: 60%;
    float: left;
    position: relative;
    padding: 5px 15px;
    margin-top: 100px;
}

#col_droite {
    width: 20%;
    text-align: center;
    margin-top: 100px;
    float: left;
    position: relative;
}

#col_droite_bis {
    display: none;
}

footer {
    clear: both;
    padding: 0 15px;
}

/* ---------------------------------------
		ACCUEIL PAGE
---------------------------------------- */

.navigation li.item-panier {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.navigation li.item-panier .qte-panier {
	font-weight: bold;
}


#home a {
    color: #B99D52;
}

#home .top-home {
    background: url("tableaux/tableau_feng_shui_1.jpg") no-repeat;
    background-position: 100% 75%;		/* orig : center right */
    height: 55rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media screen and (min-width: 992px) {
    #home .top-home h1 {
        width: 71.5rem;
        margin-bottom: 2rem;
    }

    #home .top-home h3 {
        font-family: 'Poppins', sans-serif;
        width: 50rem;
        line-height: 2.3rem;
    }

    #home .top-home img {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    #home .top-home h1 {
        width: 49.5rem;
    }

    #home .top-home h3 {
        width: 31rem;
    }
}

@media screen and (max-width: 992px) {
    #home .top-home {
        background: none;
        height: auto;
        padding: 12rem 0;
    }

    #home .top-home h1 {
        width: 100%;
        font-size: 3.3rem;
    }

    #home .top-home h3 {
        width: 100%;
    }

    #home .top-home img {
        display: block;
        margin: 3rem auto;	/* orig 3rem */
    }
}

#home .presentation {
    background-color: #FFFFFF;
    padding: 3rem 0;
}

#home .presentation .presentation--contain {
    display: flex;
}

#home .presentation .presentation--contain > div {
    width: 60%;
    padding: 0 4rem 0 0;
    box-sizing: border-box;
}

#home .presentation .presentation--contain > aside {
    width: 40%;
}

@media screen and (max-width: 992px) {
    #home .presentation .presentation--contain {
        display: block;
    }

    #home #myCanvasContainer, #tagList {
        display: none;
    }

    #home .presentation .presentation--contain > div {
        width: auto;
        padding: 0;
    }

    #home .presentation .presentation--contain > aside {
        width: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    img.img-responsive {
		max-width: 20rem;
		height: auto;
	}
}​

#home .presentation p {
    max-width: 100%;
    text-align: justify;
}

#home .presentation aside {
    background-color: #F5F5F5;
    padding: 20px;
}

#home .image-year-container {
	border: 2rem solid #F5F5F5;
	padding: 20px;
}

#home .image-year-container h4 {
	margin-bottom: 1.5rem;
}

#home .image-year-container .year .text-link {
	margin-left: 1.5rem;
}

@media screen and (max-width: 768px) {
    #home aside {
        display: none;
    }
}

#home .presentation aside > div {
    background-color: #FFFFFF;
    padding: 15px;
    margin-bottom: 2rem;
}

#home .presentation aside > div:last-child {
    margin-bottom: 0;
}

#home .presentation aside .year {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 15px;
}

#home .presentation aside .quiz-kua h3 {
    font-weight: 700;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#home .presentation aside .quiz-kua #reponse_quiz {
    margin-bottom: 1rem;
    color: #B99D52;
    font-weight: 700;
    font-size: 1.8rem;
}

#home .presentation aside #quiz_form {
    margin-bottom: 1.5rem;
}

#home .presentation aside .question-kua {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home .presentation aside .quiz-kua #envoi {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home .presentation aside .calcul-kua .kua_infos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

#home .presentation aside .calcul-kua .kua_infos input {
    margin-right: 1rem;
}

#home .presentation aside .calcul-kua .kua_infos input:last-child {
    margin-right: 0;
}

#home .presentation aside .calcul-kua .kua_infos select:focus {
    border-color: #000000;
    box-shadow: none;
    outline: 0;
}

#home .presentation aside .calcul-kua .envoi {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#home .background-presentation {
    position: relative;
}

#home .background-presentation .title-background {
    width: 30%;
    min-width: 375px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-family: 'Playfair Display', serif;
    text-align: center;
}

#home .background-presentation .title-background h6 {
    color: #B99D52;
}

#home .background-presentation .title-background h3 {
    color: #FFFFFF;
    font-size: 4.5rem;
    font-weight: 700;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

@media screen and (max-width: 576px) {
    #home .background-presentation {
        height: 300px;
        background-color: #000000;
    }

    #home .background-presentation .title-background h3 {
        font-size: 3.5rem;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
}

#home .gallery {
    background-color: #FFFFFF;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#home .gallery .gallery-presentation {
    display: flex;
    flex-wrap: wrap;
}

#home .gallery .gallery-presentation article {
    background-color: #F5F5F5;
    padding: 15px;
    box-sizing: border-box;
    margin: 0 1.5rem 1.5rem 0;
    display: flex;
    flex: 1 1 48%;
}

#home .gallery .gallery-presentation article a {
    display: flex;
    color: #000000;
}

#home .gallery .gallery-presentation article a .gallery-presentation__tableau {
    margin-right: 15px;
}

#home .gallery .gallery-presentation article a .gallery-presentation__tableau img {
    max-width: inherit;
}

#home .gallery .gallery-presentation article a .gallery-presentation__texte {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#home .gallery .gallery-presentation article a h2 {
    font-size: 1.9rem;
}

#home .gallery .gallery-presentation article a p {
    font-size: 1.4rem;
}

#home .gallery .gallery-presentation article a .link {
    text-align: right;
}

@media screen and (max-width: 576px) {
    #home .gallery .gallery-presentation article a {
        display: block;
    }

    #home .gallery .gallery-presentation article a p {
        display: none;
    }

    #home .gallery .gallery-presentation article {
        flex: 1 0 100%;
        margin: 0 0 1.5rem 0;
        display: block;
    }

    #home .gallery .gallery-presentation article a .link {
        text-align: left;
    }

    #home .gallery .gallery-presentation article a .gallery-presentation__tableau img {
        width: 100%;
        padding-bottom: 2rem;
    }

    #home .gallery .gallery-presentation article a h2 {
        padding-bottom: 4rem;
    }

    #home .gallery .gallery-presentation article a .gallery-presentation__tableau {
        margin-right: 0;
    }
}

#home #myCanvasContainer {
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    #home #myCanvasContainer{
        display: none;
    }
}

/* ---------------------------------------
		STRUCTURE PAGE
---------------------------------------- */

.entete {
    width: 75%;
    margin: 0 auto;
    text-align: center;
}

#content_gen {
    padding-top: 120px;
    position: relative;
}

#content_gen #titre h1 {
	margin-bottom: 30px;
}


#content_gen #titre h2 {
	font-size: 2.4rem;
	margin-bottom: 20px;
}


#content_gen .text h2 {
	text-align: center;
	font-size: 3.2rem;
	margin-bottom: 25px;
}

#content_gen .text img.tableau {
	margin-bottom: 40px; 
}

#content_gen .titre h2 a {
	color: #B99D52;
}

#content_gen .titre h2 a:hover {
	color: #6E2E91;
}

#content_gen .text p.notif {
	margin-bottom: 20px;
}

#content_gen .text p.italic.notif {
	margin-top: 30px;
	margin-bottom: 30px;
}

#content_gen .text table th.boutons {
	margin-bottom: 10px;
}

#content_gen .text .texte h3 {
	text-align: center;
	margin-bottom: 20px;
}

#content_gen .text .texte {
	margin-bottom: 20px;
}

#content_gen .text .texte p {
	margin-bottom: 15px;
}

#content_error {
    margin-top: -60px;
    position: relative;
}

#titre {
    margin: 0 auto;
    max-width: 580px;
    text-align: center;
}

.titre {
    margin: 0 auto;
    max-width: 580px;
    text-align: center;
}

#texte {
    margin: 0 auto;
}

.texte {
    margin: 0 auto;
    max-width: 590px;
}

/* cf. <article> */
.text {
    border-style: solid;
    border-color: #ededed #999999 #999999 #ededed;
    border-width: 2px;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 10px;
    max-width: 580px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 7px 10px 14px #ab9eab;
    -moz-box-shadow: 7px 10px 14px #ab9eab;
    box-shadow: 7px 10px 14px #ab9eab;
}

.textfaq {
    border-style: solid;
    background-color: #e8e8e8;
    border-color: #ededed #999999 #999999 #ededed;
    border-width: 2px;
    margin: 0 auto;
    padding: 10px 20px 10px 20px;
    max-width: 580px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

/* hauteur des boites pour tableaux dans les secteurs */

.text_secteur {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 250px;
}

.text_secteur420 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 420px;
}

.text_secteur450 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 450px;
}

.text_secteur510 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 510px;
}

.text_secteur680 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 680px;
}

.text_secteur800 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 800px;
}

.text_secteur1000 {
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    max-width: 580px;
    height: 1000px;
}

.smalltext {
    float: left;
    margin-left: 20px;
}

.clear {
    clear: both;
}

/* ---------------------------------------
		PIED
---------------------------------------- */
footer {
    position: relative;
    background: #000000;
    font-size: 1.3rem;
    padding: 3rem 0;
}

.footer--contain {
    display: flex;
}

.footer--contain ul {
    width: 25%;
}

.footer--contain ul li a {
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 2rem;
}

.footer--contain #drapeaux_pied li a img {
    width: 23px;
    height: 14px;
    margin-left: 10px;
}

.footer--contain #reseaux_soc {
    display: flex;
}

.footer--contain #reseaux_soc .fa-facebook-f {
    margin-right: 10px;
}

footer p {
    color: #FFFFFF;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 768px) {
    .footer--contain {
        flex-wrap: wrap;
    }

    .footer--contain ul {
        width: 100%;
        margin-bottom: 3rem;
    }

    .footer--contain #reseaux_soc {
        justify-content: center;
    }
}

@media only screen and (max-width: 400px) {
	.footer--contain {
		display: none;	
	}
}

/* ---------------------------------------
		STRUCTURE - ÉLÉMENTS DIVERS
---------------------------------------- */

img#banniere {
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.puces {
    margin-bottom: 0px;
    margin-top: 0px;
    margin-left: 15px;
}

ul.puces {
    list-style-type: circle;
}

ul.puces li {
    margin-left: 50px;
}

h2.legende {
    text-align: center;
}

.titre_tab {
    color: #323442;
}

img.tableau {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

img.vignette {
    margin-right: 20px;
    margin-left: 40px;
    float: left;
}

img.vignettedroite {
    margin-right: 40px;
    margin-left: 20px;
    float: right;
}

img.pelemelegauche {
    margin-right: 70px;
    margin-left: 300px;
    float: left;
    margin-top: -50px;
}

img.pelemeledroite {
    margin-left: 70px;
    margin-right: 300px;
    float: right;
    margin-top: -50px;
}

.tableaux_gf {
    margin: 0 auto;
    width: 700px;
}

p.avert {
    color: #4F4B4B;
    font-style: italic;
    float: left;
    max-width: 700px;
    margin-top: 30px;
}

.avert_panier {
    display: block;
    text-align: center;
    background: #F7C5C5;
    padding: 5px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    behavior: url(FR/panier/js/pie/PIE.htc);
}


.erreur_panier {
    display: block;
    width: 600px;
    margin: 0 auto;
    margin-top: 50px;
    text-align: center;
    background: #F7C5C5;
    padding: 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    behavior: url(FR/panier/js/pie/PIE.htc);
}

noscript p {
    text-align: center;
    background: #F7C5C5;
    padding: 5px;
}

/* Prix sur la page index (différent de price_p dans panier.css) */
.price {
    font-weight: bold;
    color: #8e8e8e;
}

/* Lien retour dans pages de tableaux */
.retour_tabs {
    text-align: center;
    clear: both;
}

/* Lien retour dans pages de secteurs */
.retour {
    color: #742674;
    font-size: 14px;
    font-weight: bold;
    margin: 0 auto;
    max-width: 590px;
}

/* Page cookies.php */
.texte iframe {
    margin: 20px 0;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

/* ---------------------------------------
		BOUTONS
---------------------------------------- */

/* Bouton scroll to top jquery */

#btn_up {
    bottom: 50px;
    width: 7.5rem;
    height: 3.8rem;
    position: fixed;
    right: 20px;
    cursor: pointer;
    display: none;
    padding: 2px;
    color: #B99D52;
    font-weight: bold;
    z-index: 9;
}

/* Fin bouton scroll to top jquery */

/* Bouton "Voir tous les tableaux" en bas de page de chaque tableau */

button.retour_index {
    font-family: Arial, sans-serif;
    font-size: 1.0em;
    font-weight: bold;
    width: 190px;
    height: 40px;
    padding-top: 3px; /*permet le centrage vertical*/
    text-align: center;
    color: #e0e0e0;
    background: #444;
    background: -webkit-linear-gradient(#af3f9f, #2C2C2C);
    background: -moz-linear-gradient(#af3f9f, #2C2C2C);
    background: -ms-linear-gradient(#af3f9f, #2C2C2C);
    background: -o-linear-gradient(#af3f9f, #2C2C2C);
    background: linear-gradient(#af3f9f, #2C2C2C);
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    text-shadow: 0px 1px 0px #fff;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 -1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5), /*derrière le bouton avec un flou de 5px, de couleur noire avec une transparence de 50%*/ 0 -1px 0 rgba(255, 255, 255, 0.4); /*haut du bouton, ombre blanche avec une transparence de 40%*/
}

button.retour_index:hover {
    color: #222;
    background: #555;
    background: -webkit-linear-gradient(#dbbde5, #333);
    background: -moz-linear-gradient(#dbbde5, #333);
    background: -ms-linear-gradient(#dbbde5, #333);
    background: -o-linear-gradient(#dbbde5, #333);
    background: linear-gradient(#dbbde5, #333);
}

button.retour_index:active {
    color: #000;
    background: #444;
    background: -webkit-linear-gradient(#555, #2C2C2C);
    background: -moz-linear-gradient(#555, #2C2C2C);
    background: -ms-linear-gradient(#555, #2C2C2C);
    background: -o-linear-gradient(#555, #2C2C2C);
    background: linear-gradient(#555, #2C2C2C);
    -webkit-box-shadow: 1px 1px 10px black inset, 0 1px 0 rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 1px 1px 10px black inset, 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 1px 1px 10px black inset, 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Fin bouton "Voir tous les tableaux" */

/* Bouton page-up dans question-du-mois.php */

.btn {
    background: #b787c9;
    background-image: -webkit-linear-gradient(top, #b787c9, #210c40);
    background-image: -moz-linear-gradient(top, #b787c9, #210c40);
    background-image: -ms-linear-gradient(top, #b787c9, #210c40);
    background-image: -o-linear-gradient(top, #b787c9, #210c40);
    background-image: linear-gradient(to bottom, #b787c9, #210c40);
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    -webkit-box-shadow: 7px 10px 14px #ab9eab;
    -moz-box-shadow: 7px 10px 14px #ab9eab;
    box-shadow: 7px 10px 14px #ab9eab;
    font-family: Arial;
    color: #ede1ed;
    font-size: 14px;
    padding: 10px 20px 10px 12px;
    text-decoration: none;
    font-weight: bold;
    float: right;
    margin-right: 40px;
    margin-left: 20px;
}

.btn:hover {
    background: #c487d6;
    background-image: -webkit-linear-gradient(top, #c487d6, #4a4f52);
    background-image: -moz-linear-gradient(top, #c487d6, #4a4f52);
    background-image: -ms-linear-gradient(top, #c487d6, #4a4f52);
    background-image: -o-linear-gradient(top, #c487d6, #4a4f52);
    background-image: linear-gradient(to bottom, #c487d6, #4a4f52);
    text-decoration: none;
}

/* Fin bouton page-up dans question-du-mois.php */

/* Bouton "Astuce" dans les pages de secteurs */

.boxastuce {
    font-weight: bold;
    background-color: #ffffff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#999999)); /* Chrome, Safari 4+ */
    background-image: -webkit-linear-gradient(top, #ffffff, #999999); /* Chrome 10-25, iOS 5+, Safari 5.1+ */
    background-image: -moz-linear-gradient(top, #ffffff, #999999); /* Firefox 3.6-15 */
    background-image: -o-linear-gradient(top, #ffffff, #999999); /* Opera 11.10-12.00 */
    background-image: linear-gradient(to bottom, #ffffff, #999999); /* Chrome 26, Firefox 16+, IE 10+, Opera 12.10+ */
    -webkit-transform: rotate(25deg); /* Chrome, Safari 3.1+ */
    -moz-transform: rotate(25deg); /* Firefox 3.5-15 */
    -ms-transform: rotate(25deg); /* IE 9 */
    -o-transform: rotate(25deg); /* Opera 10.50-12.00 */
    transform: rotate(25deg); /* Firefox 16+, IE 10+, Opera 12.10+ */
    margin: 0 auto;
    padding: 10px;
    max-width: 110px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-shadow: 7px 10px 14px #ab9eab;
    -moz-box-shadow: 7px 10px 14px #ab9eab;
    box-shadow: 7px 10px 14px #ab9eab;
    text-shadow: 1px 1px 3px #888;
    opacity: 0.8;
    text-align: center;
    text-decoration: none;
    float: right;
    margin-right: 100px;
    line-height: 140%;
}

.boxastuce a:hover {
    color: #422146;
    background: transparent;
}

.trois-dim {
    font-family: Arial, Verdana, sans-serif;
    padding-bottom: 10px;
    line-height: 1em;
    color: #742674;
    font-weight: bold;
    font-size: 20px;
    text-shadow: 0px 0px 0 rgb(82, 4, 82), 1px 1px 0 rgb(49, -29, 49), 2px 2px 0 rgb(15, -63, 15), 3px 3px 0 rgb(-19, -97, -19), 4px 4px 3px rgba(0, 0, 0, 0.4), 4px 4px 1px rgba(0, 0, 0, 0.5), 0px 0px 3px rgba(0, 0, 0, .2);
}

/* Fin bouton "Astuce" dans les pages de secteurs */

/* ---------------------------------------
		FORMULAIRE DE CONTACT
---------------------------------------- */

.erreur_form {
    margin-top: 20px;
    margin-bottom: 50px;
    display: block;
    text-align: center;
    background: #F7C5C5;
    padding: 5px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    behavior: url(FR/panier/js/pie/PIE.htc);
}

.succes_form {
    display: block;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    color: white;
    background: #742674;
    padding: 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.retour_form {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

#content_confirm {
    width: 60%;
    margin: 0 auto;
    position: relative;
    margin-top: 100px;
}

#pied_confirm {
    position: absolute;
    left: 50%;
    width: 200px;
    height: 120px;
    margin-left: -110px; /* petite correction : -110 au lieu de -100 */
    bottom: 0;
    height: 50px;
    line-height: 50px;
    padding: 8px;
    background: #D4D6E0;
    text-align: center;
    -webkit-border-top-left-radius: 20px;
    -moz-border-top-left-radius: 20px;
    border-top-left-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-top-right-radius: 20px;
    border-top-right-radius: 20px;
}

/* ---------------------------------------
		TABLEAUX
---------------------------------------- */

/* Général */

table {
    margin: 0 auto;
}

table th {
    background: #CDCDCD;
    padding: 2px;
}

table td {
    background: #EFEFEF;
    padding: 2px;
}

th.boutons, td.boutons {
    text-align: center;
}

/* Tableau page feng_shui.php */

table.fs {
    border: 1pt solid #e0e0e0;
    margin: 0 auto;
    color: #632063;
    background-color: #d3d3d3;
    max-width: 550px;
}

table.fs td {
    border: 2px solid #e0e0e0;
    background-color: #efefef;
}

table.fs th {
    border: 2px solid #e0e0e0;
    background-color: #cdcdcd;
}

/* Tableau page feng-shui-conseils, tableau année 2015 */

table.annee {
    border: 1pt solid #e0e0e0;
    margin: 0 auto;
    color: #632063;
    background-color: #d3d3d3;
    border-collapse: collapse;
}

table.annee td {
	color: #000;
    border-bottom: 2px solid #e0e0e0;
    background-color: #efefef;
    height: 30px;
    text-align: left;
}

table.annee td.dir {
    border-left: 2px solid #e0e0e0;
}

table.annee td.tab_tn {
    height: 30px;
    line-height: 30px;
    text-align: center;
    vertical-align: middle;
}

img.tab_vignette {
    vertical-align: middle;
    display: inline-block;
    line-height: normal;
}

table.annee th {
    background-color: #cdcdcd;
    height: 30px;
    text-align: left;
}

/* ---------------------------------------
		TABLEAUX RESPONSIVE
---------------------------------------- */

*#tableau, *#tableau::before, *#tableau::after {
	box-sizing: border-box;
}

.conteneur_table {
	width: 580px;
	margin: 0 auto;
}

.table-responsive {
	width: 100%;
	border-collapse: collapse;
}

/*.table-responsive thead tr, .table-responsive tbody tr {
	height: 4rem;*/
	/*line-height: 20px;
	font-weight: bold;*/

.table-responsive th {
	font-weight: bold;
}

.table-responsive th, .table-responsive td {
    padding: 10px;
	text-align: center;
}

.table-responsive td .addPanier img {
	vertical-align: middle;
}

.table-responsive tr:nth-child(odd) td {
    background: #efefef;
}

.table-responsive tr:nth-child(even) td {
	background: #e3e4ea;
}

@media only screen and (max-width: 1000px) {
	.conteneur_table {
		max-width: 100%;
	}
}

@media only screen and (max-width: 700px) {
    .table-responsive table, 
    .table-responsive thead, 
    .table-responsive tbody, 
    .table-responsive tr, 
    .table-responsive th, 
    .table-responsive td {
        display: block;
    }

    .table-responsive thead {
        display: none;
    }

    .table-responsive td {
        padding-left: 150px;
        position: relative;
        margin-top: -1px;
		border: solid 1px #ccc;
        /*background: #FFF;*/
    }

    /*.table-responsive td:nth-child(odd) {
        background-color: #eee;
    }*/

    .table-responsive td::before {
        padding: 10px;
        content: attr(data-label);
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        bottom: 0;
        background-color: #cdcdcd;
        color: #000;
		border-bottom: solid 1px #fff;
        display: flex;
        align-items: center;
        font-weight: bold;
    }

    .table-responsive tr {
        margin-bottom: 1rem;
    }

    .table-responsive th + td {
        padding-left: 10px;
    }

    .table-responsive th + td::before {
        display: none;
    }
}
@media only screen and (max-width: 337px) {
	.table-responsive td {
		text-align: center !important;
	}
}

/* Tableaux responsive page "feng-shui-conseils.php" etc. */

#flip-scroll {
    text-align: center;
}

@media only screen and (max-width: 800px) {

    #flip-scroll {
        margin: 0 auto;
    }

    p.notif {
        text-align: center;
    }

    table.fs {
        background-color: #E0E0E0;
    }

    #flip-scroll .cf:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }

    #flip-scroll * html .cf {
        zoom: 1;
    }

    #flip-scroll *:first-child + html .cf {
        zoom: 1;
    }

    #flip-scroll table.fs {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    #flip-scroll th,
    #flip-scroll td {
        margin: 0;
        vertical-align: top;
    }

    #flip-scroll th {
        text-align: left;
    }

    #flip-scroll table {
        display: block;
        position: relative;
        width: 100%;
    }

    #flip-scroll thead {
        display: block;
        float: left;
    }

    #flip-scroll tbody {
        display: block;
        width: auto;
        position: relative;
        overflow-x: auto;
        white-space: nowrap;
    }

    #flip-scroll thead tr {
        display: block;
    }

    #flip-scroll th {
        display: block;
        text-align: center;
    }

    #flip-scroll tbody tr {
        display: inline-block;
        vertical-align: top;
    }

    #flip-scroll td {
        display: block;
        min-height: 1.25em;
        text-align: center;
    }

    /* sort out borders */
    #flip-scroll th {
        border-bottom: 0;
        border-left: 0;
    }

    #flip-scroll td {
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }

    #flip-scroll tbody tr {
        border-left: 1px solid #babcbf;
    }

    #flip-scroll th:last-child,
    #flip-scroll td:last-child {
        border-bottom: 1px solid #babcbf;
    }
}

/* Tableau page de liens > liens.php */

table.page_liens {
    margin: 0 auto;
    width: 430px;
    border-collapse: collapse;
    border: 2pt solid #e0e0e0;
}

table.page_liens td.image {
    background: #E0E0E0;
    padding: 2px;
    text-align: center;
    height: 122px;
}

table.page_liens td.titre {
    background: #E0E0E0;
    padding: 10px;
    font-weight: bold;
    height: 122px;
}

/* ---------------------------------------
		NUAGE DE TAGS
---------------------------------------- */

a.l {
    font-size: 18px;
}

a.m {
    font-size: 15px;
}

a.s {
    font-size: 12px;
}

a.xs {
    font-size: 9px;
}

/* ---------------------------------------
	QUIZ, CALCUL CHIFFRE KUA ET ANNONCE
---------------------------------------- */

.quiz, .kua {
    width: 250px;
    margin-bottom: 20px;
    background: #F9F9F9;
    padding: 10px;
    border: 1px solid #742674;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 8px 8px 12px #555;
    -webkit-box-shadow: 8px 8px 12px #555;
    box-shadow: 8px 8px 12px #555;
}

.ie678 .quiz, .ie678 .kua {
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#aaaaaa', Direction=135, Strength=12);
    zoom: 1;
}

.annonce, .annonce_bis {
    width: 250px;
    height: 330px;
    margin-bottom: 70px;
    font: bold 1.1em 'Kaushan Script', cursive, sans-serif;
    color: #7F2100;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 8px 8px 12px #aaa;
    -webkit-box-shadow: 8px 8px 12px #aaa;
    box-shadow: 8px 8px 12px #555;
}

.quiz h2, .kua h2 {
    text-align: center;
}

.quiz fieldset#quiz_form {
    width: 235px;
    border: 0;
}

p.questions input {
    height: 25px;
    padding: 5px 0 6px 0;
}

.quiz .envoi, .kua .envoi {
    border: 0;
    padding-top: 10px;
}

.quiz p.sstitre {
    background: #F6E4FF;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 1px 1px 1px #742674;
    -webkit-box-shadow: 1px 1px 1px #742674;
    box-shadow: 1px 1px 1px #742674;
    padding: 6px;
}

.ie678 .quiz p.sstitre {
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#742674', Direction=135, Strength=1);
    zoom: 1;
}

.quiz label {
    float: left;
    width: 85%;
    text-align: left;
    margin: 0;
    padding: 0 .3em 0 0;
    line-height: 1.2;
}

.quiz p.questions {
    margin-top: 15px;
}

.quiz input[type=button] {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #742674;
    background-color: #F6E4FF;
    width: 100px;
    padding: 3px;
    float: right;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 1px 1px 1px #742674;
    -webkit-box-shadow: 1px 1px 1px #742674;
    box-shadow: 1px 1px 1px #742674;
    cursor: pointer;
}

.ie678 .quiz input[type=button] {
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#742674', Direction=135, Strength=1);
    zoom: 1;
}

.quiz input[type=button]:hover {
    background-color: #FCDEDE;
}

.quiz input[type=button]:active {
    background-color: #FCDEDE;
    -moz-box-shadow: 1px 1px 1px #D83F3D inset;
    -webkit-box-shadow: 1px 1px 1px #D83F3D inset;
    box-shadow: 1px 1px 1px #D83F3D inset;
}

.quiz .envoi a.quiz_info, .kua .envoi a.quiz_info {
    color: #742674;
    font-weight: bold;
    background: transparent;
    float: left;
    text-shadow: 3px 3px 3px #a19ea1;
    padding-top: 5px;
}

.quiz .envoi a.quiz_info:hover {
    background: transparent;
    color: #1F0CFF;
}

.kua .envoi a.quiz_info:hover {
    background: transparent;
    color: #F81DA8;
}

.quiz fieldset#reponse_quiz, .kua fieldset#reponse_kua {
    border: 0;
    color: #0E8FFF;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
    padding-top: 20px;
}

.kua fieldset.kua_infos {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #FFFFF3;
    width: 230px;
    margin: 0 auto;
    text-align: center;

}

.kua input[type=submit] {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #742674;
    background-color: #FFDBA0;
    width: 100px;
    padding: 3px;
    float: right;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 1px 1px 1px #742674;
    -webkit-box-shadow: 1px 1px 1px #742674;
    box-shadow: 1px 1px 1px #742674;
    cursor: pointer;
}

.kua input[type=submit]:hover {
    background-color: #FFD14B;
}

.kua input[type=submit]:active {
    background-color: #FCDEDE;
    -moz-box-shadow: 1px 1px 1px #D83F3D inset;
    -webkit-box-shadow: 1px 1px 1px #D83F3D inset;
    box-shadow: 1px 1px 1px #D83F3D inset;
}

.kua fieldset#reponse_kua, #form_kua fieldset#reponse_kua {
    color: #7E5B4E;
}

.kua fieldset#reponse_kua .kua_chiffre, #form_kua fieldset#reponse_kua .kua_chiffre {
    font-size: 1.6em;
    color: #F81DA8;
}

#form_kua fieldset#reponse_kua {
    border: 0;
}

#form_kua fieldset.kua_infos {
    border: 0;
}

#form_kua {
    top: 10px;
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid #FF99FF;
    background-color: #FFFFF3;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#form_kua .kua_label .remplir {
    color: #323B49;
    font-style: italic;
}



/* ---------------------------------------
		FIXEDSTICKY
---------------------------------------- */

/*.top {
    top: 20rem;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.top.fixedsticky-on {
    width: 96%;
}

.fixedsticky {
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
    position: sticky;
}
*/
/* When position: sticky is supported but native behavior is ignored */
/*.fixedsticky-withoutfixedfixed .fixedsticky-off,
.fixed-supported .fixedsticky-off {
    position: static;
}

.fixedsticky-withoutfixedfixed .fixedsticky-on,
.fixed-supported .fixedsticky-on {
    position: fixed;
}

.fixedsticky-dummy {
    display: none;
}

.fixedsticky-on + .fixedsticky-dummy {
    display: block;
}
*/
#form_kua {
	position: -webkit-sticky;
	position: sticky;
	top: 0px;
}


/* ---------------------------------------
		BANDEAU COOKIES
---------------------------------------- */

.cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 20px;
    font-size: 0.9em;
    line-height: 1.8;
    background-color: #F6E4FF;
    border-top: 1px solid #e4e4e4;
}

.cookie .expl {
    color: #7c79b5;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.cookie .expl:hover {
    color: #e0e0e0;
    background-color: #742674;
}

.cookie_btn {
    font-weight: bold;
    display: inline;
    padding: 4px 10px;
    margin-left: 15px;
    color: #fff;
    cursor: pointer;
    background-color: #742674;
    border-radius: 3px;
}

.cookie_btn:hover {
    color: #742674;
    background-color: #D5B1E0;
}

/* ---------------------------------------
		ANNONCE
---------------------------------------- */

.fond {
	background-image: url(Images/back.png);
	height: 100%;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 0;
}


.popup {
	width: 500px;
	background-color: white;
	padding: 20px;
	height: auto;
	z-index: 9;
	position: fixed;
	top: 200px;
	right: 0px;
	left: 0;
	margin: 0 auto;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 4px #48312B solid;
	font-size: 1.2em;
	text-align: left;
}
.close {
	width: 30px;
	height: 30px;
	position: absolute;
	top: -15px;
	right: -15px;
	background-color: #d08bd6;
	color: white;
	line-height: 30px;
	text-align: center;
	font-size: 20px;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	cursor: pointer;
}

.close:hover{ 
	color: #e0e0e0;
	background-color: #742674;
}

/* ---------------------------------------
	MEDIA QUERIES STRUCTURE RESPONSIVE
---------------------------------------- */

@media screen and (max-width: 1320px) {

    #col_gauche {
        width: 28%;
        padding: 1% 4%;
        margin-top: 50px;
    }

    #content_index {
        width: 70%;
        padding: 1% 4%;
        margin: 60px 0px 5px 5px;
        float: right;
    }

    #col_droite {
        display: none;
    }

    .annonce, .quiz, .kua {
        margin: 0 auto;
        margin-bottom: 50px;
    }

    #col_droite_bis {
        display: block;
    }
}

@media screen and (max-width: 880px) {

    #navigation {
        max-width: 100%;
        margin-left: -20px;
        text-align: center;
    }

    #col_gauche {
        width: auto;
        float: none;
    }

    #content_index {
        width: auto;
        float: none;
        margin-left: 0px;
    }

    #col_droite {
        display: block;
        margin: 0 auto;
        width: auto;
        float: none;
    }

    .quiz, .kua, #myCanvasContainer {
        margin: 0 auto;
    }

    .kua {
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .annonce_bis {
        display: none;
    }

}

