.popup {
	width: 225px;
	height: 150px;
	overflow: hidden;
	cursor:pointer;
	position:relative;
	display: inline-block;
	box-shadow: 0px 0px 5px #666666;
	margin:5px;
	outline: 3px solid #FFF;
	outline-offset: -3px;
	-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;
	
}
.popup:hover{
	outline: 12px solid #FFF;
	outline-offset: -12px;
	}
.popup img{
	width: 100%;

}
.popup .title{
	text-align: center;
	position: absolute;
	z-index: 99999;
	visibility:hidden;
	color: #FFF;
	background-color: #939;
	bottom: 0%;
	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;	
}
.popup:hover .title{
	visibility:visible;
	bottom: 20%;
	opacity:1;
	
}


.btn-1 {
 	position: absolute;
 	bottom: 75%;
 	right: 30%;
 	transform: translate(-50%, -50%);
 	-ms-transform: translate(-50%, -50%);
 	background-color: #c12424;
 	color: white;
 	font-size: 16px;
 	padding: 7px 12px;
 	border: none;
 	cursor: pointer;
 	border-radius: 5px;
 	text-align: center;
 	z-index: 999999
}


.regist{
	position: absolute;
	left: 62%;
	top: 36%;
	width: 52%;
	height: 46%;
	background-color: #fffd00ed;
	z-index: 999999;
	opacity: 0;
	left: 24%;
	/* right: 43%; */
	bottom: 7%;
	right: 7%;
}
@media only screen and (max-width: 996px){
	.regist{

	left: 20%;
		top: 21.5%;
	left: 15%;
	width: 72%;
	height: 52%;
	background-color: #cbc922ed;
	z-index: 999999;
	opacity: 0;
	}
}
@media only screen and (max-width: 450px){
	.regist{
	top: 33.5%;
	left: 15%;
	width: 72%;
	height: 33%;
	background-color: #cbc922ed;
	z-index: 999999;
	opacity: 0;
	}
}




@media only screen and (max-width: 720px) {
	.popup {
	width: auto;
	height: auto;
	}
}



/* SLIMBOX */

.popup-but{
	top: 15px;
	padding: 4px;
	border: solid 2px #000;
	border-radius: 5px;
	
}

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

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 99999;
	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;
	margin-top: 15px !important;

}

#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;
}
