/*
Theme Name: Stiklestad Nasjonale Kultursenter
Theme URI: http://smartmedia.no/
Description: Tema utviklket for Stiklestad Nasjonale Kultursenter av Smart Media AS
Author: Smart Media AS
Version: 1.0
*/
@import url('layouts/content-sidebar-footer.css');

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 22;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
	padding: 5px 0;
	padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
	font-size: 14px
	font-size: 1.142857143rem; (14 / $rembase)
	line-height: 1.846153846; ($line-height / 14)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
	margin: 24px 0;
	margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/

/* =Reset (http://meyerweb.com/eric/tools/css/reset/index.html)
-------------------------------------------------------------- */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 87.5%;
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

body {
	background: url('images/main-bg.jpg') repeat 0 0;
	margin: 0;
	padding: 0 0 300px;
	width: 100%;
	font-family: 'Trebuchet MS', Verdana, Verdana, Sans-Serif;
	min-height: 100%;
	position: relative;
}

#page {
	margin: 0;
	padding: 0;
}

.site-main {
	max-width: 1000px;
	padding: 20px 10px;
}

#primary article {
	padding: 20px 40px;
	background: #fff;
	margin: 0 0 20px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#secondary {
	width: 240px;
	width: 25%;
	overflow: visible;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}

ol, ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	font-weight: normal;
	text-align: left;
	padding: 5px 0;
}

td {
	border-bottom: 1px solid #eaeaea;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}

a img {
	border: 0;
}

/* =Global
----------------------------------------------- */

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

body,
button,
input,
select,
textarea {
	color: #444;
	font-family: 'Trebuchet MS', Verdana, Verdana, Sans-Serif;
	text-rendering: optimizeLegibility;
	font-size: 14px;
	font-size: 1rem;
	line-height: 1.57142857;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	line-height: 1.846153846;
	margin: 0.5em 0;
	color: #3a5e96;
	font-weight: normal;
}

h1 {
	font-size: 21px;
	font-size: 1.5rem;
	line-height: 1.5;
}

h2 {
	font-size: 18px;
	font-size: 1.285714286rem;
	line-height: 1.6;
}

h3 {
	font-size: 16px;
	font-size: 1.142857143rem;
}

h4 {
	font-size: 14px;
	font-size: 1rem;
}

h5 {
	font-size: 13px;
	font-size: 0.928571429rem;
}

h6 {
	font-size: 12px;
	font-size: 0.857142857rem;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

b, strong {
	font-weight: bold;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}

code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}

button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
	*overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #fafafa; /* Old browsers */
	background: -moz-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, #fafafa), color-stop(100%, #e6e6e6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* IE10+ */
	background: linear-gradient(top, #fafafa 60%, #e6e6e6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa', endColorstr='#e6e6e6', GradientType=0); /* IE6-9 */
	box-shadow: inset 0 2px 1px #fff;
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: .857142857rem;
	padding: 0.5em 1.5em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	*padding: 0.2em 1.5em 0.2em 1.5em;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #f5f5f5; /* Old browsers */
	background: -moz-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, #f5f5f5), color-stop(100%, #dcdcdc)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* IE10+ */
	background: linear-gradient(top, #f5f5f5 60%, #dcdcdc 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#dcdcdc', GradientType=0); /* IE6-9 */
	border-color: #bbb #bbb #aaa #bbb;
}

button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 2px 3px rgba(0, 0, 0, .15);
	box-shadow: inset 0 2px 2px rgba(0, 0, 0, .15);
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type=text],
input[type=email],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
	color: #111;
}

input[type=text],
input[type=email] {
	padding: 3px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #3a5e96;
}

a:hover,
a:focus,
a:active {
	color: #0F3647;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

/* =Header
----------------------------------------------- */
.site-header {
	min-height: 146px;
	background: url(images/head-pattern.jpg) bottom repeat-x;
	border-bottom: 5px solid #3a5e96;
}

#site-header-inner {
	max-width: 980px;
	margin: 0 auto;
}

.site-header #home-link {
	width: 293px;
	display: block;
	width: 100% \7;
	display: inherit\7;
}

.site-header #logo {
	margin-top: 10px;
	margin-bottom: 18px;
	float: left;
}

.site-header h1,
.site-header h2 {
	text-align: center;
}

