/*
 * Always set the map height explicitly to define the size of the div element
 * that contains the map.
 */

#map {
  height: 90%;
}
/* Optional: Makes the sample page fill the window. */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
}
#search-box {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 400px;
}
input {
  width: 100%;
  padding: 8px;
  font-size: 16px;
}

#results-container {
  background-color: #eeeeee;
  border: solid 1px #000000;
  width: 100%;
  display: none;
  border-radius: 5px;
  padding: 5px;
}

#results-container li:hover {
  background-color: yellow;
}

#input {
  width: 300px;
  position: relative;
  left: 10%;
  padding: 8px;
  font-size: 16px;
}

#clear-button {
  width: 75px;
  position: relative;
  left: 50px;
  padding: 2px;
  font-size: 16px;
  visibility: hidden;
}

ul {
  list-style-type: none;
  padding: 2px;
}

li {
  padding: 5px 10px;
}

.surgeon-name {
  font-weight: bold;
  font-color: #000000;
}

.page-title {
  font-weight: bold;
  font-color: #007bff;
  font-size: 2rem;
}

.surgeon-loc {
  font-color: #444444;
  padding-left: 5px;
}

.surgeon-info {
  display: grid;
  grid-template-columns: auto 150px;
  grid-column-gap: 50px;
}

.surgeon-name {
  grid-column: 1;
}
.surgeon-address {
  grid-column: 1;
}
.surgeon-image {
  grid-column: 2;
  height: 150px;
  grid-row-start: 1;
  grid-row-end: 4;
}
.surgeon-extra {
  grid-column: 1;
}

.chart {
  width: 80%;
  display: flex;
  align-content: center;
  justify-items: center;
}

div.report {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

table.report {
  border: solid 1px #000000;
  border-collapse: separate;
  border-radius: 10px;
}

table.report td,
table.report th {
  padding: 5px;
}

table.report tbody tr:nth-child(odd) {
  background-color: #dddddd;
}

.detail-page-title {
  color: #000088;
  font-weight: bold;
}

.detail-page-content {
  color: #000000;
}

.userTypeModal {
  border-radius: 20px;
  opacity: 1;
  width: 75%;
}

dialog.userTypeModal::backdrop {
  background-color: #333333;
  opacity: 50%;
}

.radio-container {
  display: flex;
  padding-bottom: 15px;
}

.radio-container label {
  width: 90%;
}

.radio-container input {
  width: 10%;
}

/* For mobile screens */
@media only screen and (max-width: 1000px) {
  #map {
    top: 57px;
  }

  #search-box {
    top: 70px;
  }

  .surgeon-info {
    grid-column-gap: 5px;
  }

  .surgeon-image {
    height: 125px;
  }

  span.navbar-brand-title {
    font-size: 10pt;
  }

  /* Hide secondary title text for mobile to save space */
  span.navbar-brand-title:last-of-type {
    display: none;
  }

  /* Make search box a little smaller and move clear button over */
  #input {
    width: 250px;
    left: 15%;
  }

  #clear-button {
    width: 50px;
    left: 60px;
  }

}
