/* HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */
/* Copyright 2015 © Refuse */

@charset "UTF-8";

@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,500);


/* @group STANDARD –------------------------------ */

html {
   color: #2E2E2E;
	font: 300 0.9em/1.4 Ubuntu;
	text-align: center;
	background: #e6e6e6 url(../gui/bakgrunn_gradering.png) repeat-x;}

html, body { height: 100%;}

/* 	Remove text-shadow in selection highlight:
 	These selection rule sets have to be separate.
	Customize the background color to match your design. */
	
::-moz-selection {
    background: #b3d4fd;
    text-shadow: none;
    }
    
::selection {
    background: #b3d4fc;
    text-shadow: none;
    }

/*	A better looking default horizontal rule */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
	clear: both;}

/*	Remove the gap between audio, canvas, iframes, images, videos and the
	bottom of their containers:
	https://github.com/h5bp/html5-boilerplate/issues/440 */

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
    }

/*	Remove default fieldset styles. */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    }

/*	Allow only vertical resizing of textareas. */

textarea {
    resize: vertical;
}

/* @end */



/* @group BROWSER UPGRADE –––---------------- */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
    }

/* @end */




/* @group TYPOGRAFI –----------------------------- */

p, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;}

p {margin-bottom: 1em;}

#Fot p {margin-bottom: 0;}


	
h1, h2, h3, h4, h5, h6 {
	line-height: 1.1em;
	margin-bottom: 0.4em;}

h1, h2 {font-weight: 400;}
h3, h4 {font-weight: 500;}
h5, h6 {font-weight: 300;}

h1 {font-size: 3em;}
h2 {font-size: 2em;}
h3 {font-size: 1.3em;}
h4 {font-size: 1.1em;}
h5 {font-size: 3em;}
h6 {font-size: 1.5em;}

a {text-decoration: none;}
a:link, a:visited {color: #0069b4;}
a:active {color: #dc1e00;}
a:hover {color: #0098e3;}

ul {list-style: disc outside none;
	padding-left: 1.2em;}

li {margin-bottom: 0.3em;}

#Hovedmeny a:link, #Hovedmenyno a:link, #Hovedmeny a:visited, #Hovedmenyno a:visited, #Hovedmeny a:active, #Hovedmenyno a:active, #Fot a:link, #Fot a:visited, #Fot a:active {
	color: rgba(255,255,255,0.75);}


#Hovedmeny a:hover, #Hovedmenyno a:hover, #Fot a:hover {
	color: #FFF;}


.ingress {
	font-size: 1.2em;
	font-weight: 400;}

.stikktittel {
	margin-bottom: 5px;
	color: #6d6d6d;}

.bildetekst {
	font-style: italic;
	font-size: 0.9em;}


/* @group Tabeller */

table {
	background-color: #ccc;
	border-spacing: 1px;
	border-collapse: separate;
	}

caption {
	background-color: #656565;
	font-weight: 500;
	color: #fff;}

thead {
	background-color: #e5e5e5;
	color: #656565;}

th, td {
	padding: 3px;
	font-size: 0.9em;
	line-height: 1.1em;}

th {
	font-weight: 400;
	vertical-align: bottom;}
	
td {
	background-color: #fff;
	vertical-align: top;}

/* @end */


/* @group Tekstmeny */

.tekstmeny {
	margin-bottom: 0.6em;
	padding-left: 13px;
	background: url(../gui/pil_graa_13.png) no-repeat 0 3px;
	line-height: 1.1em;
	font-weight: 400;}

/* @end */
	
/* @end */




/* @group LAYOUT ---------------------------------- */

#Wrapper {
	max-width: 1000px;
	min-height: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: -150px;
	text-align: left;
	overflow: hidden;
	background-color: #fff;}

#Wrapper:after {
	content: " ";
	display: block;}

#Topp {
	height: 340px;
	overflow: hidden;
	color: rgba(255,255,255,0.5);
	background: #003b6a url(../gui/topp_bakgrunn_foss.png) no-repeat;
	background-size: cover;
	position: relative;}

	#Topp .linje {
	max-width: 100%;
	background-color: #003b6a;
	height: 10px;}

	#Topp .login {
	width: 16px;
	height: 16px;
	position: absolute;
	bottom: 10px;
	right: 5%;
	visibility: hidden;}
	
	#Topp .nasjonalitet {
	width: 80px;
	height: 26px;
	position: absolute;
	bottom: 10px;
	left: 5%;}

	#Topp .logo {
	margin-left: 5%;
	overflow: hidden;
	float: left;}

