﻿/*
 Theme Name:   OFR
 Description:  OFR - Twenty Fourteen Child Theme
 Author:       Jonas Hornblad
 Template:     twentyfourteen
 Text Domain:  ofr
*/

@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin-ext';


.btn-social-icon.btn-linkedin > :first-child {
    left: 1px;
}

.post-thumbnail {
    margin-bottom: 10px;
}
.home .post-thumbnail {
    margin-bottom: 30px;
}

.menu-background-arrows {
    width: 100%;
}
#primary-menu {
    display: flex;
}
.site-navigation a {
	text-transform: none;
}

.page-header h1.page-title {
    margin-left: 0 !important; padding-left: 0 !important;}

.primary-navigation {
    float: none;
    font-size: 1.3em;
                font-family: 'open sans', sans-serif !important;
                font-stretch: condensed;
                font-weight: lighter;
}
    .primary-navigation > div > ul > li:first-child {
        /*border-left: 20px solid #E8E8E8;  */
    } 

    .primary-navigation > div > ul > li {
        /*margin-left: -2px !important;*/
        /*margin-right: -2px !important;*/
    }
	.primary-navigation ul ul a {
		padding: 10px 12px !important;
		white-space: normal;
		width: 246px;
                background: #ffc705 !important;
	}
	.primary-navigation li .menu-item-has-children > a,
	.primary-navigation li .page_item_has_children > a {
		padding-right: 20px;
		width: 246px;
	}
        .primary-navigation li > a {
                background: #fff;
        }


.primary-navigation li:hover > a, .primary-navigation li.focus > a {
    background-color: #ffc705 !important;
}

    ul.sub-menu > li > a {
        background: #ffc705;
        font-size: 0.85em !important;
        
    }
	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #ffc705 !important;
		color: #000 !important;
                text-decoration: none !important;
	}
	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
		background-color: #ffc705 !important;
	}        
.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: #000;
        background: #ffc705 !important;
}
.primary-navigation li a {
    color: #6c6c6c;
}

ul.menu-above-search {
    list-style: none;
    margin: 0 0 15px 0;
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
    font-weight: lighter;
}
.menu-above-search li {
    float: right;
    padding: 0 0 20px 20px;
    margin: 0;
    font-size: 1em;
}
.menu-above-search li a {
    color: #4d4d4d;
}

ul.category-menu {
    list-style: none;
    margin: 20px 0 20px 0;
    padding: 0;
}
@media (min-width: 768px) {
    .category-menu li {
        display: inline;
    }
}
.category-menu li {
    padding: 15px 10px 10px 10px;
    margin-left: 30px;
    background: #fff;
    font-size: 1.2em;
}
@media (max-width: 991px) {
    .category-menu li {
        font-size: 1.0em;
        margin: 0 0 15px 0;
        
    }
}
.category-menu li:first-child {
    margin-left: 0;
}
.category-menu li a {
    color: #000;
    padding: 10px 20px;
    font-family: 'open-sans', sans-serif;
    font-stretch: condensed;
    font-weight: lighter;
}
.category-menu li a:hover {
    text-decoration: none;
}
.category-menu li:hover,
.category-menu li.current-menu-item {
    background: #FFC704;
}

#footer {
    font-family: 'open sans', sans-serif;
    font-weight: normal;
    background: #58595b;
    padding-top: 20px;
}
.footer-text {
    padding: 15px 0;
    font-size: 1em;
    font-family: 'open sans', sans-serif;
    font-weight: normal;
    font-stretch: condensed;
}
.footer-text img {
    margin-right: 30px;
    padding: 15px 0;
}
#footer h2 {
    font-weight: normal;
    font-family: 'open sans', sans-serif;
    color: #eeb915;
    margin: 0 0 0 0;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-right: 30px;
}
img.footer-logo {
    margin: 15px 0 15px 0;
    width: 10%;
    margin-right: 1.1%;
    margin-left: 1.1%;
}
/*img.footer-logo {
    margin: 15px 0 15px 0;
    width: 12%;
    margin-right: 1.185%;
    margin-left: 1.1%;
}*/
ul.footer-menu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 40px;
    margin-left: 0;
}
ul.footer-menu li {
    margin-left: 0;
    margin-right: 30px;
}
ul.footer-menu li a {
    color: #fff;
}
hr {
    height: 0;
    border-top: 0 !important;
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
}
hr.white {
    border-bottom: 4px solid #fff;
}
hr.yellow {
    border-bottom: 1px solid #FFC704;
}
hr.grey {
    border-bottom: 1px solid #eee;
}
.hentry {
    margin: 0 0 30px 0;
}
.box-related {
    padding: 20px 20px;
    margin-bottom: 15px;
    border-radius:4px;
    background: #f6f6f6;
}
.box-related h4 {
    margin-top: 0;
}

