#S {
  z-index: 1;
}

#toolBox {
  position:absolute;
  z-index: 1;
  top:33px;
  right:20px;
}

#toolBoxFlat {
  position:absolute;
  z-index: 1;
/*  top:33px;
  left:200px;*/
}

.btn-default {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-default:active,
.btn-default.active {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default{
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-default .badge {
  text-shadow: none;
}
.btn-default {
  text-shadow: 0 1px 0 #fff;
  background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image:      -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
  background-image:         linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  background-repeat: repeat-x;
  border-color: #dbdbdb;
  border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus {
  background-color: #e0e0e0;
  background-position: 0 -15px;
}
.btn-default:active,
.btn-default.active {
  background-color: #e0e0e0;
  border-color: #dbdbdb;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #e0e0e0;
  background-image: none;
}

.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  float: left;
}
.btn-group > .btn:hover,
.btn-group-vertical > .btn:hover,
.btn-group > .btn:focus,
.btn-group-vertical > .btn:focus,
.btn-group > .btn:active,
.btn-group-vertical > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn.active {
  z-index: 2;
}
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group {
  margin-left: -1px;
}
.btn-toolbar {
  margin-left: -5px;
}
.btn-toolbar .btn,
.btn-toolbar .btn-group,
.btn-toolbar .input-group {
  float: left;
}
.btn-toolbar > .btn,
.btn-toolbar > .btn-group,
.btn-toolbar > .input-group {
  margin-left: 5px;
}
.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
  border-radius: 0;
}
.btn-group > .btn:first-child {
  margin-left: 0;
}
.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group > .btn-group {
  float: left;
}
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
  border-radius: 0;
}
.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child,
.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
  outline: 0;
}
.btn-group > .btn + .dropdown-toggle {
  padding-right: 8px;
  padding-left: 8px;
}
.btn-group > .btn-lg + .dropdown-toggle {
  padding-right: 12px;
  padding-left: 12px;
}
.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-group.open .dropdown-toggle.btn-link {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn:hover,
.btn:focus,
.btn.focus {
  color: #333;
  text-decoration: none;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: .65;
}
a.btn.disabled,
fieldset[disabled] a.btn {
  pointer-events: none;
}
.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #000;
}
.btn-default:focus,
.btn-default.focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}
.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #000;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
}
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
  background-image: none;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
  background-color: #fff;
  border-color: #ccc;
}
.btn-default .badge {
  color: #fff;
  background-color: #333;
}


.measureSelect {
  margin: 0;
  font: inherit;
  color: inherit;
  text-transform: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.smtext {
  font-size: 60% !important;
}

.smtext-opt {
  font-size: 75% !important;
}

.smtext-opt-2 {
  font-size: 130% !important;
}

#basemaparea
{
  font-size: 10px;
  outline: none !important;
}

#HomeButton, .HomeButton
{
    border-color: rgba(14,118,187,0.65) !important;
    background-color: rgba(14,118,187,0.0) !important;
    height: 21px;
}
#HomeButton .home, 
.HomeButton .home{
    position: relative;
    top: 44%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(14,118,187,0.0) !important;
    border-radius: 0px !important;
    background-size: cover;
}

.esriSimpleSliderIncrementButton:hover, .esriSimpleSliderDecrementButton:hover, #HomeButton:hover, .HomeButton:hover
{
  background-color: rgba(14,118,187,0.65) !important;
}
.esriSimpleSliderVertical .esriSimpleSliderIncrementButton{
  border-bottom: 0px;
}

.esriSimpleSlider div{
  font-size: 20px !important;
  font-weight: bold;
  height:23px;
  line-height: 20px !important;
  
}
.esriSimpleSlider{
  border: 0px;
  color: #ffffff;
  background-color: rgba(14,118,187,0.65) !important;
  /*box-shadow: 1px 1px 3px #888888;*/
}
.esriSimpleSlider:hover{
  background-color: rgba(14,118,187,0.65) !important;
}

.titlePane
{
  background-color: rgba(77, 127, 185, 1) !important
}

#search_mapservers{
  text-align: center;
  height: 50px !important;
  position: absolute;
  left: 0px;
  top: 0px;
}

#mapservers_results{
  
  height: 200px !important;
  position: absolute;
  left: 0px;
  top: 50px;  
  overflow-y: auto;
}

#embedDialog
{
  text-align: center;
  font-size: 11px;
}
#embedDialog-embed > textarea
{
  overflow: hidden;
  margin: 15px;
  resize: none;
  /*display: none;*/
  font-family:"Courier New", Courier, monospace;
  width: 90%;
  /*height: 150px;*/
}


#embedDialog-share-btn, 
#embedDialog-embed-btn {
  display: inline-block;
  padding: 5px 12px 5px 12px;
  border-bottom: 1px solid black;
  font-size: 12px;
  margin: 10px;
  cursor: pointer;
}
#embedDialog-share-btn:hover, 
#embedDialog-embed-btn:hover {
  border-bottom: 2px solid #aaa !important;
}

.embedDialog-active-tab {
  border-bottom: 2px solid rgb(14,118,187) !important;
}
#embedDialog-share {
  display: none;
}
#embedDialog-share > textarea
{
  overflow: hidden;
  margin: 15px;
  resize: none;
  font-family:"Courier New", Courier, monospace;
  width: 90%;
  /*height: 150px;*/
}

#embedDialog input{
  padding: 5px;
  width: 50px;
}

#embedDialog button{
  padding: 5px;
  margin-left: 10px;
}

.iconbannerbtnicon2 {
  border-radius: 5px;
}

.iconbannerbtnicon2:hover {
  background-color: rgba(255,255,255,0.2);
}

.iconbannerbtnicon2.disabled {
  background-color: rgba(255,255,255,0.8);
  padding: 0px;
  margin: 0px;
  border: 0px;
}

.webgis-tool-window {
  /*background-color: rgba(14,118,187,0.65);*/
  background-color: rgba(77, 127, 185, .75);
}
.webgis-tool-button {
  cursor: pointer;
  padding: 3px;
  margin: 2px;
  border-radius: 4px;
  border: solid 1px #dedede;
  font-size: 12px;
  text-align: center;
  color: white;
  background: none;
}

.webgis-tool-button:hover {
  background-color: rgba(255,255,255,0.2);
}

.webgis-tool-button.active {
  background-color: rgba(255,255,255,0.3);
}
.webgis-tool-button.disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
}
