
/* bouton annonce */
.bouton_annonce {
	cursor: pointer;
	background: #ffdae0;
	border-color: red;
	color: red;
	padding: 1em;
	font-size: 1.3em;
	text-decoration:none;
	text-shadow:0px 1px 0px #7cacde;
	line-height: 1.5em;
	text-align: center;
	-moz-box-shadow:4px 4px 5px red;
	-webkit-box-shadow:4px 4px 5px red;
	box-shadow:4px 4px 5px red;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
.bouton_annonce:hover {	
	padding: 0.9em;
	font-size: 1.4em;
	font-weight:bold;
}
/* bouton annonce */

/* toggle switch */
.tgl {
  display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
  box-sizing: border-box;
}
.tgl::-moz-selection, .tgl:after::-moz-selection, .tgl:before::-moz-selection, .tgl *::-moz-selection, .tgl *:after::-moz-selection, .tgl *:before::-moz-selection, .tgl + .tgl-btn::-moz-selection {
  background: none;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
  background: none;
}
.tgl + .tgl-btn {
  outline: 0;
  display: block;
  margin: 0 auto;
  font-size: 1.5em;
  height: 2em;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.tgl-btn:hover {
	letter-spacing: 2px;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
  position: relative;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
}
.tgl + .tgl-btn:after {
  left: 0;
}
.tgl + .tgl-btn:before {
  display: none;
}
.tgl:checked + .tgl-btn:after {
  left: 50%;
}
.tgl-flip + .tgl-btn {
  padding: 2px;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  font-family: sans-serif;
  -webkit-perspective: 100px;
          perspective: 100px;
}
.tgl-flip + .tgl-btn:after, .tgl-flip + .tgl-btn:before {
  display: inline-block;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  width: 100%;
  text-align: center;
  position: absolute;
  line-height: 2em;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 4px;
}
.tgl-flip + .tgl-btn:after {
  content: attr(data-tg-on);
  border: 3px ridge rgba(33,153,232,0.6);box-shadow: 0 5px 10px rgba(33,153,232,0.3);
  background: rgba(33,153,232,0.6);
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}
.tgl-flip + .tgl-btn:before {
  border: 3px ridge rgba(33,153,232,0.6);box-shadow: 0 5px 10px rgba(33,153,232,0.3);
  background: rgba(33,153,232,0.6);
  content: attr(data-tg-off);
}
.tgl-flip + .tgl-btn:active:before {
  -webkit-transform: rotateY(-20deg);
          transform: rotateY(-20deg);
}
.tgl-flip:checked + .tgl-btn:before {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.tgl-flip:checked + .tgl-btn:after {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
  left: 0;
  border: 3px ridge rgba(241,129,110,0.6);box-shadow: 0 5px 10px rgba(241,129,110,0.3);
  background: #f1816e;;
}
.tgl-flip:checked + .tgl-btn:active:after {
  -webkit-transform: rotateY(20deg);
          transform: rotateY(20deg);
}
/* toggle switch */

/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}
/* Hide default HTML checkbox */
.switch input {display:none;}
/* The slider */
.slider {
	margin: 0;
	position: absolute;
	cursor: pointer;
	top: 0.2em;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	height: 34px;
	-webkit-transition: .4s;
	transition: .4s;
}
.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}
input:checked + .slider {
	background-color: #2196F3;
	height: 34px;
}
input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}
.slider.round:before {
	border-radius: 50%;
}
/* switch */

/* articles */
article,
.article_mini{
	line-height: 1.2em;
	text-align: justify;
}
article {
	margin:0 5em;
	font-size: 1.3em;
}
article > titre,
.article_mini > titre {
	line-height: 2em;
	font-size: 2.5em;
}
.article_mini > titre{
	font-weight : bold;
	font-size: 1em;
}
article > date,
.article_mini > date{
	color:rgba(63,63,63,0.6);
	font-style: italic;
	font-size: 0.8em;
}
article > date{
	font-size: 1.2em;
}
article > p:first-letter{
	font-size: 6em;
	line-height: 1em;
	margin:0.1em 0.3em;
	display: inline-block;
    float: left;
}

