/* Image gallery page */
.cottage .gallery img {
    width: auto;
}
.gallery-page h1 {
    text-transform: none;
    font-size: 38px;    
    border-bottom: none;
}
/* why is this here?? */
hr {
    margin-right: 50px;
}

.gallery .gallery-item img {
    width: 418px;
}
.gallery img {
    width: 300px;
    float: left;
    clear: both;
    margin-bottom: 10px
}
.gallery_fullwidth img{
	
}
.gallery .delete {
    margin-bottom: 50px;
}
.gallery .main-img {
background:url(../gfx/bakgrunner/form_valid.png)no-repeat;
float:right;
margin-right:180px;
padding-left:20px;
width:100px   
}
.gallery .main-img p {
    margin: 0;
}
.gallery .clear  {
    background:url(../gfx/ikoner/ut/slett.png)no-repeat;
    padding:1px 2px 5px 20px;
}
.img-upload {
    border:1px solid #a4a4a4;
clear:both;
padding:20px;
width:300px;
margin-bottom: 20px;
}
.img-upload h3 {
    border:medium none;
text-transform:none;
}
.img-upload .submit {
    margin: 0;
}
.return {
    float: right;
    top: 160px;
    margin-right: 55px;
}

/*.fullskjermbildeknapp{
	background:url(/gfx/knapper/fullskjerm24x24.png)no-repeat;
	display: block;
	height: 24px;
	width: 24px;
}*/
/*.gallery .delete, .gallery .delete a{
    height:24px;
    width:100px;
    padding:0;
    margin:0;
    position:relative;
    
    background: transparent url(../gfx/knapper/lang_24px.png) no-repeat right center;
}*/

/* galleriffic */
/*div#container {
    overflow: hidden;
}*/
.gallery-entry {
    overflow: hidden;
    outline: 1px solid #CCC;
    margin-bottom: 5px;
}
.gallery-entry div.content {
    display: none;
    clear: both;
}

.gallery-entry div.content a,
.gallery-entry div.galleriffic-navigation a {
    text-decoration: none;
}
/*
.gallery-entry div.content a:hover,
.gallery-entry div.content a:active {
    text-decoration: underline;
}
*/
.gallery-entry div.galleriffic-navigation a.pageLink {
    height: 77px;
    line-height: 77px;
}

.gallery-entry div.controls {
	
}
.gallery-entry div.controls a {
    padding: 5px;
    position: absolute;
    top: 216px;
    z-index: 2;
    background-color: transparent;
	background-image: url(../gfx/knapper/arrow_sprite.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    line-height: 24px;
    color: #000 ;
    
}

.gallery-entry div.controls a.prev {
    background-position: 0% -34px;
    left: 0%;
    padding-left: 34px;
}
.gallery-entry div.controls a.next {
    background-position: 100% 0px;
    right: 0%;
    padding-right: 34px;
}
.gallery-entry div.controls a div.arrow {
    display:none;
}

.gallery-entry div.slideshow-container-narrow div.controls a {
    top: 133px;
}

.gallery-entry div.subcontrols {
    clear: both;
    padding: 0px 7px 4px;
    overflow: hidden;
}
.gallery-entry div.fullwidth-gallery-link {
	background: url(../gfx/bakgrunner/doublearrow.png) no-repeat scroll 0 55% transparent;
	padding-left: 10px;
    float: right;
}

.gallery-entry div.ss-controls {
    float: left;
}

.gallery-entry div.ss-controls a {
 	background-image: url(../gfx/knapper/arrow_sprite.png);
	background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
	padding-left: 18px;
	color: #434343;
}

.gallery-entry div.ss-controls a.play {
	background-position: 0% -332px;
}

.gallery-entry div.ss-controls a.pause {
	background-position: 0% -316px;
}

.gallery-entry div.lightbox-gallery-links {
	float: left;
	margin-left: 10px;
	height: 16px;
	overflow-y: hidden;
}

.gallery-entry div.lightbox-gallery-links ul {
	margin: 0;
}

.gallery-entry div.lightbox-gallery-links li {
	display: none;
	margin: 0;
}

.gallery-entry div.lightbox-gallery-links a {
 	background-image: url(../gfx/knapper/arrow_sprite.png);
	background-position: 0% -268px;
	background-color: transparent;
    background-repeat: no-repeat;
    background-attachment: scroll;
	padding-left: 18px;
	color: #434343;
}

.gallery-entry div.nav-controls {
    display: none;
	/*float: right;*/
}

.gallery-entry div.slideshow-container,
.gallery-entry div.loader,
.gallery-entry div.slideshow a.advance-link {
    width: 640px; /* This should be set to be at least the width of the largest image in the slideshow with padding */
}

.gallery-entry div.slideshow-container-narrow, 
.gallery-entry div.loader-narrow,
.gallery-entry div.slideshow-narrow,
.gallery-entry div.slideshow-narrow a.advance-link {
    width: 420px;
}

.gallery-entry div.loader,
.gallery-entry div.slideshow a.advance-link,
.gallery-entry div.caption-container {
	/*height: 502px;*/ /* This should be set to be at least the height of the largest image in the slideshow with padding */	
}

.gallery-entry div.slideshow-container {
    position: relative;
    clear: both;
    float: left;
    height: 536px;
    background-color: #fff;
    /*height: 502px;*/
}

.gallery-entry div.slideshow-container-narrow {
    height: 374px;
}

.gallery-entry div.loader {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../gfx/knapper/loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2px;
}
.gallery-entry div.slideshow span.image-wrapper {
    display: block;
    position: absolute;
    top: 0px;
    left: 0;
}
.gallery-entry div.slideshow a.advance-link {
    display: block;
    /*line-height: 440px; This should be set to be at least the height of the largest image in the slideshow with padding */
    text-align: center;
}

.gallery-entry div.slideshow-narrow a.advance-link {
    line-height: 0px;
}
/*
.gallery-entry div.slideshow a.advance-link:hover,
.gallery-entry div.slideshow a.advance-link:active,
.gallery-entry div.slideshow a.advance-link:visited {
    text-decoration: none;
}
*/
/*
.gallery-entry div.slideshow a.advance-link:focus {
    outline: none;
}
*/
.gallery-entry div.slideshow img {
    border-style: solid;
    border-width: 0px;
}
.gallery-entry div.caption-container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
}
.gallery-entry span.image-caption {
    display: block;
/*    position: absolute;*/
}

