/* www.dafmap.de CSS styles. rg 6/26/10 + see below */
/* #004 10/29/14 + infoWindow.minwidth */
/* #003 9/6/11 + otherdmmenu */
/* #002 3/2/11 + .dmbannerright: text-align:right; */

/*--------------------------------------------------------------*/
/*--- general styles */
/*--------------------------------------------------------------*/

body 
{
  font-family: Arial,Helvetica,sans-serif;
  font-size: 9pt;
  color: #000000;
  background-color: #eaeaea;
  opacity: 1;
}

a:link
{ font-weight: bold;
  color: #000000;
}

a:visited 
{ color: #000000;
  font-weight: bold;
}

a:hover 
{ color: #000000;
  font-weight: bold;
  background-color: #b4b4b4;
}

/*--------------------------------------------------------------*/
/* main document elements */
/*--------------------------------------------------------------*/

/* header of the page: contains banner and navigation */

#dmhead
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

/* banner contains the page title and subtitle */

#dmbanner
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 75%;
  height: 60px;
  overflow: hidden;
  background-color: #4d4d4d;
  color: #ffffff;
  overflow: hidden;
}

#dmbanner a:link { color: #ffffff; }
#dmbanner a:visited { color: #ffffff; }

.dmbannerleft
{
  float: left;
  font-size: 14pt;
}

.dmbannerright
{
  float: right;
  font-size: 9pt;
  text-align: right;  /* #002 */
}

/* #003 floating menu to jump to other dafmap maps. hidden by default */

#otherdmmenu
{
  position: absolute;
  display: none;
  padding: 4px 8px 4px 16px;
  font-size: 9pt;
}

#otherdmmenu a:link, #otherdmmenu a:visited
{
  margin-right: 4px;
  padding: 1px 4px 1px 4px;
  background-color: #ffffff;
  color: #4d4d4d;
  text-decoration: none;
}

#otherdmmenu a:hover, #otherdmmenu a:active
{
  background-color: #da8f1f;
  color: #4d4d4d;
}

/* navigation contains the navigation elements */

#dmnavigation
{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 25%;
  height: 60px;
  border-left: 1px solid #ffffff;
  background-color: #da8f1f;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
}

/* body frame: contains the main information, such as dmmap and dmwork */

#dmbody
{
  position: absolute;
  top: 61px;
  left: 0px;
  width: 100%;
  height: 90%; /* initial value. has to be set to pixels dynamically */
  border-top: 1px solid #ffffff;
  overflow: hidden;
}

/* documentation div, scrollable */

#dmdoc
{
  height: 100%;
  border-left: 1px solid #ffffff;
  padding: 8px 8px 8px 16px;
  overflow: auto;
  font-size: 12pt;
}

#dmdoc li
{
  padding: 4px 0px 4px 4px;
}

/* the map div */

#dmmap
{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 75%;
  height: 100%;
  overflow: hidden;
}

/* work frame: contains dmlist, query/filter forms etc. */

#dmwork
{
  position: absolute;
  top: 0px;
  right: 0px;
  width: 25%;
  height: 100%;
  border-left: 1px solid #ffffff;
  overflow: auto;
}

/* list of projects should always go into an own div or ul */

#dmlist
{
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: inherit;
}

#dmlist > li
{
  padding: 6px 0px 6px 8px;
}

/* edit div above #dmlist */

#dmedit
{
  margin: 0;
  padding: 6px 0px 0px 8px;
  overflow: inherit;

  /* initially hidden */
  display: none;
}

/*--------------------------------------------------------------*/
/* #dmhead elements */
/*--------------------------------------------------------------*/

.dmheadindent
{
  padding-left: 15px;
  padding-top: 15px;
  padding-right: 15px;
}

/*--------------------------------------------------------------*/
/* #dmlist elements */
/*--------------------------------------------------------------*/

/* title of project list */

.titleli
{
  display: inline;
  font-weight: bold;
  cursor: pointer;
}

/* short description of a project list item */

.shortli
{
  font-size: 9pt;
  cursor: pointer;
}

/* long description of a project list item */

.longli
{
  font-size: 9pt;
  /* initially hidden */
  display: none;
}

/* Class to create the toggling background color of the project list */

.stripe
{
  background-color: #dddddd;
}

/* selected (= expanded) project list item */

.expandedli
{
  background-color: #da8f1f;
}

.expandedli .titleli
{
  font-weight: bold;
}

