.ecard
{
	text-align: center;
}
.ABN .ecard form
{
	width: 640px;
	margin: auto;
	text-align: left;
}
.ecard .back,
.ecard .front
{
	width: 640px;
	height: 426px;
	position: relative;
	border: 1px solid #dfdfdf;
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	overflow: hidden;
	margin: 0 auto 32px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left bottom;
}
.ecard legend
{
	display: block;
	text-align: center;
	width: 100%;
	vertical-align: bottom;
	position: relative;
}
.ecard legend a
{
	position: absolute;
	bottom: 4px;
	right: 0;
}
.ABN .ecard form .front .draggable
{
	position: absolute;
	top: 0;
	left: 20px;
	padding-left: 24px;
	min-height: 72px;
	min-width: 100px;
}
.ABN .ecard form .front .draggable.front-title
{
	top: 20px;
}
.ABN .ecard form .front .draggable.front-subtitle
{
	top: 120px;
}
.ABN .ecard form .front .draggable h6
{
	margin: 0;
	color: #fff;
	font-size: 14px;
}
.ABN .ecard form .front .draggable .actions
{
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	display: none;
}
.ABN .ecard form .front .editable:hover .actions
{
	display: block;
}
.ABN .ecard form .front .draggable .actions a.action
{
	display: block;
	width: 16px;
	height: 16px;
	padding: 3px;
	border-radius: 2px;
	overflow: hidden;
	cursor: pointer;
	text-indent: -9999px;
	background: rgba(255,255,255,0.4) none no-repeat center center;
	margin-bottom: 2px;
}
.ABN .ecard form .front .draggable .actions a.action.edit
{
	background-image: url(../images/pencil.png);
}
.ABN .ecard form .front .draggable .actions a.action.reset
{
	background-image: url(../images/cross-circle.png);
}
.ABN .ecard form .front .draggable .actions a.action.move
{
	background-image: url(../images/arrow-move.png);
	cursor: move;
}
.ABN .ecard form .front .contenteditable
{
	line-height: 1.2;
}
.ABN .ecard form .back input[type="text"],
.ABN .ecard form .back textarea
{
	background-color: rgba(0,0,0,0.05);
	border: 1px solid #dfdfdf;
	font-size: 14px;
	width: 96%;
	padding: 2px 2%;
	margin-bottom: 4px;
	box-shadow: 0 0 2px rgba(240,240,240,0.4);
	line-height: 1.2;
	color: #666;
	border-radius: 2px;
	display: block;
}
.ABN .ecard form .back input[type="text"]:focus,
.ABN .ecard form .back textarea:focus
{
	box-shadow: 0 0 4px rgba(239, 164, 31, 0.50);
	background-color: rgba(239, 164, 31, 0.03);
	border-color: rgba(239, 164, 31, 0.6);
}
.ABN .ecard form .back textarea
{
	height: 356px;
	resize: none;
}
.ecard .back
{
	background: url(../images/BG-ecard-back.png) no-repeat 0 0;
}

.ecard .stamp
{
	position: absolute;
	top: 25px;
	left: 504px;
	overflow: hidden;
	width: 112px;
	height: 72px;
}
.ecard .stamp img
{
	max-width: 112px;
}
.ecard .stamp span
{
	position: absolute;color: #fff;
	font-size: 12px;
	line-height: 1;
	opacity: 0.8;
}
.ecard .stamp span.value
{
	top: 2px;
	right: 2px;
	font-size: 13px;
}
.ecard .stamp span.country
{
	bottom: 2px;
	left: 2px;
}
.ecard .left
{
	position: absolute;
	left: 20px;
	top: 20px;
	width: 340px;
	height: 386px;
}
.ecard .right
{
	position: absolute;
	left: 400px;
	top: 20px;
	width: 220px;
	height: 386px;
}
.ecard .right .recipient
{
	position: absolute;
	top: 145px;
	width: 100%;
}
.ecard .right .sender
{
	position: absolute;
	top: 205px;
	width: 100%;
}
.ecard .right .submit
{
	position: absolute;
	bottom: 0;
	right: 0;
}
.ecard .right .notification
{
	position: absolute;
	top: 328px;
	width: 90%;
	text-align: left;
	line-height: 1.0;
	font-size: 12px;
	padding-left: 10%;
}
.ecard .right .notification input[type="checkbox"]
{
	position: absolute;
	left: 0;
}

