/*  
Theme Name: Wikimedia Norge
Version: 1.0
Author: Pur Design
Author URI: http://www.purdesign.no
Description: Custom theme for Wikimedia Norge
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)i
*/

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-family: inherit;
	vertical-align: baseline;
}
em {
	font-style: italic;
}
/* 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;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
img, fieldset {
	border: 0;
}
/* set img max-width */
img {
	max-width: 100%;
	height: auto;
}
/* ie 8 img max-width */
@media \0screen {
  img { width: auto;}
}


/* =============================================================================
   Main elements
   ========================================================================== */

/* disable webkit text size adjust (for iPhone) */
html {
    -webkit-text-size-adjust: none;
}
body {
	font: 0.95em/150% "lato", Arial, Helvetica, sans-serif;
	font-weight: 300;
	color: #333;
	margin: 0;
	padding: 0 20px;
	background: #f8f9fa;
}
a {
    color: #333;
	text-decoration: underline;
}
a:hover,
a:focus {
	text-decoration: none;
}
p {
	margin: 0 0 1.3em 0;
	padding: 0;
}
strong {
	font-weight: bolder;
}
small {
	font-size: 87%;
}
blockquote {
	font: italic 110%/130% "Times New Roman", Times, serif;
	padding: 8px 30px 15px;
}
ul {
    list-style-type: disc;
    font-size: 1.1em;
}
ol {
    list-style-type: decimal;
    font-size: 1.1em;
}
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
    display: inline-block;
    text-align: left;
}
li ul, li ol {
    display: block;
    font-size: inherit;
}
#main ul,
#main ol {
    font-size: 1em;
    padding-top: 0;
    margin-top: -0.9em;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}
td {
	padding: 0 15px 0 0;
}
hr {
	border: none;
	border-top: 1px solid #ccc;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 5px 0 5px 0;
	font-weight: normal;
	display: block;
	clear: both;
    color: #2a4b8d;
}
h1 {
	font-size: 1.8em;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-top: 0;
    margin-bottom: 20px;
}
h2 {
	font-size: 1.5em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1em;
}
h6 {
	font-size: 1em;
}
/* Genericons */
.menu-toggle::before,
.menu-toggle::after,
#back-top.visible a::before,
.footer-icon::before,
body.home .archive-post-wrapper::before,
.cta-button a::after {
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: Genericons;
	text-decoration: inherit;
	font-size: inherit;
	line-height: inherit;
}
/* Form */
input, textarea, select, input[type=search], button {
	font-size: 1em;
	font-family: "lato", Arial, Helvetica, sans-serif;
	font-weight: inherit;
}
input[type=text], input[type=email], input[type=password], textarea, input[type=search], input[type=number], input[type=tel], select {
	background: #fff;
	border: 1px solid #a2a9b1;
	padding: 10px 20px;
	margin: 0;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	transition:color 100ms,border-color 100ms,box-shadow 100ms;
}
input[type=checkbox] {
	width: 20px;
	height: 20px;
	vertical-align: middle;
}
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=number], select {
	max-width: 83%;
}
textarea {
	line-height: 1.5em;
	max-width: 83%;
	height: auto;
}
textarea:focus, input[type=password]:focus, input[type=text]:focus, input[type=email]:focus, input[type=search]:focus, input[type=number]:focus, input[type=tel]:focus, select:focus {
	outline: 0;
	border-color:#36c;
	box-shadow:inset 0 0 0 1px #36c;
}
input[type=reset], input[type=submit], button {
	background: #36c;
	border:1px solid #36c;
	color: #fff;
	margin: 0;
	padding: 0.5em;
	cursor: pointer;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-weight: bold;
}
input[type=reset]:hover, input[type=submit]:hover, button:hover {
	background-color: #447ff5;
	border-color: #447ff5;
}
input[type=reset]:focus, input[type=submit]:focus, button:focus {
	box-shadow:inset 0 0 0 1px #3366cc, inset 0 0 0 2px #ffffff;
	outline-width: 0;
}
input[type=reset]:active, input[type=submit]:active, button:active {
	background-color: #2a4b8d;
	border-color: #2a4b8d;
	box-shadow: none;
}
.g-recaptcha div {
    margin: 20px 0;
}
.textleft .g-recaptcha div {
    margin: 20px 0;
}
.hide {
	position: absolute;
	left: -9999px;
}
#back-top {
    display: block;
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 100;
}
#back-top a {
    display: block;
    background: transparent;
    color: transparent;
    height: 60px;
    width: 60px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-align: center;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    font-size: 0;
    text-decoration: none;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}
