@import url("/_infrastructure/css/module/gallery.css");

/* VERSIONS
/* 4_5: Initial css version, with most recent production improvements
/* 4_6: Added empty teaser gallery css, renamed to teaser-gallery, and added portal teaser/file gallery css as seperate styles
/* 5_0: Large changes for consistency: attachments, teasers, directional buttons. Improved default gallery-detail, gallery-file [Author: Landon Durnan]

/* GALLERY AND FILE-LIST STYLES
*******************************************************************************/

/* 
-----------------------------------------------------------------------------
 =Gallery-Detail
----------------------------------------------------------------------------- */
body.gallery-index #secondary-content {
	padding: 0 32px 0 14px;
	width: 220px;
	}
.gallery-detail{}
	.gallery-detail h1{}
	.gallery-detail h3{}
	.gallery-detail p.description { clear: left; width: 410px; padding: 12px 0 0 1px; }
	.gallery-detail dl.image { 
		background: url(/images/gallery/image-detail-bot.gif) no-repeat left bottom;
		width: 428px;
		padding-bottom: 56px;
		}
		.gallery-detail dl.image dt {
			background: url(/images/gallery/image-detail-top.gif) no-repeat 0 0;
			padding: 16px 21px 15px 17px;
			}
			.gallery-detail dl.image dt img { padding: 0; }
		.gallery-detail dl.image dd { color: #444; padding: 0 24px 0 20px; }
			.gallery-detail dl.image dd #SI_galleryImgNumOf { float: right; }
			.gallery-detail dl.image dd #SI_galleryImgTitle { margin: 0 56px .8em 0; font-size: 1.1em; }
			.gallery-detail dl.image dd #SI_galleryImgDesc { margin: 0; font-size: 1.1em; }
			.gallery-detail dl.image dd #SI_galleryImgDesc p { margin: 0; line-height: 1.5em; }

/* Gallery Form */
#gallery-form{ margin: 1em 0; }
	#gallery-form select{}
	.sc #gallery-form select{ width: 100%; }

/* Gallery Paging */
.gallery-paging{ margin-bottom: .5em; padding-left: 5px; } /* also #SI_gallerySets */
	.gallery-paging strong{}
	.gallery-paging span{}
		.gallery-paging span a{}

/* Gallery Previous / Next Buttons */
.gallery-directional { font-weight: bold; margin-bottom: 1.5em; }
	.gallery-directional .gallery-previous { background: url(/images/gallery/previous-bar.gif) no-repeat right center; padding: 0 9px 0 5px; }
	.gallery-directional .gallery-next { padding: 0 8px; }
		.gallery-directional .gallery-previous a { display: inline; }
		.gallery-directional .gallery-next a { display: inline; }
		.gallery-directional .gallery-previous span.disabled,
		.gallery-directional .gallery-next span.disabled,
		.gallery-directional .gallery-previous a.disabled,
		.gallery-directional .gallery-next a.disabled {
			display: inline;
			background-color: transparent;
			border: 0;
			padding: 0;
			color: #9D999A;
			}
		.gallery-directional a.button {
			display: inline;
			background-color: transparent;
			border: 0;
			padding: 0;
			}

/* Gallery Thumbnails */
.gallery-thumbnails{}
	.gallery-thumbnails ul#SI_galleryThumbs{ list-style: none; width: 242px; margin: 0 -16px 0 -6px; }
		.gallery-thumbnails ul#SI_galleryThumbs li{ 
			background: url(/images/gallery/thumbnail-bg.gif) no-repeat 0 0;
			display: inline;
			float: left;
			margin: 0 4px 4px 0;
			width: 116px;
			height: 93px;
			}
		.sc .gallery-thumbnails ul#SI_galleryThumbs li { padding-left: 0; border: 0; }
		.gallery-thumbnails ul#SI_galleryThumbs li.alt{ margin-right: 0; }
		.gallery-thumbnails ul#SI_galleryThumbs li.active { }
			.gallery-thumbnails ul#SI_galleryThumbs li a{ 
				display: block;
				height: 77px;
				overflow: hidden;
				position: relative;
				width: 100px;
				margin: 5px 0 0 6px;
				}
			.gallery-thumbnails ul#SI_galleryThumbs li.active a {
				border: 5px solid #98012E;
				height: 67px;
				width: 90px;
				}
			.gallery-thumbnails ul#SI_galleryThumbs li a.file{
				background-position: 50% 50%;
				padding: 0 !important;
				text-indent: -9999px;
				}
				.gallery-thumbnails ul#SI_galleryThumbs li a img{ 
					display: block; 
					position: relative; 
					margin: -50% 0% 0% -50%;
					}

