/* CSS Document */
/*default state for extended set of options*/
#extendedtools, #extendedtabs, #zoomDropDown span.extended {
    display: none;
}
#map, #mapimage, #MapLayerDivImg, #MapLayerDiv, #MapLayerBG {
    visibility: hidden;
}

/* GENERAL */
div {
    font-family: Arial, Helvetica, sans-serif;
}
form {
    margin: 0;
    padding: 0;
}
select {
    font-size: 11px;
}
input {
    font-size: 11px;
}
h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: .75em;
}
.clear {
    clear: both;
}
.red {
    color: #ff0000;
}
/*Tables*/
td.right {
    text-align: right;
}
td.center {
    text-align: center;
}
td.left {
    text-align: left;
}

/* PAGE */
body {
    margin: 0;
    padding: 0;
}
html, body.mainbody, #middle {
    min-height: 100%;
    width: 100%;
    height: 100%;
}
html>body.mainbody #footer {
    position: fixed;
}
#wrapper {
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    padding-bottom: 50px;
}
/* == SECTIONS (top->bottom, left->right) == */

/* HEADER
 * - fip, canada, clfnav, nlwis?
*/
#header {
    height: 90px; /*was 98*/
    /*margin-bottom: 15px;*/
}
/* fip */
#fipContainer {
    position: relative;
    top: 6px;
    left: 100px;
    width: 506px;
    height: 32px;
}
#fipAAFC {
    width: 282px;
    height: 22px;
}
#fipCanada{
    float: right;
    width: 88px;
    height: 22px;
}
/* CLF nav */
#navcontainer {
    padding-left: 157px;
    height: 20px;
    border: 0;
    margin: 0;
    list-style-type: none;
}
#navcontainer li {
    float: left;
    padding: 0;
    margin: 0;
    white-space: nowrap;
}
#navcontainer li a {
    background: #000000;
    width: 86px;
    height: 18px;
    border-right: 1px solid #FFFFFF;
    padding-left: 3px;
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    font: bold 11px/18px Arial, Helvetica, sans-serif;
}
/* NLWIS + app title*/
#projectHeader {
    position: relative;
    padding-left: 0px; /*157*/
    height: 58px;
    border: 0;
    margin: 0;
    list-style-type: none;
    white-space: nowrap;
}
#NLWIS_banner_img {
    position: relative;
    top: 0px;
    left: 6px;
    background-image: url(../images/nlwis_banner_e.gif);
    width: 600px; /*was 159*/
    height: 21px;
}
#projectTitle{
    position: relative;
    top: 2px;
    width: 446px;
    height: 30px;
    background-color: #CCCCCC;
    color: #000000;
    padding-top: 5px;
    padding-left: 160px; /*wasn't here*/
    margin-top: 0px;
    margin-bottom: 5px;
    font: 20px Arial, Helvetica, sans-serif;
}
/* START: Common Menu Button Styles *//* TESTING Jan 2k6*/
#cmbNavBar {
    position: relative;
    float: left;
    top:0;
    left:0;
    width:150px;
    /*height: 18px;*/
    margin: 0;
    padding: 0 0 0 3px
}

#cmbNavBar li {
    display: inline;
}

#cmbNavBar ul{
    /* float: right; */
    font-family: Arial, Tahoma, Verdana, sans-serif;
    font-size: 10px;
    line-height: 18px; /* height of btn */
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

#cmbNavBar ul li a{
    background: #01A439 url('../images/cmbBgLink.gif') 100% 0 no-repeat;
    color: #fff;
    float: left;
    padding: 0px 3px;
    text-decoration: none;
    width: 56px; /* height:60px; */
    margin-right:1px;

}

#cmbNavBar ul li a:hover{
    background: #275090 url('../images/cmbBgHover.gif') 100% 0 no-repeat;;
    color: #fff;
}

/* END: Common Menu Button Styles */ /* TESTING Jan 2k6*/

