/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* Prevents iPhone from resizing in landscape mode  */
html {
  -webkit-text-size-adjust: none; }

/*  apply a natural box layout model to all elements  */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/* BODY  */
body {
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #666;
  background-color: #fff; }

div#wrapper {
  height: 100vh;
  position: relative;
  background: linear-gradient(#f3f6f9 0%, #d1ddeb 100%); }

/* HEADER  */
header {
  background-color: #1a7d98;
  padding: .5rem 0 .5rem 2%; }

header h1, header h2 {
  color: white; }

header h1 {
  font-size: 1.5rem;
  font-weight: 700; }

header h2 {
  font-size: .75rem;
  font-weight: 400;
  padding-top: .2rem; }

header figure {
  float: right;
  width: 80px;
  padding-right: 2%; }

header figure img {
  width: 100%; 
  padding-top: .4rem;
}


nav {
  background-color: #1f69be;
  padding: 10px 2%; }
  nav input {
    width: 100px;
    padding: 5px 0 5px 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5); }
  nav button {
    border: 1px solid #fff;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, white 60%, rgba(255, 255, 255, 0.6) 100%);
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 4%; }

/*end nav*/
/* MAIN  */
main {
  min-height: 5em; }
  main #location {
    margin-top: 3rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f69be; }
  main #weather {
    text-align: center;
    margin: auto 0;
    padding-top: .3rem;
    font-size: .8rem;
    font-weight: 400; }
  main #temperature {
    /* margin-top: .75rem; */
    text-align: center;
    font-size: 5rem;
    font-weight: 100;
    color: #1f69be; }
  main #desc {
    /* margin-top: .75rem; */
    text-align: center;
    font-size: .9rem;
    font-weight: 400;
    padding: 4%; }
  main #right {
    margin: 1rem 0;
    padding: 0 1rem; }
  main #right img {
    width: 25px; }
  main .borderBottom {
    border-bottom: 1px solid rgba(31, 105, 190, 0.2);
  }
  main #right div {
    padding-top: .6rem;
    display: flex;
    display: -ms-flexbox;
    flex-direction: row;
    -ms-flex-direction: row;
    flex-wrap: nowrap;
    align-items: center; }
  main #right div span:nth-child(1) {
    flex-basis: 40%;
    -ms-flex: 1 1 40%; }
  main #right div span:nth-child(2) {
    flex-grow: 1; }
  main #right div span:nth-child(3) {
    flex-grow: 1; }
  main #right div span:nth-child(4) {
    flex-grow: 1; }

/*  FOOTER  */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 1em;
  background-color: #1a7d98;
  color: #fff;
  font-size: .9rem; }

/* OTHER */
div.keepOpen {
  clear: both; }

@media only screen and (min-width: 480px) {
  #left, #right {
    float: left;
    width: 50%; } }
@media only screen and (min-width: 800px) {
  div#wrapper {
    max-width: 800px;
    margin: 3rem auto 0 auto;
    border: 1px solid #666;
    height: auto;
    box-shadow: 5px 5px 10px #999; }

  footer {
    clear: both;
    position: relative; } }



.zipCode {
  display: flex;
  padding: .5rem 0 0 0;
}

.zipCode h2 {
  margin-right: .5rem;
}

.zipCode input {
  text-align: right;
  margin-right: .5rem;
  width: 60px;
}

.zipCode input:focus {
  outline: none;
}


.date {
  width: 50%;
  padding-bottom: .4rem;
}

.currentIcon {
  margin-top: -.2rem;
  margin-bottom: -1rem;
}