/* 
    Created on : 26 jan 2021
    Author     : pierre vuckovic

    *** Charte graphique ***
    #507192 : Bleu
    #1C3553 : Bleu foncé
    #B3331B : Rouge
    #E47D08 : Orange
    #EEF0F4 : Blanc

*/
*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    padding: 0;
    margin: 0;
    background-color: #507192;
    font-family: 'Poppins', sans-serif;
    color: #1C3553;
    text-align: justify;
	height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
}
h1 {
    padding-bottom: 20px;
    font-family: 'Gugi', cursive;
}
header, main, footer, footer2 {
    background-color: #EEF0F4;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-right: solid 6px #B3331B;
    border-left: solid 6px #B3331B;
}
header a, header a:hover {
    text-decoration: none;
}
#titre, #presentation, #histoire, #formulaire, #mentions, #filAriane {
    background-color: #EEF0F4;
}
#titre, #famille {
    display: flex;
    justify-content: center;
}
#titre a {
    margin-left: 100px;
    margin-right: 100px;
}
.centrer {
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
}
.centrerTitre {
    height:110px;
    vertical-align:middle;
    line-height: 110px;
}
#res img {
    width: 75px;
    height: 75px;
}
#res {
    display: flex;
    list-style: none;
    justify-content: center;
    padding-top: 50px;
}
#res li, #logo li {
    padding-left: 25px;
    padding-right: 25px;
}
#logo {
    display: flex;
    list-style: none;
    justify-content: center;
}
ul {
    padding: 0;
    margin: 0;
}
#famille img {
    width: 400px;
    height: auto;
}
form {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    /*padding-top: 0px;*/
}
.oblige {
    color: #b3331b;
}
.btn-dark{
    color: #EEF0F4;
    background-color: #1c3553;
    border-color: #1c3553;
}
.btn-dark:hover  {
    color:  #EEF0F4;
    background-color: #507192;
    border-color: #507192;
}
main a {
    color: #B3331B;
}
main a:hover {
    color: #1c3553;
}
abbr {
    color: #B3331B;
    font-variant:small-caps;
}
.lienExt img {
    width: 15px;
    height: 15px;
}
#mentions ul, #content ul, #formulaireTesteuses ul {
    padding-left: 30px;
}

/***********************************/
/******* navigation / menu *********/
nav {
    background: #B3331B;
    line-height: 80px;
}
nav .mainnav
{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav .mainnav a 
{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    font-family: 'Gugi', cursive;
    font-size: 150%;
    color: #EEF0F4;
    text-decoration: none;
}
nav a:hover 
{
    color: #1c3553;
    background-color: #EEF0F4;
}
nav label, #toggle
{
    display: none;
}

.gugi {
    font-family: 'Gugi', cursive;
    font-size: 60px;
    color: #1c3553;
}
.clicker {
    font-family: 'Clicker Script', cursive;
    font-size: 40px;
    color: #B3331B;
}

/**************************/
/******* produits *********/
.produits {
    background-color: #E47D08;
}
/******* presentation presse, partenaires & testeuses *********/
#presPart, #infoPart {
    display: flex;
    align-items: flex-start;
}
.photoPart{
    width: 300px;
    height: auto;
}
#profilPart {
    padding-right: 30px;
    margin-bottom: 30px;
}
.photoTesteuse, .photoPartenaire, .item, .photo {
    /*margin-right: 30px;*/
    margin-bottom: 30px;
    /* arrondi de la photo*/
    -moz-border-radius:10px 0;
    -webkit-border-radius:10px 0;
    border-radius: 50px;
}
#carouselExampleIndicators {
    width: 450px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
.res2 {
    display: flex;
    list-style: none;
}
.res2 li {
    padding-left: 10px;
    padding-right: 10px;
}
.article {
    display: flex;
}
.gauche{
    width: 50%;
    padding-right: 50px;
}
.droite img {
    width: 100%;
    height: auto;
    vertical-align:top;
}

