#mapwrapper {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0;
  background-color: transparent;
  min-width: 220px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
#mapbase svg {
  max-height: 100%;
  width: 100%;
  margin: 0;
  -webkit-filter: drop-shadow( 1px 1px 2px rgba(0, 0, 0, 0.2) );
    filter: drop-shadow( 1px 1px 2px rgba(0, 0, 0, 0.2) );
}
#usjstip {
  font: 14px/16px Trebuchet MS, Helvetica, Arial, sans-serif;
  display: none;
  max-width: 40%;
  padding: 5px;
  border: 1px solid #404040;
  color: #404040;
  z-index: 1000;
  float: left;
  position: absolute;
  background: rgba(265, 265, 265, 0.9);
  word-break: keep-all;
  box-shadow:1px 2px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:1px 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow:1px 2px 4px rgba(0, 0, 0, 0.5);
}
#usjstip p {
  margin: 0!important;
  color: #404040!important;
}
#usjstip img {
  float: left;
  padding: 3px;
  max-width: 100%;
}
@media screen and (max-width: 320px){
  #mapbase svg {
    height:140px;
  }
}
@media screen and (max-width: 400px) and (min-width: 321px) {
  #mapbase svg {
    height:180px;
  }
}
@media screen and (max-width: 480px) and (min-width: 401px) {
  #mapbase svg {
    height:250px;
  }
}
@media screen and (max-width: 568px) and (min-width: 481px) {
  #mapbase svg {
    height:290px;
  }
}
@media screen and (max-width: 685px) and (min-width: 569px) {
  #mapbase svg {
    height:340px;
  }
}
@media screen and (max-width: 767px) and (min-width: 686px) {
  #mapbase svg {
    height:420px;
  }
}
@media screen and (min-width: 768px) {
  #mapbase svg {
    height:520px;
  }
}
/* THIS IS TO HIDE AN AREA IF NEEDED
#usjs2, #usjsvn2 {
  display: none;
}*/

#state-data {
  position: relative;
  transition: all 0.5s ease-in-out;
  width: 100%;
  height: 100%;
  min-width:500px;
}


.loaderimg {
  background: url(../design/loading.gif) no-repeat center center; 
}

.loaderimg .stateinfo nav.tabs {
    text-align: center;
    z-index: 1;
}

.loaderimg .stateinfo {
    position: relative;
}

.loaderimg .stateinfo:after {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.75);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}



/* Dropdown Button */
.state_dropdown_btn {
  background-color: #bbb;
  color: white;
  padding: 8px 0;
  font-size: 16px;
  border: none;
  width:100%;
}

/* The container <div> - needed to position the dropdown content */
#state_dropdown {
  position: relative;
  display: none;
  padding-top: 30px;
}

/* Dropdown Content (Hidden by Default) */
.state_dropdown_content {
  display: none;
  position: relative;
  background-color: #f1f1f1;
  min-width: 160px;
  width: 100%;
  overflow: auto;
  max-height: 450px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.state_dropdown_content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.state_dropdown_content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
#state_dropdown:hover .state_dropdown_content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
#state_dropdown:hover .state_dropdown_btn {background-color: #c0c0c0;}


@media (max-width: 767px) {
  #state-data {
    position: relative;
    left: auto;
  }
  /* #mapwrapper{ display:none; } */
  #state_dropdown { display:block; }
}