/* Réduire l'écriture sur les mobiles seulement*/
@media screen and (max-width: 640px) {
	*{
		font-size: 8pt;
	}
}
* {
	box-sizing: border-box;
}
body {
	position:relative;
	margin:0;
	padding:0 0.8em;
	font-size:0.8em;
	font-family:verdana, arial, helvetica, sans-serif;
	color:#5a5a5a;
	background-color:#FFF;
}

h2 {
	margin-top: 1.5em;
	margin-bottom: 0;
	text-align: center;
	width: 100%;
	padding: 0.25em 0;
	font-size: normal;
	
	border: thin solid black;
	border-bottom: none;
	border-radius: 1em 1em 0em 0em;
	background-color: #003A79;
	text-indent: 2em;
	color: #333;

	line-height: 40px;
	background-image: url('Cout_placeGarderie.jpg');	
}
	
p {
	text-align: justify;
	padding: 0.25em 1em;
}

a {
	text-decoration: none;
}

a img{
	text-decoration:none;
	border:0;
}

.details {
	position: relative;
	display: inline-block;
	text-align: justify;
	padding: 0.25em 1em;
	width: 97%;
}
.details>.content {
	margin-right: 2em;
	margin-top: 0.75em;
	padding: 0.25em;
	border: thin solid silver;
	border-radius: 1em;
	background-color:#FAFAFA;
}
.summary{
	border: none;
}
.content{
	display: none;
	background-color: white;
	box-shadow: 5px 5px 5px #888888;
}
div.summary:hover+.content{
	position:absolute;
	display: block;
	bottom: 2em;
}	
label.summary:hover+.content{
	position:absolute;
	display: block;
}	
div.summary:before, label.summary:after{
	content: "?";
	font-size: 75%;
	width: 1.25em;
	border-radius: 1em;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	background-color: #003A79;
	color: white;
	margin: 0.25em;
}
label.summary{
	margin-left: 0.75em;
}

#calculateur{
	position: relative;
	width: 100%;
	max-width: 8.5in;
	margin: 1.5em auto;
}
#entete, #pied {
	width: 100%;
	max-width: 8.5in;	
	margin: 1.5em auto 0 auto;	
	/*text-align: right;*/
}

#logo{
	height:2em;
}

#version{
	float:right;
	padding-top:1.8em;
}

#corps {
	padding: 1em 0;
	border: thin solid black;
	border-radius: 0em 0em 1em 1em;
}

#corps form{
	display: table;
	border-collapse: collapse;
	width: 100%;
	padding: 0 1em;
	margin: 1em 0;
}

#corps form>div{
	display: table-row;
	width: 100%;
}
#corps form>div>*{
	display: table-cell;
}

#corps form>div>label, #corps form>div>div, #corps form>div>a {
	padding: 0.25em;
	padding-bottom: 1em;
}
#corps form>div>label{
	padding-left: 1em;
}
#corps form>div>a{
	padding-left: 1.5em;
}
#corps form>div>fieldset {
	padding:0;
	border: none;
	margin: 0;
}

input, select {
	border: thin solid silver;
	width: 13.5em;
	vertical-align: middle;
	font-family:verdana, arial, helvetica, sans-serif;
	color:#5a5a5a;
		margin-right: 1em;
}

.output input{
	width: 5em;
	border: none;
	margin-right: 0;
}
.output 	span{
	text-align: center;
	width: 11em;
}
.column-header 	span{
	vertical-align: bottom;
	border-bottom: thin solid #5A5A5A;
}
input:focus, select:focus {
	border-color: black;
	box-shadow: 1px 1px 5px #888888;
}

.output input:focus, .output select:focus {
	border: none;
	box-shadow: none;
}

input {
	text-align: center;
}
.subtitle {
	font-weight: bold;
}
.subtitle {
	text-align: right;
	width: 127%;
	text-decoration: underline;
}
.separateur{
	margin: 1em;
	border-bottom: thin solid #5A5A5A;
}
#corps form>div.separateur>label{
	padding: 0;
	margin: 0;
}
.row-header, .column-header {
	font-weight: bold;
}

.row-header input{
	font-weight: bold;
}

.sous-total, .sous-total input {
	font-style: italic;
}

.cache {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}

.floatleft{
	float:left;
}

.floatright{
	float:right;
}