.search-map-input {
  width: 250px;
  margin: 10px;
  background-color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  margin-bottom: 22px;
  text-align: left;
  color: rgb(25, 25, 25);
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 38px;
  padding-left: 5px;
  padding-right: 5px;
}

figcaption {
  font-style: italic;
  text-align: left;
  font-size: 14px;
  padding: 1px;
}

.polygonLegend {
  width: 20px;
  height: 15px;
  border-style: dashed;
  border-width: 2px;
}

.divTableRow {
  display: table-row;
}

.divTableHeading {
  background-color: #eee;
  display: table-header-group;
}

.divTableCell {
  display: table-cell;
  vertical-align: middle;
  padding: 5px 10px 5px 0px;
  font-size: 0.95em;
}

.divTableBody {
  display: table-row-group;
}

#explore-map {
  width: 100vw;
  height: 100vh;
}

#static-map {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-image: url(../img/static-map.png);
}

#download-map {
  width: 100vw;
  height: 100vh;
}

.tensorsite-button {
  margin-top: 7px;
}

/* override theme */
table img {
  max-width: 100%;
}

/* override var element to differentiate color from comment */
var,
var code,
var span,
.prettyprint var span {
  color: #039be5;
}

/* .devsite-terminal virtualenv prompt */
.tfo-terminal-venv::before {
  content: "(venv) $ " !important;
}

/* .devsite-terminal root prompt */
.tfo-terminal-root::before {
  content: "# " !important;
}

/* Used in links for type annotations in function/method signatures */
.tfo-signature-link a,
.tfo-signature-link a:visited,
.tfo-signature-link a:hover,
.tfo-signature-link a:focus,
.tfo-signature-link a:hover *,
.tfo-signature-link a:focus * {
  text-decoration: none !important;
}

.tfo-signature-link a,
.tfo-signature-link a:visited {
  border-bottom: 1px dotted #1a73e8;
}

.tfo-signature-link a:focus {
  border-bottom-style: solid;
}

/* .devsite-terminal Windows prompt */
.tfo-terminal-windows::before {
  content: "C:\\> " !important;
}

/* .devsite-terminal Windows prompt w/ virtualenv */
.tfo-terminal-windows-venv::before {
  content: "(venv) C:\\> " !important;
}

.tfo-diff-green-one-level + * {
  background: rgba(175, 245, 162, 0.6) !important;
}

.tfo-diff-green + * > * {
  background: rgba(175, 245, 162, 0.6) !important;
}

.tfo-diff-green-list + ul > li:first-of-type {
  background: rgba(175, 245, 162, 0.6) !important;
}

.tfo-diff-red-one-level + * {
  background: rgba(255, 230, 230, 0.6) !important;
  text-decoration: line-through !important;
}

.tfo-diff-red + * > * {
  background: rgba(255, 230, 230, 0.6) !important;
  text-decoration: line-through !important;
}

.tfo-diff-red-list + ul > li:first-of-type {
  background: rgba(255, 230, 230, 0.6) !important;
  text-decoration: line-through !important;
}

devsite-code .tfo-notebook-code-cell-output {
  max-height: 300px;
  overflow: auto;
  background: rgba(
    255,
    247,
    237,
    1
  ); /* orange bg to distinguish from input code cells */
}

devsite-code
  .tfo-notebook-code-cell-output
  + .devsite-code-buttons-container
  button {
  background: rgba(
    255,
    247,
    237,
    0.7
  ); /* orange bg to distinguish from input code cells */
}

devsite-code[dark-code] .tfo-notebook-code-cell-output {
  background: rgba(64, 78, 103, 1); /* medium slate */
}

devsite-code[dark-code]
  .tfo-notebook-code-cell-output
  + .devsite-code-buttons-container
  button {
  background: rgba(64, 78, 103, 0.7); /* medium slate */
}

/* override default table styles for notebook buttons */
.devsite-table-wrapper .tfo-notebook-buttons {
  display: inline-block;
  margin-left: 3px;
  width: auto;
}

.tfo-notebook-buttons td {
  padding-left: 0;
  padding-right: 20px;
}

.tfo-notebook-buttons a,
.tfo-notebook-buttons :link,
.tfo-notebook-buttons :visited {
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  color: #202124;
  padding: 12px 17px;
  transition: box-shadow 0.2s;
}

