/*-------------------------------------------------------*/
/* lightbox */

@media (min-device-width:768px)
{
	.lightboxBodyNoScroll
	{
		overflow:hidden !important;
	}
}
@keyframes lightboxBackgroundFadeIn
{
    0% { background-color: rgba(0,0,0,0); }
    100% { background-color: rgba(0,0,0,0.65); }
}
#lightboxContainer
{
	background: rgba(0,0,0,0.65);
    animation: lightboxBackgroundFadeIn 0.1s linear;
    position: fixed;
	z-index:1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
	cursor: pointer;
}
#lightboxContainer.lightboxNoAnimation
{
	animation:none;
}
#lightboxTable
{
    width: 100%;
    height: 100%;
}
#lightboxTable:before
{
	content:'';
	height:15%;
	display:block;
}
#lightboxInner
{
	background: #ffffff;
	max-height:70%;
	width:50%;
	min-width:300px;
	box-sizing:border-box;
	overflow:auto;
	margin-left:auto;
	margin-right:auto;
	box-shadow:0 10px 20px rgba(0,0,0,0.65);
	cursor:auto;
}
#lightboxCloseContainer
{
	width:50%;
	min-width:300px;
    display: block;
	margin-left:auto;
	margin-right:auto;
	z-index:10;
	position:relative;
}
#lightboxClose
{
	position:absolute;
	top:0;
	right:0;
    display: block;
    width: 28px;
    font-size: 15px;
    line-height: 28px;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    color: #777777;
    font-weight: normal;
    text-align: center;
	z-index:10;
	cursor:pointer;
	background:#ffffff;
}
#lightboxClose:hover
{
	color:#333333;
}
#lightboxMessage
{
	padding:30px;
	font-size:17px;
	text-align:center;
}
#lightboxMessage h3
{
	font-size:1.2em;
	font-weight:bold;
	font-style:normal;
	margin:0 0 1em 0;
}
#lightboxMessage p
{
	margin:1em 0;
}
#lightboxMessage p:first-child
{
	margin-top:0;
}
#lightboxMessage p:last-child
{
	margin-bottom:0;
}
#lightboxContainer.lightboxImage #lightboxInner,
#lightboxContainer.lightboxImage #lightboxCloseContainer
{
	width:90%;
	min-width:none;
	max-width:1280px;
}
#lightboxContainer.lightboxImage img
{
	border:none;
	display:block;
	padding:0;
	margin:0;
}
@media (max-height:640px)
{
	#lightboxTable:before
	{
		height:5%;
	}
	#lightboxInner
	{
		max-height:90%;
	}
}
