/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   
   Vert, Ligne État réussi ou valide : #7bff86
   Rouge, ligne état echec : #FF5555
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
fieldset{
	border: 1px solid rgb(192,192,192);
	padding: 15px 0;
}
fieldset legend{
	margin-left: 10px; 
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

@font-face{
	font-family:'HelveticaNeue';
	src:url("/fonts/HelveticaNeue-Light.eot");
	src:local("☺"), url("/fonts/HelveticaNeue-Light.svg#HelveticaNeue-Light") format("svg"), url("/fonts/HelveticaNeue-Light.woff") format("woff");
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family:'HelveticaNeue';
	src:url("/fonts/HelveticaNeue-Medium.eot");
	src:local("☺"), url("/fonts/HelveticaNeue-Medium.svg#HelveticaNeue-Medium") format("svg"), url("/fonts/HelveticaNeue-Medium.woff") format("woff");
	font-weight: bold;
	font-style: normal;
}

BODY {
	font-family: HelveticaNeue, Helvetica, sans-serif;
	font-size: 16px;
}

H1, H2, H3 { font-weight: normal; }
H1 {
	font-size: 28px;
	text-align: center;
	margin-bottom: 20px;
	letter-spacing: 1px;
}
.paneltitle H1 { margin: 0px; }
H2 { font-size: 20px; margin-bottom: 15px; margin-top: 20px; font-weight: bold; border-bottom: 1px solid silver; padding-bottom: 2px; }
H3 { font-size: 17px; margin-bottom: 5px; margin-top: 10px; border-bottom: 1px solid silver; padding-bottom: 2px; }
H4 { font-weight: bold; margin-bottom: 5px; margin-top: 10px; }
H1:first-child, H2:first-child, H3:first-child, H4:first-child, P:first-child { margin-top: 0px; }

STRONG { font-weight: bold; }

NAV A:link, NAV A:visited { margin-right: 10px; display: inline-block; }

PROGRESS { display: none; }
A:link, A:visited { text-decoration: none; color: black; color: rgba(0, 0, 0, 0.7); }
A:hover { color: black; color: rgba(0, 0, 0, 1); }
HR.clear { background: none; border: 0; clear: both; display: block; float: none; font-size: 0; margin: 0; padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0; }
.center { text-align: center; }

NAV#topbar {
	position: relative;
	padding: 10px; text-align: center;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	width: 100%; background-color: white;
	border-bottom: 1px solid silver;
	text-align: left; min-height: 46px;
}
NAV#topbar A:link, NAV#topbar A:visited { border: 1px solid silver; border-radius: 5px; padding: 3px; }
NAV#topbar .search A:link, NAV#topbar .search A:visited,
	NAV#topbar A#logoclient:link, NAV#topbar A#logoclient:visited  { border: none; padding: 0px; }

#topbar .right { position: absolute; top: 10px; right: 0px; text-align: right; height: 35px; background-color: white; }
#topbar .search { width: 230px; left: 50%; margin-left: -115px; position: absolute; top: 13px; }
#topbar .search #recherche { 
	font-family: HelveticaNeue, Helvetica, sans-serif;
	font-size: 16px;
	border: 1px solid silver;
	padding: 0px 2px;
}

NAV#home {
	position: absolute;
	top: 50%; left: 50%;
	width: 510px; height: 300px;
	margin-top: -150px; margin-left: -250px;
}

NAV#home A:link, NAV#home A:visited {
	background-color: white;
	padding: 20px; width: 150px; height: 150px;
	border-radius: 15px; text-align: center;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	float: left;
	line-height: 20px; margin-right: 20px; margin-bottom: 20px; letter-spacing: 1px; 
}
NAV#home A:hover { }
NAV#home A.lines4:link { padding-top: 33px; }
NAV#home A.lines3:link { padding-top: 44px; }
NAV#home A.lines2:link { padding-top: 55px; }

.message, .error {
	padding: 10px; text-align: center;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	width: 100%; background-color: white;
	border-bottom: 1px solid silver;
}
.error { color: red; }

