/* 0 BASIC TAGS */

table {
	font-size: 1em;
}

h1, h2, h3, h4 {
	margin: 0;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

p {
	line-height: 1.4em;
}

hr {
	border: 0;
	border-top: 1px solid #505050;
	height: 1px;
}

a {
	text-decoration: none;
	color: #DBB94F;
}

a:visited {
	color: #C19B28;
}

a:hover {
	text-decoration: underline;
	color: #E6CD84;
}

a:active {
	color: #C19B28;
}

html, body { 
  height: 100%; 
  min-height: 100%; 
} 

body {
	background-color: #656565;
	background-image: url(images/background.gif);
	background-repeat: repeat;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 0.7em;
	color: #FFFFFF;
	position: relative;
}

img {
	border-width: 0;
}

/* 1 HEADER */

#header {
	position: relative;
	height: 76px;
	margin: 0 auto 5px auto;
	background-image: url(maps_images/header-middle.gif);
	background-repeat: repeat-x;
}

.header-left {
  float: left;
	width: 317px;
	height: 76px;
	background-image: url(maps_images/header-left.gif);
	background-repeat: no-repeat;
}

.header-right {
  float: right;
	width: 17px;
	height: 76px;
	background-image: url(maps_images/header-right.gif);
	background-repeat: no-repeat;
	background-color: #656565;
}

.title, .title:hover, .title:visited, .title:active {
	position: absolute;
	left: 27px;
	top: 12px;
  text-decoration: none;
}

#language {
  position: absolute;
	top: 18px;
	left: 250px;
}     
#language img {
}

.menua {
	position: absolute;
	left: 320px;
	top: 13px;
	text-transform: uppercase;
	font-size: 10px;
}

.menuaseparator {
  width: 20px;
}

.menua a:visited, .nav a:visited {
	color: #DBB94F;
}

.nav {
	position: absolute;
	right: 37px;
	top: 51px;
	text-transform: uppercase;
	font-size: 10px;
}

.counter, .counter:hover, .counter:visited, .counter:active {
  text-decoration: none;
	color: #DBB94F;
	vertical-align: middle ;
}

/* 1.1 SHIM */

.shim {
	display: none;
}

/* 2 PAGE */

.page {
	background-repeat: repeat-y;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

h3 {
	margin-top: 1.0em;
	margin-bottom: 1.12em;
	font-size: 1.5em;
	font-weight: bold;
}
h4 {
	margin-top: 1.0em;
	margin-bottom: 1.12em;
	font-size: 1.3em;
	font-weight: bold;
}

/* 2.1 ALL PAGES */

#maps {
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
}

#top-panel {
  width: 100%;
  height: 30px;
}

.KML {
  padding-left: 100px; 
}

#maps_admin_login {
	position: relative;
	width: 686px;
	padding: 0px 37px;
	padding-top: 1px; /* Weird Mozilla Bug */
	padding-bottom: 40px; /* Weird Mozilla Bug */
}

#maps_admin {
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
}

#left-column {
  float: left;
  width: 500px;
  margin-top: 5px;
  margin-right: 5px;
}

#middle-column {
  margin: 0px;
  margin-left: 500px; 
	padding: 0px;
}

.map-frame .topx-- {
	background-image: url(images/frame-topx--.gif);
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.map-frame .top-x- {
	background-image: url(images/frame-top-x-.gif);
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.map-frame .top--x {
	background-image: url(images/frame-top--x.gif);
	background-repeat: no-repeat; 
	width: 4px;
	height: 4px;
	vertical-align: top;
}

.map-frame .midx-- {
	background-image: url(images/frame-midx--.gif);
	background-repeat: repeat-y;
	width: 4px;
}
.map-frame .mid-x- {
  width: auto;
	border: 4px solid #FFFFFF;
	height: 300px;
}
.map-frame .mid--x {
	background-image: url(images/frame-mid--x.gif);
	background-repeat: repeat-y;
	width: 4px;
}

.map-frame .botx-- {
	background-image: url(images/frame-botx--.gif);
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.map-frame .bot-x- {
	background-image: url(images/frame-bot-x-.gif);
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.map-frame .bot--x {
	background-image: url(images/frame-bot--x.gif);
	background-repeat: no-repeat;
  width: 4px;
	height: 4px;
	vertical-align: bottom;
}

#map {
} 

/* tabs */
#tabs {
/*	height: 22px;*/
  color: black;
}

#tabnav {
	height: 22px;
	margin: 0px;
	padding-left: 10px;
	background: url(maps_images/tab_bottom.gif) repeat-x bottom;
}

#tabnav li {
	margin: 0px; 
	padding: 0px;
	display: inline;
	list-style-type: none;
}
	
#tabnav a:link, #tabnav a:visited {
	float: left;
	background: #E3E3E3;
	font-size: 10px;
	line-height: 14px;
	font-weight: bold;
	padding: 2px 10px 2px 10px;
	margin-right: 4px;
	border: 2px solid black;
	text-decoration: none;
	color: #666666;
}

#tabnav a:link.active, #tabnav a:visited.active {
	border-bottom: 2px solid white;
	background: white;
	color: black;
}

#tabnav a:hover	{
	background: white;
}

/* content */
.content-none {
  display: none;
}

.content {
  border: 2px solid black;
  border-top: 0px;
  color: black;
  background: white;
  padding: 5px;
}

