/*****************************/
/*** Core html setup stuff ***/
/*****************************/

html {
	padding: 0px;
	margin: 0px;
	height: 100%;
    overflow-y: scroll;
}

body {
	background-position: top center;
	background-repeat: repeat-y;
	margin: 0px;
	padding: 0px;
	font-family: helvetica;
	background-color: #fff;
	height:100%;
	font-size: 10pt;
	color: #000000;
}

p {
	/*line-height: 2em;*/
	margin-top: 0;
}

table {
	border-collapse: collapse;
}

td, th {
	padding: 0;
}

a {
	color: #000000 ! important;
	text-decoration:none;
}

#menu table {
	width: 100%;
}

#menu_left {
	width: 270px;
	font-size: 25px;
	vertical-align: bottom;
}

#menu_left  p {
	padding: 0;
	margin: 0;
	line-height: 1em;
}

#menu_right {
	vertical-align: bottom;
	font-size: 17px;
}

/*
div.menu_module ul {
	margin: 0px;
	padding: 0px;
//	white-space: nowrap;
}*/

div.menu_module div.menulevel0 {
	margin: 0px;
	padding: 0px;
/* padding-right: 30px;*/
	/*display: inline;*/
//	list-style-type: none;
//	text-transform: uppercase;
	float: right;
}

div.menu_module div.menulevel0 div.menuitem {
	text-transform: none;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	margin-left: 1em;
	float: left;
}


div.menu_module div.menulevel1 {
	display: none;
	margin-left: 0px;
	margin-top: 0.5em;
	margin-bottom: 1.5em;
	padding: 0px;
//	white-space: nowrap;
}

div.menu_module div.menulevel1 div.menuitem {
	text-transform: none;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	width: 150px;
}

div.menu_module a {
	padding-left: 0px;
/*	font-weight: bold;
	padding-right: 1ex;
	padding-left: 1ex;*/
}

div.picmenuitem {
	float: left;
	overflow: hidden;
	background-color: #aaaaaa;
	position: relative;
}

div.picmenuitem a img.nohover {
	z-index: 99;
	float: left;
	overflow: hidden;
}

div.picmenuitem a img.hover {
	position: absolute;
	z-index: 100;
	float: left;
	overflow: hidden;
	opacity:0;
	filter:alpha(opacity=0);
}

div.picmenuitem a img.hover:hover {
	opacity:1.0;
	filter:alpha(opacity=100); 
}



#centerer {
	background-color: #ffffff;
	margin: 0px;
	padding: 0px;
	padding-left:30px;
	padding-right:30px;
  margin-left: auto;
  margin-right: auto;
	height:100%;
	min-height:100%;
}

#top {
	background-color: #ffffff;
}

#top_left {
	padding-top: 40px;
	padding-bottom: 40px;
	float: left;
}

#top_left p {
	padding: 0px;
	margin: 0px;
	line-height: 1em;
}

#top_right {
	padding-top: 40px;
	padding-bottom: 40px;
	/*padding-left: 20px;*/
	/*height: 250px;*/
	float: right;
}

#top_right p {
	padding: 0px;
	margin: 0px;
	line-height: 1em;
}


#main {
	background-color: #ffffff;
	float:right;
	width: 100%;
	/*padding-left:20px;
	padding-right:20px;*/
	overflow: hidden;
	min-height: 400px;
}

#footer {
	/*padding-left: 20px;*/
	background-color: #ffffff;
	clear: both;
  height: 60px;
}


/* forces horizontal scrollbar to be visible in firefox */

#scroll {
	position:absolute;
	top:0;
	bottom:-1px;
	width:1em;
	z-index:-1;
} 


/* works specific */

div.work_module {
	position:relative;
	text-align: left;
}

div.work_module div.item {
	position:relative;
	height:350px;
//	text-align: center;
}

div.work_module_one_page div.item {
	margin-bottom: 15px;
}

div.work_module div.text {
	position:relative;
	max-width: 466px;
}

div.work_module_one_page div.text {
	margin-bottom: 15px;
	max-width: 450px;
}


div.work_module div.navigation  {
	position:relative;
	top: 10px;
	left: 0px;
	width:35px;
	height:40px;
//	margin-left: auto;
//  margin-right: auto;
}

div.work_module a {
	text-decoration:underline;
}


div.work_module div.navigation div.prev_item {
	//position:absolute;
	float:left;
	//left: 0px;
	//top: 0px;
	text-align:left;
	width: 10px;
	cursor: pointer;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;

}

div.work_module div.navigation div.next_item {
//	position:absolute;
	float:right;
//	left: 200px;
//	top: 0px;
	text-align:right;
	width: 10px;
	cursor: pointer;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;

}


div.work_module_one_page img {
  max-width: 100%;
}


div.jg_displaynone {
	display: none;
}

#jg_photo_description {
	position:relative;
	width:400px;
	top: 20px;
	margin-left: auto;
    margin-right: auto;
}

img.jg_photo {
	margin-top: 0px;
	padding-left: 0px;
	margin-left: 0px;
}

img {
	border: none;
}


object.audioplayer {
	vertical-align: middle;
}

div.play_button {
	vertical-align: middle;
	display: inline-block;
	cursor: pointer;
	width: 24px;
	height: 24px;
	background-image: url('play-button2.png');
}

div.pause_button {
	vertical-align: middle;
	display: inline-block;
	cursor: pointer;
	width: 24px;
	height: 24px;
	background-image: url('pause-button2.png');
}



div.prev_work_link {
  float: left;
  padding-right: 15px;
}

div.next_work_link {
  float: left;
}

div.bottom_left {
  float: left;
}

div.bottom_right {
  float: left;
}




/* Mobile specific styles */
@media screen and (max-width: 699px) {
  #centerer {
	  width:300px;
    padding-left:10px;
    padding-right:10px;
  }

  #top_left {
	  padding-top: 10px;
	  padding-bottom: 10px;
	  float: left;
  }

  #top_right {
	  padding-top: 10px;
	  padding-bottom: 10px;
	  float: right;
  }

  div.picmenuitem {
    margin-bottom: 15px;
    width: 100%;
  }

  div.picmenuitem a img.nohover {
    width: 100%;
  }

  div.picmenuitem a img.hover {
    display: none;
  }

}

/* desktop specific styles */

@media screen and (min-width: 700px) and (max-width: 999px) {

  #centerer {
	  max-width: 600px;
  }

}

@media screen and (min-width: 1000px) {

  #centerer {
	  max-width: 900px;
  }

}

@media screen and (min-width: 700px) {
  
  div.picmenuitem {
    margin-right: 15px; 
    margin-left: 15px; 
    margin-bottom: 15px;
    width: 270px;
    height: 180px;
  }

  div.picmenuitem a img.hover,
  div.picmenuitem a img.nohover {
    width: 270px;
    height: 180px;
  }

  #top_right {
	  padding-right: 15px;
  }

  #top_left {
	  padding-left: 15px;
  }

  #bottom_right {
    padding-right: 15px;
  }

  div.picmenuitem a img.nohover {
	  position: absolute;
  }

  div.work_module_one_page,
  div#main > div.htmlmodule {
    padding-left: 15px;
    padding-right: 15px;
  }

  div.prev_work_link {
    padding-left: 15px;
  }
}




