section {
  width: 50%;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  position: relative;
}

.navigator {
  position: relative;
  height: 100%;
  background-color: #ecf5fe;
}

.selectors {
  display: inline-block;
  vertical-align: top;
  position: relative;
  margin-top: 5px;
  font-size: 14px;
  height: 100%;
}

.selectors p {
  color: #002d4f;
  margin-left: 5px;
  margin-bottom: 2px;
  width: 100%;
}

.selectors p.small {
  font-size: 12px;
  margin-left: 10px;
}

.chartButton {
  cursor: pointer;
  color: #002d4b;
  position: absolute;
  left: 135px;
}

.chartButton a, .chartButton a:visited {
  color: #b5d7e7
}

.chartButton a:hover {
  color: #4297b4;
}

.box {
  position: relative;
  display: block;
  margin-bottom: 5px;
  height: 22px;
  width: 150px;
}

.box select {
  background-color: #b5d7e7;
  color: #002d4b;
  padding: 2px;
  width: 150px;
  border: none;
  font-size: 13px;
  outline: none;
  height: 22px;
  -webkit-appearance: none;
}

.box select:hover {
  cursor: pointer;
}

.box::before {
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  right: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: rgb(99, 133, 172);
  pointer-events: none;
}

.box:hover::before {
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.box select option {
} 

.box .sel-menu {
  background-color: #b5d7e7;
  font-size: 13px;
  color: #002d4b;
}

.box .menu-content {
  display: none;
  position: absolute;
  z-index: 99999;
  background-color: #b5d7e7;
  box-shadow: rgba(0, 0, 0, 0.3) 6px 6px 4px;
#  width: 300px;
  padding: 10px;
  white-space: nowrap;
}

.box .menu-content table tr td {
  padding-right: 5px;
  vertical-align: bottom;
}

.box .sel-menu .menu-header {
  padding-left: 5px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.box .menu-content a {
  color: #4295b2;
}

.box .menu-content a:visited {
  color: #4295b2;
}

.box .menu-content a:hover {
  color: #4295b280;
}

#dragbar, #ghostbar {
  background-color: #b5d7e7;
  height:100%;
  width: 4px;
  cursor: col-resize;
  position: absolute;
  right: 0;
  top: 0;
  right; 0;
}

#ghostbar{
  opacity:0.5;
  position:absolute;
  z-index:999
}

button  {
  background-color: #e0e0e0;
  color: black;
  font-size: 14px;
  border: 0;
  height: 22px;
  text-align: left;
  display: block;
  margin-bottom: 5px;
  width: 150px;
  padding-left: 5px;
}

button:hover {
  cursor: pointer;
}

.player {
  text-align: center;
}

.player a {
  margin-left: 4px;
  margin-right: 4px;
}

.mapContainer {
  width: 100%;
  height: auto;
  position: relative;
}

.mapWrapper {
  position: relative;
  width: 100%;
  height:auto;
  padding: 5px;
}

.expandMap {
  position: fixed;
  top: 38px;
  right: 0;
  width: calc(100% - 155px);
  height: calc(100% - 60px);
  z-index: 100;
  background-color: rgba(236, 245, 254, .75);
}
.expandItaly {
  height: 100%;
}
.mapExpander {
  position: absolute;
  right: 5px;
  z-index: 200;
}
.mapExpander a i {
  color: #4295b2;
}
.expandExpander {
  right: 20px;
  top: 10px;
  font-size: 20pt;
}
#left {
  width: 155px;
}
#right {
    width: calc(100% - 155px);
}
.chartWrapper {
  border-width: 4px 4px 4px 4px;
}

@media (max-width: 1250px) {
.expandMap {
  height: calc(100% - 60px);
}
}

@media (max-width: 850px) {

.chartButton {
  left: 85px;
}

section {
  width: 100%;
}

section:first-of-type {
  height: 100%;
}

.mapExpander {
  right: 0px;
}

.container {
  width: 100%;
}

#left {
  width: 105px;
}

#right {
  width: calc(100% - 105px);
}

.mapContainer, .mapWrapper {
  width: 100%;
}

.expandMap {
  width: calc(100% - 105px);
  height: calc(100% - 60px);
}

#dragbar, #gnostbar {
  display: none;
}

.box select, .links, .player, .box, .selectors {
  width: 100px;
}

.player a {
  display: inline-block;
  margin: 4px 10px 0px 10px;
}

}

@media (max-width: 750px) {

.box .menu-content {
  width: 90vw;
}

.box .menu-content {
  white-space: initial;
}

.box .menu-content table, .box .menu-content table tbody  {
  display: block;
}

.box .menu-content table tr {
  display: block;
}

.box .menu-content table tr td:first-child {
  display: block;
}

.box .menu-content table tr td.std {
  display: inline-block;
}

.box .menu-content table tr td {
  display: inline-block;
}

}

@media (max-height: 500px) {
.mapContainer, .mapWrapper {
  width: 100px;
  height: 50px;
}
.expandItaly {
  width: 100%;
  height: 100%;
}
.expandMap {
  width: calc(100% - 105px);
  height: calc(100% - 60px);
}

}