@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.woff) format('woff');
}

html, body {
	font-family: 'Open Sans', sans-serif;
	font-size: 12pt;
	padding: 0;
	margin: 0;
}

html {
	height: 100%;
}

h1 {
	margin-left: 1em;
	font-weight: normal;
	font-size: 2em;
	letter-spacing: 0.01em;
}
h2 {
	margin-left: 1em;
	font-weight: normal;
}
h3 {
	margin-left: 1.5em;
	font-weight: normal;
}

p {
	margin: 0 2em;
	padding: .5em 0 .5em .6em;
	letter-spacing: 0.02em;
}

button, .bouton {
	background: linear-gradient( to bottom, rgb(240,240,240), rgb(200,200,200), rgb(230,230,230) ); 
	border-radius: 4px;
	border: 1px solid rgb(180,180,180);
	font-size: 100%;
	font-weight: normal;
	color: #666;
	text-shadow: 0px 1px 1px #EEE;
	cursor: pointer;
	outline: none;
	display: inline-block;
	text-decoration: none;
	padding: 4px 8px;
}
button:hover, .bouton:hover{
	color: #000;
	text-shadow: 0px 1px 1px #FFF;
	box-shadow: 0px 0px 3px 1px #666;
	background: linear-gradient( to bottom, rgb(230,230,255), rgb(190,190,250), rgb(220,220,255) );
}

.bouton.structure {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.bouton.structure > img {
	height: 4em;
	width: 4em;
}
.bouton.structure > span b {
	font-size: 120%;
}

#ecran {
	position: fixed;
	background-color: rgba( 0,0,0, 0 );
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 99;
	text-align: center;
}

#ecran #patienceimg {
	position: absolute;
	left: 50%;
	top: 5%;
	margin-left: -64px;
	opacity: 0;
}

#ecran #patience {
	position: relative;
	background-color: rgb( 240,240,100 );
	top: 20px;
	display: inline-block;
	
	border: 1px solid black;
	padding: 5px 10px;
	box-shadow: 0px 0px 5px #000;
	
	text-align: center;
	
}

.centre-le {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: inline-table;
}
.centre-le > * {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}


#topbar {
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	padding: 10px;
	background-color: #EEE;
	border-bottom: 1px solid #777;
	box-shadow: 0px 0px 5px #999;
	z-index: 50;
}

#topbar .utilisateur {
	font-weight: bold;
}
#topbar .mail {
	font-style: italic;
}
#topbar span.boutons {
	position: absolute;
	right: 15px;
	top: 7px;
	display: block;
}

#compteur_accuse {
	display: none;
	border-radius: 50%;
	margin: 0 5px;
	font-weight: bold;
	text-align: center;
	padding: 0px 5px;
	font-size: 80%;
}

#compteur_accuse.rouge {
	display: inline;
	background-color: red;
	color:white;
}

#contenu {
	background-color: #FFF;
	padding: 50px 0px 0px 0px;
	text-align: center;
}

span.invite {
	display: block;
	font-weight: light;
	font-size: 140%;
	padding: .5em 1em;
	text-align: left;
}

span.ligne_boutons {
	display: block;
	text-align: right;
	
}
span.ligne_boutons .bouton {
	padding: 4px;
}
.liste_messages + span.ligne_boutons {
	background: #CCC;
	border-top: 2px solid white;
	padding: 6px 10px;
}

span.graph {
	text-align: center;
	display: block;
	width: 100%;
	overflow: hidden;
	padding: 10px 0px;
}

div.menu_message,
div.anciens_messages,
div.journal_messages,
div.stats {
	display: inline-block;
	text-align: left;
	margin: 30px 0;
	padding: 10px;
	max-width: 70em;
	width: 100%;
	box-sizing: border-box;
}

div.menu_message button {
	border-radius: 10px;
	width: 300px;
	height: 80px;
	font-size: 120%;
	margin: 10px;
}

div.menu_message button b { 
	font-size: 120%;
}

span.changeinterloc {
	position: relative;
	display: inline-block;
}
span.changeinterloc div {
	display: none;
	position: absolute;
	left: 0px;
	
	z-index: 10;
	border: 1px solid #CCC;
	background: rgb(255,255,255);
	padding: 5px;
	box-shadow: 0px 0px 4px rgba(0,0,0,.5);
	min-width: 5em;
	text-align: left;
}
span.changeinterloc div span {
	font-size: 50%;
	display: block;
	margin-bottom: 5px;
}
span.changeinterloc div button {
	margin: 2px;
	font-size: 75%;
	width: 10em;
	overflow: hidden;
	text-overflow: ellipsis;
}
span.changeinterloc:hover div,
span.changeinterloc div:hover {
	display: inline-block;
}

table.liste_messages {
	width: 100%;
	border-collapse: collapse;
}

table.liste_messages thead th {
	font-size: 80%;
	padding: 0px 10px;
	font-weight: normal;
	color: rgb(100,100,100);
	font-variant: small-caps;
}
table.liste_messages thead th:last-child {
	text-align: right;
}

table.liste_messages tbody tr {
	background: rgb(240,240,240) ;
	border-top: 2px solid #FFF;
	cursor: pointer;
}

table.liste_messages tbody tr.mode-envoi td:first-child ,
table.liste_messages tbody tr.mode-stocke td:first-child {
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 40px;
}
table.liste_messages tbody tr.mode-envoi td:first-child {
	background-image: url(../img/envoi.png);
}
table.liste_messages tbody tr.mode-stocke td:first-child {
	background-image: url(../img/stocke.png);	
}

