@charset "UTF-8";
/* CSS Document */

html { min-height: 101%; margin-bottom: 1px; } /* This forces the vertical scrollbar to appear in all pages to avoid the content shifting slightly to the left or the right when moving between pages */

* {
	margin: 0;
	padding: 0;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 100.1%;
}

body {
	font-family: Verdana, "san serif";
	font-size: 100.1%;
	line-height: 1em;
	color: #333;
	margin-right: 20px;
	/*this is to prevent auto-zoom in Safari on iOS devices*/
	-webkit-text-size-adjust:100%;
}

article, aside, figure, footer, header, nav, section { display: block; }

#page-wrap { width: 960px; padding:0px 10px; margin: 10px auto 10px; }

a {
	color: #000;
	text-decoration: none;-moz-outline: none 0;
    outline: none 0;/*to dissable a grey dotted line around the link when clicking a link in Firefox*/
}

ul li {
		list-style: none; 	
}
.biggertex {
	font-size: .90em;
}
img a {
	border: 0;	
}

/* Clearfix */

.group:after { visibility: hidden; display: block; content: ""; clear: both; height: 0; }
*:first-child+html .group { zoom: 1; } /* IE7 */


/* NAVIGATION Menu */

nav ul{
	margin: 0px;
	padding: 0px;
}
nav ul li{
	display: inline-block;
	width: 140px;
	font-size: 0.7em;
	margin: 10px;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
	min-height: 40px;
	line-height: 1em;
	float: left;
	background: #000;
	color: #FFF;
	text-transform: uppercase;
	}
nav ul .white-background li {
	background: #FFF;
	color: #000;
	width: 140px;
	min-height: 40px;	
}
nav ul a li {
	text-decoration:none;
	background: #FFF;
	color: #333;
	width: 140px;
	min-height: 40px;	
}
nav ul a:hover li {
	background: #000;
	color: #FFF;
	width: 140px;
	min-height: 40px;	
}
.nav-text {
	float:left;
	padding: 5px 5px 0px 5px;
}

/* SUBNAVIGATION Menu*/

#subnav {
	float: left;
	color: #00C;
	padding: 20px 0px 20px 10px;	

}
#subnav ul {
	margin: 0px;
	padding: 0px;	
	}
#subnav ul li{
	display: list;
	width: 140px;
	font-size: 0.7em;
	margin: 0px 10px 15px 0px;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
	min-height:40px;
	line-height: 1em;
	background: #000;
	color: #FFF;
	text-transform: uppercase;
	}
#subnav ul a li {
	background: #FFF;
	color: #000;
	width: 140px;
	min-height: 40px;	
}
#subnav ul a:hover li {
	text-decoration:none;
	background: #000;
	color: #FFF;
	width: 140px;
	min-height: 40px;	
}

#subnav2 {
	float: left;
	color: #00C;
	margin-right: 0px;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 10px;
}
#subnav2 ul {
	margin: 0px;
	padding: 0px;	
	}
#subnav2 ul li{
	display: list;
	width: 140px;
	font-size: 0.7em;
	margin: 0px 0px 15px 0px;
	padding-bottom: 5px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
	min-height:40px;
	line-height: 1em;
	background: #000;
	color: #FFF;
	text-transform: uppercase;
	}
#subnav2 ul a li {
	background: #FFF;
	color: #000;
	width: 140px;
	min-height: 40px;	
}
#subnav2 ul a:hover li {
	text-decoration:none;
	background: #000;
	color: #FFF;
	width: 140px;
	min-height: 40px;	
}

/* SLIDESHOW HOME PAGE*/
#slideshow {
	float: right;
}

/* Main Content*/
#main-content {
	float: left;
	width: 620px;
	padding: 20px 0px;	
	margin-left: 170px;

}
h1 {
	font-size: 1em;
	padding-bottom: 20px;
	font-weight: normal;
}
h2 {
	font-size: 1em;
	font-weight: 200;
	text-transform: uppercase;
	padding:7px 0px;	
}
.text {
	font-size: .7em;
	padding-top: 20px;
}
#main-content a {
	text-decoration:underline;
}
#booklist-main-content {
	float: left;
	width: 620px;
	padding: 20px 0px;	
	margin-left: 330px;
}

/*Gallery Jquery*/
.gallery {
	position: relative;
	
}
.gallery_nav {
	float: right;
	font-size: .7em;
	margin: 0px;
	padding: 0px;
}
#img-container {
	margin-top: 0px;
	clear: both;
	position: relative;
	height: 310px;
}
.gallery #caption {
	font-size: 0.6em;
	width: 460px;
}
.text img {
	border: 1px solid #000;
	margin-right: 20px;
	margin-bottom: 20px;
}
.end-right img {
	margin-right: 0px;
	padding-right: 0px;
}
#main-content .gallery_nav a  {
	text-decoration:none;
}

/* Booklist page */

.book {
	width: 960px;
	padding-bottom:20px;
	padding-top: 10px;
}
#list .book img {
	padding-left: 10px;
	float: left;
	padding-right: 20px;
	padding-bottom:20px;

	
}
#list .book p {
	font-size: .7em;
	padding-left: 330px;
}

/* CV formating*/
.text pre {
	width: 640px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 1em;	
}

pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/* CONTACT FORM */
form {
	font-size: 90%;
}

/* FOOTER */
footer {
	font-size: .6em;
	padding-top: 10px;
	padding-left: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
	margin-top: 10px;
	text-align: right;
}
