/*utanför main*/ 
body { 
    margin: 0;
}
html {
    background-image: url(bilder/bild6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
body img { 
    height: 50%;
}

/* .main-box */ 
.main { 
    width: 960px;
    margin: 0px auto; 
    background: white;
}

/* .main-box,header */ 
header {
    width: 960px;
    position: relative;
    float: left; 
    background-color: white;
    padding-top: 15px;
    padding-bottom: 15px;
} 
header img {
   padding-left: 20px;
}
.logo {
    width: 150px; 
    position: relative;
    float: left;  
} 
h1 { 
    margin: 0;
    font-family: 'Staatliches', cursive;
    color: #7C9EC5;
}
h1#O { 
    position: relative;
    left: 5%;
}
h1#F {
    position: relative;
    left: 10%;
}

/* .main-box,nav */ 
.topnav { 
    display: none;
}
h1#hresponsive { 
    display: none;
}
nav { 
    width: 100%;
    display: inline-block;
    text-align: center;
    background: linear-gradient(#436B98
, #243952);

}
nav a { 
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
}
nav a.normal { 
    color: white;
    padding: 15px;
    font-size: 14px;  
    text-decoration: none;
    border-right: 2px solid white;
}
nav a.normal:hover {
    background: linear-gradient(#121E2B, #243952);
}
nav a.active { 
    background-color: #7C9EC5;   
}
nav a.activea {
    background-color: white;
    color: #436B98;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    cursor: pointer;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    top: 100%;
    z-index: 1;
}
.dropdown-content a {
    color: black;
    background-color: white;
    padding: 20px; 
    text-decoration: none;
    font-size: 12px;
    display: block;
    margin: 0;
    z-index: 1;
    box-sizing: border-box; 
}
.dropdown-content a:hover {
    background-color: #efefef;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
   background: linear-gradient(#121E2B, #243952);
   width: 100%;
    box-sizing: border-box;
}
#kontakt { 
    border-right: none;
}

/* .main-box, bildspel osv */
.hiddenb { 
    display: none;
}
img.hiddenb { 
    display: none;
}
#image {
  box-sizing: border-box;
  width: 800px;
  height: 500px;
  margin: 40px auto;
  background: white url("bilder/bild1.jpg") no-repeat center center;
  background-size: cover;
  transition: 0.5s;
  border: 1px solid black;
  position: relative;
}
#thumbs img {
  width: 160px;
  height: 100px;
  border: 1px solid black;
  margin: 5px;
  display: inline-block;
  filter: grayscale(100%);
}
#thumbs img:hover {
  cursor: pointer;
  filter: grayscale(0);
}
#left {
  width: 20%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  background: rgba(255, 255, 255, 0);
}
#right {
  width: 20%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  background: rgba(255, 255, 255, 0);
}
#left:hover,
#right:hover {
  display: flex;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
}
#image span {
  font-size: 60px;
  display: none;
  margin: auto;
}
#left:hover span,
#right:hover span {
  display: block;
}

/* .main-box,main */
.fiskimg { 
    width: 60%;
}
input { 
    width: 100%;
    border: 1px solid #7C9EC5;
    padding: 7px;
    border-radius: 6px;
}
form { 
    margin-right: 10px;
    margin-bottom: 10px; 
}
h3 { 
   font-family: 'Poppins', sans-serif;
   margin: 0px auto;  
}
p { 
    margin: 0 px auto;
    font-family: 'Open Sans', sans-serif;
}
main { 
    padding: 10px 20px 10px;
}
h2 {
   font-family: 'Poppins', sans-serif;
   margin: 0px auto;  
}
.h-main { 
    letter-spacing: 1px;
    color: #436B98;
    text-decoration: underline;
    text-align: center; 
    font-size: 40px;
}
li { 
    font-family: 'Open Sans', sans-serif;  
}
#djupkartaimg { 
    float: right;
    width: 30%;
    border: 3px solid #436B98;
    margin: 5px;
    border-radius: 15px;
}
#djupkarta2img { 
    width: 30%;
    margin: 5px;
    float: right;
}
a { 
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    color: #436B98;
}
table { 
    width: 50%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
}
th, td { 
    border: 1px solid black;
    text-align: left;
    padding: 5px 0px 5px 10px;
}
caption { 
    background: #436B98;
    color: white;
    padding: 4px 0;
}
#linebreak { 
    margin-bottom: 20px;
    border-bottom: 3px solid #436B98;
    width: 100%
}
.mail { 
    border: 1px solid black;
    padding: 10px;
    padding-right: 10px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-sizing: border-box;
    display: inline-block;
    width: 100%;
}
.mail img { 
    float: left;
    position: relative;
}
.mail a { 
    position: relative;
    float: right; 
}
label { 
    font-family: 'Poppins', sans-serif;
}

/* .main-box,footer */
footer {
    background: #121E2B;
    color: white;
    bottom: 0px;
    padding: 10px 20px 10px;
}

/* brytpunkter - responsive */ 
@media screen and (max-width:960px) { 
    .main {
        width: 100%;
    }
    header { 
        width: inherit;
    }
    table { 
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
    th, td, caption, a, p, li  { 
        font-size: 20px;
    }
    nav a.normal { 
        font-size: 15px;
    }
    #image { 
        width: 100%;
    }
}
@media screen and (max-width:800px) { 
    .topnav .white { 
        background-color: #e6e6e6;
    }
    .topnav {
        overflow: hidden;
        background-color: #333;
        position: relative;
        display: block;
        height: 100%;
        box-shadow: 0 4px 14px -2px gray;
}
    .topnav #myLinks {
        display: none;
}
    .topnav a, .dropbtn {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
}
    .topnav a.icon {
        background: white;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 87.5px;
}
    .topnav a:hover{
        background-color: #ccc;
        color: black; 
}
    .navnormal{ 
        display: none; 
    }
    header { 
        display: none;
    }
    .logo1 { 
        height: 100px;
        display: inline-block;
        margin-left: 30px;  
    }
    #image { 
        display: none;
    } 
    .hiddenb { 
        display: block;
        margin-top: 20px;
    }
    img.hiddenb { 
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .hidden { 
        display: none;
    }
}
@media screen and (max-width:530px) { 
    .fiskimg { 
        width: 100%
    }
} 