/* 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
----------------------------------------------------------------------------- */

.gallery-detail{}
	.gallery-detail h1{}
	.gallery-detail h3{ margin-top: 4px !important; }
	.gallery-detail p.description { margin: 0; }
	.gallery-detail dl.image{}
		.gallery-detail dl.image dt{}
		.gallery-detail dl.image dd{ padding-left: 0; padding-right: 0;}
			.gallery-detail dl.image dd #SI_galleryImgNumOf{ font-size: 10px;}
			.gallery-detail dl.image dd #SI_galleryImgTitle{ margin: 0; }
			.gallery-detail dl.image dd #SI_galleryImgDesc{ margin: 0; }
			.gallery-detail dl.image dd #SI_galleryImgDesc p{ margin: 0; line-height: normal; }

/* Gallery Form */
#gallery-form{ position: relative; margin: -1.5em 0 1em 0; padding: 0; }
	#gallery-form select{}
	.sc #gallery-form select, .tc #gallery-form select{ margin:1.5em 0 0 0; width: 189px; }
	body#gallery #gallery-form { margin: 0 0 10px 0; }

/* Gallery Paging */
.gallery-paging{ margin: 0 14px 10px 0; color: #777; } /* also #SI_gallerySets */
	.gallery-paging strong{ font-weight: normal; }
	.gallery-paging span{}
		.gallery-paging span a{}

/* Gallery Previous / Next Buttons */
.gallery-directional{ position: absolute; top: 37px; right: 14px; width: 90px;}
body#gallery .gallery-directional{ top: 0px; }
	.gallery-directional .gallery-previous{ position: absolute; top: -24px; left: 0px;}
	.gallery-directional .gallery-next{ position: absolute; top: -24px; right: 0px; }
		.gallery-directional a { display: block; }

	body#gallery .gallery-directional .gallery-previous, body#gallery .gallery-directional .gallery-next{ top: 0px; }

/* Gallery Thumbnails */
.gallery-container { height: 430px; }
.gallery-thumbnails{}
	.gallery-thumbnails ul#SI_galleryThumbs{ list-style: none; margin: 0; }
		.gallery-thumbnails ul#SI_galleryThumbs li{ 
			background-color: #61C0C6;
			border-color: #329ca3;
			display: inline;
			float: left;
			margin: 0 10px 10px 0;
			padding: 4px !important;
			list-style-image: none;
			}
		.gallery-thumbnails ul#SI_galleryThumbs li.active{
			background-color: #223a72 !important;
			border-color: #111 !important;
			}
			.gallery-thumbnails ul#SI_galleryThumbs li:hover{
			background-color: #3B5695;
			border-color: #223a72;
			}
			.gallery-thumbnails ul#SI_galleryThumbs li a{ 
				display: block;
				width: 71px;
				height: 51px;
				overflow: hidden;
				position: relative;
				}
			.gallery-thumbnails ul#SI_galleryThumbs li.active a{}
			.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: 0;
					}

