/* 
    Created on : 21-08-2018, 10:24:43
    Author     : jonas
*/


@import url('https://fonts.googleapis.com/css?family=Open+Sans');
* {
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Open Sans', sans-serif;
    background-color: #FFF;
}



/*Skrift størelse m.m*/
h1{
    text-align: center;
    /*color: white;*/
    font-size: 2em;   
    /*border-radius: 0.25em;*/
    /*background: #cacaca;*/
}
.no_padding{
    padding: 0;
}
h2{
    font-size: 1.25em;
    text-align: center;
    text-decoration: underline;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
h3{
    font-size: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
p{
    font-size: 0.75em;
    text-align: justify;
    padding-bottom: 0.5em;
}

.category img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.section{
    /*    Debugging
        background-color: lightseagreen;
        border: 2px solid black;
        margin: 0.5em;*/

}
.section h1{
    padding: 1em;
}
.content_header{
    font-size: 1.1em;
    font-weight: 800;
    padding-bottom: 0.5em;
}

/*billeder*/
img{
    width: 320px;
}
.center{
    display: block;
    margin-left: auto;
    margin-right: auto;
    /*width: 50%;*/
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
/*table*/
/*table{
    width: 90%;
    margin: auto;
    border: 2px solid black;

}
th{
    text-decoration: underline;
}
td{
    padding-bottom: 0.25em;
}*/

table {
    border-collapse: collapse;
    width: 100%;
}
td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;}

tr:hover {background-color: #ddd;}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #67cbbf;
    color: white;
}

.page{
    top: 100px;
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-bottom: 425px;
}
/*menu*/

.shrink {
    font-size: 0.75em;
    /*border-bottom: 1px solid #e1e1e1;*/
    padding: 0px 0;
    /* animation */
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}
.shrink h1{
    font-size: 15px;
}
.shrink ul{
    box-shadow: none;
}

.menu{
    width: 100%;
}

header {
    font-size: 1.25em;
    width: 100%;
    background-color: #cacaca;
    /* animation */
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    z-index: 1;
    top: 0;
    position: fixed;
}

nav ul{
    z-index:10;
    margin: 0px;
    margin-top: 0;
    margin-bottom: 0.5em;
    padding: 0px;
    overflow: hidden;
    background-color: #67cbbf;
    color: black;
    text-align: center;
    font-weight: bold;
    /*box-shadow: 0 10px 10px -3px #672b8b;*/

    /*Maybe not necessary*/
    -webkit-transition: max-height 0.4s;
    -ms-transition: max-height 0.4s;
    -moz-transition: max-height 0.4s;
    -o-transition: max-height 0.4s;
    transition: max-height 0.4s;
}
nav ul li{
    border-color: gray;
    transition: background-color 2s;
    display: inline-block;
    padding-left: 0.75em;
    padding-right: 0.75em;

}
nav ul li a{
    font-family: 'Play', sans-serif;
    color: #fff;
    text-decoration: none;
    padding: 1em;
    display: block;}

nav ul li:hover{
    /*    background: #b3e6ff;  For browsers that do not support gradients     
        background: -webkit-linear-gradient(left top, #892600, #C1774A);  For Safari 5.1 to 6.0 
        background: -o-linear-gradient(bottom right, #892600, #C1774A);  For Opera 11.1 to 12.0 
        background: -moz-linear-gradient(bottom right, #892600, #C1774A);  For Firefox 3.6 to 15 
        background: linear-gradient(to bottom right, #892600, #C1774A);  Standard syntax (must be last) */
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-left: 0.25em solid #cacaca;
    border-right: 0.25em solid #cacaca;
    /*  
    border-left: 0.25em solid #672b8b;
        border-right: 0.25em solid #672b8b;*/
    background-color: gray;
}
/*menu end*/
/*language selection begins*/
.language{
    position: absolute;
    right: 0px;
}

.language img{
    width: 50px;
    height: 25px;
    cursor: pointer; 
}
/*Read more feature*/
p {
    /*margin: 0 0 15px 0;*/
}
.top{  
}
    #logo{
        display: block;
        margin: auto;
    }
.top_content p{
    font-size: 1em; 
    text-align: center;
}


#spacer{
    margin-top: 3em;    
    height: 0.1em;
    width: 100%;
    background-color: #cacaca;
}
.category {
    /*margin: 0 20px 0 0;*/
}
.category {
    max-height: 200px;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.category .read-more {
    position: absolute;
    bottom: -1px; 
    left: 0;
    height: 75px;
    width: 100%;
    text-align: center;
    margin: 0;

    /* "transparent" only works here because == rgba(0,0,0,0) */
    background-image: -moz-linear-gradient(top, transparent, black);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, transparent),color-stop(1, black));
}
.read-more a{
    position: relative;
    top: 45px;
    font-size: 1.1em;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background-color: #67cbbf;
    padding: 0.3em;
    padding-left: 3em;
    padding-right: 3em;
    border-radius: 0.5em;
    transition: background-color 2s;
}
.category a:hover{
    background-color: gray;
}
.background {
    background-color: rgba(255,255,255,0);
}
.background .read-more {
    /* transparent doesn't work in this context, must use RGBa for both */
    background-image: -moz-linear-gradient(top, rgba(255,0,0,0), rgba(255,0,0,100));
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, rgba(255,255,255,0)),color-stop(1, rgba(255,255,255,100)));
}
.content{
    display: flex;
    flex-wrap: nowrap;

}

