/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, 
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	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;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/************* general styling **********************/
@font-face {
    font-family: linearicons;
    src: url(Linearicons.ttf);
}

body {
    background-color: white;
	color: rgb(139,86,42);
	font-size:1em;
	font-family: 'Open Sans Condensed', sans-serif;
}

p{
	margin: 1em 0 1em 0;
}

a:link {
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: inherit;
}

a:active {
    color: inherit;
}

em{
	font-weight:bold;
}

h1{
	font-family: 'Slabo 27px', serif;
	font-size:300%;
	color: white;
	padding: 0 5px 0 5px;
}

#header {
	text-align: center;
	position: relative;
}

#headerimg {
	width: 100%;
	height: auto;
	//max-width:1200px;
}

#title{
	position: absolute;
	top: 50%;
	left: 50%;  
	transform: translate(-50%, -50%);
	width: 65%;
}

#about{
	color: white;
	position: absolute;
    top: 3%;
    left: 88%;
	width: fit-content;
	font-size: 1.1em;
}

#aboutText{
	
}

#aboutContent{
   padding: 0em 25%;
}

.readabletext{
	    text-align: justify;
}

.leftTitle{
	position: absolute;
    top: 25%;
    left: 0%;
}

.rightTitle{
	position: absolute;
    top: 25%;
    right: 0%;
}

#search {
	background-color: rgb(222,204,142);
	text-align: center;
	padding-bottom: 3em;
	padding-left: 1em;
    padding-right: 1em;
}

#q, #b, #qp, #bp { 
	margin: 0 
}

#q,#qp { 
	padding-left: 15px;
    font-size: 1.3em;
    color: rgb(139,86,42);
    font-family: 'Open Sans Condensed', sans-serif;
	line-height: 58px;
	border: none;
    width: 50%;
    max-width: 540px;
	min-width: 250px;
	vertical-align: middle;
	height: 2.75em;
}
#b,#bp { 
	text-indent: -99999px; 
	margin-left: -53px;
	width: 50px; 
	height: 44px; 
	background: white url(../img/searchb.jpg) 0 0 no-repeat;
	border: 0;
	-webkit-appearance: none;
	cursor: pointer; 
}

h2{
	font-family: 'Open Sans Condensed', sans-serif;
	font-size:175%;
	color: rgb(139,86,42);
	padding: 1.4em 0 .3em 0;
}

#results {
	color:black;
	background-color: white;
	text-align:left;
	padding: 0 8% 3em 8%;
}

#resultsTitle {
    border-bottom: 4px solid rgb(222,204,142);
    padding-bottom: .75em;
	margin-bottom: 3em;
	height: 4.8em;
}

.overlayClose {
	font-family: linearicons;
	color: black !important;
	text-decoration:none;
	font-size:2em;
	position: absolute;
	top: 3%;
	left: 95%;
}

.overlay { 
	font-size: 17px;
	line-height: 23px;
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    top: 1%; 
    left: 1%;
    right: 1%;
    bottom: 1%;
    background-color: rgba(255,255,255,0.96); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    padding: 2% 15%;
	color: rgb(139,86,42);
	overflow-y:auto;
}

.overlay ul {
	list-style: none;
}
.overlay li {
	padding-bottom: 1em;
}

#footer {
	/*font-size: 0.8em;*/
	padding: 1em 8% 5% 8%;
}


/************* infobox **********************/

.infobox {
	display: none;
	padding: 20px;
	min-width:300px;
	overflow-x: overlay;
	/*border-radius: 8px;
	float: left;
	position: absolute;
	background-color: bisque;
	border: 1px solid black;
	z-index:1002;*/	
}

.close{
	position:relative;
	float:right;
	top: -15px;
	left: 15px;	
}

.infobox ul{
	list-style-type: none;
	padding:0;
	margin: 0;
}

.infobox .name{
	font-weight:bold;
}

.infobox label{
	font-style: italic;
	width: 4em;
    display: inline-block;
}

@media only screen and (max-width: 1500px) {
h1{
	font-size:250%;
}
.leftTitle{
    left: -20%;
}
.rightTitle{
    right: -20%;
}
}
@media only screen and (max-width: 500px) {
h1{
	font-size:125%;
}
.leftTitle,.rightTitle{
    top: -40%;
	width: 25px;
}
.leftTitle{
    left: 37%;
}
.rightTitle{
    right: 37%;
}
#about{
	left: 70%;
	font-size: 1em;
}
#title{
	top: 65%;
}
#aboutContent{
    padding: 0em;
}
}
