form select {
    width: 24%;
    margin: 0 5px 0 1px;
}


#gallery {
    padding: 0;
    margin: 0;
    float: right;
    width: 378px;
}
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;
}
div.content a, div.navigation a {
	text-decoration: none;
}
div.content a:focus, div.content a:hover, div.content a:active {
	text-decoration: underline;
}
div.controls {
	margin-top: 5px;
    float: left;
}
div.controls a {
	padding: 12px 12px 12px 0;
}
div.ss-controls {
	float: left;
}
div.nav-controls {
/*    padding-left: 12px; */
	float: left;
}
div.slideshow-container {
	position: relative;
	clear: both;
}
div.loader {
	background-image: url('/images/galleriffic-loader.gif');
	background-repeat: no-repeat;
	background-position: center;
	width: 383px;
}
div.slideshow {
}
div.slideshow span.image-wrapper {
	display: block;
}
div.slideshow a.advance-link {
	display: block;
	width: auto;
	text-align: center;
}
div.slideshow a.advance-link:hover, div.slideshow a.advance-link:active, div.slideshow a.advance-link:visited {
	text-decoration: none;
}
div.slideshow img {
	border: 1px solid #ccc;
}
#download {
float: left;
}
div.download {
	display: none;
    /* border: 1px solid red;
	float: right; */
}
div.caption-container {
	position: relative;
	clear: left;
	height: 75px;
    margin-bottom: 50px;
}
span.image-caption {
	display: block;
	position: absolute;
        /* width: 100%; */
	top: 0;
	left: 0;
}
div.caption {
	padding-top: 0;
    padding-bottom: 12px;
    padding-left: 0;
    padding-right: 0;
}
div.image-title {
	font-weight: bold;
}
div.image-desc {
	display: none;
	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 {
	clear: both;
	margin: 0;
	padding: 0;
}
ul.thumbs li {
    float: left;
    padding: 0;
    margin: 1px 8px 1px 0;
    list-style: none;
    width: 131px;
    min-height: 170px;
}
ul.thumbs li.pressebilde {
	height: 200px;
	margin-bottom: 10px;
}
a.thumb {
	padding: 2px;
	display: block;
        /*border: 1px solid #ccc; */
}
ul.thumbs li.selected a.thumb {
        /* background: #e7e7e7; */
}
a.thumb:focus {
	outline: none;
}

.thumb-title {
    color: #000;
    font-size: 85%;
    line-height: 120%;
}

ul.thumbs img {
	border: none;
	display: block;
	margin-bottom: 4px;
}
div.pagination {
	clear: both;
    font-size: 100%;
}
div.navigation div.top {
	margin-bottom: 12px;
	height: 11px;
}
div.navigation div.bottom {
	margin-top: 14px;
}
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;
}

.hiddenPictures {
 display: none;
}
@media only screen and (min-width: 0px) and (max-width: 600px) {
  /* identifiserer sidemalen */
 .fotoalbum.tospalte #thumbs
      {
 	float: left;
        margin-top: 0;
        width: 100% !important;
        margin-bottom: 15px;
    }

   .fotoalbum.tospalte #gallery
    {
        float: left;
        width: 100%;
    }
}