.citynow_button--inactive {
  background: white;
  box-shadow: none;
}

.citynow_button {
  box-shadow: 0 0 8px 4px rgba(0,0,0,0.15) !important;
  background: white;
}

/* photos in gallery */
.gallery_list--container {
  padding: 0px 16px 0px 16px;
}

.gallery_list--container img {
  width: 100%;
  margin-bottom: 16px;
}

/* gallery toolbar */
.gallery_toolbar--container {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: scroll;
  padding: 16px 16px 16px 16px;
}

.gallery_toolbar--container a {
  text-decoration: none;
}

.gallery_toolbar--item.gallery_toolbar--active {
  background: #6200ff;
  color: white;
}
 
.gallery_toolbar--item {
  width: max-content;
  background: white;
  color: #999;
  margin-right: 12px;
  border-radius: 4px;
  padding: 4px;
   -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 4px;
  -moz-box-shadow: rgba(0,0,0,0.8) 0 0 4px;
  box-shadow: rgba(0,0,0,0.8) 0 0 4px;
}

/* large indicator */
.indicator {
  width: 100%;
  height: 200px;
  background-image: url('http://dev.citynow.org/percentage/{{free_percentage}}?type=large&c=green');
  background-repeat: no-repeat;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.indicator--header {
  color: #999;
  margin-bottom: 8px;
  font-size: small;
}

.indicator--footer {
  background: #efefef;
  padding: 4px 8px 4px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.indicator--perc {
  font-size: xx-large;
}

/* gallery style */
.gallery--container {
  height: 200px;
  display: flex;
  align-items: center;
}

.gallery--wrapper {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative;
}

.gallery--item.gallery--visible {
  display: block;
}

.gallery--item {
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: none;
}

.gallery--item img {
  height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

.gallery--control {
  opacity: 0.5;
  height: 200px;
  position: absolute;
  top: 0;
  width: 15%;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

.gallery--control.left {
  left: 0;
}

.gallery--control.right {
  right: 0;
}

.gallery--chevron::before {
  font-weight: 800;
  z-index: 1000;
  filter: drop-shadow(0px 0px 11px #000);
  font-size: large;
  border-style: solid;
  border-width: 0.25em 0.25em 0 0;
  content: '';
  display: inline-block;
  height: 0.45em;
  position: relative;
  transform: rotate(-45deg);
  vertical-align: top;
  width: 0.45em;
  top: 100px;
  left: 0.15em;
}

.gallery--chevron.gallery--right:before {
  left: 0;
  transform: rotate(45deg);
}

.gallery--chevron.gallery--left:before {
  left: 0.25em;
  transform: rotate(-135deg);
}

/* hor scroller */
.img_bar--container {
  padding: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
}

.img_bar--item {
  width: 60px;
  height: 60px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  /*
  -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 4px;
  -moz-box-shadow: rgba(0,0,0,0.8) 0 0 4px;
  box-shadow: rgba(0,0,0,0.8) 0 0 4px;
  */
}

/* full info page specific */
.full-info--description {
  padding: 16px 16px 0px 16px;
  line-height: 150%;
}

.full-info li {
  border-top: 1px solid #efefef;
}

/* timeline endpoint */
.timeline-info--list li {
  border-top: 1px solid #ccc;
}

.timeline-info--past {
  background: #efefef;
}

/* contact card */
.contact_card--container {
  border-radius: 4px;
  margin: 12px;
  padding: 12px;
  background: #efefef;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.contact_card--avatar {
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  width: 60px;
  height: 60px;
  text-align: center;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 10px;
  -moz-box-shadow: rgba(0,0,0,0.8) 0 0 10px;
  box-shadow: rgba(0,0,0,0.8) 0 0 10px;
}

.contact_card--meta {
  margin-left: 16px;
  flex-grow: 1;
}

.contact_card--meta-header {
  font-weight: bold;
  margin-bottom: 4px;
}

.contact_card--meta-subheader {
  font-size: smaller;
}

/* top nav for inner pages */
.nav_bar--container {
  padding: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav_bar--button {
  display: inline-flex;
}

.nav_bar--right {
  display: inline-flex;
  width: 40px;
}

.nav_bar--header {
  display: inline-flex;
  font-weight: bold;
}

.nav_bar--filler {
  display: inline-flex;
  flex-grow: 1;
}

/* project list (vertical layout) */
.project_row--container {
  background: #fff;
  padding: 12px;
  margin: 8px 12px 8px 12px;
  display: flex;
  height: 60px;
  flex-direction: row;
  border-radius: 4px;
}

.project_row--icon {
  width: 60px;
  height: 60px;
}

.project_row--content {
  margin-left: 16px;
  margin-right: 16px;
  width: 120px;
  flex-grow: 1;
}

.project_row--overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project_row--header {
  font-weight: bold;
  font-size: larger;
}

.project_row--footer {
  margin-top: 12px;
}

.project_row--nav {
  padding-top: 16px;
}


.stats {
  flex-grow: 0;
}

.more_button {
  border: 1px solid #ccc;
  color: #6200ff;
  padding: 8px;
  margin: 0px 16px 16px 16px;
  text-transform: uppercase;
  border-radius: 8px;
  text-align: center;
  letter-spacing: 1px;
  font-size: smaller;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.more_button--link {
  text-decoration: none;
  cursor: pointer;
}

.more_button--icon {
  margin-left: 4px;
}

.expand_button {
  border: 1px solid #ccc;
  color: #999;
  padding: 8px;
  margin: 0px 40px 16px 40px;
  text-transform: uppercase;
  border-radius: 16px;
  text-align: center;
  letter-spacing: 1px;
  font-size: smaller;
}

#citynow_map {
  height: 300px;
  background: #efefef;
  border: 1px solid #ccc;
}

.map_layers {
  z-index: 10000;
  position: relative;
  top: 0px;
  left: 0px;
  padding: 4px;
  overflow: auto;
  white-space: nowrap;
}

.map_layer {
  background: #fff;
  border-radius: 4px;
  margin: 4px 4px 4px 4px;
  padding: 8px 8px 8px 8px;
  font-size: smaller;
  display: inline-block;
  letter-spacing: 1px;
  box-shadow: 0 0 8px 4px rgba(0,0,0,0.2);
  border: 2px solid #bbb;
}

.map_layer.selected_map_layer {
  background: #e3e3e3;
}

/* project main page specifics */

.mobile-carousel--wrapper {
  overflow: auto;
  white-space: nowrap;
  padding-left: 16px;
  padding-bottom: 8px;
}

.mobile-carousel--wrapper a {
  text-decoration: none;
  color: black;
  cursor: hand;
}
  
.project_footer--gradient {
  -webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#efefef)) 0;
  height: 12px;
}
  
.project_footer {
  background: #efefef;
  -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 10px;
  -moz-box-shadow: rgba(0,0,0,0.8) 0 0 10px;
  box-shadow: rgba(0,0,0,0.8) 0 0 8px;
} 
  
.mobile-carousel--item {
  display: inline-table;
  margin-right: 8px;
} 
  
.project-carousel--item {
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  width: 200px;
} 
  
.mobile-gallery--image {
  display: inline-block;
  margin-right: 8px;
} 

#header_container {
  padding: 16px 16px 0px 16px;
}

#project_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #efefef;
}

.project_footer--gradient {
  -webkit-border-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#efefef)) 0;
  height: 12px;
}
  
.project_footer {
  background: #efefef;
  -webkit-box-shadow: rgba(0,0,0,0.8) 0px 0 10px;
  -moz-box-shadow: rgba(0,0,0,0.8) 0 0 10px;
  box-shadow: rgba(0,0,0,0.8) 0 0 8px;
} 

.mobile-carousel--wrapper {
  overflow: auto;
  white-space: nowrap;
  padding-left: 16px;
  padding-bottom: 8px;
}

.mobile-carousel--wrapper a {
  text-decoration: none;
  color: black;
  cursor: hand;
}
  
.mobile-carousel--item {
  display: inline-block;
  margin-right: 8px;
} 
  
.project-carousel--item {
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  width: 200px;
} 
  
.mobile-gallery--image {
  display: inline-block;
  margin-right: 8px;
} 

.mobile-gallery--wrapper {
  overflow: scroll;
  display: flex;
}

.section_header {
  padding: 0px 16px 0px 16px; 
  margin: 0;
  font-size: 14px; 
  font-weight: bold;
}

.project_name {
  font-size: x-large;
}

.project_subheader {
  margin-top: 4px;
  color: rgba(0,0,0,.54);
}

/* infra */

.infra_container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 8px;
  justify-content: space-between;
}

.infra_container--name {
  margin-right: 4px;
}

.infra_container--distance {
  width: 80px;
  text-align: right;
}

.infra_container--subheader {
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.infra_container--filler {
  flex-grow: 1;
}

.infra_box {
  padding: 8px 16px 0px 16px;
}


/* list for apts */
.apt-info li {
  border-top: 1px solid #efefef;
}

.apt-info li:last-child {
  border-bottom: 1px solid #efefef;
}

.apt-info--header {
  margin: 12px 8px 0px 8px; 
  font-size: 16px; 
  text-align: center; 
  font-weight: bold;
}

.apt-info--disclaimer {
  color: #bbb;
  font-size: smaller;
  padding: 0px 12px 12px 12px;
}

/* news carousel */

.news-carousel--wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow: scroll;
  padding: 0px 16px 16px 16px;
}

.news-carousel--item {
  margin-right: 16px;
  background: #f3f3f3;
  width: 200px;
  border-radius: 4px;
  padding: 4px;
  overflow: hidden;
  display: inline-table;
}

.news-carousel--header {
  font-weight: bold;
  margin-bottom: 4px;
}

.news-carousel--content {
  height: 100px; 
  font-size: small;
}

.news-carousel--wrapper a {
  text-decoration: none;
  cursor: pointer;
}


