/* 
    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 {
    background-color: #EEF0F4;
}
header a, header a:hover {
    text-decoration: none;
}
#titre, #presentation {
    background-color: #EEF0F4;
}
#titre {
    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;
}
.centrerFormGalerie {
    width: 500px;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}
.centrerTitre {
    height:110px;
    vertical-align:middle;
    line-height: 110px;
}
#logo li {
    padding-left: 25px;
    padding-right: 25px;
}
#logo {
    display: flex;
    list-style: none;
    justify-content: center;
}
ul {
    padding: 0;
    margin: 0;
}
main a {
    color: #B3331B;
}
main a:hover {
    color: #1c3553;
}
.lienExt img {
    width: 15px;
    height: 15px;
}
/******* formulaire d'authentification *********/
.form-signin {
    width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
}
.btn-dark{
    color: #EEF0F4;
    background-color: #1c3553;
    border-color: #1c3553;
}
.btn-dark:hover  {
    color:  #EEF0F4;
    background-color: #507192;
    border-color: #507192;
}

/******* navigation *********/
nav {
    background-color: #8ebfba;  
}

nav a {
    color:#404040;
    text-decoration: none;
}
nav a:hover {
    color: #C8575F;
}
/******* structure du main *********/
#conteneur {
    display: flex;
    padding: 10px;
    padding-bottom: 40px;
}
#menu {
    width: 20%;
}
#listeModele, #menu {
    margin: 10px;
    background-color: #fff;
}
#formMenu {
    padding-bottom: 40px;
}
#filtre {
    padding: 20px;
}
#liste, #listeModele {
    width: 100%;
}
#listeModele {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
}
#listeTiers {
    width: 100%;
}

/******* accueil *********/
#content {
    display: flex;
    flex-wrap: wrap;
}
#routines, #responsabilites, #administratif {
    width:50%;
    padding-top: 50px;
}
#routines, #administratif  {
    padding-left: 50px;
}
main h1 {
    font-size: 1.6em;
}
.routine {
    list-style-type: square;
    margin-bottom: 10px;
}
.societe {
    list-style-type: none;
    margin-bottom: 10px;
}
.routine h3, .societe h3 {
    color: #C8575F;
    font-size: 1.2em;
}
.routine li, .societe li {
    margin-left: 20px;
}
.sousListe {
    list-style-type: '* ';
    margin-left: 20px;
}

/******* produits *********/
.produits {
    display: flex;
    width: 500px;
    height: 250px;
    background-color: antiquewhite;
    /*justify-content: space-between;*/
    border-radius: 20px;
    margin: 10px;
}
.prodPhoto {
    width: 250px;
}
.prodPhoto img {
    width: 100%;
    border-radius: 20px 0 0 20px;
}
.prodTexte {
    /*border: #B3331B solid 1px;*/
    padding-left: 20px;
    padding-top: 20px;
    background-color: antiquewhite;
    border-radius: 0 20px 20px 0;
}
.prodTexte ul {
    list-style: none;
}
.prodTexte h2 {
    font-size: 1.2em;
    font-weight: bold;
    color: #b3331b;
}
/******* testeuses *********/
.testeuses {
    table-layout: auto;
    width: 100%;
}
.testeuses th {
    width: 10%;
}
.testeuses th:nth-child(3) {
    width: 20%;
    color: red;
}
.testeuses th:nth-child(1n+7) {
    width: 15%;
    color: red;
}
.testeuses img {
    padding-right: 5px;
}

/******* traduction *********/
#listeTraduction {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}
#tableTraduction {
    table-layout: fixed;
}
.lexique th:nth-child(1) {
    width: 25%;
}
.lexique th:nth-child(2) {
    width: 25%;
}
.lexique th:nth-child(3) {
    width: 40%;
}
.lexique th:nth-child(4) {
    width: 10%;
}
/******* formulaire de modification traduction *********/
#formTraduction, #formModele {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    /*padding-top: 0px;*/
}
.btn-dark{
    color: #EEF0F4;
    background-color: #1c3553;
    border-color: #1c3553;
}
.btn-dark:hover  {
    color:  #EEF0F4;
    background-color: #507192;
    border-color: #507192;
}
.oblige {
    color: #b3331b;
}

/******* matieres *********/
.filtreMatieres {
    width: 25%;
}
.filtreMatieres select {
    width: 75%;
}
.listeMatieres {
    /*background-color: #E47D08;*/
    width: 50%;
}
.tableMatieres {
    table-layout: fixed;
}
.tablesMatieres thead th:nth-child(1) {
    width: 35%;
}
.tablesMatieres thead th:nth-child(2) {
    width: 35%;
}
.tablesMatieres thead th:nth-child(3) {
    width: 30%;
}
/******* ventes *********/
#formulaireVentes {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
    /*padding-top: 0px;*/
}

/* tablesorter : ajout des pictogrammes de tri */
table.tablesorter thead tr .header {
    background-image: url(../img/tablesorter/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tablesorter thead tr .headerSortUp {
    background-image: url(../img/tablesorter/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(../img/tablesorter/desc.gif);
}
/******* Message d'enregistrement en base *********/
#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;
}

/******* ?? *********/

#liens, #affichage, #resultats {
    padding: 50px;
}
#liens {
    width: 15%;
}
#affichage {
    width: 30%;
}
#resultats {
    width: 50%;
    text-align: left;
}
#liens ul {
    list-style: none;
}
/******* footer *********/
#accent {
    text-align: center;
    margin-bottom: 50px;
}
#accent, #accent td {
    border: #1C3553 solid 1px;
}
#accent th:nth-child(2) {
    border-left: #fff solid 1px;
    border-right: #fff solid 1px;
}
#accent thead {
    background-color: #1C3553;
    color: #fff;
}



/******* footer *********/
footer {
    background-color: #8ebfba; 
    height: 80px;
    vertical-align: middle;
    line-height: 80px;
    display: flex;
    justify-content: center;
}
footer, footer a {
    color: #262626;
}
footer a:hover {
    color: #C8575F;
    text-decoration: underline;
}
footer ul {
    list-style: none;
    margin: 0;
}
footer ul li {
    display: inline;
    margin: 0 20px;
}
footer .res30 {
    margin-left: 50px;
}
footer .res30 li {
    margin: 0 10px;
}
footer img {
    width: 30px;
    height: 30px;
}


/***************************************************************************/
/* requête de media */
@media screen and (min-width: 350px) {
    #navBar, #navBar2 {
        flex-flow: row wrap;
        justify-content: space-around;
    }
    #navBar a, #navBar2 a {
        flex: 1 0 auto;
        text-align: center;
    }
} 