/* 
-----------------------------------------------------------------------------
 =Teaser-Gallery
----------------------------------------------------------------------------- */
.pc .gallery-teaser { margin-left: 23px; }
.pc .gallery-teaser h2 { margin-left: -23px; }

.gallery-teaser dl { margin-bottom: 0; }
.gallery-teaser dl dt { margin-bottom: 1.3em; }
.sc .gallery-teaser dl dt { background-image: none; }
	.sc .gallery-teaser dl dt img { background-image: none; padding: 0; margin: 0; }
.pc .gallery-teaser dl dt { margin-left: -23px; display: block; }
.gallery-teaser dl dd { padding-bottom: 0; }
.pc .gallery-teaser dl dd { padding: 0 37px 0 0; }
	.gallery-teaser a.image {}
		.sc .gallery-teaser dl.image dt a img { padding-bottom: 0; }
	.sc .gallery-teaser h2 { margin-bottom: 0; }
	.gallery-teaser h3 { color: #B3866D; font-size: 1.4em; }
	.gallery-teaser h4 {}
	.gallery-teaser p {}
	.gallery-teaser p.no-content { margin-top: 12px;}
	.gallery-teaser a.edit {}
	.gallery-teaser select { margin-bottom: 1.5em; }
	.sc .gallery-teaser select { width: 100%; }
	 
#LeftColumnZone .gallery-teaser { padding-left: 10px; }
#LeftColumnZone .gallery-teaser dl.block1 { width: 190px; }
#LeftColumnZone .gallery-teaser dl dd { padding-left: 0; }

.sc .gallery-teaser img { margin: 0 0 12px -16px; }
	
	
/* 
-----------------------------------------------------------------------------
 =Attachments-Gallery
----------------------------------------------------------------------------- */
.gallery-attachment { }
	.sc .module.gallery-attachment h2 { margin-bottom: 0; }
	.gallery-attachment .gallery-directional { padding: 0; margin: 12px 0; }
	.gallery-attachment .gallery-directional .gallery-previous{}
	.gallery-attachment .gallery-directional .gallery-next{}
		.gallery-attachment .gallery-directional .gallery-previous a{}
		.gallery-attachment .gallery-directional .gallery-next a{}
	.gallery-attachment dl.image-list { width: 250px; margin: 0 0 0 -16px ; }
		.gallery-attachment dl.image-list dt {}
			.gallery-attachment dl.image-list dt a{}
				.gallery-attachment dl.image.image-list dt a img { padding: 0 0 12px 0; }
				
				.gallery-attachment dl.image dt img {}
				
		.gallery-attachment dl.image-list dd {}
		.gallery-attachment dl.image-list dd h3.gallery-title { font-size: 1.1em; }
		.gallery-attachment dl.image-list dd p.gallery-caption{ line-height: normal; margin: 0;}

/* 
-----------------------------------------------------------------------------
 =File Gallery
----------------------------------------------------------------------------- */
.gallery-file {}
	.gallery-file dl.file-group {}
	/* .gallery-file / .gallery-list */
	dl.file-list,
	dl.file-list dt,
	dl.file-list dd {
		margin: 0;
		padding: 0;
		}
		dl.file-list dt,
		dl.file-list dt strong { color: #444; }
		.pc dl.file-list dt,
		.pc dl.file-list dt strong { font-size: 1.05em; }
		dl.file-list dd p {
			padding: 0;
			margin: 0 0 1em 0;
			}
			dl.file-list dd p p {
				padding: 0;
				margin: 0;
				}
		dl.file-list ul {
			list-style: none;
			padding: 0;
			margin: 0;
			}
			dl.file-list ul li {
				background: none;
				padding-left: 0;
				}
			.sc dl.file-list ul li { margin-bottom: 4px; }
				dl.file-list ul li a { }
				dl.file-list ul li p { }
				.sc dl.file-list ul li p { margin-bottom: 4px; }
				dl.file-list ul li span { font-style: italic; }
	.gallery-file a.edit {}
	
	.gallery-file dl.file-list{}
		.gallery-file dl.file-list dt { margin-bottom: .8em;}
		.gallery-file dl.file-list dd { margin: 0 0 1.5em 1.2em; }
	.gallery-list dl.file-list { margin-top: 12px; }
		.gallery-list dl.file-list dt{}
		.gallery-list dl.file-list dd{}


/* 
-----------------------------------------------------------------------------
/* Below is condensed temporarily - Not frequently used
-----------------------------------------------------------------------------
/* GRID GALLERY
----------------------------------------------------------------------------- */
.gallery-grid {	position: relative;	}
.select-paging { width: 30%; }	
.gallery-grid .paging-container:after,
.column-container:after { content: "."; display: list-item; height: 0; clear: both; visibility: hidden;	}
.column-container div {	float: left; }
.column-container .col-1 { margin-right: 24px; }
.gallery-grid dl.gallery-image { border: 1px solid #DDD; background-color: #EEE; padding: 8px; }
.gallery-grid dl.gallery-image img { background-color: #FFF; padding: 3px; border-bottom: 1px solid #CCC; border-right: 1px solid #CCC;	} 
.gallery-grid dl.gallery-image p { margin: 4px 0 0; }
.gallery-grid .paging-container { position: relative; padding: 0 30px 0 32px; float: left; }
.gallery-grid .paging-container span { color: #999; }
.gallery-grid .paging-container .prev-btn,
.gallery-grid .paging-container .next-btn {	position: absolute;	top: 0;	width: 28px; height: 16px; line-height: 16px; text-align: center; border: 1px solid #DDD; background-color: #EEE; }
.gallery-grid .paging-container .prev-btn { left: 0; }
.gallery-grid .paging-container .next-btn {	right: 0; }
.gallery-grid .paging-container ul { list-style: none; padding: 0; }
.gallery-grid .paging-container li { float: left; display: block; width: 16px; height: 16px; line-height: 16px; text-align: center;  border: 1px solid #DDD; background-color: #EEE; margin-right: 2px;	}
.gallery-grid .paging-container li.active { background-color: #999; } 
.gallery-grid .paging-container li.active a { color: #FFF; }
.gallery-grid .gallery-desc { clear: both; padding-top: 0.6em; }

/* GALLERY LIST WITH THUMBS
----------------------------------------------------------------------------- */
.gallery-thumblist { }
.gallery-thumblist .gallery { margin-bottom: 10px; }
.gallery-thumblist .gallery .picturebox { padding: 0; margin: 0; }
.gallery-thumblist .gallery .picturebox a,
.gallery-thumblist .gallery .picturebox img { margin: 0; padding: 0; }
.gallery-thumblist .gallery .picturebox a.file { /*text-indent: -9999px; padding: 0 !important;*/ background-position: 50% 50%; height: 50px; width: 50px; }
.gallery-thumblist .gallery p {	}
	
/* PORTAL GALLERY STYLES
*******************************************************************************

PORTAL FILE GALLERY
----------------------------------------------------------------------------- */
.portal-gallery-file {
	}
.portal-gallery-file dl.file-group {
	}
.portal-gallery-file dl.file-list {
	}
.portal-gallery-file dl.file-list dt {
	}	
.portal-gallery-file dl.file-list dt ,
.portal-gallery-file dl.file-list dt strong {
	}
.portal-gallery-file dl.file-list dd p {
	padding: 0;
	margin: 0 0 5px 0;
	}
.portal-gallery-file dl.file-list dd p p {
	padding: 0;
	margin: 0;
	}
.portal-gallery-file dl.file-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
	}
.portal-gallery-file dl.file-list ul li {
	background: none;
	padding-left: 0;
	}
.portal-gallery-file dl.file-list ul li a {
	}
.portal-gallery-file dl.file-list ul li p {
	}
.portal-gallery-file a.edit {
	}
.portal-gallery-file p.login-link {
	}

/* PORTAL TEASER GALLERY
----------------------------------------------------------------------------- */
.portal-gallery-teaser{
	}
.portal-gallery-teaser a.image { display: block; margin: -12px -16px 14px -16px; }
.portal-gallery-teaser a img {
	}
.portal-gallery-teaser h2 {
	}
.portal-gallery-teaser h3 { color: #B3866D; font-size:1.4em; }
.portal-gallery-teaser h4 {
	}
.portal-gallery-teaser p {
	}
.portal-gallery-teaser a.more {
	}
.portal-gallery-teaser a.edit {
	}
.portal-gallery-teaser p.login-link {
	}

/* File Gallery Toggle
----------------------------------------------------------------------------- */
.file-toggle dl.file-list dd ul li span { display: none; }
.file-toggle dl.file-list dt.enabled { cursor: pointer; background: url(/_infrastructure/images/icons/16x16/expand.gif) -3px 1px no-repeat; padding-left: 15px; }
.file-toggle dl.file-list dt.collapse { background-image: url(/_infrastructure/images/icons/16x16/collapse.gif); }
.file-toggle dl.file-list dd.enabled ul { margin-top: .3em; }
.file-toggle dl.file-list dd.enabled ul { margin-left: 13px; }
.file-toggle dt.toggleCtrl { margin-bottom: 6px; }

