div.content {
	/* The display of content is enabled using jQuery so that the slideshow content won't display unless javascript is enabled. */
	display: none;
	float: right;
	width: 369px;
}
div.content a, div.navigation a {
	text-decoration: none;
	color: #777;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
	height: 23px;
        width: 369px;
}
div.controls a {
	padding: 5px;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
	float: right;
}
#gal{
        float: right;
        width: 640px;
}
#gal_menu_poz {
    height: 45px;
    width: 900px;    
    float:left;
}
#gal_menu_poz_lewy {
    margin-right: 45px;
    background-color: #18538f;
    height: 20px;
    width: 205px;
    color: white;
    float: left;
    list-style:none;
    margin-right: 50px;
    margin-left: 0px;
    padding-top: 5px;
    text-align:center;
}
#gal_menu_poz_lewy a, #gal_menu_poz .gal_menu_poz_prawe a {
    color: white;    
    text-decoration:none;
}
#gal_menu_poz ul {
    float: left;
    padding: 0;
    margin: 0, 0, 0, 5px;
}
#gal_menu_poz .gal_menu_poz_prawe {
    height: 20px;
    width: 205px;
    color: white;
    background-color: #8fb629;
    float: left;
    list-style:none;
    margin-right: 10px;
    text-align:center;
    padding-top: 5px;
}
#gal_podgal {
    float: left;
    margin-top: 15px;
}
#gal_podgal ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}
#gal_podgal li {
    margin-bottom: 15px;
    margin-left: 0px;
    list-style-image: url('../images/strzalka.jpg');
}
#gal_podgal a {
    text-decoration:none;
    color: #383838;
}
div.slideshow-container {
	position: relative;
        right: 10px;
	clear: both;
        width: 369px;
	height: 277px; /* This should be set to be at least the height of the largest image in the slideshow */        
}
div.loader {
	/*position: absolute;
	top: 0;
	left: 0;
	background-image: url('loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 550px;
	height: 502px; /* This should be set to be at least the height of the largest image in the slideshow */
}
div.slideshow {
        
}
div.slideshow span.image-wrapper {
	display: block;
	position: absolute;
	top: 0;
	left: 0; 
}
div.slideshow a.advance-link {
	display: block;
	width: 380px;
	height: 277px; /* This should be set to be at least the height of the largest image in the slideshow */
	/*line-height: 277px; /* This should be set to be at least the height of the largest image in the slideshow */
	text-align: center;
        padding: 0px;
}
div.slideshow a.advance-link img {
        width: 369px;
        height: 277px;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	vertical-align: middle;
	border: 1px solid #ccc;
}
div.download {
	float: right;
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
}
span.image-caption {
	display: block;
	position: absolute;
	width: 550px;
	top: 0;
	left: 0;
}
div.caption {
	padding: 12px;
}
div.image-title {
	font-weight: bold;
	font-size: 1.4em;
}
div.image-desc {
	line-height: 1.3em;
	padding-top: 12px;
}
div.navigation {
	
        /* The navigation style is set using jQuery so that the javascript specific styles won't be applied unless javascript is enabled. */
}
ul.thumbs {
        position: relative;
        right: 0px;
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
	float: left;
	padding: 0;
	margin: 5px 10px 5px 0;
	list-style: none;
}
a.thumb {
        width: 109px;
        height: 82px;
	padding: 2px;
	display: block;
	border: 1px solid #ccc;
}
a.thumb img {
        height: 82px;
        width: 109px;
}
ul.thumbs li.selected a.thumb {
	background: #000;
}
a.thumb:focus {
	outline: none;
}
ul.thumbs img {
	border: none;
	display: block;
}
div.pagination {
	clear: both;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 12px;
}
div.pagination a, div.pagination span.current, div.pagination span.ellipsis {
	display: block;
	float: left;
	margin-right: 2px;
	padding: 4px 7px 2px 7px;
	border: 1px solid #ccc;
}
div.pagination a:hover {
	background-color: #eee;
	text-decoration: none;
}
div.pagination span.current {
	font-weight: bold;
	background-color: #000;
	border-color: #000;
	color: #fff;
}
div.pagination span.ellipsis {
	border: none;
	padding: 5px 0 3px 2px;
}
