/* imagegallery.css
   
*/

#imagegallery {
	position: absolute;
	top: 50%;
	left: 50%;
	height: 150px;
	width: 150px;
	margin: -75px 0 0 -75px;
	padding: 0;
	text-align: left;
}

/* The main container */
.ig_Container {
	position: relative;
	width: 100%;
	height: 100%;
	background: none;
	padding: 0;
	margin: 0;
}

.ig_Button {
	cursor: pointer;
	text-decoration: none;
	border: none;
	background: none;
	margin: 0;
	padding: 0;
}

/* The buttons on the side when you view a gallery */
.ig_Sides {
	position: absolute;
	top: 50%;
	left: 0;
	clear: both;
	width: 100%;
	padding: 0;
	margin: 0;
}
.ig_Sides * { padding: 0; margin: 0; }
.ig_Sides li {
	list-style-type: none;
	position: relative;
}

.ig_PrevSide { float: left; }
.ig_NextSide { float: right; }
.ig_Sides .ig_Wrapper {
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.ig_Sides .ig_Button {
	float: left;
	background: none;
}

/* The frames above and below the center, that hold the corners.
   It's recommended not to change anything here, a lot is done in
   javascript to build further upon this based on your settings.
*/
.ig_Frames {
	width: 100%;
	height: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}
.ig_Frames li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.ig_Frame {
	width: 100%;
	display: block;
}
.ig_Frame * { padding: 0; margin: 0; }
.ig_FrameTop {
	position: absolute;
	left: 0;
	width: 100%;
	display: block;
}
.ig_FrameBottom {
	position: relative;
	float: left;
	clear: both;
}

.ig_Liquid {
	position: relative;
	float: left;
	width: 100%;
	overflow: hidden;
	clear: both;
}
.ig_Liquid .ig_Filler {
	position: absolute;
	height: 100%;
	width: 2px;
	top: 0;
	left: 50%;
}

.ig_Half {
	display: block;
	height: 100%;
	clear: both;
	line-height: 0px;
}
.ig_Half li { list-style-type: none; }
.ig_Corner {
	float: left;
	position: relative;
}
.ig_CornerTr, .ig_CornerBr { float: right; }

.ig_Fill {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.ig_Half .ig_CornerWrapper {
	float: left;
	position: relative;
	width: 50%;
	height: 100%;
	overflow: hidden;
}
.ig_HalfRight .ig_CornerWrapper { float: right; }

.ig_Corner { position: relative; }
.ig_Corner canvas { position: relative; }
.ig_HalfLeft .ig_Corner { float: left; }
.ig_HalfRight .ig_Corner {
	position: relative;
	float: right;
}

/* To position content correctly in the center with correct
   rounded corner display we need a few wrappers.
   This is to get it right on all browsers.
*/
.ig_Center {
	position: relative;
	clear: both;
	height: 100%;
	overflow: hidden;
	background: none;
	padding: 0;
	margin: 0;
}
.ig_WrapUp {
	position: absolute;
	left: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.ig_WrapDown {
	position: relative;
	height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.ig_WrapCenter {
	position: relative;
	padding: 0;
	margin: 0;
}

/* The loading indicator */
.ig_Loading {
	position: absolute;
	top: 50%;
	left: 50%;
}
.ig_Loading .ig_Button {
	float: left;
	height: 100%;
	width: 100%;
}

.ig_MediaWrapper {
	position: relative;
	width: 100%;
	display: block;
	overflow: hidden;
	clear: both;
	padding: 0;
	margin: 0;
}
.ig_MediaWrapper img {
	position: relative;
	float: left;
	padding: 0;
	margin: 0;
}

/* The overlays on top of images that toggle the previous/next buttons */
.ig_PrevNext {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}
.ig_PrevNext * { padding: 0; margin: 0; }
.ig_PrevNext .ig_Button {
	position: relative;
	height: 100%;
}
.ig_PrevButton { float: left; }
.ig_NextButton { float: right; }

/* The bar that holds title, caption, imagenumber, slideshow and closebutton */
.ig_MenuBar {
	clear: both;
	position: relative;
	width: 100%;
	font-family:tahoma, arial;
	color: #000000;
	padding: 0;
	margin: 0;
	text-align: left;
}
.ig_MenuBar * { padding: 0; margin: 0;}


.ig_Close {
    position: relative;
	float: right;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

.ig_Data {
	position: relative;
	float: left;
	padding-bottom: 3px;
	line-height: 13px;
	overflow: hidden;
}

/* simulates padding-left inside .ig_Data 
.ig_DataText div, .ig_ImgNumber div { margin-left: 3px; } */

.ig_Data li {
	list-style-type: none;
	float: left;
	margin-top: 3px;
}
.ig_DataText { width: 100%; }
.ig_DataText .ig_Title {
	margin-bottom: 2px;
}
.ig_DataText .ig_Caption { clear: both; }
.ig_Data .ig_innerPrevNext .ig_ImgNumber {
	color: #a7a7a7;
	float: left;
}

.ig_Data .ig_innerPrevNext, 
.ig_Data .ig_Slideshow {
	position: relative;
	padding: 0 5px;
	margin-top: 5px;
	vertical-align: middle;
}
.ig_Data .ig_innerPrevNext { padding-left: 0; }
.ig_Data .ig_Slideshow { padding-right: 0px; border-left: 0px solid #d7d7d7; }

.ig_Data .ig_innerPrevNext .ig_Button, 
.ig_Data .ig_Slideshow .ig_Button { /* play and stop */
	float: left;
	background-position: center left;
	background-repeat: no-repeat;
}
.ig_innerPrevButton { margin-right: 5px; }
.ig_innerNextButton { margin-left: 5px; }


/* the boxes that hold media or external content */
.ig_contentTop,
.ig_contentBottom {
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	clear: both;
}

#imagegallery iframe {
	float: left;
	border: 0;
	clear: both;
	padding: 0;
	margin: 0;
	background: none;
}

/* The container that hold buttons above the view, currently only topclose */
.ig_topButtons {
	position: absolute;
	left: 0;
	width: 100%;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.ig_topcloseButtonImage { cursor: pointer; }


/* The error/warning/download message that will appear when
   a required plugin is not installed.
*/
#imagegalleryError p { padding: 0 0 10px 0; }
#imagegalleryError div {
	padding: 6px;
	font-family:tahoma, arial;
}
#imagegalleryError .message {
	background: #fcb5b5;
	color: #dd1f1f;
	margin-bottom: 3px;
}
#imagegalleryError .type { font-weight: bold; }
#imagegalleryError .pluginspage {
	background: #b5fcbd;
	color: #21be30;
}
#imagegalleryError a,
#imagegalleryError a:hover,
#imagegalleryError a:visited {
	color: #21be30;
	text-decoration: none;
	background: none;
	font-weight: bold;
	border-bottom: 1px solid #7de689;
}
#imagegalleryError p {
	margin-left: 0;
	padding: 0;
}

#ig_overlay {
  position: absolute; /* Opera will use fixed */
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* navbar
   Adds a bar below the view that takes over the default Controller
*/
#imagegalleryController {
	position: fixed;
	bottom: 0;
	top: 0;
	left: 50%;
	margin: 0;
	padding: 0;
	color: #ffffff;
	font-family:tahoma, arial;
}
* html body #imagegalleryController { /* IE6 */
	position: absolute;
	top: auto;
	margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) + (Imagegallery.controllerOffset || 0)) + 'px');	
}
#imagegalleryController ul {
	display: block;
	height: 100%;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}
