body {
    margin: 0;
    padding: 0;
    background: white;
    font-family: Arial, sans-serif;
}

#header {
    width: 100%;
    height: 50px;
    background: rgb(180,220,120);
    position: fixed;
    border-bottom: 1px solid rgb(180,220,120);
}

#show_menu {
    cursor: pointer;
}

#menu {
    position: fixed;
    width: 260px;
    height: 100vh;
    text-align: left;
    background: rgba(180,230,120,0.9);
    margin-left: -300px;
    padding-top: 20px;
    margin-top: 1px;
}

#menu li {
    list-style: none;
    padding: 10px 30px;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

#menu div {
    margin-left: 40px;
    margin-top: -23px;
}

#content {
    text-align: center;
}

#message {
    margin: auto;
    margin-top: 10px;
    width: 80%;
    border-left: 3px solid grey;
    background: gainsboro;
    padding: 10px;
    border-radius: 3px;
}

/*HOME*/

.index_child {
    width: 260px;
    height: 145px;
    background-color: rgba(240,240,240,0.8);
    margin: 10px;
    display: inline-block;
    cursor: pointer;
}

.index_child > #child_name {
    width: 100%;
    text-align: center;
    background: rgb(180,220,120);
    border-radius: 0 0 3px 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
}

/*CHILD*/

#profile_child {
    width: 100%;
    height: 150px;
    background-color: rgba(240,240,240,0.9);
    text-align: center;
    padding-top: 10px;
    box-shadow: 0 0 10px rgba(240,240,240,0.9);
}

#picture {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    background-color: white;
    margin: auto;
    box-shadow: 0 0 5px gray;
}

#name {
    margin-top: 5px;
    margin-bottom: 3px;
}

#date, #date a {
    font-size: 13px;
    color: grey;
    text-decoration: none;
}

/* CARD */

.card_line {
    color: rgb(100,100,100);
    width: 100%;
    padding-top: 15px;
    height: 30px;
    background: rgba(240,240,240,0.4);
    border-bottom: 1px solid rgba(240,240,240,0.8);
    color: rgba(200,200,200);
    cursor: pointer;
}

.card_line:nth-child(2n) {
    background: white;
}

.card_line:hover {
    background: rgba(240,240,240,0.8);
}

.card_icon {
    width: 36px;
    height: 36px;
    fill: black;
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

.meal_icon {
    width: 30px;
    height: 30px;
    fill: black;
}

.card_bloc {
    width: 320px;
    background: rgba(240,240,240,0.4);
    display: inline-grid;
    margin: 10px;
    text-align: left;
    border-radius: 5px;
}

.card_bloc:hover {
    background: rgba(240,240,240,0.7);
}

.card_bloc_header {
    height: 50px;
}

.card_bloc_header > .label {
    color: black;
    margin-top: 18px;
    margin-left: 60px;
    font-weight: bold;
} 

.card_bloc_container {
    width: 300px;
    margin: auto;
    margin-top: 0;
    padding: 10px;
    padding-top: 0;
    font-size: 14px;
    line-height: 26px;
}

#table_meal {
    width: 100%;
    table-layout: fixed;
}
#table_meal tr, td {
    vertical-align:top;
    text-align: center;
}

/* PARAM */

.param_block {
    width: 320px;
    background: rgba(240,240,240,0.4);
    display: inline-grid;
    margin: 10px;
    text-align: center;
    border-radius: 5px;
    padding-bottom: 15px;
}


/*BALISES*/

/*LIST*/

ul {
    margin-top: 5px;
}

ul > li {
    list-style: square;
}

hr {
    border: 0;
    border-bottom: 1px solid black;
}

input[type=text], input[type=date], button {
    width: 95%;
    text-align: center;
    margin: auto;
    padding-top: 5px;
    padding-bottom: 5px;
}

input[type=time] {
    width: 95%;
    content: "Heure";
}

input, button {
    font-size: 14px;
}

button {
    background: rgba(0,0,0,0.1);
    margin: auto;
    border: 1px solid gainsboro;
}

h3 {
    color: grey;
}

/* BACK BUTTON */

#backButton, #updateButton {
    width: 43px;
    height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 7px;
    cursor: pointer;
    border-radius: 50%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-align: left;
    background: rgba(180,220,120,0.6);
}

#backButton:hover, #updateButton:hover {
    background: rgba(180,220,120,1);
}

#updateButton {
    right: 70px;
    padding-right: 3px;
    text-align: center;
}

/*FORM*/

form {
    margin: auto;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

#upload {
    background: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#upload:hover {
    color: grey;
}

/* LOGIN */

.form ul{
    list-style:none;
    padding:0;
    margin:0;	
}
.form li{
    display: block;
    padding: 9px;
    border:1px solid #DDDDDD;
    margin-bottom: 10px;
    border-radius: 3px;
}

.form li > label{
    display: block;
    float: left;
    margin-top: -19px;
    background: #FFFFFF;
    height: 14px;
    padding: 2px 5px 2px 5px;
    color: #B9B9B9;
    font-size: 14px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}


.form input {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    display: block;
    outline: none;
    border: none;
    height: 25px;
    line-height: 25px;
    font-size: 20px;
    margin-top: 10px;
    color: darkgray;
    font-weight: bold;
    letter-spacing: 5px;
}

.form li > span{
    background: #F3F3F3;
    display: block;
    padding: 3px;
    margin: 0 -9px -9px -9px;
    text-align: center;
    color: #C0C0C0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

.submit, .form button {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 100%;
    max-width: 300px;
    background: rgb(180,220,120);
    padding: 10px;
    border: 0;
    font-size: 18px;
    color: white;
    border-radius: 3px;
    cursor: pointer;
}

/* COMMENT */

.comment textarea {
    width: 100%;
    height: 60px;
    background: transparent;
    border: 1px solid gray;
    resize: none;
    border-radius: 3px;
    margin-top: -20px;
    color: gray;
    font-size: 13px;
}

.comment button {
    width: 50px;
    background: rgb(180,220,120);
    padding: 5px;
    border: 0;
    font-size: 18px;
    color: white;
    border-radius: 3px;
    float: right;
}




.clickable {
    cursor: pointer;
}