@import url(https://fonts.googleapis.com/css?family=Maven+Pro:400,700,500);

/*
Theme Name: Niels Wessel Bagges Kunstfond
Theme URI: 
Author: Codepress
Author URI: http://codepress.dk
Description: 
Version: 1.0


/* =Reset
-------------------------------------------------------------- */

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%;
	vertical-align: baseline;
}
body {
	line-height: 1;

	font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
}
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;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	text-transform: uppercase;
	color: #1b1c1f;
}
html {
	overflow-y: scroll;
	font-size: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
a:focus {
	outline: thin dotted;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
	display: block;
}
audio,
canvas,
video {
	display: inline-block;
}
audio:not([controls]) {
	display: none;
}
del {
	color: #333;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;
}
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	top: -0.5em;
}
sub {
	bottom: -0.25em;
}
small {
	font-size: smaller;
}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;
}

/* Clearing floats */
.clear:after,
.wrapper:after,
.format-status .entry-header:after {
	clear: both;
}
.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after,
.format-status .entry-header:before,
.format-status .entry-header:after {
	display: table;
	content: "";
}

/* GENERAL STYLS */
a { text-decoration:none; color:#848a8b; }
a:hover { color:#314672; }
h1 { font-weight: normal; }
.billedslider .caption {
	margin-top: 5px;
}
.caption {
	display: block;
	font-size: 11px;
	color: #b0b0b0;
	margin: -5px 0 10px;
	float: right;
}

/* PAGE */
#page {
	font-family: 'Maven Pro', sans-serif;
	width:940px; margin:0 auto;
}

/* HEADER */
#masthead {
	position:relative; overflow:hidden; height:88px;
	padding-bottom:20px;
}
.logo {
	width: 161px;
	height: 70px;
	display: block;
}
.logo img {
	width: 100%;
	height: auto;
}
.main-navigation { position:absolute; right:0; bottom:18px; line-height: 1em; }
.main-navigation ul.nav-menu li { display: inline-block; padding-left:20px; }
.main-navigation ul.nav-menu li a { font-weight:500; text-transform:uppercase; }
.main-navigation ul.nav-menu li.current-menu-item a, .main-navigation ul.nav-menu li.current-page-ancestor a { color:#314672; }
.site-title { margin:20px 0; }

/* FOOTER */
#colophon { margin-top:30px; position:relative; overflow:hidden; font-size:12px; color: #848a8b; margin-bottom:20px;}
.site-info { float:left; }
.made-by { float:right; }

/* CONTENT */
#primary { position:relative; overflow:hidden; }
#primary.with-top-border { border-top:1px solid #f5f5f5;}
.single .with-top-border, .page-template-page-templatesarticle-php .with-top-border { padding-top: 19px; }
.archive-title, .entry-title { font-size:30px; margin: 18px 0 13px; }
#content { float:left; width:620px; }
#content.article-content h1 { text-transform: none; font-size: 60px; margin:10px 0; }
#content p { margin-bottom:20px; line-height: 20px; color:#848a8b; }
#content p b, 
#content p strong { color: #000; }
#sidebar { float:right; width:300px; }
#sidebar h3 { margin:16px 0 10px;}
#sidebar h3 a, #sidebar h3 { color: #000; }
#sidebar h3 a:hover { color: #314672; }
#sidebar ul { font-size:13px; line-height: 24px; }
#sidebar ul li.current_page_item > a { font-weight:bold; color:#314672; }
#sidebar ul.children li a { padding-left:10px; border-left:1px solid #848a8b;}
#sidebar .widget { margin-bottom: 20px; }
#sidebar .sidebar-box { padding:1px 10px 10px 10px; background: #E6E6E6 url(images/box_corner.png) no-repeat top right; position: relative; overflow: hidden; }
#sidebar .sidebar-box a { color: #314672; }
#sidebar .sidebar-box a:hover { color: #848A8B; }
#sidebar .sidebar-box h3 a { color: #000; }
#sidebar .sidebar-box.blue { background-color: #314672; color: #fff;}
#sidebar .sidebar-box.blue a { color: #fff; }
#sidebar .sidebar-box.blue a:hover { color: #848A8B; }
#sidebar .sidebar-box.blue h3 { color: #fff; }
#sidebar .sidebar-box h3 { color: #000; }

/* BILLEDSLIDER */
.billedslider { height:auto; margin-bottom:20px; }
.home #billedslider { width: 940px; }
.home #billedslider .royalWrapper { height:auto; /* 380px */ }
.royalSlide {
	height: auto !important;
}
.royalImage {

}
.page-template-page-templatesarticle-php #billedslider, .single #billedslider { width: 620px; height: auto; }
.page-template-page-templatesarticle-php #billedslider .royalWrapper, .single #billedslider .royalWrapper { height:auto; /* 320px */ }
#owlSlider .image_text { 
	display:block; 
	position:absolute; 
	left:0;
	right:0;
	bottom:0;
	text-align:center;
	text-transform: uppercase;
	color: #fff;
	font-size: 50px;
	padding: 18px 0 22px 0;
	background: rgba(0,0,0,0.2);
}

