html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	overflow:hidden;
}

#wrapper {
	height: 100%;
	left: 0;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	top: 0;
	width: auto;
	text-align:left;
}

/* Entête et pied de page
----------------------------------------------- */
#header {
	width:760px;
	height:100px;
	margin:0;
	padding:0;
	display:block;
	background: url(img/img_banniere.jpg) no-repeat top right;
	margin-right:17px;
}
	
/* Éléments de la carte
----------------------------------------------- */
#content {
	margin-left:5px;
	margin-right:280px;
	height: 100%;
	margin-top: -5px;
}

#mapwrap{
	color: #000000;
	display: inline;
	float: left;
	margin: 0 -2px;
	position: relative;
	transform: scale(1);
	width: 100%;
	height:100%;
	z-index: 1;
	overflow: hidden;
	box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#mapwrap i {
	position: absolute;
	display: block;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.map-top {
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.map-right {
    right: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
}

.map-bottom {
    bottom: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

.map-left {
    left: -15px;
    top: 0;
    bottom: 0;
    width: 15px;
}

#map{
	margin-left: 0;
  margin-right: 1px;
}

.TopLeft, .TopRight, .BottomLeft, .BottomRight {
position: absolute;
z-index: 10000;
background-image: url(img/corners.png);
width: 10px;
height: 10px;
}

.TopLeft {
left: 0;
top: 0;
}

.TopRight {
right: 0;
top: 0;
background-position: top right;
}

.BottomLeft {
left: 0;
bottom: 0;
background-position: bottom left;
}

.BottomRight {
right: 0;
bottom: 0;
background-position: bottom right;
}

/* Éléments de la légende
----------------------------------------------- */

#legende {
	width: 276px;
	margin-right: -277px;
	white-space: nowrap;
	float:right;
	position: relative;
	overflow-x:hidden;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.5);
	background-color: #919191;
	background: -webkit-gradient(linear, left top, left bottom, from(#7d7d7d), to(#919191));
	background: -moz-linear-gradient(top, #7d7d7d, #919191);
}

#legende:hover{
	cursor: default;
}

#legende h3{
	margin: 10px 10px 10px 10px;
	padding: 5px; 
	color: #000; 
	line-height: 1.5em; 
	background: #e6e6e6;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

#legende p.search{
	margin: 5px 10px 5px 10px;
	padding: 5px 5px 5px 10px;
	font-size: 0.8em;
	font-weight: bold;
	color: #000;
	line-height: 1.5em; 
	text-align:left;
	display:block;
	background: #e6e6e6;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

#legende p.search input{
	width:88%;
	margin-left: 8px;
}

#iconSearch{
	position:absolute;
	right:0;
	margin-right: 15px;
	margin-top:-18px;
}

#legende p.search span:hover{
	cursor:pointer;
}

#legende p.aideAvert{
	margin: 5px 10px 10px 10px;
	padding: 5px 5px 5px 10px; 
	font-size: 0.8em;
	color: #000;
	line-height: 1.5em; 
	text-align:center;
	line-height:20px;
	display:block;
	background: #e6e6e6;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

#textAide, #textAvert, #textGrid, #iconAvert, #iconAide{
	display:inline;
}

#textAide, #textAvert, #textGrid, #iconAvert, #iconAide:hover{
	cursor:pointer;
}

#textGrid{
	padding-left:5px;
	padding-right:5px;
}

#grid{
	margin-bottom:3px;
}

#iconAvert{
	height:9px;
	width:7px;
}

#iconAide{
	height:9px;
	width:9px;
}

img.help{
	margin-bottom:-2px;
	padding-top:2px;
}

#eraseMarkers{
	display: inline-block;
	cursor:pointer;
	font-size:0.8em;
}

.ui-icon .ui-icon-close{
	position:absolute;
	left: 0;
}

p.groupe {
	margin-bottom: 5px;
	margin-top: 0;
}

label {
	display:block;
	padding-left: 15px;
	text-indent: -12px;
}

input {
	padding: 0;
	margin:0;
	margin-right: 2px;
	vertical-align: bottom;
	position: relative;
}

#upDown{
	position: absolute;
	right: 0;
	cursor:pointer;
}

#upDown.triangleN{
	position: relative;
	float: right;
	margin-right: 1px;
	margin-top: -14px;
	height:7px;
	width:9px;
}

#upDown.triangleS{
	position: relative;
	float: right;
	margin-right: 1px;
	margin-top: -7px;
	height:7px;
	width:9px;
}

