*{
    box-sizing: border-box;
}

body{
    padding: 0;
    margin: 0;
    font-size: 18px;
    font-family: helvetica, arial, sans-serif;
}

.transition {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}


.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 20px;
}

.overlay img{
    position: absolute;
    width: 150px;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.overlay h3{
    position: absolute;
    bottom: 40px;
    width: 100%;
	width: -webkit-calc(100% - 40px);
	width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
    font-size: 20px;
    text-align: center;
    color: #fff;
}

.img_trans{
    width: 20px!important;
    height: auto;
    opacity: .5;
}

.overlay_big{
    width: 300%;
    height: 300%;
    top: -100%;
    left: -100%;
    opacity: 0;
}

#progress{
    width: 90%;
	width: -webkit-calc(100% - 40px);
	width: -moz-calc(100% - 40px);
    width: calc(100% - 40px);
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    height: 10px;
    background-color: rgba(255,255,255,0.3);
}

#progress_bar{
    position: absolute;
    left: 0;
    top: 0;
    width: 0px;
    height: 10px;
    background-color: rgba(255,255,255,0.5);
}


header{
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background-color: rgba(26,26,26,.7);
}

#logo_gunda_header{
    position: absolute;
    left: 25px;
    top: 5px;
    height: 40px;
    width: auto;
}

#nav_button{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: none;
    background-image: url(../pix/menu.png);
    background-position: center center;
    background-repeat: no-repeat;
}

#nav_button.open{
    background-image: url(../pix/close.png);
}

#nav_fullscreen{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
}

#nav_fullscreen svg{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 16px;
    height: 16px;
}

#nav_fullscreen:HOVER svg path{
    fill: #2b2b2b;
}

#logo_gunda_header, 
#fullscreen_button{
    fill: #eee;
}

#nav{
    position: absolute;
    right: 50px;
    color: #fff;
    z-index: 9999;
    top: 0;
    margin: 0;
    padding: 0;
}

.nav_feder{
    color: #2b2b2b!important;
}

#nav{
    left: auto;
}

#nav li{
    position: relative;
    height: 100%;
    display: inline-block;
    padding: 17px 20px;
    height: 50px;
    cursor: pointer;
}

.nav:HOVER{
    background-color: #fff;
    color: #2b2b2b;
}

.nav:HOVER use#icon,
.nav:HOVER use#icon{
    fill: #2b2b2b;
}

.nav_open{
    background-image: url(../pix/icn_open.png);
    background-repeat: no-repeat;
    background-position: top right;
}

.nav_open:HOVER{
    background-image: url(../pix/icn_open_hover.png);
}

#wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#gunda,
#bilder{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
    z-index: 1000;
}

#gunda{
    z-index: 500;
    overflow-y: scroll;
    padding: 70px 20px 20px 20px;
    color: #fff;
}

#gunda_text{
        max-width: 900px;

}

#gunda p{
    line-height: 1.5;
}

#gunda a{
    color: inherit;
    text-decoration: none;
    border-bottom: 2px dotted #fff;
    padding-bottom: 2px;
}
#gunda a:HOVER{
    border-bottom: 2px solid #fff;
}

#scroll,
#scroll2,
#scroll3{
    height: 100%;
    width: auto;
    overflow-x: auto;
    overflow-y: hidden;
    display: block;
}

.gallery{
    position: relative;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    height: 100%;
    width: -moz-max-content;
    width: -webkit-max-content;
    width: -ms-max-content;
    width: max-content;
    padding: 50px 0 40px 0;
    
}

.gallery li{
    position: relative;
    height: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style-type: none;
    margin: 0 25px;
}

.gallery li img{
    height: 100%;
    width: auto;
}

.nofocus{
    filter: grayscale(100%);
    opacity: .5;
}

.gallery li label{
    position: absolute;
    left: 0;
    bottom: -25px;
    color: #fff;
    font-size: 14px;
    opacity: .2;
}

.gallery li label span{
    text-transform: uppercase;
}

#bilder_feder li label{
    color: #2b2b2b;
}

.gallery li:HOVER label{
    opacity: 1;
}

@media
    only screen and (max-width: 480px){
        
        #nav_button{
            display: block;
        }
        
        #nav_fullscreen{
            display: none;
        }
        
        #logo_gunda_header{
            left: 0!important;
            right: 0!important;
            margin: auto;
            width: 40px;
        }
        
        #nav{
            width: 100%;
            top: 50px;
            right: 0;
            background-color: rgba(255,255,255,0.9);
            left: -100%;
        }
        
        #nav li{
            display: block;
            width: 100%;
            text-align: center;
            color: #111;
        }
        
        #nav li:FIRST-CHILD{
            margin-top: 50px;
        }
}