#back-top.visible a {
    background: #ddd;
    color: #666;
}
#back-top.visible a::before {
    content: '\f432';	
    margin-top: 20px;
    font-size: 35px;	
}
#back-top.visible a:hover,
#back-top.visible a:focus {
    background-color: #666;
    color: #ddd;
}
.archive-post-wrapper {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 100%;
}


/* =============================================================================
   Structure
   ========================================================================== */
   
#branding,
#branding.sticky {
	padding: 80px 40px 30px 40px;
    border-bottom: 1px solid #ccc;
    position: relative;
    z-index: 999;
    background: #fff;
}
#main {
    overflow: hidden;
    padding: 20px;
    text-align: left;
    margin-top: 0;
    min-height: 200px;
}
body.home #main {
    padding-top: 0;
}
#content {
    padding: 0;
    max-width: 950px;
    margin: 0 auto;
}
body.home #content,
body.blog #content,
body.archive #content {
    max-width: 1200px;
}
#sidebar {
    padding: 30px;
}
#footer {
	padding: 20px 30px 30px 30px;
	clear: both;
}
.content-wrapper {
    max-width: 1840px;
    margin: 0 auto;
    background: #fff;
    overflow: auto;
    font-size: 1.1em;
    line-height: 1.5em;
}


/* =============================================================================
   Header
   ========================================================================== */

#site-title {
	padding: 0;
	margin: 0;
	text-indent: -9999px;
}
#site-title a {
	display: block;
	width: 140px;
	height: 105px;
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/d/d0/Wikimedia_Norge-logo_svart_nb.svg');
    background-size: 140px 105px;
    background-repeat: no-repeat;
    margin: 0 auto;
    -webkit-transition: width 0.4s, height 0.4s, background-size 0.4s;
    -moz-transition: width 0.4s, height 0.4s, background-size 0.4s;
    transition: width 0.4s, height 0.4s, background-size 0.4s;
}
html[lang=nn-NO] #site-title a {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/d/d0/Wikimedia_Norge-logo_svart_nn.svg');
}
html[lang=se-NO] #site-title a {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/5/53/Wikimedia_Norge-logo_svart_se.svg');
}
html[lang=sma-NO] #site-title a {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/81/Wikimedia_Norge-logo_svart_sma.svg');
}
html[lang=fkv-NO] #site-title a {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/c/c8/Wikimedia_Norge-logo_svart_fkv.svg');
}
html[lang=smj-NO] #site-title a {
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/0/03/Wikimedia_Norge-logo_svart_sje-smj.svg');
}
/* Retina logo */
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {
#site-title a {
    background-size: 140px 105px;
  }
}
#site-description {
    color: #333;
    font-size: 1em;
    text-align: center;
    margin-top: 10px;
}
/* Navigation */
.primary-navigation {
	margin: 0;
	padding: 0;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    background: #fff;
    position: fixed;
    top: 40px;
    left: 0;
    border-bottom: 1px solid #36c;
}
.primary-navigation .nav-menu {
	display: block;
	text-align: center;
    margin: 0;
    margin-top: -700px;
    padding: 10px 15px 15px 15px;
    overflow: hidden;
    -webkit-transition: margin-top 0.4s ease;
    -moz-transition: margin-top 0.4s ease;
    transition: margin-top 0.4s ease;
}
.primary-navigation .nav-menu.toggled-on {
    margin-top: 0;
}
.primary-navigation li {
    display: block;
    margin: 0;
}
.primary-navigation a {
    display: inline-block;
    padding: 5px 1px;
    margin: 15px 5px 0 5px;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}
.primary-navigation li a:hover,
.primary-navigation li a:focus,
.primary-navigation li.current_page_item a,
.primary-navigation li.current-menu-item a,
.primary-navigation li.current-menu-parent a,
.primary-navigation li.current_page_parent a {
    border-bottom: 3px solid #36c;
}
.primary-navigation .donation a {
    background: #36c;
    color: #fff;
    padding: 7px 10px 3px 10px;
    -webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
    font-weight: normal;
    font-size: 0.9em;
}
.primary-navigation .donation a:hover,
.primary-navigation .donation a:focus {
    background: #447ff5;
}
.primary-navigation .lang-item a {
    font-weight: normal;
    font-size: 0.75em;
    letter-spacing: 1.5px;
    padding: 0;
}
.menu-toggle {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 33px;
	background-color: #36c;
	cursor: pointer;
	font-size: 0;
	margin: 0;
	padding: 12px 0 0 0;
	overflow: hidden;
	text-align: center;
	color: #fff;
    vertical-align: top;
}
.menu-toggle::before {
    content: 'Meny';
	margin: -2px 0 0 0;
	font-size: 20px;
    vertical-align: top;
}
.menu-toggle:lang(en)::before {
    content: 'Menu';
}
.menu-toggle::after {
	content: '\f419';
	margin: 0 0 0 12px;
	font-size: 22px;
    vertical-align: top;
}
.menu-toggle.active::after {
	content: '\f406';
}
.menu-toggle:active,
.menu-toggle:focus,
.menu-toggle:hover {
	background-color: #447ff5;
}


/* =============================================================================
   Content
   ========================================================================== */
   
img.alignleft, img.aligncenter, img.alignright, img.alignnone {
	margin-bottom: 15px;
}
.alignleft {
	float: left;
	margin-right: 15px;
}
.alignright {
	float: right;
	margin-left: 15px;
}
.aligncenter {
	text-align: center;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignnone {
	margin-right: 15px;
}
/* Post */
.post-title a {
    text-decoration: none;
    color: #2a4b8d;
}
body.blog .post-title a,
body.archive .post-title a {
    background: #f4f4f4;
    font-size: 0.9em;
    padding: 5px 10px;
}
.post {
	margin-bottom: 50px;
}
/* post content */
.post-content {
	min-width: 120px;
}
/* post image */
.post-image {
	margin: 0 0 5px;
}
.post-image.left {
	float: left;
	margin-right: 15px;
}
.post-image.right {
	float: right;
	margin-left: 15px;
}
/* post meta */
.post-meta {
	margin: -5px 0 15px 0;
}
.post-meta a {
    margin-left: 15px;
}
.post-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 15px;
}
.post-video iframe,  
.post-video object,  
.post-video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.archive-link,
.read-more-link,
.more-link {
    text-decoration: none;
    color: #36c;
    font-weight: bolder;
    display: block;
}
.archive-link:hover,
.read-more-link:hover,
.more-link:hover,
.archive-link:focus,
.read-more-link:focus,
.more-link:focus {
	text-decoration: underline;
}
.read-more-link,
.more-link {
    margin-top: 10px;
}


/* =============================================================================
   Page navigation
   ========================================================================== */
   
.pagenav {
	clear: both;
	text-align: center;
}
.pagenav a,
.pagenav span {
	display: inline-block;
    box-sizing: border-box;
	height: 30px;
	width: 30px;
    padding-top: 3px;
	text-align: center;
    margin: 0;
    border: 1px solid #fff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
    color: #36c;
	text-decoration: none;
}
.pagenav .current,
.pagenav a:hover,
.pagenav a:focus {
    border: 1px solid #36c;
}


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

.commentwrap {
	margin: 40px auto 20px auto;
	position: relative;
	clear: both;
    max-width: 650px;
}
/* comment pagenav */
.commentwrap .pagenav {
	margin: 10px 0;
	border: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}