.home-news-box {
    padding: 20px 20px;
    margin-bottom: 15px;
    border-bottom-right-radius:16px;
}
.home-news-box h2 {
    margin: 0px;
    font-weight: lighter;
    font-size: 1.8em;
    line-height: 1.3;
}
.home-news-box.white {
    background: #fff;
    margin-bottom: 60px;
}
@media (min-width: 768px) {
    .home-news-box.white {
        padding: 20px 50px;
    }
}
.home-news-box.grey {
    background: #58595b;
    color: #ffc704;
}
.home-news-box.grey a {
    color: #fff;
}
.home-news-box.grey > hr {
    border-bottom: 4px solid #ffc704;
    margin-top: 10px;
}
.home-news-box.grey > h2,
.home-news-box.grey > h2 > a {
    color: #ffc704;
}
.home-news-box.blue {
    background: #cae8f3;
}
.home-news-box.blue > hr,
.home-news-box.yellow > hr {
    border-bottom: 4px solid #58595b;
    margin-top: 10px;
}
.home-news-box.blue > h2,
.home-news-box.yellow > h2,
.home-news-box.blue > h2 > a,
.home-news-box.yellow > h2 > a {
    color: #58595b;
}
.home-news-box.yellow {
    background: #ffc704;
}
.home-news-box.yellow.om-oss {
    /* background-image: url('om-oss-box.jpg'); */
    background-size: cover;
}
.home-news-box img {
    max-width: 100%;
}


.mest-eftersokt {display: none;}
.kalender a {
    color: #666;
    display: block;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #666;
    }
.kalender a:last-child {
    border-bottom: 0;
    }
.kalender a h2 {
        font-weight: lighter;

    }

.home-news-box.bloggen {
    background: url('blogg-box-bg_1.jpg') bottom center;
    background-size: 100% auto;
    }
.home-news-box.bloggen > hr {
    border-bottom: 4px solid #fff;
}
.home-news-box.bloggen > h2 {
    color: #fff;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
    line-height: 1.2;
}
.home-news-box.bloggen > h2 > a{
    color: #fff;
}
.home-news-box.bloggen > h2 > a:hover {
    color: #eee;
}



.home-news-box.podden {
    background: url('blogg-box-bg_2.jpg') bottom center;
    background-size: 100% auto;
    }
.home-news-box.podden > hr {
    border-bottom: 4px solid #fff;
}
.home-news-box.podden > h2 {
    color: #fff;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
    line-height: 1.2;
}
.home-news-box.podden > h2 > a{
    color: #fff;
}
.home-news-box.podden > h2 > a:hover {
    color: #eee;
}



.home-news-box.seminarier {
    background: url('seminarier-box-bg.png') bottom center;
    background-size: 100% auto;
    }
.home-news-box.seminarier > hr {
    border-bottom: 4px solid #fff;
}
.home-news-box.seminarier > h2 {
    color: #fff;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
    line-height: 1.2;
}
.home-news-box.seminarier > h2 > a{
    color: #fff;
}
.home-news-box.seminarier > h2 > a:hover {
    color: #eee;
}


.home-news-box.boka {
    background: url('boka-box-bg.png') bottom center;
    background-size: 100% auto;
    }
.home-news-box.boka > hr {
    border-bottom: 4px solid #fff;
}
.home-news-box.boka > h2 {
    color: #fff;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
    line-height: 1.2;
}
.home-news-box.boka > h2 > a{
    color: #fff;
}
.home-news-box.boka > h2 > a:hover {
    color: #eee;
}




.sidebar.om-oss div.om-oss {
    display: none;
}


.bottom-arrows {
    text-align: center;
    font-size: 4em;
}
.bottom-arrows a {
    color: #ccc;
}
.bottom-arrows a:hover {
    color: #aaa;
}

.content-area {
    padding: 15px 30px;
    margin-bottom: 20px;
    border-bottom-right-radius:16px;
    background: #fff;
    overflow: hidden;
}
@media screen and (min-width: 768px) {
    .page .content-area, .single .content-area {
        min-height: 1250px;
    }
    .page .content-area.logos, .single .content-area.logos {
        min-height: 0;
    }
    .header-logo {
        max-width: 100%;
    }
}

.content-area a {
        font-family: "open sans", sans-serif;
        font-stretch: condensed;
        font-weight: bold;
}


