.picbox {	
	display: block;
	width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.picbox {
	-webkit-transition: all 0.2s ease;
  	-moz-transition: all 0.2s ease;
  	-o-transition: all 0.2s ease;
  	transition: all 0.2s ease;
}

.picbox:hover {
	transform: scale(1.05);
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}
  	
a.picbox {
	cursor: pointer;
}

.picbox-position-top {
	background-position: top center;
}

.picbox-position-bottom {
	background-position: bottom center;
}

.picbox-contain {
	background-size: contain;
}

.picbox > img {
	width: 100%;
}

#picbox-thumbs {
	background-color: transparent;
	display: none;
	position: fixed;
	height: 150px;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 20px 0;
	white-space: nowrap;
    overflow-x: scroll;
}
@media (min-width: 768px) {
	#picbox-thumbs {
		display: block;
	}
}

#picbox-thumbs .picbox-thumb {
	-webkit-transition: all 0.2s ease;
  	-moz-transition: all 0.2s ease;
  	-o-transition: all 0.2s ease;
  	transition: all 0.2s ease;
  	
  	display: inline-block;
  	position: relative;
	height: 100%;
	margin: 0 5px;
	opacity: 0.5;
}

#picbox-thumbs .picbox-thumb img {

	height: 100%;
	
}

#picbox-thumbs .picbox-thumb:first-child {
	margin-left: 1500px;
}
#picbox-thumbs .picbox-thumb:last-child {
	margin-right: 1500px;
}


#picbox-thumbs .active,
#picbox-thumbs .picbox-thumb:hover {
	opacity: 1;
}

#picbox-container {
	z-index:2050 !important; 
	position:fixed; 
	top:0; 
	bottom:0; 
	left:0; 
	right:0; 
	background-color:rgba(0,0,0,0.8);
	width: 100%;
	display: block;
	padding: 0px;
	cursor: pointer;
}
@media (min-width: 768px) {
	#picbox-container {
		/*padding: 0 0 150px 0;*/
	}
}

#picbox-container:before,
#picbox-container:after {
	content:"";
	color: rgba(0,0,0,0);
	position: absolute;
	right: 20px;
	top: 10px;
	font-size: 1em;
	border-right: 1px solid #fff;
	height: 20px;
	width: 1px;
	z-index: 100;
}

#picbox-container:before {
	transform:rotate(45deg);
	-ms-transform:rotate(45deg); /* IE 9 */
	-webkit-transform:rotate(45deg); /* Opera, Chrome, and Safari */
}

#picbox-container:after {
	transform:rotate(-45deg);
	-ms-transform:rotate(-45deg); /* IE 9 */
	-webkit-transform:rotate(-45deg); /* Opera, Chrome, and Safari */
}

#picbox-container > #picbox-img {
	display: block;
	position: relative;
	margin: auto;
	width: 90% !important;
	height: 100% !important;
	
	background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.picbox-load {
	color: #fff;
	text-align: center;
	margin: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -100px;
	width: 200px;
	height: 50px;
	display: block;
	
	background-position: center bottom;
	background-repeat: no-repeat;
	background-image: url('loader.gif');
}

#picbox-container > #picbox-right,
#picbox-container > #picbox-left {
	width: 50px;
	height: 100px;
	top: 40%;
	right: 0;
	position: fixed;
	background-color: rgba(0,0,0,0.5);
	z-index:10;
}

#picbox-container > #picbox-right {
	right: 0;
}

#picbox-container > #picbox-left {
	left: 0;
}

#picbox-left:before,
#picbox-left:after,
#picbox-right:before,
#picbox-right:after {
	content:"";
	color: rgba(0,0,0,0);
	position: absolute;
	right: 20px;
	font-size: 1em;
	border-right: 1px solid #fff;
	height: 20px;
	width: 1px;
}

#picbox-left:before,
#picbox-left:after {
	left: 20px;
}
#picbox-right:before,
#picbox-right:after {
	right: 20px;
}

#picbox-right:before {
	transform:rotate(45deg);
	-ms-transform:rotate(45deg); /* IE 9 */
	-webkit-transform:rotate(45deg); /* Opera, Chrome, and Safari */
	top: 44px;
}

#picbox-right:after {
	transform:rotate(-45deg);
	-ms-transform:rotate(-45deg); /* IE 9 */
	-webkit-transform:rotate(-45deg); /* Opera, Chrome, and Safari */
	top: 30px;
}


#picbox-left:before {
	transform:rotate(45deg);
	-ms-transform:rotate(45deg); /* IE 9 */
	-webkit-transform:rotate(45deg); /* Opera, Chrome, and Safari */
	top: 30px;
}

#picbox-left:after {
	transform:rotate(-45deg);
	-ms-transform:rotate(-45deg); /* IE 9 */
	-webkit-transform:rotate(-45deg); /* Opera, Chrome, and Safari */
	top: 44px;
}