/* WRAP MAIN - not header and footer */
#outer {
    border-left: 158px solid #FFFFFF; /* left column background */
    border-right: 200px solid #FFFFFF; /* right column background */
}
/* WRAP INNER - no idea why for now. */
#inner {
    margin: 0;
    width: 100%;
}
/* Mozilla bug workarounds */
#outer > #inner {
    border-bottom: 1px solid transparent;
}
#leftside {
    margin-right: 1px;
}
#rightside {
    margin-left: 1px;
}
#middle {
    margin: 0 -3px 0 -2px;
}
/*end workaround */

/* LEFTSIDE
 * - tool bars
*/
#leftside {
    position: relative;
    width: 150px; /* left column width */
    margin-left: -155px; /* negative left column width */
    float: left;
    margin-top: 29px;
    overflow: auto;
}
#maintools {
    margin-right: 8px; /*gets rid of scroll bar in basic mode*/
}
#leftside h3 {
    font-weight: lighter;
    font-size: 0.70em;
    background-color: #666666;
    color: #FFFFFF;
    padding-left: 4px;
    padding-top: 2px;
    width: 112px;
    height: 14px;
    margin-top: 2px;
    margin-bottom: 0;
}
/*tool buttons*/
#tools, #advTools {
    margin: 0px;
    margin-bottom: 6px;
    padding: 1px;
    padding-top: 2px;
    padding-bottom: 0;
    list-style: none;
    width: 126px; /* Width of Menu Items */
    font-family: Arial, Tahoma, Verdana, sans-serif;
    font-size: 11px;
    text-align: left;
    border: 1px solid #333333;
}
#tools li, #advTools li {
    margin-bottom: 0px;
    background-color: #F5F5F5;
    margin-left: 1px;
    margin-right: 1px;
}
#tools li a, #advTools li a{
    display: block;
    text-decoration: none;
    color: #000000;
    padding: 5px 5px 5px 25px;
    border: 1px solid #696969;
    background-repeat: no-repeat;
    background-position: 3px 50%;
}
/* Fix IE. Hide from IE Mac \*/
* html #tools li {
    float: left;
    height: 1%;
}
* html #tools li a {
    height: 1%;
}
* html #advTools li {
    float: left;
    height: 1%;
}
* html #advTools li a {
    height: 1%;
}
/* End LEFT */

/* MIDDLE
 * - zoombar and map
 */
#middle {
    position: relative;
    float: left;
    width: 100%; /*z-index: 12;*/
    height: 400px;
}
/* QUICKBAR contains zoombar and quick view */
#quicknavbar {
    height: 30px;
}

#zoomBar {
    display:                    inline;
    margin:                     0;
    padding:                    0;
}

#zoomBar li.zoomLevel, #zoomBar li.caption {
    display:                    inline;
}

#zoomBar ul.zoomControl{
    font-size:                  12px;
    list-style:                 none;
    margin:                     0px;
    padding:                    0px;
    text-align:                 left;
    white-space:                nowrap;
}

#zoomBar li.caption {
    float: left;
    font-size:                  .9em;
    margin:                     8px 5px 0px 0px;
    color:                      #333;
}

#zoomBar li.zoomLevel a {
    background:                 #ccc;
    border:                     1px solid #666;
    color:                      #ffffff;
    float:                      left;
    width:                      7px;
    height:                     15px;
    text-align:                 center;
    margin:                     7px 5px 0px 0px; /* spacing between CMB btn's */
    text-decoration:            none;
}

#zoomBar li.zoomLevel a.zoomPlusMinus{
    background:                 #ddd;
    color: #666666;
    border:                     1px solid #666;
    width:                      14px;
    height:                     15px;
    font-size:                  13px;
    font-weight:                normal;
    line-height:                14px; /* baseline shift */
}

