/* gallery*1005*css*2j.gallery.base2jbrs2gallery*1005*css*2j.gallery.style-12jbrs2gallery*1005*css*2j.lb62jbrs2gallery*1005*css*2j.pagination */
.twoj_gallery_class_ul, .twoj_gallery_class_wrapper{
	position: relative;
	margin: 0;
	padding: 0;
}
.twoj_gallery_loadimage{
	background: transparent url('/components/com_twojtoolbox/plugins/gallery/1005/css/images/loader.gif') no-repeat center;
	width: 160px;
	height: 20px;
	margin: 0 auto;
	margin-bottom: -20px;
}
.twoj_hidden{ display: none; }
.twojtoolbox_clear{ clear: both;}
.twoj_gallery_class_ul .twoj_gallery_class_li{
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
	background-color: transparent;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
	-webkit-transform-style: preserve-3d;
}
.twoj_gallery_class_ul .twoj_gallery_class_li > a{
	/*float: left;*/
	display: block;
   overflow: hidden;
   position: relative;
   text-align: center;
}
.twoj_gallery_class_ul .twoj_gallery_class_li > a > .twoj_gallery_hover{
	display: block;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.twoj_gallery_class_ul .twoj_gallery_class_li > a > img {
   display: block;
   position: relative;
   -webkit-backface-visibility: hidden;
	-moz-backface-visibility:    hidden;
	-ms-backface-visibility:     hidden;
	-webkit-transform-style: preserve-3d;
}
.twoj_gallery_class_ul .twoj_gallery_hover .twoj_gallery_hover_info_title,
.twoj_gallery_class_ul .twoj_gallery_hover .twoj_gallery_hover_info_desc{
	display: block;
	position: relative;
}
.twoj_gallery_class_ul .twoj_gallery_hover .twoj_gallery_hover_info_text{
	display: inline-block;
}
.twoj_gallery_class_ul .twoj_gallery_class_li > a{}
.twoj_gallery_class_ul .twoj_gallery_class_li:hover{}
.twoj_gallery_class_ul .twoj_gallery_class_li a,
.twoj_gallery_class_ul .twoj_gallery_class_li a:link,
.twoj_gallery_class_ul .twoj_gallery_class_li a:hover,
.twoj_gallery_class_ul .twoj_gallery_class_li a:visited{
	background-color: transparent;
	text-decoration: none;
}

.twoj_gallery_class_ul .twoj_gallery_class_li .twoj_gallery_div_title {
   color: #000;
   text-align: center;
   vertical-align: middle;
   font-size: 17px;
   padding: 8px 0;
   margin: 0 auto;
   cursor: pointer;
   overflow: hidden;
   white-space: nowrap;
}.twoj_gallery_lb6_Overlay{
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	opacity:0;
	z-index:100000;
	background-color:#222;
	background-color:rgba(0,0,0,0.8);
	overflow:hidden;
	display:none;
	-moz-transition:opacity 1s ease;
	-webkit-transition:opacity 1s ease;
	transition:opacity 1s ease;
}
.twoj_gallery_lb6_Overlay.visible{ opacity:1; }

.twoj_gallery_lb6_Slider{
	height:100%;
	left:0;
	top:0;
	width:100%;
	white-space: nowrap;
	position:absolute;
	-moz-transition:left 0.4s ease;
	-webkit-transition:left 0.4s ease;
	transition:left 0.4s ease;
}

.twoj_gallery_lb6_Slider .twoj_gallery_lb6_placeholder{
	background: url('/components/com_twojtoolbox/plugins/gallery/1005/css/images/lb6/preloader.gif') no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width:100%;
	display:inline-block;
}

.twoj_gallery_lb6_Slider .twoj_gallery_lb6_placeholder:before{
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right:-1px;
}

.twoj_gallery_lb6_Slider .twoj_gallery_lb6_placeholder img{
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

.twoj_gallery_lb6_Slider.twoj_gallery_lb6_rightSpring{ -moz-animation: rightSpring 0.3s; -webkit-animation: rightSpring 0.3s;}
.twoj_gallery_lb6_Slider.twoj_gallery_lb6_leftSpring{ -moz-animation: leftSpring 0.3s; -webkit-animation: leftSpring 0.3s;}

@-moz-keyframes twoj_gallery_lb6_rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}

@-moz-keyframes twoj_gallery_lb6_leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

@-webkit-keyframes twoj_gallery_lb6_rightSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:-30px;}
	100%{	margin-left:0px;}
}
@-webkit-keyframes twoj_gallery_lb6_leftSpring{
	0%{		margin-left:0px;}
	50%{	margin-left:30px;}
	100%{	margin-left:0px;}
}

.twoj_gallery_lb6_prevArrow,
.twoj_gallery_lb6_nextArrow{
	border:none;
	text-decoration:none;
	background:url('/components/com_twojtoolbox/plugins/gallery/1005/css/images/lb6/arrows.png') no-repeat;
	opacity:0.5;
	cursor:pointer;
	position:absolute;
	width:43px;
	height:58px;
	top:50%;
	margin-top:-29px;
	-moz-transition:opacity 0.2s ease;
	-webkit-transition:opacity 0.2s ease;
	transition:opacity 0.2s ease;
}

.twoj_gallery_lb6_prevArrow:hover, 
.twoj_gallery_lb6_nextArrow:hover{ opacity:1; }
.twoj_gallery_lb6_prevArrow{ background-position:left top; left:40px;}
.twoj_gallery_lb6_nextArrow{ background-position:right top; right:40px;}
.twoj_gallery_pagination_block{
	display: inline-block;
	*display: inline;
	*zoom: 1;
	text-align: center;
	display: block;
	overflow: hidden;
	padding: 5px 5px 5px 0;
}
.twoj_gallery_page_link,
.twoj_gallery_page_current,
.twoj_gallery_page_ellipse{
	display: inline-block;
	*display: inline;
	*zoom: 1;
	min-width: 16px;
	line-height:24px;
	font-size:14px;
	font-weight: normal;
	text-align: center;
}
.twoj_gallery_page_current{
	cursor: default;
}
.twoj_gallery_page_prev i,
.twoj_gallery_page_next i{
	
}
.twoj_gallery_page_link{}
.twoj_gallery_page_ellipse{ 
	padding: 0 7px;
	margin: 2px 5px 3px 0;
	cursor: default;
	background: none;
	border: none;
	border-radius: 0;
	box-shadow: none;
	font-weight: bold;
}
/*---------- Joomla Admin Theme Styles-----------*/
.twoj_gallery_pages_jadmin {
	
}
.twoj_gallery_pages_jadmin .twoj_gallery_page_link, 
.twoj_gallery_pages_jadmin .twoj_gallery_page_current,
 .twoj_gallery_pages_jadmin .twoj_gallery_page_ellipse{
	padding: 5px 14px;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid #ddd;
	border-left-width: 0;
	margin: 1px 0;
}
.twoj_gallery_pages_jadmin .twoj_gallery_page_link:hover {
	background-color: #f5f5f5;
}
.twoj_gallery_pages_jadmin .twoj_gallery_page_current {
	color: #999;
	cursor: default;
}
.twoj_gallery_pages_jadmin .twoj_gallery_page_ellipse {
	color: #999;
	background-color: transparent;
	cursor: default;
}

.twoj_gallery_pages_jadmin .twoj_gallery_page_link:first-child,
.twoj_gallery_pages_jadmin .twoj_gallery_page_current:first-child{
	border-left-width: 1px;
	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
}
.twoj_gallery_pages_jadmin .twoj_gallery_page_link:last-child,
.twoj_gallery_pages_jadmin .twoj_gallery_page_current:last-child{
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
}

