/* 
	root element for the scrollable. 
	when scrolling occurs this element stays still. 
*/
.scroll {
	/* required settings */
	position:relative;
	overflow:hidden;	 	
	height:100%;
	width:100%;
}

/* 
	root element for scrollable items. Must be absolutely positioned
	and it should have a super large width to accomodate scrollable items.
	it's enough that you set width and height for the root element and
	not for this element.
*/
.scroll .items {	
	/* this cannot be too large */
	width:20000em;	
	position:absolute;
	clear:both;
}
.scroll .itcol {
	position:relative;
	float:left;
	height:100%;
	width:204px;
	padding:0;
	margin:0 20px 0 0;
	display:block;
}
.scroll .itrow {
	position:relative;
	float:left;
	height:150px;
	width:204px;
	padding:0;
	margin:0 0 20px 0;
	display:block;
}
.scroll .itrow a{
	position:absolute;
  	top:0;
	left:0;
	width:202px;
	height:148px;
	display:block;
	z-index:8000;
	border:1px solid #4c4c4c;
}
.scroll .itrow:hover a {
	border:1px solid #999999;
}

.scroll .mpic {  
    position: absolute;  
  	top:4px;
	left:4px;
	height:142px;
	width:196px;
	background-repeat:no-repeat;
	background-position:center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	display:block;
}

.scroll .itrow .minfo {  
    position: absolute;  
  	bottom:4px;
	left:4px;
	height:30px;
	width:196px;
	line-height:30px;
	font-size:12px;
	background-color:rgba(0,0,0,0.7);
	display:block;
}

.scroll .itrow .minfo b{
	padding:0 8px;
	font-weight:300;
	color:#cccccc;
}
.scroll .itrow .minfo span{
	position:absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	overflow:hidden;
	background-image:url(../images/bg-arrow.png);
	background-repeat:no-repeat;
	display:block;
}
.scroll .itrow:hover .minfo {  
	background-color:rgba(0,0,0,0.9);
}
.scroll .itrow:hover .minfo b{
	color:#ffffff;
}
.scroll .itrow:hover .minfo span{
	background-position: -30px 0;
}

/* prev, next, prevPage and nextPage buttons */
#photocon a.prev, #photocon a.next{
	position:absolute;
	top:50px;
	width:50px; 
	height:490px; 
	background-repeat:no-repeat;
	background-position:center center;
	cursor:pointer;
	display:block;
	z-index:2000;

	-o-transition:all .2s;
	-ms-transition:all .2s;
	-moz-transition:all .2s;
	-webkit-transition:all .2s;
	transition:all .2s; 
}

#photocon a.prev:hover, #photocon a.next:hover{
	background-position:center center;
}
/* prev button uses another background image */
#photocon a.prev{
	left:0;
	background-image:url(../images/bt-left-0.png);
}
/* next button uses another background image */
#photocon  a.next{
	left:auto;
	right:0;
	background-image:url(../images/bt-right-0.png);
}
#photocon a.prev:hover{
	background-image:url(../images/bt-left-1.png);

	-o-transition:all .2s;
	-ms-transition:all .2s;
	-moz-transition:all .2s;
	-webkit-transition:all .2s;
	transition:all .2s; 
}
#photocon a.next:hover{
	background-image:url(../images/bt-right-1.png);

	-o-transition:all .2s;
	-ms-transition:all .2s;
	-moz-transition:all .2s;
	-webkit-transition:all .2s;
	transition:all .2s; 
}
#photocon a.disabled{
	visibility:hidden !important;
}