/******* galerie, testeuses, catalogue *********/
.galerie, .testeuses, .partPastilles, .gratuit, .catalogue, .cartes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.photoGalerie {
    margin: 5px;
}
.photoGalerie img, .modele img {
    border-radius: 30px;
}
.catalogue>.photo, .catalogue>.atelier, .gratuit>.photo {
    margin: 30px;
}
.photo, .modele {
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 10px;
}
.modele {
    text-align: center;
    background-color: #fff;
    padding: 15px;
    margin: 15px;
}
.modele h3 {
    font-family: 'Gugi', cursive;
    padding-bottom: 10px;
}
.achatPatron {
    margin-top: 10px;
}
#intro {
    margin-bottom: 20px;
}
.atelier {
    /*background-color: #507192;*/
    margin: 20px;
    padding: 20px;
    overflow: hidden;
    flex-shrink: 0;
    width: 400px;
    border: 2px #B3331B solid;
}
.item {
    width: 300px;
    height: 200px;
    margin: 0px;
    overflow: hidden;
    flex-shrink: 0;
}
.testeuses>.item, .partPastilles>.item, .telechargements>.item {
    width: 250px;
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}
.partPastilles>.item, .testeuses>.item, .telechargements>.item {
    margin: 10px;
}
.item img {
    width: 100%;
    height: auto;
}
.item a {
    text-decoration: none;
}
.a-img-txt {
    display:grid; 
}
/* les enfants se superposent */
.a-img-txt>* {
    grid-area:1/1/-1/-1; 
    /* raccourci pour grid-row et grid-column */
}
/* le texte */
.a-txt {
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    opacity:0;
    transition:opacity .8s;
}
/* les couleurs c1 et c2 */
.c1 {
    background:#E47D08cc; /* avec alpha */
    text-align: center;
    font-family: cursive;
}
/* le survol */
.a-txt:hover {
    opacity:1;
}
/* Formulaires des testeuses*/
#formulaireTesteuses h1 {
    text-align: center;
}
fieldset {
    margin-bottom: 50px;
    border: 1px solid #507192;
    border-radius: 20px;
    padding: 20px;
}
fieldset legend {
    text-align: center;
}
#inputFacebook, #inputInstagram, #inputPinterest {
    visibility: hidden;
}
.bouton {
    display: flex;
    justify-content: center;
    align-items: center;
}
.bouton button {
    margin-top: 20px;
    width: 300px;
    height: 50px;
}
.selectSize {
    padding-left: 20px;
}
ul.conditionsTests {
    
}
/******* ateliers *********/


/******* formations *********/
.carte {
    width: 300px;
    height: auto;
    margin: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
/******* technique ********/
#navTechnique {
    /*background-color: darksalmon;*/
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
    width: 500px;
}
#contentTechnique {
    /*background-color: bisque;*/
    flex: 1;
    padding-left: 15px;
    padding-right: 15px;
}
#contentTechnique table {
    border-collapse: collapse;
    background-color: #ffffff;
}
#contentTechnique td, #contentTechnique th {
    border: #262626 solid 1px; 
}
#contentTechnique .table td, #contentTechnique .table th {
    text-align: center;
    vertical-align: middle;
}
.table img {
    width: auto; 
    height: auto; 
}
thead {
    background-color: #F5C6CB;
}
.ligne {
    background-color: #F4E3E5;
    color: #B3331B;
}
.colonne {
    width: 25%;
}

/******* footer ********/
footer {
    background-color: #b3331b;
    height: 80px;
    vertical-align: middle;
    line-height: 80px;
    display: flex;
    justify-content: center;
}
footer a {
    color: #EEF0F4;
}
footer a:hover {
    color: #EEF0F4;
    text-decoration: underline;
}
footer ul {
    list-style: none;
    margin: 0;
}
footer ul li {
    display: inline;
    margin: 0 20px;
}
footer2 {
    display: none;
}
footer .res30 {
    margin-left: 50px;
}
footer .res30 li {
    margin: 0 10px;
}
footer img {
    width: 30px;
    height: 30px;
}
/******* envoi mail *********/
#message {
    max-width: 500px;
    border: 4px solid #1c3553;
    border-radius: 30px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
}
.retourAccueil {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}
.btn-retour {
    width: 300px;
}

