/* Gallery module dynamic */
.galleryMod  { margin-top: 0px; padding: 0px; border:0; display:table; height:auto; clear:both; margin:0 auto; max-width: 500px; width:500px }
.galleryMod li, .galleryMod2 li, .cSGallery li { list-style-type:none}
.csSlideOuter {margin-bottom: 100px; background: #1D1C1B;border: 10px solid #1D1C1B;}


/* Gallery module simple */
.galleryModSimple  { margin-top: 0px; padding: 0px; border:0; display:table; height:auto; clear:both; margin:0 auto; text-align:center; width:100%;  }
.galleryModSimple li, .galleryModSimple2 li { 
	list-style-type:none; cursor:pointer;
	margin-bottom:20px !important; margin-right:10px; width:auto; margin-left:0;
	font-weight:bold; list-style-type:none; color: #0070b8; vertical-align: middle; display:inline; font-size:14px; text-transform:uppercase;
	 background-position: center; background-size: cover; background-repeat:no-repeat; float:left;

display:inline-block;
}
.galleryModSimple img { 
}

.thumbSize83 { width: 83px; height:61px }
.thumbSize150 { width: 150px; height:111px }
.thumbSize250 { width: 200px; height:147px }
.thumbSize750 { width: 250px; height:188px/*width: 750px; height:564px*/ }


#thumbBox{ /*Outermost DIV for thumbnail viewer*/
	position: absolute;/**/
	left: 0;
	top: 0;
	width: 748px;
	/*padding: 10px;*/
	padding-bottom: 0;
	/*background: #FFFFFF;*/
	visibility: hidden;
	z-index: 500;
	cursor: hand;
	cursor: pointer;
	margin:0 auto;
}

#thumbBox .footerbar{ /*Footer DIV of thumbbox that contains "close" link */
	font: bold 16px Tahoma;
	letter-spacing: 5px;
	line-height: 1.1em;
	color: black;
	padding: 5px 0;
	text-align: right;
}


#thumbBox #thumbImage{ /*DIV within thumbbox that holds the enlarged image */
z-index:999;
margin:0 auto;
text-align:center;
}

#thumbBox #thumbImage img { 
	/*border:2px solid #fff;
	-moz-box-shadow: 3px 3px 8px #999;*/
	/*IE 
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=180,strength=5)
			progid:DXImageTransform.Microsoft.Shadow(color=#999999,direction=90,strength=5);
z-index:999;*/
}
#thumbLoading{ /*DIV for showing "loading" status while thumbbox is being generated
	*/position: absolute;
	visibility: hidden;
}
/* END Gallery module */


/* diashow 
.rslides_container {
margin-bottom: 50px;
position: relative;
float: left;
width: 100%;
}
.rslides {
	margin-left:0 !important;
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 0;
	
	height:650px;
	min-height: 350px;
	-webkit-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 10px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 10px 0px rgba(50, 50, 50, 0.75);
}

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  background-size:cover; 
  background-position:center;
  background-repeat:no-repeat;
  height:650px;  
}

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  min-width:100%;
  min-height:100%;
  border: 0;
 display:none;
}
*/
.rslides_container { position:relative; }
.downloadImgBtn { position:absolute; top:1%; right:1%; color:#FFFFFF; /*text-shadow: 0px 0px 40px rgba(0, 0, 0, 1);*/ }
.caption { 
font-size:3em; position:absolute; color:#FFFFFF; text-transform:uppercase; text-shadow: 0px 0px 40px rgba(0, 0, 0, 1); 
width:31%; bottom:5%; 
text-align:right;
}
.caption .actionButton { font-size:0.5em; }
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 !important;
  /*
  	-webkit-box-shadow: 0px 5px 10px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 5px 10px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 5px 10px 0px rgba(50, 50, 50, 0.75);
	*/
  
  }

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  list-style-type: none;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }

.centered-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("../lay_pics/themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.centered-btns_nav:active {
  opacity: 1.0;
  }

.centered-btns_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
.centered-btns_nav:focus,
.transparent-btns_nav:focus,
.large-btns_nav:focus {
  outline: none;
  }

.centered-btns_tabs,
.transparent-btns_tabs,
.large-btns_tabs {
  margin-top: 10px;
  text-align: center;
  }

.centered-btns_tabs li,
.transparent-btns_tabs li,
.large-btns_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.centered-btns_tabs a,
.transparent-btns_tabs a,
.large-btns_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.centered-btns_here a,
.transparent-btns_here a,
.large-btns_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }