/* * * * * * * * * * */
/* Generic elements  */
/* * * * * * * * * * */

body {
	margin: 0px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size:10pt;
	color: #000;
	background-color: #fff;
	background-image:url(images/bg_big.png);
	background-repeat: repeat;
  
}
#container {
	background-image: url(images/bg_repeat.png);
	background-repeat: repeat-x;
	text-align: center;
	height: 100%;
	overflow: visible;
}
#container2 {
	width: 760px;
	margin-right: auto;
	margin-left: auto;
}

#header {
	text-align: center;
}
#main {
	height: 440px;
	width: 740px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}
#maintop {
	background-image: url(images/main_top.png);
	background-repeat: no-repeat;
	height: 30px;
	width: 740px;
	text-align: center;
}
#content {
	background-image: url(images/main_content.png);
	background-repeat: no-repeat;
	height: 360px;
	width: 740px;
	text-align: center;
	vertical-align: middle;
}
#inner {
	height: 360px;
	width: 640px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	vertical-align: middle;
}

#mainbot {
	background-image: url(images/main_bottom.png);
	background-repeat: no-repeat;
	height: 50px;
	width: 740px;
	text-align: center;
}

#footer {
	font-size: 8pt;
	text-align: center;
}
.TxtPadding {
	padding: 18px;
}
h1 {
	font-size: 16pt;
	font-weight: bold;
	color: #0099FF;
}
a:link {
	color: #0099FF;
	text-decoration: none;
}
a:visited {
	color: #0099CC;
	text-decoration: none;
}
a:hover {
	color: #FF9900;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-bottom-style: dashed;
	border-bottom-color: #FF6600;
}
a:active {
	color: #FF0000;
	text-decoration: none;
}
#footer a:link {
	font-weight: bold;
	font-size: 11pt;
	color: #003366;
	text-decoration: none;
}
#footer a:visited {
	font-size: 11pt;
	font-weight: bold;
	color: #333333;
	text-decoration: none;
}
#footer a:hover {
	background: #FFF;
	font-size: 11pt;
	font-weight: bold;
	color: #FF9900;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 1px;
	border-left-width: 0px;
	border-bottom-style: dashed;
	border-bottom-color: #000000;
}
#footer a:active {
	font-size: 11pt;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
}

/********************/
p, td, th, li, h4 {
  font: 10pt Verdana, Helvetica, Arial, sans-serif;
}

h2, h3 {
  color: #f60;
}


input, textarea, select, .inputbox {
  border: 1px solid #f60;
  color: #000;
  background-color: #fff;
}

input.radio {
  border: none;
  background-color: #fff;
}

input.button {
  font-weight: bold;
  border: 1px outset #fff;
  color: #fff;
  background-color: #f60;
}

a img {
  border: 0;
}


/* * * * * * * * * * */
/* Elements with IDs */
/* * * * * * * * * * */


/* header: image and/or title 
#header { }*/

#crumb {
	background-color:#FFF;
	margin: 2px;
	padding: 4px;
}
/*
 footer: copyright notices
#footer {
  text-align: center; 
}*/


/* * * * * * * * * */
/* Custom classes  */
/* * * * * * * * * */


/* image or gallery name header */
.sgTitle {
  margin-bottom: 0;
  font-size: 11pt;
}

/* image or gallery artist subheader */
.sgSubTitle {
  margin-top: 0;
}

/* image and artist name displayed beneath image */
p.sgNameByArtist { }

/* image and gallery details such as date, location, camera model, hits etc. */
p.sgDetailsList { }

/* language select box and template select box respectively */
div.sgLanguageFlipper, div.sgTemplateFlipper {
  float: right;
  clear: right;
}

div.sgClear {
  clear: both;
}

/* wraps the drop-shadow table to allow IE to center it */
div.sgShadow {
  text-align: center;
  padding: 1em;
}

/* the main content table that does the drop-shadow effect */
table.sgShadow {
	margin-left: auto;
	margin-right: auto;
	clear: both;
	
	text-align: center;
}


table.sgShadow td {
  padding: 0;
  margin: 0;
}

/* div containing each gallery sub-gallery on a gallery page */
div.sgGallery {
  margin: 5px;
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* the table cell containing the gallery thumbnail */
td.sgGalleryThumb {
  width: 100px;
  text-align: center;
}

/* the gallery thumbnail itself */
img.sgGalleryThumb {
  border: 1px solid #000;
}

/* the descriptive text (title, summary, contents) */
div.sgGallery p {
  margin-top: 0;
  margin-bottom: 2px;
}


/* full size image on an image page*/
img.sgImage {
  border: none;
}

/* the preview thumbnails and previous, thumbnails, next links */
p.sgTopNavBar, p.sgBottomNavBar {
  
  float: right;
  background-color: #fff;
}

/* wraps the thumbnail and rounded-corner code on an album page */
div.sgThumbnail {
  width:  124px;
  height: 124px;
  margin: 10px 5px;
  float: left;
	padding: 0px;
  text-align: center;
}

div.sgThumbnail table {
  width:  114px;
  height: 114px;
  margin: 0px;
  text-align: center;
  vertical-align: middle;
}

.sgThumbnailContent {
  background: #fff;
	margin: 0px;
	padding: 0px;
	border: 1px solid #ccc;
}


/* the following code does the rounded corners of the 35mm slide effect on 
   the album pages. Taken from http://www.albin.net/CSS/roundedCorners/ */
.roundedCornerSpacer {
    margin: 0px; padding: 0px; border: 0px;
    clear: both;
    font-size: 1px; line-height: 1px;
}
.borderTL, .borderTR, .borderBL, .borderBR {
    width: 5px; height: 5px;
    padding: 0px; border: 0px;
    z-index: 99;
}
.borderTL, .borderBL { float: left; clear: both; }
.borderTR, .borderBR { float: right; clear: right; }
.borderTL { margin: -1px 0px 0px -1px; }
.borderTR { margin: -1px -1px 0px 0px; }
.borderBL { margin: -5px 0px 0px 0px; }
.borderBR { margin: -5px 0px 0px 0px; }

/* appropriate background images for drop-shadow effect */
table.sgShadow td.tabl { background-color: #f0f0f0; width: 16px; height: 16px; }
table.sgShadow td.tabm { background-color: #0f0; }
table.sgShadow td.tabr { background-color: #f00; }

table.sgShadow td.tl {  background-image: url(images/tl.png); width: 30px; height: 30px; }
table.sgShadow td.tm {  background-image: url(images/tm.png); vertical-align: bottom;}
table.sgShadow td.tr {  background-image: url(images/tr.png);}
table.sgShadow td.ml {  background-image: url(images/ml.png);}
table.sgShadow td.mm {  background-color: #fff; padding: 10px;} /* cell containing image */
table.sgShadow td.mr {  background-image: url(images/mr.png);}
table.sgShadow td.bl {  background-image: url(images/bl.png);}
table.sgShadow td.bm {  background-image: url(images/bm.png);}
table.sgShadow td.br {  background-image: url(images/br.png); width: 30px; height: 35px; }

/* the bit with previous, next */
table.sgShadow td.tabm div { 
  font-size: 13px;
  padding-right: 30px;
  float: left; 
}