#owlSlider {
	position: relative;
	margin-bottom: 40px;
}

#owlSlider img {
	width: 100%;
	height: auto;
}
#owlSlider:hover .owl-controls .owl-buttons {
	opacity: 1;
}
.owl-controls {
	position: absolute;
	top: 50%;
	width: 100%;
	bottom: 0px;
}
.owl-controls .owl-pagination {
	position: absolute;
	bottom: -21px;
	width: 100%;
	background: #314672;
	text-align: center;
}
.owl-controls .owl-buttons {
	opacity: 0;
}
.owl-controls .owl-pagination .owl-page {
	width: 15px;
	height: 15px;
	display: inline-block;
	margin: 4px 4px 5px 4px;
}

.owl-controls .owl-pagination .owl-page span {
    width: 15px;
    height: 15px;
    display: inline-block;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    outline: 0px;
}
.owl-controls .owl-pagination .owl-page.active span {
	width: 15px;
	height: 15px;
	border: 1px solid #fff;
	background: #314672;
}

.owl-controls .owl-next {
	position: absolute;
	right: 20px;

	width: 32px;
	height: 32px;
	margin-top: -25px; 
	background-color: #314672;
	background-image: url(royalslider/royalslider-skins/default/rs-default.png);
	background-repeat: no-repeat;
	border-radius: 2px;
	border-width: 10px;
	border-style: solid;
	border-color: #314672;

	text-indent: -9999px;
	background-position: -65px -64px;
}
.owl-controls .owl-prev {
	position: absolute;
	left: 20px;

	width: 32px;
	height: 32px;
	margin-top: -25px; 
	background-color: #314672;
	background-image: url(royalslider/royalslider-skins/default/rs-default.png);
	background-repeat: no-repeat;
	border-radius: 2px;
	border-width: 10px;
	border-style: solid;
	border-color: #314672;

	text-indent: -9999px;
	background-position: -65px -32px;
}