#upDownGroup{
	position: absolute;
	right: 0;
	cursor: pointer;
}

#upDownGroup.triangleN{
	position: relative;
	float: right;
	margin-right: 10px;
	margin-top: -20px;
	height:7px;
	width:9px;
}

#upDownGroup.triangleS{
	position: relative;
	float: right;
	margin-right: 10px;
	margin-top: -13px;
	height:7px;
	width:9px;
}

#square{
	border:solid 1px #000; 
	background: blue;
	width:10px;
	height:10px;
	float: right;
	margin-right: 15px;
	margin-top:2px;
	cursor:auto;
}

#square.ras{
	background: rgb(0,153,255);
	background: rgba(0,153,255,0.55);
}

#square.mrs{
	background: rgb(0,102,204);
	background: rgba(0,102,204,0.55);
}

#square.mns{
	background: rgb(0,51,153);
	background: rgba(0,51,153,0.55);
}

#square.ars{
	background: rgb(0,0,153);
	background: rgba(0,0,153,0.55);
}

#square.rgs{
	background: rgb(179,0,0);
	background: rgba(179,0,0,0.55);
}

#square.zns{
	background: rgb(255,0,0);
	background: rgba(255,0,0,0.55);
}

#square.txs{
	background: rgb(245,119,12);
	background: rgba(245,119,12,0.55);
}

#square.aes{
	background: rgb(248,164,8);
	background: rgba(248,164,8,0.55);
}

#imgMd{
	position: relative;
	float: right;
	margin-right: 12px;
	height: 15px;
	width: 17px;
}

#imgKm{
	position: relative;
	float: right;
	margin-right: 12px;
	height: 15px;
	width: 15px;
}

#loadingimg{
	position: fixed;
	top:50%;
	left:50%;
	z-index: 5000;
	height: 100%;
	width: 100%;
}

#loading{
	position:absolute;
	z-index: 4000;
	height: 100%;
	width: 100%;
	background: #dcdcdc;
	opacity: 0.3;
	left: 0;
}

#loadingie{
	font-size:0em;
}


/* Éléments de la carte
----------------------------------------------- */

#button{
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	text-align: center;
	position: relative;
	font-family: Arial, sans-serif;
	font-size: 13px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
	color: #000;
	border-left: 1px solid #A0A0A0;
	border-top: 1px solid #A0A0A0;
	border-bottom: 1px solid #A0A0A0;
	padding: 1px 6px;
	overflow: hidden;
}

.terrain{
	margin-top:8px;
	margin-bottom:8px;
	background-color: #fff; 
}

.satellite{
	margin-top:8px;
	margin-bottom:8px;
	background-color: #fff; 
}

.plan{
	margin-top:8px;
	margin-bottom:8px;
	margin-left:5px;
	border-bottom-left-radius: 3px;
	border-top-left-radius: 3px;
	background-color: #fff; 
}

.ctq{
	margin-top:8px;
	margin-bottom:8px;
	margin-right:8px;
	border-bottom-right-radius: 3px;
	border-top-right-radius: 3px;
	border-right: 1px solid #A0A0A0;
	background-color: #e6e6e6;
}

.button-legende{
	margin-right:8px;
	border-radius: 3px;
	border-right: 1px solid #A0A0A0;
	background-color: #fff; 
}

/* Sortable
----------------------------------------------- */

#elements{
	padding: 5px 5px 1px 5px; 
	margin: 5px 5px 0px 5px;
}

#sortable{
	color: #000;
}

#sortable ul{ 
	list-style-type: none; 
	margin: 0; 
	padding: 0;
	width: 100%;
	color: #000;
}

#sortable li { 
	margin-bottom: 5px;
	padding: 5px; 
	font-size: 0.8em; 
	color: #000; 
	line-height: 1.5em; 
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.5);
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
	height: 1.3em; 
	background: #aaaaaa url(images/ui-bg_flat_50_555555_40x100.png) 50% 50% repeat-x;
	border: 1px solid #808080;
}

.group li{
	background: #e6e6e6 url(images/ui-bg_glass_75_dadada_1x400.png) 95% 95% repeat;
	font-weight: bold;
}


/* Tooltip
----------------------------------------------- */
#tooltip {
	font-size: 0.8em;
	position:absolute;
	top:0;
	left:0;
	margin:0;
	padding:10px 15px;
	color:#ffffff;
	background:#5c5c5c;
	background:rgba(92, 92, 92, 0.85);
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	pointer-events: none;
}

