/**
 * CSS Document by Christian Knochenhauer and Jeffrey Ouma.
 * Copyright© 2008 artkenya.net Ltd.
 * All rights reserved.
 * 
 * CSS file name: image.js
 * Purpose: Defines the images styles especially on image-intensive pages like photo galleries.
 */

/**
 * IMAGE BORDER
 * ============
 */
.imageborder { /* CK - put a 5-pixel border around the target */
	border: 5px solid #FFFFFF;
}
.imageborder-left { /* CK - put a 5-pixel border around the target and float it to the left */
	border: 5px solid #FFFFFF;
	float: left;
	margin: 0 10px 0 0;
}
.imageborder-right { /* CK - put a 5-pixel border around the target and float it to the right  */
	border: 5px solid #FFFFFF;
	float: right;
	margin: 0 0px 0 10px;
}

/**
 * IMAGE FRAME
 * ===========
 */
.img-frame {
	/* Displays a white frame around the picture */
	/*background:white url("../Images/img-shadow-rt.png") repeat-y scroll right top;*/
	background:white none no-repeat scroll 0%;
	float:left;
	margin:0pt 2em 5em 0pt;
	padding:5px;
}
.img-frame-ft {
	background:white url("../Images/img-shadow-bt.png") repeat-x scroll left bottom;
	clear:both;
	display:none;
	/*height:7px;*/
}


/**
 * PHOTO GALLERY
 * =============
 */
#main-content-area .photo-gallery {	/* JO */
	margin:20px auto;
}
#main-content-area .photo-gallery table {	/* JO */
	background-color:#EDEDB6;
	margin-bottom:0pt;
}
#sidebar-right .photo-gallery {	/* JO */
	padding: 0px 0px 20px 0px;
}
#sidebar-right.inside-right .photo-gallery, 
#sidebar-right.sidebar-right-fullpage .photo-gallery {	/* JO */
	padding:0px 20px 20px;
}
#sidebar-right.photo-gallery .img-frame {	/* JO */
	margin:0pt 0.833333em 1em 0pt;
}
#sidebar-right.fixed-width .photo-gallery table {	/* JO - Center the photo gallery table */
	margin: 0 auto;
}
#sidebar-right h2, #sidebar-right p {	
	padding: 0px 20px;
}/*#sidebar-right .no-padding h2, #sidebar-right .no-padding p {	
	padding: 0px 20px;
}*/

table#photogallery { /* CK */
	width: auto;
	margin: 0 auto;
}
table#photogallery td { /* CK */
	text-align: center;
}

.captionphotogallery { /* CK */
	color: #666;
	font-size: 11px;
	font-weight: normal;
	text-align: center;
	vertical-align:top;
}

/**
 * INSET IMAGE
 * ===========
 */
.insetimage-left {
	float: left;
	margin:0px 10px 0px 0px;
	padding:10px 10px 0px;
}
.insetimage-right {
	float: right;
	margin:0px 10px 0px 0px;
	padding:10px 10px 0px;
}
/*.insetimage .captionphotogallery, .insetimage-left .captionphotogallery, 
.insetimage-right .captionphotogallery {
	color:#990000;
}*/

/**
 * FULL SIZE
 * =========
 * These styles set propertyies of the full size image and the panel in which it is displayed.
 * When images that are too large and represented by thumbnails, the full size image is hidden
 * and preloaded in the background.
 */
#fullsize {
	/*overflow:hidden;*/
}
#fullsize .bd {
	padding:10px 0pt;
}
.fullsize-view {	/* JO - Hide the fullsize panel by default */
  display:none;
}
.fullsize-image { /* JO - Center the full size image in the panel */
	background:none;
	background-repeat:no-repeat;
}
#fsimages {
	height:0px;
	margin:0pt 10px;
	overflow:hidden;
	width:0px;
}
#fsnav { /* JO - The container for the image navigation buttons */
	padding:0px 10px 10px;
}
#fsnav p {
	font-size:85%;
	margin:0pt;
}
#fscaption {
	color:#666666;
	font-size:85%;
	padding:5px 0px 0px 0px;
}

/**
 * P7 SLIDE SHOW MAGIC
 * ===================
 * PVII Slide Show Modifications
 */
#p7ssm_fsc { /* JO */
	background-color: white;
	border: medium none;
	padding: 5px;
}
#p7ssm { /* JO */
	background-color: transparent;
}

#p7ssm_description { /* JO - Align the image caption to the center */
	text-align:center;
}

/* End of p7ssm styles*/



/*
 * YAHOO User Interface (YUI)
 * ==========================
 * These styles redefine and "reskin" some of the YUI classes and components to streamline them
 * with the theme of this site.
 */
.yui-skin-sam .yui-panel-container.shadow .underlay {
	*display:none;
}

/* End of YUI styles*/