/**********************************************************************
 *
 * $Id: screen.css,v 1.4 2006/08/25 08:03:48 lbecchi Exp $
 *
 * purpose: css declarations for sample interface.
 *
 * purpose: This is the sample ka-Map interface.  Feel free to use it 
 *          as the basis for your own applications or just to find out
 *          how ka-Map works.
 *
 * author: Lorenzo Becchi and Andrea Cappugi (www.ominiverdi.org)
 *
 * ka-Explorer interface has been developer for Food and Agriculture 
 * Organization of the United Nations (FAO-UN)
 * 
 *
 **********************************************************************
 *
 * Copyright (c) 2006 Food and Agriculture Organization of the United Nations (FAO-UN)
 *
 * 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-left: 1px solid rgb(126,147,170);
    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 {
    margin:0;
    padding : 0 0 5px 0;
    text-align:left;
    width: 100%;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    
    
    
    font-size:1px;
}

#toolbar img { vertical-align: middle }
#toolbar select { vertical-align: middle }

/*
* Explorer
*/
#explorer{
    margin-top:0;
    padding-top:0px;
    width: 100%;
    height: 50px;
    z-index:2;
    cursor: auto;   
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid rgb(126,147,170);
    background-color:rgb(255,255,255);
   
    color:white;
    
    background-image: url(../gfx/grb_kg.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    
    
    overflow: hidden;
}

/* 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;
}

#scaleBackground {
    width: 100%;
    height: 60px;
}

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

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 #7e93aa;
    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:13px;
    font-size:7pt;
    color: #333333;
    
}

#legend {

    position: relative;
   /* width:254px;*/
    padding:0px;
    margin: 0px;
    /*overflow:auto;*/
}

#print {

    position: absolute;
    width:254px;
    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:254px;
    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;
}

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

/*
#scalebar {
    margin-bottom: 20px;
    margin-top: 20px;
}
*/

#scaleReference {
	position:absolute;
	z-index:2;
	right:0px;
	bottom:0px;
    padding:0px;
    border: 1px solid #7e93aa;
    height: 35px;
    width:200px;
}

#geoPositionReference {
	position:relative;
	margin:4px;
	margin-right:auto;
	margin-left:auto;
    padding:0px;
    border: 0px solid #7e93aa;
    
}


/* SEARCH SYSTEM */




/* CLASSES */

.label {
    font-family: arial;
    font-size: 11px;
    font-weight: normal;
}
.value {
    font-family: arial;
    font-size: 11px;
    font-weight: bold;
}
.blue {
    font-family: arial;
    font-size: 12px;
    font-weight: bold;
    color: #7d92a9;
}

.orange {
    font-family: arial;
    font-size: 12px;
    font-weight: bold;
    color: #e68e03;
}

.separator {
	margin-right:3px;
	margin-left:3px;
}


.kmTitle {
	position:relative;
	top:10px;
	display:inline;
    font-family: Times, sans-serif;
    font-size: 20px;
    font-weight: bold;
	font-variant: small-caps;
	margin-left:70px;
	color:black;
}

.kmSubtitle{
	position:relative;
	display:inline;
	font-family: Verdana, sans-serif;
    font-size: 16px;
	margin-left:20px;
	top:10px;
	color:rgb(30,30,40);
}

.minimenu {
	position:absolute;
	top:5px;
	right:15px;
	color:white;
	font-weight: bold;
	font-family: Verdana, sans-serif;
	text-transform: uppercase;
        font-size: 16px;
}
.minimenu a {
	color:white;
}
.minimenu span {
	margin-left:10px;
}



/* HTML TAGS */
input,textarea,select {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    border: 1px solid #7d92a9;
}

input.but {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    border: 1px solid #5e758e;
    background-color: #7d92a9;
    color: #fff;
}

button {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
    border: 1px solid #5e758e;
    background-color: #7d92a9;
    color: #fff;
}

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

label {
	display:block;
	margin-top:15px;
}
a { 
    text-decoration: underline; 
    font-family: Verdana,Helvetica,Arial,sans-serif;
    font-size: 12px;
    color: #666666;
    
}

hr {
	border:0;
	border-top: 1px solid white;
    
    background-color: #7e93aa; 
    height:2px;   
}

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: 13px;
    font-weight: bold;
}

.kaLegendLayer  {
    padding: 2px;
    padding-top:7px;
    padding-bottom:7px;
    font-size: 12px;
}