#tooltip:hover{
	cursor: default;
}

#tooltip_pointe {
	position:absolute;
	left:50%;
	bottom:-5px;
	margin-left:-5px;
	width:10px;
	height:5px;
	background:url(img/tooltip_pointe.png);
	opacity: 0.85;
}

#icone_tooltip{
	position:absolute;
	top:7px;
	left:-10px;
	left:-10px;
}

/* Dialog Box
----------------------------------------------- */

#dialog, #avertissementDialog, #aideDialog{
	border-radius: 0px 0px 17px 17px;
	padding-right:0px;
}

#aideDialog{
	overflow:auto;
}

#dialogContainer {
	margin: 0 auto;
	font: Arial;
	font-size: 0.85em;
	padding: 0.2em 0.2em 0.2em 0.2em;
}

.ui-widget-content {
  border-top: 1px solid #808080;
	border-bottom: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #808080;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 17px;
	-moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
	-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
	box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
}

.ui-dialog {
    padding: 0;
}

.ui-dialog-titlebar { 
	height: 15px; 
	padding-bottom: 8px;
	padding-right: 8px;
}

.ui-title-corner-all {
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
}

.ui-dialog .ui-button { 
	position: absolute; 
	right: 15px; 
}

.ui-button-icon-only .ui-icon {
	left: 45.5%;
}

table{
	border-collapse:collapse;
	background-color: white;
	border:0;
	text-align:left;
}

th{
	text-align: inherit;
}

td{
	vertical-align:top;
	text-align: inherit;
}

td.lastLine:hover{
	cursor:default;
}

td.bottomLeft {
	padding-top:10px;
	padding-right:17px;
	text-align:justify;
	height:100%;
}

td.bottomRight {
	padding-top:10px;
}

.second{
	text-align: center;
	width:60px; /*MODIFICATION 2014-03-06 : ajout pour fixer la largeur de la colonne */
}

table.muni{
	width:390px;
	margin-right:17px;
}

.muni tbody{
	border-bottom: 2px solid black;
}

table.muni tr:hover {
  cursor: pointer;
}

table.muni th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.muni th:hover {
  cursor: auto;
}

table.zn{
	width:250px;
}

table.zn tr:hover {
  cursor: pointer;
}

table.zn th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.zn th:hover {
  cursor: auto;
}

table.tx{
	width:325px;
}

table.tx tr:hover {
  cursor: pointer;
}

table.tx th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.mr{
	width:325px;
}

table.mr th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.ar{
	width:215px;
}

table.ar th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.ra{
	width:195px;
}

table.ra th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.mn{
	width:295px;
}

table.mn th{
  border-bottom: 2px solid black;
	border-top: 2px solid black;
	padding-top: 3px;
	padding-bottom: 3px;
}

table.tx th:hover {
  cursor: auto;
}

th.paddingRight{
	border-bottom:0px;
	border-top:0px;
}

#linkFiche{
	width:360px;
	text-align:right;
	cursor:pointer;
}

/* Menu principal dans le bandeau header
----------------------------------------------- */
#menuPrincipal{
	color:#ffffff;
	margin:0;
	padding:0;
	float:right;
	width:546px;
	height:90px;
  }
#menuPrincipal ul {
	margin-top:57px;	
	padding:0;
	font:11px Arial, sans-serif;
	list-style:none;
	}
#menuPrincipal ul li {
	display: inline;
	}
#menuPrincipal ul li a{
	margin:0;
	float:left;
	padding:0 15px 0 0;
	color:#ffffff;
	text-decoration:none;
	background-color:#003399;
	display:block;
	font-family: 'Trebuchet MS', Verdana, sans-serif;
	}
#menuPrincipal ul li a.first{
	padding-left:15px;
	}
#menuPrincipal a:hover{
	color:#ffffff;
	text-decoration:underline;
	}
#menuPrincipal li.current{
	margin:0px;
	padding:2px 5px 3px 10px;
	color:#ffffff;
	float:left;
	text-decoration:none;
	}
#menuPrincipal a.right{
	float:right;
	padding-right:10px;
  }
#headerLogo{
	margin-left:2px;
	padding-top:7px;
	margin-top:2px;
	border:0px;
}

/* Autocomplete du Géocodage */

.pac-container {
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
	height: 107px;
}
 
.pac-item {
	font-size: 10px;
	height: 20px;
	line-height: 20px;
}

.pac-icon{
	display: none;
}

.pac-item-query {
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
}