.commentwrap .pagenav.top {
	margin: 0;
	position: absolute;
	top: 10px;
	right: 0;
}
/* commentlist */
.comment-title {
    line-height: 3em;
}
.commentlist {
	margin: 0 0 30px;
	padding: 5px 0 0;
	border-top: solid 1px #ddd;
    text-align: left;
    display: block;
}
.commentlist li {
	margin: 0;
	padding: 15px 0 0;
	list-style: none;
	position: relative;
}
.commentlist .comment-author {
	margin: 2px 0 5px;
	padding: 0;
}
.commentlist .avatar {
	float: left;
	margin: 0 15px 0 0;
}
.commentlist cite {
	font-style: normal;
	font-size: 130%;
}
.commentlist cite a {
	text-decoration: none;
}
.commentlist .comment-time {
	font-size: 75%;
	text-transform: uppercase;
}
.commentlist .commententry {
	border-bottom: solid 1px #ddd;
	position: relative;
	min-height: 40px;
	overflow: hidden;
    padding: 0 0 5px 63px;
	word-wrap: break-word;
}
.commentlist ul, .commentlist ol {
	margin: 0 0 0 7%;
	padding: 5px 0 0;
    display: block;
    font-size: 1em;
}
.commentlist ul li {
    margin-top: 15px;
}
/* reply link */
.commentlist .reply {
	position: absolute;
	right: 0;
	top: 8px;
}
.commentlist .comment-reply-link {
	font-size: 11px;
	text-transform: uppercase;
	text-decoration: none;
}
.commentlist .comment-reply-link:hover,
.commentlist .comment-reply-link:focus {
	text-decoration: none;
}
/* Comment form */
#respond {
	margin: 0;
	padding: 10px 0 0;
	position: relative;
	clear: both;
}
#respond #cancel-comment-reply-link {
	position: absolute;
	top: 20px;
	right: 0;
	font-size: 85%;
	line-height: 100%;
	text-decoration: none;
	padding: 5px 10px;
	display: block;
	color: #fff;
	background: #F30;
}
#respond #cancel-comment-reply-link:hover,
#respond #cancel-comment-reply-link:focus {
	background: #333;
}
#commentform {
	margin: 15px 0 0;
}
#commentform input[type=text] {
	max-width: 206px;
	margin-right: 15px;
}
#commentform textarea {
	height: 140px;
}


/* =============================================================================
   Front page
   ========================================================================== */

div.nivo-caption {
    font-family: "lato", Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-style: italic;
    color: #333 !important;
    background: #fff !important;
    text-align: center;
    opacity: 1;
    position: relative;
    padding: 5px 50px;
}
div.nivo-caption a:link,
div.nivo-caption a:visited,
div.nivo-caption a:active {
    color: #333 !important;
    text-decoration: none;
}
div.nivo-caption a:hover {
    color: #333 !important;
    text-decoration: underline;
}
.front-page-statement {
    background: #ddd;
    width: 100%;
    height: 220px;
    overflow: hidden;
    text-align: center;
}
.front-page-statement .so-widget-sow-editor {
    display: block;
    width: 340px;
    margin: -60px auto 0 auto;
    position: static;
}
.front-page-statement .textwidget {
    background: #fff;
    width: 340px;
    height: 340px;
    -webkit-border-radius: 170px;
	-moz-border-radius: 170px;
	border-radius: 170px;
    display: table-cell;
    vertical-align: middle;
}
.front-page-statement h1 {
    text-transform: none;
    letter-spacing: none;
    color: #333;
    font-size: 1.5em;
    margin: 4px 0 0 0;
    padding: 8px;
}
.cta-button a {
    height: auto;
    line-height: 1.4em;
    font-weight: normal;
    margin: 30px 0;
    position: relative;
    z-index: 1;
    text-align: left !important;
    padding: 35px 45px !important;
}
.cta-button a::after {
    content: '\f449';
    font-size: 9em;
    color: #36c;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    display: block;
    position: absolute;
    bottom: -11px;
    right: 5px;
    z-index: -1;
}
.cta-button-grey a::after {
    color: #f4f4f4;
}
.events-widget {
    font-size: 0.9em;
    text-align: center;
    min-height: 150px;
}
.events-widget .widget-title {
    margin-bottom: -15px;
}
.eo-events-widget p {
    margin: 3px 0;
}
.eo-events-widget a {
    color: #2a4b8d;
    text-decoration: none;
    font-weight: bolder;
}
.eo-events-widget a:hover,
.eo-events-widget a:focus {
    text-decoration: underline;
}
.eo-events-widget h4 {
    margin-top: 30px;
}
.eo-events-widget h4 a {
    color: #333;
    font-weight: normal;
}
.eo-events-widget h4 a:hover,
.eo-events-widget h4 a:focus {
    color: #36c;
    text-decoration: none;
}
.eo-no-events {
    padding-top: 20px;
}
body.home .archive-post-wrapper:nth-child(3),
body.home .archive-post-wrapper:nth-child(4) {
    display: none;
}
body.home .archive-post-wrapper::before {
    content: '\f449';
    font-size: 1.9em;
    color: #ccc;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
    position: absolute;
    margin-right: -12px;
    right: 50%;
    bottom: 12px;
}
body.home .sticky-post .archive-post-wrapper::before {
    content: none;
}
body.home .so-panel.panel-first-child {
    margin-bottom: 0 !important;
}
body.home .archive-post-wrapper .post-title {
    font-size: 1.4em;
    text-transform: none;
    letter-spacing: none;
    margin-bottom: 9px;
}