@media print {
    #banner-checkboxes {
        display: none;
    }    
}
#banner-checkboxes {
    min-height: 80px;
    margin-bottom: 50px;
    color: #fff;
    padding: 15px 0 15px 15px;
}
#banner-checkboxes.in-content {
    margin: 0 -30px 20px -30px;
    padding: 15px 30px 15px 30px;
}
#banner-checkboxes h2 {
    font-size: 2.5em !important;
    text-transform: uppercase;
        font-family: "open sans", sans-serif;
        font-stretch: normal;
        font-weight: lighter;
        letter-spacing: 0.1em;
    margin: 0;
}
#banner-checkboxes h4 {
    text-transform: uppercase;
    font-size: 1em;
    line-height: 1.2;
        font-family: "open sans", sans-serif;
        font-stretch: normal;
        font-weight: lighter;
        letter-spacing: 0.1em;
    margin: 0;
}

@media (min-width: 768px) {
    #banner-checkboxes {
        width: 720px;
        margin: 0 auto 30px auto;
    }
}
@media (min-width: 992px) {
    #banner-checkboxes {
        width: 940px;
        margin: 0 auto 30px auto;
    }
}
@media (min-width: 1200px) {
    #banner-checkboxes {
        width: 1140px;
        margin: 0 auto 30px auto;
    }
}

@media (max-width: 991px) {
    #banner-checkboxes h2,
    #banner-checkboxes h4 {
        margin-bottom: 30px;
    }
    #banner-checkboxes h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
}
@media (max-width: 767px) {
    #banner-checkboxes h2,
    #banner-checkboxes h4 {
        font-size: 1.2em;
        margin-bottom: 30px;
    }
    #banner-checkboxes h4 {
        font-size: 1em;
    }
}
ul.three-col-list {
    width: 100%;
    list-style: none;
    margin: 0;
    font-size: 1em;
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
    font-weight: lighter;
}
ul.three-col-list li {
    float: left;
    width: 33%;
    padding-bottom: 10px;
}
#banner-checkboxes .button-hitta {
    font-size: 1.1em;
    text-transform: uppercase;
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
    font-weight: lighter;
    margin-top: 10px;
}
@media (max-width: 991px) {
    ul.three-col-list li {
        float: left;
        width: 50%;
    }
}
@media (max-width: 767px) {
    ul.three-col-list li {
        float: left;
        width: 100%;
    }
}
.category-letter {
    width: 80px;
    height: 80px;
    margin: -40px auto;
    border-radius: 40px;
    background: #fff;
    text-align: center;
    padding: 10px;
    font-size: 2em;
}
#above-top-nav-banner {
    padding: 30px 0;
}
.menu-background-arrows {
    margin-bottom: 20px;
}


.paging-navigation a {
	color: #000;
        font-family: "open sans", sans-serif;
        font-stretch: condensed;
}

.paging-navigation .page-numbers.current {
	border-top: 5px solid #ffc705;
        font-family: "open sans", sans-serif;
        font-stretch: condensed;
}
.paging-navigation a:hover {
	border-top: 5px solid #ffc705;
	color: #2b2b2b;
}
.paging-navigation {
    border: 0;
}
.breadcrumbs {
    margin-bottom: 15px;
        font-family: "open sans", sans-serif;
        font-stretch: condensed;
        font-weight: lighter;
}
.breadcrumbs a {
    color: #999;
        font-weight: lighter;
}
.relevanssi-query-term {
  background: #FFC704;
  color: #58595B;
  /* padding: 0 2px; */
}
#banner-slider {
  /*  background: #4d4d4d; */
 /*   margin-bottom: 0; */
    background: #4d4d4d;

    margin-bottom: 30px;

    color: #fff;

}

.slider-item {
    display: flex;
    min-height: 180px;
}
.slider-image {
    background-size: cover;
    background-position: 50% 50%;
}
.slider-content {
    color: #000;
    background: #fff;
    padding: 2rem;
    line-height: 1.6;
}
.slider-content h2 {
    font: bold 18px sans-serif;
    margin: 0;
    line-height: 1.3;
}
.slider-content p {
    font: 18px sans-serif;
    line-height: 1.3;
}
.slider-image,
.slider-content {
    flex: 0 0 50%;
}

@media (max-width: 767px) {

    .slider-content {

        height: 233px;

    }

    #banner-slider {

        width: 100%;

        height: 233px;

        margin: 0 auto 30px auto;

    }

    .slider-content.banner-20-ar,

    #banner-slider.banner-20-ar{

        height: 340px !important;

    }

}

@media (min-width: 768px) {

    .slider-content {

        height: 233px;

    }

    #banner-slider {

        width: 720px;

        height: 233px;

        margin: 0 auto 30px auto;

    }

    .slider-content.banner-20-ar,

    #banner-slider.banner-20-ar{

        height: 425px !important;

    }

}

