@CHARSET "UTF-8";

@font-face {
    font-family: Futura;
    src: url('/fonts/tt0142m_.ttf') format("truetype");
}
@font-face {
    font-family: Futura;
    src: url('/fonts/tt0143m_.ttf') format("truetype");
    font-style: italic;
}
@font-face {
    font-family: Futura;
    src: url('/fonts/tt0144m_.ttf') format("truetype");
  	font-weight: bold;
}
@font-face {
    font-family: Futura;
    src: url('/fonts/tt0145m_.ttf') format("truetype");
  	font-weight: bold;
    font-style: italic;
}


  /**********************/
 /*       Général      */
/**********************/

* {
	font-family: 'Roboto', sans-serif;
}

body {
    background-color: #EEEEEE;
}

@media print {
    background-color: #FFFFFF !important;
}
    
@media print { .media-screen-only { display: none; } }
@media screen { .media-print-only { display: none; } }

.card {
	display: block;
	-webkit-box-shadow: 0 1px 3px 1px rgba(0,0,0,0.2);
	box-shadow: 0 1px 3px 1px rgba(0,0,0,0.2);
	-webkit-border-radius: 0px;
	border-radius: 0px;
	padding: 20px 10px;
	margin-bottom: 30px;
	background-color: #ffffff;
}

.btn-primary {
	background-image: linear-gradient(to bottom,#9b6fc6 0,#7c589f 100%);
	background-color: #8c65b2;
	border-color: #572480;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
	background-image: linear-gradient(to bottom,#9b6fc6 0,#7c589f 100%);
	background-color: #79569b;
}
.btn-primary.active {
	background-image: none;
	background-color: #6f518f;
}

a, .btn-link, .text-primary { color: #8c65b2; }
a:hover, a:focus, a:active, .btn-link:hover, .btn-link:focus, .btn-link:active { color: #79569b; }

.titres-futura h1, .titres-futura h2, .titres-futura h3 {
	font-family: Futura, Roboto, sans-serif;
}

  /******************/
 /*     HEADER     */
/******************/

#layout-container {
	margin-top: 100px;
	min-height: 500px;
}

header > nav > .container {
	padding-left: 30px;
	padding-right: 30px;
}

#menuConnexion .navbar-nav > li > a {
    color: #BBBBBB;
}

#menuConnexion .navbar-nav > li > a:hover {
    color: #FFFFFF;
}

#menuNavigation {
	top: 50px;
	z-index: 10;
}

#menuNavigation img {
	height: 40px;
	margin-top: 5px;
}


#menuNavigation li a {
	padding: 5px 10px;
	margin-top: 10px;
	margin-left: 3px;
}

#menuNavigation .dropdown-menu > li > a:hover,
#menuNavigation .navbar-nav > .active > a, 
#menuNavigation .navbar-nav > .active > a:hover,
#menuNavigation .navbar-nav > .active > a:focus, 
#menuNavigation .navbar-nav > li > a:hover,  
#menuNavigation .navbar-nav > .open > a:focus {
	background-color: #8c65b2;
	background-image: none;
	color: #FFFFFF;
}

.navBtnZone > h2, .navBtnZone > h3 {
	margin-top: 0px;
}

@media (max-width: 767px) {
	#menuConnexion .navbar-nav, #menuConnexion .navbar-header {
		display: inline-block;
	}
	#menuConnexion .navbar-nav {
		margin-left: 10px;
	}
	#menuConnexion .navbar-right {
	    text-align: right;
	    width: 50%;
	    float: right;
	}
	#menuConnexion .navbar-right > * {
	    display: inline-block;
	}
	#layout-container {
		padding: 0;
	}
}

#personneMoraleDropdown > .dropdown-menu {
	width: 100%;
	padding: 0;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 12px 0px;
}
#personneMoraleDropdown .select2-search, #personneMoraleDropdown input {
	width: 100% !important;
}
#personneMoraleDropdown .select2-selection {
	border-radius: 0;
	border: none;
}
#select2-personneMoraleSelect-results {
	max-height: 400px;
	border-top: 1px solid #AAA;
}
#select2-personneMoraleSelect-results li:nth-child(even) {
	background-color: #EEE;
}
#select2-personneMoraleSelect-results li.select2-results__option--highlighted {
	background-color: #666;
}
@media (max-width: 767px) {
	#personneMoraleDropdown > .dropdown-menu {
		margin-top: -40px;
	}
}

  /******************/
 /*   BREADCRUMB   */
/******************/

.breadcrumb {
	background: #8c65b2; 
	-webkit-box-shadow: 0 0 2px 1px rgba(0,0,0,0.2);
	box-shadow: 0 0 2px 1px rgba(0,0,0,0.2);
	-webkit-border-radius: 0px;
	border-radius: 0px;
	display: block;
	margin-top: 15px;
}

