/* CSS Document */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Bree+Serif);

* {
  box-sizing: border-box;
}

html {
    position: relative;
    min-height: 100%;

}

body {
    
    font-size:20px;
    line-height: 32px;
    color: #ffffff;
    margin: 0 0 60px; /* bottom has to be the same as footer height */
    padding: 0;
    word-wrap:break-word !important;
    font-family: 'Open Sans', sans-serif;
    background-color: white;

    }

html, body {
  height: 100%;
  margin: 0;
}

h1 {
    font-size: 60px;
    text-align: center;
    color: #FFF;
    margin-top: 40px;
    margin-bottom: 60px;
    line-height: 70px;
    font-family: 'Bree Serif', 'serif';
}   

h2 {
    font-size: 30px;
    text-align: center;
    color: black;
    margin-top: 40px;
    margin-bottom: 30px;
    line-height: 70px;
    font-family: sans-serif;
}   

h3 {
    font-size: 30px;
    line-height: 34px;
    text-align: center;
    color: #FFF;
}

h3 a {
    color: #FFF;
}

a {
    color: #FFF;
}


#container {
    margin: 0 auto;
    max-width: 890px;
}

p {
    
    color: black;
    
}

.toggle,
[id^=drop] {
    display: none;
    transition: 0.3s; 
}

/* Giving a background-color to the nav container. */
nav { 
    margin:0;
    padding: 0;
    background-color: #0081cb;
}

#logo {
    display: block;
    padding: 0 30px;
    float: left;
    font-size:25px;
    line-height: 60px;
    font-family: kaushan;
}

/* Since we'll have the "ul li" "float:left"
 * we need to add a clear after the container. */

nav:after {
    content:"";
    display:table;
    clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
 * and adding "position:reltive" */
nav ul {
    float: right;
    padding:0;
    margin:0;
    list-style: none;
    position: relative;
    }
    
/* Positioning the navigation items inline */
nav ul li {
    margin: 0px;
    display:inline-block;
    float: left;
    background-color: #0081cb;
    }

/* Styling the links */
nav a {
    display:block;
    padding:14px 20px;  
    color: #FFF;
    font-size:17px;
    text-decoration:none;
    transition: 0.3s;
}

/* Background color change on Hover */
nav a:hover { 
    background-color: #006eb6; 
    /*Mulighed, hvis far vil have flere undersider
    border-bottom: 1px solid black;*/
}

/* Hide Dropdowns by Default
 * and giving it a position of absolute */
nav ul ul {
    display: none;
    position: absolute; 
    /* has to be the same number as the "line-height" of "nav a" */
    top: 60px; 
}
    
/* Display Dropdowns on Hover */
nav ul li:hover > ul {
    display:inherit;

}
    
/* Fisrt Tier Dropdown */
nav ul ul li {
    width:170px;
    float:none;
    display:list-item;
    position: relative;
}

/* Second, Third and more Tiers 
 * We move the 2nd and 3rd etc tier dropdowns to the left
 * by the amount of the width of the first tier.
*/
nav ul ul ul li {
    position: relative;
    top:-60px;
    /* has to be the same number as the "width" of "nav ul ul li" */ 
    left:170px; 
}
a:hover {
    transition: 0.3s; 
}
#logo a:hover {
    background-color: #0081cb; 
}
/*FOOTER*/
#footer {
   position:fixed;
   left:0px;
   bottom:0px;
   height:30px;
   width:100%;
   background:#0081cb;
}
footer p {
    font-size: 0.6em;
    text-align: center;
    margin:0;
    font-weight: bold;
    color: white;
    font-family: sans-serif;
}
/*FOOTER END*/

#forsidetxt {
    font-size: 12px;
    text-align: center;
}
#slides {
    position: relative;
    height: 300px;
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    text-align: center;
    z-index: -1;
}
#slides img {
    width: 40%;
    border-radius: 10px;
}

.slide {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;

    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
}

.showing {
    opacity: 1;
    z-index: 2;
}

@keyframes slider {
    0%, 20%, 100%   { left: 0 }
    25%, 45%        { left: -100% }
    50%, 70%        { left: -200% }
    75%, 95%        { left: -300% }
}
 



#wrapper {
    width: 40%;
    margin: auto;
}
#wrapper a {
        color: black;
        text-decoration: none;
        border-bottom: 1px solid black;
    }