.content h1{
    padding: 0.5em;
    text-align: center;
}
.content p{
    text-align: left;
    font-size: 1em;
}
.content img{
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 3em;
    width: 20%;
    height: 20%;
}
#youtube{
    padding: 1em;
    width: 100%;
    margin-left: -1em;
}
.top_content iframe{
    display: block;
    margin: auto;
    width: 840px;
    height: 472.5px;
}

#to-top{font-size: .9em;
        margin-left: 3em;
        font-weight: 600;
        color: white;
        text-decoration: none;
        background-color: #67cbbf;
        padding-left: 3em;
        padding-right: 3em;
        border-radius: 0.5em;
        transition: background-color 2s;
}
#to-top:hover{
    background-color: gray;
}
#to-top-corner{
    display: none;
    position: fixed;
    bottom: 4%;
    right: 4%;
    font-size: 1.2em;
    font-weight: 600;
    padding: 1.5em;
    color: white;
    text-decoration: none;
    background-color: #67cbbf;
    border-radius: 1.4em;


}
#to-top-corner:active{
    transform: translateY(-4px);
}

#facebook{
    font-size: .9em;
    margin-left: 3em;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background-color: #67cbbf;
    padding-left: 3em;
    padding-right: 3em;
    border-radius: 0.5em;
    transition: background-color 2s;
}
#facebook:hover{
    background-color: gray;
}

/*Slideshow*/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    width: 75%;
    min-height: 400px;
    position: relative;
    margin: auto;
}
.slideshow-container img{
    width: 100%;
    padding: 0;
}
#vertical{
    display: flex;
}

#vertical img{
    width: 35%;
}
#horizontal{

}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
    /*background-color: #67cbbf;
    color: #f2f2f2;*/
    color: black;
    background-color: #cacaca;

    font-size: 0.8em;
    position: relative;
    padding: 0.5em;
    width: 100%;
    text-align: justify;
}


/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/*mobil*/
.handle{
    color: #cacaca;
    font-size: 1em;
    font-weight: bold;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    padding: 0.25em;
    cursor: pointer;
    display: none;
    background-color: #67cbbf;
    border-bottom: 1px solid #cacaca;

}
.handle:active{
    color: white;
}
.handle img{
    width: 32px;
    float: right;
    margin-right: 10px;
}
.showMenu{
    max-height:22em;
}

@media screen and (max-width:1225px){

    .handle{
        margin-bottom: 0.5em;
        display: block;
    }
    header{
        background-color: white;
        position: relative;
    }
    .page{
        width: 94%;
        top: 0px;
    }
    nav ul {        
        margin-bottom: 0em;
        max-height: 0;
    }
    nav ul li{
        box-sizing: border-box;
        width: 100%;
        padding: 0em;
        text-align: left;
        border-bottom: 1px solid #cacaca;
    }
    nav ul li:hover{
        background-color: #67cbbf;
        padding: 0px;
        border: none;
        border-bottom: 1px solid #cacaca;
    }
    nav ul li:active{
        transform: translateY(4px);
    }
    nav ul li a{
        padding: 0.25em;
    }
    #to-top{
        display: none;
    }
    .category img{
        display: none;
    }
    .content_header{
        text-align: center;
    }
    .content img{
        display: none;
    }
    .top_content iframe{
        width: 385px;
        height: 216.25px;
    }
    .slideshow-container {
        width: 100%;
    }
    #slideshow img{
        display: block;
    }

    #facebook{
        margin-left: 1em;
        padding-left: 1em;
        padding-right: 1em;
    }
    #facebook:hover{
        background-color: gray;
    }
}