.gallery-entry div.caption-container, 
.gallery-entry span.image-caption {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    width: 640px;
}

.gallery-entry div.caption-container-narrow, 
.gallery-entry div.caption-container-narrow span.image-caption {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    width: 420px;
}


.photo-description {
    margin:5px 0px;
    clear: both;
}

.gallery-entry .caption-container-narrow .caption,
.gallery-entry .caption  {
    padding: 0 3px
}


.gallery-entry div.caption .pages {
    font-style: italic;
    float: left;
}
.gallery-entry div.caption .credit {
    font-style: italic;
    float: right;
}

/*.gallery-entry div.image-title {
    font-weight: bold;
    font-size: 1.4em;
}
.gallery-entry div.image-desc {
    line-height: 1.3em;
    padding-top: 12px;
}
.gallery-entry div.download {
    margin-top: 8px;
}
.gallery-entry div.photo-index {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 12px;
}
*/
.gallery-entry div.galleriffic-navigation-container {
    float: left;
    position: relative;
    /*left: 50%;*/
}
.gallery-entry div.galleriffic-navigation {
    position: relative;
    width: 640px;
    height: 84px;
    overflow-x: hidden;
    overflow-y: hidden;
}
.gallery-entry div.galleriffic-navigation-narrow {
    position: relative;
    width: 420px;
    height: 84px;
    overflow-x: hidden;
    overflow-y: hidden;
}

.gallery-entry div.galleriffic-navigation a.pageLink {
    display: block;
    position: relative;
    float: left;
    margin: 2px;
    width: 16px;
    background-position:center center;
    background-repeat:no-repeat;
}
/*
.gallery-entry div.galleriffic-navigation a.pageLink:focus {
    outline: none;
}
*/
.gallery-entry ul.thumbs {
    margin: 3px 0px 0px 0px;
    padding: 0;
}

.gallery-entry ul.thumbs li {
    float: left;
    padding: 0;
    margin: 1px;
    list-style: none;
    height: 78px;
    width: 78px;
}
.gallery-entry div.galleriffic-navigation-narrow ul.thumbs li {
    margin: 1px 3px;
}

.gallery-entry ul.thumbs li a.thumb {
    padding: 1px;
    display: block;
    height: 76px;
    width: 76px;
}
.gallery-entry ul.thumbs li.selected a.thumb {
	background: #000;
}
/*
.gallery-entry a.thumb:focus {
    outline: none;
}
*/
.gallery-entry ul.thumbs img {
    border: none;
    display: block;
    background: #e5e5e5;
}

.gallery-entry div.bottom {
    width: auto;
}
.gallery-entry div.pagination {
    clear: both;
    position: relative;
}


.gallery-entry div.pagination a.prev{
    height: 76px;
    width: 28px;
    display: block;
    position: absolute;
    top: -78px;
    left:2px;
    padding: 0px;
    background-color: transparent;
    background-image: url(../gfx/knapper/arrow_sprite.png);
    background-repeat: no-repeat;
    background-position: 0% -176px;
    background-attachment: scroll;
}
.gallery-entry div.pagination a.next {
    height: 76px;
    width: 28px;
    display: block;
    position: absolute;
    top: -78px;
    left: 610px;
    padding: 0px;
    background-color: transparent;
    background-image: url(../gfx/knapper/arrow_sprite.png);
    background-repeat: no-repeat;
    background-position: 100% -76px;
    background-attachment: scroll;
}

.gallery-entry div.galleriffic-navigation-narrow div.pagination a.prev {
    left: 4px;
}

.gallery-entry div.galleriffic-navigation-narrow div.pagination a.next {
    left: 388px;
}
/*
.gallery-entry div.pagination a:hover {
    text-decoration: none;
}
*/
.gallery-entry div.pagination span.current {
    font-weight: bold;
}
.gallery-entry div.pagination span.ellipsis {
    border: none;
    padding: 5px 0 3px 2px;
}

.gallery-entry div.gallery-gutter {
    clear: both;
    padding-bottom: 20px;
}
