#home_gallery,
#home_flash {
	width: 924px !important;
	height: 421px !important;
}

#sub_gallery {
	width: 545px !important;
	height: 421px !important;
}

#home_gallery,
#sub_gallery {
  position:relative;
  background:url(images/loading.gif) no-repeat 50% 50%; 
}

#home_gallery img,
#sub_gallery img {
  position:absolute;
  top:0px;
  left:0px;
  display:none;
}

#home_gallery .nivo-controlNav img,
#sub_gallery .nivo-controlNav img {
  display:inline;
  position:relative;
  border: 3px solid #fff;
}

#home_gallery .nivo-controlNav {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: #fff !important;
  z-index: 9999;
  padding: 0 0 0 3px;
}

#sub_gallery .nivo-controlNav {
  position: absolute;
  top: 221px;
  right: -210px;
  background: #fff !important;
  z-index: 9999;
  padding: 0 0 0 3px;
  width: 200px;
}

.nivo-controlNav a {
  background: #fff;
  display: inline-block;
    padding: 5px 2px;
}

.nivo-controlNav a.active {
}

.nivo-controlNav a.active img {
  border: 3px solid #333 !important;
}

.nivo-caption {
  background: #fff !important;
  text-align: right;
  color: #666 !important;
  font-family: "Avenir", arial, helvetica, sans-serif;
  font-weight: bold;
}

.galleryControls {
  float: right;
  margin-right: 2px;
}

#gallery_details {
  position: absolute;
  top: 0px;
  left: 565px;
}

#gallery_details h2 {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 10px;
}

#gallery_details div.desc {
  display: none;
  padding: 20px;
  position: absolute;
  z-index: 9999;
  left: -565px;
  top: 0;
  background: #fff;
  opacity: .9;
  width: 505px;
}

a.closeDialog:link,
a.closeDialog:visited {
  color: #fff;
  background: #ccc;
  float: right;
  text-decoration: none;
  text-transform: uppercase;
  padding: 1px 3px;
  position: absolute;
  right: 10px;
  top: 7px;
}


#project_flash {
  position: relative;
}

/*
 * jQuery Nivo Slider v1.9
 * http://nivo.dev7studios.com
 *
 * Copyright 2010, Gilbert Pellegrom
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 * 
 * March 2010
 */
 
 
/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:60;
	display:none;
}
/* The slices in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:50;
	height:100%;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
  bottom: -16px;
  right: 18px;
	background:#000;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:300;
	z-index:89;
  text-transform: uppercase;
}
.nivo-caption p {
	padding: 0 5px 0 11px;
	margin:0;
  background: url("/img/icon_gallery.gif") no-repeat left;
  display: inline !important;
  font-size: .9em;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:99;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:99;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}