html, body {
    margin:0;
    padding:0;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    color: blue;
}

input, select {
    font-size:0.8em;
}

table {
    margin-top:-10px;
    margin-left:7px;
}

h4 {
    font-size:1.1em;
    text-decoration:none;
    font-weight:normal;
    color:#23A4FF;
}

a {
    color:#23A4FF;
}

.modal-content h3 {
    color:#ffbe00;
    margin-bottom: 1rem;
}


#container {
    width: 100%;
    height: 100%;
    margin:0 auto;
    position:relative;
}

#left-container,
#right-container,
#center-container {
    height:100%;
    position:absolute;
    top:0;
}

#left-container, #right-container {
    width:0;
    text-align: left;
    overflow: auto;
    border: 0;
}


#center-container {
    width:100%;
}

.text {
    margin: 7px;
}

#inner-details {
    font-size:1.2em;
    list-style:none;
    margin:7px;
}

#log {
    position:absolute;
    top:10px;
    padding-left: 2rem;
    padding-top: 1rem;
    text-align: right;
    font-size:1rem;
    font-weight:800;
    color:#00000000;
}


#infovis {
    position:relative;
    width:100%;
    height:100%;
    margin:auto;
    overflow:hidden;
    background-color: ffffff22;
}

/*TOOLTIPS*/
.tip {
    color: #111;
    width: 139px;
    background-color: white;
    border:1px solid #ccc;
    -moz-box-shadow:#555 2px 2px 8px;
    -webkit-box-shadow:#555 2px 2px 8px;
    -o-box-shadow:#555 2px 2px 8px;
    box-shadow:#555 2px 2px 8px;
    opacity:0.9;
    filter:alpha(opacity=90);
    font-size:2rem;
    font-family:Verdana, Geneva, Arial, Helvetica, sans-serif;
    padding:7px;
}


/* The Modal (background) */
.modal {
 display: none; /* Hidden by default */
 position: fixed; /* Stay in place */
 z-index: 1; /* 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 */
 animation-name: animatetop;
 animation-duration: 0.5s;
 padding-left: 5rem;
 padding-right: 5rem;
}

/* Modal Content/Box */
.modal-content {
 background-color: #ffffffff;
 margin: 8% auto; /* 15% from the top and centered */
 padding: 20px;
 border: 1px solid gray;
 border-radius: 0.25rem;
 font-size: 0.65rem;
 overflow: auto;
 color: #616161;
 text-align: left;
 width: 80%; /* Could be more or less, depending on screen size */
}

.modal-p {
  padding: 0 10px;
  color: #616161;
}
.modal-h3 {
  padding: 0 10px;
  font-size: 1.4em;
  color: #373737;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -10px; opacity: 0}
  to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
 color: #ffbe00ff;
 float: right;
 font-size: 32px;
 font-weight: bold;
 padding-top:0;
 margin-top: -15px;
}

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

@media screen and (min-width: 240px) {
  .modal-content {
    font-size: 5vh;
  }
  .modal-content h3 {
   font-size: 7vh;
  }
}

@media screen and (min-width: 720px) {
  .modal-content {
    font-size: 5vh;
  }
  .modal-content h3 {
   font-size: 7vh;
  }
}


@media screen and (min-width: 960px) {
  .modal-content {
   font-size: 0.8rem;
  }
  .modal-content h3 {
   font-size: 1.2rem;
  }
}

@media screen and (min-width: 1140px) {
  .modal-content {
   font-size: 1.2rem;
  }
  .modal-content h3 {
   font-size: 1.5rem;
  }
  
}

@media screen and (orientation: portrait) and (min-width: 240px) {
  .modal-content {
    font-size: 1.4rem;
  }
  .modal-content h3 {
   font-size: 2.1rem;
  }
}

@media screen and (orientation: portrait) and (min-width: 720px) {
  .modal-content {
    font-size: 2.2rem;
  }
  .modal-content h3 {
   font-size: 3.3rem;
  }
}

h1 {
  margin-top: 0;
}



@media screen and (min-width: 240px) {
  #log {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 720px) {
  #log {
    font-size: 1.1rem;
  }
}


@media screen and (min-width: 960px) {
  #log {
   font-size: 0.8rem;
  }
}

@media screen and (min-width: 1140px) {
  #log {
   font-size: 0.8rem;
  }
}

@media screen and (orientation: portrait) and (min-width: 240px) {
  #log {
    font-size: 1.4rem;
  }
}

@media screen and (orientation: portrait) and (min-width: 720px) {
  #log {
    font-size: 2.2rem;
  }
}



/* Adding some stuff */


.close h2 {
  padding-left: 5px;
  padding-top: 5px;
}


.modal-dialog{
  max-width: 100% !important;
  margin-top: 0 !important;
}

.img-bio{
  padding-left: 10px;
  padding-bottom: 10px;
}


/* allow the overlay to scroll if needed */
.modal.show-modal.is-open {
  display: flex;
  overflow-y: auto;
}

/* cap the dialog and make its inside scroll when it overflows */
.modal-content {
  max-height: min(85vh, 85%);
  overflow: auto;                /* or overflow-y: auto; */
  -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
  padding-bottom: 4rem;
}

/* cap the dialog and make its inside scroll when it overflows */
.modal {
  height: 100%;

}


body.has-modal { overflow: hidden; }