#logoclient { position: relative; display: inline-block; height: 0px; top: 0px; right: 0px; margin-right: 10px; }
#logoclient IMG { position: relative; height: 28px; display: block; top: -18px; }

.pagecontent {
	background-color: white;
	width: 95%; margin: 20px auto;
	padding: 15px;
}
.pagecontent.big { width: 95%; }
.pagecontent.max { width: 95%; box-sizing: border-box; }

.pagecontent > TABLE, #conducteursinistre TABLE, #appels TABLE, #historique TABLE { width: 100%; }
.pagecontent > TABLE TH, #conducteursinistre TABLE TH, #appels TABLE TH, #historique TABLE TH { padding: 10px; font-weight: bold; text-align: left; }
.pagecontent > TABLE TD, #conducteursinistre TABLE TD, #appels TABLE TD, #historique TABLE TD { padding: 10px 5px; font-size: 12px; }

.pagecontent > TABLE.list TD { /*line-height: 1.5em;*/ }
.pagecontent > TABLE TR:hover TD { background-color: #D0D0D0; }

TABLE.tablesorter THEAD TR .header.small, TABLE.tablesorter TFOOT TR .small { background-image: none; padding: 4px; }
TABLE.tablesorter TFOOT TR { background-color: #e6EEEE; }
TABLE.tablesorter TFOOT TR TD { border: 1px solid white; }

.paneltitle { position: relative; width: 100%; left: -20px; border-bottom: 1px solid silver; margin-bottom: 30px; padding: 0px 20px 20px 20px; }

TABLE.border { border: 1px solid silver; border-collapse: collapse; }
TABLE.border TD { border: 1px solid silver; }
TABLE.border TR.row1 TD { background-color: #E0E0E0; }
.smallfont { font-size: 14px; }

.number, .price { text-align: right; }

/** STYLES GÉNÉRAUX POUR LES FORMULAIRES **/
input:-webkit-autofill { background-color: transparent !important; }

.label {
	display: inline-block;
	width: 200px;
	text-align: right; vertical-align: top;
	margin-right: 5px; margin-top: 5px;
}
.label.twolines { margin-top: 0px; position: relative; top: -2px; }
.label.big { width: auto; text-align: left; }
.label.checkbox { margin-top: 1px; }
.label.required { font-weight: bold; }
P.form { margin-left: 205px; }
LABEL.replace {
	position: absolute;
	color: silver;
	font-size: 16px;
	padding: 4px;
	z-index: 1;
}
LABEL.aftercheckbox { margin-left: 5px; margin-right: 15px; }
.checkboxgroup { display: inline-block; margin-left: 2px; }


INPUT.inputtext {
	background-color: transparent;
	border: 1px solid silver;
	padding: 3px;
	height: 24px; width: 250px;
	margin-bottom: 10px;
	font-size: 14px;
    -webkit-appearance: none;
    border-radius: 3px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
INPUT#fichier { height: auto; }
INPUT[readonly], INPUT[readonly="readonly"] { color: silver; }
SELECT.select {
	background-color: transparent;
	border: 1px solid silver;
	padding: 3px;
	height: 24px; width: 250px;
	margin-bottom: 10px;
	font-size: 14px;
    border-radius: 3px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
SELECT.selectmultiple { height: auto; width: auto; min-width: 250px; }
.textarea {
	background-color: transparent;
	border: 1px solid silver;
	padding: 3px;
	height: 100px; width: 590px;
	margin-bottom: 10px;
	font-size: 14px;
    border-radius: 3px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}
.textarea.small { width: 480px; }
.textarea.big { width: 100%; height: 160px; }
INPUT.radio { margin-bottom: 8px; width: 16px; height: 16px; }
INPUT.checkbox { margin-bottom: 8px; width: 24px; height: 24px; }

INPUT.replace {
	position: relative;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid silver;
	z-index: 2;
	padding: 4px;
	margin-bottom: 6px;
	width: 100%;
	font-size: 16px;
    -webkit-appearance: none;
    border-radius: 0;
}
INPUT.replace:focus, INPUT.inputtext:focus { outline: none; }

.paneltitle .buttons { position: absolute; top: 0px; left: 20px; }
.buttonsbottom { position: relative; width: 100%; left: -20px; border-top: 1px solid silver; margin-top: 20px; padding: 20px 20px 0px 20px; height: 30px; }

.fancybox-inner .pagecontent { width: auto; }
.fancybox-inner .paneltitle { left: 0px; padding: 0px 0px 10px 0px; -moz-box-sizing:border-box; box-sizing: border-box; }
.fancybox-inner .pagecontent { margin: 0px auto; padding: 0px; }
.fancybox-inner .buttonsbottom { left: 0px; padding: 10px 0px 5px 0px; }
.fancybox-inner .buttonsbottom .default { right: 0px; top: 15px; }

.paneltitle .buttons .button, .buttonsbottom .button, INPUT.button { padding: 5px; margin: 0px; line-height: 1.1em; }
.buttonsbottom .default { position: absolute; right: 20px; top: 20px; background-color: rgba(0, 153, 255, 0.6); }
.buttonsbottom .default.disabled { background-color: silver; color: #E0E0E0; cursor: default; }
.buttonsbottom .red { position: absolute; left: 20px; top: 20px; }
.buttonslist { line-height: 2em; }

.button {
	background-color: white;
	border: none;
	font-size: 16px;
	cursor: pointer;
	padding: 5px;
	color: rgba(0, 0, 0, 0.7);
	font-family: HelveticaNeue, Helvetica, sans-serif;
	vertical-align: middle;
	width: auto;
	overflow:visible;
	-webkit-appearance:none;
	border: 1px solid silver; border-radius: 5px;
	white-space: nowrap; line-height: 2em;
}
.button:hover { color: rgba(0, 0, 0, 1); border-color: rgba(0, 0, 0, 0.5); }
BUTTON.button{
padding: 0 5px;
}

.button.default { font-weight: bold; }
.button.red { color: rgba(255, 0, 0, 0.7); }
.button.red:hover { color: rgba(255, 0, 0, 1); }
#loginform .button { border: none; }

.separator { display: inline-block; width: 1px; background-color: silver; height: 24px; margin: 0px 10px; vertical-align: middle; }
.buttonsright { text-align: right; }

/** CHOIX SOCIETE SESSION **/
#sinistrechoixsociete { text-align: center; }
UL#selectsociete {
	margin-top: 20px;
}
UL#selectsociete LI {
	margin-right: 20px; display: inline-block; margin-bottom: 20px;
}
UL#selectsociete LI A { display: block; }
UL#selectsociete LI IMG { max-height: 50px; }

/** LOGIN **/
#loginform, #resetpassword {
	position: absolute;
	width: 350px;
	height: 350px;
	top: 50%;
	left: 50%;
	margin-top: -195px;
	margin-left: -175px;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	border-radius: 40px;
	padding: 40px;
	background-color: white;
	text-align: center;
}
#loginform IMG { max-width: 150px; }
#loginform H1 { margin-top: 20px; }
#loginform .inputtext { margin-bottom: 10px; }

#resetpassword P { text-align: left; }

#villes-suggestion {
	float: right;
	width: 330px;
}
#villes-suggestion LI {
	border: 1px solid silver;
	border-radius: 3px;
	padding: 3px; margin-bottom: 2px; 
	cursor: pointer;
}
#villes-suggestion LI:hover { background-color: #E0E0E0; }

/** SINISTRE **/
TABLE#sinistres TH.datesinistre { width: 70px; }
span.nb_sinistres{
	margin-left: 100px;
	border: 1px solid #C0C0C0;
	padding: 5px 40px;
	border-radius: 3px;
}
#sinistrefiche { position: relative; }
#conducteursinistre {
	position: absolute;
	top: 100px; left: 20px;
	width: 250px;
	padding-right: 20px;
	margin-right: 20px;
	height: 560px; overflow: auto;
	line-height: 1.2em;
}
#conducteursinistre .groupe { margin-bottom: 3px; font-size: 13px; }
#conducteursinistre TABLE TR.selected TD { font-weight: bold;}
#sinistrefiche #documents .fichier, #sinistreform .fichier {
	display: inline-block;
	height: 200px; width: 200px;
	background-repeat: no-repeat; background-position: center center; background-size: contain; background-color: #F0F0F0; border: 1px solid silver;
	border-radius: 10px; margin: 10px; text-align: center; line-height: 380px;
}
.tabcontent {
	display: none; margin-left: 270px;
	border-top: 1px solid silver;
	border-left: 1px solid silver;
	padding: 20px 10px 0px 30px; min-height: 500px;
}
#tabs { height: 21px; margin-left: 270px; }

