
html{height: 100%;}

body
{ font-family: verdana, arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .68em;
}

p
{ margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.4em;
}

h1
{ font-family: arial, sans-serif;
  font-size: 120%;
  letter-spacing: .1em;
}

h2
{ margin: 0px;
  font-size: 120%;
  padding: 0px 0px 4px 0px;
  font-size: 100%;
}

h3
{ margin: 0px;
  font-size: 120%;
  padding: 0px 0px 4px 0px;
  font-size: 100%;
}

img{border: 0px;}

a{outline: none;}

/* image positioning - left, right and center */
.left
{ float: left; 
  padding: 0px 8px 0px 0px;
}

.right
{ float: right; 
  padding: 0px 0px 0px 8px;
}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}

/* block quote */
blockquote
{ margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border-left: 8px solid;
}

/* unordered list */
ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}

ul li
{ list-style-type: square;
  margin: 0px 0px 11px 0px; 
  color: #195FFF;
  padding: 0px;
}

/* ordered list */
ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;
}

ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* margin lefts / margin rights - to centre content */
#main, #links, #footer, #logo, #menu, #content
{ margin-left: auto; 
  margin-right: auto;
}

/* main container */
#main{
  width: 820px;    
  border-radius: 25px;
  box-shadow: 5px 5px grey;
  border: 1px solid grey;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* links above the logo / footer */
#links, #footer
{ width: 780px;
  font-size: 100%;
  text-transform: none;
  padding: 8px 21px 0px 19px;
  border-radius: 25px;

}

#links{text-align: right;}

#footer
{ text-align: center; 
  border-top: 0px solid;
}

#links a, #footer a, #links a:hover, #footer a:hover{text-decoration: none;}

/* logo */
#logo
{ 
  width: 800px;
  height: 200px;
  border-top: 2px solid;
  border-bottom: 5px solid;
  border-radius: 25px;
  margin-top: 10px;
  background-size: contain;
}

#logo h1, #logo h2
{ margin: 0px;
  letter-spacing: .2em;
}

#logo h1
{ padding: 28px 0px 0px 139px;
  font-size: 160%;
}

#logo h2
{ font-family: arial, sans-serif;
  padding: 5px 0px 0px 139px;
  font-size: 120%;
}

/* navigation menu */
#menu
{ height: 31px;
  width: 800px;
  margin-top: 0px;
  margin-left: 20px;
  font-size: 120%;
  position: relative;
}

#menu ul{margin: 0px auto;  
} 

#menu li
{ float: left; 
  margin: 0px 2px 0px 0px; 
  padding: 0px;
  list-style: none;
} 

#menu li a 
{ display: block; 
  float: left; 
  height: 22px;
  width: 84px;
  text-decoration: none; 
  padding: 6px 2px 2px 10px;
  text-transform: none;
  font-size: 90%;
  border-bottom: 1px solid;
  border-radius: 5px;
} 

#menu li a:hover, #menu li a#selected, #menu li a#selected:hover
{ height: 22px;
  padding: 6px 2px 2px 10px;
  border: 0px;
} 

/* main content */
#content
{ width: 800px;
  font-size: 120%;
  overflow: hidden;
} 

/* maininfo - page content */
#maininfo
{ text-align: justify;
  font-size:120%;
  width: 780px;
  float: none;
  padding: 2px 3px 15px 19px;
  color: #000000;
}

#maininfo a
{ background: transparent;
  color: #195FFF;
}

#maininfo a:hover
{ background: transparent;
  color: #109CEF;
}


#sidebar
{ width: 198px;
  margin: 22px 0px 0px 0px;
  float: right;
  padding: 19px 19px 15px 19px;
}

.sidebaritem
{ text-align: left;
  width: 184px;
  float: left;
  margin: 0px 0px 29px 4px;
}

.sidebaritem h1, .sidebaritem h2, .sidebaritem p{margin: 0px 10px 0px 10px}

.sidebaritem h1
{ font-weight: normal;
  padding: 8px 0px 16px 0px;
  text-transform: uppercase;
}

.sidebaritem p
{ line-height: 16px; 
  padding: 0px 0px 8px 0px;
}

