body, html{margin:auto; padding: 0;text-align: center}
header, section {
	margin: 0 auto;
	width: 600px;
	text-align: center;
	padding: 0;
}
header {
	background: linear-gradient(to right, #ffffff 0%,hsla(95, 0%, 90%, 1) 25%,hsla(95, 0%, 83%, 1) 50%,hsla(95, 0%, 90%, 1) 75%,#ffffff 100%);
	position: fixed;
	left: calc(50% - 300px);
}
section {
	padding: 10px 0;
}
header button {
	background-color: hsla(95, 100%, 36%, 1);
	border: 1px solid;
	border-color: hsla(95, 100%, 36%, 1);
	padding: 7px 10px;
	margin: 0 auto;
	border-radius: 4px;
	text-shadow: 1px 1px 1px #000;
	color: #fff;
	cursor: pointer; 
	width: 8em;
}
header button:hover {
	border-color: hsla(95, 100%, 26%, 1);
	text-shadow: 2px 2px 2px #000;
}
header button:active {
	background-color: hsla(95, 100%, 26%, 1);
	border-color: hsla(95, 100%, 26%, 1);
	text-shadow: 2px 2px 2px #000;
}
header button:disabled, header button[disabled], header button.plusplus:disabled, header button.plusplus[disabled]{
	background-color: #888;
	border-color: #888;
	cursor: default;
}
header button.plusplus {
	background-color: hsla(320, 60%, 55%, 1);
	border-color: hsla(320, 60%, 55%, 1);
	border-radius: 55px;
	width: 5em;
	padding: 15px 5px;
}
header button.plusplus:hover {
	border-color: hsla(320, 60%, 45%, 1);
}
header button.plusplus:active {
	background-color: hsla(320, 60%, 45%, 1);
	border-color: hsla(320, 60%, 45%, 1);
}

#main {
	margin: 80px auto 0;
	width: 600px;
	text-align: left;
	font-size: 1em;
}
#main p{
	margin: 0.4em 1em 0;
	text-align: justify;
	line-height: 0.95em;
}
#main .maladie{
	color: hsla(50, 60%, 45%, 1);
}
#main .mort{
	color: hsla(5, 60%, 45%, 1);
	font-weight: 900;
}
#main .travail{
	color: hsla(215, 63%, 50%, 1);
}
#main .bienvenue{
	display: block;
	font-weight: bold;
	font-size: 0.8em;
}
#main .new_year {
	display: block;
	font-weight: bold;
	margin-top: 1.5em;
	font-size: 0.8em;
	padding-top: 0.5em;
	border-top: 1px solid;
	padding-bottom: 0.5em;
	border-image:  
		linear-gradient(
				to right, 
				hsla(215, 63%, 26%, 0.2), 
				hsla(215, 63%, 26%, 0)
			       ) 1 0;
}
#main .bienvenue{
	font-size: 1em;
}

#main .explications{
	margin: 2em 1em 1em;
	padding-top: 1em;
	font-size: 0.9em;
	font-weight: bold;
}
#main .explications:before{
	content: "> ";
}

ul {
	padding: 0;
}
#main ul.actions{
	list-style-type: none;
	cursor: pointer;
	margin-top: 0;
}
#main ul.actions li{
	padding: .5em;
	border-width: 0;
	border-bottom-width: 1px;
	border-style: solid;
	border-image:  
		linear-gradient(
				to right, 
				hsla(215, 63%, 26%, 0.5), 
				hsla(215, 63%, 26%, 0)
			       ) 1 0;
}
#main ul.actions li:not(:empty):hover{
	background: linear-gradient( to right, hsla(215, 63%, 26%, 5%), hsla(215, 63%, 26%, 0));
}
#main ul.actions li:not(:empty):active{
	border-bottom-width: 3px;
	background: linear-gradient( to right, hsla(215, 63%, 26%, 20%), hsla(215, 63%, 26%, 0));
}
#main ul li:empty{
	border: none;
	height: 1.5em;
}
#main p.notify{
	text-align: center;
	font-style: italic; 
	padding-top: 5em;
	margin-bottom: 1em;
}
#main ul.actions li.confirm{
	text-align: center;
	border-image:  
		linear-gradient(
				to right, 
				hsla(215, 63%, 26%, 0),
				hsla(215, 63%, 26%, 1), 
				hsla(215, 63%, 26%, 0)
			       ) 1 0;
}
#main ul.actions li.confirm:hover{
	background: linear-gradient( to right, hsla(215, 63%, 26%, 0), hsla(215, 63%, 26%, 5%), hsla(215, 63%, 26%, 0));
}
#main ul.actions li.confirm:active{
	border-bottom-width: 3px;
	background: linear-gradient( to right, hsla(215, 63%, 26%, 0), hsla(215, 63%, 26%, 20%), hsla(215, 63%, 26%, 0));
}

h5 {
	margin-bottom: 0;
	margin-top: 2em;
}
.jauge_amour, .valeur {
	display: block;
	padding-top: 2px;
	font-size: 0.7em;
}

#h_bar {
	width: 34em;
	margin: auto;
	padding-bottom: 0.7em;
	display:flex;
	justify-content:space-between;
}
#h_bar .progress{
	background-color: #fff;
	width: 12em;
	cursor: default;
}
#h_bar .progress_inside{
	background-color: hsla(320, 40%, 65%, 1);
	background-color: hsla(215, 65%, 65%, 1);
	font-weight: bold;
	padding-left: 1px;
	padding-right: 1px;
}
#progress_bonheur {
	float: right;
}

.progress {
	background-color: hsla(320, 10%, 90%, 1);
	border-radius: 5px;
	height: 1em;
	width: 10em;
	display: inline-block;
	margin-left: 1em;
	margin-right: 1em;
}
.progress_inside {
	display: block;
	background-color: hsla(320, 40%, 65%, 1);
	height: 100%;
	border-radius: 3px;
	padding: 0;
	font-size: 0.8em;
	margin-left: 0;
}
.progress_inside span {
	padding: 0 5%;
}

@media (max-width: 600px){
	#main {
		margin: 160px 10px 10px;
		width: calc( 100% - 20px );
	}
	header, section {
		margin: 0;
		width: 100%;
	}
	header {
		padding-top: 15px;
		left: 0;
	}
	header button {
		width: 35%;
		margin-top: 2px;
	}
	header button.plusplus {
		width: 20%;
		position: fixed;
		left: 40%;
		top: 20px;
	}
	#h_bar {
		margin-top: 5px;
		display: block;
		width: 100%;
	}
}