@media (min-width: 992px) {

    .slider-content {

        height: 304px;

    }

    #banner-slider {

        width: 940px;

        height: 304px;

        margin: 0 auto 30px auto;

    }

    .slider-content.banner-20-ar,

    #banner-slider.banner-20-ar{

        height: 533px !important;

    }

}
@media (min-width: 1200px) {

    .slider-content {

        height: 368px;

    }

    #banner-slider {

        width: 1140px;

        height: 368px;

        margin: 0 auto 30px auto;

    }

    .slider-content.banner-20-ar,

    #banner-slider.banner-20-ar{

        height: 646px !important;

    }

}

h2.carousel-heading {
    display: block;
}
h2.carousel-heading {
    font-size: 1.2em;
    margin: 0 0 0 0;
    text-transform: uppercase;
        font-family: "open sans - normal", sans-serif;
        font-stretch: normal;
        font-weight: normal;
    }
h2.carousel-heading a:hover {
    color: #6c6c6c;
;
}
h2.carousel-heading a {
    color: #6c6c6c;
}
h2.carousel-heading.yellow a {
    color: #ffc705;
}
h2.carousel-heading a:hover {
    text-decoration: none;
}

.slider-bottom-content {
  position: absolute;
  bottom: 50px;
  left: 15px;
  z-index: 15;
  padding-left: 0;
  text-align: left;
  list-style: none;
}
.slider-heading {
    background: #ffc704;
    color: #6c6c6c;
    padding: 10px 30px;
    margin-bottom: 10px;
}
.slider-text {
    background: rgba(255,255,255,0.75);
    color: #6c6c6c;
    padding: 10px 30px;
    margin-bottom: 0px;
    border-bottom-right-radius:16px;
    font-size: 0.85em;
    font-family: "open sans - normal", sans-serif;
    font-stretch: normal;
    font-weight: normal;
}
.slider-text a {
    color: #6c6c6c;
}
.slider-text a:hover {
    color: #6c6c6c;
    text-decoration: none;
}




