* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	margin: 0;
	padding: 0;
}


html,body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

header,nav,article,footer,section {
	display: block;
	width: 100%;
}

.container {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	padding: 0 1em;
}

.extranav .container {
	position: relative;
}


body {
	font-family: Arial;
	font-size: 14px;
	background: #083a81;
	
}

img {
	max-width: 100%;
	font-size: 0;
	border: 0 none;
}
	
a[href$=jpg], a[href$=jpeg], a[href$=JPG], a[href$=jpe], a[href$=png], a[href$=gif] {
	text-decoration: none;
	border: 0 none;
	}	



/*
--------------------------
	header stuff
--------------------------
*/

/*
.header-container:after,
nav:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}*/

/*clearfix*/

.header-container:after,
nav:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}
* html .header-container,
* html nav             { zoom: 1; } /* IE6 */
 
*:first-child+html .header-container,
*:first-child+html nav { zoom: 1; } /* IE7 */






header,
nav,
.skeiv {
	position: relative;
	z-index: 10;
}

.logo {
	vertical-align: top;
	margin-top: 20px;
	height: 45px;
}

.norsk {
	color: #bbb;
	display: block;
	width: 40px;
	font-size: 14px;
	float: left;
	position: relative;
	top: 25px;
	margin: 0;
	font-style: normal;
}

.clip {
	width: 70px;
}

.slider {
	position: relative;
	z-index: 0;
	padding-top: 20px;
}

.slider *{
	margin: 0;
}

.skeiv {
	position: absolute; 
	top: 20px; 
	left: 0;
	}

.slider img {
	display: block;
}

.subheader {
	display: block;
}

.wrapper {
	background: white;
}

footer .container {
	padding-top: 2em;
	padding-bottom: 2em;
}

footer img {
	display: block;
}

footer {
	color: white;
	box-shadow: inset black 0px 10px 10px -10px;
	font-size: 1.1em;
	opacity: .75;
}

footer div {
	text-align: center;
}


.extranav { 
	background: #083a81;
	color: black;
	text-transform: uppercase;
	box-shadow: inset black 0px -10px 10px -10px;
	font-weight: bold;
}

.extranav ul {
	margin: 0;
}

.extranav li {
	display: inline-block;
	margin: 0;
}

.extranav a {
	color: white;
	text-decoration: none;
	display: inline-block;
	padding: 10px 20px 10px;
	border-right: 1px solid #4b75b0;
	margin-right: -4px;
	
}

.extranav li:first-child a {
	border-left: 1px solid #4b75b0;
}

.extranav a:hover {
	background: black;
	color: white;
	box-shadow: inset black 0px -10px 10px -10px;
}

article {
	padding: 2em 0;
}




/* mekke search box
------------------------------------------------------------------------ */






#mekke-search {
	width: 80%;
	height: 100%;
	position: relative;
	border-left: 1px solid #4b75b0;
	border-right: 1px solid #4b75b0;
}

#mekke-search input[type="text"],
#mekke-search input.text {
	z-index: 0;
	width: 100%;
	padding: 12px 50px 12px 20px;
	height: 100%;
	border: 0;	
	background: transparent;
	color: white;
	font-size: 16px;
	position: relative;
	margin: 0;
}

#mekke-search input[type="submit"],
#mekke-search input.submit {
	position: absolute;
	z-index: 10;
	top: 7px;
	right: 10px;
	width: 30px;
	height: 30px;
	padding: 0;
	font-size: 0;
	border: 0;
	background: url(img/search-white.png) no-repeat center;
	cursor: pointer;
}




#mekke-search ::-webkit-input-placeholder {
   color: white; 
	text-transform: uppercase;
}

#mekke-search :-moz-placeholder { /* Firefox 18- */
   color: white;  
	text-transform: uppercase; 
}

#mekke-search ::-moz-placeholder {  /* Firefox 19+ */
   color: white; 
	text-transform: uppercase; 
}

#mekke-search :-ms-input-placeholder {  
   color: white;   
	text-transform: uppercase; 
}

	#contactbox-wrapper {
		display: none;
	}



/*
--------------------------
	NAV
--------------------------
*/

nav.main {
	background: #083a81;
}