#Hovedmeny, #Hovedmenyno {
	max-width: 1000px;
	min-height: 40px;
	overflow: hidden;
	background-color: #00457d;
	padding-left: 5%;
	padding-right: 5%;}

#Hovedmenyno { min-height: 32px;}

#Hovedmeny .menypunkt, #Hovedmenyno .menypunktno {
	color: rgba(255,255,255,0.5);
	font-size: 1.4em;
	padding-top: 5px;
	height: 35px;
	float: left;
	padding-right: 20px;
	}
	
#Hovedmenyno .menypunktno {
	font-size: 1em;
	height: 30px;}



.innhold {
	font-size: 1.1em;
	max-width: 1000px;
	height: auto;
	overflow: hidden;
	margin-bottom: 30px;}

.hoved {
	max-width: 600px;
	overflow: hidden;
	float: left;
	margin-top: 40px;
	margin-right: 3%;
	margin-left: 5%;}

.sidefelt {
	max-width: 270px;
	margin-top: 50px;
	overflow: hidden;
	float: right;
	margin-right: 5%;}

	
#Fot, #Wrapper:after {height: 150px;}

#Fot {
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
	text-align: left;
	overflow: hidden;
	background-color: #00457d;
	color: rgba(255,255,255,0.5);}

#Fot .innhold {
	font-size: 1em;
	line-height: 1.5em;
	max-width: 1000px;
	margin-left: 5%;
	margin-right: 5%;
	overflow: hidden;
	padding-top: 12px;}

#Fot .innhold .meny {
	margin-right: 35px;
	float: left;
	padding-bottom: 10px;}

#Fot .innhold .copyright {
	float: left;
	font-size: 0.8em;
	line-height: 1.4em;
	color: rgba(255,255,255,0.5);}
	

/* @end */



/* @group BILDER & VIDEO –----------------------- */

.tilpasset{
	height: auto;
	max-width: 100%;
	width: auto;}

.tilpasset-halv {
	height: auto;
	max-width: 50%;}
/* @end */



/* @group FORMULAR –––––--––------------------- */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

form > div {
	clear: both;
	overflow: hidden;
	padding: 1px;
	margin: 0 0 10px 0;}

form > div > fieldset > div > div { margin: 0 0 5px 0; }

form > div > label,
legend {
	width: 25%;
	float: left;
	padding-right: 10px;
	color: #6d6d6d;}
	
form > div > div,
form > div > fieldset > div {
	width: 75%;
	float: right;}

form > div > fieldset label { font-size: 90%; }

fieldset {
	border: 0;
	padding: 0;}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
	border: 1px solid #ccc;
	padding-left: 3px;}
	
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
	width: 60%;}
	
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
	outline: 0;
	border-color: #0098e3;}