/* FRONT PAGE */
.box-container { position:relative; overflow:hidden; left:-10px; width:960px; }
.box { float: left; margin:0 10px; background-color:#f5f5f5; width:260px; height:120px; padding:20px; }
.box a.main-link {
	float:right; margin-top:10px;
	background: url(images/small_arrow.png) no-repeat right center; padding-right:10px; 
	font-size:13px; color:#314672; font-weight:700; text-transform: uppercase;
}
.box a.main-link:hover { color: #000; }

#news { color: #848a8b; }
#news dl { margin: 10px 0; font-size: 12px; line-height:20px;}
#news dt { display: block; float:left; min-width:58px; padding-right: 10px; font-weight:700; border-right:1px solid #ced0d1; }
#news dd { display: block; padding-left: 78px;}
.box-widget { background: #E6E6E6 url(images/box_corner.png) no-repeat top right; position: relative; overflow: hidden; }
.box-widget a.image-hover { font-weight:700; text-transform: uppercase; display: block; text-align: center; line-height:120px; }
.box-widget.blue { background: #314672 url(images/box_corner.png) no-repeat top right; position: relative; overflow: hidden; }
.box-widget.blue a.image-hover { font-weight:700; text-transform: uppercase; color:#f5f5f5; display: block; text-align: center; line-height:120px;}
.box-widget a.image-hover img { display:none; position:absolute; width:300px; height:160px; top:0; left:0; }
.box-widget:hover a.image-hover img { display: block; }
.box-widget a.image-hover span { position:relative; }
#page .box-widget a:hover { color: #fff; }

/* PAGE */
ul.archives { margin-bottom:25px;}
ul.archives li { display:inline-block; line-height:23px; font-size:13px; font-weight:bold; text-align:center; width:50px; }
ul.archives li a { color: #ced0d1; }
ul.archives li a:hover, ul.archives li a:active { color: #314672; }
ul.archives li.selected a { color: #314672;}
ul.archives li.alle { background: url(images/year_label.png) no-repeat 0 0; background-size: 50px 22px; }
ul.archives li.alle a { color: #fff; }
ul.archives li.alle:hover, ul.archives li.alle:active { background: url(images/year_label-active.png) no-repeat 0 0; background-size: 50px 22px; }
.archive article { font-size:16px;width:300px; float:left; margin:0 0 25px 20px; padding-bottom:15px; border-bottom:1px solid #f5f5f5; }
.archive article:first-child { margin-left:0; }
.archive article:hover { cursor:pointer; background:url(images/frontpage_box_bg_blue.png) no-repeat top left; }
.archive article:hover img { visibility:hidden; }
.archive article .post_image_container span { position: relative; z-index: 999; display: none; }
.archive article:hover .post_image_container span { display: block; }
.archive article h1 { font-size:16px; font-weight: bold; text-transform: none; color:#1b1c1f; margin:10px 0 8px; }
.archive article h1 a { color:#1b1c1f; }
.archive article:hover h1 a { color:#314672; }
.archive article .year-info { color:#848a8b; font-size:14px; }
.archive article header .post_image_container { position: relative; width: 300px; height: 160px; overflow: hidden; font-weight:700; text-transform: uppercase; text-align: center; line-height:160px; color: #fff; }
.archive article header img { position:absolute; width:300px; height:160px; top:0; left:0; }
.single article header img { width: auto; }

ul.widget_archives li.alle a { color: #000; }

/* BESTYRELSEN */
ul.bestyrelsesmedlemmer li { display:block; float:left; width:460px; padding-bottom:30px; margin-bottom:30px; border-bottom:1px solid #f5f5f5; }
ul.bestyrelsesmedlemmer li.odd { margin-right:20px; }
ul.bestyrelsesmedlemmer h5 { margin:10px 0; text-transform: none; }
ul.bestyrelsesmedlemmer p { color:#848a8b; font-size:13px; line-height: 16px; }

body #cookie-notice {
	min-width: 0%;
	height: auto;
	
	font-family: 'Maven Pro', sans-serif;
	font-size: 15px;
	line-height: 22px;

	text-align: left;
	max-width:400px;
	width:100%;
}
body .cookie-notice-container {
	padding: 20px;
}
body span#cn-notice-text {
	display: block;
	margin-bottom: 20px;
}
body #cookie-notice .button {
	margin-left: 0px;
	margin-right: 15px;
	font-weight: bold;
	color: #fff;
	opacity: 0.7;
}
body #cookie-notice #cn-accept-cookie {
	float: right;
	text-transform: uppercase;
	opacity: 1;
}