div.content-slid {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	/*display: none;
	float: right;
	width: 550px; */
	  display: none;
    float: right;
    margin: 20px 0 0;
    width: 49%;
}
div.content-slid a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content-slid a:focus, div.content-slid a:hover, div.content-slid a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
}
div.controls a {
 background: #464646 none repeat scroll 0 0;
    border: 1px solid #000;
    color: #fff;
    display: inline-block;
    font-size: 22px;
    height: 30px;
    line-height: 25px;
    margin: 0 5px;
    overflow: hidden;
    padding: 0;
    width: 30px;
    transition: 0.5s;
}
div.controls a.next{
	  letter-spacing: 3px;
    text-indent: -148px;
  
}
div.controls a:hover, div.controls a:focus, div.controls a:active{
	text-decoration: none;
	background: #fff;
	color: #666;
	  border-color: #999;
	  outline: none;
}
div.ss-controls {
	float: left;
	display: none;
}
div.nav-controls {
	float: none;
    text-align: center;
    width: 100%;
}
div.slideshow-container {
	/*position: relative;
	clear: both;
	height: 366px;*/ /* This should be set to be at least the height of the largest image in the slideshow */
	 clear: both;
    display: block;
    height: 366px;
    margin: 0 auto;
    position: relative;
    width: 473px;
}
div.loader {
	position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {

}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
div.slideshow a.advance-link {
	/*display: block;
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow 
	line-height: 502px; /* This should be set to be at least the height of the largest image in the slideshow 
	text-align: center;*/
	
	 display: block;
    height: 284px;
    line-height: 253px;
    margin: 0 auto;
    text-align: center;
    width: 440px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	 /*border: 1px solid #ccc;*/
    max-width: 99%;
    vertical-align: middle;
}
/*-----------------*/
#slideshow{
	height: 237px;
    margin-bottom: 120px;
    padding: 0 10px;
    position: relative;
    
  -webkit-box-reflect: below 0px -webkit-linear-gradient(bottom, rgba(255, 255, 255, 0.3) 0%, transparent 40%, transparent 100%);
}

#slideshow:before{
	 background: -moz-linear-gradient(center top, #FFFFFF, #FFFFFF 30%, rgba(255, 255, 255, 0.8) 65%, rgba(255, 255, 255, 0.7)) repeat scroll 0 0 padding-box, 
	 -moz-element(#slideshow) no-repeat scroll 0 -127px content-box rgba(0, 0, 0, 0);
	  content: "";
	  height: 140px;
	  left: 0;
	  padding: 1px 0;
	  position: absolute;
	  top: 204px;
	  transform: scaleY(-1);
	  width: 100%;
}
/*------------------*/

div.download {
	float: right;
}
div.caption-container {
	 display: block;
    position: relative;
    top: -15px;
    width: 100%;
}
span.image-caption {
	display: block;
	position: absolute;
}
div.caption {
	background-color: #000;
	color: #777;
    float: right;
    padding: 0;
    width: 89%;
}
div.caption a {
	color: #fff;
}
div.image-title {
	/*font-weight: bold;
	font-size: 1.4em;*/
	 font-size: 14px;
    font-weight: normal;
    left: 4px;
    position: relative;
    top: 39px;
    width: 500px;

}

div.image-desc {
	  height: 119px;
    left: 59px;
    line-height: 1.3em;
    overflow: hidden;
    padding-top:10px;
    position: absolute;
    top: 333px;
    width: 436px;
    z-index: 999;
}
div.navigation {
	    margin: 20px 0 0; /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
	   overflow: hidden;
	   width: 51%;
}
/*ul.thumbs {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: none;
	padding: 0;
	margin: 0;
	list-style: none;
}
a.thumb {
	padding: 0;
	display: inline;
	border: none;
}
ul.thumbs li.selected a.thumb {
	color: #000;
	font-weight: bold;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}*/
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	/*margin-top: 12px;*/
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	 border: 1px solid #ccc;
    display: inline-block;
    float: none;
    margin-right: 5px;
    padding: 0 7px;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
#captionToggle a {
	float: right;
	display: block;
	background-image: url('caption.png');
	background-repeat: no-repeat;
	background-position: right;
	margin-top: 5px;
	padding: 5px 30px 5px 5px;
}


/*-------------------*/
ul.thumbs {
    clear: both;
    margin: 0;
    padding: 0;
}
ul.thumbs li {
 float: left;
    list-style: outside none none;
    margin: 0 24px 0 0;
    opacity: 1;
    padding: 0;
    width: 30%;
    min-height: 115px;
}
ul.thumbs li:nth-child(3n+3){
	margin-right: 0;
}
ul.thumbs li a > span{
	background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0;
    border: 1px solid transparent;
    box-shadow: 0 0 0 2px transparent inset;
    display: inline-block;
    height: 90px;
    left: 0;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    width: 50%;
	transition: 0.5s;
}
ul.thumbs li a > span:nth-child(2){
	right: 0;
	left: auto;
}
ul.thumbs li a:hover span, ul.thumbs li.selected a.thumb span{
	display: inline-block;
	opacity: 1;
	visibility: visible;
	 border: 1px solid #000;
	box-shadow: 0 0 0 2px #fff inset;
}
a.thumb {
    /*border: 1px solid #ccc;*/
    display: block;
    padding: 0px;
    text-align: center;
    position: relative;
    
}
a.thumb label{
	font-weight: normal;
    margin: 0 0 1px;
}
ul.thumbs li.selected a.thumb {
    /*background: #000 none repeat scroll 0 0;*/
}
ul.thumbs li a, a.thumb:focus {
    outline: 0 none;
}
ul.thumbs img {
    border: medium none;
    display: block;
    max-width: 100%;
}

div.caption {
	 background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #666;
    padding: 0;
}
div.image-title {
	 font-size: 14px;
    font-weight: normal;
}
div.image-desc {
	/*left: 59px;
    line-height: 1.3em;
    padding-top: 12px;
    position: absolute;
    top: 391px;
    width: 436px;*/
    /*height: 85px;*/
	height: auto;
    left: 59px;
    line-height: 1.3em;
    overflow: hidden;
    padding-top: 10px;
    position: absolute;
    top: 364px;
    width: 436px;
	font-size:12px;
}
div.navigation {
	/* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}

.content-slid h1{
	  float: right;
    margin: 0 0 18px !important;
    width: 90%;
}
.shadoww{
	height: 10px;
    opacity: 0.18;
    width: 100%;
}
.after-before{
	    background: #eee none repeat scroll 0 0;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 80%;
}
.after-before label{
	 color: #333;
    float: left;
    font-family: sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 47%;
}
.top.pagination{
	display: none;
	
}

.pagination {
    border-radius: 4px;
    display: inline-block;
    margin: 0;
    padding-left: 0;
    width: 100%;
    text-align: center;
}

/*----------------------*/
.lower-nav{
	 text-align: center;
	 margin: 8px 0 0;
}
.lower-nav li{
	 display: inline-block;
    margin: 0 0;
}
/*---------------------------------*/
.Armpit{
	display: none;
}
.Armpit .uppre.back {
    left: 70%;
    position: absolute;
    top: 77px;
}
@media only screen and (max-width: 767px) {
/*div.image-title {
	position:absolute;
	top:0px;
	display:none !important;
}
div.image-desc, .caption{
	display:none !important;
}*/
span.image-caption {
	position:absolute !important;
	
	/*display:none !important;*/
}
#gallery div.image-desc {
	top:322px !important;
}
}