/* =============================================================================
   Event Organiser
   ========================================================================== */

.eventorganiser-event-meta {
    border-top: none;
    border-bottom: none;
}
.eo-event-meta {
    list-style-type: none;
    margin: -15px 0 15px 0;
    display: block;
}
.eo-event-meta li {
    margin: 0;
}


/* =============================================================================
   Give plug-in
   ========================================================================== */

.summary {
    width: 100% !important;
}


/* =============================================================================
   Sidebar
   ========================================================================== */

#sidebar a {
	color: #fff;
}
#sidebar .widget,
#footer .widget {
	margin: 0;
    padding: 12px 0;
	word-wrap: break-word;
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 0 0;
	list-style: none;
	clear: both;
}
.widget ul ul {
	margin: 6px 0 -6px 0px;
	padding: 0;
	border-top: none;
}
.widget ul ul li {
	margin: 0;
	padding-left: 10px;
}
.widgettitle,
.widget-title {
    text-transform: uppercase;
    letter-spacing: 0.2px;
    color: #2a4b8d;
    font-size: 1.2em;
    margin: 0 0 12px 0;
}
body.home .widget-title {
    font-size: 1.5em;
}
.widgettitle a,
.widget-title a {
    color: #36c;
    text-decoration: none;
}
.widgettitle a:hover,
.widgettitle a:focus,
.widget-title a:hover,
.widget-title a:focus {
    text-decoration: underline;
}


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

#supplementary {
	overflow: hidden;
}
#supplementary ul,
#supplementary ol {
	text-align: center;
}
/* One Footer Widget Areas */
#supplementary.one .widget-area {
	text-align: center;
}
#supplementary.two .widget-area + .widget-area {
	margin-right: 0;
}
/* Two Footer Widget Areas */
#supplementary.two .widget-area {
	float: left;
	margin-right: 3.7%;
	width: 48.1%;
}
#supplementary.two .widget-area + .widget-area {
	margin-right: 0;
}
/* Three Footer Widget Areas */
#supplementary.three .widget-area {
	float: left;
	margin-right: 3.7%;
	width: 30.85%;
}
#supplementary.three .widget-area + .widget-area + .widget-area {
	margin-right: 0;
}
/* Footer icons */
.footer-icon {
    display: inline-block;
    color: #fff;
    background-color: #36c;
    -webkit-border-radius: 25px;
	-moz-border-radius: 25px;
	border-radius: 25px;
    height: 50px;
    width: 50px;
    padding: 0;
    margin: 3px 5px 3px 5px;
    text-decoration: none;
    font-size: 0;
    text-align: center;
}
.footer-icon:hover,
.footer-icon:focus {
    background-color: #447ff5;
}
.footer-icon::before {
    font-size: 22px;
    margin-top: 15px;
}
.footer-icon.facebook::before {
    content: '\f204';
}
.footer-icon.instagram::before {
    content: '\f215';
    margin-left: 1px;
}
.footer-icon.youtube::before {
    content: '\f213';
    margin-left:1px;
}
.footer-icon.twitter::before {
    content: '\f202';
    margin-left: 1px;
}
.footer-icon.blog::before {
    content: '\f205';
    margin-left: 1px;
}
.footer-icon.linkedin::before {
    content: '\f208';
    margin-left:1px;
}
/* Footer menu */
#footer ul li {
    display: inline-block;
    margin: 0 8px;
    padding: 0;
}


