/**********************************************************************
 *
 * $Id: screen.css,v 1.2 2006/08/11 19:39:30 lbecchi Exp $
 *
 * purpose: css declarations for sample interface.
 *
 * author: Lorenzo Becchi and Andrea Cappuci
 *
 * additions by Paul Spencer (pspencer@dmsolutions.ca)
 *
 * TODO:
 *
 **********************************************************************
 *
 * Copyright (c) 2005, DM Solutions Group Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
 * DEALINGS IN THE SOFTWARE.
 *
 **********************************************************************/

/* 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: white;
    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: absolute;
    background-color: #f0f0f0;
    overflow: hidden;
    border-right: 1px solid rgb(212,208,200);
    border-left: 1px solid rgb(128,128,128);
    cursor: move;
    -moz-box-sizing: border-box;
    z-index: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.
 */
#toolbar {
    position: absolute;
	top:112px;	
    left:0;
    margin:0;
    text-align:left;
    padding:0;
    width: 100%;
    height: 31px;
    z-index:2;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-top: 1px solid white;
    border-bottom: 1px solid rgb(128,128,128);
    background-color:rgb(212,208,200);
    background-image: url(../../images/icon_set_explorer/back_pix.png);
    font-size:1px;

}

#toolbar img { vertical-align: middle }
#toolbar select { vertical-align: middle }

#toolbar .TextMap{ 
	vertical-align: middle;
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 222px;
	cursor:pointer;
}

/*
* Explorer
*/
#explorer{
	position: absolute;
    top:0;
    left:0;
    margin:0;
    padding:0px;
    width: 100%;
    height: 143px;
    z-index:2;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(128,128,128);
    background-color:rgb(103,153,154);
   	color:white;
 	background-image: url(../../images/GISAmbiente/testata.jpg);
    background-repeat: no-repeat;
    background-position: left top;
}

/* this is used to provide a semi-transparent background on divs that contain
 * fully opaque tools.  To use, put <div class="transparentBackground"></div>
 * inside an element that you want to have a semi-transparent background.
 */
#toolbarBackground {
    width: 100%;
    height: 30px;
}

#ShowHideHeader{
	margin-top: 2px;
/*	margin: 3px 10px 0px 5px;	*/
	cursor:pointer;
}

#scaleBackground {
    width: 100%;
    height: 100%;
}

#geoPositionBackground {
	 width: 100%;
    height: 100%;
}

div .transparentBackground {
    position:absolute;
    top:0px;
    left:0px;
    background-color: #eee;
    filter:alpha(opacity=75); 
    -moz-opacity:0.75;
    opacity:0.75; 
    z-index: -1;
}

#keymap {
    position: relative;
   	bottom:0px;
    padding:0px;
    overflow: hidden;
    filter:alpha(opacity=100);/*trick to prevent IE opacity bug*/
    z-index: 4;
    border: 1px solid #999;
    margin-bottom:20px;
    margin-left:auto;
    margin-right:auto;
}

#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 */


#geoPosition,#geoExtent {
    padding:0px;
    margin: 2px;
    margin-left:4px;
    font-size:8pt;
	font-family:"Courier New", Courier, monospace;
    color: #333333;
	word-spacing:-6px;
}

#legend {

    position: relative;
   /* width:254px;*/
    padding:0px;
    margin: 0px;
    /*overflow:auto;*/
}

#print {

    position: absolute;
    width:254px;
/*    top:2500px;	*/
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#search {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#mapInfo {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#mapLegend {

    position: absolute;
    width:325px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#link {

    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}


#identifier {
	position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

/*
#wms {
    position: absolute;
    width:254px;
    padding:0px;
    margin: 0px;
    overflow:auto;
    background-color:white;
}

#wms td{font-size:10px;}
#wms input{font-size:11px;}
*/
#scale {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    position: relative;
    padding:0px;
    width: 250px;
    text-align: center;
    margin-top: 48px;
}

/* select scalse */
#scales {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 110px;
}
/* select maps */
#maps {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 250px;
}

/*
#scalebar {
    margin-bottom: 20px;
    margin-top: 20px;
}
*/

