/* img elements with a class of png24 will have the png24 filter hack applied
 * in IE browsers only.  To make this work, images MUST have a width and height
 * specified.  The minimum tag required is:
 *
 *     <img class="png24" src="<url>" width="xx" height="xx">
 */
img.png24 { filter:expression(applyPNGFilter(this)) }

/* this is a full screen app.  Make sure that overflow is hidden so we don't
 * get scrollbars
 */
body {
    margin: 0px;
    padding: 0px;
    background-color: #fff;
    overflow: hidden;
}

/* the viewport contains the map and fills the screen.  The viewport can also
 * contain other elements and they appear inside the viewport on top of the map
 * which is what is done with this application.
 */
#viewport {
    position: relative;
    background-color: #fff;
	/*    overflow: hidden; */
    border: 1px solid #999;
    cursor: move;
   -moz-box-sizing: border-box; 
}

form {
  margin:0;
  padding:0;
}

/* The toolbar contains the tools for changing maps and various navigation
 * and query options.  In this app, we put the toolbar at the top by making it
 * the first thing in the page.
 */
#tools
{
 position:absolute;
 top: 2px;
 left: 2px;
 width: 250px;
 height: 20px;
 cursor: pointer;
 border: 1px solid #999;
 z-index:30;
}
#toolbar {
    position: absolute;
	top: 2px;
    left: 2px;
    margin:0;
    padding:2px 0 0 0;
    width: 280px;
    height: 24px;
    z-index:2;
  /*  background-color: #eee; */
    border: 1px dotted #ccc;
    text-align:center;
	
}

#toolbar img { vertical-align: middle }
#toolbar select {
   vertical-align: middle;
   width:90px;
}

div.transparentBackground {
    position:relative;
    top:0px;
    left:0px; 
    background-color: #eee;
    filter:alpha(opacity=75); 
    -moz-opacity:0.75;
    opacity:0.75; 
    z-index: -1;
}

#keymap {
    position: relative;
    padding:0px;
    top:0;
    overflow: hidden;
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
    z-index: 2;
    text-align:left;
    border: 1px solid #999;
}

#keymap div {
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
}

#keymap img {
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
}

#reference {
    padding:0;
    width: 250px;
    height: 98%; 
    position: absolute;
    right: 5px;
    top: 3px;
    bottom:3px;
    z-index: 2;
    cursor: auto;
    overflow:hidden;
    text-align:left;
    border: 1px solid #ddd;
    background-color: #eee;
}

#qscale {
    padding:0;
    width: 150px;
	height: 25px;
    position: absolute;
    left: 5px;
    top: 3px;
    bottom:3px;
    z-index: 2;
    cursor: auto;
    overflow:hidden;
    text-align:left;
   /* border: 2px solid #bbb; */
    background-color: #eee;
}
#onetooldiv {
	width:20px;
	height:25px;
	position:absolute;
	top:3px;
	left:165px;
}

#legend {
    position: relative;
    width: 250px;
    height: 230px;
    overflow: auto;
    padding:0px;
/*    background-color: #eee; */
    margin: 0px;
    border: none; 
}

#scale {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    position: relative;
    padding:0px;
    width: 250px;
    text-align: center;
    margin-top: 35px;
    z-index:10;
}

#scaleReference {
    width:99%;
    padding:0px;
    border: 1px solid #999;
    height: 50px;
    background-color: #eee;
    z-index:10;
}
#scalebar{
    z-index:10;
}

#refToggler {
    position:absolute;
    bottom: 1px;
    right: 255px;
    width: 14px;
    height: 14px;
    background-image: url(../_kamap/htdocs/images/ar_down.png);
    background-repeat: no-repeat;
    cursor: pointer;
    z-index:50;
}

/* CLASSES */

.label {
    font-family: arial;
    font-size: 11px;
    font-weight: normal;
}

.transp {
    filter:alpha(opacity=85); 
    -moz-opacity:0.85;
    opacity:0.85; 
}

.transp1 {
    filter:alpha(opacity=65); 
    -moz-opacity:0.65;
    opacity:0.65;   
}
/* HTML TAGS */
.value {
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
}

input {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
}

select {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 150px;
}

a { 
    text-decoration: none; 
    font-family: arial;
    font-size: 10px;
    color: #000033;
}

.kmTitle {
    font-family: Verdana, sans-serif;
    font-size: 16px;
    font-weight: bold;
	font-variant: small-caps;
}

a:link {}
a:hover {}
a:active {}
a:visited {}


/* OTHERS */

.kaLegendTitle {
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #666666;
    border-right: 1px solid #666666;
    padding: 2px;
    font-family: arial;
    font-size: 12px;
    font-weight: bold;
}

.kaLegendLayer {
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #666666;
    border-right: 1px solid #666666;
    padding: 2px;
    font-family: arial;
    font-size: 12px;
}

#contributors {
    display: none;
}

table {
  font-family: verdana, arial, sans-serif;
  font-size:11px;
  
}

p {
  margin:0;
  padding:0;
  font-family: verdana, arial, sans-serif;
  font-size:11px;
}

#geoPositionBackground {
	width: 100%;
    height: 30px;
}

#geoPosition,#geoExtent {
    padding:0px;
    margin: 0px;
    text-align:center;
    margin-left:13px;
    font-family: verdana, arial, sans-serif;
    font-size:10px;
    color: #333333;
}

#selectmap select {
    width:160px;
    vertical-align: middle;
    font-weight:bold;
}

#selectmap {
    position: relative;
    left:25px;
    width: 180px;
    height: 25px;
    overflow: hidden;
    padding:0px;
    text-align:center;
    background-color: #ddd;
    margin: 0px;
    border: 1px solid #999; 
    z-index:10;
}