.tfo-notebook-buttons a:hover,
.tfo-notebook-buttons a:focus {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.tfo-notebook-buttons tr {
  background: 0;
  border: 0;
}

/* on rendered notebook page,
   remove link to webpage since we're already here */
.tfo-notebook-buttons:not(.tfo-api) td:first-child {
  display: none;
}

.tfo-notebook-buttons td > a {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.tfo-notebook-buttons td > a > img {
  margin-right: 8px;
}

/* landing pages */

.tfo-landing-row-item-inset-white {
  background-color: #fff;
  padding: 32px;
}

.tfo-landing-row-item-inset-white ol,
.tfo-landing-row-item-inset-white ul {
  padding-left: 20px;
}

/* colab callout button */
.colab-callout-row devsite-code {
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}

.colab-callout-footer {
  background: #e3e4e7;
  border-radius: 0 0 8px 8px;
  color: #37474f;
  padding: 20px;
}

.colab-callout-row devsite-code[dark-code] + .colab-callout-footer {
  background: #3f4f66;
}

.colab-callout-footer > .button {
  margin-top: 4px;
  color: #ff5c00;
}

.colab-callout-footer > a > span {
  padding-top: 10px;
  vertical-align: middle;
  color: #37474f;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 14px;
}

.colab-callout-row devsite-code[dark-code] + .colab-callout-footer > a > span {
  color: #fff;
}

a.colab-button {
  background: rgba(255, 255, 255, 0.75);
  border: solid 1px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  color: #aaa;
  display: inline-block;
  font-size: 11px !important;
  font-weight: 300;
  line-height: 16px;
  padding: 4px 8px;
  text-decoration: none;
  text-transform: uppercase;
}

a.colab-button:hover {
  background: white;
  border-color: rgba(0, 0, 0, 0.2);
  color: #666;
}

a.colab-button span {
  background: url(/images/colab_logo_button.svg) no-repeat 1px 1px / 20px;
  border-radius: 4px;
  display: inline-block;
  padding-left: 24px;
  text-decoration: none;
}

@media screen and (max-width: 600px) {
  .tfo-notebook-buttons td {
    display: block;
  }
}

/* guide and tutorials landing page cards and sections */

.tfo-landing-page-card {
  padding: 16px;
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Page section headings */
.tfo-landing-page-heading h2,
h2.tfo-landing-page-heading {
  font-family: "Google Sans", sans-serif;
  color: #425066;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

/* Item title headings */
.tfo-landing-page-heading h3,
h3.tfo-landing-page-heading,
.tfo-landing-page-card h3,
h3.tfo-landing-page-card {
  font-family: "Google Sans", sans-serif;
  color: #425066;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

/* List of tutorials notebooks for subsites */
.tfo-landing-page-resources-ul {
  padding-left: 15px;
}

.tfo-landing-page-resources-ul > li {
  margin: 6px 0;
}

/* Temporary fix to hide product description in header on landing pages */
devsite-header .devsite-product-description {
  display: none;
}

.graph-data-img {
  margin: auto;
  display: block;
  width: 80%;
  margin-top: 10px;
  padding: 0.5% 0;
}

.graph-data-img-2 {
  width: 60% !important;
}

.graph-data-notes {
  margin: auto;
  display: block;
  text-align: center;
  color: black;
  padding: 0.5% 0;
  margin-top: 0.2%;
  width: 80%;
  font-family: "Google Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.graph-data-notes-2 {
  padding-left: 15% !important;
}

@media only screen and (max-width: 1000px) {
  .graph-data-img {
    max-width: 90%;
  }
}

@media only screen and (max-width: 800px) {
  .graph-data-notes {
    max-width: 80%;
    font-size: 10px;
  }
}

.popup-view {
  z-index: 100;
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow: auto;
  background-color: rgba(245, 246, 247, 0.9);
  justify-content: center;
  align-items: center;
}

.graph-data-img,
.graph-data-notes {
  animation-name: graph_frames;
  animation-duration: 0.5s;
}

@keyframes graph_frames {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

#footnote {
  color: rgb(100, 100, 100);
  font-family: Roboto, Arial, sans-serif;
  font-size: 10px;
}
