body {
    background: royalblue;
    margin: 0;
    font-family: Helvetica; 
    font-size: 14px;
}

p, h1, h2 { 
    padding: 10px 5px 20px 10px; 
    margin: 0;
}

.headertitle { 
    padding: 30px 5px 20px 10px; 
    margin: 0;
}

#main {
    width: 100%;
    background-color: white;
    max-width: 1400px;
    margin: auto;
}

#header {
    background-image: url("../img/header.jpg");
    background-position: top center;
    background-repeat: no-repeat;
    height: 100px;
    margin-top: 0;
    border-bottom: 4px solid red;    
}


#section {   
    display: block; 
    background: white;
}

#content {
   display: block;
    width: 100%;
    background: white;
}

#side {
    display: block;
    background: lightgray;
    width: 100%;     
}

#footer {
   display: block;
   background: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 0 2px 0;
    text-align: center;
    width: 100%;
}

#nav {
    background: rgba(0,0,0,0.7);
    width: 100%;
    position: fixed;
    height: 30px;
    left: 0;   
}

#hamburger-nav{
    position: absolute;
    cursor: pointer;
    right: 0;
color: white;   
}

#navlist {
  position: absolute;
  right: 0;
  display: none;
  margin-top: 30px;
  width: 100%;
} 

#navlist li {
    list-style-type: none;
}

#navlist a {
  display: block;
  background: blue;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold; 
  padding: 20px;
  border-bottom: 1px solid white;
}

#navlist a:hover {
  background: lightgray;
}


.menu {
    padding: 5px 10px 5px 0;
    height: 20px;   
}

#mylogo {
    float: left;  
}

#mylogo p {
    padding: 5px 0 0 30px;
    font-size: 16px;
    color: white;
    font-weight: bold; 
}

.fa-bars {
    color: white;
    padding-right: 10px; 
}

label { 
    display: inline-block;
    width: 200px;
    padding: 0 5px 0 10px;
}

#welcome {
display: none;
}




@media screen and (min-width: 768px)  {
      
    #header {
         height: 200px;
    }
    
    #nav {
        text-align: center;
         padding-top: 10px;   
    }
    
     #navlist {
        position: relative;
        display: inline !important;   
    }
    
    #navlist li {
        display: inline;    
    }
    
    #navlist a {
        display: inline; 
        color: white;  
        font-size: 12px; 
        font-weight: bold; 
        text-decoration: none;
        background: none;
       text-align: center;
       border-bottom: none;
    }
    
    #navlist a:hover {
        color: red; 
        text-decoration: none; 
        background: none;
    } 
    
    #hamburger-nav {
        display: none;
    }
    
        #content {
        margin-right: -4px;
        display: inline-block;
        width: 75%;  
    }
    
   #side {
     margin-right: -4px;
     display: inline-block;
     width: 25%;
     height: 80%;
     border-left: 1px solid red;
}


    
}




@media screen and (min-width: 1024px) {
    #nav {
          text-align: right;
      }
     
    #nav a {
         font-size: 16px;    
    }
    
    #content {
        margin-right: -4px;
        display: inline-block;
        width: 75%;  
    }
    
   #side {
     margin-right: -4px;
     display: inline-block;
     width: 25%;
     height: 80%;
     border-left: 1px solid red;
}



}