#tabs A:link, #tabs A:visited { padding: 5px; height: 20px; border: 1px solid silver; border-radius: 5px 5px 0px 0px; background-color: #E0E0E0; margin: 2px 2px 0px 2px; }
#tabs A.selected:link, #tabs A.selected:visited {
	padding: 7px 7px 5px 7px; margin: 0px 0px;
	background-color: white;
	border-bottom: 1px solid white;
}

#appels, #divdisponibilites { width: 480px; display: inline-block; }
#appels TABLE { margin-top: 5px; }
#appels TR.echec .etat { font-weight: normal; background-color: #FF5555; }
#appels TR.reussi .etat { font-weight: normal; background-color: #7bff86; }

.pagination SPAN, .pagination A:link, .pagination A:visited {
	display: inline-block; border: 1px solid silver; background-color: white; font-size: 1.2em; color: black; text-decoration: none;
	text-align: center; min-width: 20px; height: 24px; line-height: 24px; margin: 3px;
}
.pagination SPAN.selected { background-color: silver; }
#fichierform { margin-top: 10px; }
#historique { display: inline-block; width: 480px; /*margin-left: 205px;*/ }
#historiquefancybox {  width: 550px; }
#historiqueselectdiv { display: inline-block; }
.notes { float: right; width: 328px; padding: 5px; border: 1px solid silver; margin-bottom: 5px; }
#filter-avancement{
	border: 1px solid #C0C0C0;
	border-radius: 5px;
	display: none;
	position: absolute;
	padding: 10px;
	background-color: white;
	-webkit-box-shadow: 5px 5px 5px 0px #656565;
	-moz-box-shadow: 5px 5px 5px 0px #656565;
	-ms-box-shadow: 5px 5px 5px 0px #656565;
	-o-box-shadow: 5px 5px 5px 0px #656565;
	box-shadow: 5px 5px 5px 0px #656565;
}
#filter-avancement ul li:first-child{
	padding: 5px 0 10px 0;
}
#filter-avancement ul li:first-child a{
	border: 1px solid #C0C0C0;
	border-radius: 5px;
	margin: 5px 5px 10px 5px ;
	padding: 3px;
}
#filter-avancement ul li{
	margin-bottom: 5px;
}
#filter-avancement button.button{
	margin-top: 10px;
}

#div_mail_proposition, #div_mail_convocation{
	width: 900px;
}

#div_mail_proposition textarea, #div_mail_convocation textarea{
	width: 98%;
	height: 350px;
}

/** GROUPES **/
.panelfiltre { display: none; max-height: 300px; overflow: auto; border-bottom: 1px solid silver; padding: 10px; }
.newgroup TD { border-top: 1px solid silver; padding-top: 50px !important; }

/** RECHERCHE **/
#recherche UL.groupes, #recherche UL.sinistres { display: inline-block; }
#recherche UL.groupes LI, #recherche UL.sinistres LI {
	display: inline-block;
	background-color: rgb(210, 210, 210);
	border-radius: 10px;
	padding: 2px 5px;
	margin-bottom: 4px; margin-right: 4px;
}