@media (max-width: 767px) {
    .menu-background-arrows {
        background: #fff;
        min-height: 48px;
    }
    .primary-navigation ul,
    .primary-navigation ul ul,
    .primary-navigation ul ul a,
    ul.sub-menu > li > a,
    .site-navigation .current_page_item > a,
    .site-navigation .current_page_ancestor > a,
    .site-navigation .current-menu-item > a,
    .site-navigation .current-menu-ancestor > a {
            background: #fff;

    }
    ul.sub-menu > li > ul > li > a {
        color: #999;
    }
    .primary-navigation li > a {
        border-bottom: 1px solid #f9f9f9;
    }
    #primary-menu  {
            float: left;
            display: none;
    }
    #primary-menu > li > a {
            font-weight: 900;
    }
    .primary-navigation > div > ul > li:first-child {
        border-left: 0;  
    } 

}
@media (min-width: 768px) {
        .menu-background-arrows {
        background: #fff;
        height: 60px;
    }
    .primary-navigation ul ul {
    background: #ffc705 !important;
    }
    #above-top-nav-banner .btn-social-icon {
        margin-left: 15px;
    }

}
@media (max-width: 767px) {
    #above-top-nav-banner .btn-social-icon {
        margin-top: 20px;
        margin-right: 15px;
    }
}
@media screen and (min-width: 768px) {
	.primary-navigation {
		font-size: 1.3em;
	}
}
@media screen and (min-width: 992px) {
	.primary-navigation {
		font-size: 1.5em;
                padding: 10px 0;
	}
}
@media screen and (min-width: 768px) {
	.site-title {
		/* Search-toggle width = 48px */
		max-width: -webkit-calc(100% - 48px);
		max-width:         calc(100% - 48px);
	}

	.header-main {
		padding-right: 0;
	}

	.search-toggle {
		margin-right: 0;
	}

	/* Fixed Header */

	.masthead-fixed .site-header {
		position: fixed;
		top: 0;
	}

	.admin-bar.masthead-fixed .site-header {
		top: 32px;
	}

	.masthead-fixed .site-main {
		margin-top: 48px;
	}

	/* Navigation */

	.site-navigation li .current_page_item > a,
	.site-navigation li .current_page_ancestor > a,
	.site-navigation li .current-menu-item > a,
	.site-navigation li .current-menu-ancestor > a {
	}

	/* Primary Navigation */

	.primary-navigation {
		/*float: right;*/
		margin: 0;
		padding: 0;
                text-transform: none;
                font-family: 'open sans', sans-serif !important;
                font-stretch: condensed;
                font-weight: lighter;
	}
	.primary-navigation a {
            letter-spacing: 0;
            margin-left: -1px;
	}

	.primary-navigation .menu-toggle {
		display: none;
		padding: 0;
	}

	.primary-navigation .nav-menu {
		border-bottom: 0;
		display: block;
	}

	.primary-navigation.toggled-on {
		border-bottom: 0;
		margin: 0;
		padding: 0;
	}

	.primary-navigation li {
		border: 0;
		display: inline-block;
		height: 60px;
		line-height: 60px;
		position: relative;
	}

	.primary-navigation a {
		display: inline-block;
		padding: 0 40px 0 40px;
		white-space: nowrap;
	}

	.primary-navigation ul ul {
		background-color: #24890d;
		float: left;
		margin: 0;
		position: absolute;
		top: 60px;
		left: -999em;
		z-index: 99999;
	}

	.primary-navigation li li {
		border: 0;
		display: block;
		height: auto;
		line-height: 1.0909090909;
	}

	.primary-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.primary-navigation ul ul a {
		padding: 18px 12px;
		white-space: normal;
		width: 276px;
	}

	.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #24890d;
		color: #fff;
	}

	.primary-navigation ul ul a:hover,
	.primary-navigation ul ul li.focus > a {
		background-color: #41a62a;
	}

	.primary-navigation ul li:hover > ul,
	.primary-navigation ul li.focus > ul {
		left: auto;
	}
	.primary-navigation ul li:last-child:hover > ul,
	.primary-navigation ul li.focus:last-child > ul {
		left: -100px;
	}

	.primary-navigation ul ul li:hover > ul,
	.primary-navigation ul ul li.focus > ul {
		left: 100%;
	}
	.primary-navigation ul li:nth-last-child(2) ul li:hover > ul,
	.primary-navigation ul li:nth-last-child(2) ul li.focus > ul,
	.primary-navigation ul li:last-child ul li:hover > ul,
	.primary-navigation ul li:last-child ul li.focus > ul {
		left: -100%;
	}

	.primary-navigation .menu-item-has-children > a,
	.primary-navigation .page_item_has_children > a {
            padding-right: 50px;
	}
	.primary-navigation .menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children > a:after {
		-webkit-font-smoothing: antialiased;
		content: "\f502";
		display: inline-block;
		font: normal 8px/1 Genericons;
		position: absolute;
		right: 25px;
		top: 28px;
		vertical-align: text-bottom;
	}

	.primary-navigation li .menu-item-has-children > a,
	.primary-navigation li .page_item_has_children > a {
		padding-right: 20px;
		width: 268px;
	}

	.primary-navigation .menu-item-has-children li.menu-item-has-children > a:after,
	.primary-navigation .menu-item-has-children li.page_item_has_children > a:after,
	.primary-navigation .page_item_has_children li.menu-item-has-children > a:after,
	.primary-navigation .page_item_has_children li.page_item_has_children > a:after {
		content: "\f501";
		right: 8px;
		top: 20px;
	}
}
.entry-meta {
    margin-bottom: 10px;
    font-family: 'open sans';
    font-size: 0.9em;
    font-stretch: condensed;
    font-weight: thin;
}
.cat-links {
    font-size: 1em;
}
.cat-links, .cat-links a {
    color: #666;
    font-weight: normal !important;
}
a.more-link {
    text-decoration: none;
    font-size: 0.75em;
    font-weight: bold;
}
.circle-cat {
    margin-left: -75px;
    margin-bottom: -75px;
    margin-top: 20px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: #f00;
}
@media (max-width: 767px) {
    .circle-cat {
        margin: -20px 0 10px 0;
        width: 100%;
        height: 8px;
        border-radius: 0px;
        background: #f00;
    }
    .primary-navigation.toggled-on .nav-menu {
      display: block !important;
    }
}

.kontaktperson-text {
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
    margin-bottom: 30px;
}
.kontaktperson-text h2 {
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
    font-weight: bold;
    margin: 10px 0 0 0;
    font-size: 1.3em;
}
h1.entry-title,
h2.entry-title {
    font-size: 1.6em;
    font-weight: bold;
    border-bottom: #6c6c6c 4px solid;
    padding-bottom: 10px;
}
h1.entry-title,
h2.entry-title {
    /* text-transform: uppercase; */
    text-transform: none;
    
    font-family: 'open sans', sans-serif;
    font-stretch: condensed;
}
@media (max-width: 767px) {
    h1.entry-title,
    h2.entry-title {
        font-size: 1.2em !important;
    }
}
.kontakt-grey {
    margin: 30px -30px -20px -30px;
    padding: 40px 30px 15px 30px;
    background: #58595b;
    color: #fff;
}
.kontakt-grey h2 {
    color: #ffc704;
}
.kontakt-grey h2.entry-title {
    border-bottom: 4px solid #ffc704 !important;
    margin-top: 10px;
}
.kontakt-grey iframe {
    margin: 0;
}
.hitta-material-img {
    border-bottom: 8px solid #fff;
    max-width: 100%;
}
.banner-image-h1 {
    margin: 0 -30px 20px -30px;
    padding: 45px 30px 15px 30px;
    background-size: cover;
    
}
.banner-image-h1.om-oss {
}

