/* =============================================================================
   
   	Contents
	
	$layout
  $page

============================================================================= */


/* =============================================================================
   $layout
============================================================================= */

.openweather-widget {
	clear: both;
	overflow: hidden;
	margin: 1em 0;
  padding: 0 1em;
}

.widget-temp, .widget-wind {
  float: left;
  width: 40%;
  margin: 0 5% 0 0;
  text-align: right;
}

.widget-wind {
  float: right;
  margin: 0;
}

.widget-temp h2 {
  margin: 0 0 .25em 0;
  font-weight: normal;
  font-variant: small-caps;
  font-size: 1.25em;
}

.wind-arrow {
  height: 36px;
  display: inline;
}

.ow-windspeed span {
  float: right;
  line-height: 36px;
}

.changelocation {
  clear: both;
  display: block;
  width: 100%;
  margin: 1em 0;
}

.ow-type {
  float: left;
  width: 32%;
  margin: 0 5% 0 0;
}

.ow-type img {
  width: 100%;
}

.ow-temp {
  font-size: 37px;
  margin: .5em 0;
}

.ow-check {
  clear: both;
}

.weatherdata td {
  padding: .5em;
}

.weatherdata [class^="ow-"] {
  font-weight: bold;
} 

/* =============================================================================
   $page
============================================================================= */

.openweather-page {
  overflow: hidden;
}

.openweather-page .mini-widget {
  width: 30%;
  float: left;
  margin: 0 5% 0 0;
}

.mini-widget .ow-check {
  padding: 1em 0;
}

.mini-widget table {
  width: 100%;
  border-collapse: collapse;
}

.mini-widget tr {
  background: #e9e9e9;
}

.mini-widget tr:nth-child(even) {
  background: #f9f9f9;
}

.openweather-forecast {
  float: left;
  width: 60%;
}

.weather-graphs .tabs {
  overflow: hidden;
  padding: 0;
}

.weather-graphs .tabs li {
  float: left;
  width: 33.33%;
  list-style: none;
  text-align: center;
}

.weather-graphs .tabs a {
  display: block;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  line-height: 2;
  text-decoration: none;
}

.weather-graphs .tabs .active a {
  background: #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
}

.weather-info table {
  width: 100%;
  border-collapse: collapse;
}

.breakdown tr:nth-child(2n) {
  background: #f9f9f9;
}

.breakdown tr:nth-child(2n+1) {
  background: #e9e9e9;
}

.breakdown img {
  margin: 0 0 .5em 0;
}

.fivedays .description {
  text-align: center;
  padding: 0 0 1em 0;
}

.weather-info th {
  text-align: left;
  background: #fff;
  line-height: 1;
  font-size: 24px;
  padding: 1.5em .5em .5em .5em;
}

.weather-info td {
  padding: .5em;
  text-align: center;
}
.weather-info tr:last-child td {
  border: none;
}


/* =============================================================================
  $media queries
============================================================================= */

@media screen and (max-width: 764px) {

  .openweather-forecast, .openweather-page .mini-widget {
   width: 100%;
  }

  .widget-temp, .widget-wind {
    width: 46%;
  }
}