#zoomBar li.zoomLevel a.zoomBtnActive{
    background:                 #999;
    border:                         1px solid #666;
    color:                      #ffffff;
}

#zoomBar li.zoomLevel a.zoomBtn:hover{
    background:                 #CCC;
    border:                         1px solid #666;
}

#zoomBar li.zoomLevel a.zoomPlusMinus:hover{
    border:                         1px solid #666;
    background:                 #CCC;
    color:                      #333333;
}

#zoomDropDown {
    float: right;
    padding: 0;
    margin: 0;
    top: -200px;
    padding-right: 10px;
}
#zoomDropDown select {
    margin-top: 6px;
    margin-right: 0;
    width: 120px;
}

#map {
    display: block;
    position: absolute;
    top: 40px;
    left: 10px;
    z-index: 1; /* Dont do this because it screws around with DHTML map - 1-10 was ok.  15 bad*/
}

#panarrows {
    position: absolute;
    top: 30px;
    left: 0px;
    width: 420px;
    height: 320px;
    border: 1px solid #000000;
}
#panarrows table {
    background-color: #f0f0f0;
}
/* RIGHTSIDE
 * - contains more options, tabs and pages
 */
#rightside {
    position: relative;
    width: 200px;
    margin: 0;
    margin-right: -200px; /* for IE */
    float: left;
    padding: 0;
    height: 300px; /*DYNAMIC*/
}
#rightside p {
    padding-left: 10px;
}
#moreOptions {
    position: relative;
    top: 3px;
    left: 35px;
    height: 30px;
    font-size: .9em;
    font-weight: normal;
    display: inline;
    color: #333333;
}
#moreOptions h3{
    font-weight: normal;
    display: inline;
}
#moreOptions label {
    font-size: .75em;
    font-weight: normal;
}
#moreOptions input[type=radio] {
    position: relative;
    top: 3px;
}
/* Tabs */
#tabbedsection {
    position: relative;
    clear: both;
}
#functionPanel {
    position: relative;
    margin-top: 11px;
}
#functionPanel li {
    display: inline;
}
#functionPanel ul {
    list-style: none;
    font-size: 11px;
    line-height: 18px;
    margin: 0;
    padding: 0;
    text-align: left;
    white-space: nowrap;
    width: 100%;
    display: block;
    /*NO HEIGHT*/
}
/*Tabs*/
#functionPanel ul.tab li a{
    background-color: #F5F5F5;
    background-image: url(../images/tab_bgActive.gif);
    background-repeat: no-repeat;
    background-position: 100% 0;
    border: 1px solid #333333;
    border-right: 0;
    border-top: 0;
    color: #333333;
    float: left;
    padding: 0px 8px 0px 5px;
    text-decoration: none;
    width: 85px; /* fixed width btn */
    margin-right: -1px; /* spacing between btn's */
    margin-bottom: 2px; /* spacing between btn's */
}
#functionPanel ul.tab li a.active{
    background-color: #696969;
    color: #FFFFFF;
}
#functionPanel ul.tab li a.active:hover{
    background-color: #696969;
    color: #CCCCCC;
}
#functionPanel ul.tab li a:hover {
    background-color: #DCDCDC;
    color: #333333;
}
#tabbedpages {
    position: relative;
}
div.page {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /*which is inheriting*/
    overflow: auto;
    width: 200px;
    display: none;
    padding: 0px;
}
.page h2 {
    background-color: #666666;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: #FFFFFF;
    margin-top: 3px;
    padding: 2px 0 2px 5px;
}
.page p {
    font-size: 11px;
}
/* This is the "read more about this map" section */
#info {
    position: absolute;
    bottom: 0;
}
#info p {
    padding: 3px 0 5px 3px; /* TRBL */
    margin: 0;
    font-size: 0.7em;
}