.site-header h1 a,
.site-header h2 a {
	color: #515151;
	display: inline-block;
	text-decoration: none;
}

.site-header h1 a:hover,
.site-header h2 a:hover {
	color: #21759b;
}

.site-header h1 {
	font-size: 24px;
	font-size: 1.714285714rem;
	line-height: 2;
}

.site-header h2 {
	font-weight: normal;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
	color: #777;
}

.page-navigation {

}

.breadcrumbs {
	font-size: 12px;
	font-size: .857142857rem;
	color: #fff;
	float: left;
	margin: 0;
	padding-top: 3px;
	font-family: "ff-dax-web-pro", sans-serif;
	font-weight: normal;
}

.breadcrumbs a {
	color: #dcd8d4;
	text-decoration: none;
	font-weight: normal;
	font-family: "ff-dax-web-pro", sans-serif;
	margin-right: 0.3em;
}

.breadcrumbs a:hover {
	text-decoration: underline;
}

.header-social {
	float: right;
	margin-right: 2em;

}

.header-social a {
	display: inline-block;
	width: 24px;
	height: 23px;
	margin: 0em 0.2em;
	text-indent: -9999px;
	*float: left;
	*display: block;
}

.header-social a:hover {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.header-social .facebook-link {
	background: url('images/facebook-icon-small.png') no-repeat 50% 50%;
}

.header-social .twitter-link {
	background: url('images/twitter-icon-small.png') no-repeat 50% 50%;
}

.header-social .youtube-link {
	background: url('images/youtube-icon-small.png') no-repeat 50% 50%;
}

.header-social .language-link-english {
	background: url('images/flag-gb.png') no-repeat 50% 50%;
}

.header-social .language-link-german {
	background: url('images/flag-de.png') no-repeat 50% 50%;
}

.header-searchform {
	float: right;
}

.header-searchform .field {
	border: none;
	padding: 4px 15px 3px 15px;
	color: #d3d3d3 !important;
	background: #fff;
	background: rgba(255, 255, 255, 0.5);
	vertical-align: top;
}

::-webkit-input-placeholder {
	color: #d3d3d3;
	font-size: 12px;
	font-size: 0.9rem;
	line-height: 1.4;
}

:-moz-placeholder {
	color: #d3d3d3;
	font-size: 12px;
	font-size: 0.9rem;
	line-height: 1.4;
}

:-ms-input-placeholder {
	color: #d3d3d3;
	font-size: 12px;
	font-size: 0.9rem;
	line-height: 1.4;
}

.header-searchform .submit {
	border: none;
	padding: 0;
	background: none;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
	display: block;
	float: right;
	/*width: 640px;*/
	font-size: 14px;
	font-family: "ff-dax-web-pro", sans-serif;
	margin: 10px 0 0 1%;
	line-height: 16px;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	float: left;
	text-align: center;
	height: 81px;
	padding-top: 12px;
}

.main-navigation ul li:first-child a {
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;

}

.main-navigation ul li:last-child a {
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}

#ie7 .main-navigation a {
	width: 110px;
	height: 47px;
	letter-spacing: normal;
	width: 125px;
	font-size: 13px;
}

#ie7 .main-navigation a div {
	padding-top: 7px;
}

#ie7 .page-navigation {
	padding-top: 5px;
}

#ie7 .site-footer {
	bottom: -52px;
}

#ie7 .site-footer .top {
	width: auto;
	height: 19px;
}

#ie7 #primary .frontpost .readmore a {
	height: 17px;
}

.main-navigation a {
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	width: 106px;
	height: 57px;
	display: table-cell;
	vertical-align: middle;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 5px;
}

.main-navigation a div {
	padding-top: 4px;
}

.main-navigation ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: 0;
	z-index: 99999;
	display: none !important;
}

.main-navigation ul ul ul {
	left: 100%;
	top: 0;
	display: none;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
}

.main-navigation li:hover > a {
	opacity: 0.95;
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	display: block;
}

.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

.main-navigation li.current_page_item:hover a,
.main-navigation li.current-menu-item:hover a {
	opacity: 1;
}

/* Small menu */
.menu-toggle {
	cursor: pointer;
}

/* =Content
----------------------------------------------- */

.sticky {
}

.hentry {
	margin: 0 0 1.5em;
}

