/* STYLES FOR MY TRAVEL WEBSITE */


*{
    margin:0;
    padding:0;
    box-sizing:border-box
}

body{
    background-color: beige;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#wrapper{
    width:940px;
    margin:300px auto 20px auto;
}
/* DO NOT FORGET TO DECLARE A WIDTH FOR YOUR HEADER IF YOU ARE FIXING YOUR HEADER */
header{
    /* background:#fff; */
    padding-top:20px;
    position: fixed;
    width:100%;
    height: 300px;
    /* height: auto; */
    top:0;
    left:0;
    

   

    
}






#logo{
    margin-top: 130px;
    display: inline;
 margin-bottom: 0px;
}

nav{
    height:50px;
    line-height:50px;
    background-color: #eee;
    position: relative;


    

    
    
    
    
    
    /* height: 50px;
    line-height:50px;
    background: #eee;
  
    max-width: 100%;

    bottom: 0;
    left: 0;
    margin: auto;
 
    position: absolute;
    right: 0;
    top: 0; */

  
/* text-align: center;
position: relative;

top: 80px;
    height:50px;
    line-height:50px;
    background-color: #eee;
    margin: 0 auto;
     */
}

nav ul {
    
    
    width: 940px;
    margin: 0 auto;


     
    /* text-align: center;
    display: block;
    width:1000px; */
    
}

nav li{
   
    list-style-type: none;
    float:left;
    width:25%;
    text-align: center;
   
   
    /* list-style-type: none;
    float:left;
    width:20%; */
   
}

nav a {
    text-decoration: none;
    color: #d9961a;
    display: block;
}


nav a:hover{
    background: #79a5d3;
    color: white;
}



.home li:nth-child(1) a,
.about li:nth-child(2) a,
.offices li:nth-child(3) a,
.signup li:nth-child(4) a
 {
    background: #79a5d3;
    color: white;
}




main{
    width: 940px;
 
    background-color: rgb(246, 246, 231);
    float:left;
    margin-top:5px;
    padding: 20px;
}

aside{
    width:340px;
    padding:15px;
    background: #e1b768;
    float:right;
    

   margin-top: -50px;
  
 }



 .row{
    clear: both;
    margin-bottom: 20px;
    overflow:hidden
 }


 .third {
    width:300px;
  
  
    float:left;
    margin-right:20px;
 }

.third:last-of-type{
    margin-right: 0;
}

  .col-8{
    width: 460px;
    height: 400px;
    background-color: yellow;
    float:left;
  }

  .col-8:last-of-type{
    float: right;
  }

 footer{
    height:50px;
    line-height: 50px;
    border-top:1px dotted #666;
    clear:both;
    font-size: .9m;
 }

 footer li{
    list-style-type: none;
    float:left;
    margin-right: 30px;
    color: #666;
 }

 img.center{
    max-width: 100%;
    margin-top: 20px;
 }


img.right{
    float:right;
    margin-left:30px;
    margin-bottom:5px;
    max-width: 35%;
   
    margin-top: 40px;

}

img.left{
    float:left;
    margin-right:30px;
    margin-bottom:20px;
    margin-top: 50px;
}

 footer a{
    color:#666;
 }

 figure {
    margin-bottom: 15px;
 }

 figure img{
  height: auto;
  max-width: 100%;
 }

figcaption{
    background-color: rgb(246, 246, 231);
    color:#666;
    font-size:.875em;
    padding:8px;
    font-style:italic;

}
   .about figcaption {
      text-align:center;
    background: none;
    padding:8px 0;

   }




img + p {
margin:15px 0 20px 0;
}

/* ALL OF YOUR IMAGERS WILL HAVE A MAX WIDTH OF 100% */
 

 h1{
    text-align: center;
    margin-top: 20px;
    font-weight: 200;
    font-size: 2.3em;
  
 
 }

 .center-me{
    text-align: center;
 }

 /* TYPOGRAPHY */
 h1, h2, h3{

  
    font-family:Georgia, 'Times New Roman', Times, serif;
    line-height: 1.2;
    color: #d9961a;
    margin-bottom: 15px;
 }
h2{
    margin-top: 50px;
    color:#555;
    font-size: 2em;
}


h3{
  
    margin-top: 100px;
    color:#555;
    font-size: 2em;
    font-weight: bold;
    /* text-transform: lowercase; */
}


h4{
    margin-top: 1px;
    margin-bottom: 5px;
    color:#555;
    font-size: 1.5em;
    font-weight: bold;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

h5{
    margin-top: 20px;
    color:#555;
    font-size: 2em;
    font-weight: bold;
    font-family:Georgia, 'Times New Roman', Times, serif;

}

h6{
    margin-top: 10px;
    color:#555;
    font-size: 1em;
    font-weight: bold;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

 P{
    margin-bottom: 20px;
    line-height: 1.4;

 }

 aside p{
    font-size: .9em;
 }