/* annonces miniatures */
.annonce_mini {
	position: relative;
	width: 100%;
	height: 360px;
	background:#FFF;
	padding: 4.5em 1em 0 1em;
	box-shadow: 3px 8px 4px #cacaca;
	margin-bottom:15px;
}
.annonce_mini > img {
	width: 250px;
	height:200px;
	float:right;
	margin:0.2em;
}
.annonce_mini > legend {
	width: 250px;
	float:right;
	margin:0.2em;
}
.annonce_mini .contacts {
	position: absolute;
	bottom:1em;
    left: 17em;
	margin: 0.2em;
}
.annonce_mini_container_bleu > legend {
	position: absolute;
	width: 43.5%;
	z-index: 1;
	margin: 10px -25px -10px -25px;
	padding : 0 0.2em;
	font-size: 2em;
	background: rgba(33,153,232,0.7); /* #2199e8 */
	color: #484848;
	text-shadow: 1px 1px 0px #126eab;
	box-shadow: 0 5px 10px #AAA;
}
.annonce_mini_container_rouge > legend {
	position: absolute;
	width: 43.5%;
	z-index: 1;
	margin: 10px -25px -10px -25px;
	padding : 0 0.2em;
	font-size: 2em;
	background: rgba(241,129,110,0.8); /* #f1816e */
	color: #484848;
	text-shadow: 1px 1px 0px #ea4428;
	box-shadow: 0 5px 10px #AAA;
}
.annonce_mini_container_bleu > legend:after,
.annonce_mini_container_bleu > legend:before {
	content: "";
	display: block;
	position: absolute;
	bottom: -1em;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: #126eab transparent;
}
.annonce_mini_container_rouge > legend:after,
.annonce_mini_container_rouge > legend:before {
	content: "";
	display: block;
	position: absolute;
	bottom: -1em;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: #ea4428 transparent;
}
.annonce_mini_container_bleu > legend:before,
.annonce_mini_container_rouge> legend:before {
	border-width: 1em 0 0 0.8em;
	left: 0;
}
.annonce_mini_container_bleu > legend:after ,
.annonce_mini_container_rouge > legend:after  {
	border-width: 1em 0.8em 0 0;
	right: 0;
}

/* time icon */
time.icon
{
  font-size: 1em; /* change icon size */
  display: block;
  position: relative;
  width: 6em;
  height: 6em;
  background-color: #fff;
  border-radius: 0.6em;
  box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform: rotate(0deg) skewY(0deg);
  -webkit-transform-origin: 50% 10%;
  transform-origin: 50% 10%;
}
time.icon *
{
  display: block;
  width: 100%;
  font-size: 1em;
  font-weight: bold;
  font-style: normal;
  text-align: center;
}
time.icon strong
{
  position: absolute;
  top: 0;
  padding: 0.2em 0;
  color: #fff;
  background-color: #2199e8;
  border-bottom: 1px dashed black;
  box-shadow: 0 2px 0 #bdbdbd;
}
time.icon em
{
  position: absolute;
  bottom: 0.3em;
  color: #2199e8;
}
time.icon span
{
  width: 100%;
  font-size: 2.5em;
  letter-spacing: -0.05em;
  padding-top: 0.6em;
  color: #2f2f2f;
}
time.icon:hover, time.icon:focus
{
  -webkit-animation: swing 0.6s ease-out;
  animation: swing 0.6s ease-out;
}
@-webkit-keyframes swing {
  0%   { -webkit-transform: rotate(0deg)  skewY(0deg); }
  20%  { -webkit-transform: rotate(12deg) skewY(4deg); }
  60%  { -webkit-transform: rotate(-9deg) skewY(-3deg); }
  80%  { -webkit-transform: rotate(6deg)  skewY(-2deg); }
  100% { -webkit-transform: rotate(0deg)  skewY(0deg); }
}
@keyframes swing {
  0%   { transform: rotate(0deg)  skewY(0deg); }
  20%  { transform: rotate(12deg) skewY(4deg); }
  60%  { transform: rotate(-9deg) skewY(-3deg); }
  80%  { transform: rotate(6deg)  skewY(-2deg); }
  100% { transform: rotate(0deg)  skewY(0deg); }
}
/* time icon */