.entry-meta {
	font-size: 12px;
	font-size: .857142857em;
	font-style: italic;
	color: #777;
	clear: both;
	margin: 0 0 1.5em 0;
}

.byline {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.entry-content,
.entry-summary {

}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.entry-title {
	font-size: 48px;
	font-size: 3.428571429rem;
	line-height: 1;
	color: #3a5e96;
	margin: 0.3em 0 0.5em 0;
}

.entry-slider {
	margin-bottom: 1.5em;
}

.featured-thumbnail {
	margin-bottom: 1.0em;
	width: 100%;
	height: auto;
}

.entry-excerpt {
	font-size: 20px;
	font-size: 1.428571429rem;
	line-height: 1.5;
	letter-spacing: 0.1em;
	font-family: "ff-dax-web-pro", sans-serif;
	color: #3a5e96;
	border-bottom: 2px solid #3a5e96;
	margin-bottom: 1.0em;
}

.entry-excerpt p {
	margin-bottom: 0.5em;
}

.social-buttons {
	margin-bottom: 0.5em;
}

.social-buttons span {
	min-height: 2.5em;
}

.entry-content {
	font-size: 13px;
	font-size: .928571429rem;
	line-height: 1.5;
}

/* =Frontpage
----------------------------------------------- */
#frontslider {
	padding: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: #fff;
	margin: 0 27% 20px 0;
}

#primary .frontpost {
	width: 32.5%;
	float: left;
	margin-right: 1.2%;
	position: relative;
	min-height: 300px;
	padding: 10px;
}

#primary .frontpost.last {
	margin-right: 0;
}

#primary .frontpost .entry-title {
	margin: 0;
	color: #3a5e96;
	font-size: 19px;
	font-size: 1.357142857rem;
	line-height: 1;
	letter-spacing: 0.01em;
}

#primary .frontpost .entry-title a {
	margin: 0;
	color: #3a5e96;
	font-size: 21px;
	font-size: 1.142857143rem;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;

}

#primary .frontpost .entry-title a:hover {
	text-decoration: underline;
}

#primary .frontpost .readmore {
	text-align: right;
	position: absolute;
	bottom: 14px;
	right: 10px;
}

#primary .frontpost .readmore a {
	background: #3a5e96 url('images/read-more-bg2.png') no-repeat 0 0;
	color: #fff;
	font-size: 12px;
	font-size: 0.8em;
	padding-top: 7px;
	line-height: 1;
	text-decoration: none;
	width: 72px;
	height: 24px;
	display: inline-block;
	text-align: center;
}

#primary .frontpost .readmore a:hover {
	opacity: 0.95;
	filter: alpha(opacity=95);
	text-decoration: none;
}

#primary .frontpost img {
	width: 100%;
	height: auto;
	-webkit-border-top-left-radius: 7px;
	-webkit-border-top-right-radius: 7px;
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-topright: 7px;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

#primary .frontpost p {
	font-size: 12px;
	font-size: 0.85714286rem;
	line-height: 1.5;
	min-height: 55px;
}

/* =Custom Post Types
----------------------------------------------- */

.single-ai1ec_event .entry-meta {
	display: none;
}

/* =Search
----------------------------------------------- */
.search-results .page-title {
	font-size: 48px;
	font-size: 3.428571429rem;
	line-height: 1;
	color: #3a5e96;
	margin: 0.3em 0 0.5em 0;
}

.search-results .entry-title {
	font-size: 32px;
	font-size: 2.285714286rem;
}

/* =Timeline
----------------------------------------------- */
.timeliner-wp {
	margin: 50px 0;
}

/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/* =Widgets
----------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
	color: #ffead2;
}

.widget-area .widget {
	word-wrap: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	margin-bottom: 20px;
	margin-bottom: 1.428571429rem;
	overflow: visible;
}

/* Search widget */
#searchsubmit {
}

/* Primary widgets */
#secondary .widget {
	font-size: 16px;
	font-size: 1.142857143rem;
	font-family: "ff-dax-web-pro", sans-serif;
	letter-spacing: .1em;
	background: #fff;
	color: #444;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#secondary .widget > * {
	padding: 0 9px 10px;
}

#secondary .widget-title {
	font-size: 16px;
	font-family: "ff-dax-web-pro", sans-serif;
	font-weight: normal;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
	background: url("/wp-content/uploads/2012/04/menubg-blue.png") top center;
	color: #fff;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
	padding: 0.7em 0.5em 0.5em 0.5em;
}