.text-center {
    text-align: center;
}
#gallery-wrapper {
    width: 100%
}
#gallery-wrapper a {
    font-size: 0
}
#gallery-wrapper img {
    width:25%;
    vertical-align: bottom;
}
#gallery-wrapper2 {
    width: 100%
}
#gallery-wrapper2 a {
    font-size: 0
}
#gallery-wrapper2 img {
    width:45%;
    vertical-align: bottom;
    margin-top: 25px;
    margin-bottom: 75px;
    margin-left: 2.5%;
    margin-right: 2.5%;
}
#art-img {
    width:100%;
}
#brødtekst{
    font-size: 0.8em;
    line-height: 18pt;
    margin-bottom: 2%;
}

.bold{
    font-weight: bold;
}
#googlemaps {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
    width: 100%;
    margin: auto;
}
#googlemaps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.default {
    font-size: 1em;
    padding: 0;
}

#matterport {
    text-align: center;
}
#matterport img {
    width: 50%;
    margin-top: 23%;
    margin-bottom: 3%;
}

/* Change ' +' in order to change the Dropdown symbol */
li > a:after { font-size: 8px; content:  ' ▽'; }
li > a:only-child:after { content: ''; }

@font-face {
    font-family: kaushan;
    src: url(../fonts/KaushanScript-Regular.ttf);
}
/* Media Queries
--------------------------------------------- */

@media all and (max-width : 1400px) {
    h1 {
        font-size: 45px;
        margin-bottom: 40px;
    }
    #wrapper {
        width: 65%;
    }

    #wrapper p {
        font-size: 18px;
        line-height: 18pt;
    }
}

@media all and (max-width : 1200px) {

}

@media all and (max-width : 1077px) {
    h1 {
        font-size: 40px;
        margin-bottom: 40px;
    }
    #wrapper {
        width: 65%;
    }

    #wrapper p {
        font-size: 16px;
        line-height: 16pt;
    }
}


@media all and (max-width : 880px) {
    
    #wrapper {
        width: 90%;
    }
    #wrapper p {
        font-size: 14px;
        line-height: 14pt;
    }


    #smallicon {
        font-size: 10px;
    }
    #logo {
        display: block;
        padding: 0;
        width: 100%;
        text-align: center;
        float: none;
    }

    nav {
        margin: 0;
    }

    /* Hide the navigation menu by default */
    /* Also hide the  */
    .toggle + a,
    .menu {
        display: none;
    }

    /* Stylinf the toggle lable */
    .toggle {
        display: block;
        background-color: #0062a8;
        padding:14px 20px;  
        color:#FFF;
        font-size:17px;
        text-decoration:none;
        border:none;
    }

    #menuuu {
        background-color: #0081cb;
    }

    

    .toggle:hover {
        background-color: #004e93;

    }


    #menuuu:hover {
        background-color: #0062a8;

    }

    nav a:hover {
        background-color: #004e93;
    }
    
    /* Display Dropdown when clicked on Parent Lable */
    [id^=drop]:checked + ul {
        display: block;
    }

    /* Change menu item's width to 100% */
    nav ul li {
        display: block;
        width: 100%;
        background-color: #0062a8;
        }

    nav ul ul .toggle,
    nav ul ul a {
        padding: 0 40px;
    }

    nav ul ul ul a {
        padding: 0 80px;
    }

    nav a:hover,
    nav ul ul ul a {
        background-color: #004e93;
    }
  
    nav ul li ul li .toggle,
    nav ul ul a,
  nav ul ul ul a{
        padding:14px 20px;  
        color:#FFF;
        font-size:17px; 
    }
  
  /*HER ER KODEN*/
    nav ul li ul li .toggle,
    nav ul ul a {
        background-color: #004e93; 
    }

    nav ul li ul li .toggle,
    nav ul ul a:hover {
        background-color: #00397b; 
    }

    /* Hide Dropdowns by Default */
    nav ul ul {
        float: none;
        position:static;
        color: #ffffff;
        /* has to be the same number as the "line-height" of "nav a" */
    }
        
        
    /* Fisrt Tier Dropdown */
    nav ul ul li {
        display: block;
        width: 100%;
    }

    nav ul ul ul li {
        position: static;
        /* has to be the same number as the "width" of "nav ul ul li" */ 

    }

    #slides img {
    width: 95%;
    }

}

@media all and (max-width : 330px) {

    nav ul li {
        display:block;
        width: 94%;
    }

}