body {
   font-family : "Trebuchet MS", Arial, Helvetica, Tahoma, sans-serif;
   font-size : 13px;
   color : #a52a2a;
   background-color : #FF9F5D;
}

.news { 
  margin-left : 10px;
  margin-right : 10px;
  border : none;
  border-bottom : 1px solid #ccc;
}

.chapter { 
  border : none;
  border-top : 1px solid #ccc;
  margin-left : 20px;
  margin-right : 10px;
  padding-top : 5px;
  padding-bottom : 5px;
}

#logo {
  left : 0px;
  top : 0px;
  margin-top : 5px;
  background : url(images/paparazzi_logo.jpg) no-repeat;
  width : 860px;
  height : 206px;
  border : 1px solid #ccc;
  border-top : none;
}

#menu {
  position : absolute;
  top : 183px;
  left : 13px;
  font : 90% verdana, sans-serif;
  background: transparent;
  width : 860px; 
}

#contents {
 left : 0px;
  padding-top : 37px;
  background : #fff;
  border : 1px solid #ccc;
  clear : both;
  width : 860px; 
	border-top : none;
}

#footer {
  border : 1px solid #000000;
  font : italic 75% sans-serif;
  margin-top : 10px;
  width : 850px;
  padding-left : 10px;
  padding-bottom : 10px;
}


a:link {
   color : #494949;
   background : transparent;
}

a:visited {
   color : #666666;
}

a:hover {
   color : #a52a2a;
   text-decoration : underline;
  }

a:active {
   color : #484500;
}

/* navigation bar */

#menu li {
  display : inline;
}

#menu a:hover {
  background: #eee;
}

#menu a {
  text-decoration: none;
  color: #000;
/* border: 1px solid gray; */
  font: bold 0.9em verdana, arial, sans-serif;
  margin: 0 10px 0 0;
  padding : 5px; 
  background: #ccc;
}

#subnav-1, 
#subnav-2, 
#subnav-3, 
#subnav-4, 
#subnav-5, 
#subnav-6, 
#subnav-7, 
#subnav-8  {
  display : none;
}

body.section-1   #nav-1,
body.section-2   #nav-2,
body.section-3   #nav-3,
body.section-4   #nav-4,
body.section-5   #nav-5,
body.section-5-1 #nav-5,
body.section-5-2 #nav-5,
body.section-5-3 #nav-5,
body.section-5-4 #nav-5,
body.section-5-5 #nav-5,
body.section-5-6 #nav-5,
body.section-6   #nav-6,
body.section-6-1 #nav-6,
body.section-6-2 #nav-6,
body.section-7   #nav-7,
body.section-7-1 #nav-7,
body.section-7-2 #nav-7,
body.section-7-3 #nav-7,
body.section-7-4 #nav-7,
body.section-7-5 #nav-7,
body.section-8   #nav-8,
body.section-8-1 #nav-8,
body.section-8-2 #nav-8,
body.section-8-3 #nav-8,
body.section-8-4 #nav-8,
body.section-9   #nav-9,
body.section-10  #nav-10 {
  background : #fff;
  border: 1px solid #ccc;
  border-bottom : 1px solid #fff;
  color : #000;
}

body.section-5   #menu #subnav-5,
body.section-5-1 #menu #subnav-5,
body.section-5-2 #menu #subnav-5,
body.section-5-3 #menu #subnav-5,
body.section-5-4 #menu #subnav-5,
body.section-5-5 #menu #subnav-5,
body.section-5-6 #menu #subnav-5,
body.section-6   #menu #subnav-6,
body.section-6-1 #menu #subnav-6,
body.section-6-2 #menu #subnav-6,
body.section-7   #menu #subnav-7,
body.section-7-1 #menu #subnav-7,
body.section-7-2 #menu #subnav-7,
body.section-7-3 #menu #subnav-7,
body.section-7-4 #menu #subnav-7,
body.section-7-5 #menu #subnav-7,
body.section-8   #menu #subnav-8,
body.section-8-1 #menu #subnav-8,
body.section-8-2 #menu #subnav-8,
body.section-8-3 #menu #subnav-8,
body.section-8-4 #menu #subnav-8 {
  display : inline;
  position : absolute;
  left : 50px;
  top : 50px;
}

body.section-5-1 #subnav-5-1,
body.section-5-2 #subnav-5-2,
body.section-5-3 #subnav-5-3,
body.section-5-4 #subnav-5-4,
body.section-5-5 #subnav-5-5,
body.section-5-6 #subnav-5-6,
body.section-6-1 #subnav-6-1,
body.section-6-2 #subnav-6-2,
body.section-7-1 #subnav-7-1,
body.section-7-2 #subnav-7-2,
body.section-7-3 #subnav-7-3,
body.section-7-4 #subnav-7-4,
body.section-7-5 #subnav-7-5,
body.section-8-1 #subnav-8-1,
body.section-8-2 #subnav-8-2,
body.section-8-3 #subnav-8-3,
body.section-8-4 #subnav-8-4 { 
  border: 1px solid #ccc;
  border-bottom : 1px solid #fff;
  background : #fff;
  color : #000;
}

/* image gallery */

ul.gallery, .gallery ul{
  /*Remove all spacings and bullets*/
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.gallery>li{
  float: left;
  padding: 10px;
  margin: 10px;
  width: auto;
  height: auto;
  border-color : transparent;
}

ul.gallery>li ul{
	padding: .8em;
/*	margin-top: 50px; /*may be adjusted according to the dimension size of the thumbnail images*/ 
	border: 1px solid #000;
	background-color: #fff;
	color: #000;
	font-size: 90%;
	max-width: 40%; /*prevent the popups from being too wide*/
	display: none;
	position: absolute;
}

ul.gallery>li ul li{
	margin-top: 2px; /*some spacing between the image data*/
}
ul.gallery>li:hover{
/*of course, the colors are customizable*/
	color: #369;
	background-color: transparent;
	border-color: #369;
}

ul.gallery>li:hover ul{
	display: block;
	list-style-type: none;
}

ul.gallery ul:before{
/*display the 'Image Information' at the top of the popups*/
	content: "Image Information";
	font-size: 130%;
	font-weight: bold;
	border-bottom: 1px solid #999;
	display: block;
}

ul.gallery ul:after{
/*display the '(click to view the larger version of this image)' at the bottom of the popups*/
	content: "(click to view the larger version of this image)";
	font-size: 90%;
	text-align: right;
	border-top: 1px solid #999;
	display: block;
	margin-top: 1em;
}

ul.gallery img{
/*width and height may be adjusted according to the dimension size of the thumbnail images*/
/*	width: 48px;
	height: 48px; */
	display: block;
}

img,a img{
/*Remove borders from images*/
	border: 0;
}

ul.gallery:after{
  content: ".";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
  visibility:hidden;
}