.banner-image-h1 h1.entry-title {
    border-bottom: 0px;
    font-size: 3em;
        font-family: "open sans", sans-serif;
        font-weight: lighter;
        letter-spacing: 0.1em;
    margin: 0;
    margin-top: 15px;
}

.search-results h1.entry-title {
    border-bottom: 0px;
}
h1.entry-title a {
    color: #6c6c6c;
}
h1.entry-title a:hover {
    color: #6c6c6c;
}

.edit-link {
    dispay: none;
}


ul.document-footer-list {
    list-style: none;
    margin: 0;
}

.avatar {
    border-radius: 50%;
    margin-right: 20px;
}
@media (min-width: 768px) {
   .sidebar-avatar {
    margin: 0 -10px;
   }
}
.sidebar-avatar .avatar {
    width: 100%;
    height: auto;
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 10px;
    
    
}
::selection {
	background: #ffc705;
	color: #fff;
	text-shadow: none;
}

.blogg-header-container {
    background: #fff;
}

h2.om-bloggen a {
    display: block;
    padding: 10px;
    font-weight: normal;
    background: #ffc705;
    text-align: center;
}


a.print-button {
    font-size: 1.4em;
    color: #4d4d4d;
}
a.print-button:hover {
    color: #000;
}


.content-area table,
.content-area table tr,
.content-area table th,
.content-area table tr td {
    border: 0;
}



#cookie-law-info-bar span {
    font-family: "open sans", sans-serif;
    font-size: 1.2em;
}


#cookie-law-info-bar {
    background-color: rgb(255, 255, 255) !important;
    border-top: 4px solid rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
    /* font-family: inherit !important;
    bottom: 0px !important;
    position: fixed !important;
    display: block !important;
    padding: 10px 0 !important; */
}

#cookie-law-info-bar span a#cookie_action_close_header{
    font-weight: normal !important;
}

#cookie-law-info-again {
    background-color: rgb(255, 255, 255) !important;
    color: rgb(0, 0, 0) !important;
    /* position: fixed !important;
    font-family: inherit !important;
    right: 100px !important;
    bottom: 0px !important;
    display: block !important; */
}

/* ------------------------------------------------------------------------------------- */


/* CUSTOM */

.top-menu-row {
    display: flex;
    flex-direction: row;
}
.top-menu-row .column-2 {
    display: flex;
    justify-content: flex-end;
}
.search-and-social-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
ul.menu-above-search {
    margin: 0;
}

div.menu-menu-above-search-container {
margin: 0;
}

.menu-above-search li {
    font-size: 0.90em;
    padding: 0 0 0 10px;
    line-height: 0.90em;
}
@media (max-width: 767px)  {
    .top-menu-row {
        flex-direction: column;
    }
    .top-menu-row .column-2 {
        display: block;
    }
    ul.menu-above-search {
        margin: 0 0 24px 0;
    }
    .menu-above-search li {
        padding-bottom: 10px;
    }
    .search-and-social-box {
        background: #FFC704;
        padding: 15px;
        margin: 20px -15px 0 -15px;
    }
    .form-width-mobile {
        width: 100%;
    }
}

.home-news-box.grey a {
    color: #ffc704;
}

div.box-related div.col-xs-3 {
margin-top:20px;
margin-bottom:20px;
}


/* Show social share buttons only on Blogg post and on seminarier category */
.content-area .social4i {
    display: none;
}

.single-blogg .content-area .social4i,
.single-category-seminarier .content-area .social4i {
    display: block;
}

/* Home sections */
.home-section {
    font-family: 'Open Sans', sans-serif;
    font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
}

