

#main {
  font-family: sans-serif;
  width: 800px;
  height: 480px;
  display: flex;
  flex-direction: column;
  border-style: solid;
  border-width: 1px;
}

img {
  -webkit-filter:grayscale(100%);
  filter:grayscale(100%);
  display:block;
}

#top {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

#conditions #datetime {
  display: block;
  padding-bottom: 8px;
  padding-top: 12px;
  padding-left: 50px;
}

#conditions #time {
  display: inline-block;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
}

#conditions #date {
  display: inline-block;
  text-align: left;
  font-size: 20px;
  font-weight: bold;
  margin-right: 30px;
}

/* Top section: Current weather and conditions side by side */
#current {
  width: 280px;
  height: 140px;
  padding: 5px 10px 5px 70px;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#current img {
  height: 120px;
  width: 120px;
  flex-shrink: 0;
}

#current #temp {
  font-size: 64px;
  padding-left: 10px;
  padding-right: 10px;
  flex-shrink: 0;
}

#current #highlow {
  font-size: 32px;
  line-height: 1.3;
  padding-left: 10px;
  flex-shrink: 0;
}

#conditions {
  flex: 1;
  padding: 5px 10px 5px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#conditions #text {
  font-size: 20px;
  width: 100%;
  display: block;
  text-align: left;
  padding-bottom: 8px;
  padding-top: 12px;
}

#conditions #detail {
  font-size: 14px;
  width: 100%;
  display: block;
  text-align: left;
  line-height: 1.6;
  padding-left: 50px;
}

/* Weekly forecast section - horizontal layout */
div.forecast {
  display: block;
  margin: 0 auto;
  width: 780px;
  padding: 10px 10px 5px 10px;
  clear: both;
  text-align: center;
}

.next img {
  height: 60px;
  width: 60px;
  display: block;
  margin: 0 auto;
}

.next {
  display: inline-block;
  float: none;
  text-align: center;
  width: 110px;
  font-size: 14px;
}

#week {
  text-align: center;
  width: 100%;
  margin: 0;
  font-size: 18px;
  display: block;
  padding-bottom: 5px;
  padding-top: 5px;
  clear: both;
}

img.precip {
  height: 12px;
  width: 12px;
  display: inline-block;
}

#location {
  margin: 0 auto;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding-top: 12px;
}

#footer {
  margin: 0 auto;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding-top: 5px;
}