/******* fiche téléchargements *********/
.gratuit {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/***************************************************************************/
/* requête de media */
@media only screen and (max-width: 1600px) {
    .article {
        display: inherit;
    }
    .gauche{
        width: 100%;
        padding-right: 0px;
    }
    .droite {
        text-align: center;
    }
    .droite img {
        width: auto;
        height: auto;
    }
}
@media only screen and (max-width: 1200px) {
    header, main, footer, footer2 {
        width: 100%;
        border-right: none;
        border-left: none;
    }
    #navTechnique {
        /*display: none;*/
    }
}
@media only screen and (max-width: 1000px) {
    .pastille {
        display: none;
    }
    #titre a {
        margin-left: inherit;
        margin-right: inherit;
    }
    footer .res30 {
        display: none;
    }
    footer, footer2 {
        background-color: #b3331b;
        height: 80px;
        vertical-align: middle;
        line-height: 80px;
        justify-content: center;
    }
    footer, footer2 {
        display: flex;
    }
    footer a, footer2 a {
        color: #EEF0F4;
    }
    footer a:hover, footer2 a:hover {
        color: #EEF0F4;
        text-decoration: underline;
    }
    footer ul, footer2 ul {
        list-style: none;
        margin: 0;
    }
    footer ul li, footer2 ul li {
        display: inline;
        margin: 0 20px;
    }
    footer img, footer2 img {
        width: 30px;
        height: 30px;
    }
    footer2 .res30 {
        display: flex;
    }
    #navTechnique {
        /*background-color: darksalmon;*/
        padding-left: 0px;
        padding-right: 0px;
    }
    .fichier, #navTechnique {
        margin-bottom: 20px;
        margin-right: auto;
        margin-left: auto;
    }
} 
@media only screen and (max-width: 900px) {  
    .pastille {
        display: none;
    }
    .gugi {
        font-size: 42px;
    }
    .centrer {
        padding-left: 0px;
        padding-right: 0px;
    }
    form {
        width: auto;
        margin-left: 2%;
        margin-right: 2%;
        /*padding-top: 0px;*/
    }
    .row {
        display: block;
    }
    /******* presentation partenaires & testeuses *********/
    #presPart{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /***********************************/
    /******* navigation / menu *********/
    nav {
        line-height: 60px;
    }
    nav .mainnav 
    {
        display: none;
        flex-direction: column;
        background: #b3331b;
        height: auto;
        line-height: 60px;
    }
    nav .mainnav a {
        width: 100%;
    }
    nav label 
    {
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        font-size: 40px;
        color: #EEF0F4;
        cursor: pointer;
    }
    #toggle:checked + .mainnav {
        display: flex;
    }
} 
@media only screen and (max-width: 750px) {
    #titre img, #famille img {
        width: 300px;
        height: auto;
    }
    #res img {
        width: 50px;
        height: 50px;
    }
    .droite img {
        width: 100%;
        height: auto;
    }
    

} 
@media only screen and (max-width: 600px) {
    .testeuses, .partPastilles {
        justify-content: inherit;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: center;
    }
}
@media only screen and (max-width: 540px) {
    .fichier {
        flex-wrap: wrap;
        width: 256px;
    }
    #contentTechnique {
        margin-top: 20px;
    }
    #contentTechnique table ul {
        list-style: none;
        padding-left: 0;
    }
    #contentTechnique table {
        font-size: 0.6em;
    }
    #filAriane {
        display: none;
    }
}
@media only screen and (max-width: 500px) {
    /*header, main, footer, footer2 {
        margin-left: initial;
        margin-right: initial;
    }*/
    #res li, #logo li {
        padding-left: 15px;
        padding-right: 15px;
    }
    footer {
        height: 200px;
        line-height: initial;
    }
    footer ul li {
        display: block;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #carouselExampleIndicators {
        width: 300px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
    h1 {
        text-align: left;
    }
} 