input[type=submit] {
    width: auto;
    height: 27px;
    font-size: 0.9em;
	font-weight: 400;
	padding: 0 25px;
	line-height: 1em;
    color: #2e2d2d;
    border: 1px solid rgba(154,154,154,1);
    float: right;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    background-image: rgba(128,128,128,1);
    background-image: -webkit-linear-gradient(top, #fffefe 0%,#efefef 50%,#e7e7e7 50%,#d6d6d6 100%,#eeeeee 100%);
    background-image: -moz-linear-gradient(top, #fffefe 0%,#efefef 50%,#e7e7e7 50%,#d6d6d6 100%,#eeeeee 100%);
    background-image: -o-linear-gradient(top, #fffefe 0%,#efefef 50%,#e7e7e7 50%,#d6d6d6 100%,#eeeeee 100%);
    background-image: linear-gradient(top, #fffefe 0%,#efefef 50%,#e7e7e7 50%,#d6d6d6 100%,#eeeeee 100%);}


@media (max-width: 600px)
{
	form > div { margin: 0 0 15px 0; }
	form > div > label,
	legend {
	width: 100%;
    float: none;
    margin: 0 0 5px 0;}
    
    form > div > div,
    form > div > fieldset > div {
    width: 100%;
    float: none;}
    
    input[type=text],
    input[type=email],
    input[type=url],
    input[type=password],
    textarea,
    select {
    width: 100%;}
}

@media (min-width: 1200px)
{
	form > div > label,
	legend {
  	text-align: right;}
}
	
/* @end */




/* @group KNAPPER –----------------------- */

.lesmerh {float: right;
	margin-left: 5px;}
.lesmerv {float: left;
	margin-right: 5px;}

/* @end */




/* @group MARGER --------------------------------- */

.mah005 {margin-right: 5px;}
.mah010 {margin-right: 10px;}
.mah030 {margin-right: 30px;}
.mav005 {margin-left: 5px;}
.mat015 {margin-top: 15px;}
.mat030 {margin-top: 30px;}
.mab000 {margin-bottom: 0px;}
.mab005 {margin-bottom: 5px;}
.mab010 {margin-bottom: 10px;}
.mab020 {margin-bottom: 20px;}
.mab030 {margin-bottom: 30px;}


/* @end */




/* @group SPESIAL --------------------------------- */

.flyth {float: right;}
.flytv {float: left;}

/*	Hide visually and from screen readers:
	http://juicystudio.com/article/screen-readers-display-none.php */

.hidden {
    display: none !important;
    visibility: hidden;}

/*	Hide only visually, but have it available for screen readers:
	http://snook.ca/archives/html_and_css/hiding-content-for-accessibility */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;}

/*	Extends the .visuallyhidden class to allow the element to be focusable
	when navigated to via the keyboard: https://www.drupal.org/node/897638 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;}

/*	Hide visually and from screen readers, but maintain layout */

.invisible { visibility: hidden;}

/*	Clearfix: contain floats
	For modern browsers
	1. The space content is one way to avoid an Opera bug when the
	`contenteditable` attribute is included anywhere else in the document.
	Otherwise it causes space to appear at the top and bottom of elements
	that receive the `clearfix` class.
	2. The use of `table` rather than `block` is only necessary if using
	`:before` to contain the top-margins of child elements. */

.clear:before, .clear:after {
    content: " "; /* 1 */
    display: table;} /* 2 */

.clear:after { clear: both;}

/* @end */

/* @group MEDIA ---------------------------------------- */


/*	EXAMPLE Media Queries for Responsive Design.
	These examples override the primary ('mobile first') styles.
	Modify as content requires. */
	
@media only screen /* Minimum for redigeringsmodus */
	and (min-width : 0)
	and (max-width : 1100px)
{
	#Topp .login {
	visibility: collapse;
	display: none;}
}


@media only screen /* Mobil 200-568 */
	and (min-width : 200px)
	and (max-width : 568px)
{
	
	#Topp {height: 270px;}
	
	#Topp .logo {
	float: none;
	margin-left: 5%;}
	
	#Hovedmeny .menypunkt, #Hovedmenyno .menypunktno {min-width: 40%;}

	.hoved {
	float: none;
	margin-top: 20px;}
	
	.sidefelt {
	max-width: 600px;
	float: none;
	margin-left: 5%;
	margin-right: 3%;}

}


@media only screen /* Mobil 569-1000 */
	and (min-width : 569px)
	and (max-width : 1000px)
{
	
	#Topp {height: 270px;}
	
	#Hovedmeny .menypunkt, #Hovedmenyno .menypunktno {min-width: 25%;}
	
	.hoved {
	float: none;
	margin-top: 20px;}
	
	.sidefelt {
	max-width: 600px;
	float: none;
	margin-left: 5%;
	margin-right: 3%;}
}


@media only screen /* Mobil 600 */
	and (min-width : 600px)
{
	
	#Fot .innhold .copyright {
	float: right;}
	
}




@media print,
	(-o-min-device-pixel-ratio: 5/4),
	(-webkit-min-device-pixel-ratio: 1.25),
	(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* 	Print styles.
   	Inlined to avoid the additional HTTP request:
   	http://www.phpied.com/delay-loading-your-print-css/ */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

/*	Don't show links that are fragment identifiers,
	or use the `javascript:` pseudo protocol */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

/*	Printing Tables: http://css-discuss.incutio.com/wiki/Printing_Tables */

    thead {
        display: table-header-group;
    }

    tr, img {
	page-break-inside: avoid;
    }

    img {
	max-width: 100% !important;
    }

    p, h2, h3 {
	orphans: 3;
	widows: 3;
    }

    h2, h3 {
	page-break-after: avoid;
    }
}

/* @end */