html{
    -ms-content-zooming: none;
    -webkit-tap-highlight-color: rgba( 0,0,0,0 );
    touch-action: auto;
}
body{
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    margin-right: 0;
    overflow: hidden;
}
.hidden {
    display: none !important;
}

.grad_dark
{
  background: rgb(138,138,138);
  background: -moz-linear-gradient(top, rgba(138,138,138,1) 0%, rgba(102,102,102,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(138,138,138,1)), color-stop(100%,rgba(102,102,102,1)));
  background: -webkit-linear-gradient(top, rgba(138,138,138,1) 0%,rgba(102,102,102,1) 100%);
  background: -o-linear-gradient(top, rgba(138,138,138,1) 0%,rgba(102,102,102,1) 100%);
  background: -ms-linear-gradient(top, rgba(138,138,138,1) 0%,rgba(102,102,102,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8a8a8a', endColorstr='#666666',GradientType=0 );
  background: linear-gradient(top, rgba(138,138,138,1) 0%,rgba(102,102,102,1) 100%);
  opacity: 0.6;
}

body {
  -ms-user-select: none;
  -khtml-user-select: none;
  -o-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  font-family: "Segoe UI", Calibri, Verdana, Arial;
  font-size: 10px;
}

.menu_container {
    position:fixed;
    margin-right:20px;
    top:15px;
    height:34px;
    z-index:60000;
    opacity:0.8;
    visibility:hidden;
}

.activetool {
    position: absolute;
    right: 4px;
    visibility: hidden;
    height: 30px;
    width: 30px;
}

.contextform {
    background-color: #E6EBEB;
    border: 1px solid #999999;
    border-radius: 8px 8px 8px 8px;
    display: none;
    padding: 5px;
    z-index: 300;
}

.error_container {
    position:absolute;
    z-index:1000000;
    visibility:hidden;
    vertical-align:text-bottom;
    line-height: 20px;
    margin: 0 10px;
    width: calc(100% - 40px);
    bottom: 0;
    font-size:14px;
}

.error_message {
    padding: 10px;
    width: 100%;
    margin-bottom:10px;
}

.error {
    background-color: rgba(255, 0, 0, 0.75);
}

.warn {
    background-color: rgba(255, 153, 0, 0.75);
}

.info {
    background-color: rgba(0, 255, 153, 0.75);
}

.close {
  position: relative;
  float: right;
  width: 20px;
  height: 20px;
  opacity: 0.5;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 11px;
  content: ' ';
  height: 21px;
  width: 2px;
  background-color: #333;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

.loadingcontainer {
    position:absolute;
    z-index:1000000;
    display:none;
    width:100%;
    height:100%;
    opacity:0.85;
    background-color: rgba(0,0,0,.75);
}

.loadingindicator {
    position:absolute;
    display:none;
    z-index:1000001;
    width:50px;
    height:50px;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.shadow {
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.rounded_edges
{
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}


#contextMenuContainer {
    position:absolute;
    display: block;
    left:335px;
    top:131px;
    z-index:60000;
    opacity:0.9;

    background-color: #E6EBEB;
    border: 1px solid #999999;
    padding: 5px;

    -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      border-radius: 8px;
}

.ftsMenu {
    position:absolute;
    display: block;
    top:37px;
    z-index:70000;
    visibility:hidden;
    margin-top:15px;

    opacity:0.9;
    background-color: #3D3D3D;
    border: 2px solid #999999;
    padding: 5px 5px 6px 5px;

    -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;

}

.sugg {
    position:absolute;
    display: block;
    top: 84px;
    right:20px;
    width: 214px;
    max-height: 200px;
    z-index: 60001;
    visibility:hidden;
    opacity:0.9;
    font-size: 9pt;

    background-color: #3D3D3D;
    border: 2px solid #999999;
    border-width:0px 2px 2px 2px;

    border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    -webkit-border-radius: 0 0 6px 6px;

}

#maptipContainer {
    position: absolute;
    display:block;
    z-index: 60001;
    font-size: 8pt;
    background-color: #3D3D3D;
    border: 2px solid #999999;
    min-width: 150px;
    padding-bottom: 15px;

    -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
}

.maptip_selectable {
    -ms-user-select: text;
      -khtml-user-select: text;
      -o-user-select: text;
      -moz-user-select: text;
      -webkit-user-select: text;
      user-select: text;
}

.maptip_hidden {
    visibility: hidden;

    -webkit-opacity: 0;
      -moz-opacity: 0;
      opacity: 0;

      transition: all 1s ease;
    -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -ms-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;

}

.maptip_visible {

    visibility: visible;

    -webkit-opacity: 1;
      -moz-opacity: 1;
     opacity: 1;

     transition: opacity 1s ease-out;
     -webkit-transition: opacity 0.3s ease-out;
      -moz-transition: opacity 0.3s ease-out;
      -ms-transition: opacity 0.3s ease-out;
      -o-transition: opacity 0.3s ease-out;
}

#maptipHeader {
    color: #999999;
    font-weight: bold;
    padding: 2px 0 2px 2px;
	display: flex;
	flex-direction: column;
}
#maptipTitle {
	padding-right: 16px;
    padding-left: 6px;
}
#maptipTable td:first-child {
    padding-left: 2px;
    width:75px;
}

#maptipInfo {
    overflow: auto;
}

.maptip-paging-container {
	display: flex;
    justify-content: flex-start;
    align-items: center;
}
.page-btn {
	font-size: 2.2em !important;
	border: 0;
    background: 0;
    padding: 0;
    width: 20px;
    color: #999999;
    cursor: pointer;
}
.maptip-close {
    position: absolute;
    height: 10px;
    width: 10px;
    right: 2px;
    top: 2px;
    background-image: url( "../Images/maptipclose.png" );
    background-repeat: no-repeat;
    background-position:center;
    cursor: pointer;
    border: 1px solid #999;
}

