/* These are the styles for the final project Play Now Retire Later */

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

body {
    background:beige;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

#wrapper {
    max-width:1000px;
    margin: 241px auto;
}

header {
    background:#fff;
    margin:0 auto 50px auto;
    padding-top:20px;
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1;
}

.inner-header {
    width:940px;
    margin:0 auto;
    margin-bottom:68px;
}

nav {
    height:50px;
    line-height:50px;
    background:green;
    width:100%;
}

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

}

nav li {
    list-style-type: none;
    font-size:1.5em;
    float:left;
    width:20%;
    text-align: center;
    position:relative;
}

.drop-down {
    display:none;

    /* font-size:.8em; */

}

nav li:hover .drop-down {
    display:block;
    position:absolute;
    font-size:.9em;
    top:50px;
}

nav a {
    text-decoration: none;
    color:#000;
    display:block;
    background:green;
}

nav a:hover {
    background:#800;
    color:#fff
}

.home nav li:nth-child(1) a,
.hiking nav li:nth-child(2) a,
.test nav li:nth-child(3) a
{
    background:#800;
    color:white;
}


main {
    width:61.70%;
    float: left;
    /* background:lightblue;
    height:500px; */
}

.hiking main {
    width:100%;
}

aside {
    width:36.17%;
    float: right;
    margin-top:10px;
    background:#cbf291;
    padding: 10px;
}

.test aside {
    width:36.17%;
    float: right;
    margin-top:120px;
    background:#cbf291;
    padding: 10px;
}

.home aside {
    width:36.17%;
    float: right;
    margin-top:60px;
    background:#cbf291;
    padding: 10px;
}

figure {
    margin-bottom:15px;
}
figure img {
    margin:0 auto;
}
figcaption {
    background:#000;
    color:#fff;
    font-size:.875em;
    padding:8px;
    font-style:italic;
}

footer {
    clear:both;
    /* background:#800; */
    height:50px;
    line-height:50px;
    border-top:1 px solid #000;
    font-size:.9em;
    color:#666;
}

footer li {
    list-style-type: none;
    float:left;
    margin-right:70px;
    margin-top:10px;
   
}

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

.third {
    width:31.91%;
    /* height:300px; */
    /* background:pink; */
    float:left;
    margin-right:20px;
}
.third:last-of-type {
    margin-right:0px;
}
.third h3 {
    color:#555;
    font-size:1.5em;
    text-align:center;
}
.third img + h3 {
    margin:10px 0 8px 0;
}
.third p {
    font-size:.9em;
    text-align:center;
}

span {
    display:block;
    text-align:center;
    font-style:italic;
}

span a {
   color:#02290D;
   /* font-weight:bold; */
   font-size:.875em;
}

img {
    max-width:100%;
}

/* Typography */
h1 {
    font-size:2em;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom:20px;
    font-weight:600;
    color:#800;
}

h2 {
    font-size:1.75em;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom:20px;
    font-weight:400;
    color:#800;
}

p {
    font-size:1em;
    margin-bottom:20px;
    line-height: 1.3;
    font-weight: 300;
    
}

aside h3 {
    margin-bottom:20px;
    color:#800;
    font-size:1.5em;
    font-weight:400;
}

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


/* table */

table {
    width:100%;
    border:1px solid #800;
    border-collapse:collapse;
    margin:0 auto;
}

td {
    /* border:1px solid #f00; */
    width:33.33%;
    vertical-align:top;
    padding: 5px;
    padding-left:45px;
    /* text-align:center; */
}

td image {
    width: 200px;
}

th {
    background:#cbf291;
    color:#800;
    padding:15px;
    font-size:2em;
}

td p {
font-style:normal;
font-size:.92em;
font-family:Verdana, Geneva, Tahoma, sans-serif;
}

/* form */

form {
    max-width:580px;
    margin-bottom:20px;

}
fieldset {
    padding:10px;
    border-radius: 5px;
    border:1px dotted #800;
  
}
legend {
    font-size: 1.3em;
    font-style:italic;
    padding:0 5px 0 5px;
}

label {
    display:block;
    margin-bottom: 5px;
    font-weight:bold;
    font-size:1.1em;
}

input {
    margin-bottom: 10px;
    height:30px;
    width:100%;
}

input[type=radio],
input[type=checkbox] {
    margin-bottom:3px;
    margin-right:3px;
    height:auto;
    width:auto;   
}

input[type="submit"] {
width:auto;

}

form ul {
    margin-left:15px;
    margin-bottom:10px;
}

form li {
    list-style-type: none;
}
select {
    margin-bottom:10px;
}

textarea {
    width:100%;
    height:110px;
    margin-bottom:10px;
}