#scaleReference {
	position:absolute;
	z-index:2;
	right:0px;
	bottom:0px;
    padding:0px;
    border: 1px solid #999;
    height: 35px;
    width:200px;
}

#geoPositionReference {
	position:absolute;
	z-index:2;
	margin:4px;
/*	margin-right:auto;
	margin-left:auto;	*/
    padding:0px;
    border: 1px solid #999;
	width:260px;
}
/* SEARCH SYSTEM */

/* CLASSES */

.label {
    font-family: arial;
    font-size: 11px;
    font-weight: normal;
}
.value {
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
}

.separator {
	margin-right:3px;
	margin-left:3px;
}

.ListView{
	cursor:pointer;
}

.kmTitle {
	position:relative;
	font-family: Arial, Helvetica, sans-serif;
    font-size:15px;
	font-style:italic;
    font-weight: bold;
	margin-left:530px;
	margin-right:10px;
	color:#960000;
	height:36px;
	text-align:right;
	margin-top:28px;	
}

.kmSubtitle{
	position:relative;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
	font-style:italic;
	font-weight: bold;
	margin-left:300px;
	margin-right:10px;
	color:rgb(150,0,0);
	height:18px;
	text-align:right;
}

.minimenu {
	position:absolute;
	top:0px;	
	right:15px;
	color:black;
	font-weight: bold;
	font-family: Times, sans-serif;
	text-transform: uppercase;
    font-size: 16px;
}
.minimenu a {
	color:black;
}
.minimenu span {
	margin-left:10px;
}

/* HTML TAGS */
input {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
}

select {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    width: 200px;
}

label {
	display:block;
	margin-top:15px;
}
a { 
    text-decoration: none; 
    font-family: arial;
    font-size: 10px;
    color: #000033;
}

hr {
	border:0;
	border-top: 1px solid white;
    border-bottom: 1px solid rgb(128,128,128);
    background-color:rgb(212,208,200); 
    height:3px;   
}

a:link {}
a:hover {}
a:active {}
a:visited {}


/* OTHERS */


#kaLogo {
    position: absolute;
    left: 6px;
    top: 3px;
    z-index: 2;
}

#kaLogo a {
    color:rgb(0,0,0);
}

.kaLegendTitle {  
    padding: 2px;
    padding-bottom:10px;
    font-size: 10px;
    font-weight: bold;
	/*border:1px solid red;*/
}

.kaLegendGroup {  
    font-size: 11px;
	/* border:1px solid blue; */
}

.kaLegendGroupTitle {  
	font-weight:bold;
	color:#960000;
	cursor:pointer;
	padding-top:3px;
	padding-bottom:3px;
	/* border:1px dashed green; */
	white-space:nowrap;
}
.kaLegendGroupContainer {  
	padding-left: 20px;
	/* border:1px dashed black; */
}

.kaLegendLayer  {
/*    border-top: 1px solid rgb(212,208,200); 	*/
    padding: 1px 0px 1px 0px;	
/*    padding-top:2px;	*/
/*    padding-bottom:2px;	*/
    font-size: 10px;
    cursor:pointer; 
    /* border:1px solid green; */
}

.kaLegendHighLightLayer  {
/*    border-top: 1px solid rgb(212,208,200); 	*/
    padding: 1px 0px 1px 0px;	
/*    padding-top:2px;	*/
/*    padding-bottom:2px;	*/
    font-size: 10px;
    cursor:pointer; 
/*    border:1px solid red;	*/
    font-style:italic;
    color:#00f6f6;
    font-weight:bold;
}

.kaLegendWmsLayer  {
/*    border-top: 1px solid rgb(212,208,200); 	*/
    padding: 1px 0px 1px 0px;	
/*    padding-top:2px;	*/
/*    padding-bottom:2px;	*/
    font-size: 10px;
    cursor:pointer; 
/*    border:1px solid red;		*/
    font-style:italic;
    color:#FF00CC;
    font-weight:bold;
/*    margin-top:10px	*/
}

