﻿/* Elements de base */
body {
	font-size:0.8em;
	font-family:verdana, arial, helvetica, sans-serif;
}	

input, select, option, button {
  width: 15em;
  
  vertical-align: middle;
  text-align: center;
  
  font-weight: bold;
  font-size: 14px;
  
  border: thin solid #9f9f9f;
  border-radius: 0.33em;
}

label {	font-size: 18px; cursor: default;}

hr {	border: none; border-top: thin solid black; margin: 1.5em 0em 1em 0em;}

table {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
}
thead {
	border-bottom: thin solid black;
}
td:first-child, th:first-child {
	text-align: left;
}
td,th {
	padding: 0.25em 0;
	text-align: right;
	font-size: 12px;
}
th {
	font-size: 14px;
}
sup{
	font-size: 8px;
}
.table_note{
	margin-top:0.25em;
	padding-top:0;
	font-size:10px;
}
.note {
	font-size:0.8em;
}
span{
	font: inherit;
	font-weight: inherit;
	font-size: inherit;
}
/* em {
	display: block;
	font-size: 11px;
}*/

ul {
	margin: 1em 4.5em;
}
ul.puces {
	list-style-type:disc;
	padding-left:0em;
	padding-bottom:1em;
}

ul.puces li{
	padding-bottom:0.7em;
}

#nav ul li  {
	height: 22px;
}
.paddingtop2{
	padding-top:0.5em;
}
	
/* Entête de la page qui contient le logo du MFQ et les liens vers la page outil et la version anglaise */

.entete{
	clear: both;
	padding-bottom: 1em;
	
	text-align: right;
	vertical-align: bottom;
}
.entete a,.entete span {
	font-size: 14px;
}

/* Titre du calculateur avec une image de fond, un titre et un sous-titre */

.titre{
	max-width: 816px;
	min-height: 222px;
	
	padding: 0.5em 0.5em 0.5em 45%;
	
	background-size:cover;
	text-align: center;
}

.titre h1{
	color: #303632;
	font-size: 30px;
	font-weight: normal;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
.titre h2{
	font-size: 18px;
	font-weight: normal;
}

#outils h2 {
	font-family: verdana, arial, helvetica, sans-serif;
	color: #383a34;
	text-transform: uppercase;
	font-size:1.7em;
	font-weight: lighter;
	line-height:1.2em;
}

#outils h2 span{
	display:block;
	font-size:0.5em;
	font-weight:lighter;
	text-transform:lowercase;
	line-height:1.5em;
}

#outils h3{
	font-size:1.4em;
	padding-bottom: 1em;
	line-height:1.2em;
	text-align: left;
}

#outils h4{
	font-size:1.2em;
	height:2em;
}
/* Formulaire d'entrée des données */
.entree {
	background-color: #E5E6E8;
	font-size: 16px;
	padding: 2em 2em 1em 0;
	
	box-shadow: 0px 16px 8px -8px #CCC inset;
}

.entree hr {	margin-right: -2em;}

/* Afficher les éléments d'entrées sous forme de tableau. */
.form {
	display: table;
}
.form >*{
	display: table-row;
}
.form >*>*{
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	margin: 0.5em auto;
}
.form >*>*:first-child{
	width: 100%;
	text-align: left;
	padding-left: 36px;
}

.description {
	font-size: 16px;
	color: #303632;
	text-align: justify;
	padding-left: 2em;
}

/* Tableau détails */

table.contributionsante, table.contributionsante tr, table.contributionsante td, table.contributionsante th, table.contributionsante caption{
	border:0;
	background-color:#536272;
	color:#ffffff;
	font-size:1em;
	padding: 0.5em 1em;
	margin:0;
	vertical-align: middle;
}

table.contributionsante caption{
	text-transform:uppercase;
	font-size:1.2em;
	padding-bottom: 1em;
}

table.contributionsante th{
	font-size:1.1em;
	/*font-weight: normal;*/
	border-color: #ffffff;
	vertical-align: bottom;
}

