@charset "utf-8";

html {
    scroll-behavior: smooth;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility; 
}

body {
    font-family: 'noto-serif';
    font-style: normal;
    font-weight: 300;
}

a, a:hover {
    color: #FD4345;
}

@font-face {
font-family: 'Sweet Sans Pro Regular';
font-style: normal;
font-weight: normal;
src: local('Sweet Sans Pro Regular'), url('fonts/sweet-sans-pro/SweetSansProRegular.woff') format('woff');
}

h1 {
	font-size: 4em;
    font-weight: 400;
}
h1.hotspot-city-name {
    font-size: 3em;
}

h2 {
	font-family: 'Sweet Sans Pro Regular', sans-serif;
    text-transform: uppercase;
	font-size: 2em;
}

h3 {
	font-family: 'Sweet Sans Pro Regular', sans-serif;
    text-transform: uppercase;
	font-size: 1.3em;
}

.p-small {
	font-size: .9em;
}

.small-print {
    font-size: .9em;
	margin:0;
}

.small-print-heading {
	font-size:1em;
    font-weight: 500;
	margin:0;
}

footer img {
	margin:auto;
	display:block;
}
footer a, footer a:hover {
    color: white;
}

.body_landing {
    text-align: center;
}
#splash {
    cursor: pointer;
}
#splash-image {
    width: 70%;
    max-width: 600px;
    margin: 10vh auto 0 auto;
    display: block;
}

.logo-top-left {
    width: 100%;
    padding-left: 80px;
}

.nav-current {
    color: red !important;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.7);
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: rgba(0, 0, 0, 1.0);
}
.dropdown-item {
    font-weight: 300;
    font-size: 0.8em;
}
.dropdown-menu {
    top: 80%;
    border-radius: 0;
}
.dropdown-menu-adjust-left {
    left: -92px;
}

#nav-main {
    justify-content: end;
}

#cities-list {
    height: 400px;
    overflow-y: scroll;
    scrollbar-width: none;
    margin-bottom: 8px;
}
.cities-listitem {
    text-decoration: none;
    list-style: none;
    left: 0px;
}

.hotspot-name {
    color: grey;
}

#cities-hero {
    padding-left: 0px;
    padding-right: 0px;
}

#dropdown-item-noborder {
    border: 0;	
}

footer {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #444;
    color: white;
    margin-top: 36px;
}

/* ADDED BY CHRIS */

/* 
 * Images in city content are scaled and moved to the wide right margin
 */
.puffy {
    min-height: calc(100vh - 240px - 60px);
}
#content .hotspot-city-sidebar img {
  width: 100%;
}
@media (min-width: 1063px) {
  #content .hotspot-city-sidebar {
      position: absolute;
      right: -240px;
      z-index: 1;
  }
  #content .hotspot-city-sidebar img {
      width: 240px;
  }
  #content .hotspot-city-sidebar p {
      width: 240px;
      font-size: 0.8em;
      font-color: #ccc;
  }
}
@media (min-width: 1200px) {
  #content .hotspot-city-sidebar {
      right: -300px;
  }
  #content .hotspot-city-sidebar img {
      width: 300px;
  }
  #content .hotspot-city-sidebar p {
      width: 300px;
  }
}

.city-list-hotspot {
    font-size: 0.8em;
    color: grey;
	margin: 0;
	padding: 0;
}
.city-list-name {
    font-style: bold;
}

a:hover {
    /* color: #C13684; */
}

.hotspot-city-stats {
    font-size: 0.8em;
    list-style: none;
    padding-left: 0;
}
.hotspot-city-embedded-table td {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 0.8em;
}

.references {
    list-style: none;
    padding-left: 0;
}

.references li {
    padding-bottom: 1em;
}

.faculty-name {
    font-weight: bold;
}

#city-map {
    max-width: 70vh;
}

/* Fixes header scroll offset */
#city-report a {
    scroll-margin-top: 150px;
}

#city-report-references {
    font-size: 0.8em;
}