/*----------Light Theme Styles-----------*/
.twoj_gallery_pages_light {}
.twoj_gallery_pages_light .twoj_gallery_page_link, 
.twoj_gallery_pages_light .twoj_gallery_page_current {
	color: #666;
	border: 1px solid #BBB;
	padding: 0 7px;
	margin: 2px 5px 3px 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}
.twoj_gallery_pages_light .twoj_gallery_page_link:hover {
	text-decoration: none;
	background: #FCFCFC;
}
.twoj_gallery_pages_light .twoj_gallery_page_current {
	background: #666;
	color: #FFF;
	border-color: #444;
	box-shadow: 0 1px 0 rgba(255,255,255,1), 0 0 2px rgba(0, 0, 0, 0.3) inset;
}
.twoj_gallery_pages_light .twoj_gallery_page_ellipse {}
/*------------------------------------*\
	Compact Theme Styles
\*------------------------------------*/

.twoj_gallery_pages_compact {}

.twoj_gallery_pages_compact .twoj_gallery_page_link, 
.twoj_gallery_pages_compact .twoj_gallery_page_current{
	color: #333;
	border: 1px solid #AAA;
	border-right: none;
	min-width: 14px;
	padding: 0 7px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #ffffff 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #ffffff 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #ffffff 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #ffffff 0%,#efefef 100%); /* W3C */
}

.twoj_gallery_pages_compact .twoj_gallery_page_link:hover {
	text-decoration: none;
	background: #efefef; /* Old browsers */
	background: -moz-linear-gradient(top, #efefef 0%, #bbbbbb 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#efefef), color-stop(100%,#bbbbbb)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* IE10+ */
	background: linear-gradient(top, #efefef 0%,#bbbbbb 100%); /* W3C */
}

.twoj_gallery_pages_compact .twoj_gallery_page_prev {
	border-radius: 3px 0 0 3px;
}

.twoj_gallery_pages_compact .twoj_gallery_page_next {
	border-right: 1px solid #AAA;
	border-radius: 0 3px 3px 0;
}

.twoj_gallery_pages_compact .twoj_gallery_page_current {
	background: #bbbbbb; /* Old browsers */
	background: -moz-linear-gradient(top, #bbbbbb 0%, #efefef 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#bbbbbb), color-stop(100%,#efefef)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* IE10+ */
	background: linear-gradient(top, #bbbbbb 0%,#efefef 100%); /* W3C */
}

.twoj_gallery_pages_compact .twoj_gallery_page_ellipse {
	background: #EAEAEA;
	color: #333;
	border: 1px solid #AAA;
	border-right: none;
	padding: 0 10px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	margin-right: 0;
	font-weight: normal;
}

/*------------------------------------*\
	Dark Theme Styles
\*------------------------------------*/

.twoj_gallery_pages_dark {}

.twoj_gallery_pages_dark .twoj_gallery_page_link, 
.twoj_gallery_pages_dark .twoj_gallery_page_current {
	color: #CCC;
	border: 1px solid #222;
	min-width: 14px;
	padding: 0 7px;
	margin: 0 5px 0 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background: #555; /* Old browsers */
	background: -moz-linear-gradient(top, #555 0%, #333 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#333)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #555 0%,#333 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #555 0%,#333 100%); /* Opera11.10+ */
	background: -ms-linear-gradient(top, #555 0%,#333 100%); /* IE10+ */
	background: linear-gradient(top, #555 0%,#333 100%); /* W3C */
}

.twoj_gallery_pages_dark .twoj_gallery_page_link:hover {
	text-decoration: none;
	background: #444;
}

.twoj_gallery_pages_dark .twoj_gallery_page_current {
	background: #222;
	color: #FFF;
	border-color: #000;
	box-shadow: 0 1px 0 rgba(255,255,255,0.2), 0 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

.twoj_gallery_pages_dark .twoj_gallery_page_ellipse {}