.content label, .content input, .content select, .content textarea {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.content .main-select {
  width: 412px;
}

.content .edit-button {
  width: 60px;
  margin-left: 10px;
}

.content td label {
  width: 150px;
}

.content td input {
  width: 200px;
}

.content td select {
  width: 150px;
}

.fields label {
  padding-top: 0.4em;
  font-size: 1.1em;
  display: block;
  width: 475px;
}
.fields label.bold {
  font-weight: bold;
}

.fields input {
  font-size: 1.1em;
  padding: 2px;
  display: block;
  width: 475px;
}
/*.fields .date {
  width: 200px;
}*/

.fields input.lat, .fields input.lng {
  background-color: #DDDDDD;
}

.fields textarea {
  height: 155px;
  font-size: 1.1em;
  padding: 2px;
  width: 475px;
  display: block;
}

.content td select.routeSelect {
  width: 410px;
}

.fields input.actionButton  {
  width: 65px;
  height: 40px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  display: inline;
}

.marker_icon {
  border: 2px solid blue;
  padding: 2px;
}

#buttons {
  padding-top: 5px;
}

.fields input.button  {
  width: 120px;
  height: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  display: inline;
  margin-right: 20px;
}
.fields input.button-none  {
  display: none;
}

/* POPUP in GOOGLE MAPS */
#popup-win {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: black;
}

#popup-win a {
  color: blue;
}

.msinfotitle {
  margin-top: 0.6em;
  font-size: 12pt;
  font-weight: bold;
}
.msfeatureupdater {
  font-size: 70%;
  color: gray;
}
.msdescription {
  padding-top: 0.7em;
  font-size: small;
/*  padding-bottom: 0.7em;*/
}

/* MODAL DIALOG */
#modalBackground {
  position: fixed; 
  left: 0px; 
  top: 0px; 
  z-index: 10000; 
  width: 1263px;
  height: 1230px;
  background-color: gray;
  filter: alpha(opacity=70);
  opacity: 0.7;
}

#iconSelector, #routeSelector {
  position: absolute;  
  z-index: 10001; 
}

.modalPopup {
  background-color: #ffffdd;
  color: black;
	border-width: 3px;
	border-style: solid;
	border-color: gray;
	padding: 3px;
	width: 280px;
	height: 195px;
	position: relative; 
  z-index: 2;
}
.modalPopupShadow {
  background-color: black; 
  position: absolute; 
  left: 5px; 
  top: 5px; 
  width: 292px; 
  height: 207px; 
  visibility: visible; 
  z-index: 1;
}
.modalHeading {
  border: 1px solid gray; 
  cursor: move; 
  background-color: rgb(221, 221, 221); 
  color: black;
  margin-bottom: 3px;
}
.modalPopup p {
  padding: 10px;
  margin: 0px;
}
#icon-space div {
  display: inline;
}
#icon-space div a img {
  border: 2px solid #ffffdd;
}
#icon-space div a:hover img {
  border: 2px solid blue;
}

#routeSelector_routes {
  width: 100%;
}
/*#sidebar {
	float: left;
	width: 214px;
	height: 100%;
}

#content {
	margin-left: 256px;
}

#whatsnew {
	float: left;
	width: 200px;
	height: 100%;
}

#coollinks {
	margin-left: 220px;
}

#links h4 {
	margin-top: 0;
	border-top: 1px solid #505050;
	padding-top: 1.0em;
	position: absolute;
	left: 37px;
	width: 214px;
}

dl {
	margin-top: 0;
	margin-bottom: 0;
	border-top: 1px solid #505050;
	padding-top: 1.5em;
	padding-bottom: 1.5em;
	position: relative;
}

dt {
	position: absolute;
	left: 0px;
}

dd {
	margin-left: 150px;
	padding-bottom: 10px;
/*	height: 2.0em;*
}

.buttonbar, .buttonbar-top {
	width: 686px;
	height: 36px;
	background-image: url(images/photonav.gif);
	background-repeat: no-repeat;
	margin-bottom: 5px;
	text-align: center;	
}

.buttonbar-top a, .buttonbar-top a:hover, .buttonbar-top a:active {
  text-decoration: none;
}

.buttonbar a, .buttonbar a:hover, .buttonbar a:active {
  text-decoration: none;
}

.buttonbar-top-settings {
  padding-top: 5px;
}

.buttonbar-top-settings select {
	background-color: black; 
	color: white;
}

.buttonbar-top img, .buttonbar img  {

}

.photo_count {
  color: #DBB94F;
  padding-left: 40px;
  position: relative;
  top: -15px;
}
*/


/* 3 FOOTER */

#footerbg {
	width: auto;
	height: 10px;
	text-align: center;
}
/*
.footer {
	background-image: url(images/footer.gif);
	background-repeat: no-repeat;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 20px;
	width: 770px;
	height: 50px;
	text-align: center;
	font-size: 10px;
	color: #ffffff;
}

.author, .author:hover, .author:visited, .author:active {
  text-decoration: none;
  color: white;
}

.menub {
	margin: 8px auto 2px auto;
	text-transform: uppercase;
	font-size: 10px;
}

.menub a:visited {
	color: #DBB94F;
}

*/

.error {
  color: #FF6060;
}

.logout {
  position: absolute;
  top: -69px;
  right: 0px;
}

