/*******************************************
* Bildegalleri jQuery tools
********************************************/

/* styling for the image wrapper */

#image_wrap > a > img {
    max-width: 508px;
}

#image_wrap {
    margin: 15px 72px 15px 64px;
    padding: 15px 15px;
    text-align: center;
    background-color: #ededed;
    border: 2px solid white;
    outline: 1px solid #DDD;
    -moz-ouline-radius: 4px;
    min-height: 310px;
    height: auto !important; /* hack, for browsere som ikke støtter min-height */
}
#image_wrap img{
    margin-left: auto;
    margin-right: auto;
}
#image_wrap p.img_wrap_p{
    padding: 10px;
}

/*
  * root element for the scrollable.
  * when scrolling occurs this element stays still.
*/
.scrollable {

    /* required settings */
    position:relative;
    overflow:hidden;
    width: 545px;
    height:120px;
    margin-right: auto;
    margin-left: auto;

    /* custom decorations */
    border:1px solid #ccc;
    /* background:url(/img/global/gradient/h300.png) repeat-x; */
}
/*
* root element for scrollable items. Must be absolutely positioned
* and it should have a extremely large width to accomodate scrollable items.
* it's enough that you set the width and height for the root element and
* not for this element.
*/
.scrollable .items {
    /* this cannot be too large */
    width:20000em;
    position:absolute;
    clear:both;
}

.items div {
    float:left;
    width:545px;
}

/* single scrollable item */
.scrollable img {
    float:left;
    margin:20px 5px 20px 21px;
    background-color:#fff;
    padding:2px;
    border:1px solid #ccc;
    max-height:75px;
    max-width: 100px;

    border-radius:4px;
    -moz-border-radius:4px;
    -webkit-border-radius:4px;
}

/* active item */
.scrollable .active {
    border:2px solid #000;
    position:relative;
    cursor:default;
}


/* this makes it possible to add next button beside scrollable */
.scrollable {
    float:left;
}

/* prev, next, prevPage and nextPage buttons */
.arkivBildebeholder a.browse {
    background:url("../images/hori_large.png") no-repeat;
    display:block;
    width:30px;
    height:30px;
    float:left;
    margin:40px 10px;
    cursor:pointer;
    font-size:1px;
}

/* right */
.arkivBildebeholder a.right {
    background-position: 0 -30px;
    clear:right;
    margin-right: 0px;
}
.arkivBildebeholder a.right:hover {
    background-position:-30px -30px;
}
.arkivBildebeholder a.right:active {
    background-position:-60px -30px;
}


/* left */
.arkivBildebeholder a.left {
    margin-left: 0px;
}
.arkivBildebeholder a.left:hover {
    background-position:-30px 0;
}
.arkivBildebeholder a.left:active {
    background-position:-60px 0;
}

/* up and down */
.arkivBildebeholder a.up, .arkivBildebeholder a.down		{
    background:url(../img/scrollable/arrow/vert_large.png) no-repeat;
    float: none;
    margin: 10px 50px;
}

/* up */
a.up:hover {
    background-position:-30px 0;
}
a.up:active {
    background-position:-60px 0;
}

/* down */
a.down {
    background-position: 0 -30px;
}
a.down:hover {
    background-position:-30px -30px;
}
a.down:active {
    background-position:-60px -30px;
}

/* disabled navigational button */
.arkivBildebeholder a.disabled {
    visibility:hidden !important;
}

.sentrertBildebeholder {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align:center;
    width: 93%;
}

a.lenkeTilDetaljside, 
a.digitalisertDokumentLenke {
    display:inline-block;
}