.jn-popup {
	width: 400px;
	max-width: 100%;
	overflow: hidden;
	position: fixed;
	transition: 1s;
	z-index: 1030;
}

.jn-popup.location-top-right {
	top: -100%;
	right: 0;
}

.jn-popup.location-top-right.active {
	top: 0;
}

.jn-popup.location-bottom-right {
	bottom: -100%;
	right: 0;
}

.jn-popup.location-bottom-right.active {
	bottom: 0;
}

.jn-popup.location-bottom-left {
	bottom: -100%;
	left: 0;
}

.jn-popup.location-bottom-left.active {
	bottom: 0;
}

.jn-popup.location-top-left {
	top: -100%;
	left: 0;
}

.jn-popup.location-top-left.active {
	top: 0;
}

.jn-popup.location-top {
	top: -100%;
	left: 0;
	width: 100%;
}

.jn-popup.location-top.active {
	top: 0;
}

.jn-popup.location-bottom {
	bottom: -100%;
	left: 0;
	width: 100%;
}

.jn-popup.location-bottom.active {
	bottom: 0;
}

/* header */

.jn-popup .header {
	padding-top: 15px;
	padding-bottom: 12px;
	padding-left: 10px;
	padding-right: 35px;
	position: relative;
}

.jn-popup .header .title {
	font-weight: bold;
	line-height: 1em;
	text-align: center;
	font-size: 1.3em;
}

/* btn-close */

.jn-popup .header .btn-close {
	font-size: 1.3em;
	line-height: 1em;
	cursor: pointer;
	position: absolute;
	top: 15px;
	right: 10px;
	opacity: 0.5;
	transition: 0.5s;
}

.jn-popup .header .btn-close:hover {
	opacity: 1;
}

/* body */

.jn-popup .body {
	padding: 20px 5px;
	position: relative;
	background-color: #fff;
}

/* content */

.jn-popup .body .content {
	line-height: 1.6em;
}

/* image */

.jn-popup .body .image {
	float: right;
	width: 110px;
	display: block;
}
