/* start of css reset */

html, body, div, span, form, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, em, img, b, u, i, center, ol, ul, li, fieldset, label, legend,
caption, article, aside, canvas, embed, footer, header, menu, nav, output, section, time {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* end of css reset */

/* ------------------     define top of page with background image, navigation and search box      ------------------ */

body {
	width: 100%;
	width: auto;
	max-width: 960px;
	font: 100% "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	margin: 0 auto;
	padding: 0;
}

a {
	color: #777;
	text-decoration: none;
}

a:hover {
	color: #135;
}

header, nav, footer, article {
	display: block;
	width: 100%;
	width: auto;
}

h1, h2, h3, h4, h5, h6 {
	color: #135;
}

#header-container {
/* this container holds all items at the top of all pages */
	height: 200px;
	margin: 0 auto;
	padding-top: 0;
	background: url(http://www.traveladventures.org/images/sitebackground_22.jpg);
	background-repeat: no-repeat;
	background-size: 100% 200px;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;  
	-webkit-flex-flow: column wrap;
	align-content: space-between;
	justify-content: flex-start;
}

@media only screen and (max-width: 959px) {
#header-container {
	width: auto;
	height: 200px;
	overflow: hidden;
	background-size: cover;
	resize: none;
	overflow: hidden;
	background-size: auto 200px;
	padding-left: 2px;
	padding-right: 0px;
	flex-direction: column;  
	-webkit-flex-flow: column wrap;
	align-content: space-between;
	justify-content: space-between;
}
}
@media only screen and (min-width: 960px) {
#header-container {
	width: 960px;
	background-size: 960px 200px;
	padding-left: 20px;
	padding-right: 20px;
	flex-direction: column;  
	-webkit-flex-flow: column wrap;
	align-content: flex-start;
	justify-content: space-between;
}
}

#header-list {
	display: block;
	list-style: none;
	width: auto;
	width: 100%;
	margin: 0;
	padding: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;  
	-webkit-flex-flow: column wrap;
	justify-content: flex-start;
}
#header-list h1 {
	color: #135;
	margin: 0;
}
#header-list h2 {
	padding: 0;
	margin: 0;
	font-style: italic;
	color: #135;
}
#header-list h3, #header-list h4 {
	float: left;
	margin: 0;
	margin-top: 5px;
	padding: .5em 10px;
	font-weight: bold;
	color: #135;
	background: #fff;
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

@media only screen and (max-width: 319px) {
#header-list h1 {
	font-size: 90%;
}
#header-list h2 {
	font-size: 80%;
}
#header-list h3 {
	font-size: 90%;
	padding: .3em 8px;
}
}
@media only screen and (max-width: 360px) {
#header-list h4 {
	font-size: 60%;
}
}

@media only screen and (min-width: 361px) {
#header-list h4 {
	font-size: 90%;
}
}

@media only screen and (min-width: 320px) and (max-width: 600px) {
#header-list h1 {
	font-size: 120%;
}
#header-list h2 {
	font-size: 90%;
}
#header-list h3 {
	font-size: 100%;
	padding: .5em 10px;
}
}

@media only screen and (min-width: 601px) {
#header-list h1 {
	font-size: 200%;
}
#header-list h2 {
	font-size: 120%;
}
#header-list h3, #header-list h4 {
	font-size: 120%;
	padding: .5em 10px;
}
}

#top-navigation-container {
	max-width: 960px;
	margin: 0;
	padding: 0;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	-webkit-flex-flow: row wrap;
	align-content: flex-start;
	justify-content: space-between;
	align-items: flex-start;
}

@media only screen and (max-width: 959px) {
#top-navigation-container {
	width: 100%;
}
}
@media only screen and (min-width: 960px) {
#top-navigation-container {
	width: 920px;
}
}
#top-navigation {
	margin: 0;
	padding: 0;
	width: 100%;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
  
	-webkit-flex-flow: row wrap;
	justify-content: flex-start;
}

#top-navigation ul {
	overflow: hidden;
	padding: 0;
	float: left;
	font-size: 90%;
}
#top-navigation li {
	display: block;
	float: left;
	margin: 0 0 2px 0;
	padding: 0;
}

@media only screen and (max-width: 359px) {
#top-navigation {
	font-size: 80%;
}
#top-navigation li a, #top-navigation a.here {
	margin: 0 5px 0 0;
	padding: .4em 2px;
}
}
@media only screen and (min-width: 360px) and (max-width: 800px) {
#top-navigation {
	font-size: 90%;
}
#top-navigation li a, #top-navigation a.here {
	margin: 0 5px 0 0;
	padding: .5em 3px;
}
}
@media only screen and (min-width: 801px) {
#top-navigation {
	font-size: 100%;
}
#top-navigation li a, #top-navigation a.here {
	margin: 0 10px 0 0;
	padding: .7em 12px;
}
}

#top-navigation li a {
	background: #475464;
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	display: block;
	color: white;
	font-weight: bold;
	text-decoration: none;
}
#top-navigation li.current a {
	background: #000;	
}
#top-navigation li a:hover {
	filter: alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
	background: #1b2f54;
	background: #135;
	color: white;
}

#top-navigation a.here {
	background: #1b2f54;
	background: #135;
	filter: alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	display: block;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

#top-navigation a:hover.here {
	filter:alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
	background: #1b2f54;
	background: #135;
	color: white;
}

#searchfield {
	width: 250px;
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #135;
	padding: 15px;
}

#searchfield:focus {
	font-size: 120%;
	filter:alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}

#search_form {
	display: inline;
	color: white;
}

#search_form input[type=submit] {
	cursor: pointer;
	border: 0;
	background: #475464;
	color: white;
	font-weight: bold;
	filter:alpha(opacity=50);
	-moz-opacity:0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#search_form input[type=submit]:hover {
	background: #135;
	color: white;
	filter: alpha(opacity=100);
	-moz-opacity:1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}

@media only screen and (max-width: 359px) {
#search_box {
	font-size: 80%;
}
#search_form {
	font-size: 80%;
}
#searchfield {
	width: 100px;
	height: 36px;
	font-size: 90%;
	padding-left: 6px;
	border-radius: 5px;
}
}

@media only screen and (min-width: 360px) and (max-width: 600px) {
#search_box {
	font-size: 90%;
}
#search_form {
	font-size: 90%;
}
#searchfield {
	width: 140px;
	height: 36px;
	font-size: 100%;
	padding-left: 8px;
	border-radius: 5px;
}
#search_form input[type=submit] {
	padding: .7em 12px;
	font: 100% "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
}
}

@media only screen and (min-width: 601px) and (max-width: 800px) {
#search_box {
	font-size: 90%;
}
#searchfield {
	width: 170px;
	height: 36px;
}
#search_form input[type=submit] {
	padding: .7em 12px;
	font: 90% "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
}
}

@media only screen and (min-width: 801px) {
#search_box {
	font-size: 100%;
}
#search_form {
	font-size: 90%;
}
#searchfield {
	height: 43px;
	font-size: 100%;
	padding-left: 5px;
	border-radius: 5px;
}
#search_form input[type=submit] {
	padding: .7em 12px;
	font: 100% "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	font-weight: bold;
}
}
