/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label,
legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  width: 100%;
  margin: 0;
  background-color: #f7f7f7;
  font-family: 'Open Sans', sans-serif;
  font-size: 100%;
  color: #1b1b1b;
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 2rem;
}

h5 {
  font-size: 1.4rem;
  font-style: italic;
}
 
h6 {
  font-size: 1.4rem;
}

p {
  font-size: 1.2rem;
}
li {
  font-size: 1.1rem;
}

a {
  color: #8d8d8d;
  text-decoration: none;
  text-transform: uppercase;
}

a:hover {
  color: #484848;
  text-decoration: underline;
}

/*side layout*/

main {
  width: 80%;
  margin-top: .325rem;
  float: left;
	padding-left: .325em
	/*background-color: red;*/
}

aside {
  width: 20%;
  float: right;
  margin-top: .325rem;
	/*background-color: green;*/
}

/*Header*/

header {
  width: 100%;
  margin: 0 0 2em 0;
  padding: .325rem;
}

.noshow {
  display: none;
}

.headerBox {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.logoBox {
  width: 70%;
  }

.logo {
  width: auto;
  height: 100%;
  max-height: 100px;
}

.phoneBox {
  width: 25%;
  text-align: right;

}

.phoneBox h2, .taglineBox h2 {
  font-size: 1.5rem;
}





#nav {
  width: 100%;
  position: relative;
  clear: both;
}
#nav > a {
  display: none;
}
#nav li {
  position: relative;
}
#nav li a {
  color: #1b1b1b;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
}
#nav li a:active {
  background-color: #e1e0df !important;
}
#nav span:after {
  width: 0;
  height: 0;
  border: 0.313em solid transparent;
  /* 5 */
  border-bottom: none;
  border-top-color: #b6b2b1;
  content: '';
  vertical-align: middle;
  display: inline-block;
  position: relative;
  right: -0.313em;
  /* 5 */
}
#nav > ul {
  height: 3.75em;
  /* 60 */
  background-color: #e1e0df;
  list-style: none;
  z-index: 9999;
}
#nav > ul > li {
  width: 20%;
  height: 100%;
  float: left;
  z-index: 9999;
}
#nav > ul > li > a {
  height: 100%;
  font-size: 1.5em;
  /* 24 */
  line-height: 2.5em;
  /* 60 (24) */
  text-align: center;
}
#nav > ul > li:not( :last-child ) > a {
  border-right: 1px solid #b6b2b1;
}
#nav > ul > li:hover > a,
#nav > ul:not( :hover ) > li.active > a {
  background-color: #d3d0d0;
}
#nav li ul {
  list-style: none;
  background-color: #e1e0df;
  display: none;
  position: absolute;
  top: 100%;
}
#nav li:hover ul {
  display: block;
  left: 0;
  right: 0;
}
#nav li:not( :first-child ):hover ul {
  left: -1px;
}
#nav li ul a {
  font-size: 1.25em;
  /* 20 */
  border-top: 1px solid #b6b2b1;
  padding: 0.75em;
  /* 15 (20) */
}
#nav li ul li a:hover,
#nav li ul:not( :hover ) li.active a {
  background-color: #d3d0d0;
}
#nav .active {
  background-color: #d3d0d0;
}

/*kontaktform*/
#aaben {
	text-align: center;
	padding-bottom: .825em;
  background-color: #F0EFEF;
}

#kontakt-form {
  width: 100%;
  padding: .325rem;
}
.textboks {
  width: 100%;
  height: 10rem;
  font-size: 1rem;
  font-family: inherit;
  -webkit-box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.kontaktform {
  width: 100%;
  background-color: #f0efef;
  margin-bottom: 0.325rem;
  margin-top: 0.325rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 0.650rem;
  padding-right: 0.650rem;
}
.phone {
  display: block;
  background-color: #00A600;
  font-size: 2rem;
  padding: 0.650rem;
  margin: 1.5rem auto;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
  box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
}
.phone a,
.phone a:hover {
  color: #FFFFFF;
  text-decoration: none;
}
#adresse {
  text-align: center;
}
#adresse p {
  font-size: 1.8rem;
  font-weight: bold;
}
label {
  display: block;
  font-size: 1rem;
}

