﻿html, body, #theForm { border: 0; }

canvas {
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeSpeed;
}

.swbase { overflow: hidden; }

.clickable { cursor: pointer; }

.menulink {
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: underline !important;
}

.scalebar {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(60, 60, 60);
    /* RGBa with 0.8 opacity */
    background: rgba(60, 60, 60, 0.6);
    color: #eee;
    cursor: default;
    font-weight: bold;
    line-height: 0.9;
    padding: 3px;
    position: absolute;
    text-align: left;
    vertical-align: middle;
}

.scalebar div { display: inline-block; }

.scaleimage {
    background-color: #eee;
    border-left: 2px solid #EF8C08;
    height: 6px;
}

.scaletext { margin-left: 3px; }

.snapbar div { display: inline; }

.mapinfo { margin-left: 20px; }

.mapinfoHover:hover { background-color: #ccc; }

.csSelectionDialog {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(60, 60, 60);
    /* RGBa with 0.8 opacity */
    background: rgba(60, 60, 60, 0.8);
    background-color: #ccc;
    color: white;
    padding: 3px;
    position: absolute;
}

.csSelectionDialog > div {
    cursor: pointer;
    padding: 2px;
}

.csSelectionDialog > div:hover { background-color: #ccc; }

.copyright {
    bottom: 2px;
    color: #999;
    cursor: default;
    position: absolute;
}

.mapbase {
    left: 0px;
    position: absolute;
    top: 0px;
    z-index: 0;
}

.fullsize {
    height: 100%;
    width: 100%;
}

.bubble {
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    position: absolute;
    user-select: none;
}


.nonselectable * {
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#poilabel {
    display: inline-block;
    height: 100%;
    width: 100%;
}

#poiclose {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
}

.poidesc {
    display: table-cell;
    font-weight: bold;
    overflow: hidden;
    padding: 3px 5px;
    position: relative;
    vertical-align: middle;
}

.poiarrow {
    background: transparent url(../images/poiarrow.png) no-repeat;
    height: 10px;
    left: 50%;
    margin-left: -5px;
    position: relative;
    top: -1px;
    width: 10px;
}

.swbase * {
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.minimapbase * {
    cursor: pointer;
    position: absolute;
}

.largeloader {
    background-image: url(../images/ajax-loader-large.gif);
    height: 32px;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    position: absolute;
    top: 50%;
    width: 32px;
}

.rectangle {
    border: solid 2px #000000;
    margin: 0;
    position: absolute;
    top: -50px;
}

.mouserectangle {
    border: solid 2px #FF0000;
    margin: 0;
    position: absolute;
}

.ttwrapper {
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
}

.tooltip, .action {
    background-color: White;
    border: solid 1px #ccc;
    line-height: 17px;
    margin: 3px;
    max-width: 270px;
    overflow: hidden;
    padding: 3px;
    position: absolute;
    /*white-space: nowrap;*/
}

.tooltip table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

.action {
    font-weight: bold;
    max-height: 150px;
    overflow-y: scroll;
}

.tooltip *, .action * { overflow: hidden; }

.tooltip div, .action div { vertical-align: middle; }

.tooltip div *, .action div * { vertical-align: middle; }

.swdesc > iframe, .swdesc > div {
    border: 0;
    height: 100%;
    overflow: auto;
    width: 100%;
}

.swdesc * {
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    -o-user-select: text;
    -webkit-user-select: auto;
    user-select: text;
}

.searchresult { position: relative; }


.searchresult div { line-height: 2.0; }

.searchresult>table {
    margin: 0;
    padding: 0;
    width: 100%;
}

.ui-state-hidden-default { border: 1px solid transparent; }

.mapname {
    color: Blue;
    cursor: default;
    font-weight: bold;
    position: absolute;
    text-align: center;
    white-space: nowrap;
}

.mapnamebg {
    padding-left: 2px;
    padding-right: 2px;
}

.swdialog { padding: 5px; }

.swmapdialog {
    padding: 5px;
    z-index: 4;
}

.ui-slider {
    /* Fallback for web browsers that doesn't support RGBa */
    background: rgb(255, 255, 255);
    /* RGBa with 0.8 opacity */
    background: rgba(255, 255, 255, 0.6);
}

.ui-slider-vertical {
    margin-left: -5px;
    width: 6px;
}

.ui-corner-small-all { border-radius: 3px; }

.opaslider {
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    width: 120px;
}

.opadiv input { width: 25px; }

.noTitleDialog .ui-dialog-titlebar { display: none; }


.pageBreak { PAGE-BREAK-AFTER: always; }

.opadiv {
    padding: 4px;
    width: 210px;
}

.opadiv * {
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    -o-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

.snapText {
    width: 50px;
}

.menu-info {
    height: auto !important;    
    vertical-align: baseline !important;
    width: auto !important;
}

.metadataDialog {

}

.metadataDialog fieldset {
    margin-top: 5px;
}

.metadataTitle {
    font-weight: bold;
    margin-right: 5px;
}

.metadataValue {
    
}


@media screen {
    .screenhide { DISPLAY: none; }
}

@media print {    
    .prhide, .ui-button, .ui-slider, .ui-icon, .opadiv, input { DISPLAY: none !important; }

    .scaletext { color: White !important; }

    .copyright { color: Black; }

    .scaleimage { border-right-color: #000 !important; }

}