.issues {
    background-color: rgb(255, 200, 200);
    border: 1px solid rgb(255, 150, 150);
    border-radius: 3px;
    padding: 5px;
    margin: 5px 0;
}

#navbar {
    background-color: white;
	font-family: 'Sweet Sans Pro Regular', sans-serif;
    text-transform: uppercase;
    z-index: 1;
}

#splash-footer img {
    margin: 24px 1%;
}
#splash-footer img:nth-child(1) {
    width: 33%;
}
#splash-footer img:nth-child(2) {
    width: 60%;
}

#splash-body {
    background-image: url(../img/splash.jpg);
    background-position: center;
    background-size: cover;
    height: calc(100vh - 90px);    
}
#splash-footer {
    height: 90px;
    background-color: white;
}
#splash-subtitle {
    font-size: 2vw;
    font-weight: 400;
    color: #555;
    font-style: italic;
    text-align: center;
    margin-top: -20px;
}
#splash-author {
	font-family: 'Sweet Sans Pro Regular', sans-serif;
    text-transform: uppercase;
	font-size: 4.5vw;
    text-align: center;
}

@media screen and (min-width: 890px) {
    #splash-author {
        font-size: 40px;
    }
    #splash-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    #splash-subtitle {
        font-size: 15px;
    }
    #splash-footer img:nth-child(1) {
        width: 100%;
    }
    #splash-footer img:nth-child(2) {
        width: 100%;
    }
    #splash-body {
        height: calc(100vh - 188px);
    }
    #splash-footer {
        height: 188px;
    }
}

#hotspot-circle {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    fill: #f44;
}

.hotspots-name-footer {
	font-family: 'Sweet Sans Pro Regular', sans-serif;
    text-transform: uppercase;
    margin-bottom: 0;
}

.subheading {
    font-style: italic;
    font-size: 1.2em;
}

figcaption {
  text-align: center;
}

.fig-label {
  font-weight: bolder;
}

.city-species ul {
  list-style: none;
  column-count: 2;
  color: gray;
  font-size: 0.8em;
  
}
.city-species li {
    font-style: italic;
}
.gallery {
  padding: 10px;
  margin: 24px 0;
}
.gallery-caption {
  text-align: center;
}
#city-report-outline {
    visibility: hidden;
    position: fixed;
    list-style: none;
    font-size: 0.8em;
    padding-left: 66px;
    width: 200px;
    margin-top: 1rem;
}
#city-report-outline ul {
    list-style: none;
    padding-left: 10px;
}
#city-report-outline a, #city-report-outline a:hover {
    color: rgb(144,166,171);
}
@media (min-width: 1200px) {
  #city-report-outline {
    width: 280px;
    visibility: visible;
  }
}
#navbar-content {
  font-family: 'Sweet Sans Pro Regular';
  text-transform: uppercase;
}
#splash-footer img {
    padding: 0 5px;
}
.fig-caption {
    text-align: center;
}
#city-report-outline li {
    margin: 14px 0;
    line-height: 1.2em;
}
canvas {
    cursor: pointer;
}
.related-projects .col {
  padding: 0;
}
.related-projects img {
  width: 100%;
}
.related-projects a, .related-projects a:hover, .related-projects a:visited {
  color: black;
  text-decoration: none;
}
.related-projects h3 {
  margin-top: 0.5em;
}
ul.instructors {
    padding-left: 0;
    list-style: none;
}
#city-keymap {
    margin-left: 15px;
    width: 250px;
    vertical-align: bottom;
    border: 1px solid #999;
}
@media (max-width: 1396px) {
  #city-keymap {
    display: none;
    margin: 10px 0;
  }
}
.fig-hero {
  margin: 5% 0;
}
.fig-hero img {
  border: 20px solid white;
  max-height: 60vh;
}
.fig-hero figcaption {
  text-align: left;
  font-size: 0.8em;
}
.related-logo {
  padding-left: 0;
}
.ekko-lightbox-nav-overlay a span {
  color: black;
}
figure.fig-hero figcaption {
  padding-top: 8px;
}
h3.related-project {
  margin-top: 20px;
}