nav.main li {
	float: left;
	display: block;
	font-weight: bold;
	text-transform: lowercase;
}

nav.main a {
	padding: 10px;
	display:table-cell;
	vertical-align: bottom;
	color: white;
	text-decoration: none;
	background: #083a81;
	line-height: 1em;
}

nav.main li.menu-selected a {
	background: #c41230;
}

nav.main a:hover {
	background: black;
	color: white;
}

/*
--------------------------
	TEXT
--------------------------
*/

body {
	color: #333;
}

h1,h2,h3,h4,h5,h6,ul {
	margin-bottom: 1em;
}

h1 {
	font-size: 1.5em;
	color: #083a81;
}

h2 {
	font-size: 1.25em;
	color: #083a81;
}

h3 {
	font-size: 1em;
	color: #083a81;
	text-transform: uppercase;
}

h4 {
	font-size: 1em;
	color: #083a81;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 1em;
	font-style: italic;
}

p,ul,ol {
	margin-bottom: 1em;
	line-height: 1.5em;
}

ul,ol {
	margin-left: 1em;
}

li {
	margin-bottom: .5em;
}

hr {
	background: transparent;
	border: 0;
	border-top: 1px solid #c41230;
}



/*
--------------------------
	CONTENT
--------------------------
*/

a {
	color: #c41230;
}

a:hover {
	color: black;
}


#contactbox-container .fixed {
    background: #083a81!important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: white;
    padding: 20px;
    box-shadow: 0 0 15px gray;
}

#contactbox-container h2 {
	color: white;
}

#mekke-language {
	width: 100px;
	right: 1em;
	top: -40px;
	position: absolute;
	z-index: 20;
	margin-top: 10px;
}

#mekke-language img {
	width: 30px;
	float: right;
}

#contactbox-wrapper .fixed {
	border-radius: 0;
}

iframe {
	max-width: 100%;
	max-height: auto;
}

	
	.logo {
		max-width: 100%;
	}
	
.kontakt h1 {
	display: none;  /* hide mekke contact form heading */
}

input,textarea {
	border: 1px solid #ddd;
	background: #eee;
	padding: .5em;
	font-size: inherit;
	font-family: inherit;
}


/*
--------------------------
	MOBILE ONLY
--------------------------
*/


@media (max-width: 480px) {

	
	.clip {
		display: none;
	}
	
	.logo {
		margin: 20px;
	}
	


}


/*
--------------------------
	MEDIUM/mobile ONLY
--------------------------
*/


@media (max-width: 767px) {


	.slider {
		max-height: 50px;
	}


	footer img {
		margin: 0 auto;
	}

	.norsk {
		display:none;
		}
	
	
	.subheader,
	.slider {
		display: none;
	}
	
	.clip {
		margin-bottom: 10px;
		margin-left: 10px;
	}
	
	.logo {
		max-width: 350px;
		height: auto;
	}
	
	#mekke-search  {
		border-top: 1px solid #4b75b0;
	}

}





/*
--------------------------
	MEDIUM
--------------------------
*/


@media (min-width: 480px) {


	.logo {
		margin-left: 50px;
	}


}

/*
--------------------------
	DESKTOP
--------------------------
*/


@media (min-width: 768px) {

	
	
	#mekke-search {
		position: absolute;
		right: 100px;
		top: 0;
		width: 175px;
		z-index: 15;
		padding-top: 10px;
	}
	
	.slider {
		margin-top: -150px;
	}

	nav.main {
		background: transparent;
		margin-top: -80px;
	}
	
	nav.main ul {
		float: right;
	}
	
	nav.main li {
		display: block;
		font-size: 12px;
		margin-right: 10px !important;
		margin-bottom: 10px !important;
	}
	
	nav.main a {
		width: 80px;
		height: 80px;
		padding: 2px 5px;
	}

	.clip {
		width: auto;
	}

	footer .row-fluid div:first-child {
		text-align: left;
	}

	footer .row-fluid div:last-child {
		text-align: right;
	}

	article {
		padding: 2em 0;
	}

	.extranav a {
		padding-top: 20px;
	}
	
	#mekke-search input[type="submit"],
	#mekke-search input.submit {
		top: 15px;
	}

	#contactbox-wrapper {
		display: block;
	}



}