/* FOOTER
 * - footer, tooltips, close button
*/
#footer {
    position: absolute;
    width: 100%;
    z-index: 100;
    bottom: 0;
    left: 0;
}
#footer td, #footer th {
    padding: 0;
}
#footerContent {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-family: Arial, Helvetica, sans-serif;
}
#tabletop {
    background-color: #666666;
}
#tablebottom {
    background-color: #FFFFFF;
}
/* Scale Bar not in all apps*/
#scaleBar {
    width: 150px;
    padding-left: 5px;
    height: 24px;
}
#scaleBar strong {
    color:#fff;
    font-size: 10px;
    font-weight:normal;
}
#scaleBar a, #scaleBar a:link, #scaleBar a:visited {
    text-decoration:none;
    color:#FFF;
    font-size: 11px;
    margin-left: 3px;
}
/* Tool Tips */
#toolTip {
    text-align: left;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: lighter;
}
span#NLWISDisplayToolTip {
    padding-left: 6px;
}
/* START: Contact Us Link */ /* TESTING Jan 2k6*/
#contactUs{
    position:relative; float:right; line-height:24px; padding-right:1px;
    font-size: 0.7em;
}

#contactUs a{
        text-decoration:none;
        color:#fff;
        background-color:#F5F5F5;
        padding:4px
    }

#contactUs a:hover{
        text-decoration:none;
        background-color: #696969;
        color: #FFFFFF;
    }
/* START: Contact Us Link */ /* TESTING Jan 2k6*/

/* Close Button (link) */
#close {
    text-align: right;
    font-size: 10px;
    color: #FFFFFF;
}
#close a, #close a:link, #close a:visited{
    position: relative;
    top: 0px;
    text-decoration: none;
    color: #000000;
    background: #F5F5F5;
    border: 1px solid #FFFFFF;
    padding: 1px;
    margin-right: 5px;
    margin-left: 3px;
}
/* Last Modification date */
#date {
    text-align: left;
}
#date p {
    padding: 0;
    margin: 0;
    padding-left: 2px;
    color: #333333;
    font-size: 11px;
    font-weight: lighter;
    position: absolute;
    top: 24px;
    white-space: nowrap;
}
/* Important Notices (Legal)*/
#important {
    text-align: right;
}
#important a, #important a:link, #important a:visited {
    text-decoration: underline;
    color: #333333;
    font-size: 11px;
}
#important a {
    padding-right: 2px;
}
/* WIDGET/Page SPECIFIC */
#properlyr p, #findlyr p {
    padding-left: 0px;
}
#properlyr select {
    width: 100px;
}
#findlyr a:link, #findlyr a:visited {
    /* only because Karla's is; I don't actually like this color */
    color: rgb(23,72,147);
}
#findlyr li a {
    font-size: 11px;
}
/* Layer List Widget */
#layerlist_container input[type=checkbox] {
    margin: 0;
    padding: 0;
    width: 20px;
}
#layerlist_container input[type=radio] {
    margin: 0;
    padding: 0;
    width: 20px;
    position: relative;
    top: 3px;
}
#layerlist_container input[type=button] {
    position: relative;
    top: 10px;
    margin-bottom: 5px;
}
#layerlist_container .layername {
    font-size: 11px; /*padding-left: 5px;*/
    text-decoration: none;
    margin-left: 40px;
    text-indent: -40px;
}
#layerlist_container .layerlist {
    list-style-type: none;
    padding: 3px 3px 3px 0px;
    margin: 0px;
}
#layerlist_grouplist{
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
a.layerlist_grouptitle {
    font-size: 13px;
    text-decoration: none;
    padding: 2px 14px 2px 5px;
    margin-top: 3px;
    background-color: #D4D0C8;
    color: #000000;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    background-image: url(../images/legend_minus.gif);
    background-position: 98%;
    background-repeat: no-repeat;
}
.grouptitle_closed {
    background-image: url(../images/legend_plus.gif) !important;
}

