/* GENERAL */


.wrapper

/* container invisible qui centre le tout sur la page */
    {
    width: 940px;
    margin: 0 auto;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: #333;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Quicksand', sans-serif;
    /* font-weight: 600; */
    text-align: center;
    margin: 0 0;
}

h1 {
    font-size: 42px;
    color: #89ccca;
}

h2 {
    font-size: 35px;
    color: #89ccca;
}

h3 {
    font-size: 20px;
    text-align: left;
}

h5 {
    font-size: 16px;
    text-align: left;
}

ul {
    list-style: none;
    /* supprime les puces mises par défaut */
    padding-left: 0;
    /* supprimer l'espace à gauche mis par défaut */
}


.clear

/* pour remettre à la ligne les éléments après des éléments avec la propriété float */
    {
    clear: both;
}

g g g text

/* change la couleur de la légende des donuts. Si un seul g : change aussi la couleur des % des tranches.  g g = couleur des blocs entiers de légende (texte + %). g g g : 1er élément = texte des légendes, 2ème élément = %*/
    {
    fill: black;
}


/* header et subheader */

header {
    height: 175px;
    background-color: #003143;
    /*display: flex;*/
}


.headerlogin {
    height: 25px;
    background-color: #003143;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

.headerlogin a {
    text-decoration: none;
    color: #89ccca;
}

#entete {
    height: 150px;
    width: 100%;
    background-color: #003143;
    color: #89ccca;
    font-size: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    text-align: center;
}

#entete img.flag {
	height: 20px;
    width: auto;
}


#entete select {
    padding: 0 5px;
}

#entete p {
    vertical-align: top;
    margin: 0 0 5px 0;
}

#entete .btnsub {
    margin: 5px;
    background-color: #89ccca;
    border-radius: 10px;
    padding: 5px 15px;
    color: #003143;
}


/* OVERVIEW */

#overview {
    margin: 40px auto 0px;
}

#nomoverview {
    font-size: 45px;
}

.taboverview {
    border-spacing: 10px 0;
    margin: auto;
}

/* cellules des 1er tableaux */
#overview td {
    width: 295px;
    text-align: center;
    background-repeat: no-repeat;
}

/* lignes de données */
.overviewdatas td {
    height: 200px;
    font-size: 32px;
    font-weight: bold;
    vertical-align: bottom;
    border-radius: 20px 20px 0 0;
    border-width: 3px 3px 1px 3px;
    border-style: solid;
    background-position: 50% 30%;
}

/* lignes de titres */
.overviewtitles td {
    border-radius: 0 0 20px 20px;
    height: 60px;
    font-size: 32px;
    vertical-align: middle;
    border-width: 1px 3px 3px 3px;
    border-style: solid;
}


.overviewdataalaerts td {
    padding: 5px 5px;
    border-radius: 20px 20px 20px 20px;
    height: 230px;
    font-size: 25px;
    border-style: solid;
    background-position: 50% 15px;
}

.taboverview thead {
    font-family: 'Work Sans', sans-serif;
    font-size: 32px;
}


/* TFHOURSBLOCK*/

#tfhoursblock {
    width: 940px;
    background-color: #efefef;
    border-style: outset;
    padding: 20px 20px;
    margin: 0 auto;
}

#donutchart {
    text-align: center;
    vertical-align: middle;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

#tfhoursblock h1

/* style des titres */
    {
    font-size: 42px;
}

#tfhoursblock h2

/* style des titres */
    {
    font-size: 35px;
}

#tfhoursblock h3

/* style des titres */
    {
    font-size: 20px;
}

#listeperiodes

/* style de la valeur de liste des détails périodes */
    {
    font-size: 20px;
    list-style: disc;
    padding-left: 40px;
}

.timelinestitles {
    font-weight: bold;
    font-size: 20px !important;
    margin-top: 40px;
}

.temperaturechart {
    margin-bottom: 40px;
}




/* RESUME */

#resume