/* button */
.button {
	-moz-box-shadow:inset 0px 1px 0px 0px #abd9f6;
	-webkit-box-shadow:inset 0px 1px 0px 0px #abd9f6;
	box-shadow:inset 0px 1px 0px 0px #abd9f6;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #63b8ee), color-stop(1, #2199e8));
	background:-moz-linear-gradient(top, #63b8ee 5%, #2199e8 100%);
	background:-webkit-linear-gradient(top, #63b8ee 5%, #2199e8 100%);
	background:-o-linear-gradient(top, #63b8ee 5%, #2199e8 100%);
	background:-ms-linear-gradient(top, #63b8ee 5%, #2199e8 100%);
	background:linear-gradient(to bottom, #63b8ee 5%, #2199e8 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#63b8ee', endColorstr='#2199e8',GradientType=0);
	background-color:#63b8ee;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #3866a3;
	display:inline-block;
	cursor:pointer;
	color:#14396a;
	font-size:15px;
	font-weight:bold;
	padding:4px;
	text-decoration:none;
	text-shadow:0px 1px 0px #7cacde;
	line-height: 1.5em;
}
.button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2199e8), color-stop(1, #63b8ee));
	background:-moz-linear-gradient(top, #2199e8 5%, #63b8ee 100%);
	background:-webkit-linear-gradient(top, #2199e8 5%, #63b8ee 100%);
	background:-o-linear-gradient(top, #2199e8 5%, #63b8ee 100%);
	background:-ms-linear-gradient(top, #2199e8 5%, #63b8ee 100%);
	background:linear-gradient(to bottom, #2199e8 5%, #63b8ee 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2199e8', endColorstr='#63b8ee',GradientType=0);
	background-color:#2199e8;
	color: #fefefe;
}
.button:active {
	position:relative;
	top:1px;
}
/* button */

/* fiche layout */
fieldset.fiche {
	background-color:#fff;
	box-shadow: 8px 8px 4px grey; /* au cas où CSS3 n'est pas supporté */
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
	background-image: url("http://nas58.synology.me/Immo/libs/icons/dark-stripes-light.png");
}
fieldset.fiche:hover {
	box-shadow: 0 12px 16px 0 rgba(0,0,0,0.3),0 17px 50px 0 rgba(0,0,0,0.19) !important;
}
/* fiche layout */

/* tables */
table {
	width: 100%;
	text-align:left;
	margin-left: 1px;
	margin-bottom: 1rem;
	border-radius: 0;
  }
  table thead{
    background-color: #1583cc;
    color: white;
	}
  table tbody,
  table tfoot {
    border: 1px solid #f1f1f1;
    background-color: #fefefe;
	opacity: 0.7;
	}
  table caption {
    font-weight: bold;
    padding: 0.5rem 0.625rem 0.625rem;
	}

  table tfoot {
    background: #f8f8f8;
    color: #0a0a0a;
	}
    table thead tr,
    table tfoot tr {
      background: transparent;
	  }
    table thead th,
    table thead td,
    table tfoot th,
    table tfoot td {
      padding: 0.5rem;
      font-weight: bold;
      text-align: left;
	  }
  table tbody tr:nth-child(even) {
    background-color: #f1f1f1;
	}
  table tbody th,
  table tbody td {
    padding: 0.2rem 0.2rem 0.2rem;
	}

.row {
	max-width:100%;
} /* pour étendre le contenu au max en largeur */


table.table_classic {
	border: 1px solid silver;
	overflow-x: scroll;
}
	table.table_classic tbody {
		border: 1px solid silver;
		text-align:right;
		white-space: nowrap;
	}
	table.table_classic th {
		background: #1583cc; /* For browsers that do not support gradients */
		background: -webkit-linear-gradient(#1583cc 15%, #1169A3 75%, #1583cc 100%); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(#1583cc 15%, #1169A3 75%, #1583cc 100%); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(#1583cc 15%, #1169A3 75%, #1583cc 100%); /* For Firefox 3.6 to 15 */
		background: linear-gradient(#1583cc 15%, #1169A3 75%, #1583cc 100%); /* Standard syntax */
		text-align:center;
	}
	table.table_classic th,
	table.table_classic td {
		border: 1px solid silver;
		position:relative;
	}
	table.table_classic td {
		padding:0 0.5em;
	}
	table.table_classic thead > tr:nth-child(2) > th  > input {
		height: 1.5em;
		padding: 0.2em;
		font-size: 0.9em;
	}	
table.bleu {
	border-width:2px;
	border-style:groove;
	border-color:#2199E8;
}
table.bleu  th{
	text-align:center;
}
table.bleu  th:first-child,
table.bleu  td:first-child{
	text-align:left;
}
table.bleu  td{
	text-align:right;
	padding-right:2em;
}
.tri-desc {
    cursor: pointer;
	content: '';
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: white transparent transparent;
    border-top-style: solid;
    border-bottom-width: 0;
	position: absolute;
	bottom: 10px;
	right: 5px;
}
.tri-asc {
    cursor: pointer;
	content: '';
    width: 0;
    height: 0;
    border: inset 5px;
    border-color: white transparent transparent;
    border-top-style: solid;
    border-bottom-width: 0;
    transform: rotate(-180deg);
	-webkit-transform: rotate(-180deg);
	position: absolute;
	top: 10px;
	right: 5px;
}
/* tables */

/* openTab */
/* Style the list */
ul.tab {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
	-webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
}
/* Float the list items side by side */
ul.tab li {
	float: left;
}
/* Style the links inside the list items */
ul.tab li a {
    display: inline-block;
    color: #aaa;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
	-webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
}
ul.tab li a.active {
    color: black;
    font-size: 21px;
    padding: 7px 15px;
    -webkit-box-shadow: #777 .2em .2em .4em;
    -moz-box-shadow: #777 .2em .2em .4em;
    box-shadow: #777 .2em .2em .4em;
}
/* Change background color of links on hover */
ul.tab li a:hover {
	background-color: #ddd;	
    color: black;
}
/* Create an active/current tablink class */
ul.tab li a:focus,
div.active {
	background-color: rgba(33,153,232,0.6);	
    color: black;
}
/* Style the tab content */
.tabcontent {
    display: none;
}
.tabcontent,
#defaultTab {
    padding: 6px 12px;
    border: 3px solid #ccc;
	border-top: 2px solid #ccc;
}
/* openTab */

/* Dependant select */
#subcat option{
    display:none;
}
#subcat option.label{
    display:block;
}
/* Dependant select */

/* bouton input file */
/* styles de base si JS est activé */
.js .input-file-container {
  position: relative;
  width: 95%;
}
.js .input-file-trigger {
  display: block;
  height: 5em;
  padding: 10px 5px;
  transition: all .4s;
  cursor: pointer;
}
.js .input-file {
  position: absolute;
  top: 0; left: 0;
  width: 225px;
  padding: 14px 0;
  opacity: 0;
  cursor: pointer;
}
 
/* styles du retour visuel */
.file-return {
  margin: 0;
}
.js .file-return {
  font-style: italic;
  font-size: .8em;
  font-weight: bold;
}
/* on complète l'information d'un contenu textuel
   uniquement lorsque le paragraphe n'est pas vide */
.js .file-return:not(:empty):before {
  content: "Fichier : ";
  font-style: normal;
  font-weight: normal;
}
/* bouton input file */

/* bouton +/- */
.qty {
    width: 40px;
    height: 25px;
    text-align: center;
	display: inline;
}
input.qtyplus {
	width:25px;
	height:25px;
	}
input.qtyminus {
	width:25px;
	height:25px;
	}
/* bouton +/- */

/* .squaredTwo */
.squaredTwo {
  width: 28px;
  height: 28px;
  position: relative;
  margin: auto;
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.squaredTwo label {
  margin: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  left: 4px;
  top: 4px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px white;
}
.squaredTwo label:after {
  content: '';
  width: 14px;
  height: 9px;
  position: absolute;
  top: 4px;
  left: 4px;
  border: 3px solid black;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.squaredTwo label:hover::after {
  opacity: 0.3;
}
.squaredTwo input[type=checkbox] {
  visibility: hidden;
}
.squaredTwo input[type=checkbox]:checked + label:after {
  opacity: 1;
}
/* end .squaredTwo */

/* .squaredFour */
.squaredFour {
  width: 20px;
  position: relative;
  margin: 20px auto;
}
.squaredFour label {
  width: 20px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  background: #fcfff4;
  background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  border-radius: 4px;
  box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}
.squaredFour label:after {
  content: '';
  width: 9px;
  height: 5px;
  position: absolute;
  top: 4px;
  left: 4px;
  border: 3px solid #333;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.squaredFour label:hover::after {
  opacity: 0.5;
}
.squaredFour input[type=checkbox] {
  visibility: hidden;
}
.squaredFour input[type=checkbox]:checked + label:after {
  opacity: 1;
}

/* end .squaredFour */
/* Montants en fonction du signe dans suivi contrat 148, 91 */
.montant_positif {
	border: solid 4px #fefefe;
	box-shadow: 0 0 0 5px rgba(58, 219, 118, 0.8);
	background-color: rgba(58, 148, 91, 0.2);
}
.montant_negatif {
    border: solid 4px #fefefe;
	box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.8);
	background-color: rgba(255, 0, 0, 0.2);
}

/* Etapes tutoriel */
.clearfix_tuto {
	counter-reset: chapter;
}
.chapter:before{
	counter-increment: chapter;
	content: counter(chapter);
}
.chapter{
	counter-reset: section;
}
.section:before{
	counter-increment: section;
	content: counter(chapter) "." counter(section);
}
.clearfix_tuto:after {
	content:"";
	display:table;
	clear:both;
}
.ol_tuto {
 	list-style:none; 
	position:relative;
	margin-bottom: 10px;
}
.ol_tuto:after{
 	content:"";
	display:block;
	position:absolute;
	top:50%;
	width:100%;
	z-index:-1;
	border-top:1px solid rgba(0,0,0,0.3);
	border-bottom:1px solid rgba(255,255,255,0.1);
	height:0;
}
.li_tuto {
 	padding:0.5em 0.5em 0.5em 4em;
	margin-bottom:10px;
	color:rgba(255,255,255,0.9);
	position:relative;
	border-radius:0.3em;
	background:linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),  #2199e8;
	border:1px solid rgba(0,0,0,0.4);
	box-shadow:inset 0 2px 4px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.1);
	overflow:hidden;
}
.li_tuto:before {
	position:absolute;
	left:-14px;
	top:-7px;
	font-size:1.2em;
	border-radius:50%;
	border:5px solid rgba(255,255,255,0.2);
	padding:5px;
	width:60px;
	height:40px;
	text-align:center;
	line-height:15px; 
	color:rgba(255,255,255,0.2);
	font-weight:bold;
	transition:all 0.2s ease-out;
}
.li_tuto:hover:before {
 	color:rgba(255,255,255,0.6); 
	border-color:rgba(255,255,255,0.6); 
}



/* Accordeon */
.header-menu{
	background-color: rgba(33, 153, 232, 0.6); /* couleur par défaut #2199e8 */
	height: 50px;
	border-radius: 5px 5px 0 0;
	border-bottom: thick solid #cacaca;
}
.header-menu-title{
	display: inline-block;
	padding: 0.2em;
	font-size: 2em;
}
.block-header-content {
	background: url('http://nas58.synology.me/Immo/libs/icons/header-menu-icon.png') no-repeat 0 0;	
	background-size: 100% 100%;
	width: 50px;
	height: 50px;
	float: left;
	-webkit-transform: rotate(90deg);
			transform: rotate(90deg);	
	transition:all 1s ease-out;
}
.block-header-content:hover {
	cursor: pointer;
}
.block-header-only {
	background: url('http://nas58.synology.me/Immo/libs/icons/header-menu-icon.png') no-repeat 0 0;	
	background-size: 100% 100%;
	width: 50px;
	height: 50px;
	float: left;
	-webkit-transform: rotate(360deg);
		transform:rotate(360deg);	
	transition:all 0.5s ease-out;
}
.block-hide {
    overflow: hidden;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    -moz-transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.block-display {
    -moz-transition-duration: 1s;
    -webkit-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
    -moz-transition-timing-function: ease-in;
    -webkit-transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    max-height: 1000px;
    overflow: hidden;
	background-color: rgba(33, 153, 232, 0.1); /* couleur par défaut #2199e8 */
	padding: 10px;
	border-bottom: thick solid #cacaca;
}	
/* Accordeon */

/* Alertes */
.tbd_conforme {
    background-color:#65e394; /* rgba(101, 227, 148, 0.6) */
	color:white;
	border:1px solid white;
	margin:1px;
	padding:3px 8px;
}
.tbd_info {
    background-color:#4faeed;
	color:white;
	border:1px solid white;
	margin:1px;
	padding:3px 8px;
}
.tbd_avertissement {
    background-color:#ffbe33; /* rgba(255, 190, 51, 0.6) */
	color:white;
	border:1px solid white;
	margin:1px;
	padding:3px 8px;
}
.tbd_critique {
    background-color:#f1816e; /* rgba(241, 129, 110, 0.6) */
	color:white;
	border:1px solid white;
	margin:1px;
	padding:3px 8px;
}
/* Alertes */
	
.button.supprimer {
    background:url('http://nas58.synology.me/Immo/libs/icons/Delete.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border:0;
	width: 20px;
	height: 20px;
	}
.button.supprimer:hover, .button.supprimer:focus {
    background:url('http://nas58.synology.me/Immo/libs/icons/Delete_focus.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border:0;
	}
.button.modifier {
    background:url('http://nas58.synology.me/Immo/libs/icons/Edit.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border:0;
	width: 20px;
	height: 20px;
	}
.button.modifier:hover, .button.modifier:focus {
    background:url('http://nas58.synology.me/Immo/libs/icons/Edit_2.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
	border:0;
	}
/* */
.button {
  margin: 0 0 0 0;
  box-shadow: 2px 2px lightgrey;
 }
 
/* Histogrammes */
.histogramme {
	display: table;
	table-layout: fixed;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;
	background-image: linear-gradient(to top, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0) 2%);
	background-size: 100% 50px;
	background-position: left top;
}
.histogramme_100 {
	height: 100px;
}
.histogramme_100 li{
	height: 100px;
}
.histogramme_200 {
	height: 200px;
}
.histogramme_200 li{
	height: 200px;
}
.histogramme li {
	position: relative;
	display: table-cell;
	vertical-align: bottom;
}
.histogramme li.histo_blue  :hover{
	background:#1583cc;
}
.histogramme li.histo_red  :hover{
	background:#cc1528;
}
.histogramme span {
	margin: 0 0.7em;
	display: block;
	animation: draw 1s ease-in-out;
	text-align: center;
}
.histogramme .histo_blue span{
	background: rgba(21, 131, 204, 0.5); /* #1583cc */
}
.histogramme .histo_red span{
	background: rgba(204, 21, 40, 0.5); /* #cc1528 */
}
.histogramme span:before {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	padding: 0.2em 1em 0;
	display: block;
	text-align: center;
	content: attr(title);
	word-wrap: break-word;
	color:black;
}

@keyframes draw {
  0% {
    height: 0;
  }
}
  
 /* Fieldset */
fieldset {
    display: block;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 1px groove;
	border-color: #cacaca;
}

/* Box styles */
.scrollbox {
border: none;
width: 100%;
height: 600px;
overflow: scroll;
border:3px solid #9C9CA2;
}
.scrollbox_150{
border: none;
height: 179px;
overflow: auto;
overflow-y: hidden;
white-space: nowrap;
border:3px solid #9C9CA2;
}

/* Scrollbar styles */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
border: 1px solid yellowgreen;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: yellowgreen;  
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #88ba1c;  
}

/* pour les champs des formulaires manquant/erronnés 
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'],
*/
.inputerror {
  border: 1px solid #EC5840;
  background-color: #ff8888;
}

/* Styles for Date Selector */
.month {
  height: 28px;
  width: 100%;
  background: #008cba;
  overflow: hidden;
  text-align: center;
}
.month .back {
  position: relative;
  padding: 20px;
  float: left;
  height: 100%;
}
.month .back:before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #fff;
  position: absolute;
  top: 46px;
  left: 22px;
  opacity: 0.5;
}
.month .next {
  position: relative;
  padding: 20px;
  float: right;
  height: 100%;
}
.month .next:before {
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #fff;
  position: absolute;
  top: 46px;
  right: 22px;
  opacity: 0.5;
}
.month h5 {
  color: #fff;
  margin: 42px 0 0;
  text-transform: uppercase;
}
.month p {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.calendar ul {
  padding: 15px;
  background: #f3f3f3;
  margin: 0;
}
.calendar ul.weekdays {
  padding: 10px 15px 3px;
  background: #f9f9f9;
}
.calendar ul li {
  list-style-type: none;
  display: inline-block;
  width: 12.8%;
  height: 25px;
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-bottom: 4px;
}
.calendar ul li span {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
.calendar ul li a {
  color: #888;
  display: block;
  padding: 4px 0;
}
.calendar ul li a:hover {
  border-radius: 5px;
  background: #f9f9f9;
  color: #008cba;
}
.calendar ul li a.active {
  border-radius: 5px;
  border: 2px solid #ddd;
  padding: 2px 0;
}

.alert-box.success {
    background-color: #3adb76;
    border-color: #3a945b;
    color: #FFFFFF;
}
.alert-box {
    border-style: solid;
    border-width: 1px;
    display: block;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1.11111rem;
    padding: 0.77778rem 1.33333rem 0.77778rem 0.77778rem;
    position: relative;
    transition: opacity 300ms ease-out;
}	
.alert-box .close {
    right: 0.22222rem;
    background: inherit;
    color: #333333;
    font-size: 1.22222rem;
    line-height: .9;
    margin-top: -0.61111rem;
    opacity: 0.3;
    padding: 0 6px 4px;
    position: absolute;
    top: 50%;
}
.alert-box.alert {
    background-color: #EC5840;
    border-color: red;
    color: #FFFFFF;
}

/* structure de la page*/
#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -4em;
	margin-bottom: -9em;
	background-color: #ffffff; /* gris du contenu */
	background-image: url("http://nas58.synology.me/Immo/libs/icons/brick-wall.png");
	position: relative;
}
#menu_wrapper {
	position:relative;
	z-index:10;
}
#centre {
	min-height: 100%;
	height: 100%;	
	padding: 0 2em;
	background-color: #ffffff; /* gris du contenu */
	background-image: url("http://nas58.synology.me/Immo/libs/icons/brick-wall.png");
}
footer {
	height: 9em;
	background-color: #ffffff;
	background-image: url("http://nas58.synology.me/Immo/libs/icons/brick-wall-dark.png");
	clear: both;
	position: relative;
}
/* structure de la page*/

@charset "UTF-8";
.accordion-navigation > a:after{
/*  content: "?"; */
  padding-left: 5px;
  float: right;
  font-size: 20px;
}

.accordion-navigation.active > a:after {
  content: "?";
}
.pagination {
  text-align: center;
  }
.pagination li {
  border: 1px solid #cacaca;
  border-radius: 50%;
  text-align: center;
  }
.pagination a {
  border-radius: 50%;
  }
.event {
  padding: 0.1rem 0.1rem 0.1rem 0;
  display: table;
}
.event-date {
  width: 6rem;
  margin: 0 auto 1rem;
  display: table-cell;
  width: auto;
}
.event-date .event-month {
    margin: 0;
    background: #eee;
    padding: 0.5rem 2rem;
    text-align: center;
}
.event-date .event-day {
    margin: 0;
    border: 1px solid #eee;
    padding: 0 2rem;
    text-align: center;
}

.event-desc {
  padding: 0 0 0 1rem;
  text-align: left;
  display: table-cell;
  vertical-align: top;
  }
  .event-desc .event-desc-header {
    margin: 0 0 0.5rem 0;
    padding: 0;
	}
  .event-desc .event-desc-detail {
    margin: 0 0 0.25rem;
    padding: 0;
	}
  .event-desc .event-desc-time {
    font-weight: bold;
	}
 
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'],
textarea {
  margin: 0 0 0;
  }
  
select {
  height: 2.4375rem;
  padding: 0.2rem;
  border: 1px solid #cacaca;
  margin: 0 0 0;
  font-size: 0.9rem;
  font-family: inherit;
  line-height: normal;
  color: #0a0a0a;
  background-color: #fefefe;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="24" viewBox="0 0 32 24"><polygon points="0,0 32,0 16,24" style="fill: rgb%28138, 138, 138%29"></polygon></svg>');
  background-size: 9px 6px;
  background-position: right center;
  background-origin: content-box;
  background-repeat: no-repeat;
  }
  
  
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'],
textarea {
  border-radius: 0.1em;
  padding: .2rem;
  font-size: 0.9rem;
  margin: 0 2 0 0;
  } /* bords des inputs arrondis */

.title-bar {
  background: #333;
  padding: 0.9rem; }
.filter-bar {
  background: #eee;
  }
  .filter-bar ul {
    background: #333;
	}
    .filter-bar ul li {
      background: #333;
	  }
      .filter-bar ul li a {
        color: #969595;
		}

.top-bar {
	height:60px;
	background: #3f3f3f;
	background-image:linear-gradient(#fff, #3f3f3f 10%, #fff 10000%);
	padding: 0rem;
	position:relative;
	border-bottom: thick solid #cacaca;
}
  .top-bar ul {
	background: #3f3f3f;
  }
    .top-bar ul li {
		background: #3f3f3f;
	}
    .top-bar li :hover,
    body#index .top-bar li#index,
    body#suivi .top-bar li#suivi,
    body#fiches .top-bar li#fiches,
    body#listes .top-bar li#listes,
    body#transactions .top-bar li#transactions,
    body#alertes .top-bar li#alertes,
    body#param .top-bar li#param,
    body#info .top-bar li#info,
    body#membres .top-bar li#membres{
		background: linear-gradient(rgba(20, 20, 20, 0.2),rgba(100, 100, 100, 0.8)), url("http://nas58.synology.me/Immo/libs/icons/brick-wall-dark.png");
		box-shadow: 0 0 8px 4px #3f3f3f inset;
		-moz-box-shadow: 0 0 8px 4px #3f3f3f inset;
		-webkit-box-shadow: 0 0 8px 4px #3f3f3f inset;
		box-sizing: border-box;
	}
	.top-bar li ul li:last-child :hover{
		background: linear-gradient(rgba(20, 20, 20, 0.2),rgba(100, 100, 100, 0.8)), url("http://nas58.synology.me/Immo/libs/icons/brick-wall-dark.png");
		box-shadow: 0 0 8px 4px #3f3f3f inset;
		-moz-box-shadow: 0 0 8px 4px #3f3f3f inset;
		-webkit-box-shadow: 0 0 8px 4px #3f3f3f inset;
		box-sizing: border-box;
		border-radius: 0 0 15px 15px;
	}
	    .top-bar li a:hover,
		.top-bar li ul li:last-child	a:hover{
			line-height: inherit;
		}
			.top-bar li a img:hover,
			.top-bar li ul li:last-child a img:hover{
				background:none;
				box-shadow: none;
				border-radius: 0;
			}
		.top-bar li li:hover{
			border:none;
		}
			.top-bar li li li:hover{
				border:none;
			}
    .top-bar img :hover{
		border: none !important;
		display: block;
	}
		.top-bar ul li a {
			color: #fff;
		}
.top-bar-left,
.top-bar-right {
	position:absolute;
	bottom:0;
}
.top-bar-right {
	right:0;
}
.top-bar-left ul li ul,
.top-bar-left ul li ul li:last-child,
.top-bar-right ul li ul,
.top-bar-right ul li ul li:last-child{
	border-radius: 0 0 15px 15px;
}

.menu-text {
	color: #fff;
}

@media only screen and (max-width: 40em) {
    .menu-text {
      display: none !important;
	} 
}
@media only screen and (min-width: 40em) {
	  .top-bar .menu:last-child {
		border-left: 1px solid #4e4e4e;
		}
	  .top-bar .menu:first-child {
		border-left: none;
		}
	  .top-bar .menu li:not(:last-child) {
		border-right: 1px solid #4e4e4e;
		}
}
@media screen and (min-width: 40em)
.top-bar .top-bar-left, .top-bar .top-bar-right {
    width: auto;
	position: static;
}
.dropdown.menu .submenu {
  border: none;
}
.dropdown.menu .is-dropdown-submenu-parent.is-right-arrow > a::after {
  border-color: #fff transparent transparent;
}
.is-drilldown-submenu-parent > a::after {
  border-color: transparent transparent transparent #fff;
}
.js-drilldown-back::before {
  border-color: transparent #fff transparent transparent;
}

/* Thumbnails avec titre (class thumbnail_title n'est pas prise en compte???) */
.thumbnail {
    line-height: 1.5;
}
.thumbnail > .thumbnail_title {
	text-align: center;
	background-color: #D7D7D7;
	letter-spacing: 2px;
	text-shadow: 1px 1px 1px #333;
	margin-bottom:0.3em;
}
/* Thumbnails avec titre (class thumbnail_title n'est pas prise en compte???) */

/* logos */
object,img.mini_logo {
	width: 20px;
	height: 20px;
}
object,img.mini_logo:hover {
	width: 20px !important;
	height: 20px !important;
	border: none !important;
}
img.round_logo_right {
	width:30px;
	height:30px;
	float: right;
	background-color: white;
	opacity : 0.7;
	border-radius: 100%;
	margin:8px 5px;
	padding:3px;
	border: 3px solid #2199e8;
}
img.round_logo_right:hover {
	width:40px;
	height:40px;
	margin:3px 0;
	cursor: pointer;
	padding: 1px;
	opacity : 1;
	border: 2px solid #2199e8;
}
/* logos 
ol {
  list-style-type: none;
  counter-reset: item;
}

ol > li {
  counter-increment: item;
}
ol > li:before {
  content: counters(item, ".") ". ";
}

li ol > li:before {
  content: counters(item, ".") " ";
}
*/

/* donut_pie */
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);
@keyframes bake-pie {
  from {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}
.donut_pieID {
	display: inline-block;
	vertical-align: top;
}
.donut_pie {
	height: 200px;
	width: 200px;
	position: relative;
	margin: 0 10px 10px 10px;
	float:right;
}
.donut_pie::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	width: 100px;
	height: 100px;
	background: #EEE;
	border-radius: 50%;
	top: 50px;
	left: 50px;
}
.donut_pie::after {
	content: "";
	display: block;
	width: 120px;
	height: 2px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 3px 4px rgba(0, 0, 0, 0.1);
	margin: 220px auto;
}
.slice {
	position: absolute;
	width: 200px;
	height: 200px;
	clip: rect(0px, 200px, 200px, 100px);
	animation: bake-pie 1s;
}
.slice span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background-color: black;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	clip: rect(0px, 200px, 200px, 100px);
}
.legend {
	float:right;
	list-style-type: none;
	padding: 0;
	margin: 0;
	background: #FFF;
	padding: 15px;
	font-size: 13px;
	box-shadow: 1px 1px 0 #DDD, 2px 2px 0 #BBB;
}
.legend li {
	width: 150px;
	height: 1.25em;
	margin-bottom: 0.7em;
	padding-left: 0.5em;
	border-left: 1.25em solid black;
}
.legend em {
	font-style: normal;
}
.legend span {
	float: right;
}
/* donut_pie */

input[type=text].expandable {
  width: 100px;
  -webkit-transition: width .35s ease-in-out;
  transition: width .35s ease-in-out;
}
input[type=text].expandable:focus {
  width: 250px;
}

/* read-only formulaire */
td.read-only-img {
	background: url("http://nas58.synology.me/Immo/libs/icons/Lock.png") no-repeat;
}
@keyframes hover-color {
  from {
    border-color: #c0c0c0; }
  to {
    border-color: #3e97eb; } }

.magic-radio,
.magic-checkbox {
  position: absolute;
  display: none; }

.magic-radio[disabled],
.magic-checkbox[disabled] {
  cursor: not-allowed; }

.magic-radio + label,
.magic-checkbox + label {
  position: relative;
  display: block;
  padding-left: 40px;
  cursor: pointer;
  vertical-align: middle; }
  .magic-radio + label:hover:before,
  .magic-checkbox + label:hover:before {
    animation-duration: 0.4s;
    animation-fill-mode: both;
    animation-name: hover-color; }
  .magic-radio + label:before,
  .magic-checkbox + label:before {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: '';
    border: 1px solid #c0c0c0; }
  .magic-radio + label:after,
  .magic-checkbox + label:after {
    position: absolute;
    display: none;
    content: ''; }

.magic-radio[disabled] + label,
.magic-checkbox[disabled] + label {
  cursor: not-allowed;
  color: #e4e4e4; }
  .magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after,
  .magic-checkbox[disabled] + label:hover,
  .magic-checkbox[disabled] + label:before,
  .magic-checkbox[disabled] + label:after {
    cursor: not-allowed; }
  .magic-radio[disabled] + label:hover:before,
  .magic-checkbox[disabled] + label:hover:before {
    border: 1px solid #e4e4e4;
    animation-name: none; }
  .magic-radio[disabled] + label:before,
  .magic-checkbox[disabled] + label:before {
    border-color: #e4e4e4; }

.magic-radio:checked + label:before,
.magic-checkbox:checked + label:before {
  animation-name: none; }

.magic-radio:checked + label:after,
.magic-checkbox:checked + label:after {
  display: block; }

.magic-radio + label:before {
  border-radius: 50%; }

.magic-radio + label:after {
  top: 8px;
  left: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #3e97eb; }

.magic-radio:checked + label:before {
  border: 1px solid #3e97eb; }

.magic-radio:checked[disabled] + label:before {
  border: 1px solid #c9e2f9; }

.magic-radio:checked[disabled] + label:after {
  background: #c9e2f9; }

.magic-checkbox + label:before {
  border-radius: 3px; }

.magic-checkbox + label:after {
  top: 2px;
  left: 7px;
  box-sizing: border-box;
  width: 6px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 2px;
  border-style: solid;
  border-color: #fff;
  border-top: 0;
  border-left: 0; }

.magic-checkbox:checked + label:before {
  border: #3e97eb;
  background: #3e97eb; }

.magic-checkbox:checked[disabled] + label:before {
  border: #c9e2f9;
  background: #c9e2f9; }