/* =============================================================================
   Clear and alignment
   ========================================================================== */

.clear {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.textleft {
	text-align: center;
}
.textright {
	text-align: center;
}
.textcenter {
	text-align: center;
}
/* clearfix */
.clearfix::after, .widget li::after, #main::after, #footer::after, footer::after, .pagenav::after, #main-nav::after, .menu::after, .gallery::after, #content::after
{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix, .widget li, #main, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: inline-block; }
/* clearfix for ie7 */
.clearfix, .widget li, #main, #footer, footer, .pagenav, #main-nav, .menu, .gallery, #content
{ display: block; zoom: 1; }


/* =============================================================================
   Media queries
   ========================================================================== */

@media all and (min-width: 780px) {
    body {
    	padding: 0 2%;
    }
    /* Main elements */
    #back-top {
        display: none;
    }
    .archive-post-wrapper {
        width: 49.5%;
        box-sizing: border-box;
    }
    .archive-post-wrapper:nth-child(even) {
        padding: 0 0 0 25px;
    }
    .archive-post-wrapper:nth-child(odd) {
        padding: 0 25px 0 0;
        clear: left;
    }
    .sticky-post .archive-post-wrapper {
        width: 100%;
    }
    .sticky-post .archive-post-wrapper:nth-child(even),
    .sticky-post .archive-post-wrapper:nth-child(odd) {
        padding: 0;
    }
    body.archive .archive-post-wrapper:nth-child(odd),
    body.blog .archive-post-wrapper:nth-child(odd) {
        padding: 0 0 0 25px;
    }
    body.archive .archive-post-wrapper:nth-child(even),
    body.blog .archive-post-wrapper:nth-child(even) {
        padding: 0 25px 0 0;
        clear: left;
    }
    /* Structure */
    #branding {
        padding: 30px 2% 20px 2%;
        position: fixed;
        width: 92%;
    }
    #branding.sticky {
        padding: 8px 1.5% 8px 1.5%;  
        position: fixed;
        width: 93%;
    }
    #main {
        padding: 40px 30px;
        margin-top: 134px;
    }
    body.page-template-page-with-sidebar #content {
        width: 71%;
        float: left;
        padding: 0 2%;
        text-align: left;
    }
    body.page-template-page-with-sidebar #sidebar {
        width: 18%;
        float: right;
        text-align: left;
    }
    /* Header */
    #site-title a {
        width: 313px;
        height: 70px;
        background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/6a/Wikimedia_Norge-logo_svart_horisontal_nb.svg');
        background-size: 313px 70px;
        margin: 0;
    }
    html[lang=nn-NO] #site-title a {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/48/Wikimedia_Norge-logo_svart_horisontal_nn.svg');
    }
    html[lang=se-NO] #site-title a {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/85/Wikimedia_Norge-logo_svart_horisontal_se.svg');
    }
    html[lang=sma-NO] #site-title a {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1b/Wikimedia_Norge-logo_svart_horisontal_sma.svg');
    }
    html[lang=smj-NO] #site-title a {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/8/86/Wikimedia_Norge-logo_svart_horisontal_sme-smj.svg');
    }
    html[lang=fkv-NO] #site-title a {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/9f/Wikimedia_Norge-logo_svart_horisontal_fkv.svg');
    }
    /* Retina logo */
    @media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
    only screen and (-moz-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min-device-pixel-ratio: 1.5) {
    #site-title a {
        background-size: 313px 70px;
      }
    }
    /* Sticky header logo */
    #branding.sticky #site-title a {
        width: 156px;
        height: 35px;
        background-size: 156px 35px;
    }
    /* Retina logo */
    @media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
    only screen and (-moz-min-device-pixel-ratio: 1.5),
    only screen and (-o-min-device-pixel-ratio: 3/2),
    only screen and (min-device-pixel-ratio: 1.5) {
    #branding.sticky #site-title a {
        background-size: 156px 35px;
      }
    }
    #site-description {
        font-size: 1.1em;
        float: left;
        text-align: left;
        margin-top: -48px;
        margin-left: 320px;
    }
    /* Sticky header site description */
    #branding.sticky #site-description {
        display: none;
    }
    /* Navigation */
    .primary-navigation {
        width: auto;
        background: none;
        position: static;
        border-bottom: none;
        float: right;
        margin-top: 0px;
    }
    #branding.sticky .primary-navigation {
        font-size: 0.9em;
        margin-top: -30px;
        margin-left: 156px;
    }
    .primary-navigation .nav-menu {
        height: auto;
        font-size: inherit;
        padding: 0;
        margin-top: 0;
    }
    .primary-navigation li {
        display: inline-block;
    }
    .primary-navigation a {
        margin: 0 0 0 25px;
    }
    .primary-navigation .donation a {
        position: absolute;
        top: 0;
        right: 30px;
        margin: 0 0 0 20px;
        -webkit-border-bottom-right-radius: 8px;
        -moz-border-bottom-right-radius: 8px;
        border-bottom-right-radius: 8px;
        -webkit-border-bottom-left-radius: 8px;
        -moz-border-bottom-left-radius: 8px;
        border-bottom-left-radius: 8px;
        -webkit-border-top-right-radius: 0;
        -moz-border-top-right-radius: 0;
        border-top-right-radius: 0;
        -webkit-border-top-left-radius: 0;
        -moz-border-top-left-radius: 0;
        border-top-left-radius: 0;
        font-weight: 600;
    }
    #branding.sticky .primary-navigation .donation a {
        position: static;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
    .primary-navigation .lang-item a {
        position: absolute;
        top: 8px;
        padding: 0;
        margin: 0 0 0 15px;
    }
    .primary-navigation .lang-item-nb a {
        right: 215px;
    }
    .primary-navigation .lang-item-nn a {
        right: 215px;
    }
    .primary-navigation:lang(en) .lang-item-nn a {
        right: 140px;
    }
    .primary-navigation .lang-item-en a {
        right: 140px;
    }    
    #branding.sticky .primary-navigation .lang-item a {
        display: none;
    }
    .menu-toggle {
        right: -60px;
        top: -60px;
        height: 0;
        width: 0;
    }
    /* Front page */
    div.nivo-caption {
        text-align: left;
    }
    .front-page-statement {
        background: none;
        width: auto;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        display: block;
    }
    .front-page-statement .so-widget-sow-editor {
        margin: -14% 150px 0 0;
    }
    body.home .archive-post-wrapper:nth-child(3),
    body.home .archive-post-wrapper:nth-child(4) {
        display: inline-block;
    }
    body.home .archive-post-wrapper:nth-child(odd)::before {
        right: -15px;
        bottom: 55%;
        margin-right: 0;
    }
    body.home .archive-post-wrapper:nth-child(even)::before {
        right: -9999px;
    }
}