table.liste_messages tbody tr.accuse_1 {
	background-color: #e2caca;
}
table.liste_messages tbody tr.accuse_2 {
	background-color: #cde2ca;
}

table.liste_messages td {
	padding: 1px 10px;
}

table.liste_messages td:nth-child(1) {
	color: rgb(100,100,150);
	font-size: 80%;
	width: 40px;
}
table.liste_messages td:nth-child(3) {
	white-space: nowrap;
}
table.liste_messages td:nth-child(4) {
	font-size: 80%;
	white-space: nowrap;
	width: 14em;
	color: rgb(80,80,80);
}

table.liste_messages span {
	display: inline-block;
}

table.liste_messages td.interlocuteur > small:first-child {
	color: rgb(60,60,60);
}

table.liste_messages .structure,
table.liste_messages .agent {
	white-space: nowrap;
	display: block;
	text-align: right;
}
table.liste_messages .actions {
	white-space: nowrap;
	text-align: right;
	width: 1px;
}
table.liste_messages tr.apercu {
	background: linear-gradient( to bottom , rgb(240,240,240) , rgb(255,255,255) );
	border-top: none;
}

table.liste_messages tr.apercu td {
	padding: 0px 20px 20px 20px;
}
table.liste_messages tr.apercu iframe {
	width: 100%;
	border: none;
	overflow: hidden;
	background: rgb(255,255,255);	
	box-shadow: 0px 0px 3px rgb(150,150,150);
}

div.popup_messages {
	box-shadow: 0px 0px 5px #000;
	position: fixed;
	background: #FFF;
	overflow: hidden;
	height: 40em;
	width: 90em;
	left: 50%;
	top: 5em;
	margin-left: -45em;
	
	border: 1px solid #CCC;
	z-index: 100;
	font-size: 75%;
}
div.popup_messages > div {
	position: absolute;
	text-align: left;
	width: 22em;
	padding: 0px;
	overflow: auto;	
	height: 37em;
	box-sizing: padding-box;
	background-image:linear-gradient(#EEE, #FFF);
}
div.popup_messages > span {	
	position: absolute;
	bottom: 0px;
	height: 3em;
	display: block;
	width: 22em;
	text-align: right;
	padding: 5px;
	box-sizing: padding-box;
	border-top: 1px solid #BBB;
	background-color: #EEE;
}
div.popup_messages > span * {
	font-size: 120%;
	position: absolute;
}
div.popup_messages > span button:first-child {
	left: 10px;
}
div.popup_messages > span button:last-child {
	right: 10px;
}
div.popup_messages iframe {
	position: absolute;
	width: 68em;
	left: 22em;
	border-color: #BBB;
	border-width: 0px 0px 0px 1px;
	background: #FFF;
	height: 100%;	
}
div.popup_messages table tr {
	background: transparent ;
	border-top: 1px solid #999;	
}
div.popup_messages table tr td:first-child {
	padding-right: 10px !important;
	background-size: 16px;
}
div.popup_messages table tr.selection {
	background: #CCC;
}

div.actions {
	padding: 10px 0px;
	text-align: right;
}

/* Calendrier */

span.liste_calendriers {
	display: block;
	text-align: center;
	margin-bottom: 20px;
}
span.liste_calendriers div {
	display: inline-block;
	text-align: right;
	border: 1px solid rgb(220,220,220);
	margin: 10px;
	background: linear-gradient( to bottom, rgb(245,245,245) 10%, rgb(200,200,200) );
	padding: 5px;
	border-radius: 15px 15px 0 0;
	font-size: 85%;
	vertical-align: middle;
}
span.liste_calendriers a.bouton {
	display: inline-block;
	padding: 1px 3px;
}
table.hcm-table {
	background: transparent;
	display: table;
	border: none;
	text-align: center;
}
table.hcm-table .hcm-day-head {
	font-size: 80%;
	color: rgb(150,150,150);
	padding: 1px 4px;;
}

table.hcm-table .hcm-future,
table.hcm-table .hcm-past,
table.hcm-table .hcm-today {
	border: 1px solid rgb(200,200,200);
	background: rgb(255,255,255);
	box-shadow: 0px 0px 1px rgb(190,190,190);
	margin: 4px;
	color: rgb(100,100,100);
}

table.hcm-table .hcm-past:nth-child(6),
table.hcm-table .hcm-today:nth-child(6),
table.hcm-table .hcm-past:nth-child(7),
table.hcm-table .hcm-today:nth-child(7) {
	background: rgb(200,200,200);
	color: rgb(100,100,100);
}

table.hcm-table .hcm-future {
	background: rgb(240,240,240);	
	box-shadow: none;
	border-color: rgb(230,230,230);
	color: rgb(200,200,200);
}

table.hcm-table .hcm-today {
	border-color: rgb(190,190,255);
}

table.hcm-table .hcm-month-head {
	font-size: 150%;
	font-weight: bold;
	color: rgb(150,150,150);
	text-shadow: 0px 1px 1px rgb(255,255,255);
}
table.hcm-table .hcm-year-head {
	color: rgb(150,150,150);	
}

table.hcm-table td[data-date] {
	color: rgb(0,0,0);
	cursor: pointer;
	font-weight: bold;
}
/* */
