#img {
	background-color: #E4DDCB;
    position: relative;
    width: auto;
    height: 450px;
    margin-bottom: 1em;
    border: 1px solid #B6B1A0
}

#img .replaced {
	height: 450px;
	max-width: 724px;
	width: auto;
}

#gallery { 
	height: 84px; 
	margin: 0 auto;
	padding: 0px;
}

#gallery li {
    background-color: #E4DDCB;
    float: left;
    padding: 1px;
    background: transparent url(../images/ajax-loader-small.gif) 50% 50% no-repeat;
    border: 1px solid;
    border-color: #345;
    cursor: pointer;
	overflow: hidden;
	
}

.caption {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 96%;
    height: 50px;
    padding: 0 2%;
    line-height: 50px;
    color: #fff;
    background-color: #000;
}