.ABN .ecard form input[type="text"].warning,
.ABN .ecard form textarea.warning
{
	box-shadow: 0 0 4px rgba(166, 19, 8, 0.50);
	background-color: rgba(166, 19, 8, 0.03);
	border-color: rgba(166, 19, 8, 0.60);

}

.ecard.view .message h4
{
	margin: 0 0 4px;
	font-size: 14px;
	width: 96%;
	padding: 2px 2%;
}
.ecard.view .message p
{
	font-size: 12px;
	margin: 4px 0 0;
	line-height: 1.3;
	height: 356px;
	width: 96%;
	padding: 2px 2%;
	overflow: auto;
}
.ecard.view .right .recipient
{
	position: absolute;
	top: 210px;
	width: 100%;
	font-size: 16px;
	line-height: 1.4;
}
.ecard.view .right .sender
{
	position: absolute;
	top: 270px;
	width: 100%;
	font-size: 16px;
	line-height: 1.4;
}

.ecard.read .message h4
{
	margin: 0 0 4px;
	font-size: 14px;
	width: 96%;
	padding: 2px 2%;
}
.ecard.read .message p
{
	font-size: 12px;
	margin: 4px 0 0;
	line-height: 1.3;
	height: 356px;
	width: 96%;
	padding: 2px 2%;
	overflow: auto;
}
.ecard.read .right .recipient
{
	position: absolute;
	top: 210px;
	width: 100%;
	font-size: 16px;
	line-height: 1.4;
}
.ecard.read .right .sender
{
	position: absolute;
	top: 270px;
	width: 100%;
	font-size: 16px;
	line-height: 1.4;
}

.ecard.thanks h2
{
	text-align: center;
}
.ecard.thanks p
{
	width: 60%;
	margin: 16px 20% 32px;
}

.ecard.list .category-list
{
	width: 60%;
	min-width: 950px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.ecard.list .category-list h3
{
	margin: 48px 0 4px;
	border-bottom: 1px solid #dfdfdf;
}
.ecard.list .ecard-list
{
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: left;
}
.ecard.list .ecard-list li
{
	display: inline-block;
	border: 1px solid #dfdfdf;
	border-radius: 5px;
	padding: 6px;
	box-shadow: 0 2px 4px rgba(95, 95, 95, 0.61);
	margin: 8px;
	text-align: center;
}
.ecard.list .ecard-list li a.cbox-image
{
	display: block;
	height: 100%;
	position: relative;
}
.ecard.list .ecard-list li a.cbox-image span.ribbon-new
{
}
.ecard.list .ecard-list li strong
{
	display: none;
	font-size: 1.3rem;
	text-align: center;
	font-weight: normal;
	max-width: 160px;
}

.gallery.list .category-list
{
	width: 60%;
	min-width: 950px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.gallery.list .category-list li
{
	position: relative;
}
.gallery.list .category-list h3
{
	margin: 48px 0 4px;
	border-bottom: 1px solid #dfdfdf;
}
.gallery.list .category-list .flex-viewport
{
	margin-bottom: 40px;
}
.gallery.list .image-list
{
	margin: 0 auto;
	padding: 0;
	list-style: none;
	text-align: left;
}
.gallery.list .image-list li.image-page div
{
	display: inline-block;
	border: 1px solid #dfdfdf;
	border-radius: 5px;
	padding: 6px;
	box-shadow: 0 2px 4px rgba(95, 95, 95, 0.61);
	margin: 8px;
	text-align: center;
}
.gallery.list .image-list li.image-page a.cbox-image
{
	display: block;
	height: 100%;
	position: relative;
}
.gallery.list .image-list li.image-page a.cbox-image span.ribbon-new
{
}
.gallery.list .image-list li.image-page strong
{
	display: none;
	font-size: 1.3rem;
	text-align: center;
	font-weight: normal;
	max-width: 160px;
}
.gallery.list .image-count
{
	font-size: 12px;
	font-weight: normal;
	display: inline-block;
	float: right;
	margin-top: 16px;
}
.ABN .gallery.list .flex-direction-nav .flex-prev
{
	left: -60px;
	top: -260px;
}
.ABN .gallery.list .flex-direction-nav .flex-next
{
	right: -60px;
	top: -260px;
}
.ABN .gallery.list .flex-control-nav
{
	bottom: -40px;
}