@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
----------------------------------------------------------------------------- */

.gallery-detail{}
	.gallery-detail h1{}
	.gallery-detail h3{  }
	.gallery-detail p.description{}
	.gallery-detail dl.image{ }
		.gallery-detail dl.image dt{ }
		.gallery-detail dl.image dt a#SI_galleryLink{ display: block; width: 324px;}
		.gallery-detail dl.image dd{}
			.gallery-detail dl.image dd #SI_galleryImgNumOf{}
			.gallery-detail dl.image dd #SI_galleryImgTitle{ margin: 0; font-size: 1em; }
			.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{ margin: 1em 0; }
	#gallery-form select{}
	.sc #gallery-form select{ width: 100%; }

/* Gallery Paging */
.gallery-paging{ z-index: 5; position: absolute; top: 0; left: -5px; } /* also #SI_gallerySets */
	.gallery-paging strong{}
	.gallery-paging span{}
		.gallery-paging span a{}

/* Gallery Previous / Next Buttons */
.gallery-directional { width: 226px; clear: both; margin: 0 -5px; }
.gallery-directional .gallery-next { position: absolute; right: 0; }
#gallery .gallery-directional { 
	background: url(/images/common/gallery-directional.gif) right bottom no-repeat;
	position: relative;
	height: 26px;
	margin: 0 -12px;
	width: 240px;
	}
	#gallery .gallery-directional .gallery-previous{ position: absolute; right: 35px;}
	#gallery .gallery-directional .gallery-next{ position: absolute; right: 5px; }
		#gallery .gallery-directional .gallery-previous a,
		#gallery .gallery-directional .gallery-next a { background: none; border: 0;font-weight: bold; color: #fff; }
		#gallery .gallery-directional .gallery-previous a:hover,
		#gallery .gallery-directional .gallery-next a:hover { color: #afcbd9 !important; text-decoration: none !important; }

/* Gallery Thumbnails */
.gallery-thumbnails {
	background: url(/images/common/gallery-thumbs.gif) 0 0 no-repeat;
	height: 341px;
	width: 240px;
	margin: 0 -12px;
	padding: 0;
	}
	.gallery-thumbnails ul#SI_galleryThumbs{ list-style: none; padding: 20px 0 0 0; margin: 0 0 0 5px; }
		.gallery-thumbnails ul#SI_galleryThumbs li{ 
			background-image: none;
			border: 2px solid #20406f;
			display: inline;
			float: left;
			margin: 0 6px 6px 0;
			padding: 0;
			background-color: #255383;
			}
		.gallery-thumbnails ul#SI_galleryThumbs li.alt{ margin-right: 0; }
		.gallery-thumbnails ul#SI_galleryThumbs li.active{
			border: 2px solid #afcbd9;
			}
			.gallery-thumbnails ul#SI_galleryThumbs li a{ 
				display: block;
				overflow: hidden;
				position: relative;
				width: 100px;
				height: 69px;
				}
			.gallery-thumbnails ul#SI_galleryThumbs li.active a{}
			.gallery-thumbnails ul#SI_galleryThumbs li a.file{
				background-position: 0 0;
				padding: 0 !important;
				text-indent: -9999px;
				}
				.gallery-thumbnails ul#SI_galleryThumbs li a img{ 
					display: block; 
					position: relative; 
					margin: 0;
					border: 0;
					}
					.gallery-thumbnails ul#SI_galleryThumbs li.thumb a.aud,
					.gallery-thumbnails ul#SI_galleryThumbs li.thumb a.mp3 { background: url(/images/common/audiothumb_sm.gif) 50% 50% no-repeat !important; }
					.gallery-thumbnails ul#SI_galleryThumbs li.thumb a.flv{ background: url(/images/common/videothumb_sm.gif) 50% 50% no-repeat !important; }

/* 
-----------------------------------------------------------------------------
 =Teaser-Gallery
----------------------------------------------------------------------------- */
.gallery-teaser { padding: 0; margin: 0; }
.gallery-teaser a.image { }
.gallery-teaser a img { 
border: 0;
margin: 0 0 16px 3px;
}
.gallery-teaser h2 { 
	display: inline-block;
	background: #255383 url(/images/common/teaser-h2.gif) top right no-repeat !important;
	padding: 6px 19px 0px 12px !important;
	margin: 0 0 0 -12px !important;
	color: #fff;
	font-size: 1.4em;
	height: 20px;
	}
.gallery-teaser dl.image { 
	padding: 10px 0 0 0;
	background: url(/images/common/teaser-dl.gif) 0 0 no-repeat; 
	width: 241px;
	margin: 0 0 -15px -12px;
	}
.gallery-teaser dd,
.gallery-teaser dd h3 { padding: 0 10px; color: #fff; }
.gallery-teaser dd { padding-bottom: 44px !important; background: url(/images/common/teaser-bot.gif) bottom right no-repeat; }

	.gallery-teaser h3 { font-size: 12px; }
	.gallery-teaser h4 { }
	.gallery-teaser p { 
		margin: 0; 
		padding: 0 10px; 
		color: #fff;
		}
	.gallery-teaser a.more {}
	.gallery-teaser a.edit {}

	.gallery-teaser .gallery-select { 
		width: 140px !important; 
		margin: -20px 0 0 -5px;
		}
	.gallery-teaser #select-gallery { 
		width: 140px !important; 
		position: relative;
		top: -52px;
		left: -5px;
		}
.gallery-teaser p a.button { 
	position: relative;
	left: 145px;
	top: -20px;
	background: none; 
	border: 0;
	font-size: .9em;
	} 
.gallery-teaser p a.button:hover { 
	text-decoration: none !important;
	color: #afcbd9 !important;
	} 
.gallery-teaser p.no-content { margin-top: 10px; margin-left: -10px; color: #333333; }

.gallery-teaser.right { margin-left: 20px; }
	
/* 
-----------------------------------------------------------------------------
 =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,
	.gallery-attachment h2 { margin-left: -5px; }
		.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 {}
		.gallery-attachment dl.image-list dd h3.gallery-title {}
		.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 {
			font-size: 1.1em;
			}
		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 0 1em 0;
			}
			dl.file-list ul li {
				background: none;
				padding-left: 0;
				}
				dl.file-list ul li a {
					}
				dl.file-list ul li p {
					}
	.gallery-file a.edit {}
	
	.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{}


/* 
-----------------------------------------------------------------------------
/* 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 {	}



/* Expanded View */
.full-album .gallery-thumblist .gallery { width: 296px; background: url(/images/gallery/media-border.gif) repeat-x left top; float: left; margin: 0 20px 3px 0; padding-top: 4px; clear: left; }
.full-album .gallery-thumblist .top { background-image: none; }
.full-album .gallery-thumblist .alt { margin-right: 0; clear: none; }
	.full-album .gallery .picturebox { border: 1px solid #C7C7C7; padding: 2px; background-color: #FFF; float: left; margin: 0; }
		.full-album .gallery .picturebox a { display: block; width: 100px; height: 67px; position: relative; overflow: hidden; padding: 0!important; background: #FFF; }
			.full-album .gallery .picturebox a img { display: block; position: relative; }
			.full-album .gallery .picturebox a.file { background: url(/images/gallery/file-file.gif) no-repeat 50% 50%; height: 64px; width: 100px; padding: 2px; text-decoration: none!important; }
	.full-album .gallery p { margin: 0 0 10px 110px; font-size: 10px; }
		.full-album .gallery p a { display: block; font-size: 12px; }

	
/* 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 {
	}