.home-section__header {
    font-size: 21px;
    line-height: 1;
    color: #fff;
    padding: 12px 15px;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-section__content {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
}

.home-section--ofr-bloggen {
    margin-top: -20px;
}

.home-section--ofr-bloggen .home-section__header {
    background: #58595b;
}

.home-section--ofr-podden .home-section__header {
  background: #00668F;
}

.home-section--omvarld .home-section__header {
    background: #777a0f;
}

.home-section-posts-wrapper {
    overflow: hidden;
}

.home-section-post {
    margin-bottom: 10px;
}

.home-section-post .home-section-post__header {
    font-family: 'Open Sans';
    font-weight: bold;
    font-stretch: normal;
    font-size: 16px;
    line-height: 1.3;
    color: #6c6c6c;
    margin: 0;
    margin-bottom: 5px;
}

    .home-section-post__header:hover {
        color: inherit;
        opacity: 0.8;
    }

.home-section-post__meta {
    padding-top: 10px;
    border-top: 1px solid #6c6c6c;
    overflow: hidden;
}

.home-section-post__meta.entry-meta {
    font-smoothing: auto;
    -moz-font-smoothing: auto;
    -webkit-font-smoothing: auto;
}

@media (min-width: 767px) {
    .home-section-posts-wrapper {
        margin: 0 -30px;
    }

    .home-section-post {
        width: 33.33%;
        float: left;
        padding: 0 30px;
        margin-bottom: 0;
    }

    .home-section-post__header {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        height: 43px;
    }
}

.home-section-post-date {
    text-transform: uppercase;
    background: #797c10;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
    float: left;
    margin-right: 10px;
    font-weight: bold;
    width: 95px;
    text-align: center;
}

.home-section-post-source {
    float: left;
    font-size: 12px;
    font-weight: bold;
    line-height: 28px;
    vertical-align: middle;
    color: #6c6c6c;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 105px);
}

.home-section--ofr-podden .home-section__content {
  font-size: 1.25rem;
}


/* Calendar Event files */
.calendar-event-files {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 10px;
    font-size: 13px;
}

.calendar-event-files .calendar-event-files__file a:hover {
    text-decoration: none;
    opacity: 0.6;
}

.calendar-event-files .calendar-event-files__file a:before {
    content: ""; 
    font-family: FontAwesome;
    font-weight: normal;
    text-decoration: inherit;
    font-size: 18px;
    padding-right: 0.3em;
    vertical-align: middle;
    left: 0;
}

/* Calenda hover fixes */
.events-archive.events-gridview #tribe-events-content table .type-tribe_events {
    padding: 0 !important;
}

#tribe-events-content .tribe-events-calendar div[id*=tribe-events-event-] h3.entry-title {
    padding: 6px 8px !important;
}

.tribe-events-tooltip:before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    bottom: -12px;
    left: 0;
}

.tribe-events-tooltip a {
    cursor: pointer;
}

.social-icons-custom-wrapper .social4i {
    display: block !important;
}




/* TABLEPRESS */
.tablepress thead th,
.tablepress tbody td {
	text-align: center;
	vertical-align: middle;
}
.tablepress tbody td img {
	float: none;
}

/**
 *  clearfixc For modern browsers
 */
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}
/**
 * For IE 6/7 (trigger hasLayout)
 */
.cf {
    *zoom:1;
}

/* Styles for big menu in footer */
#big-footer-menu {
    padding-bottom: 40px;
}

#big-footer-menu li {
    list-style: none;
}

#big-footer-menu .nav-menu {
    margin-left: 0;
}

#big-footer-menu #footer-menu-headers .sub-menu {
    display: none;
}

#big-footer-menu #footer-menu-headers li {
    float: left;
    width: 20%;
}

#big-footer-menu #footer-menu-headers li a {
    font-weight: normal;
    font-family: 'open sans', sans-serif;
    color: #eeb915;
    margin: 0 0 0 0;
    font-size: 1.2em;
    text-transform: uppercase;
    margin-right: 30px;
    font-stretch: condensed;
}

#big-footer-menu #footer-menu-content > .menu-item-has-children > a {
    display: none;
}

#big-footer-menu #footer-menu-content a {
    color: #fff;
}

#big-footer-menu #footer-menu-content .sub-menu {
    margin-left: 0;
}

#big-footer-menu #footer-menu-content > li {
    float: left;
    width: 20%;
}

#big-footer-menu #footer-menu-content > li a {
    background: none;
    font-size: 16px !important;
    
}

#big-footer-menu #footer-menu-content > li > .sub-menu .sub-menu {
    display: none;
}

@media (max-width: 1200px) {
    #big-footer-menu #footer-menu-content > li a {
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
    #big-footer-menu hr {
        display: none;
    }
    
    #big-footer-menu #footer-menu-headers {
        display: none;
    }
    
    #big-footer-menu #footer-menu-content > li {
        width: 50%;
    }
    
    #big-footer-menu #footer-menu-content ul {
        margin-bottom: 40px;
    }
    
    #big-footer-menu #footer-menu-content > li > a {
        display: block !important;
        color: #eeb915;
    }
}
    
@media (max-width: 400px) {
    #big-footer-menu #footer-menu-content > li {
        width: 100%;
    }
}

/* Contact page */
.contact-person-row {
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
}

.avatar-wrapper {
    text-align: center;
}

.avatar-wrapper .avatar {
    display: block;
    margin: auto;
}

.person-download {
    color: #6c6c6c;
    font-size: 10px;
    display: inline-block;
    font-weight: 300 !important;
    text-decoration: underline;
}

.person-download:before {
    display: none;
}

.person-download:hover {
    text-decoration: none;
}

.contact-person-row .kontaktperson-text {
    margin: 25px 0 0;
}