.odd {
    background-color:#ccc;
}
.even {
    background-color:#999;
}

.multilayertext {
    padding-left: 2px;
    cursor: pointer;
}

.multilayercount {
    text-align: right;
    padding-right: 2px;
    cursor: pointer;
}

input#bufferDistance {
    width:40px;
    border: 2px solid #666666;
    color: #666666;
    font-weight:bolder;
    font-size:10px;
    padding:5px;

    -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
}

ul.suggestion, ul.raster {
    color: #999999;
    margin-bottom: 0;
    margin-top: 7px;
    padding: 0;
    max-height: 190px;
    overflow-y:auto;
}

li.noSugg {
    border-bottom: 0;
    list-style: none;
    margin-bottom: 0;
    padding: 3px 0 4px 4px;
    cursor:auto;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

li.suggestion, li.raster {
    border-bottom: 1px solid #999999;
    list-style: none;
    margin-bottom: 0;
    padding: 3px 0 4px 4px;
    cursor: pointer;
}

li.suggestion:hover, li.raster:hover {
    background-color: #999999;
    color: #3D3D3D;
}

li.suggestion:last-child, li.raster:last-child {
    border-bottom: 0;
}

input.fts {
    width:200px;
}



.contextBtn {
    width: 30px;
    height: 30px;
    padding-left: 5px;
    margin: 2px;
    cursor: pointer;
}

.shadow {
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25);
}

.ctx_hidden {

    -webkit-opacity: 0;
      -moz-opacity: 0;
      opacity: 0;

      transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.3s ease;
      -moz-transition: opacity 0.3s ease;
      -ms-transition: opacity 0.3s ease;
      -o-transition: opacity 0.3s ease;

    visibility: hidden;
}

.ctx_visible {

    visibility: visible;
/*     box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.25); */
    -webkit-opacity: 1;
      -moz-opacity: 1;
     opacity: 1;

     transition: opacity 0.3s ease-out;
     -webkit-transition: opacity 0.3s ease-out;
      -moz-transition: opacity 0.3s ease-out;
      -ms-transition: opacity 0.3s ease-out;
      -o-transition: opacity 0.3s ease-out;
}

#notificationLbl {
    position: absolute;
    z-index: 50000;
    font-size: 10px;
    background-color: #CCCCCC;
    border: 1px solid white;
    color: #333333;
    text-align: center;
    margin-top: 5px;
    padding: 3px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.switcher {
    position: absolute;
    z-index: 50001;

    top: 52px;
    width: 215px;
    max-height: 200px;
    overflow : hidden;
    opacity: 0.9;
    font-size: 9pt;
    background-color: #3D3D3D;
    border: 2px solid #999999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.switcher ul {
    color: #999999;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
    max-height: 190px;
    overflow-y:auto;
}

.switcher li.noRep {
    border-bottom: 1px solid #999999;
    list-style: none;
    margin-bottom: 0;
    padding: 5px 0 4px 5px;
    cursor:auto;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switcher li {
    border-bottom: 1px solid #999999;
    list-style: none;
    margin-bottom: 0;
    padding: 5px 0 4px 5px;
    cursor: pointer;
}

.switcher li.active {
    color: rgb(236,146,40);
    cursor:auto;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switcher li.active:hover {
    background-color: rgb(61, 61, 61);;
    color: rgb(236,146,40);
}

.switcher li:hover {
    background-color: #999999;
    color: #3D3D3D;
}

.switcher_hidden {
    visibility: hidden;
    display: none;
}

.switcher_visible {
    display: block;
    visibility: visible;
}
.querylist {
    top: 49px;
    margin-top: 5px;
    right: 20px;
    z-index: 60000;
}
#queryListContainer.switcher{
    top: 57px;
}
.rasterContainer {
    margin: 5px;
    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 50001;
    min-width: 200px;
    overflow : hidden;
    opacity: 0.9;
    background-color: #3D3D3D;
    border: 2px solid #999999;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    color: #fff;
    font-size: 10pt;
}

ul.raster {
    margin-bottom: 0;
    margin-top: 0;
}

li.raster.selected {
    background-color: orange;
    color: white;
}

.rasterHeader {
    padding: 10px;
}

.rasterFooter {
    padding: 10px 5px;
    text-align: center;
}

.rasterlist {
    border-top: 2px solid #999;
    border-bottom: 2px solid #999;
}

.rasterContainer button {
    background-color: #3D3D3D;
    border: 2px solid #999999;
    padding: 5px;
    margin: 0 5px;
    cursor: pointer;
    color: #fff;
    font-family: "Segoe UI", Calibri, Verdana, Arial;
}

.rasterContainer button:hover {
    background-color: #999;
    color: #3D3D3D;
}

.boxdiv {
    z-index: 50;
    border: 2px solid rgb(236,146,40);
    display: none;
    position: absolute;
}

.boxoverlay {
    z-index: 50;
    display: none;
    background-color: rgba(0,0,0, 0.25);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.lblSurface {
    font-size: 16px;
}
#disableContainer{
    background: transparent 0 0 repeat scroll url('../Images/trans1x1.gif');
    border-width: 0;
    height: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100000;
}
#scrollInfoContainer{
    background-color: rgba(0,0,0,0.6);
    height: 100%;
    pointer-events: none;
    position: absolute;
    transition-duration: 0.8s;
    width: 100%;
    z-index: 2000000;
}
#scrollInfoContainer > * {
    font-size: 22px;
    color: rgb(255,255,255);
    position: relative;
    margin: 0;
    text-align: center;
    top: calc(50% - 15px);
}
#topContainer{
    height: 100%;
    position: absolute;
    width: 100%;
}