/* we set some global styles for the yui objects (tabs, menus) */
.yui-nav
{
    font-size: 10px;
}
.yuimenuitemlabel
{
    font-size: 11px;
}
                   
/* overrides for styles defined elsewhere (TODO: we need to consolidate these!) */
#header
{
    background-image: url("/Map/images/headerfill.png");
    background-repeat: repeat-x;
    overflow: hidden;
}

#myheader
{
	left: 0px !important;
	top: 0px !important;
	position: relative !important;
}

#modedisplay
{
	font-size: 9px;
	color:#A0A0A0;
    text-align: left;
}

.yui-layout-bd
{
    background-color: #FFFFFF;
}
.statusbar, .yui-layout-hd, .yui-layout-hd h2
{
    background: #DDECFA !important;
    background-color: #DDECFA !important;
    border-bottom: 0 !important;
    color: #032B45 !important;
    padding: 1px !important;
    font-weight: bold;
}

/* many of these are unused */
.txtgr{color:#83aa4e;font-size:12px;font-weight:bold;}
.txtred{color:red;font-size:12px;font-weight:bold;}
.mform{border: 1px solid #D6D7D7;font-size: 10px;color: #000000;font-family: verdana;width: 80px;height: 16px;padding: 0px 0px 0px 0px;}
.selectform{border: 1px solid #D6D7D7;font-size: 11px;color: #000000;font-family: verdana;width: 260px;height: 21px;padding-top: 0px;vertical-align: middle;}
.titlesel{color:#032b45;text-decoration:none;font-size:14px;text-align: left;font-weight:bold;padding-left:5px;background-color:#ddecfa;width:100%;}
.bg_light{background-color:#ffffff;padding:2px;}
.bg_light2{background-color:#ffffff;}
.bg_bluesep{background-color:#4180a4;}
.brdbt{border-bottom:1px solid #e2eca2}
.brdbtrl{border-bottom:1px solid #e2eca2;border-left:1px solid #e2eca2;border-right:1px solid #e2eca2}
.scroll{OVERFLOW-X: scroll; border:0px solid red;OVERFLOW-y: hidden; WIDTH:280px; HEIGHT:105px; scrollbar-face-color:#ffffff; scrollbar-arrow-color:#5C90CD; scrollbar-track-color:#ffffff; scrollbar-highlight-color:'#D3E9FF'; scrollbar-3dlight-color:'#ffffff'; scrollbar-darkshadow-Color:'#ffffff';}
.bg_but{background:url(images/bg_but.gif) no-repeat; width:60px; height:17px;}
.bg_but_large{background:url(images/bg_but_large.gif) no-repeat; width:120px; height:18px;}
.menu_bt{background:url(images/menubt.gif)  no-repeat;color:#ffffff;height:23px;padding-left:10px;cursor:hand;}
.menu_bt_right{background:url(images/menubt_right.gif)  no-repeat;color:#ffffff;height:23px;width:10px;}
.linkbt{color:#4784a1;text-decoration:none;font-weight:bold;cursor: pointer;}
.linkbt:hover{color:#4784a1;text-decoration:none;cursor: pointer;}
.linkbt_w{color:#ffffff;text-decoration:none;font-weight:bold;cursor: pointer;}
.linkbtred{color:#990000;text-decoration:none;font-weight:bold;cursor: pointer;}
.linkbtred:hover{color:#EE0000;text-decoration:none;font-weight:bold;cursor: pointer;}
.bg_white{background-color:#ffffff;}
.brdor{border:1px solid #ff7f00}
.bgor{background-color: #ff7f00}


/* a bunch of stuff for the editor */
        .titlesel{font-size:12px;}
        .titleselsm{font-size:10px;}
        .txtgr{font-size:11px;}
        .txtgrsm{font-size:9px;}
        .txtred{font-size:11px;}
        .gnomemsg{color:#032B45;font-size:11px;font-weight:bold;}
        .wizardstep
        {
            width: 300px;
            min-height: 396px;
            padding: 0;
            background-color: #FFFFFF;
        }
        .yui-button.createpoly button,
        .yui-button.createline button
        {
            width:  37px;
            height: 36px;
        }
        .yui-button.createpoly button
        {
          background-image: url("./img/createpoly2.png");
        }
        .yui-checkbox-button-checked.createpoly button
        {
          background-image: url("./img/createpolyon2.png");
        }
        .yui-button-disabled.createpoly button
        {
            color: #ffffff;
            background-image: url("./img/createpoly2.png");
        }
        .yui-button.createline button
        {
          background-image: url("./img/createline2.png");
        }
        .yui-checkbox-button-checked.createline button
        {
          background-image: url("./img/createlineon2.png");
        }
        .yui-button-disabled#.createline button
        {
            color: #ffffff;
            background-image: url("./img/createline2.png");
        }
        .yui-button#chkbxFillMode button
        {
          width:  61px;  
          height: 20px;
          background-image: url("./img/rollon.jpg");
        }
        .yui-checkbox-button-checked#chkbxFillMode button
        {
          width:  61px;  
          height: 20px;
          background-image: url("./img/rolloff.jpg");
        }
        .yui-skin-sam .yui-navset .yui-nav li.disabled
        {
            opacity: .5;
        }
         .yui-button#mnubtnFeatureLayer button
        {
            width:  60px;  
            height: 18px;
            padding: 1px;
            font-size: 10px;
        }
        /* Style the Slider instance */
        #slider-bg
        {
            position: relative;
            background: url(img/bg-fader.gif) 7px 12px no-repeat;
            height: 20px;
            width: 78px;
        }
        #slider-thumb
        {
            position: absolute;
            cursor: default;
            top: 4px;
        }
    /*
        Give the <em> element wrapping the Button instance's text label a 
        fixed width so that the Button doesn't grow or shrink as the 
        text label is updated.
    */
    #lblCurrentShading
    {
        width: 3em;
        font-style: normal;
        text-align: left;
    }
    .propertypalette
    {
        width: 300px;
    }
    .texturepalette
    {
	    height: 123px;
    }
    .paletteitems
    {
        float: right;
        width: 235px;
    }
    #paletteitemthumbnail
    {
        float: left;
        width: 62px;
        height: 60px;
        padding-right: 2px;
    } 
    #ibFeatureType
    {
	    display: none;
    }
    #paletteitemrotator
    {
        float: left;
        width: 62px;
        height: 88px;
        padding-right: 2px;
    }
    #paletteitemrotatorimg,
    #paletteitemthumbnailimg
    {
        width: 58px;
        height: 58px;
        border: 1px solid black;
    }
    .paletteitem
    {
	    position: relative;
        width: 27px; 
        height: 27px;
        padding: 3px 3px 3px 3px;
        cursor: pointer;
    }
    .paletteitem:hover
    {
        padding: 1px 1px 1px 1px;
        border: 2px solid #808080; 
    }
    .paletteitemselected
    {
        padding: 1px 1px 1px 1px;
        border: 2px dotted #808080; 
        cursor: default;
    }
    .help
    {
        position: relative;
        z-index: 0;
    }
    .help:hover
    {
        background-color: gray;
        z-index: 50;
    }

    .help span
    { /*CSS for enlarged image*/
        position: absolute;
        left: -1000px;
        border: 1px dashed gray;
        visibility: hidden;
        color: black;
        text-decoration: none;
    }

    .help span img
    { /*CSS for enlarged image*/
        border-width: 0;
    }

    .help:hover span
    { /*CSS for enlarged image on hover*/
        visibility: visible;
        top: 6px;
        left: 6px;
    }
/* end a bunch of stuff for the editor */

#tabEditMapContents,
#tabGoInsideContents,
#tabNotesContents,
#tabArticleContents,
#tabMyPlacesContents
{
	display: none;
}

#map
{
    height: 100%;
}

/* OpenLayers map and control styles (TODO: consolidate with editor) */
.olControlMousePosition
{
    right: 5px;
    bottom: 10px;
    font-family: Verdana;
    font-size: 0.7em;
    color: #ffffff;
}
.olControlScale
{
    color: #ffffff;
}
.olControlPermalink
{
    right: 180px !important;
    bottom: 0px !important;
}
.olControlZoomAtlasFadeBar
{
    right: 15px !important;
    top: 20px !important;
    left: auto !important;
    height: 100px;
    width: 35px;
    cursor: pointer;
}
.olControlPanel
{
	right: 5px;
    width: 65px;
    height: 25px;
}
.olControlPanel div
{ 
  display:block;
  width:  64px;
  height: 24px;
  margin: 5px;
}
.olControlPanel .zaControlLabelOffItemInactive
{ 
    width:  60px;  
    height: 18px;
    background-image: url("./img/labelsoff.png");
    cursor: pointer;
}
.olControlPanel .zaControlLabelOnItemInactive
{ 
    width:  60px;  
    height: 18px;
    background-image: url("./img/labelson.png");
    cursor: pointer;
}
.olControlPanel .zaControlLabelNoteOnItemInactive
{ 
    width:  60px;  
    height: 18px;
    background-image: url("./img/labelsnoteson.png");
    cursor: pointer;
}
.olControlPanel .zaControlRefreshItemInactive
{ 
    width:  60px;  
    height: 18px;
    background-image: url("./img/refresh.png");
    cursor: pointer;
}
.olControlPanel .zaControlHoverItemInactive
{ 
    width:  60px;  
    height: 18px;
    background-image: url("./img/hoveroff.png");
    cursor: pointer;
}
.olControlPanel .zaControlHoverItemActive
{ 
    width:  60px;
    height: 18px;
    background-image: url("./img/hoveron.png");
    cursor: pointer;
}
.olControlPanZoomBar
{
    cursor: pointer;
}
        
.olFramedCloudPopupContent
{
    width: 200px;
    height: 60px;
}

.olControlZoomAtlasViewfinder
{
    width: 80px;
    height: 70px;
    background-image: url("./img/viewfinderzoom.png");
    visibility: hidden;
}

.olControlZoomAtlasPreviewMapContainer {
    /*position: absolute;*/
    bottom: 10px;
    right: 0px;
}

.olControlZoomAtlasPreviewMapElement {
    padding: 0 0 0 0;
    background-color: transparent;
    border: 1px solid black;
    /*background-color: #CF7D2B;*/
    /*-moz-border-radius: 1em 0 0 0;*/
}

.olControlZoomAtlasPreviewMapMinimizeButton {
    right: 0px;
    bottom: 175px;
}    

.olControlZoomAtlasPreviewMapMaximizeButton {
    right: 0px;
    bottom: 175px;
}  