#secondary .widget p {
	margin: 0.3em 0;
	padding: 0 0 0 10px;
}

#secondary .widget ul {
	list-style: none;
	padding: 0;
	margin: 0.5em 0 0 0;
}

#secondary .widget ul ul {
	margin: 0 0 0 20px;
}

#secondary .widget ul li:hover > ul {

}

#secondary .gksm-custom-menu-widget a {
	display: block;
	text-decoration: none;
	padding: 0.7em 0.6em 0.6em 0.6em;
	line-height: 1;
}

#secondary .gksm-custom-menu-widget a:hover {
	background: url('images/widget-links-bg.png') no-repeat 100% 45%;
	color: #3a5e96;
}

#secondary .gksm-custom-menu-widget a:active {
	/*background: url('images/widget-links-bg-dark.png') no-repeat 100% 45%;*/
}

#secondary .gksm-custom-menu-widget li.current_page_ancestor > a {
	background: url('images/widget-links-bg-dark.png') no-repeat 100% 45%;
}

#secondary .gksm-custom-menu-widget li.current-menu-item > a {
	background: url('images/widget-links-bg.png') no-repeat 100% 45%;
}

#secondary .widget_ai1ec_agenda_widget {
	padding-bottom: 10px;
}

#secondary .ai1ec-agenda-widget-view .ai1ec-popup-summary-wrap {
}

/* Digitalt Museum style*/
#secondary #wcontainer {
	margin: 1em 8px;
}

#secondary #php_widget-8 {
	padding-bottom: 1px;
}

#secondary #wq {
	padding: 1em;
	width: 200px;
}

#secondary .witem {
	width: 80px !important;
	height: 80px !important;
	margin-right: 10px;
}

/* Bestill rom button */
#secondary #php_widget-9 {
	background: none;
	margin-bottom: 10px;
	margin-bottom: .714285714rem;
}

#secondary #image-3 .jetpack-image-container,
#secondary #php_widget-9 a {
	padding: 0;
	opacity: 0.9;
}

#secondary #php_widget-9 a:hover {
	background: none;
	opacity: 1;
}

#secondary #wcinner {
	padding: 20px 5px 0 5px;
}

/* Bestill billetter button */
#secondary #php_widget-10 {
	background: none;
	margin-bottom: 10px;
	margin-bottom: .714285714rem;
}

#secondary #image-3 .jetpack-image-container,
#secondary #php_widget-10 a {
	padding: 0;
	opacity: 0.9;
}

#secondary #php_widget-10 a:hover {
	background: none;
	opacity: 1;
}

/* Custom Menu 3.0 style */
#secondary .menu .sub-menu {
	display: none;
}

#secondary .menu .current_page_parent .sub-menu {
	display: block;
}

#secondary .menu .current_page_ancestor .sub-menu {
	display: block;
}

#secondary .menu .current-menu-item .sub-menu {
	display: block;
}

/* Mailchimp widget */
#ns_widget_mailchimp_form-2 {
	margin-top: .8em;
	font-size: 12px;
}

#ns_widget_mailchimp-email-2 {
	width: 100%;
	margin: .5em 0;
}

#ns_widget_mailchimp_form-2 .button {
	float: right;
	margin-bottom: 10px;
}

/* Footer widgets */
#tertiary {
	margin-top: 20px;
	margin-bottom: 20px;
}

#tertiary .widget {
	color: #fff;
	font-size: 11px;
	font-size: .785714286rem;
	line-height: 1.5;
	letter-spacing: .1em;
	float: left;
	width: 23%;
	margin: 0 2% 0 0;
}

#tertiary .widget p {
	margin-bottom: 0.6em;
}

#tertiary .widget ul li {
	line-height: inherit;
}

#tertiary .widget-title {
	font-size: 14px;
	font-size: 1rem;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
	color: #fff;
	font-weight: bold;
	font-family: "ff-dax-web-pro", sans-serif;
	letter-spacing: 1px;
	padding: 0.6em 0;
}

#tertiary .widget ul {
	list-style: none;
	margin: 0;
}

#tertiary .widget a {
	line-height: 1.8;
	color: #fff
}

