/*
 * Site-wide styles
 */

body {
    background-image: url("/images/map-background.jpg") !important;
	font-family: "Arial Unicode MS", "Lucida Grande", "Lucida Sans Unicode", Code2000,  Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
}

h1 {
	font-size: 24px;
	font-weight: bold;
    padding: 5px;
}

h2 {
	font-size: 20px;
	font-weight: bold; 
    margin: 15px;
}

h3 {
	font-size: 16px;
	font-weight: bold;
    padding: 5px;
}

h4 {
	font-size: 14px;
	font-weight: bold;
    padding: 5px;
}

p {
    margin: 10px 10px 10px 0;
	text-align: left; 
}

dd {
	padding-left: 2em;
}

.info {
    color: #000077;
    font-size: 9px;
    font-weight: bold;
}

.x-action-col-icon {
    margin-left: 2px;
    margin-right: 2px;
}

/*
 * Common classes for general page layout
 */

.page-header {
/*    clear: both; */
    border-bottom: 1px solid black;
	font-size: 24px;
	font-weight: bold;
    margin: 0 0 15px 0;
    padding: 0;
    text-align: left;
}

.section-header {
/*    clear: both; */
    border-bottom: 1px solid black;
	font-size: 16px;
	font-weight: bold;
    margin: 25px 0 15px 0;
    padding: 0;
    text-align: left;
}

.list-header {
/*    clear: both; */
	font-size: 14px;
	font-weight: bold;
    margin: 25px 0 15px 0;
    padding: 0;
    text-align: left;
    text-decoration: underline;
}

/*
 * Mark a word as the first occurane of the word in the text,
 * to be followed by its definition.
 */

.definition {
    font-style: italic;
}

/*
 * Mark a piece of text as important
 */

.important {
    font-weight: bold;
}

/*
 * Class to add bullets to all items in a list
 */

.bulleted {
    list-style: disc inside;
}

/*
 * Styles for the div containing all the social network sharing buttons.
 * The display and font-size rules are to make the Facebook "Like" button
 * line up properly wih the +1 and Twitter buttons.
 */

.social-buttons {
    display: inline-block;
    font-size: 1px;
}

.social-buttons-label {
    font-size: 12px;
    font-weight: bold;
    margin: 5px 0 10px 0;
}

/*
 * Three-column list. Files list items left to right, top to bottom.
 * 
 * The floating list items in this style will cause the actual list
 * element to have no physical height, so top/bottom margins and padding
 * will not properly apply to it. Instead, we enclose the list inside a
 * div, like so:
 *
 * <div class="three-col">
 *     <ul>
 *        ... items ...
 *     </ul>
 *     <div class="three-col-end"></div>
 * </div>
 *
 * The div immediately following the list will have clear: none, which
 * will push it below the floated list items and thus cause the enclosing
 * div to get the proper height. Padding and margin can then be applied to
 * the enclosing div.
 */

.three-col {
    margin: 10px 0 10px 0;
}

.three-col li {
    display: block;
    float: left;
    margin: 0 25px 5px 0;
    width: 220px;
}

.three-col li.last {
    background: red;
    clear: both;
    display: block;
    height: 1px;
    width: 100%;
}

.three-col-end {
    clear: left;
}

/*
 * This class is for the div that contains the title and legend images for a single
 * layer. We put a black border around it to make it visually obvious that all the
 * images belong together.
 */

.legend-panel {
    background: white;
    border: 1px solid black;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
}

.legend-body {
    background-color: white;
    border: none;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 0;
}

.legend-collapsed {
    background-image: url(../icons/silk/bullet_arrow_up.png);
    cursor: pointer;
    display: block;
    height: 16px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
}

.legend-expanded {
    background-image: url(../icons/silk/bullet_arrow_down.png);
    cursor: pointer;
    display: block;
    height: 16px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
}

.legend-panel h1 {
    background: #00008B;
    color: white;
    font-size: 12px;
    font-weight: bold;
    height: 16px;
    padding: 4px 4px 4px 20px;
    text-align: left;
}

.legend-map {
    border: 1px solid #808080;
    margin: 5px;
}

.legend-map-title {
    background: #DDDDDD;
    border-bottom: 1px solid #808080;
    border-top: 1px solid #808080;
    color: black;
    font-size: 11px;
    font-weight: bold;
    margin: 0 0 5px 0;
    padding: 2px 5px 2px 5px;
    text-align: center;
}

.legend-layer-title {
    clear: both;
    color: black;
    font-size: 12px;
    font-weight: normal;
    margin: 5px;
    padding: 1px 5px 1px 36px;
    text-align: left;
    text-decoration: underline;
}

.legend-map-controls {
   height: 24px;
   margin: 0 auto;
   width: 72px;
}

.legend-map-control {
    float: left;
    cursor: pointer;
    display: block;
    float: left;
    height: 14px;
    padding: 5px 2px 2px 2px;
    width: 14px;
}

.legend-map-layer {
    position: relative; /* so expanded/collapsed icon positions relative to this div */
}

.legend-layer-toggle {
    cursor: pointer;
    display: block;
    height: 14px;
    left: 4px;
    top: 4px;
    position: absolute;
    width: 14px;
}

