section#summary:target {
  display: flex; /* causes issues on Safari? :-/ */
}

/* -- flexboxes -- */

section#summary {
  flex-flow: column nowrap;
    overflow: hidden;
    width: 100vw;
}


/* -- top portion -- */

#top-portion {
  flex: 0 0 36vh;
  justify-content: center;
  display: flex;
}

#current-top {
  /*outline: 1px dotted cyan;*/
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

#current-image-box {
  /*outline: 1px dotted blue;*/
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-flow: column;
  margin: 1.5vmin;
}
#current-text {
  /*outline: 1px dotted red;*/
  text-align: center;
}

#current-conditions-text, #current-windchill-text {
    overflow: visible;
    white-space: nowrap;
    text-align: center;
}

#current-windchill-text {
  visibility: hidden;
}

#current-image-box > img, #current-temp {
  height: 20vmax;
  margin-bottom: -3vh;
}

#current-temp-box  {
  flex: 1 1 40%;
    /*outline: 1px dotted green;*/
  margin: 1.5vmin;
  color: white;
}

#current-temp {
  font-size: 11.5vmax;
  line-height: 20vmax;
  font-style: italic;
}

/* -- bottom portion -- */

#bottom-portion {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  flex: 1 0 35vh;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
  -webkit-transform: translate3d(0,0,0); /* fixes blurriness */ 
}

#bottom-portion::-webkit-scrollbar {
  height: 10px;
}
 
#bottom-portion::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 5px;
}

#bottom-portion::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.0);
  border-radius: 5px;
}

/*#bottom-portion:before {
  content  : "";
  position : absolute;
  z-index  : 1;
  bottom   : 0;
  left     : 0;
  pointer-events: none;
  background-image : linear-gradient(to right,
  rgba(34, 38, 47, 1),
  rgba(34, 38, 47, 0) 2.5%, 
  rgba(34, 38, 47, 0) 97.5%,
  rgba(34, 38, 47, 1));
  width    : 100%;
  height   : 100%;
}*/

