@font-face
{
    font-family: 'texgyreadventorregular';
    src: url('../fonts/texgyreadventor-regular-webfont.eot');
    src: url('../fonts/texgyreadventor-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/texgyreadventor-regular-webfont.woff') format('woff'),
         url('../fonts/texgyreadventor-regular-webfont.ttf') format('truetype'),
         url('../fonts/texgyreadventor-regular-webfont.svg#texgyreadventorregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*
{
	outline: none;
}
BODY
{
	margin: 0;
	padding: 0;
	
	font-family: arial;
	font-size: 13px;
	color: #000;
	
	background: rgb(61, 111, 159) url(../img/fond.jpg) repeat-x 50% 0 fixed;
}
h1
{
	margin: 0;
	padding: 0;
	color: #FFF;
	text-shadow: 1px 1px rgba(0,0,0,0.5);
}
a
{
	color: #000;
	text-decoration: none;
}

#page > div > div > table > tbody > tr > td > a.bouton:first-child
{
	padding: 5px;
}
#page > div > div > table > tbody > tr > td > a.bouton:first-child > i
{
	padding-right: 4px;
}
#page > div > div > table > tbody > tr > td > a.bouton.small:first-child > i
{
	padding-right: 0;
}
a.bouton,
input.bouton,
button.bouton
{
	display: inline-block;
	padding: 3px 25px;
	margin: 5px 0;
	
	color: #FFF;
	text-shadow: 0 -1px rgba(0,0,0,0.2);
	font-family: texgyreadventorregular;
	font-size: 14px;
	
	background: #3D6F9F;
	border-radius: 3px;
	border: 0;
	
	cursor: pointer;
}
a.bouton:hover,
input.bouton:hover,
button.bouton:hover
{
	background: #6395C5;
}
a.bouton.small,
button.bouton.small
{
	padding: 5px;
	margin-right: 2px;
}


#site > #header > #menu
{
	position: fixed;
	
	width: 100%;
	height: 36px;
	
	background: rgba(0,0,0,0.3);
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
	
	z-index: 3;
}
#site > #header > #menu > ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}
#site > #header > #menu > ul > li
{
	float: left;
	
	margin: 0;
	padding: 0;
}
#site > #header > #menu > ul > li > a
{
	display: inline-block;
	padding: 3px 25px;
	margin: 5px;
	
	color: #FFF;
	text-shadow: 0 -1px rgba(0,0,0,0.2);
	font-family: texgyreadventorregular;
	font-size: 14px;
	
	background: #3D6F9F;
	border-radius: 3px;
}
#site > #header > #menu > ul > li > a:hover,
#site > #header > #menu > ul > li > a.select
{
	background: #6395C5;
}



#site > #page
{
	padding: 46px 10px 10px 10px;
}

.onglets > a
{
	display: inline-block;
	padding: 3px 25px;
	margin: 5px 0;
	
	color: #FFF;
	text-shadow: 0 -1px rgba(0,0,0,0.2);
	font-family: texgyreadventorregular;
	font-size: 14px;
	
	background: #3D6F9F;
	border-radius: 3px;
	
	cursor: pointer;
}
.onglets > a:hover,
.onglets > a.select
{
	background: #6395C5;
}
.onglets > div
{
	position: relative;
	display: none;
	padding: 10px;
	background: rgba(255,255,255,0.8);
	border-radius: 3px;
}
.onglets > div.select
{
	display: block;
}
.onglets > div > #recherche
{
    position: absolute;
    top: -31px;
    right: 0;
}
.onglets > div > #recherche > input
{
    vertical-align: middle;
}
.onglets > div > #recherche > input[type='submit']
{
	display: none;
    /*padding: 3px 15px;
    margin: -1px 0 0 5px;*/
}

fieldset
{
	border: 0;
	padding: 0;
	margin-bottom: 20px;
}
fieldset > legend
{
	font-size: 20px;
	display: block;
	width: 100%;
	border-bottom: 1px solid #3D6F9F;
	margin-bottom: 5px;
}
fieldset > ul
{
	margin: 0;
	padding: 0;
	list-style: none;
}
fieldset > ul > li
{
	margin: 0;
	padding: 0;
}
fieldset > ul > li.table
{
	display: table;
	width: calc(80% + 140px);
	margin: 1px;
}
fieldset > ul > li.table > label,
fieldset > ul > li.table > label+div
{
	display: table-cell;
	vertical-align: middle;
}
fieldset > ul > li.table > label+div textarea
{
	/*margin-left: 5px;*/
}
fieldset > ul > li > label
{
	display: inline-block;
	padding: 5px;
	margin: 1px;
	width: 130px;
	line-height: 30px;
	
	color: #FFF;
	text-shadow: 0 -1px rgba(0,0,0,0.2);
	font-family: texgyreadventorregular;
	font-size: 14px;
	
	background: #3D6F9F;
}
fieldset > ul > li > label + div
{
	display: inline-block;
    width: 80%;
    box-sizing: border-box;
    vertical-align: top;
}
fieldset > ul > li.table > label + div
{
	width: initial;
	padding: 5px;
}
fieldset > ul > li.table > label + div textarea
{
	width: 100%;
}

input[type='text'],
input[type='password'],
textarea,
select
{
	margin: 0;
	border-radius: 3px;
	border: 1px solid #CCC;
	box-shadow: inset 1px 1px 2px 0 rgba(50,50,50,0.1);
	padding: 5px;
	font-family: arial;
	font-size: 13px;
	vertical-align: middle;
}
input[type='text']:focus,
textarea:focus,
select:focus
{
	border: 1px solid #6395C5;
}
select
{
	padding: 4px 5px 3px 5px;
}

textarea
{
	display: inline-block;
	width: 80%;
	box-sizing: border-box;
	vertical-align: top;
}
input[type='checkbox'].checkbox
{
	display: none;
}
.checkbox_js
{
	display: inline-block;
	position: relative;
	width: 69px;
	height: 21px;
	overflow: hidden;
	background-image: url(../img/checkbox.jpg);
	background-position: 100%;
	border-radius: 4px;
	border: 1px solid #CCC;
	cursor: pointer;
	margin: -6px 0;
}

table.liste
{
	border-collapse: collapse;
	width: 100%;
}
table.liste > thead > tr > th
{
	border-bottom: 2px solid #3D6F9F;
	text-align: left;
}
table.liste > tbody > tr > td
{
	border-bottom: 1px solid #CCC;
}
table.liste > tbody > tr:hover > td
{
	background: rgba(61, 111, 159, 0.2);
}

.notification
{
	border-radius: 4px;
	padding: 10px;
	font-weight: bold;
}
.notification.erreur
{
	background: #FFBDBF;
	color: #770F11;
	border: 1px solid #FF8083;
}
.notification.validation
{
	background: #C4F0CA;
	color: #244D25;
	border: 1px solid #AAF0B1;
}
.notification.information
{
	background: #C8EEFB;
	color: #055B65;
	border: 1px solid #0FB0B9;
}
.notification.alert
{
	background: #F4FAC2;
	color: #4B5304;
	border: 1px solid #B6CA00;
}



.autocompletion
{
	display: inline-block;
	position: relative;
	width: 440px;
}
.autocompletion > ul
{
	position: absolute;
	bottom: 30px;
	left: 0;
	width: 100%;
	background: #FFF;
	border-radius: 3px 3px 0 0;
	box-shadow: 0 0 2px 0 rgba(0,0,0,0.5);
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 100px;
	overflow: auto;
}
.autocompletion > ul > li
{
	margin: 0;
	padding: 5px;
	color: #000;
	cursor: pointer;
	border-radius: 5px;
	margin: 2px;
}
.autocompletion > ul > li:hover
{
	color: #FFF;
	background: #3D6F9F;
}

.data_liste.sortable .handle
{
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url(../img/icones/move_up_down_24.png) no-repeat 50% 50%;
	cursor: move;
	margin-bottom: -8px;
}
.data_liste.sortable input[name='positions[]'],
.data_liste.sortable input[name='positions_2[]']
{
	width: 20px;
	height: 14px;
	border: 0;
	background: none;
	display: inline-block;
	*float: left;
	text-align: right;
	vertical-align: text-bottom;
	box-shadow: none;
}
.data_liste
{
	list-style: none;
	margin: 0;
	padding: 0;
}
.data_liste > li
{
	margin: 0;
    padding: 0;
	border-bottom: 1px solid #CCC;
}
.data_liste > li:last-child
{
	border-bottom: 0;
}

.ui-dialog-titlebar
{
	border: 1px solid #3D6F9F;
}
.ui-state-default, .ui-widget-content .ui-state-default
{
	color: #3D6F9F;
}
.ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-state-focus, .ui-widget-content .ui-state-focus
{
	border: 1px solid #3D6F9F;
	color: #FFF;
}



.zone_photos
{
	display: none;
	background: #FFF;
	border-radius: 5px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
	
	position: absolute;
	left: 50%;
	margin-left: -270px;
	bottom: 50px;
	z-index: 2;
	padding-bottom: 30px;
	width: 535px;
}
.zone_photos > div:first-child
{
	padding: .4em 1em;
	background: #3D6F9F;
	border-radius: 4px;
	border: 1px solid #3D6F9F;
	color: #FFF;
	font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
	font-size: 1.1em;
}
.zone_photos > div > a
{
	position: absolute;
	right: 4px;
	top: 0px;
	line-height: 15px;
}
.zone_photos .drop-zone
{
	color: #000;
	height: 110px;
}
.zone_photos > a
{
	position: absolute;
	left: 50%;
	margin-left: -50px;
	bottom: 0;
	line-height: 15px;
}

.zone_photo
{
	width: 205px;
	display: inline-block;
	vertical-align: top;
}
.zone_photo .drop-zone
{
	height: 110px;
}

#identification
{
	margin: 250px auto;
	width: 350px;
	padding: 10px;
	background: rgba(255,255,255,0.8);
	border-radius: 3px;
}

#loader
{
	position: fixed;
	background: rgba(0,0,0,0.5) url(../img/loader.gif) 50% 50% no-repeat;
	display: none;
	width: 100%;
	height: 100%;
	z-index: 999;
}

#ui-datepicker-div .ui-state-highlight, #ui-datepicker-div .ui-widget-content .ui-state-highlight
{
	color: #FFF !important;
}

input.travaux
{
	display: none;
}
.pdfActuel
{
	-webkit-user-select: none;
	background:url(../img/CJUploader/ico_pdf.png) #FFFFFF no-repeat center; 
	height:100px; 
	width:190px; 
	box-shadow: 0px 0px 1px #000; 
	position:relative;
	display: inline-block;
	vertical-align: top;
	top: -15px;
}
.pdfActuel > span:first-child
{
	width: 180px;
	position: absolute;
	bottom: 2px;padding: 3px 0px;border: 1px solid #AAA;
	border-radius: 6px;
	color: #AAA;
	text-align: center;left:4px;
}
.uploadPdf
{
	display: inline-block;
}

.btn-bold.actif,
.btn-italic.actif,
.btn-underline.actif
{
	background: #6395C5;
}
.editeur
{
	display: inline-block;
    width: 80%;
    box-sizing: border-box;
    vertical-align: top;
    background-color: #FFF;

    margin: 0;
    border-radius: 3px;
    border: 1px solid #CCC;
    box-shadow: inset 1px 1px 2px 0 rgba(50,50,50,0.1);
    padding: 5px;
    font-family: arial;
    font-size: 13px;

    overflow: auto;
}
.editeur + textarea
{
	display: none;
}