/*
Theme Name: blogs
Theme URI: http://blogs.ku.dk/
Author: Stickleback
Author URI: http://stickleback.dk/
Description: WordPress theme for blogs.ku.dk - do not network enable this theme! Install and use the Query Posts plugin by Justin Tadlock for frontpage content. Install and use WPML Multilingual CMS, WPML String Translation, and WPML Media for multilingual content.
Version: 1.3
Tags:
*/

/* =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,
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: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
  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/ */
}

body {
  background: #fff;
}

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;
}

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
----------------------------------------------- */

body,
button,
input,
select,
textarea {
  color: #4a4949;
  font-family: Verdana, sans-serif;
  font-size: 11px;
  font-size: 1.1rem;
  line-height: 1.4;
}

.clearfix:after {
  content: '.';
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

/* apply a natural box layout model to all elements */
* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.site {
  max-width: 984px;
  margin: 0 auto;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  overflow: auto;
}
@media (min-width: 984px) {
  .site-main {
    display: flex;
    justify-content: space-between;
  }
  .content {
    flex-basis: 50%;
  }
  .primary {
    flex-basis: 20%;
    height: auto;
  }
  .secondary {
    flex-basis: 23%;
  }
  .site-info {
    display: flex;
    justify-content: center;
  }
}

.content {
  padding: 1em;
}

/* SIDEBARS */
.primary {
  padding: 1em;
}

.secondary {
  padding: 1em;
}

.site-footer {
  overflow: auto;
  clear: both;
  background: #f3f3f3;
}

.global {
  position: relative;
  width: 100%;
  background: #666;
  color: #f1f1f1;
  padding: 0 10px 0 0;
  font-size: 10px;
}

.site-description {
  display: inline-block;
  float: left;
  font-family: Georgia;
  text-transform: uppercase;
  color: #f1f1f1;
  font-size: 1.1em;
  padding: 0 0 0;
  letter-spacing: 0.2em;

  width: 250px;
  height: 21px;
  background: url(images/brand_ku_dk.gif) 0 0 no-repeat;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.site-title {
  margin-bottom: 0;
}

.site-title a,
.site-title a:link,
.site-title a:hover,
.site-title a:visited {
  font-family: Arial, Helvetica, sans-serif;
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 0;
  padding: 1em 1em 0.5em;
  height: 100px;
  color: #000;
  background: #fff;
  text-transform: uppercase;
  background: url(images/header.jpg) 0 0 no-repeat;
  text-decoration: none;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/* sidebar lists */
.primary ul,
.secondary ul {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}

.primary ul ul,
.secondary ul ul {
  margin: 0;
}

.primary li,
.secondary li {
  padding: 0;
}

/* First level - sidebar menu */
.widget_nav_menu li {
  background: url(images/nav.gif) 0 0.4em no-repeat;
  font-size: 1em;
  line-height: 1em;
  margin: 0;
}

.widget_nav_menu li a,
.widget_nav_menu li a:link,
.widget_nav_menu li a:visited {
  padding: 0.2em 0 0.54em 1.5em;
}

/* Second level - sidebar menu */
.widget_nav_menu li li {
  background: url(images/list.gif) 2em 0.6em no-repeat;
}

.widget_nav_menu li li a {
  padding: 0.2em 0 0.2em 2.75em;
}

/* Third level - sidebar menu */
.widget_nav_menu li li li {
  background: url(images/listlist.gif) 3em 0.7em no-repeat;
}

.widget_nav_menu li li li a {
  padding: 0.2em 0 0.2em 3.75em;
}

/* Sidebar menu  */
.widget_nav_menu li a,
.widget_nav_menu li a:link,
.widget_nav_menu li a:visited {
  font-weight: 400;
  display: block;
}

/* Sidebar menu - current - First level */
.widget_nav_menu .current-menu-item {
  background: url(images/current.gif) 0 0.4em no-repeat;
}

.widget_nav_menu .current-menu-item a {
  color: #901a1e;
  font-weight: 700;
}

/* Sidebar menu - current - Second level */
.widget_nav_menu li .current-menu-item {
  background: url(images/list.gif) 2em 0.6em no-repeat;
}

/* but not the third level/child list items */
.widget_nav_menu li .current-menu-item li {
  background: url(images/listlist.gif) 3em 0.7em no-repeat;
}

.widget_nav_menu .current-menu-item li a {
  color: #5e5e5e;
  font-weight: 400;
}

/* Sidebar menu - current - Third level */
.widget_nav_menu li li .current-menu-item {
  background: url(images/listlist.gif) 3em 0.7em no-repeat;
}

.widget_nav_menu li ul {
  display: none;
}

.widget_nav_menu .current-menu-item ul {
  display: block;
}

/* show sub-menu when parent item is active */
.widget_nav_menu .current_page_item ul.sub-menu,
.widget_nav_menu .current_page_parent ul.sub-menu {
  display: block;
}

/* but not third-level of menu */
.widget_nav_menu .current_page_item ul.sub-menu ul.sub-menu,
.widget_nav_menu .current_page_parent ul.sub-menu ul.sub-menu {
  display: none;
}

/* show third level of menu when second-level parent is active */
.widget_nav_menu .current-menu-ancestor .sub-menu li:hover ul.sub-menu {
  display: block;
}

/* show second level sub-menu when third level is active */
.widget_nav_menu .current-menu-ancestor .sub-menu {
  display: block;
}

/* show third level of menu when active */
.widget_nav_menu
  .current_page_parent
  ul.sub-menu
  .current-menu-item
  ul.sub-menu {
  display: block;
}

/* Headings */
h1 {
  clear: both;
  color: #4a4949;
  font-weight: bold;
  font-size: 1.4em;
  margin-bottom: 0.25em;
}

h2 {
  clear: both;
  color: #4a4949;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.25em;
}

h3,
h4,
h5,
h6 {
  clear: both;
  color: #4a4949;
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 0.25em;
}

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 #4a4949;
  cursor: help;
}

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

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

sup {
  bottom: 1ex;
}

sub {
  top: 0.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 */
}

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: #4a4949;
  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;
  margin-top: 2px;
}

label {
  display: block;
}

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,
a:link,
a:visited {
  color: #4a4949;
  text-decoration: none;
  font-weight: 400;
}

.entry-content a,
.entry-content a:link,
.entry-content a:visited {
  color: #4a4949;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-content a:active {
  color: #4a4949;
  color: #000;
  text-decoration: underline;
}
.widget a,
.widget a:link,
.entry-content a,
.entry-content a:link {
  text-decoration: underline;
}
/* 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);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  color: inherit;
}

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

.main-navigation {
  display: inline-block;
  float: right;
  width: auto;
  font-size: 1rem;
}

.main-navigation ul {
  list-style: none;
  margin: 0 1em 0 0;
  padding: 0;
  float: right;
  line-height: 1em;
}

.main-navigation li {
  float: left;
  position: relative;
  margin: 0;
  display: inline-block;
  line-height: 1em;
}

.main-navigation a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 6px 0;
  padding: 0 1em 0.2em;
  border-right: 1px solid #f1f1f1;
  line-height: 1em;
}

.main-navigation li:last-child a {
  border: none;
}

.main-navigation a:visited {
  color: #fff;
}

.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);
  display: none;
  float: left;
  position: absolute;
  top: 1.5em;
  left: 0;
  z-index: 99999;
}

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

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

.main-navigation ul ul li {
}

.main-navigation li:hover > a {
}

.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 {
}

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

.main-small-navigation .menu {
  display: none;
}

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

.sticky {
}

.hentry {
  margin: 1em 0 3em;
}

.page-title {
  font-weight: 700;
  color: #4a4949;
  margin-bottom: 1em;
}

.entry-title a {
  font-weight: 700;
  color: #4a4949;
}

.reply-title {
  font-weight: 700;
  color: #4a4949;
  font-size: 1.1em;
}

.entry-meta {
  clear: both;
  padding: 0 0 1em;
  color: #666;
}

.entry-meta a,
.entry-mea a:visited {
  color: #666;
  text-decoration: underline;
}

.entry-meta ul {
  list-style: none;
  margin: 1em 0;
}

.entry-meta li {
  display: inline;
  padding: 0 0.5em 0 0;
  margin: 0 0.5em 0 0;
  border-right: 1px solid #ccc;
}

.entry-meta li:last-child {
  border-right: none;
}

.byline {
  display: none;
}

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

.entry-content {
  margin: 0 0 6em;
}
.entry-summary {
  margin: 0 0 1.5em;
}
.more-link {
  clear: both;
  display: block;
  text-align: left;
}

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

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

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

/* =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%;
  width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

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

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

.wp-caption.aligncenter,
.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.alignnone {
  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%;
}

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

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

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

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

/* =Comments
----------------------------------------------- */
#commentform label {
}

