/**
 * LightBox Style Sheet
 * Gallery Module
 *
 * Copyright (c) 2013. by Way2CU
 * Author: Mladen Mijatov
 */

div#lightbox-background {
	display: none;
	width: 100%;
	height: 100%;

	position: fixed;
	top: 0px;
	left: 0px;

	background-color: black;
	z-index: 100000;
}

div#lightbox {
	display: none;
	position: fixed;
	z-index: 100001;
}

div#lightbox div.title_bar {
	display: block;
	min-height: 20px;
	margin-bottom: 5px;

	text-align: left;
}

html[dir=rtl] div#lightbox div.title_bar {
	text-align: right;
}

div#lightbox a.close_button {
	display: inline-block;
	width: 20px;
	height: 20px;

	float: right;

	border-radius: 2px;
	background-color: white;
	background-image: url(../images/close_button.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 60% 60%;

	color: #333333;
	text-decoration: none;
	cursor: pointer;

	transition: all 0.3s;
}

html[dir=rtl] div#lightbox a.close_button {
	float: left;
}

div#lightbox a.close_button:hover {
	background-color: #999999;
}

div#lightbox div.title {
	display: inline-block;
	width: 0px;

	padding: 3px;
	padding-left: 5px;
	padding-right: 5px;

	border-radius: 2px;
	background-color: white;

	color: #333333;
	font-weight: bold;
}

div#lightbox div.content {
	display: block;

	position: relative;

	padding: 5px;
	margin-bottom: 5px;

	border-radius: 2px;
	background-color: white;

	overflow: hidden;
}

div#lightbox div.content img {
	border-radius: 3px;
}

div#lightbox div.content.loading {
	background-image: url(../images/loading.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

div#lightbox div.description {
	display: block;

	padding: 5px;

	border-radius: 2px;
	background-color: white;

	color: #555555;
	font-weight: normal;
	overflow-y: auto;
}

div#lightbox a.button {
	display: block;
	width: 35px;
	height: 80px;

	position: absolute;
	top: 50%;
	margin-top: -40px;

	background-color: white;
	background-position: center center;
	background-repeat: no-repeat;

	cursor: pointer;
}

div#lightbox a.button.next {
	right: -35px;
	border-radius: 0px 5px 5px 0px;
	background-image: url(../images/next.png);
}

div#lightbox a.button.previous {
	left: -35px;
	border-radius: 5px 0px 0px 5px;
	background-image: url(../images/previous.png);
}
