/******************************************************* 
 * STYLE FOR TOC/LEGEND  
 *******************************************************/

#toc, #toclegend {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    overflow:auto; 
    z-index:2;
    background-color: #FFFEF3;
}

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

#tocTabs {
    /*position:absolute;
    top:0px;
    left:0px;*/
    display:block;
    height:40px;
    width:100%;
}

#autoRefreshButton {
    height:30px;   
    display:block; 
}

/* Buttons used in TOC and legend */
#legbutton {
    margin: 3px 0px 5px 0px;
    width: 100%; 
    height: 22px;
}


/* TOC layer classes  */
li.toc-layer-classes {
    background-color: transparent;
    background-repeat: no-repeat;
    background-attachment:scroll;
    background-position: 5px 2px;
}

li.toc-layer-classes div{
    display:inline;
    white-space: nowrap;
}

li.toc-layer-classes span{
    display:inline;
    white-space: nowrap;
    padding-left:5px;
}




.cat-label {
    font-weight: bold;
    padding-bottom:2px;
    vertical-align:top;
}

.grp-title {
    vertical-align:middle;
    padding-bottom:10px;
}

.treeview input{
    /*height:12px;*/
    /*margin:0px 2px 0px 2px;*/
}


/*** Links: eg. open/close nodes ***/
.toc A, .cat A {
    color: #000000;
    text-align: left;
    text-decoration: none;
}

.toc A:hover, .cat A:hover {
	text-decoration: underline;
}

.toc A:visited {
	color: #000000;
}


/* Text Color for visible layers */
.vis {
    color: #000000;
}
/* Text Color for unvisible layers (not visible at current scale)*/
.unvis {
    color: #999999;
}



/**** BUTTONS  ****/
.toc .button_on {
    color: #000000;
    background-color : #003366;
    text-align: center;    
    border: 1px solid #FFFFFF;
    width: 50%;
}
.toc .button_off {
    background-color : #EBEBEB;
    text-align: center;
    border: 1px solid #003366;
    width: 50%;
}


/**** STYLE FOR TOC/LEGEND ITEMS ****/
.legtab  {
    margin: 2px 3px 2px 3px;
}

.legtab IMG {
    margin-top: 2px;
}


/**
 * Tabs for TOC/Legend and legendStyle 'swap'
 */
.pm-tabs {
    list-style: none;
    margin: 0;
    padding: 0px 0px 0px 2px;
    width:100%;
    padding-top:2px;
}

.pm-tabs ul {
    display: inline;
}

.pm-tabs li {
    float: left;
    margin: 0px 0px 0px 0px;
} 

.pm-tabs div {
    text-align:center;
    display: block;
    border: 1px solid #999999;
    border-top: none;
    z-index: 2;
    padding: 6px 4px 3px 4px;
    color: #666666;
    text-decoration: none;
    font-weight: bold;
    background-color: #f5f5f5; 

    cursor: pointer; 
    border-bottom: 1px solid #000000;
}
div.pm-tabs-selected {
    color: #000000;
    padding-bottom: 3px;
    padding-top: 5px;
    background: transparent;
    border-bottom: none;
    border-top: 1px solid #999999;
    margin:0px;

}