/* 
-----------------------------------------------------------------------------
 =Teaser-Gallery
----------------------------------------------------------------------------- */
.gallery-teaser {}
	.gallery-teaser dl.image { margin-bottom: 1em; } 
		.sc .gallery-teaser dl.image, .tc .gallery-teaser dl.image { position: relative; margin-top: -10px; margin-left: -10px; }
	.gallery-teaser dl.image dd { margin: 0; }
	.gallery-teaser a.image {}
		.gallery-teaser a img {}
	.gallery-teaser h2 {}
	.gallery-teaser h3 { padding: 0; margin: 0; font-size: 11px; line-height: normal; font-weight: strong; color: #674400; }
	.gallery-teaser h4 {}
	.gallery-teaser strong { margin-bottom: .35em; font-size: 1.1em; display: block; }
	.gallery-teaser p { margin: 0; }
	.gallery-teaser a.more { background: url(/images/common/btn-viewallphotos.gif) center center no-repeat; display: block; width: 85px; height: 11px; text-indent: -9999px; }
	.gallery-teaser a.edit {}
	.gallery-teaser select { width: 230px; margin-bottom: 1em; }
		.sc .gallery-teaser select, .tc .gallery-teaser select, .sc .gallery-teaser p a.button, .tc .gallery-teaser p a.button { width: 220px; position: relative; margin-left: -5px; }
		.sc .gallery-teaser p a.button, .tc .gallery-teaser p a.button { width: auto; }
/* 
-----------------------------------------------------------------------------
 =Attachments-Gallery
----------------------------------------------------------------------------- */
.gallery-attachment { }
	.gallery-attachment h2 {}
	.gallery-attachment .gallery-directional{}
	.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 { position: relative; margin: -5px 0 0 -5px; padding: 0; -webkit-border-radius: 0px; -moz-border-radius: 0px; border: none; background: none; }
		.gallery-attachment dl.image-list dt {}
			.gallery-attachment dl.image-list dt a{}
				.gallery-attachment dl.image-list dt a img{ }
		.gallery-attachment dl.image-list dd { margin-left: 0; }
		.gallery-attachment dl.image-list dd h3.gallery-title { font-size: 1em; font-weight: bold; margin-bottom: 0; color: #674400; }
		.gallery-attachment dl.image-list dd p.gallery-caption{ color: #674400; line-height: normal; margin: 0; font-size: 11px;}

/* 
-----------------------------------------------------------------------------
 =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 { margin-bottom: 1.5em !important; }
		.sc dl.file-list, .tc dl.file-list { margin-bottom: 10px !important; }
		dl.file-list dt { margin-bottom: 6px; }
		dl.file-list dt strong {
			font-size: 12px;
			line-height: 1.1em;
			}
			.sc dl.file-list dt strong, .tc dl.file-list dt strong { color: #DEAC34; }
		dl.file-list dd p {
			position: relative;
			padding: 0;
			margin: -2px 0 2px 0;
			}
			.sc dl.file-list dd p, .tc dl.file-list dd p { line-height: 1.1em; margin-top: .1em; }
			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;
				list-style-image: none;
				margin-bottom: 1px;
				}
				dl.file-list ul li a {
					text-decoration: none;
					}
				dl.file-list ul li p {
					color: #777;
					}
				dl.file-list dd ul li span { display: none; } /* hide file size */
	.gallery-file a.edit {}
	.gallery-file a.more {}
	
	.gallery-file dl.file-list{}
		.gallery-file dl.file-list dt{}
		.gallery-file dl.file-list dd{}
	.gallery-list dl.file-list{}
		.gallery-list dl.file-list dt{}
		.gallery-list dl.file-list dd{}
		
/* Collapsible File List */
	dl.file-list dt.enabled { cursor: pointer; background: url(/_infrastructure/images/icons/16x16/expand.gif) -3px -1px no-repeat; padding-left: 15px !important;;}
	/*.sc dl.file-list dt.enabled, .tc dl.file-list dt.enabled { background-position: -3px -1px; }*/
	dl.file-list dt.collapse { background-image: url(/_infrastructure/images/icons/16x16/collapse.gif);}
	dl.file-list dd.enabled ul { margin-top: .3em; }
	dl.file-list dd.enabled ul { margin-left: 13px; }
	dl.file-list dd.enabled ul li p { margin-left: 0px; }

/* 
-----------------------------------------------------------------------------
/* 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 {
	margin: 0 0 0 10px;
	padding: 0;
	}
.portal-gallery-file dl.file-list dt {
	padding: 0;
	margin: 0;
	}	
.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 {
	}
.portal-gallery-teaser a img {
	}
.portal-gallery-teaser h2 {
	}
.portal-gallery-teaser h3 {
	}
.portal-gallery-teaser h4 {
	}
.portal-gallery-teaser p {
	}
.portal-gallery-teaser a.more {
	}
.portal-gallery-teaser a.edit {
	}
.portal-gallery-teaser p.login-link {
	}