/* Rightside IFRAMEs (at least, for the middle tier */
iframe {
    border: 0px none #000000;
    width: 197px;
    height: 100%;
    /*height: 277px;*/ /* was 312px */
    overflow: auto;
}
/*Text for IFRAME's; used by: NLWISQuery Widget and Results.html */
#IframeText {
    padding-bottom: 20px;
    padding-left: 2px;
}
#IFrameText p, #IFrameText td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding-left: 0px;
}

#IFrameText li{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}
#IFrameText td.measure{
    vertical-align: top;
}
#IFrameText td.measureBold{
    vertical-align: top;
    font-weight: bold;
}

/* NLWISFind widget */
#NLWISFindDivSeparator {
    border-bottom: double #666666;
}
.NLWISFindSearchedFor{
    font-size: 11px;
}

div.button {
    font-size: 11px;
    background: #f1f1f1;
    border:1px solid #CCCCCC;
    width: 100px;
    padding: 0;
    margin: 5px 0 0 0px;
}
div.button a {
    display: block;
    text-align: left;
    text-decoration: none;
    color: #000000;
    padding: 5px 5px 7px 25px;
}
div.button a.find {
    background-repeat: no-repeat;
    background-position: 3px 50%;
    /*width: 98px*/
}

div.button a.updateMap {
    background-repeat: no-repeat;
    background-position: 3px 50%;
    /*width: 105px*/
}

/* NLWISQuery widget */
#NLWISQuery {
    padding-bottom: 20px;
    margin-left: 2px;
}
#NLWISQuery p, #NLWISQuery th, #NLWISQuery td {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}
#NLWISQuery th, #NLWISQuery td{
    text-align: left;
    vertical-align: top;
    padding: 2px 2px;
}
#NLWISQuery h3{
    font-size: 13px;
    font-weight: bold;
}
#NLWISQuery tr.layerName{
    background: #CCCCCC;
}
#NLWISQuery tr.odd {
    background-color: #FFFFCC;
}
/* For the static pages, to make them at least somewhat consistent with the nIMF template's styles */
#middleStaticPages {
    position: relative;
    top: 0px;
    left: 157px;
    width: 450px;
}
#middleStaticPages li {
    font-size: 0.75em;
}
#middleStaticPages p {
    font-size: 0.75em;
    line-height: 160%;
    text-align: justify;
    margin-bottom: 0em;
    margin-top: 2em;
}
#middleStaticPages h1{
    color: rgb(126, 146, 87);
    font-size: 1.1em;
    margin-bottom: 0pt;
    background-color: rgb(245, 245, 245);
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    -x-background-x-position: 0%;
    -x-background-y-position: 0%;
    -moz-background-clip: initial;
    -moz-background-origin: initial;
    -moz-background-inline-policy: initial;
    padding-top: 3px;
    padding-right-value: 3px;
    padding-bottom: 3px;
    padding-left-value: 3px;
    padding-left-ltr-source: physical;
    padding-left-rtl-source: physical;
    padding-right-ltr-source: physical;
    padding-right-rtl-source: physical;
}
#middleStaticPages h3{
    color: rgb(0, 0, 0);
    font-size: 1em;
    margin-bottom: 0pt;
    -x-background-x-position: 0%;
    -x-background-y-position: 0%;
    -moz-background-clip: initial;
    -moz-background-origin: initial;
    -moz-background-inline-policy: initial;
    padding-top: 3px;
    padding-right-value: 3px;
    padding-bottom: 3px;
    padding-left-value: 3px;
    padding-left-ltr-source: physical;
    padding-left-rtl-source: physical;
    padding-right-ltr-source: physical;
    padding-right-rtl-source: physical;
}
#middleStaticPages a, #middleStaticPages a:link, #middleStaticPages a:visited {
    color: rgb(126, 146, 87);
    text-decoration: underline;
}
#middleStaticPages a:hover {
    text-decoration: none;
    color: rgb(96, 106, 116);
}