.breaking {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.breakFoto {
  width: 30%;
}

.breakText{
  width: 68%;
  padding: 15px;
}

.breakText p {
  margin-top: 20px;
}

.kk1 {
  widht-100%;
  height: auto;

}


.textfelt {
  width: 100%;
  font-size: 1rem;
  border: none;
  padding: 0.325em;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-bottom: 1em;
  -webkit-box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow: inset 6px 6px 16px -5px rgba(0, 0, 0, 0.58);
}
.sendknap {
  width: 100%;
  height: auto;
  border: none;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  font-size: 1.8rem;
  margin-top: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #00A600;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
  -webkit-box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
  box-shadow: 6px 6px 26px -5px rgba(0, 0, 0, 0.58);
}

.sucess {
  margin-top: .650rem;
  color: #00A600;
}
.error {
  margin-top: .650rem;
  color: #FF0000;
}

/*forside*/

.fp-beskriv {
  width: 99%;
  overflow: hidden;
  float: left;
  background-color: #F0EFEF;
  -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.fp-foto {
  width: 100%;
  height: auto;
  max-width: 30vw;
  margin-right: .650rem;
  margin-bottom: .650rem;
  float: left;
}


/*slider del forside*/

.fabrik-beskriv {
	clear: both;
	width: 100%;
  display: flex;
  justify-content: flex-start;
  padding-bottom: .650rem;
}

.fotobox {
	width: 49%;
	overflow: hidden;
	margin-top: 0.650rem;
  display: flex;
  flex-direction: column;
   /* background-color: pink;*/
  -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-right: .850rem;
  padding: .650rem;
}

/*Slider forside*/
.slider {
    width: 500px;
    height: 342px;
    overflow: hidden;
	margin: 1.5em auto;
}

.slider img {
  position: absolute;
  width:100%;
  height: auto;
  max-width: 500px;
}

.beskriv-text {
	width: 100%;
   clear: both;
	margin-top: 1.5em;
	padding-left: .325em;
	padding-right: .325em;
	}

.slider-foto {
	width: 100%;
	height: auto;
	max-width: 700px;
}


/*kontakt side*/

.hunderet {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  margin-top: .650rem;
}

.map-box {
  width: 33%;
  overflow: hidden;
    background-color: #F0EFEF;
  -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-right: .850rem;
  padding-bottom: .650rem;
  padding-top: .350rem;
  }

  .map {
    width: 100%;
    height: auto;
    max-width: 400px;
    
  }

  .dir-box {
    width: 100%;
    margin-top: .850rem;
  }

.ejer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: .850rem;
  }

  .direktion {
    width: 49%;
    background-color: #F0EFEF;
      -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
      -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
    box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
    border-radius: 10px;
    margin-right: .850rem;
    padding-bottom: .650rem;
    padding-top: .350rem;
    padding-right: .350rem;
  }
  

  .ejer-foto {
    width: 100%;
    height: auto;
    max-width: 300px;
    padding-right: .650rem;
    padding-bottom: .650rem;
    float: left;
       -moz-border-radius: 50%;
      -webkit-border-radius: 50%;
    border-radius: 50%;

  }

  .foto {
    width: 39%;
  }

  .direk-text {
    width: 59%;
    padding: .325rem;
  }

  /*galleri*/

  .galleri {
    width: 100%;
    overflow: hidden;;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    
    }
  
  .gallery-box {
    width: 24%;
    padding: .650rem;
    margin-top: .650rem;
    margin-right: .650rem;
    background-color: #F0EFEF;
          -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
      -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
    box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
      -moz-border-radius: 10px;
      -webkit-border-radius: 10px;
    border-radius: 10px

  }

  .foto-div {
    width: 100%;
    margin: 0 auto;
    }

 .fotoBredt {
   width: 100%;
   height: auto;
   max-width: 350px;
   display: block;
   margin: 0 auto;
 }

 .fotoHojt {
   width: auto;
   height: 100%;
   max-height: 250px;
   display: block;
   margin: 0 auto;
 }

/*Footer*/

footer {
  clear: both;
  width: 100%;
  margin-top: .650rem;
  margin-bottom: 1rem;
  padding-left: .325rem;
  padding-right: .325rem;
  padding-top: .850rem;
  padding-bottom: .650rem;
  text-align: center;
  border-top: 1px solid #000000:;
}

footer p {
	font-size: 1.4rem;
 }

 .traf {

     font-size: 25px;
     font-weight: bold;
   }

.fed {
  font-weight: bold;
}

#graven {
  background-color: #CCCCFF;
}

#scan {
  background-color: #C3E8C8;
}

.fabrikBox {
  width: 100%;
  margin-top: 0.650rem;

}

.fabrikContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 0.650rem;
}

.fabrikFotoBox {
  width: 32%;
  background-color: #F0EFEF;
  -webkit-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  box-shadow:  6px 6px 16px -5px rgba(0, 0, 0, 0.58);
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  margin-right: .850rem;
  padding-bottom: .650rem;
  padding-top: .350rem;
  padding-right: .350rem;
}

.fabrikFoto {
  width: 100%;
  height: auto;
}

.videoBox {
  width: 560px;
  height: auto;
  margin: 0.850rem auto;
}

#mh {
  font-size: 0.1rem;
  color: #F7F7F7;
}

#mh a, #mh a:visited, #mh a:active, #mh a:hover {
  color: #F7F7F7;
  text-decoration: none;
}

