/* styles for project website */

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

.blueberry { 
    max-width: 960px;
    z-index: 0;
}

body {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-image:url(../images/testwin3.png);
    background-repeat: repeat;
    background-attachment:scroll;
}

header {
    /* declare width for header, if you are positioning header fixed (infront of content) */
    position:fixed;
    width: 100%;
    top: 0;
    left: 0;
    /* positions header on top */
    z-index: 1000;
}

div#wrapper {
    width:940px;
    /* margin:0 auto 0 auto; */
    padding: 0px 20px 0px 20px;
    margin: 50px auto 20px auto;
    background: rgba(255, 253, 253, 0.33);
    /* background: rgba(255, 255, 255, 0.684); */
    overflow: hidden;
}

.example img {
    width: 240px;
    position: relative;
  }
  
.example .overlay {
    position: absolute;
    top: 23px;
    left: 30px;
    z-index: 1;
  }

.social {
    position: fixed;
    top: 300px;
    right: 8px;
    list-style-type: none;
}

.social li {
    margin-top: 8px;
    margin-right: 4px;
}

.social img {
    height: 30px;
}

.social:hover img {
    transform: scale(1.2);
}

#primary {
    height: 50px;
    line-height: 50px;
    background: rgba(109, 164, 144, 0.994);
    /* background: rgba(240, 240, 240, .9); */
}

#primary ul {
    width: 1000px;
    /* to center call */
    margin: 0 auto;
}

#primary li {
    list-style-type: none;
    float: left;
    /* to create nav; 100 divided by menu items eg, 100/5 =20 */
    width: 20%;
    text-align: center;
}

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

#primary a:hover {
    background: #cce1cc9e;
    box-shadow: inset 0 -0.4em 0 0 rgba(79, 81, 102, 0.914);
    color: rgb(0, 0, 0);
    }

.home #primary li:nth-child(1) a,
.norcal #primary li:nth-child(2) a,
.oregon #primary li:nth-child(3) a,
.washington #primary li:nth-child(4) a,
.about #primary li:nth-child(5) a {
    box-shadow: inset 0 -0.4em 0 0 rgba(79, 81, 102, 0.914);
    color: rgb(255, 255, 255);
}

#secondary {
    margin-top: 10px;
    margin-bottom: 10px;
}

.drive #secondary li:nth-child(1) a,
.parks #secondary li:nth-child(2) a,
.stops #secondary li:nth-child(3) a {
    font-weight: bold;
    box-shadow: inset 0 -0.4em 0 0 rgba(79, 81, 102, 0.914);
}

#secondary li {
    height: 40px;
    line-height: 40px;
    background: white;
    list-style-type: none;
    margin-bottom: 14px;
}

#secondary a {
    display: block;
    padding-left: 20px;
    text-decoration: none;
    color: black;
}

#secondary a:hover {
    box-shadow: inset 0 -0.4em 0 0 rgba(79, 81, 102, 0.914);
    color: black;
}

main {
    width: 540px;
    /* background:lightgreen; */
    float: left;
    /* margin top to help us align our headlines across containers */
    margin-top: 3px;
    margin-right: 15px;
    margin-left: 5px;
}

/* padding will break, old method: double padding (eg 15x2) and minus from width in pixels (340-30) */
aside {
    width: 340px;
    padding: 12px;
    background: rgba(114, 180, 156, 0.213);
    float:right;
}

options {
    width: 340px;
    float:right;
    margin-top: 3px;
    padding-left: 20px;
}

options h3 {
    text-align: right;
    font-size:2.3em;
    box-shadow: inset 0 -0.4em 0 0 rgba(114, 180, 156, 0.3);
}

.specials {
    background: #e9e9e9bf;
    padding: 15px;
}

.row {
    clear: both;
    margin-bottom: 20px;
    /* boxes were floating; corrects */
    overflow: hidden;
}

.third {
    width: 288px;
    /* remove height after adding image */
    /* height: 300px; */
    float: left;
    margin-right: 18px;
    margin-top: 10px;
}

.third img {
    height: 120px;
}

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

.col-8 {
    width: 440px;
    /* inserted image; remove height */
    /* height: 400px;
    background: yellow; */
    float: left;
}

.col-8 img {
    height: 270px;
    width:450px;
}

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