#tertiary .royalSlider .royalSlide, #tertiary .royalSlider .royalWrapper {
	background: none;
}

#tertiary .contact-phone {
	background: url('images/contact-phone.png') no-repeat 0 50%;
	padding-left: 2em;
}

#tertiary .contact-mail {
	background: url('images/contact-mail.png') no-repeat 0 50%;
	padding-left: 2em;
}

#tertiary .contact-address {
	background: url('images/contact-address.png') no-repeat 0 50%;
	padding-left: 2em;
}

/* =Footer
----------------------------------------------- */

.site-footer .top {
	width: 100%;
	height: 40px;
	background: url('images/footer-top.png') no-repeat center #003f83;
	border-bottom: 5px solid #003f83;
	padding: 10px;
}

.site-footer {
	background: url('images/footer-bg.jpg') top;
	border-top: 5px solid #003f83 !important;
	position: absolute;
	bottom: 0;
	clear: both;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

.site-info {
	max-width: 980px;
	width: 100%;
	margin: 0 auto;
}

.footer-social {
	background: #fff;
	background: rgba(255, 236, 203, 0.2);
	float: left;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
	margin-left: 0;
	padding: 0.2em 0.7em;
}

.footer-social a {
	display: inline-block;
	width: 35px;
	height: 35px;
	margin: 0.2em .4em;
	text-indent: -9999px;
}

.footer-social a:hover {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.footer-social .facebook-link {
	background: url('images/facebook-icon.png') no-repeat 50% 50%;
}

.footer-social .twitter-link {
	background: url('images/twitter-icon.png') no-repeat 50% 50%;
}

.footer-social .youtube-link {
	background: url('images/youtube-icon.png') no-repeat 50% 50%;
}

.copy {
	text-align: left;
	padding: 0.81em 0;
	font-size: 10px;
	font-size: .714285714rem;
	color: #fff;
	float: left;
	margin: 1.4em 0 0 1%;
	width: 50%;
}

.site-info a {
	color: #fff;
	font-weight: bold;
}

/* =Imageslider
----------------------------------------------- */

.royalSlider .caption-black-text-block {
	width: 700px !important;
	height: 200px !important;
	font-family: "ff-dax-web-pro", sans-serif;
	font-weight: normal;
	letter-spacing: .1em;
	padding: 20px;

}

/* =Media
----------------------------------------------- */

.site-header img,
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

.site-header img,
.entry-content img,
img[class*="align"],
img[class*="wp-image-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

.site-header img,
.entry-content img,
img.size-full {
	max-width: 100%;
	margin: 10px;
}

.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption {
	border: 1px solid #ccc;
	max-width: 100%;
}

.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright {
	margin-bottom: 1.5em;
}

.wp-caption img {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.site-content .gallery {
	margin-bottom: 1.5em;
}

.gallery-caption {
}

.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}

.site-content .gallery dd {
	margin: 0;
}

.site-content .gallery-columns-4 .gallery-item {
}

.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* Fix for jQuery Colorbox. Doesn't support border-box */
#colorbox {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

/* To hide Vikingfestivalstuff */
.page-template-template-front-page .event-back-to-calendar {
	display: none;
}

.smart-calendar-day .smart-calendar-day-all .smart-calendar-event.category-25 {
	display: none;
}

#smart-calendar-day-11-juli-2015, #smart-calendar-day-12-juli-2015 {
	display: none;
}

/* =Pagination
----------------------------------------------- */

.pagination {
	clear: both;
	padding: 20px 0;
	position: relative;
	font-size: 11px;
	line-height: 13px;
}

.pagination span, .pagination a {
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 6px 9px 5px 9px;
	text-decoration: none;
	width: auto;
	color: #FFF;
	background: #373536
}

.pagination a:hover {
	color: #FFF;
	background: #3a5e96;
}

.pagination .current {
	padding: 6px 9px 5px 9px;
	background: #3a5e96;
	color: #FFF;
}

/* =Content Navigation
----------------------------------------------- */

.site-content .site-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.site-content .nav-previous {
	float: left;
	width: 50%;
}

.site-content .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* =Comments
----------------------------------------------- */

.bypostauthor {
}

.comments-area {
	padding: 40px;
	background: #fff;
	margin: 0 0 20px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#respond h3 {

}

/* Clearfix
----------------------------------------------- */

.group:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

.group {
	display: inline-block;
}

* html .group {
	height: 1%;
}

.group {
	display: block;
}

/* Text selection color
----------------------------------------------- */

::selection {
	/*background: #C70090; 
	color: #FFF;*/
}

::-moz-selection {
	/*background: #C70090; 
	color: #FFF;*/
}

/* Texthiding
----------------------------------------------- */

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

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

.rsDefaultInv .rsBullets {
	margin-top: -20px !important;
}

.rsDefaultInv .rsBullet.rsNavSelected span {
	background-color: #fff !important;
}

/* Media Queries
----------------------------------------------- */

@media only screen and (max-width: 1000px) {

	#site-header-inner {
		width: 100%;
		padding-right: 0;
	}

	.site-header #logo {
		margin-left: 0;
	}

	.site-header #home-link {
		margin: 0 auto;
	}

	.breadcrumbs {
		margin: 0 0 0 2em;
	}

	.header-searchform {
		margin-right: 1em;
	}

	.main-navigation {
		float: none;
		clear: both;
		width: 636px;
		margin: 0 auto;
		padding: 20px 0;
		display: flex;
		justify-content: center;
	}

	.site-main {
		max-width: 100%;
	}
}

