/*
 * Couleurs communes
 */
:root {
    --couleur-cadre: #ac8a3c;
    --couleur-secondaire: #999999;
}

/*
 * Pas d'affichage des flèches sur les champs "number".
 */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/*****************************************
 * Style commun à la structure des pages.
 *****************************************/

* {
    box-sizing: border-box;
    font-family: 'Courier New', monospace;
}

body {
    max-width: 1600px;
    margin-left:auto;
    margin-right:auto;
    margin-top:0;
}

header, main, footer {
    background:url(../img/fond_fiche3.jpg);
    border:0;
    margin:0;
    padding-right: 1em;
    padding-left: 1em;
}

header {
    padding-top:0;
    padding-bottom:0;
    display:flex;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index:1;
}

main {
    padding-top:0.5em;
    z-index:0;
    min-height: 80vh;
}

footer {
    border:0;
    margin:0;
    min-height: 2em;
}

@media (max-width: 640px) {
    header,main {
        padding-right: 0;
        padding-left: 0;
    }
}

/******************************************************
Titre de page
*******************************************************/

@font-face {
  font-family: COF2Titre;
  src: url(../font/Candal.ttf);
  font-weight: bold;
}

.titre  {
    width: 200px;
    height:80px;
    text-align: center;
    color: var(--couleur-cadre);
}

.titre * {
    font-family: COF2Titre, Times;
    font-weight: bold;
}

.titre div:nth-child(1) {
    font-size:25px;

}

.titre div:nth-child(2) {
    font-size:25px;
    position: relative;
    top: -29px;
}

.titre div:nth-child(3) {
    font-size:12px;
    position: relative;
    top: -48px;
}

.titre div span:nth-child(1) {
    font-size:34px;
}

.titre div span:nth-child(2) {
    vertical-align:5px;
}

.titre div span:nth-child(3) {
    font-size:34px;
}


/******************************************************
Barre de bouton
*******************************************************/
header div.barreBoutons {
    height:80px;
    padding-right:10px;
}

header div.barreBoutons button {
    height:35px;
    margin-top:10px;
}

/*****************************************
   Boutons
 *****************************************/
button {
    background-color: #BBBBBB;
    border:0;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em;
    padding-top : 4px;
    padding-bottom : 4px;
    padding-left : 1em;
    padding-right : 1em;
}

button:hover {
  background-color: #999999;
}

button span.texteBouton {
    vertical-align: middle;
    height:1em;
    display: inline-block;
}


button span.iconeBouton img {
    width:1em;
    height:1em;
    vertical-align: middle;
    display: inline-block;
    margin-right: 0.5em;
}

@media (max-width: 700px) {
    button span.texteBouton {
        display: none;
    }
    
    button span.iconeBouton img {
        margin-right: 0;
    }
    
}