.kaLegendBase  {
    margin : 3px;
    border: 1px solid #7e93aa; 
    padding: 2px 2px 2px 0;
    padding-top:7px;
    padding-bottom:7px;
    font-size: 12px;
}

#contributors {
    display: none;
}

/* 
 	KA-EXPLORER LAYOUT
*/
#page {
	position: absolute;
	left:0;
	top:0;
	
	
    overflow: hidden;
}
#layoutFrame {
	position: absolute;
    border-top: 1px solid rgb(126,147,170);
    border-bottom: 1px solid rgb(128,128,128);
    font-family:Verdana, serif;
}



#service {
	position:absolute;
	width:254px;
	overflow:hidden;

}



#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;
}

#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{
	font-family: Georgia, Arial;
	text-align:left;
	font-size:15pt;
	margin:4px;
	margin-bottom:15px;
	color:rgb(125,146,169);
	font-weight:normal;  
}
#page h4,#page h5,#page h6{
	font-family: Georgia, Arial;
	font-weight:normal;
	text-align:left;
	font-size:11pt;
	margin:4px;
	margin-bottom:8px;
	color:rgb(230,142,3);
}

#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;
}
.ql {cursor : pointer;}

#balloon { position:absolute;left:-10000px; top:-10000px; width:300px;height:240px;z-index : 500;}
#balloonHTML {
    font-size : 12px;
    background-color: #ffffff;
    overflow : auto; 
    position : absolute; 
    left : 20px;
    top : 20px;
    width : 260px;
    height : 180px;
    z-index : 500;
} 

.bln_tb {z-index : 500;background-color:#fff;position:absolute;left:40px;top:0;width:220px;height:40px;border-top:1px #8a8989 solid;}
.bln_bb {z-index : 500;background-color:#fff;position:absolute;left:76px;top:326px;width:184px;height:46px;border-bottom:1px #8a8989 solid;}
.bln_lb {z-index : 500;background-color:#fff;position:absolute;left:0;top:40px;width:40px;height:290px;border-left:1px #8a8989 solid;}
.bln_rb {z-index : 500;background-color:#fff;position:absolute;left:260px;top:40px;width:39px;height:290px;border-right:1px #8a8989 solid;}

.bln_cl {z-index : 500;position:absolute;left:270px;top:10px;width:20px;height:17px;overflow:hidden;cursor:pointer;z-index:2000;}
.bln_tl {z-index : 500;position:absolute;left:0;top:0;width:40px;height:40px;overflow:hidden;}
.bln_bl {z-index : 500;position:absolute;left:0;top:330px;width:80px;height:80px;overflow:hidden;}
.bln_tr {z-index : 500;position:absolute;left:260px;top:0;width:40px;height:40px;overflow:hidden;}
.bln_br {z-index : 500;position:absolute;left:260px;top:330px;width:40px;height:46px;overflow:hidden;}

div.ruler_box {
    margin : 0 0 10px 0;
    position : relative;
    width : 230px;
    padding : 5px 0 5px 5px;
}
div.ruler_box_selected {
    background-color : #df4729;
}
div.ruler_box_import {
    background-color : #aeaf20;
}
div.ruler_infobox {
    width : 1px;
    font-size : 10px;
}
div.ruler_controlbox {
    text-align : right;
    width : 100px;
}
.ruler_control {
    cursor : pointer;
}
.ruler_drawbox {
    border : 1px #666 dotted;
    cursor : pointer;
}

.fl {float : left;}
.fr {float : right;}

#ulice_searchres, #parcele_searchres {
    overflow : auto;
}
#zoomslider_div {
    z-index : 10000;
    position : absolute;
    height:200px;
    width: 27px;
    left : 5px;
    top : 5px;
    background-image: url(../images/slider/slider_bg.gif);
    display : none;
    filter:alpha(opacity=80);
    -moz-opacity:0.8;
    opacity:0.8;
}
#zoomslider {
    height: 140px;
}
#zoomslider_scale {
    position: absolute; 
    margin-top:30px;
    z-index: 1; 
    width: 100%; 
    height: 11px; 
    top: 0px;
    background-image: url(../images/slider/ss.gif);
}
.zoomplus {
    height:30px;
    background: no-repeat center center url(../images/slider/plus.gif);
}
.zoomminus {
    height:30px;
    background: no-repeat center center url(../images/slider/minus.gif);
}
.legendLink {text-decoration : none;}
