/* Element CSS */
body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  display: grid;
  grid-template-rows: 80%;
}

h6 {
  max-width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
}

hr {
  border: none;
}

html {
  height: 100%;
  margin: 0px;
  padding: 0px;
}


/* Class CSS */
.advanced-options-margin-fix {
  right: -15px !important;
}

.align-input {
  display: inline-block;
  text-align: left;
}

.btn-white {
  color: #000;
  background-color: #fff;
  border-color: #fff;
}

.click-tip {
  cursor: pointer;
  border-bottom: dotted 1px black;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #6c757d1a;
  border: 0.5px solid #000000;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 2px;
  width: 96%;
  min-width: 80%;
  text-align: left;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  padding: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collapsible-delete {
  background-color: #6c757d1a;
  border: 0.5px solid #000000;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 2px;
  margin-bottom: 2px;
  /* width: 10%; */
  width: 4%;
  max-width: 20%;
  min-width: 16px;
  text-align: center;
  vertical-align: center;
  outline: none;
  font-size: 18px;
  font-weight: bold;
  padding: 2px;
}

.collapsible-delete:hover,
.collapsible-delete:focus {
  color: #000;
  text-decoration: none;
  background-color: rgb(190, 190, 190);
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
  background-color: rgb(190, 190, 190);
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 8px 12px 12px 12px;
  display: none;
  overflow: hidden;
  background-color: #ffffff;
  width: 100%;
  border: 1px solid black;
  border-top: none;
  border-radius: 2px;
}

.content input[type=color] {
  margin-right: 2px;
  margin-left: 2px;
}

.content input[type=checkbox] {
  vertical-align: middle;
}

.content input[type=number] {
  width: 60px;
  vertical-align: middle;
}

.content input[type=range] {
  width: 80px;
  vertical-align: middle;
}

.div-button {
  border-radius: 4px;
  background-color: white;
  border: none;
  color: black;
  font-size: 28px;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  margin-top: 192px;
}

.form-element {
  margin-top: 10px;
  vertical-align: middle;
}

.form-input {
  display: inline-block;
  line-height: 40px;
  vertical-align: middle;
}

.form-fieldset {
  margin-bottom: 12px;
  padding: 2px 12px 12px 12px;
}

.form-fieldset legend {
  font-size: 20px;
  font-weight: bold;
}

.form-text {
  display: inline-block;
  min-width: 120px;
  vertical-align: middle;
}

.helpful-tips {
  cursor: help;
  border-bottom: 0.5px solid grey;
}

* {box-sizing: border-box;}

.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 80px;
  height: 80px;
  z-index: 1000;
}

.map-container {
  padding: 15px;
}

.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 */
  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
}

.modal-body {
  padding: 2px 16px;
}

.modal-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

.modal-content {
  position: fixed;
  bottom: 0;
  background-color: white;
  width: 100%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
}

.modal-header {
  padding: 2px 16px;
  background-color: #f39325;
  color: white;
}

.modal-row-content {
  padding: 8px 4px 8px 4px;
}

.modal-row-content span, .modal-row-content input{
  vertical-align: middle;
}

.overlay-header {
  text-align: left;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Overlay Loader Modal */
.overlay-loader-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
}

/* Overlay Loader Modal Content */
.overlay-loader-modal-content {
  position: relative;
  background-color: white;
  margin: auto;
  padding: 0;
  border: 2px solid rgb(59, 59, 59);
  width: 80%;
  max-width: 1500px;
  /* min-width: 400px; */
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

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

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.overlay-loader-close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  padding: 0px 8px;
}

.overlay-loader-close:hover,
.overlay-loader-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 460px) {
  .overlay-loader-close {
    display: none;
  }
}

.overlay-loader-modal-header {
  padding: 12px;
  /* background-color: #5cb85c; */
  background-color: #f39325;
  color: white;
  font-size: 28px;
  font-weight: bold;
}

.overlay-loader-modal-body {padding: 4px;}

.overlay-loader-modal-footer {
  padding: 12px;
  /* background-color: #5cb85c; */
  background-color: #f39325;
  color: white;
  text-align: right;
}

.overlay-loader-modal-footer button {
  font-size: 18px;
  font-weight: bold;
}

.overlay-settings-row {
  width: 100%;
  padding: 10px 0 10px 0;
}

.overlay-visible-item {
  display: none;
}

.read-only {
  background-color: lightgrey;
}

.required {
  color: red;
}

.row {
  /* max-width: 100%; */
  margin-left: 0px;
  margin-right: 0px;
}

.s-key {
  font-weight: bold;
  text-align: right;
}

.s-name {
  text-align: left;
}

.sidebar {
  padding: 10px;
}