@media all and (min-width: 1025px) {
    .front-page-statement .so-widget-sow-editor {
        margin-top: -6%;
    }
    .cta-button a {
        height: 180px;
        margin-top: 0;
        display: table-cell !important;
        vertical-align: middle !important;
        padding: 20px 65px !important;
    }
    /* Clear and alignment */
    .textleft {
        text-align: left;
    }
    .textright {
        text-align: right;
    }
    .textleft .g-recaptcha div {
        margin: 20px 0;
    }
}

@media all and (max-width: 340px) {
    .front-page-statement .so-widget-sow-editor {
        width: 280px;
        margin-top: -30px;
    }
    .front-page-statement .textwidget {
        width: 280px;
        height: 280px;
        -webkit-border-radius: 140px;
        -moz-border-radius: 140px;
        border-radius: 140px;
    }
}

/* Visning for språkwidgeten */
.spraakwidget {
	text-align: center;
}
.spraakwidget ul {
	list-style-type: none;
}
.spraakwidget ul li {
	display: inline-block;
	padding: 0 0.5em;
	font-size: 90%;
	text-transform: uppercase;
	font-weight: bold;
}
.spraakwidget ul li a {
	text-decoration: none;
	color: #333;
	border-bottom: 2px solid transparent;
}
.spraakwidget ul li a:hover {
	border-bottom: 2px solid #36c;
}

/* Mindre tekst for bildebeskrivelser */
.wp-caption-text {
	font-size: 90%;
}

/* Overstyrer element style width på bilder med caption */
.wp-caption {
    width: 100% !important;
}