﻿/* Elements de base */
body {
	font-size:0.8em;
	font-family: verdana, arial, helvetica, sans-serif;
}	

#outils input, #outils select, #outils option, #outils button {
  width: 15em;
  
  vertical-align: middle;
  text-align: center;
  
  font-weight: bold;
  font-size: 15px;
  font-family: arial, helvetica, sans-serif;
  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.tabDetail {
	 border-top:2px solid #000000;
	 border-bottom:2px solid #000000;
	 margin-bottom: 25px;
	 margin-top:8px;
	 width:100%;
	
	 
}

table.tabDetail td {
   
	 text-align:center;
	  font-size:12px;
}

table.tabDetail td:first-child {
    padding-left:7em;
	text-align:center;

}

table.tabDetail td:last-child {
    padding-right:7em;
	text-align:center;

}


table.tabDetail p {
	padding-left: 26px ;
	padding-right: 26px ;
	padding-top: 6px ;
	padding-bottom: 0px ;
	 font-size:12px;
	 
}

.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;
}

ul.puces-liste {
	list-style-type:disc;
	padding-left:0em;
	padding-bottom:0em;
}

ul.puces-liste li{
	padding-bottom:0.7em;
	margin: 0.2em 4.5em;
}



.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 48%;
	
	background-size:cover;
	text-align: center;
}

.titre h1{
	color: #303632;
	font-size: 30px !important;
	font-weight: 300;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	text-align: center !important;
	text-transform: none !important;
}


.titre h2{
	font-size: 18px;
	font-weight: normal;
	text-align: center !important;
	text-transform: none !important;
	font-weight: 400 !important;
}



#outils h1 {
	font-family: verdana, arial, helvetica, sans-serif;
	color: #383a34;
	text-transform: uppercase;
	font-size:1.7em;
	font-weight: 400;
	line-height:1.2em;
	padding-top:1em;
}

#outils h1 span{
	display:block;
	font-size:0.5em;
	font-weight:lighter;
	text-transform:lowercase;
	line-height:1.5em;
}


#outils h2 {
	font-family: Montserrat, verdana, arial, helvetica, sans-serif;
	color: #383a34;
	/*text-transform: uppercase;*/
	font-size:1.4em;
	font-weight: 500;
	line-height:1.2em;
	text-align: left;
}

#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 h3.titre-niveau2 {
    font-size: 1.2em;
    padding-bottom: 0.6em;
    line-height: 0.4em;
    text-align: left;
}

#outils h3.titre-niveau3 {
    font-size: 1.2em;
    padding-bottom: 0.3em;
	padding-top: 0.5em;
    line-height:1.2em;
    text-align: left;
	color: #383a34;
}

#outils h2.titre-niveau3 {
    font-size: 1.2em;
    padding-bottom: 0.3em;
	padding-top: 0.5em;
    line-height:1.2em;
    text-align: left;
	color: #383a34;
}

#outils h2.titre-niveau2 {
    font-size: 1.3em;
    padding-bottom: 0.3em;
	padding-top: 5px;
	margin-top:0px !important;
    line-height:1.2em;
    text-align: left;
	color: #383a34;
}

#outils h4{
	font-size:1.2em;
	height:2em;
}


.bouton-haut-droit {
    float:right; 
	text-align:right; 
	/*width:35%;*/
	padding:0 0 1em 1em;
}

.bouton-haut-droit p {
 	width:220px;
	margin: 5px auto;
}

.bouton-haut-droit img {
 	/*border: thin solid #1d6e9d; */
	/*border-radius: 1.0em;*/
}

/*.bouton-haut-droit img:hover {
 	border: thin solid #aaaaaa;
	
}*/

a {
    color: #005DA1; /* #1d6e9d;*/
}

a:hover {
    color: #6F7583; /*#828a9a;*/
}


.bouton-haut-droit a {
    color: #1d6e9d;
}

.bouton-haut-droit a:hover {
    color:  #6F7583; /*#828a9a;*/
}

.bouton-haut-droit a:hover img {
  /*  border: thin solid #aaaaaa;*/
}

/* 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:#D90000;
}
.cadrenoir {
	border: thin solid black;
	padding: 0 2em 1em 2em;
	margin-top:2em;
}

.demicadrenoir {
	border: thin solid black;
	padding: 0 2em 1em 2em;
	margin-top:2em;
	/*width:59%;*/
	clear:both;
	
}


.textepluspetit {
	font-size:0.8em;
}

/* Page d'index */
.calculettes {
	width:100%;
	padding:1em;
	float:left;
}

div.calculettes img{
	float:left;
	margin-right:1.5em;
	border:thin solid black;
}

.groupe-bloc-flottant {
	float: left;
	width:460px;
}	



/* 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.2em 0 2.5em; /* 1em 0.5em 0 0.5em;*/
	border-bottom: thin solid black; 
	vertical-align: bottom;
}

.sous-total, .sous-total input {
	/*font-style: italic;*/
	font-weight:bold;
}

.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;
	padding-top: 20px;
}

.maj{
	font-size: 12px;
	padding-bottom: 2em;
	padding-top: 0.5em;
}
.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;
}




@media (max-width: 768px) {	

.demicadrenoir {
	border: thin solid black;
	padding: 0 2em 1em 2em;
	margin-top:2em;
	width:90%;
	/*clear:both;*/
	
 }
 
 .bouton-haut-droit { width: 100%; text-align: left;}
 
 /*.groupe-bloc-flottant {
   
    width: 210px;
  }*/
  
   table.tabDetail td:first-child {
    padding-left: 0em;
   
   }
   
   table.tabDetail td:last-child {
    padding-right: 0em;
   
   }
   
   table.tabDetail p {
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 3px;
    padding-bottom: 0px;
    font-size: 11px;
   }
  
}

@media (max-width: 500px) {	

 
 .groupe-bloc-flottant {
   
    width: 210px;
  }
}


/*
#nav ul li:last-child {
	border-right: solid 4px #003a79;
}
*/

/* Nouveau PIV */



#LayoutDivOutil {
	max-width: 960px !important;
	width: 95%;
    margin: 0 auto;
}



.float-left {
    float: left !important;
	margin-bottom:0.8em;
}

.float-right {
    float: right !important;
}

.facebook-share svg {
  fill: #3B5998;
}

.twitter-share svg {
  fill: #1DA1F2;
}

.linkedin-share svg {
  fill: #1DA1F2;
}

@media screen and (min-width: 769px) {
.sociauxMFQ {
	margin: 1.5rem 0 0 0;
}
}

@media (min-width: 768px)
.mt-md-4, .my-md-4 {
    margin-top: 1.5rem !important;
}

.pl-3, .px-3 {
    padding-left: 1rem !important;
}

/* Fin Réseaux sociaux MFQ --------------------------------------------*/


@media print{
	
	@page {
      size: auto; /* 8.5in 11in;   /* auto is the initial value */
      margin-bottom: 6%;
	  margin-top: 6%;
    }
	
	
	
	#LayoutDivPIV, #piv_menu{
		display:none !important;
	}
}	