.sidebaritem a, .sidebaritem a:hover
{ padding: 0px 0px 2px 19px;
  text-decoration: none;
}

.sbilinks ul{margin: 0px 0px 0px 10px;}

.sbilinks li
{ list-style: none; 
  padding: 0px 0px 0px 0px; 
}

.sbilinks li a, .sbilinks li a:hover
{ height: 16px;
  text-decoration: none; 
  width: 149px;
} 

/* column 2 - page content */
#column2
{ text-align: justify;
  width: 630px;
  float: left;
  padding: 2px 3px 15px 19px;
}

#column2 h1
{ font-family: arial, sans-serif;
  padding: 16px 0px 5px 0px; 
  margin: 0px 0px 12px 0px; 
  border-bottom: 1px solid;
  font-size: 150%;
  text-transform: none;
  font-weight: normal;
}

#column2 a, #column2 a:hover
{ padding: 0px 0px 2px 0px;
  text-decoration: none;
  border-bottom: 1px dashed;
}

#column2 a:hover{border-bottom: 1px solid;}

/* Based on Nifty Corners: rounded corners without images */
/* By Alessandro Fulciniti */
/* http://www.html.it/articoli/nifty/index.html */
.rtop, .rbottom{display: block;}

.rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4,
.rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4
{ display: block;
  height: 1px;
  overflow: hidden; 
}

.r1{margin: 0 5px}

.r2{margin: 0 3px}

.r3{margin: 0 2px}

.rtop .r4, .rbottom .r4
{ margin: 0 1px;
  height: 2px
}

/* additional colour scheme selections */
#colour{margin: 0px 0px 20px 0px;}

#colour a, #colour a:hover{border: 0px;}

.blue
{ background: #414141 url(blue.png) no-repeat left center;
  color: #ED1C24;
  padding: 0px 40px 0px 20px;
}

#slideshow {
    border:1px #000 solid;
    box-shadow:4px 6px 6px #444444;
    display:block;
    margin:0 auto;
    height:512px;
    width:512px;
}
.container .slides {
    display:none;
}

.footer-text {
    FONT-WEIGHT: normal;
    FONT-SIZE: 11px; 
    MARGIN: 0px; 
    COLOR: #545454; 
    FONT-FAMILY: Arial, Helvetica, sans;
}

.footer-banner-text {
    color:#FFFFFF;
}