.contact-person-row .bio-wrapper {
    margin-top: 25px;
    color: #6c6c6c;
    font-size: 12px;
    font-family: "open sans", sans-serif;
}

/* Om oss */
.cf {
    padding: 0;
    font-size: 20px;
}

.about-us-card {
    float: left;
    margin: 0;
    padding: 20px;
    width: calc(20% - 8px);
    text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

.about-us-card a,
.link-as-box a {
    text-decoration: none;
    color: #6c6c79;
}

.about-us-card a {
    font-size: 20px;
    font-weight: bold;
}

.about-us-card .card-name {
    display: block;
    padding-top: 20px;
    
}

.about-us-card:last-of-type {
    margin-right: 0;
}

.with-gradient {
    background: #dddddd; /* Old browsers */
    background: -moz-linear-gradient(top, #dddddd 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #dddddd 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #dddddd 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.about-us-card .read-more,
.link-as-box .read-more {
    font-weight: normal;
    font-size: 14px;
    display: block;
    text-decoration: none;
    font-stretch: initial;
}

.links-as-boxes {
    margin-bottom: 30px;
}

.links-as-boxes a.link-as-box {
    padding: 15px 5px;
    color: #6c6c79;
    text-decoration: none;
    text-align: center;    
    display: block;
}

.links-as-boxes a.link-as-box:hover {
    color: #006990;
}

.about-us-card a:hover .read-more,
.links-as-boxes a.link-as-box:hover .read-more {
    text-decoration: underline;
}


.link-as-box {
    
}

.link-as-box.col-sm-6 {
    width: calc(50% - 5px);
    margin-right: 10px;
    margin-bottom: 10px;
}

.link-as-box.col-sm-4 {
    width: calc(33% - 4px);
    margin-right: 9px;
    margin-bottom: 10px;
}

@media screen and (max-width: 992px) {
    .about-us-card,
    .link-as-box.col-sm-6,
    .link-as-box.col-sm-4 {
        width: 100%;
        margin-right: 0;
    }
    
    .about-us-card img {
        max-width: 100px;
    }
}
    

.link-as-box.col-sm-4:last-of-type,
.link-as-box.col-sm-6:last-of-type {
    margin-right: 0;
}

h2.with-blue-background {
    background: #006990;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 10px 8px 20px;
}

/* news-boxes */
.news-boxes {
  display: flex;
  flex-wrap: wrap;
  margin: -.75rem;
  overflow: hidden;
}

.news-box {
  display: flex;
  flex: 0 0 auto;
  max-width: calc(50% - 1.5rem);
  margin: .75rem;
}

.news-box:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .news-box {
    flex: 1 0 100%;
    max-width: calc(100% - 1.5rem);
    flex-direction: column;
  }
}

.news-box .news-box__photo {
  flex: 1 0 33.3333%;
  max-width: 33.3333%;
}

.news-box .news-box__content {
  flex: 1 0 66.6666%;
  max-width: 66.6666%;
}

@media (max-width: 768px) {
  .news-box__photo, .news-box__content {
    flex: 1 !important;
    max-width: 100% !important;
  }
}

.news-box__photo {
  background-size: cover;
  background-position: 50% 50%;
  min-height: 16rem;
}

.news-box__content {
  background-color: #fff;
}

.news-box__content__text {
  padding: 1rem 0;
  border-top: 8px solid #0d678d;
  margin: 0 3rem;
  color: #686462;
}

@media (max-width: 568px) {
  .news-box__content__text {
    margin: 0 1rem;
  }
}

.news-box__meta {
  text-transform: uppercase;
  font-size: 1.25rem;
  font-family: 'open sans', sans-serif;
  font-stretch: 75%;
}

.news-box__title {
  border-bottom: 4px solid currentColor;
  padding-bottom: 0.25rem;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 1rem 0;
  line-height: 1.6;
}

.news-box__excerpt {
  font-size: 1.25rem;
}

.news-box .btn {
  color: #686462;
  border: 1px solid #686462;
  text-decoration: none;
  display: inline-flex;
  padding: .25rem .75rem;
  border-radius: 0.125rem;
  text-transform: uppercase;
  font-family: 'open sans', sans-serif;
  font-size: 1rem;
}

.news-box .btn:hover {
  background-color: #686462;
  color: #fff;
}

.news-box--wide {
  flex: 1 0 100%;
  max-width: calc(100% - 1rem);
}

.news-box--wide .news-box__photo, 
.news-box--wide .news-box__content {
  flex: 1 0 50%;
  max-width: 50%;
}

.news-box--wide .news-box__title {
  font-size: 2.5rem;
}

.news-box--wide .news-box__excerpt {
  font-size: 1.5rem;
}

.news-box--blogg .news-box__content__text {
  border-top-color: #58595b;
}