body
{
    font-family: verdana, sans-serif;
    background-color: #f4f4f5;
    color: #15a0ea;
}

section
{
    position: relative;
    text-align: center;
    top:20px;
}

.top-global-nav
{
    position:absolute;
    margin-top: 5px;
    backface-visibility: hidden;
}

.top-nav-content
{
    display: none;
    position: relative;
    top:-26px;
    background-color: #013aa5;
    color: #f4f4f5;
    min-width: 140px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    font-size: 16px;
    margin-left: 38px;
}

.top-nav-content a
{
    color: #15a0ea;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}

.top-global-nav:hover .top-nav-content {
    display:block;
}

.top-nav-content a:hover
{
    font-size: 16px;
}

.weather-city
{
    position:relative;
    text-align: center;
    top:0px;
    font-size: 38px;
    background-color: #0236e3;
    color: #f4f4f5;
    padding-top: 30px;
    padding-bottom: 35px;
    margin-top:-25px;
}

.city-list a:link, a:visited, a:active, a:hover
{
    color: #b4b4b4;
    text-decoration: none;
    font-weight: bold;
}

img
{
    margin:38px 0 20px 30px;
    position:relative;
    cursor: pointer;
    z-index: 1;
    width:35px;
}

.current-weather
{
    position:relative;
    font-size: 20px;
}

.franklin-weather-temp
{
    background-image: url(/week7/images/sunny-weather.png);
    position: relative;
    font-size: 200px;
    color: black;
    margin: 0;
    padding: 40px;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
}

.greenville-weather-temp
{
    background-image: url(/week7/images/afternoon-thunderstorms.png);
    position: relative;
    font-size: 200px;
    color: black;
    margin: 0;
    padding: 40px;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat;
}

li
{
    text-align:center;
    display: inline;
    padding: 0px 20px ;
}

.weather-desc
{
    position:relative;
    top:10px;
    font-size:28px;
    margin:0px 0px 20px 0px;
    line-height: 1em;
}

.weather-extremes
{
    position:relative;
    right:20px;
    display:inline;
    top:20px;
    font-size:15px;
    bottom: 15px;
    margin: 0px 0px 20px 0px;
}

.weather-high
{
    border-right-style:solid;
    border-right-width:thin;
}

.hourly-temps
{
    position: relative;
    top: 50%;
    transform: translateY(50%);
    line-height: 40px;
    font-size: 18px;
}

#weather-info
{
    position:relative;
    text-align: center;
    padding: 20px 0px 20px 0px;
    top:90px;
    background-color: #013aa5;
    color: antiquewhite;
    font-size: 15px;
    margin-top: -3em;
}

#weather-info table
{
    position: relative;
    margin-left:auto;
    margin-right:auto;
    width:365px;
    align-content: center;
    text-align: center;
    table-layout: fixed;
    font-size: 15px;
}

#weather-info td
{
    border-left:1px solid #42beaa;
    font-size: 15px;
    padding-top: 5px;
}

#desktop-nav
{
    position:relative;
    text-align: center;
    padding: 20px 0px 20px 0px;
    top:0px;
    background-color: #12326f;
    color: antiquewhite;
    font-size: 24px;
}

#desktop-nav table
{
    position: relative;
    margin-left:auto;
    margin-right:auto;
    width:365px;
    align-content: center;
    text-align: center;
    table-layout: fixed;
    font-size: 15px;
}

#desktop-nav td
{
    border-left:1px solid #42beaa;
    font-size: 15px;
    padding-top: 5px;
}

#bottom-nav
{
    position:relative;
    text-align: center;
    padding: 20px 0px 20px 0px;
    top:90px;
    background-color: #12326f;
    color: antiquewhite;
    font-size: 24px;
}

#bottom-nav table
{
    position: relative;
    margin-left:auto;
    margin-right:auto;
    width:365px;
    align-content: center;
    text-align: center;
    table-layout: fixed;
    font-size: 15px;
}

#bottom-nav td
{
    border-left:1px solid #42beaa;
    font-size: 15px;
    padding-top: 5px;
}

.weather-footer
{
    display: inline-block;
    position:relative;
    font-size: 12px;
    top:95px;
    padding:5px 10px 10px 30px;
    margin:0;
}

footer p, a
{
    color:#0236e3;
    text-decoration:none;
}

/* Begin Flexbox CSS */

.hourly-container {
  padding: 0;
  margin: 0;
  list-style: none;
  
  display: flex;
  
  flex-flow: row wrap;
  justify-content: space-around;
}

.hourly-item {
  background: #15a0ea;
  padding: 5px;
  width: 50px;
  height: 50px;
  margin-top: 10px;
  margin-right: 5px;
  
  line-height: 20px;
  color: white;
  font-weight: normal;
  font-size: 1em;
  text-align: center;
}

/* End Flexbox CSS */

/* Adjustments for mobile screens */

@media only screen and (max-width: 800px) 
{
    #desktop-nav
    {
        display:none;
    }
}

@media only screen and (max-width: 480px) 
{
    .hourly-container, .hourly-temps
    {
        display:none;
    }
}

/* Adjustments for full screens */

@media only screen and (min-width:800px)
{
    body 
    {
        font-size: 1.0em;
    }
    
    .top-global-nav
    {
        display:none;
    }
    
    img, .dropdown
    {
        left:13%;
    }
}