.legend-image {
    clear: right;
    display: block;
    margin: 5px 5px 5px 20px;
}

.map-options-panel {
    background: white;
    border: 1px solid black;
    height: 50px;
    position: absolute;
    width: 223px;
}

.map-options-panel h1 {
    background: #00008B;
    color: white;
    font-size: 12px;
    font-weight: bold;
    height: 16px;
    padding: 4px;
    text-align: left;
}

.map-options-inner {
    padding: 2px;
}

.map-panel-control {
    height: 18px;
    padding: 2px 5px 2px 5px;
}

.social-control {
    height: 18px;
    padding: 2px 5px 2px 5px;
}

/* Fix IE6, because it's so lame it can't walk */

 v\:* {
behavior:url(#default#VML);
}

.png {
    behavior: url('/css/pngbehavior.htc');
}

.llmap-service-bm span {
    font-weight: bold;
}

.llmap-service-q0 .x-tree-node-icon {
    /*background-image: url(../images/llmap-tree-service-icon.png);*/
    background-image: url(../images/lldot.png);
}

.llmap-service-q1 .x-tree-node-icon {
    /*background-image: url(../images/llstar.png);*/
    background-image: url(../icons/silk/award_star_gold_2.png);
}

.llmap-layer .x-tree-node-icon {
    background-image: url(../images/llmap-tree-layer-icon.png);
}

.llmap-bmc {
    background-color: transparent;
    border: none;
    height: 15px;
    padding: 5px;
    position: absolute;
    width: 225px;
/*    z-index: 9999;*/
}

.llmap-bmc table {
    border-collapse: collapse;
    border: 1px solid black;
    margin: 0;
    padding: 0;
    width: 100%;
}

.llmap-bmc td {
    background-color: white;
    border: 1px solid black;
    color: black;
    cursor: pointer;
    padding: 5px;
    width: 50%;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    vertical-align: center;
}

.llmap-bmc td.llmap-bmc-selected,
.llmap-bmc td.llmap-bmc-selected.llmap-bmc-hover {
    background-color: #00008B;
    color: white;
}

.llmap-bmc td.llmap-bmc-hover {
    background-color: #FFFF00;
    color: black;
}

/*
 * Admin
 */

.upload-window-msg {
    color: black;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 5px 10px 5px;
    text-align: center;
}

.upload-window-error {
    color: red;
    font-weight: bold;
    font-size: 12px;
    padding: 5px;
    text-align: center;
}

/*
 * Map Editor
 */

.bbox-label {
    color: blue;
    font-size: 8pt;
    text-align: center !important;
}

/*
 * Feature Templates
 */

.feature-info {
    width: 400px;
    overflow: none;
}

.feature-info h1 {
    font-weight: bold;
    font-size: 12px;
    margin: 5px;
    text-align: center;
    text-decoration: underline;
}

.feature-info h2 {
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.feature-info-inner {
    border: 1px solid black;
    overflow: auto;
    margin: 5px;
    padding: 5px;
    height: 240px;
    width: 380px;
    /*overflow-x: hidden;
    overflow-y: scroll;*/
}

.feature-attributes {
    border: none;
    font-size: 12px;
    width: 100%;
}

.feature-attributes th {
    font-weight: bold;
    padding: 2px 5px 2px 2px;
    text-align: right;
    vertical-align: top;
    width: 100px;
}

.feature-attributes td {
    font-weight: normal;
    padding: 2px 2px 2px 5px;
    text-align: left;
}

.olControlLoadingPanel {
    background-image: url(../openlayers/theme/default/img/loading.gif);
/*
    margin-left: 30%;
    margin-top: 50%;
    position: relative;
*/
    width: 195px;
    height: 11px;
    background-position: center;
    background-repeat: no-repeat;
    display: none;
}

/*
 * Scholar's Workbench
 */

.llmap-new-map-node {
    color: blue !important;
    font-style: italic;
}

.llmap-new-map-node:hover {
    text-decoration: underline;
}

/*
 * Map Editor
 */

.x-grid3-td-layer-order {
    background-image: none !important;
}

/*
 * Map Panel projection chooser
 */

.proj-info {
    background: white;
    border: 1px solid #CCCCCC;
    height: 108px;
    padding: 10px;
    text-align: left;
}

.proj-info-over {
    background-color: #FFFFAA;
}

.proj-info-preview {
    clear: left;
    float: left;
    height: 98px;
    margin: 5px 10px 5px 5px;
    width: 194px;
}

.proj-info-preview img {
    border: 1px solid black;
    margin: 2px;
    height: 96px;
    width: 192px;
}

.proj-info-selected img {
    border: 3px solid red !important;
    margin: 0 !important;
}

.proj-info-description {
    clear: right;
    float: left;
    font-size: 12px;
    height: 98px;
    width: 320px;
    padding: 5px;
}

.proj-info-description h1 {
    border-bottom: 1px solid black;
    font-size: 14px;
    font-weight: bold;
    margin: 0 10px 5px 0;
    padding: 0;
    text-align: left;
}

.print-map-instructions {
    padding: 5px;
    font-size: 12px;
}