@media only screen and (max-width: 800px) {

	.entry-title {
		font-size: 38px;
		font-size: 2.428571429rem;
		line-height: 1;
		color: #3a5e96;
		margin: 0.3em 0 0.5em 0;
	}

	#primary {
		width: 100%;
		float: none;
		clear: both;
	}

	.breadcrumbs {
		display: none;
	}

	#content {
		margin: 0;
	}

	#frontslider {
		margin: 0 0 20px 0;
	}

	#secondary {
		float: none;
		width: 100%;
	}

	.royalSlider .caption-black-text-block {
		width: 800px !important;
	}

	.site-footer .top {
		background-size: 100% auto;
	}

	#ai1ec-view-dropdown,
	#ai1ec-prev-page,
	#ai1ec-next-page,
	.ai1ec-calendar-title {
		display: none;
	}

	.ai1ec-agenda-view .ai1ec-date-title {
		float: none;
		width: auto;
		margin-left: 0 !important;
	}

}

@media (max-width: 640px) {

	.main-navigation {
		width: 100%;
	}
	.main-navigation .menu {
		list-style-type: none;
		margin: 0 4% 5%;
		float: left;
		width: 92%;
	}

	.main-navigation .menu li:first-child a {
		border-radius: 10px 10px 0px 0px;
	}

	.main-navigation .menu li:last-child a {
		border-radius: 0px 0px 10px 10px;
	}

	.main-navigation .menu #menu-item-2600 a {
		background: url(images/green-btn-bg.png) repeat scroll center top transparent;

	}

	.main-navigation .menu #menu-item-2603 a {
		background: url(images/orange-btn-bg.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-2672 a {
		background: url(images/yellow-btn-bg.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-2607 a {
		background: url(images/brown-btn-bg.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-2606 a {
		background: url(images/blue-btn-bg.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-5659 a {
		background: url(images/blue-btn-bg.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-6285 a {
		background: url(http://eggemuseum.no/wp-content/uploads/2012/04/menubg-orange.png) repeat scroll center top transparent;
	}

	.main-navigation .menu #menu-item-2602 a {
		background: url(images/sandal-btn-bg.png) repeat scroll center top transparent;
		color: #824d08;
	}

	.main-navigation .menu li {
		width: 100%;
		height: auto;
		padding: 0;
	}

	.main-navigation .menu li a:hover {
		opacity: 0.75;
	}

	.main-navigation .menu li a {
		opacity: 1;
		text-decoration: none;
		color: #fff;
		text-transform: uppercase;
		width: 625px;
		height: 48px;
		display: table-cell;
		vertical-align: middle;
		font-weight: bold;
		letter-spacing: 1px;
		padding: 5px 5px 5px 20px;
	}
}

@media only screen and (max-width: 550px) {

	body {
		padding: 0 0 790px;
	}

	.header-social {
		float: right;
		margin: 0 15px 0 0;
		padding-bottom: 10px;
	}

	.header-searchform {
		display: none;
	}

	#primary .frontpost {
		width: 100%;
		float: none;
		clear: both;
		margin: 0 0 20px 0;
		position: relative;
		min-height: 100%;
		padding: 10px;
	}

	#tertiary .widget {
		float: none;
		clear: both;
		width: 80%;
		min-height: auto;
		margin: 0 auto 20px auto;
	}

	.copy {
		clear: both;
		float: none;
		width: 65%;
		margin: 0 auto 20px auto;
		display: block;
	}

	.footer-social {
		width: 167px;
		display: block;
		float: none;
		margin: 0 auto;
	}

	#secondary .gksm-custom-menu-widget li.current-menu-item > a,
	#secondary .gksm-custom-menu-widget a:hover {
		background: url('images/widget-links-bg.png') no-repeat 0% 45%;
	}
}

   

/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		font-size: 10pt;
	}

	footer a[rel=bookmark]:link:after,
	footer a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}

	a {
		text-decoration: none;
	}

	.entry-content img,
	.comment-content img,
	#author-avatar img,
	img.wp-post-image {
		border-radius: 0;
		box-shadow: none;
	}

	.site {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}

	.site-header {
		margin-bottom: 72px;
		margin-bottom: 5.142857143rem;
		text-align: left;
	}

	.site-header h1 {
		font-size: 21pt;
		line-height: 1;
		text-align: left;
	}

	.site-header h2 {
		font-size: 10pt;
		text-align: left;
	}

	#author-avatar,
	#colophon,
	#respond,
	.commentlist .comment-edit-link,
	.commentlist .reply,
	.entry-header .comments-link,
	.entry-meta .edit-link a,
	.page-link,
	.site-content nav,
	.widget-area,
	img.header-image,
	.main-navigation {
		display: none;
	}

	.wrapper {
		border-top: none;
		box-shadow: none;
	}

	.site-content {
		float: left;
		margin: 0;
		width: 100%;
	}

	.site-content {
		margin: 0;
		width: auto;
	}

	.singular .entry-header .entry-meta {
		position: static;
	}

	.singular .site-content,
	.singular .entry-header,
	.singular .entry-content,
	.singular footer.entry-meta,
	.singular .comments-title {
		margin: 0;
		width: 100%;
	}

	.entry-header .entry-title,
	.entry-title,
	.singular .entry-title {
		font-size: 21pt;
	}

	footer.entry-meta,
	footer.entry-meta a {
		color: #444;
		font-size: 10pt;
	}

	#author-description {
		float: none;
		width: auto;
	}

	/* Comments */
	.commentlist > li.comment {
		background: none;
		position: relative;
		width: auto;
	}

	.commentlist .avatar {
		height: 39px;
		left: 2.2em;
		top: 2.2em;
		width: 39px;
	}

	.comments-area article header cite,
	.comments-area article header time {
		margin-left: 50px;
		margin-left: 3.57142857rem;
	}
}

@-moz-document url-prefix() {
	.main-navigation a {
		width: 96px;
	}
	#secondary .widget p {
		letter-spacing: 0.07em;
	}

}