table.contributionsante tr.ligne2 td{
	background-color: #e0e3e5;
	color:#536272;
}

table.contributionsante tr.totalcs td{
	background-color: #ffffff;
	color:#536272;
	text-transform: uppercase;
}
.caution{
	font-weight:bold;
	text-align:center;
	padding:2em 0 0 0;
}
.evidence {
	color:red;
}
.cadrenoir {
	border: thin solid black;
	padding: 0 2em 1em 2em;
}

/* Page d'index */
.calculettes {
	width:100%;
	padding:1em;
	float:left;
}

div.calculettes img{
	float:left;
	margin-right:1.5em;
	border:thin solid black;
}

/* Formulaire de sortie des données */
.sortie{
	margin-top: -1px;
	text-align: justify;
}
.sortie label, .sortie a{
	font-size: 15px;
	padding: 0.5em 0;
}
.sortie p{
	padding-left: 36px;
	padding-right: 36px;
}

.sortie h3{
	font-size:1.2em;
}

.row-header, .column-header {
	font-weight: bold;
}
.sortie .column-header label, .column-header label { 
	padding: 1em 0.5em 0 0.5em;
	border-bottom: thin solid black; 
	vertical-align: bottom;
}

.sous-total, .sous-total input {
	font-style: italic;
}

.sortie:before {
	height:14px; 
	width:100%;
}

.resultat label {
	font-size: 15px;
	font-weight: bold;
	color: #E55300;
	padding-right: 1em;
}

.form+hr{
	margin-top:5px;
}

/* Pide de page avec la date de dernière mise à jour et le copyright du gouvernement */
.pied {
	clear:both;
	width:100%;
	text-align: center;
}
.maj{
	font-size: 12px;
	padding-bottom: 2em;
}
.copyright{
	font-size: 11px;
}

/* Pop up d'information */
.details {
	position: relative;
}
.details>.content {
	padding: 0.5em 1em;
	border: thin solid silver;
	border-radius: 1em;
	background-color:#EEE;
}
.content{
	display: none;
	max-width: 7.9in;
	background-color: white;
	box-shadow: 5px 5px 5px #888888;
}
.summary:hover+.content{
	position:absolute;
	z-index: 255;
	display: block;
}

.summary:after {
	display: inline-block;
	margin-left: 0.5em;
	vertical-align: middle;
}
.summary:before {
	display: inline-block;
	margin-right: 0.5em;
	vertical-align: middle;
}

.sortie .summary {
	font-size: 12px;
}

/* Avant une série de lien externe qui ouvre unenouvelle fenêtre, avertir les "screenreader", mais pas les autres navigateurs, donc cacher l'avertissement. */
.cache {
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}


/* Cacher les flèches des champs nombre pour ne pas désaligner le texte */
input[type=number] {-moz-appearance: textfield;}
::-webkit-inner-spin-button { -webkit-appearance: none;}
::-webkit-outer-spin-button { -webkit-appearance: none;}

/*Boutons de partage*/

#partage{ /*Bouton de partage de medias sociaux--*/
	clear: both;
	height: 1.6em;
	float:right;
	padding: 1em 0;
}
/*Boutons de partage*/

#partage{ /*Bouton de partage de medias sociaux--*/
	clear: both;
	height: 1.6em;
	float:right;
	padding: 1em 0;
}

/* Encadré dans les textes d'intro*/
.encadre{
	width: 90%;
	margin: auto;
	margin-top: 2em;
	border:1px solid #5a5a5a;
}
.encadre ul{
	margin-bottom:0; padding-bottom: 0;
}
.encadre-titre{
	padding: 0.75em;
	border-bottom:1px solid #5a5a5a;
	text-align: center;
	font-weight: bold;
}
.encadre-corps{
	padding: 0.5em 1em;
}
.encadre-sous-titre{
	font-weight: bold; 
}
.encadre-note{
	width: 90%;
	margin: auto;	
	font-size: smaller;
	margin-bottom: 3em;
}
