.popup {
	width: 100%;
	max-width:300px;
	height: 170px;
	overflow: hidden;
	cursor:pointer;
	position:relative;
	display: inline-block;
	box-shadow: 0px 0px 5px #333333;
	margin:5px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
	border: 5px solid #FFF;	
}
.popup:hover{
	box-shadow: 0px 0px 5px #333333;
		-ms-transform: translate(0px,-5px); /* IE 9 */
	-webkit-transform: translate0px,-5px); /* Safari */
	 transform: translate(0px,-5px);
	}
.popup img{
	width: 100%;
	position:absolute;
	bottom:0px;	
	top:0px;
	margin:auto;
}
.popup .title{
	text-align: center;
	position: absolute;
	z-index: 9999;
	visibility:hidden;
	color: #FFF;
	bottom: -100%;
	left:0px;
	right:0px;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
	opacity:0;
	margin-right: 12px;
	margin-left: 12px;
	padding-top: 5px;
	padding-bottom: 5px;	
	background-color:rgba(227, 120, 0, 0.8);
}
.popup:hover .title{
	visibility:visible;
	bottom: 20%;
	opacity:1;
}


@media only screen and (max-width: 480px) {
	.popup {
	width: auto;
	height:auto;
	display:block;
	margin: 0px auto 20px auto;
	}
	.popup img{
	width: 100%;
	position:static;
}
}



/* SLIMBOX */


#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url(loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbSlide{
	display: block;
	position: absolute;
	width: 100%;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
	font-size: 100000px;  /* Workaround needed for IE */
	overflow: hidden;     /* Workaround needed for IE */
	color: #666;
	-webkit-transition: all 0s ease;
	-moz-transition: all 0s ease;
	-o-transition: all 0s ease;
	-ms-transition: all 0s ease;
	transition: all 0s ease;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(prevlabel.gif) no-repeat 0 15%;
}

#lbNextLink {
	width: 100%;
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}