/* paramètres du bloc résumé contenant les 3 jours */
    {
    width: 970px;
    background-color: #efefef;
    border-style: outset;
    padding: 10px 10px;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

#resume h1

/* titre du bloc */
    {
    margin-bottom: 40px;
    text-align: center;
}

.tabresume {
    float: left;
    list-style: none;
    width: 300px;
    height: 350px;
    padding: 5px 5px;
    margin: 5px 5px;
    background: #fff;
    border: 1px solid #C0C0C0;
    position: relative;
}

.shadowef {
    position: relative;
}

.shadowef:after {
    content: "";
    position: absolute;
    background: #777;
    width: 200px;
    left: auto;
    bottom: 15px;
    top: 70%;
    right: 10px;
    -moz-box-shadow: 0 15px 10px #777;
    -webkit-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    z-index: -90;
    -moz-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -webkit-transform: rotate(3deg);
    transform: rotate(3deg);
}


.timelinedisplay {
    margin-bottom: 0;
}

#tabresume1:hover

/* on utilise la pseudo-classe hover pour changer l'aspect du bloc quand on passe la souris dessus */
    {
    /*background: #87cbc9;*/
    background: #FFFFFF;
    background: -moz-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: -webkit-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: linear-gradient(to bottom, #FFFFFF 0%, #87CBC9 100%);
}



#tabresume2:hover

/* on utilise la pseudo-classe hover pour changer l'aspect du bloc quand on passe la souris dessus */
    {
    background: #FFFFFF;
    background: -moz-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: -webkit-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: linear-gradient(to bottom, #FFFFFF 0%, #87CBC9 100%);
}



#tabresume3:hover

/* on utilise la pseudo-classe hover pour changer l'aspect du bloc quand on passe la souris dessus */
    {
    background: #FFFFFF;
    background: -moz-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: -webkit-linear-gradient(top, #FFFFFF 0%, #87CBC9 100%);
    background: linear-gradient(to bottom, #FFFFFF 0%, #87CBC9 100%);
}







/* COMMANDES DE MASQUAGE / AFFICHAGE DES OPTIONS */

.buttonshowtemper {
    box-shadow: 2px 2px 3px 0px #9fb4f2;
    background: linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);
    background-color: #7892c2;
    border-radius: 10px;
    border: 1px solid #4e6096;
    /*display:inline-block;*/
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 2px #283966;
    float: right;
}

.buttonshowtemper img {
    vertical-align: middle;
}

.buttonshowtemper:hover {
    background: linear-gradient(to bottom, #476e9e 5%, #7892c2 100%);
    background-color: #476e9e;
}


/* CSS SPECIFIQUE A PAGE INDEX */

.login {
    width: 350px;
    background: white;
    padding: 30px;
    border: 0.5px solid rgba(0, 0, 0, .25);
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
    margin: 0 auto;
    position: relative;
    top: 50px;
    display: block;
    text-align: center;
    font-size: 16px;
}

.login h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin: 20px auto;
    padding: 10px;
    background: #89ccca;
    color: #333;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1) inset;
}

.label {
    text-align: left;
    font-weight: bold;
    font-size: 1em;
}

.saisie {
    font-family: inherit;
    width: 95%;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 2px;
    font-size: 1em;
    margin: 10px 0 30px 0;
}

.login input[type="checkbox"] {
    width: 1em;
    height: 1em;
}

.login label {

    font-size: 1.3em;
}

.login input[type="submit"] {
    font-family: inherit;
    font-weight: bold;
    padding: 5px 20px;
    border: 1px solid rgba(47, 64, 64, .2);
    border-radius: 5px;
    background: #89ccca;
    color: 333;
    box-shadow: 2px 2px 2px rgb(98, 166, 164);
    font-size: 2em;
    margin: 20px auto;
}

.alert_error {
    color: red;
    text-shadow: 0px 1px 2px #283966;
}

.success {
    color: green;
    font-size: 20px;
}

.error{
    color: red;
    font-size: 20px;
}

@media screen and (max-width: 1000px) {
    .login {
        width: 70%;
        font-size: 25px;
    }

}