.required {
  display: none;
}

.bypostauthor {
}

/* =Widgets
----------------------------------------------- */

.widget {
  margin: -0.6em 0 3em;
}

.widget_nav_menu .widget-title {
  display: block;
  padding: 0 0 0 0.5em;
  color: #5e5e5e;
  font-weight: 700;
  background: transparent;
  border: none;
  border-left: 8px solid #901a1e;
  line-height: 0.8em;
  margin: 2em 0 3.1em;
}

h2.widget-title,
.nlposts-ulist-wtitle,
.posts .page-title,
.widget-area h2.contact-title {
  font-size: 1em;
  display: block;
  padding: 0.25em 0.5em;
  margin: 0 0 0.5em;
  color: #5e5e5e;
  font-weight: 700;
  background: #f3f3f3 url(images/widget-title.jpg) 0 0 repeat-x;
  border-top: 1px solid #901a1e;
  border-bottom: 1px solid #d5d5d5;
}
h2.contact-title {
  font-size: 1em;
}

.bannerwidget img {
  margin: -19px 0 19px;
  width: 100%;
}

.logout {
  line-height: 1;
  padding: 0.5em 0;
  font-weight: bold;
  color: #901a1e;
}

.logout:visited {
  color: #901a1e;
}

a.login {
  padding: 0.25em 0.5em;
  border-radius: 3px;
  background: #901a1e;
  border: #5e5e5e;
  color: #fff;
  display: block;
  text-align: center;
  margin: 1em 3em 2em;
}

