/**********************************************************************
 *
 * $Id: screen.css,v 1.6 2007/05/14 17:48:35 kokamoto 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:49px;  /* modify this to adjust HEADER height */
    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_townsquare/back_pix.png);
    
    font-size:1px;
}

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

/*
* Explorer
*/
#explorer{
    position: absolute;
    top:0;
    left:0;
    margin:0;
    padding:0px;
    width: 100%;
    height: 80px; /* modify this to adjust HEADER height - this should be #toolbar.top + #toolbar.height */
    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(81,83,154);
   
    color:white;
    
    
    background-image: url(../../images/icon_set_townsquare/sfumato-top.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;
}

#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 #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: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 #999;
    height: 35px;
    width:200px;
}

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


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


.kmTitle {
    position:relative;
    top:10px;
    display:inline;
    font-family: Verdana, sans-serif;
    font-size: 20px;
    font-weight: bold;
    font-variant: small-caps;
    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: Times, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}
.minimenu a {
    color:white;
}
.minimenu span {
    margin-left:10px;
}

*/

.minimenu {
    position:absolute;
    top: 133px;
    right: 15px;
    font-weight: bold;
    font-family: Times, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    z-index: 10;
}
.minimenu a {
    color: black;
    text-decoration: underline;
}

.minimenu2 {
    position: fixed;
    left: 370px;
    bottom: 13px;
    font-weight: bold;
    font-family: Times, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
}
.minimenu2 a {
    color: black;
    text-decoration: underline;
}

#map_help {
    font-weight: bold;
    font-family: Times, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    color: black;
    text-decoration: underline;
    padding: 0em 1em;
}






/* HTML TAGS */
input {
    font-family: arial;
    font-size: 12px;
    font-weight: normal;
}

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

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: fixed;
    left: 275px;
    bottom: 10px;
    z-index: 2;
}

#kaLogo a {
    color:rgb(0,0,0);
}

.kaLegendTitle {  
    padding: 2px;
    padding-bottom:10px;
    font-size: 13px;
    font-weight: bold;
}

.kaLegendLayer  {
    border-top: 1px solid rgb(212,208,200); 
    padding: 2px;
    padding-top:7px;
    padding-bottom:7px;
    font-size: 12px;
}

#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:254px;
    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;
}

#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 li {
    font-size:8pt;
}
#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;
}