footer {
    height: 50px;
    line-height: 50px;
    /* background:#666; */
    border-top: 1px dotted #666;
    clear: both;
    font-size: .9em;
    padding-left: 20px;
}

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

footer img {
    margin-top: 15px;
    height: 20px;
}

footer a {
    color:#666;
}

figure {
    margin-bottom: 8px;
}

figure img {
    /* center */
    margin: 0 auto;
}

figcaption {
    background: #ffffff8b;
    color: #666;
    font-size: .795em;
    padding: 6px;
    font-style: italic;
}

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

img {
    max-width: 100%;
    display:block;
}

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

/* typography */

h1 {
    color: #3f3f3fde;
    font-weight:200;
    font-size:2.3em;
    box-shadow: inset 0 -0.4em 0 0 rgba(114, 180, 156, 0.3);
    text-shadow: 2px 2px 2px rgb(255, 255, 255);
    /* text-shadow: 5px 5px 5px rgb(255, 255, 255); */
    /* text-shadow: 2px 2px 2px rgba(114, 180, 156, 0.647); */
}

h1, h2, h3 {
    margin-bottom: 8px;
    line-height: 1.2;
    color: black;
}

h2 {
    color:rgba(6, 36, 45, 0.968);
    text-shadow: 5px 5px 5px rgb(255, 255, 255);
    font-size: 1.6em;
    font-weight: 200;
    padding-left: 7px;
}

h3 {
    color:rgba(0, 0, 0, 0.792);
    box-shadow: inset 0 -0.4em 0 0 rgba(255, 255, 255, 0.527);
    /* text-shadow: 5px 5px 5px rgba(152, 156, 209, 0.507); */
    text-shadow: 2px 2px 2px rgb(255, 255, 255);
    font-size: 1.78em;
    font-weight: 200;
    line-height: 1.2em;
    /* text-transform: uppercase; */
}

h4 {
    color:black;
    font-weight: 200;
    text-shadow: 2px 2px 2px white;
    box-shadow: inset 0 -0.4em 0 0 rgba(114, 180, 156, 0.3);
    font-size: 1.2em;
    margin-bottom: 15px;
}

hr {
    margin:20px 0;
}

blockquote {
    color:  rgba(114, 180, 156, 0.3);
    margin-bottom: 10px;
    font-size: 1.8em;
    border-left: 20px solid;
    padding-left: 30px;
    margin-right: 30px;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-style: italic;
}

blockquote p {
    color: #141414;
}

blockquote p#name {
    color: #141414d1;
    font-size: .6em;
    text-align: center;
}

p {
    margin-bottom: 18px;
    line-height: 1.4;
}

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

.third h3 {
    color: black;
    /* text-shadow: 1px 1px 1px rgba(114, 180, 156, 0.647); */
    padding-top: 5px;
    font-size: 1.5em;
    text-align: center;
}

.col-8 h3 {
    color: black;
    padding-top: 8px;
    /* text-shadow: 3px 3px 3px rgba(152, 156, 209, 0.404); */
    font-size: 1.5em;
}

.third img + h3,
.col-8 img + h3 {
    margin: 10px 0 5px 0;
}

.third p {
    font-size: .9em;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

span a {
    color:black;
    text-shadow: 1px 1px 2px whitesmoke;
    text-decoration: none; 
    box-shadow: inset 0 -0.4em 0 0 rgba(114, 180, 156, 0.647);
    font-size: 1.2em;
}

span a:hover {
    text-decoration: none; 
    box-shadow: inset 0 -0.4em 0 0 rgba(152, 156, 209, 0.728);
    /* border-bottom:8px solid blue; */
}

/* Form CSS */

form {
    max-width: 580px;
    margin-bottom: 30px;
}

fieldset {
    padding: 10px;
    border-radius: 5px;
    border: 1px dotted black;
}

legend {
    font-size: 1.3em;
    font-style: italic;
    padding: 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=text],
input[type=email] {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
    padding-left: 5px;
}

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

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

form li {
    list-style-type: none;
}

select {
    margin-bottom: 10px;
    padding: 0 7px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
}

input[type=reset],
input[type=submit] {
    margin-top: 7px;
    margin-right: 10px;
    padding: 0 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 1em;
    width: auto;
}

::placeholder {
    color:rgb(91, 145, 125);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size:medium;
}

/* comment space */
textarea {
    width:100%;
    height: 110px;
    margin-bottom: 10px;
    padding-left: 5px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: medium;
}
