/*
 * Pmapper enhancement
 */

select {
	width: auto;
}


/*
 * Logos, header, ...
 */

.pm-header  .pm-logo-img {
	display: none;
}

.pm-header {
	text-align: center;
	height: 20px;
}

#logo-manual {
	text-align: center;
}

#logo-manual img {
	height: 50px;
}

#authStatusContainer {
	float: right;
	margin: 6px;
}


/*
 * refmap, toc, ...
 */

#refmapContainer {
	position: relative;
	left: auto;
	top: 0px;
	padding: 5px;
	margin-left: auto;
	margin-right: auto;
	border: solid black 1px;
}

#refmapCommand, #refmapCommandSizer {
	top: 3px;
	width: 0px;
	height: 0px;
}

#refmapCommand {
	position: absolute;
	right: 4px;
	background: #000000 url(images/degrad.png) repeat-x scroll center top;
	z-index: 1;
}

#refmapCommandSizer {
	display: none;
}

#refmap {
	position: relative;
	left: auto;
	bottom: auto;
	z-index: 0;
}

#tocContainer {
	margin-left: 2px;
	margin-right: 4px;
	padding: 2px;
	top: auto;
}


/*
 * map
 */

#scaleArea, .pm-selectbox, #mapToolArea .sirapGraphicalQueries, .pm-measure-form, #helpMessage, #mapLink {
	border-style: solid;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
}

#scalebar {
	-moz-border-radius-topright: 5px;
}

#helpMessage, #mapLink {
	top: 5px;
	right: 5px;
}

.pm-selectbox, #mapToolArea .sirapGraphicalQueries {
	right: 15px;
}

.pm-selectbox {
	top: 70px;
}

#mapToolArea .sirapGraphicalQueries {
	top: 100px;
}

.pm-measure-form {
	bottom: 40px;
	right: 50px;
}

#scaleArea {
	top: 5px;
}

#sliderArea {
	top: 45px;
	left: 5px;
}

/*
 * Default Layout
 */ 






/* 
 * layout and main positioning elements 
 */

#uiLayoutCenter, #uiLayoutWest, #uiLayoutEast {
	position: absolute;
	margin-bottom: 0px;
}

#uiLayoutCenter, #uiLayoutNorth, #uiLayoutSouth {
	padding-right: 5px;
}

#uiLayoutEast {
	width: 0px;
	padding-bottom: 5px;
}

#uiLayoutWest {
	width: 225px;
	padding-bottom: 5px;
	padding-left: 2px;
}

#uiLayoutWest, #uiLayoutEast {
	height: 100%;
}

#uiLayoutCenter {
	border: none;
}

#uiLayoutNorth, #uiLayoutSouth {
	width: 0px;
	height: 0px;
	display: none;
}

#allMapElems {
	margin: 5px;
}

#allMapElems {
	margin-bottom: 0px;
}


/*
 * East or West
 */ 

#logo-manual, #tocContainer, #refmapContainer {
	margin-top: 5px;
}

#tocContainer {
	margin-bottom: 0px;
}


/*
 * Center
 */

#toolBar {
	top: 0px;
	left: 5px;
}

#before-map, #after-map {
	width: 100%;
	position: relative;
}

#before-map {
	height: 30px;
}

#after-map {
	height: 5px;
	top: -5px;
}

#before-map-header, #after-map-footer, #before-map-corner-in, #after-map-corner-in {
	width: 100%;
	height: 100%;
}

#before-map-corner, #after-map-corner {
	width: 100%;
	height: 10px;
	bottom: 0px;
}

#mapNorth {
	height: 32px;
}

#mapSouth {
	height: 30px;
}

#mapNorth, #mapSouth {
	left: auto;
}

#mapWest, #mapEast {
	width: 5px;
}

#mapNorth, #mapSouth, #mapWest, #mapEast, #mapContainer {
	position: absolute;
}


/*
 * opera
 */

#tocContainer {
	z-index: 1;
}

#mapNorth, #mapSouth, #mapWest, #mapEast, #mapContainer {
	z-index: 1;
}


/**
 * IE
 */
 
#refmapCommand {
	z-index: 200;
}