/* hide filtered elements */

.filtered
{
  display: none;
}

/*--------------------------------------------------------------*/
/* #dmedit edit box elements */
/*--------------------------------------------------------------*/

#dmedit > #eerror
{
  margin-bottom: 8px;
  color: red;
  font-size: 9pt;
  display: none;
}

#dmedit #zipsuggestions #list
{
  cursor:pointer;
}

#dmedit #zipsuggestions #list div:hover
{
  background-color: #b4b4b4;
}

.ebox
{
  margin: 6px 0px 0px 0px;
  width: 90%;
}

.ebox .elabel
{
  padding: 0px;
  padding-top: 2px;
  font-size: 8pt;
}

.ebox input,textarea
{
  width: 95%;
  padding: 0px;
  border: none;
  border-bottom: 1px solid #bbbbbb;
  background-color: #dddddd;
  font-size: 9pt;
}

.ebox [name=name]
{
  font-weight: bold;
}

.ebox [name=zip]
{
  width: 25%;
}

.ebox [name=city]
{
  width: 65%;
}

/*--------------------------------------------------------------*/
/* #dmsearch elements */
/*--------------------------------------------------------------*/

#dmsearch
{
  font-size: 9pt;
}

#dmsearch input,textarea
{
  margin: 0px;
  border: 1px solid #ffffff;
  background-color: #dddddd;
  padding: 1px;
}

.dmsoff
{
  opacity: 0.3;
}

/*--------------------------------------------------------------
  map elements
  Note: marker titles (tooltips) must be plain text only, no html
/*--------------------------------------------------------------*/

.infowindow
{
  min-width: 200px;
  font-size: 80%;
}

.ffm1926
{
  /* initial opacity of 1926 overlay map tiles is 0 */
  opacity: 0.0;
}

.mapControlTitle
{
  overflow-x: hidden;
  overflow-y: hidden;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 160%;
  padding-top: 0px;
  padding-right: 6px;
  padding-bottom: 0px;
  border-top-left-radius: 2px 2px;
  border-top-right-radius: 2px 2px;
  border-bottom-right-radius: 2px 2px;
  border-bottom-left-radius: 2px 2px;
  direction: ltr;
  text-align: left;
  color: black;
  border: 1px solid rgb(169, 187, 223);
  padding-left: 6px; 
  font-weight: bold; 
  background-color: rgb(243, 243, 243);
  background-attachment: initial; 
  background-origin: initial; 
  background-clip: initial; 
  background-color: initial; 
  background-position: initial initial; 
  background-repeat: initial initial;
  cursor: pointer;

  /* webkit specific */
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(254, 254, 254)), to(rgb(243, 243, 243))); 
  -webkit-user-select: none;
  -webkit-box-shadow: rgba(0, 0, 0, 0.347656) 2px 2px 3px;
  /* mozilla specific */
  -moz-user-select: none;
  -moz-user-select: none;
  background: -moz-linear-gradient(center top , rgb(254, 254, 254), rgb(243, 243, 243)) repeat scroll 0% 0% transparent;
  border-radius: 2px 2px 2px 2px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
}

.mapControlList
{
  z-index: 1000;
  padding-top: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-color: rgb(169, 187, 223);
  border-bottom-color: rgb(169, 187, 223);
  border-left-color: rgb(169, 187, 223);
  border-top-width: 0px;
  border-top-style: initial;
  border-top-color: initial;
  position: relative;
  text-align: left;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35); 
  background-color: white;
  cursor: pointer;
  display: none;
/* webkit stuff */
  -webkit-box-shadow: rgba(0, 0, 0, 0.34375) 2px 2px 3px;
/* mozilla stuff */
  border-color: -moz-use-text-color rgb(169, 187, 223) rgb(169, 187, 223); 
  -moz-border-top-colors: none; 
  -moz-border-right-colors: none; 
  -moz-border-bottom-colors: none; 
  -moz-border-left-colors: none; 
  -moz-border-image: none; 
}

.mapControlEntry
{
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 160%;
  padding-top: 0px;
  padding-right: 6px;
  padding-bottom: 0px;
  padding-left: 6px;
  color: black;
  font-weight: normal;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
/* webkit stuff */
  -webkit-user-select: none;
/* mozilla stuff */
  -moz-user-select: none;
}

.mapControlEntry:hover { background-color: rgb(238, 238, 255); }
