/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */
 
/* The Nivo Slider styles */
.nivoSlider {
    position:relative;
    width:100%;
    height:auto;
    overflow: hidden;
}
.nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    max-width: none;
    padding:0;
}
.nivo-main-image {
    display: block !important;
    position: relative !important; 
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    border:0;
    padding:0;
    margin:0;
    z-index:6;
    display:none;
    background:white; 
    filter:alpha(opacity=0); 
    opacity:0;
}
/* The slices and boxes in the Slider */
.nivo-slice {
    display:block;
    position:absolute;
    z-index:5;
    height:100%;
    top:0;
}
.nivo-box {
    display:block;
    position:absolute;
    z-index:5;
    overflow:hidden;
}
.nivo-box img { display:block; }

/* Caption styles */
.nivo-caption {
    position:absolute;
    left:0px;
    bottom:0px;
    /*background:#000;*/
    color:#fff;
    width:100%;
    z-index:8;
    padding: 10px 60px 10px 25px;
    /*opacity: 0.8; */
    overflow: hidden;
    display: none;
    -moz-opacity: 0.8;
    filter:alpha(opacity=8);
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.nivo-caption h1{
    background-color:#27ae60;
    color:#fff;
    text-transform: uppercase;
    padding:15px 10px 15px 15px;
    min-width:37%;
}

.nivo-caption p {
    background-color:#fff;
    color:#999;
    font-size:25px;
    font-family: montserratregular, arial, sans-serif;
    text-transform: uppercase;
    padding:17px;
    margin-top:1px;
    width:50%;
}
.nivo-caption a {
    display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position:absolute;
    top:45%;
    z-index:9;
    cursor:pointer;
}
.nivo-prevNav {
    left:0px;
}
.nivo-nextNav {
    right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
}
.nivo-controlNav a {
    cursor:pointer;
}
.nivo-controlNav a.active {
    font-weight:bold;
}

/*
Skin Name: Nivo Slider Default Theme
Skin URI: http://nivo.dev7studios.com
Description: The default skin for the Nivo Slider.
Version: 1.3
Author: Gilbert Pellegrom
Author URI: http://dev7studios.com
Supports Thumbs: true
*/

.theme-default .nivoSlider {
    position:relative;
    background:#fff url(/local/site/layout/loading.gif) no-repeat 50% 50%;
    margin-bottom:10px;
}
.theme-default .nivoSlider img {
    position:absolute;
    top:0px;
    left:0px;
    display:none;
}
.theme-default .nivoSlider a {
    border:0;
    display:block;
}

.theme-default .nivo-controlNav {
    position:relative;
    z-index:100;
    padding-bottom: 10px;
    margin-top:-39px;
    float: right;
    margin-right: 20px;
}
.theme-default .nivo-controlNav a {
    display:inline-block;
    width:19px;
    height:19px;
    background:url(/local/site/layout/bullets.png) no-repeat;
    text-indent:-9999px;
    border:0;
    margin: 0 0px;
}
.theme-default .nivo-controlNav a.active {
    background-position:0 -22px;
}

.theme-default .nivo-directionNav a {
    display:block;
    width:30px;
    height:30px;
    background:url(/local/site/layout/arrows.png) no-repeat;
    text-indent:-9999px;
    border:0;
    opacity: 0;
}
.theme-default:hover .nivo-directionNav a { opacity: 1; }
.theme-default a.nivo-nextNav {
    background-position:-30px 0;
    right:15px;
}
.theme-default a.nivo-prevNav {
    left:15px;
}

.theme-default .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.theme-default .nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.theme-default .nivo-caption a:hover {
    color:#fff;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
    width: 100%;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
}
.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto;
}

/*mobilanpassning*/

@media only screen and (min-width : 100px) and (max-width : 480px) {/*mobil*/
    .nivo-caption {
        width:95%;
    }

    .nivo-caption h1{
        padding:5px;
        font-size:20px;
        width:40%;
    }

    .nivo-caption p {
        font-size:12px;
        padding:5px;
        margin-top:1px;
        width:50%;
    }
}

@media only screen and (min-width : 481px) and (max-width : 767px) {/*mobil -ipad */
      .nivo-caption {
        width:95%;
    }

    .nivo-caption h1{
        padding:17px;
        width:30%;
    }

    .nivo-caption p {
        font-size:20px;
        padding:15px;
        margin-top:1px;
        width:50%;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1024px) {/*iPad*/

    .nivo-caption {
        width:95%;
    }

    .nivo-caption h1{
        padding:20px;
        width:30%;
    }

    .nivo-caption p {
        font-size:25px;
        padding:17px;
        margin-top:1px;
        width:50%;
    }
}