.kaLegendWfsLayer  {
/*    border-top: 1px solid rgb(212,208,200); 	*/
    padding: 1px 0px 1px 0px;	
/*    padding-top:2px;	*/
/*    padding-bottom:2px;	*/
    font-size: 10px;
    cursor:pointer; 
/*    border:1px solid red;		*/
    font-style:italic;
    color:#7700CC;
    font-weight:bold;
/*    margin-top:10px	*/
}

.kaLegendLayerOff  {
/*    border-top: 1px solid rgb(212,208,200); 	*/
/*    padding: 1px 0px 1px 0px;		*/
/*    padding-top:2px;	*/
/*    padding-bottom:2px;	*/
/*    font-size: 10px;	*/
/*    cursor:pointer; 	*/
    /* border:1px solid green; */
	color:#BBB;
	/* background-color:#EEEEEE; */
}

.kaLegendLayerOn  {
	background-color:#D7EFFB; /* 0066FF */
}

.kaLegendLayerOver  {
	background-color:#F4F5FF;
}


#contributors {
    display: none;
}

/* 
 	KA-EXPLORER LAYOUT
*/
#page {
	position: absolute;
	left:0;
	top:0;
}

#layoutFrame {
	position: absolute;
	border-top:0px;
    border-bottom: 1px solid rgb(128,128,128);
    font-family:Verdana, serif;
}

#service {
	position:absolute;
	width:329px;
	overflow:hidden;
	border:0px;
	border-right: 3px solid rgb(212,208,200);
    border-left: 1px solid rgb(128,128,128);
    border-bottom: 1px solid rgb(212,208,200);
}

#curtain {
	position:absolute;
	top:0px;
	left:0px;
	z-index:4;
	width:600px;
	height:2000px;
	background-color:white;
	text-align:left;
}

#content {
    position: absolute;
    overflow: hidden;
    border: 1px solid rgb(128,128,128);
    -moz-box-sizing: border-box;
    top:5000px;
    z-index:0;
	display:none;
}

#contentButton {
    position: absolute;
    right:12px;
    top:9px;
    
    filter:alpha(opacity=75); 
    -moz-opacity:0.75;
    opacity:0.75; 
}

#contentBackground {
	 width: 100%;
    height: 60px;
}
#contentText {
	overflow: auto;
	position:absolute;
	top:30px;
	left:15px;
	border: 1px solid rgb(212,208,200);
}

#faologo {
	position:absolute;
	right:0;
	top:0;
}
#povertylogo {
	position:absolute;
	left:0;
	top:0;
}

#page h1,#page h2,#page h3{
	text-align:left;
	font-size:12pt;
	margin:4px;
	margin-bottom:15px;
	color:rgb(20,20,40);
}
#page h4,#page h5,#page h6{
	text-align:left;
	font-size:10pt;
	margin:4px;
	margin-bottom:8px;
	color:rgb(20,20,40);
}

#page p{
	margin:4px;
	font-size:10pt;
}
#page form{
	margin:4px;
	font-size:10pt;
}


#data th {
    border:1px solid black;
    font-size:8pt;
    padding:2pt;
    background: rgb(170,170,170);
    color: white; 
    font-weight:bold;  
}

#data td {
    border-bottom:1px solid black;
    font-size:8pt;
    padding:2pt;
}

#link a {
	margin-left:10px;
	font-size:10pt;
	text-decoration:underline;
}
#link a:hover {
	text-decoration:none;
}

/**************************************************/
.MapsList{
	border:1px solid rgb(128,128,128);
	background-color:rgb(212,208,200);
	-moz-box-sizing: border-box;
	z-index:0;
	position:absolute;
	width:400px;
	margin:40px 0px 0px 10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	color:black;
	padding:2px;
}
.MapsList #MapListTitle{
	float:left;
}
.MapsList #MapListClose{
	float:right;
	cursor:pointer;
}

.MapsList #MapsListContent{
	clear:both;	
	height:350px;
	border:1px inset white;
	background-color:#FFF;
	overflow:auto;
	font-size:12px;
	padding:4px;
	width:390px;
}

.MapListElement{
/*		border:1px dashed green;	*/
	white-space:nowrap;
	cursor:pointer;
}
.MapListElementOver{
	background-color:#F4F5FF;
}
.MapListElementSelected{
	font-weight:bold;
}