.ig_controllerTop, .ig_controllerMiddle, .ig_controllerBottom {
	list-style-type: none;
	float: left;
	display: block;
	position: relative;
	clear: both;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.ig_controllerCenter  { width: auto; float: left; }
.ig_controllerCornerWrapper {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.ig_controllerCornerWrapperTopLeft,
.ig_controllerCornerWrapperBottomLeft { top: 0; left: -100%;}
.ig_controllerCornerWrapperTopRight,
.ig_controllerCornerWrapperBottomRight { top: 0; left: 100%;}

#imagegalleryController .ig_CornerWrapper {
	width: 100%;
}
#imagegalleryController .ig_Corner { float: left; }
#imagegalleryController .ig_Corner {
	float: right;
	position: relative;
}
#imagegalleryController .ig_CornerTr, #imagegalleryController .ig_CornerBr { float: left; }
.ig_controllerBetweenCorners {
	position: relative;
	height: 100%;
	overflow: hidden;
}

.ig_controllerMiddle {
	position: relative;
	height: 100%;
	float: left;
}
.ig_controllerCenter { float: left; width: auto;}
.ig_controllerCenter li {
	list-style-type: none;
	float: left;
	display: inline;
	position: relative;
	clear: none;
}
.ig_controllerSetNumber {
	float: left;
	text-align: center;
}

#imagegalleryController .ig_Button {
	float: left;
	position: relative;
	height: 100%;
	clear: none;
}
.ig_controllerSetNumber {
	position: relative;
	height: 100%;
	padding-right: 3px;
}
.ig_controllerPrev, 
.ig_controllerNext, 
.ig_controllerSlideshow, 
.ig_controllerClose {
	float: left;
	position: relative;
	height: 100%;
	padding-left: 3px;
}

.ig_controllerPrev { border-left: 1px solid #3c3c3c; }
#imagegalleryController .ig_controllerNext { padding-right: 3px; border-right: 1px solid #3c3c3c; }

* html #imagegallery { /* IE6 */
	position: absolute;
	margin-top: expression( (-1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) - (Imagegallery.controllerHeight || 0)) + 'px');
	margin-left: expression( -1 * this.offsetWidth / 2 + (document.documentElement ? document.documentElement.scrollLeft : 0) + 'px');
}

/* Always cover 100% of the screen in IE6 */
html #ig_overlay {
	position: absolute;
	height: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight].max() : document.documentElement.scrollHeight) + 'px' );
	width: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollWidth, document.documentElement.scrollWidth, document.body.offsetWidth, document.documentElement.clientHeight].max() : document.documentElement.scrollWidth) + 'px' );
}