/* =IE 7, 8 and 9
----------------------------------------------- */

#ie8 .site-header img,
#ie8 .entry-content img,
#ie8 img.size-full {
	width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

#primary #post-1721 {
	margin-right: 0 \9;
}

#primary .frontpost .entry-title a {
	font-size: 15px \9;
}

#primary .frontpost .entry-title {
	letter-spacing: 0.05px \9;
}

#secondary .widget p {
	letter-spacing: 0.07px \9;
}

#primary .frontpost {
	*width: 213px;
}

#secondary .widget .newsletterContainer {
	*padding-right: 0 !important;
}

@-moz-document url-prefix() {

	#secondary #wq {
		padding: 0 0 0 10px;
		margin-bottom: 5px;
	}
	#wcinner .winput {
		height: 24px !important;
	}
}

img[alt="tlf"], img[alt="epost"] {
	margin: 0 !important;
	float: none !important;
}

.accordion h3 {
	background: #FCE9C9;
	margin-bottom: 1px;
	color: #000;
	cursor: pointer;
}

.accordion h3:hover {
	background: #fddeaa;
}

.accordion div {
	background: #fffaf2;
	padding: 10px;
}

.rsMinW .rsGCaption {
	width: 100% !important;
	margin: 0 !important;
	padding: 20px !important;
	left: 0 !important;
	bottom: 0 !important;
}