.swell-gallery
{
	display: block;
	position: relative;
}

.swell-gallery .viewport
{
	display: block;
	position: relative;
	overflow: hidden;
	padding-bottom: 36px; /* for caption*/
}

.swell-gallery nav
{
	display: block;
	position: relative;
	overflow: auto;
	padding: 2px 0;
	margin: 0px 0px 0px -2px;
	z-index: 10000;
}

.swell-gallery nav ul
{
	margin: 0;
	padding: 0;
}



.swell-gallery nav ul li
{
	display: block;
	position: relative;
	float: left;
	font-family: "Helvetica", Arial, sans-serif;
	font-size: 11px !important;
	line-height: 20px;
	padding-left: 0px;
	margin: 0;
}

.swell-gallery nav ul li a {
	text-decoration: none;
}

.swell-gallery .viewport .queue
{
	display: block;
	position: relative;
		overflow: hidden !important;
}

.swell-gallery .viewport .gallery_item
{
	display: block;
	position: relative;
	float: left;
	overflow: hidden !important;
}

.swell-gallery .viewport .gallery_item .caption {
	display: block;
	/*position: absolute;*/
	padding: 10px 10px 8px 10px;
	left: 0;
	bottom: 0;
	background-color: #fff;
	color: #000;
	width: 100%;
	text-transform: uppercase;
	
	z-index: 10000;
}

.swell-gallery .viewport .gallery_item .caption a {
	padding-left: 10px;
}

.swell-gallery img
{
	display: block;
	position: relative;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}


.swell-gallery nav a.thumbnail
{
	display: block;
	position: relative;
	float: left;
	margin: 0;
	padding: 2px;
	background-color: transparent;
}

.swell-gallery nav li.selected a.thumbnail
{
	background-color: #ccc;
}

.swell-gallery nav a.text
{
	padding: 0 10px 0 0;
}

.swell-gallery nav .selected a.text
{
	font-weight: bold;
}

.swell-gallery .zoom-item
{
	display: block;
	position: relative;
	float: left;
	overflow: auto;
	
}

.swell-gallery .zoom-item .caption
{
	display: none;
	margin: 0;
}


.swell-css-gallery,
.swell-css-gallery .viewport,
.swell-css-gallery .queue
{
	height: 500px; /* abitary value that should be overriden by your stylesheet*/
}

.gallery_css_image
{
	display: block;
	height: 100%;
	width: 100%;
	background-repeat: no-repeat;
	background-size: cover;
}

.gallery_css_image
{
	background-position: center center;
}

.gallery_css_image.align-top
{
	background-position: center top;
}

.gallery_css_image.align-bottom
{
	background-position: center bottom;
}


/* Admin */

.shortcodes .attributes
{
	padding: 1em;
}

.shortcodes .attributes code
{
	display: block;
}

.shortcodes .attributes li
{
	padding-bottom: 0.5em;
}

