@import url('https://fonts.googleapis.com/css?family=Fascinate');

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  background-color: floralwhite;
}

h1 {
    display: block;
    font-size: 1.3em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

#containerBottom {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#containerTop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  overflow: hidden;
}

#swipe {
  position:absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -7px;
  width: 5px;
  background: rgb(0, 0, 0);
  border: 9px solid rgba(255, 255, 255, 0.8);
  border-bottom: none;
  border-top: none;
  background-clip: content-box;
  cursor: col-resize;
  z-index: 1;
  /*box-shadow: 0px 0px 10px 2px rgba(255,255,255,1);*/
}

#swipe>img {
  height: 60px;
  position:absolute;
  top:50%;
  margin-left: -13px;
  margin-top:-30px;
  pointer-events: none;
}

#viewBottom {
  height: 100%;
  width: 100%;
}

#viewTop {
  height: 100%;
}

.esri-component.esri-attribution.esri-widget {
  opacity: 0.6;
  background-color: transparent;
}


header {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  font-family: Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;
  font-size: 1.6em;
  z-index: 2;
  text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

h3.esri-widget__heading, h4.esri-widget__heading, h5.esri-widget__heading, h6.esri-widget__heading {
    font-size: min(0.8vw, 12px);
}

.esri-ui-corner {
    max-width: 15vw;
}

.esri-widget {
    box-sizing: border-box;
    color: #323232;
    font-size: min(0.8vw, 12px);
    font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.3em;
    background-color: #fff;
    --esri-widget-padding-v: 12px;
    --esri-widget-padding-h: 15px;
    --esri-widget-padding: var(--esri-widget-padding-v) var(--esri-widget-padding-h);
}

.esri-ui-corner .esri-expand .esri-widget--panel, .esri-ui-corner .esri-expand .esri-widget--panel-height-only, .esri-ui-corner .esri-component>.esri-widget--panel, .esri-ui-corner .esri-component.esri-widget--panel {
    width: 15vw;
    max-width: 20em;
}


.esri-view-height-medium .esri-expand .esri-widget--panel, .esri-view-height-medium .esri-expand .esri-widget--panel-height-only, .esri-view-height-medium .esri-ui-corner .esri-component.esri-widget--panel, .esri-view-height-medium .esri-ui-corner .esri-component.esri-widget--panel-height-only {
    max-height: 15vw;
}

.esri-layer-list__item-container {
    border-left: 3px solid rgba(0, 0, 0, 0);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0px 7px 0px 20px;
    transition: border-color 250ms ease-in-out;
}

.esri-direct-line-measurement-3d__container {
    position: relative;
    padding: 4px 0px;
    overflow-y: auto;
}

.esri-direct-line-measurement-3d__actions {
    display: flex;
    flex-flow: column;
    justify-content: center;
    padding: 0 4px;
}

.esri-layer-list__item--has-children>.esri-layer-list__list {
    font-size: min(0.8vw, 12px);
}

.esri-button, .esri-elevation-profile__header button {
    align-items: center;
    background-color: #0079c1;
    border: 1px solid #0079c1;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: min(0.8vw, 12px);
    min-height: 32px;
    justify-content: center;
    word-break: normal;
    white-space: normal;
    overflow: hidden;
    padding: 6px 7px;
    width: 100%;
    transition: background-color 125ms ease-in-out,border 125ms ease-in-out;
}

.esri-view-width-xlarge .esri-popup__main-container {
    width: min(20vw, 300px);
}
.esri-view-width-large .esri-popup__main-container {
    width: min(20vw, 300px);
}

h2.esri-widget__heading {
    font-size: min(0.8vw, 12px);
}

.esri-widget__table tr td, .esri-widget__table tr th {
    padding: .5em .7em;
    word-break: break-word;
    font-size: min(0.8vw, 12px);
    font-weight: 400;
}

.esri-popup__footer .esri-popup__button {
    font-weight: 400;
    font-size: min(0.8vw, 12px);
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.esri-popup__content {
    display: flex;
    flex-flow: column nowrap;
    flex: 1 1 auto;
    font-size: min(0.8vw, 12px);
    font-weight: 400;
    margin: 0px 0px 0px; */
    overflow: auto;
    line-height: normal;
}