a.login:hover {
  background: #4a4949;
  text-decoration: none;
}

/* Network Latest Posts Plugin/Widget */
.nlposts-wrapper.nlposts-ulist.nav.nav-tabs.nav-stacked {
  list-style: none;
  margin-left: 0;
}

.nlposts-ulist-thumbnail.thumbnails {
  list-style: none;
  margin-left: 0;
  display: table;
  position: relative;
}

.nlposts-ulist-excerpt {
  list-style: none;
  margin-left: 0;
  display: inline;
  /* float: left; */
  display: table-cell;
}

.nlposts-ulist-pagination.pagination {
  display: none;
}

.thumbnail {
  float: left;
}

.nlposts-ulist-title {
  display: inline;
  font-weight: 700;
}

.thumbnail {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;
  /* vertical-align: top; */
}

.thumbnails a img {
  margin: 0.25em 1em 0 0;
  float: left;
}

.thumbnail li a img {
  float: right;
  margin: 0;
}

.nlposts-ulist-title a {
  font-weight: 700;
}

.thumbnail a img {
  display: table-cell;
}

/* Search widget */
.secondary #searchsubmit {
}

.site-header #searchsubmit {
  display: none;
}

.site-header #searchform {
  float: right;
}

.global #lang_sel_list {
  height: auto;
  z-index: 99;
  font-family: verdana, arial, sans-serif;
  width: auto;
  float: right;
  overflow: visible;
}

#lang_sel_list ul,
#lang_sel_list.lang_sel_list_vertical ul {
  width: auto;
  top: 0;
  border-top: none;
  float: left;
  margin: 0;
  overflow: visible;
}
#lang_sel_list ul {
  display: flex;
  align-items: center;
}
.global #lang_sel_list li {
  display: inline;
  padding: 0 !important;
  margin: 0 !important;
  width: auto;
  height: 0;
  line-height: 1em;
  position: relative;
}

#lang_sel_list.lang_sel_list_vertical a,
#lang_sel_list.lang_sel_list_vertical a:visited,
#lang_sel_list ul a,
#lang_sel_list ul a:visited {
  display: block;
  font-size: 1rem;
  text-decoration: none !important;
  color: #fff;
  border: none;
  border-width: 0;
  background: #666;
  margin: 6px 0 !important;
  padding: 0 1em 0.2em !important;
  border-right: 1px solid #f1f1f1;
  line-height: 1em;
  vertical-align: baseline;
}
.wpml-ls-legacy-list-vertical a span {
  vertical-align: baseline;
}
#lang_sel_list a.lang_sel_sel {
  display: none;
}

.wpml-ls-statics-shortcode_actions,
.wpml-ls-statics-shortcode_actions .wpml-ls-sub-menu,
.wpml-ls-statics-shortcode_actions a {
  border: none;
}

/* Menu-widget on frontpage */
.content .widget_nav_menu {
  background: #eee url(images/menublock.jpg) top right no-repeat;
  display: block;
}

.content .widget_nav_menu:hover {
  background: #dedede url(images/menublock.jpg) top right no-repeat;
}

.content .widget_nav_menu .page-title,
.content .widget_nav_menu .widget-title {
  margin: 0 12px;
  padding: 6px 0 0;
  border-left: none;
}

.content .menu {
  margin: 0 12px;
  padding: 3px 0 6px;
  list-style: none;
}

/* Recent posts on frontpage */
.recentposts img {
  float: left;
  margin: 0 1em 1em 0;
}

.recentposts ul {
  list-style: none;
  margin-left: 0;
}

.recentposts a {
  font-weight: 700;
}

hr {
  clear: both;
}

.footer-left {
  padding: 1em;
}

.footer-right {
  padding: 1em;
}