.breadcrumb li {font-size: 14px; display: inline;}
.breadcrumb a {color: #dddddd;}
.breadcrumb a:hover {color: #ffffff;}
.breadcrumb>.active {color: #ffffff;}
.breadcrumb>li+li:before {color: #ffffff; content: "\276F\00a0";}
.breadcrumb>li.non-link {color: #dddddd;}


  /******************/
 /* Page d'accueil */
/******************/

.groupe-accueil {
	background-color: #FAFAFA;
	margin: 15px 5px 32px 5px;
	padding: 0;
	
}
.groupe-accueil h3 i {
	margin: 0 10px 0 20px;
}
.icone-accueil {
	text-align: center;
}

.groupe-accueil a {
	color: #333;
	-webkit-transition: color 500ms ease-out;
	-moz-transition: color 500ms ease-out;
	-ms-transition: color 500ms ease-out;
	-o-transition: color 500ms ease-out;
	transition: color 500ms ease-out;
}

.groupe-accueil a:hover {
	color: #8c65b2;
	text-decoration: none;
}



  /******************/
 /*     FOOTER     */
/******************/

body > footer {
	background-color: #111111;
	width: 100%;
	height: 70px;
	padding: 30px;
	color: #DDDDDD;
}

body > footer a {
	color: #DDDDDD;
	margin-left: 20px;
}

body > footer a:hover {
	text-decoration: none;
	color: #8c65b2;
}

body > footer.fixed {
	position: absolute;
	bottom: 0;
}

@media (max-width: 767px) {
	body > footer {
		padding: 10px 5px !important;
	}
}

body > footer .fa-facebook-official:hover {
	color: #3B5998;
}

  /****************/
 /*  Datatables  */
/****************/

.dataTable {
	border: 1px solid #cac5e3;
}

.dataTables_wrapper {
	margin-bottom: 25px;
}

.dataTable > thead > tr  {
	background-color: #e8ebfc;
}

.dataTable.table-striped tbody > tr.odd {
    background-color: #f6f6fc;
}

.dataTable.table-striped tbody > tr.even {
    background-color: #fff;
}

.dataTable.table-striped tbody > tr:hover {
    background-color: #e8e8f8;
    cursor: pointer;
}

.dataTable td, .dataTable th {
	border-color: #cac5e3 !important;
}

.dataTables_processing {
	z-index: 10;
}

.dt-buttons {
	float: right;
}

/* Style du menu "Choix des colonnes" */

.dt-button.buttons-columnVisibility.active > a {
	background-color: #498dc9;
	background-image: none;
}
.dt-button.buttons-columnVisibility.active > a:hover {
	background-color: #2e6da4;
}

.dt-button.buttons-columnVisibility > a:before,
.dt-button.buttons-columnVisibility.active:hover > a:before {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	content: "\f070 \00a0";
	opacity: 0.5;
}
.dt-button.buttons-columnVisibility.active > a:before,
.dt-button.buttons-columnVisibility:hover > a:before {
	content: "\f06e \00a0";
	opacity: 1;
}

.dt-button-collection {
	margin-left: -300px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.dataTables_info, .dataTables_length, .dataTables_wrapper > .dataTables_paginate {
	width: 33.33%;
	float: left;
	vertical-align: baseline;
}

.dataTables_info {
	padding-top: 4px !important;
}

.dataTables_length {
	text-align: center;
}

.dataTables_paginate {
	margin-top: 6px !important;
}

a.paginate_button.current, li.paginate_button.disabled:hover a {
	border: 2px #beddf3 solid;
	
}

a.paginate_button, li.paginate_button a {
    background-color: #337ab7;
	border: 2px #337ab7 solid;
    outline: 2px #337ab7 solid;
    color: white;
    margin-left: 7px;
    padding: 3px 5px;
    text-decoration: none;
    cursor: default;
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.5);
    border-radius: none;
}

a.paginate_button:hover, li.paginate_button a:hover,
a.paginate_button:focus, li.paginate_button a:focus {
    background-color: #337ab7;
    color: white;
    cursor: pointer;
    text-decoration: none;
	border: 2px #beddf3 solid;
    outline: 2px #337ab7 solid;
}

a.paginate_button.disabled, li.paginate_button.disabled a,
a.paginate_button.disabled:hover, li.paginate_button.disabled:hover a, 
a.paginate_button.disabled:focus, li.paginate_button.disabled:focus a {
    background-color: #337ab7;
	border: 2px #337ab7 solid;
    outline: 2px #337ab7 solid;
    color: white;
    cursor: default;
}

  /**********************/
 /*    Flash Message   */
/**********************/


@media (min-width:768px) { aside#flashMessage { width:750px } }
@media (min-width:992px) { aside#flashMessage { width:650px } }
@media (min-width:1200px) { aside#flashMessage { width:720px } }

aside#flashMessage {
	position: absolute;
	left: 0;
	right: 0;
	margin-top: 185px;
    z-index: 1;
}

aside#flashMessage > ul {
	width: 100%;
	list-style: none;
	-webkit-box-shadow: 0 0 2px 0 #AAA;
	box-shadow: 0 0 2px 0 #AAA;
	border-radius: 2px;
}

aside#flashMessage > ul > .fa.pull-left {
	font-size: 2em;
}


  /**********************/
 /*      Timeline      */
/**********************/

/* Griser un mois sur deux */
.vis-january, .vis-march, .vis-may, .vis-july, .vis-september, .vis-november {
	background-color: #f4f4f4;
}

/* Comme un mois sur est grisé, pas besoin de bordure */
.vis-time-axis .vis-grid.vis-minor {
    border: none;
}

/* Style spécifique aux blocs des périodes d'arrêts */
.vis-item.timeline-arret {
	background-color: #b192ce;
	border-color: #9c77ba;
	color: white;
	box-shadow: -2px 0px 3px -2px #343434cc;
}

/* Style spécifique aux blocs des périodes de soins */
.vis-item.timeline-soins {
	background-color: #c5e7fb;
	border-color: #a8cbdf;
	box-shadow: -2px 0px 3px -2px #34343499;
	color: #363845;
}

/* Style spécifique aux blocs des indemnisations */
.vis-item.timeline-indemnisation {
	background-color: #c8fbc5;
    border-color: #aedfa8;
    box-shadow: -2px 0px 3px -2px #34343499;
    color: #41753a;
}
/* Style spécifique aux blocs des indemnisations en franchise */
.vis-item.timeline-indemnisation-franchise {
	background-color: #eaf8e9;
    border-color: #c3d1c1;
    box-shadow: -2px 0px 3px -2px #34343444;
    color: #9abb95;
}

/* Style spécifique au "blocs" (type point) des dates ponctuelles */
.vis-timeline .vis-point {
    z-index: 30;
}
.vis-item.vis-dot {
	border-radius: 0px !important;
    transform: rotate(45deg);
    margin-left: -1px;
    margin-top: 10px;
    border-width: 5px !important;
    box-shadow: 0 0 1px 0px #fff;
}
.vis-dot.vis-date-survenance {
	border-color: #d9534f;
}
.vis-dot.vis-date-reprise {
	border-color: #5cb85c;
}

/* Style du tooltip */
.vis-timeline div.vis-tooltip {
	background-color: rgba(50, 50, 50, 0.8);
	border: none;
	color: #eee;
	font-family: 'Roboto', sans-serif;
	z-index: 50;
}


/*
 * Graphiques : HeatMap
 */

.heatmap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
}

.heatmap thead th {
	text-align: center;
	padding: 3px 8px;
}

.heatmap tbody th {
	text-align: right;
	padding: 8px;
	white-space: nowrap;
}

.heatmap td {
	text-align: center;
	padding: 8px;
	color: #444;
	cursor: default;
}

.heat-lvl-0, .heat-lvl-1, .heat-lvl-2, .heat-lvl-3, .heat-lvl-4, .heat-lvl-max {
	opacity: 0;
	background-color: #fafafa;
	transition-property: opacity, background-color;
	transition-duration: 1000ms;
	transition-delay: 0ms, 500ms;
	transition-timing-function: ease-out, ease-in;
}

.heatmap.visible .heat-lvl-0, .heatmap.visible .heat-lvl-1, .heatmap.visible .heat-lvl-2, 
.heatmap.visible .heat-lvl-3, .heatmap.visible .heat-lvl-4, .heatmap.visible .heat-lvl-max {
	opacity: 1;
}

.heatmap.visible .heat-lvl-0:hover, .heatmap.visible .heat-lvl-1:hover, .heatmap.visible .heat-lvl-2:hover, 
.heatmap.visible .heat-lvl-3:hover, .heatmap.visible .heat-lvl-4:hover, .heatmap.visible .heat-lvl-max:hover {
	transition: background-color 300ms ease-out;
}

.heatmap.visible .heat-lvl-0 { background: #fafafa !important; color: #aaa !important; }
.heatmap.visible .heat-lvl-1 { background-color: #f8ff84 !important; }
.heatmap.visible .heat-lvl-2 { background-color: #ffdd82 !important; }
.heatmap.visible .heat-lvl-3 { background-color: #fec17d !important; }
.heatmap.visible .heat-lvl-4 { background-color: #fb9574 !important; }
.heatmap.visible .heat-lvl-max { background-color: #f8696b !important; }

.heatmap .heat-lvl-0:hover { background: #eee; }
.heatmap .heat-lvl-1:hover { background-color: #edeb7c; }
.heatmap .heat-lvl-2:hover { background-color: #efcd72; }
.heatmap .heat-lvl-3:hover { background-color: #eeb16d; }
.heatmap .heat-lvl-4:hover { background-color: #eb8564; }
.heatmap .heat-lvl-max:hover { background-color: #e8595b; }

.p-0 {
	padding: 0;
}

.heure > input {
	width: calc(100% - 8px);
	position: relative;
	float: left;
}

.minutes > input {
	width: calc(100% - 8px);
	position: relative;
	float: right;
}

.heure:after {
	position: absolute;
	right: -3px;
	top: 6px;
	content: "h";
}