img.shadow {
    border: 1px solid grey; 
    box-shadow: 2px 2px black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
p.infobox {
    margin: 25px 30px 10px 10px; 
    padding: 10px 30px 10px 40px; 
    float: right; 
    width: 25%;
    border: 1px solid grey; 
    border-radius: 5px; 
    box-shadow: 2px 2px grey; 
    background: #cccccc;
    background: linear-gradient(to bottom right,#ffffff, #cccccc); 
}
p.infobox2 {
    margin: 0px 30px 20px 10px; 
    padding: 10px 20px 10px 12px; 
    float: right; 
    width: 30%;
    border: 1px solid grey; 
    border-radius: 5px; 
    box-shadow: 2px 2px grey; 
    background: #ffffff;
    /*background: linear-gradient(to bottom right,#ffffff, #cccccc); */
}

p.infotext {
    margin: 10px 40px 0px 40px; 
    width: 90%;
}
p.infotext_column {
    margin: 0px 10px 10px 40px; 
    float:left; 
    width: 50%;
}
table.persontab {
    border: 1px solid black; 
    border-collapse: collapse;
    margin-bottom: 10px;
    margin-top: 10px;
    box-shadow: 2px 2px grey;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: 80%;
}
tr.persontab {
    border: none; /* 1px solid black; */

}
td.persontab {
    border: none; /* 1px solid black; */

}

td.persontab img {
    max-width: 200px; 
    max-height: 200px;
    margin: 0px 0px 0px 0px;
}

div.person h1 {
    margin: 10px 0px 10px 10px;
}

div.person p {
    margin: 0px 20px 0px 20px;
    font-weight: none;
}
div.refinfo {   
    margin-left: 20px;
    margin-right: 20px;
}
div.refinfo img {
    border: 1px solid grey; 
    box-shadow: 2px 2px black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: 10px;
    width: 400px;
}
div.right {
    float: right;
}
div.left {
    float: left;
}
div.reftext-left {
   margin-top: 40px; 
   margin-bottom: 40px;
   padding-top: 100px;
   clear: left;
}
div.reftext-right {
   margin-top: 40px; 
   margin-bottom: 40px;
   padding-top: 50px;
   clear: right;
}
div.order {
    float:right; 
    background: #000000; 
    color: #FFFFFF; 
    margin: 5px 5px 5px 5px; 
    padding: 2px 10px 2px 10px; 
    border-radius: 5px;
}

a#order {
    color:#FFFFFF; 
    text-decoration: none;
}
h1.godkjenntittel {

}
p.godkjenntekst {
    font-size: 88%; 
    margin:0px 5px 0px 10px;
}
p.prislistetekst {

}
img.prisliste {
    box-shadow: 2px 2px grey; 
    border-radius: 5px; 
    border: 1px solid grey;
    width: 75%;
}
div.linkboks {
    width: 500px; 
    border-radius: 10px; 
    box-shadow: 2px 2px grey; 
    border: 1px solid black; 
    margin-top: 10px;
}
p.linker {
    text-align: left; 
    width: 400px;
}
div.contactinfo {   
    margin-left: 20px;
    margin-right: 20px;
}
div.contactinfo img {
    border: 1px solid grey; 
    box-shadow: 2px 2px black;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-right: 30px;
    width: 400px;
}
div.contactinfo p.header {
    font-size: 110%;
    margin-bottom: -15px; 
    margin-left: 470px;
}
div.contactinfo p.adresse {
    font-size: 90%; 
    margin-left: 470px;
}
div.contactinfo h1.tittel {
        
}

.mobadaption {

}

.nor {
 display: inline;
}

.eng {
 display: none;
}

@media only screen and (min-device-width: 851px) {
    /* PC and landscape tablets */
  .mobview {
      display: none;
  }

}

.nav-button { display: none; } /* hide the navigation button by default */

@media only screen and  (min-device-width: 0px) and (max-device-width: 850px) {
    /* phones and portrait tablets */
    div#menu {
        display: none;
    }
 
    .pcview {
        display: none;
    }
    
    .mobadaption {
         clear: both;
         width: 100%
    }

    #links, #footer {
        width: 90%;
    }

    #main {
        width: 98%;
    }
    #logo {
        width: 98%;
    }
    #menu {
        width: 95%;
    }
    #content {
        width: 98%;
    }
    #maininfo {
        width: 98%;
        padding: 20px 10px 0px 10px;
    }
    h1.sidetittel {
        font-size:300%;
    }
    p.infobox {
        width:95%;
        float: none;
        margin: 20px 0px 20px 0px; 
        padding: 10px 20px 10px 20px; 
         FONT-SIZE: 200%;
    }
    p.infobox2 {
        width:95%;
        min-height: 80px;
        float: none;
        margin: 20px 0px 20px 0px; 
        padding: 10px 20px 10px 20px; 
         FONT-SIZE: 200%;
    }
    p.infotext {
        width:95%;
        float: none;
        margin: 0px 0px 0px 0px; 
        padding: 10px 20px 10px 20px; 
         FONT-SIZE: 200%;
    }
    p.infotext_column {
        width:95%;
        float: none;
        margin: 0px 0px 0px 0px; 
        padding: 10px 20px 10px 20px; 
         FONT-SIZE: 200%;
    }
    .footer-text {
        FONT-SIZE: 160%; 
    }
    .footer-banner-text {
        FONT-SIZE: 150%; 
    }
    table.persontab {
            width: 90%;
            FONT-SIZE: 200%;
    }
    #maininfo
    {
      //padding: 0px 0px 0px 30px;
    }
    div.refinfo {   
        margin-left: 20px;
        margin-right: 20px;
         font-size: 200%; 
    }
    div.refinfo img {
        width: 100%;
    }
    div.right {
        float: none;
        clear: both;
    }
    div.left {
        float: none;
        clear: both;
    }
    div.reftext-left {
       margin-top: 10px; 
       margin-bottom: 40px;
       padding-top: 0px;
       clear: none;
    }
    div.reftext-right {
       margin-top: 10px; 
       margin-bottom: 40px;
       padding-top: 0px;
       clear: none;
    }
    h1.godkjenntittel {
        font-size: 200%; 
    }
    p.godkjenntekst {
        font-size: 180%; 
    }
    div.order {
        font-size: 120%; 
    }
    a#order {
        font-size: 140%; 
        color: white;
    }
    p.prislistetekst {
        font-size:160%;
    }
    img.prisliste {
       width: 95%;
    }
    div.linkboks {
        width: 90%;
        font-size:130%;
    }
    p.linker {
        width: 70%;
        font-size:130%;
    }
    div.contactinfo {
        text-align: center;
    }
    div.contactinfo img {
        width: 100%;
    }
    div.contactinfo p.header {
        font-size: 200%;
        margin-bottom: -15px; 
        margin-left: 0px;
    }
    div.contactinfo p.adresse {
        font-size: 160%; 
        margin-left: 0px;
    }
    div.contactinfo h1.tittel {
        font-size:230%;
    }
    	.nav-button {
		display: block;
		position: absolute;
                margin-top: 40px;
                margin-right: 20px;
		top: 7px;
		right: 10px;
		width: 60px;
		height: 45px;
		background: url('../Bilder/menu-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/menu-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/menu-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/menu-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
		cursor: pointer;
		border: 0 none;
		border-bottom: 1px solid rgba(255,255,255,.1);
		box-shadow: 0 0 4px rgba(0,0,0,.7) inset;
		border-radius: 5px;
		z-index: 999;
		text-indent: -9999px;

	}
	.nav-button:hover { 
		background-color: rgba(0,0,0,.1); 
	}
	.nav-button.open {
		background: url('../Bilder/close-icon-large.png'), -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/close-icon-large.png'),    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/close-icon-large.png'),     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background: url('../Bilder/close-icon-large.png'),      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 21px, 100%;
	}
        
	/* Navigation Bar
	-------------------------------------------------------- */

	.primary-nav {
		width: 97%;
		background-color: #c0c0c0; /* change the menu color */
		background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:    -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:     -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		background-image:      -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,.2));
		display: none;
		height: 60px;
		margin: 0;
		padding: 0;
		overflow: hidden;
		box-shadow: 0 1px 2px rgba(0,0,0,.6);
		position: absolute;
		top: 40px;
		left: 10px;
		z-index: 998;
		clear: both;
	}
	.primary-nav li {
		display: none;
		width: 100%;
		font-family: Arial;
	}
	.primary-nav li a {
		display: block;
		width: 90%;
		padding: 10px 5%;
		font-size: 30px;
		font-weight: bold;
		text-shadow: -1px -1px 0 rgba(0,0,0,.15);
		color: white;
		text-decoration: none;
		border-bottom: 1px solid rgba(0,0,0,.2);
		border-top: 1px solid rgba(255,255,255,.1); 
	}
	.primary-nav li a:hover {
		background-color: rgba(0,0,0,.5);
		border-top-color: transparent;
	}
	.primary-nav > li:first-child {
		border-top: 1px solid rgba(0,0,0,.2);
	}

	/* Toggle the navigation bar open  */

	.primary-nav.open { 
		height: auto; 
		padding-top: 50px;
		display: block;
	}
	.primary-nav.open li { 
		display: block; 
	}

	/* Submenus – optional .parent class indicates dropdowns */

	.primary-nav > li:hover > a {
		background: rgba(0,0,0,.5);
		border-bottom-color: transparent;
	}
	.primary-nav li.parent > a:after {
		content: "▼";
		color: rgba(255,255,255,.5);
		float: right;
	}
	.primary-nav li.parent > a:hover {
		background: rgba(0,0,0,.75);
	}
	.primary-nav li ul {
		display: none;
		background: rgba(0,0,0,.5);
		border-top: 0 none;
		padding: 0;
		padding-left: 10px;
	}
	.primary-nav li ul a {
		border: 0 none;
		font-size: 12px;
		padding: 10px 5%;
		font-weight: normal;
	}
	.primary-nav li:hover ul {
		display: block;
		border-top: 0 none;
	}

}