﻿* {
	box-sizing: border-box;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 15px;
	margin:  0;
	padding: 0;
}

/* Elements de base */
body {
	max-width: 8.5in;
	margin: auto;
}
a {
	color: #0073B9;
	text-decoration: none;
}
a[href^="http://"]:after{
	margin-left: 0.25em;
	content: url('../images/lien-externe.gif');
}
.entete a[href^="http://"]:after{
	display: none;
}
p{
	margin: 0.5em 0;
}
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; }

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;
}

span{
	font: inherit;
	font-weight: inherit;
	font-size: inherit;
}
em {
	display: block;
	font-size: 11px;
}
ul {
	margin: 1em 4.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 33.33%;
	
	background-size:cover;
	text-align: center;
}

.titre h1{
	color: #303632;
	font-size: 30px;
	font-weight: normal;
	padding-bottom: 0.5em;
}
.titre h2{
	font-size: 18px;
	font-weight: normal;
}

/* 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;
}

/* 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;
}

.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 {
	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;
}