.stat-input {
  display: inline-block;
  min-width: 140px;
  margin: 5px;
}

.stat-input-checkbox {
  display: inline-block;
  min-width: 140px;
  margin: 5px;
  vertical-align: middle;
  text-align: left;
}

.stat-item {
  display: inline-block;
}

.stat-text {
  display: inline-block;
  min-width: 80px;
  margin: 5px;
  text-align: right;
}

.ta-c {
  text-align: center;
}

.ta-l {
  text-align: left;
}

.ta-r {
  text-align: right;
}

.upright-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

/* ID CSS */
#add-bug-display {
  display: none;
}

#additional-info {
  font-family: Roboto;
  font-size: 15px;
  font-weight: 400;
  line-height: 32px;
}

#advanced-options-button {
  border-radius: 4px;
  background-color: white;
  border: none;
  color: black;
  font-size: 28px;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
}

#advanced-options .col {
  padding: 2px;
}

#advanced-options-controls {
  background-color: white;
  border-radius: 5px;
  font-size: 15px;
  padding: 4px !important;
  width: 300px;
  margin-top: -186px;
  max-height: 446px;
  max-width: 300px;
  overflow-y: auto;
  overflow-x: auto;
}

#advanced-options-controls input {
  margin: 2px 4px 2px 4px;
  vertical-align: middle;
}

#advanced-options-controls input[type=range] {
  width: 50%;
}

#advanced-options-controls::-webkit-scrollbar {
  width: .6em;
}
 
#advanced-options-controls::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
 
#advanced-options-controls::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  border-radius: 3px;
  /* outline: 1px solid slategrey; */
}

#crosshair-center {
  vertical-align: center;
  text-align: center;
  display: none;
}

#map {
  height: 100%;
  border: 2px solid black;
}

#maps-options {
  position: absolute;
  margin-left: -72px;
  margin-bottom: 35px;
}

#mobile-div {
  display: inline-block;
  background-color: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  padding: 6px 6px 6px 6px;
  margin-bottom: 18px;
  text-align: center;
  vertical-align: middle;
}

#mobile-mode-div {
  display: inline-block;
  height: 20px;
  vertical-align: middle;
}

#mobile-options-div {
  display: none;
}

#modal-body {
  padding: 10px;
  text-align: center;
  font-size: 24px;
  line-height: 28px;
}

#modal-header-text {
  font-size: 32px;
  font-weight: bold;
  line-height: 46px;
  width: 100%;
  text-align: center;
}

#mode-control-container {
  display: grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: 100%;
}

#notes {
  width: 30em;
  max-width: 30em;
}

#overlay-loader-body span {
  white-space: nowrap;
}

#overlay-loader-header div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#overlay-settings {
  display: none;
}

#overlay-settings-content {
  vertical-align: middle;
  width: 100%;
}

#overlay-settings-content .overlay-settings-row:nth-of-type(odd){
  background-color: #6c757d1a;
}

#pac-input {
  background-color: #fff;
  font-family: Roboto;
  font-size: 15px;
  font-weight: 300;
  margin-left: 10px;
  margin-top: 10px;
  padding: 0 11px 0 13px;
  text-overflow: ellipsis;
  width: 15%;
  line-height: 32px;
  border: "2px solid #fff";
}

@media only screen and (max-width: 565px) {
  #pac-input {
    position: absolute;
    left: 0 !important; 
    top: 50px !important;
  }
}

#pac-input:focus {
  border-color: #4d90fe;
}

#stat-display {
  text-align: center;
  margin: -11px 15px 0px 15px;
  padding: 10px 0px 10px 0px;
}

#top-alert {
  width: 30%;
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  /* display: none; */
}

#user-info-display {
  margin: 0px 15px 0px 15px;
  padding: 10px;
  text-align: center;
}

#user-info-display input {
  width: 30em;
}

#user-info-display > h2 {
  margin-bottom: 5px;
}    

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* Session Dropdown Options */
#session-options-dropdown-btn {
  /* background-color: #3498DB; */
  background-color: #f39325;
  color: white;
  padding: 8px;
  font-size: 16px;
  border: none;
  border-radius: .25rem;
  cursor: pointer;
  margin-right: 4px;
}

#session-options-caret {
  display: inline-block;
  font-size: 1em;
  font-weight: bolder;
  line-height: 18px;
  vertical-align: top;
}

/* Dropdown button on hover & focus */
#session-options-dropdown-btn:hover, #session-options-dropdown-btn:focus {
  /* background-color: #2980B9; */
  background-color: #d27315;
}

/* The container <div> - needed to position the dropdown content */
#session-options-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
#session-options-dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
#session-options-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
#session-options-dropdown-content a:hover {
  background-color: #ddd;
  cursor: pointer;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block !important;
}