/* This is my website style css page*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: rgb(235, 235, 231);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#wrapper {
    width: 940px;
    margin: 160px auto 20px auto;
   
}

img {
    max-width: 100%;
    display: block;
}
#logo {
    display: inline;
    margin-bottom: 16px;
}

.social {
    position: fixed;
    bottom: 100px;
    right: 40px;
    list-style-type: none;
}

.social li {
    margin-bottom: 20px;
}

header {
    background: white;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}


#logo:hover {
    width: 21.5%;
}

.inner-header {
    width: 940px;
    margin: 0 auto;
    padding-top: 10px;
    
}

nav { 
height: 50px;
line-height: 50px;
background: rgb(229, 223, 237);
}

#primary li{
    list-style-type: none;
    float: left;
    width: 20%;
    text-align: center;
}

#primary a {
    text-decoration: none;
    color: #D6A717;
    display: block;
    
}

#primary ul {
    width: 940px;
    margin: 0 auto;
}

#primary a:hover{
    background: #79a5d3;
    color: #fff;
}

.home #primary li:nth-child(1) a,
.about #primary li:nth-child(2) a,
.tours #primary li:nth-child(3) a,
.promos #primary li:nth-child(4) a,
.contact #primary li:nth-child(5) a{
    background: #79a5d3;
    color: #fff;
} 

main {
    width: 580px;
    float: left;
    margin-top: 20px;
    
}


aside {
    width: 340px;
    background: #D9961A;
    float: right;
    margin-top: 20px;
    padding: 15px;
}

footer {
    height: 50px;
    line-height: 50px;
    border-top: dotted 1px lightslategray;
    clear: both;
    font-size: .8em;

}

p{
    margin: 15px 0;
    text-align: justify;
    line-height: 1.4;
}
h1, h2, h3 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.44em;
    font-weight: 200;
    color: #D9961A;
}

h2 {
    font-size: 2em;

}

h3 {
    font-size: 1.44em;
    text-transform: uppercase;
}
aside p {
    font-size: .88em;
}
figcaption {
    background: black;
    color: #fff;
    font-size: .8em;
    padding: 8px;
    font-style: italic;

}

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

figure img{
    margin: 0 auto;
}

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

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

.third {
    width: 300px;
    float: left;
    margin-right: 20px;
    margin-top: 20px;
}
.third:last-of-type{
    margin-right: 0;
}

.third h3,
.col-8 h3 {
    color: #79a5d3;
    text-transform: none;
    font-size: 1.3em;
}

.third p {
    font-size: .8em;
    text-align: center;
}

.third img + h3,
.col-8 img + h3 {
    margin-top: 20px;
}

.col-8 {
    width: 460px;
    float: left;
}   

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

.col-8 p {
    font-size: .8em;
}

span{
    display: block;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
}


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

footer a {
    color: #666;
}

