#map {
    position:relative;
    margin:auto auto;
    width:600px;
    height:600px;
    overflow: hidden;
    border: 3px solid #5A4119;
    background-color: #7CAEFF;
    background-image: linear-gradient(-180deg, #C0E1FF 0%, #7CAEFF 100%);
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 8px 0 rgba(0, 0, 0, 0.19);*/
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
#titlebar {
    position: absolute;
    top: 0px;
    z-index: 3;
    background-color: #624300;
    background-image: linear-gradient(-90deg, #624300 0%, #382600 100%);
    width:100%;
    height:40px;
}
#titlebar-title {
}
.title {
    margin: 8px 40px 5px 5px;
    color: white;
    font-size: 16px;
    line-height: 17px;
}
.title-small {
    margin: 5px 40px 5px 5px;
    font-size: 13px;
    line-height: 14px;
}
#titlebar-legend-button:active {
    outline: 0;
    -webkit-box-shadow: inset 5px 5px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 5px 5px 1px rgba(0, 0, 0, 0.2);
    background-position: 1px 1px;
}
#titlebar-legend-button {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    padding: 0;
    margin: 4px 4px 0 16px;
    width: 21px;
    height: 27px;
    border: 0;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #5a4119;
    background-color: transparent;
    background-image: url("../img/legend_button.svg");
    background-repeat: no-repeat;
    background-position: 0 0;
}
#basemap, #event-images, #legend-images, #balloon-markers, #popup-images {
    position: absolute;
    top: 3px;
    left: -2px;
}
.map-layers, .map-layers > img {
    position: absolute;
    top: 0;
    left: 0;
}
.images-loading-spinner, .spinner {
  margin: 100px auto 0;
  width: 140px;
  text-align: center;
}
.images-loading-spinner > div, .spinner > div {
  width: 18px;
  height: 18px;
  margin: 0 5px;
  background-color: #fff;
  background-color: #382603;
  opacity: 0.3;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.images-loading-spinner .bounce1, .spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.images-loading-spinner .bounce2, .spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%, 90%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
  0%, 90%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
.images-loading-message {
    margin: 20px auto;
    text-align: center;
    font-size: 14px;
    color: #382603;
}
#animation {
    position: absolute;
    top: 40px;
    left: 0px;
    z-index: 2;
}
#replay {
    display: none;
    position: absolute;
    bottom: 160px;
    right: 20px;
    z-index: 2;
}
#replay_btn {
    cursor: pointer;
}

#legend {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
}
#buttonbar {
    z-index: 3;
    border-top:3px solid #5a4119;
    border-bottom:3px solid #5a4119;
    height: 50px;
    width: 100%;
    background: url("../img/control_bk.png");
    background-size: 100%;
    position: absolute;
    bottom:129px;
}
#buttonbar .button-container {
    text-align: center;
}
.btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 3px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, .125);
}
.btn-buttonbar {
    display: inline-block;
    padding: 6px 12px;
    margin: 8px 3px 0 3px;
    font-size: 12px;
    font-weight: bold;
    line-height: 12px;
    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;
    color: #5a4119;
    background-color: #FFF56A;
    background-image: linear-gradient(-90deg, #EBC000 0%, #FFF56A 57%, #FFEC00 100%);
    border: 1px solid #5a4119;
    border-radius: 20px
}
#event-control {
    z-index: 3;
    border-top:3px solid #5a4119;
    border-bottom:3px solid #5a4119;
    height: 62px;
    width: 100%;
    background-image: linear-gradient(90deg, #BF6601 0%, #D28D01 22%, #EABF02 42%, #EABF02 60%, #FFF480 67%, #FFEA02 71%, #C87801 82%, #EABF02 100%);
    /*background: url("../img/control_bk.png");*/
    background-size: 100%;
    position: absolute;
    bottom:99px;
}
#event-control.empty {
    height: 20px;
}
#event-text {
    height:100px;
    width:100%;
    position: absolute;
    z-index: 100;
    bottom: 0;
    background-color: #ffeecc;
    -moz-appearance: textfield-multiline;
    -webkit-appearance: textarea;
    overflow: auto;
    resize: none;
}
#event-content {
    margin: 5px 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:.8em;
}
.scroll-pane {
    width: 100%;
    height: 100px;
    overflow: auto;
}
.horizontal-only {
    height: auto;
    max-height: 100px;
}
#map_legend {
    background-color: transparent;
    border:0;
    padding: 0;
    margin: 0;
}
fieldset {
    border:0;
    padding: 0px;
    margin: 5px;
}
#buttons {
    width: 50px;
}
#btn-back, #btn-forward, #btn-play {
    margin: 0;
    padding: 0;
    border:0;
    background-color: transparent;
}
#btn-back {
    cursor: pointer;
    width:18px;
    height:18px;
    background-image: url("../img/btn_back_normal.png");
}
#btn-back:hover {
    background-image: url("../img/btn_back_mouseon.png");
}
#btn-back:active {
    background-image: url("../img/btn_back_click.png");
}
#btn-forward {
    cursor: pointer;
    width:18px;
    height:18px;
    background-image: url("../img/btn_forward_normal.png");
}
#btn-forward:hover {
    background-image: url("../img/btn_forward_mouseon.png");
}
#btn-forward:active {
    background-image: url("../img/btn_forward_click.png");
}
#btn-play {
    cursor: pointer;
    width:37px;
    height:18px;
    background-image: url("../img/btn_play_normal.png");
}
#btn-play:hover {
    background-image: url("../img/btn_play_mouseon.png");
}
#btn-play:active {
    background-image: url("../img/btn_play_click.png");
}
#timeline {
    z-index: 3;
    position: absolute;
    top: 0px;
    left:60px;
}
#timeline-ticker {
    z-index: 4;
    position: absolute;
    top: 0px;
    left:60px;
}
.balloon-marker {
    position: absolute;
    width: 19px;
    height: 19px;
    background-image: url("../img/balloon_marker.svg");
    background-repeat: no-repeat;
    cursor: pointer;
}
.disable-select {
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}