/* CSS Style Sheet for Country Harvest Inn*/
/* GLOBAL ELEMENTS: header; nav; body; section; footer */
body {
    background-color: #70A8C9;
    margin: 0px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 90%;
    color: #555555;
    padding: 3px;
    width: 780px;
} 

header {
    background-image: url(images/brhead.jpg); 
    background-repeat: no-repeat;
    background-position: top center;
    padding: 0;
    margin: 0px auto;
    height: 150px;
}

nav {
    background-color: #FFF;
    color: #000;
    display: block;
    margin: 0px auto;
    overflow: hidden;
    width: 100%; 
}

nav ul {
    margin: 0;
    padding: 0;
    text-align: center;
}
nav ul li {
    display: inline-block;
    list-style-type: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s; 
}
nav > ul > li > a > .tier2 {
    border-top: 1px solid #000;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    content: "";
    display: inline-block;
    height: 0;
    width: 0;
    vertical-align: middle;
    -webkit-transition: color 0.1s linear;
    -moz-transition: color 0.1s linear;
    -o-transition: color 0.1s linear;
    transition: color 0.1s linear;
}
nav > ul > li > a {
    color: #0CF;
    display: block;
    line-height: 56px;
    padding: 0 24px;
    text-decoration: none;
}
nav > ul > li:hover {
    background-color:#0CF;
}
nav > ul > li:hover > a {
    color:#FFF;
}
nav > ul > li:hover > a > .tier2 {
    border-top-color:transparent;
}
nav > ul > li > div {
    background-color:#0CF;
    box-shadow: none;
    display: none;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 130px;
    visibility: hidden;
    z-index: 100;
    -webkit-transiton: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    -ms-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    -transition: opacity 0.2s;
}
nav > ul > li:hover > div {
    display: block;
    opacity: 90;
    visibility: visible;
}
nav > ul > li > div ul > li {
    display: block;
}
nav > ul > li > div ul > li > a {
    color: #FFF;
    display: block;
    padding: 12px 24px;
    text-decoration: none;
}
nav > ul > li > div ul > li:hover > a {
    background-color: rgba( 134, 181, 211, 0.5);
}

section {
    background-color: #FFF;
    padding: 10px;
    text-align: justify;
    height: 100%;
}

footer {
    background-color: #FFF;
    background-image: url(images/wheat_logo_nav.gif);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    margin: 0px auto;
    height: 150px;
    width: 100%;
    text-align: center;
    font-size: 85%;
    color: #000;
}

/* Global style elements */

#toc {
    box-sizing: content-box;
    background-color: #C0C0C0;
    float: right;
    position: relative;
    width: 35%;
    padding: 5px;
    margin-left: 20px;
    margin-right: 5px;
}
/*horizontal table of contents */
.htoc {
    background-color:#C0C0C0;
    width:60%;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    margin-bottom:5px;
    padding:5px;
    max-height: 250px;
    text-align: center;
}

.content {
    background-color:#C0C0C0;
    width:80%;
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    margin-bottom:5px;
    padding:5px;
}

.imagecontent {
    margin-left:auto;
    margin-right:auto;
    margin-top:5px;
    margin-bottom:5px;
    padding:5px;
    text-align: center;
}

.textnav {
    font-size: 80%;
    font-style: italic;
}

/* Page strict elements */

#form1 {
    border-style: none;
    margin-left: 50px;
    margin-right: 50px;
}

#sunset {
    margin-left: 30px;
    margin-right: 30px;
}

textarea {
    overflow: auto;
    padding: 5px;
}

input#submit {
    color: #555;
    font-weight: bold;
    text-align: right;
}

label {
    padding-top: 10px;
    display: block;
    font-weight: bold;	
    font-size: 14pt;
}

h3.contactForm , h3.bookingForm {
    text-align: center;
    font-size: 18pt;
    font-weight: bold;
    color: #555;
}

fieldset {
    border-style: none;
    margin-bottom: 5px;
    margin-left: 50px;
    margin-right: 50px;
}

textarea {
    padding-top: 5px;
}

input:invalid, textarea:invalid, select, option {
    background: #fff no-repeat 98% center;
    box-shadow: 0 0 5px #60A2E9;
}

input:required:valid, textarea:required:valid, select, option {
    background: #fff no-repeat 98% center;
    box-shadow: 0 0 5px #022C58;
}

td {
    padding-right: 5px;
    padding-bottom: 3px;
}

#googleMap {
    margin-bottom: 5px;
    margin-left: 100px;
    margin-right: 100px;
}