/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

    @import url("https://fast.fonts.net/lt/1.css?apiType=css&c=ba21ac1b-402a-4768-b043-807ee864041a&fontids=5664093,5664098,5664152");
    @font-face{
        font-family:"Helvetica Neue LT W05 55 Roman";
        src:url("fonts/5664093/522972a6-5867-47ae-82fc-a7cf9bd5d4d4.eot?#iefix");
        src:url("fonts/5664093/522972a6-5867-47ae-82fc-a7cf9bd5d4d4.eot?#iefix") format("eot"),url("fonts/5664093/08b57253-2e0d-4c12-9c57-107f6c67bc49.woff2") format("woff2"),url("fonts/5664093/08edde9d-c27b-4731-a27f-d6cd9b01cd06.woff") format("woff"),url("fonts/5664093/8f4a1705-214a-4dd0-80b8-72252c37e688.ttf") format("truetype");
    }
    @font-face{
        font-family:"Helvetica Neue LT W05 56 Italic";
        src:url("fonts/5664098/c708845d-fe72-4432-9276-47c4f91aec1c.eot?#iefix");
        src:url("fonts/5664098/c708845d-fe72-4432-9276-47c4f91aec1c.eot?#iefix") format("eot"),url("fonts/5664098/4bd56f95-e7ab-4a32-91fd-b8704cbd38bc.woff2") format("woff2"),url("fonts/5664098/4fe1c328-1f21-434a-8f0d-5e0cf6c70dfb.woff") format("woff"),url("fonts/5664098/c07fd9e2-5e0b-4297-9229-af0c8e331d94.ttf") format("truetype");
    }
    @font-face{
        font-family:"Helvetica Neue LT W02_75 Bold";
        src:url("fonts/5664152/46b8084a-77ee-4bc4-bd1c-77c253c9cfcd.eot?#iefix");
        src:url("fonts/5664152/46b8084a-77ee-4bc4-bd1c-77c253c9cfcd.eot?#iefix") format("eot"),url("fonts/5664152/e404b72a-b373-4060-a09e-e0748a928878.woff2") format("woff2"),url("fonts/5664152/80cfd47d-62a8-44b7-b74d-a58f000673a9.woff") format("woff"),url("fonts/5664152/0005e74e-0a5a-4ec5-a99c-ec5b1b88774a.ttf") format("truetype");
    }
    
/* Site logo */

.site-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 50;
    width: 35px;
    height: auto;
}

body.admin-bar .site-logo {
    margin-top: 45px;
}

@media only screen and (min-width: 768px) {
    .site-logo {
        width: 56px;
    }
    body.admin-bar .site-logo {
        margin-top: 32px;
    }
}

/* Typography */ 

h1, h2, h3, h4, h5, h6, p, blockquote, a, ul, ol { 
    letter-spacing: normal;
    font-weight: normal !important;
}

h1, h2, h3, h4, h5, h6, ul, ol {
    font-family: "Helvetica Neue LT W02_75 Bold", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

p, blockquote {
    font-family: "Helvetica Neue LT W05 55 Roman", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}



.fl-rich-text ul {
    font-weight: normal;
    position: relative;
	list-style-type: none;
	margin-left: 0;
	padding-left: 2.5rem;
}

.fl-rich-text ul li {
    margin-bottom: 1rem;
}

.fl-rich-text ul li:before {
    content: "\25A0";
    position: absolute;
	left: 1rem;
    color: #C7CFD6;
}

p.lead,
.lead p {
    font-size: 22px;
}

blockquote, blockquote h1, blockquote h2, blockquote h3, blockquote h4 {
    font-family:"Helvetica Neue LT W05 56 Italic" !important;
    /*font-style: italic;*/
    font-weight: normal;
    font-weight: normal !important;
}

@-moz-document {
    font-weight: 600;
}

blockquote h3 {
    margin-bottom: 0;
}

blockquote {
    border-left: 10px solid #DA2127;
    padding: 15px 30px;
}

@media only screen and (max-width: 768px) {
    blockquote {
        padding: 15px 20px;
    
    }
    blockquote, blockquote h1, blockquote h2, blockquote h3, blockquote h4 {
        font-size: 14px !important;
    }
}

blockquote.right-aligned,
.right-aligned blockquote {
    border-left: 0 none;
    border-right: 10px solid #DA2127;    
    text-align: right;
}


.display h1, 
.display h2, 
h1.display, 
h2.display,
.display h1 a span,
.display h2 a span {
    font-family: "didoni-urw", serif !important;
    font-weight: 400;
    font-style: normal;
    font-size: 34px !important;
    line-height: 38px;
}

.display-menu ul.menu li a {
    font-family: "Helvetica Neue LT W02_75 Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 22px !important;
}

.display-menu ul.menu li a,
.display ul.menu li a {
    /*padding-left: 0;*/
    transition: all 0.3s ease-in-out;
}

.display-menu ul.menu li a:hover,
.display ul.menu li a:hover,
ul.menu li.current-menu-item:not(.home-icon) a {
    /* opacity: 0.9;*/
    color: #C7CFD6 !important;
    /*padding-left: 3px;*/
    
    
}

h2.widgettitle, .widgettitle {
    font-size: 16px;
}

@media only screen and (min-width: 768px) {
    .display h1, 
    .display h2, 
    h1.display, 
    h2.display, 
    .display a, 
    .display h1 a span,
    .display h2 a span
    .display-menu ul.menu li a {
        font-size: 62px !important;
        line-height: 62px;
    }
    .display-menu ul.menu li a,
    .display a {
        font-family: "didoni-urw", serif !important;
        font-weight: 400;
        font-style: normal;
        font-size: 62px !important;
    }
}

.display-menu ul.menu li a {
    color: #fff;
}

.left-inline ul.menu {
    text-align: left;
}

.right-inline ul.menu {
    text-align: right;
}

.left-inline ul.menu li,
.right-inline ul.menu li {
    display: inline-block;
}

/* Hero sections */

@media only screen and (max-width: 1300px) {
    .hero .fl-row-content,
    .overlay .fl-row-content{
    padding-left: 80px;
    padding-right: 80px;
    }
}

@media only screen and (max-width: 768px) {
    .hero .fl-row-content {
        padding-left: 30px;
        padding-right: 30px;
    }
    .overlay .fl-row-content{
        padding: 30px 20px 20px 20px;
    }
}

/* Menus */

ul.menu li.home-icon {
    position: relative;
    padding-left: 12px;
}

ul.menu li.home-icon a span::before {      
    content: "";
    position: absolute;
    left: -7px;
    height: 20px;
    width: 20px;
    background-size: 20px 20px;
    background-image: url(/wp-content/uploads/2019/02/lighthouse-home.svg);
    background-repeat: no-repeat;
}

@media only screen and (min-width: 768px) {
    ul.menu li.home-icon {
        padding-left: 30px;
    }
    ul.menu li.home-icon a span::before {   
        left: 0;
        height: 25px;
        width: 25px;
        background-size: 25px 25px;
    }
}

.inline ul li {
    display: inline-block;
}
    
/* WPML language switcher flags */

li.menu-item.wpml-ls-item.wpml-ls-item-no a span,
li.menu-item.wpml-ls-item.wpml-ls-item-en a span,
li.menu-item.wpml-ls-item.wpml-ls-item-de a span {
    padding: 8px;
}

li.menu-item.wpml-ls-item.wpml-ls-item-no a span img,
li.menu-item.wpml-ls-item.wpml-ls-item-en a span img,
li.menu-item.wpml-ls-item.wpml-ls-item-de a span img {
    display: none;
}

li.menu-item.wpml-ls-item a {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-left: 10px;
}

li.menu-item.wpml-ls-item a span:before {
    content: "";
    display: block;
    width: 26px;
    height: 16px;
    position: absolute;
    left: -14px;
    top: 6px;
    transform: translate(50%, 50%);
    background-size: cover;  
    background-position: center center;  
}

li.menu-item.wpml-ls-item.wpml-ls-item-no a span:before {
    background-image: url(/wp-content/uploads/2019/02/norwegian.jpg);
}

li.menu-item.wpml-ls-item.wpml-ls-item-en a span:before {
    background-image: url(/wp-content/uploads/2019/02/english-1.jpg);
}

li.menu-item.wpml-ls-item.wpml-ls-item-de a span:before {
    background-image: url(/wp-content/uploads/2019/02/german.jpg);
}

/* Business hours module */

.opening-hours .uabb-business-day {
	width: calc( 100%/2.5 );
}

.opening-hours .uabb-business-hours {
	width: calc( 100%/1.5 );
}

.tickets-pricing .uabb-business-day {
	width: calc( 100%/1.5 );
}

.tickets-pricing .uabb-business-hours {
	width: calc( 100%/2.5 );
}



/* Buttons */

.bottom-placement {
    position: absolute;
    bottom: 10%;
    left: 47%;
    transform: translate(-50%, 50%);
    
}

.fl-button, .fl-button span, 
ul.menu li a {
    transition: all 0.5s ease-in-out;
}

/* LINE DARK */
.btn-line-dark a span {
	color: #04273f !important;
}
.btn-line-dark a {
	border: 2px solid #04273f !important;
	background-color: transparent !important; 
}
.btn-line-dark a:hover span {
	color: #fff !important;
}
.btn-line-dark a:hover i {
	color: #fff !important;
}
.btn-line-dark a:hover {
	border-color: #04081b !important;
	background-color: #04081b !important;
}

/* LINE LIGHT */
.btn-line-light a span {
	color: #fff !important;
}
.btn-line-light a {
	border: 2px solid #fff !important;
	background-color: transparent !important; 
}
.btn-line-light a:hover span {
	color: #04273f !important;
	transition: all 0.5s ease-in-out;
}
.btn-line-light a:hover {
	background-color: #fff !important;
}


/* FILL DARK */
.btn-fill-dark a span {
	color: #fff !important;
}
.btn-fill-dark a {
	border: 2px solid #04273f !important;
	background-color: #04273f !important; 
}
.btn-fill-dark a:hover {
	border-color: #04081b !important;
	background-color: #04081b !important;
}

/* Event list */

.event-list {
    margin-left: 0;
    padding-left: 20px;
}

.section-gradient .event-list .fl-post-text:hover * {
    color: #EFE6A2 !important;
    transition: color 0.5s ease-in-out;
}

.event-list .fl-post-text {
    padding: 10px;
}

.event-list .fl-post-meta,
.event-list .fl-post-more-link {
    font-size: 14px;
}

.event-list .fl-post-meta  {
    padding: 0;
}

.event-list .col-a, 
.event-list .col-b, 
.event-list .col-c  {
    display: block;
}

.event-list .col-a {
    width: 100%;
}

.event-list .col-b {
    width: 100%;
}

.event-list .col-c {
    width: 100%;
    text-align: right;
}

/* Event list i dag */

.section-gradient .event-list .event_category-i-dag .fl-post-text * {
    color: #EFE6A2 !important;
}

.event-list .event_category-i-dag .fl-post-heading {
    position: relative;
}
.event-list .event_category-i-dag .fl-post-heading:before {
    content: "";
    position: absolute;
    top: 8px;
    left: -25px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #EFE6A2;
    box-shadow: 0 0 0 4px rgba(204,169,44, 0.4);
}

@media only screen and (max-width: 768px) {
    .event-list .event_category-i-dag .fl-post-heading {
        margin-left: 22px;
    }
    .event-list .event_category-i-dag .fl-post-heading:before {
        left: -18px;
    }
}

/* Yr weather script */

.weather-yr {
    
}
.weather-yr p a  {
    border-bottom-color: rgba(4,39,63,0.5) !important;
}

.weather-yr p a:hover {
    border-bottom-color: rgba(4,8,21,1) !important;
}

@media only screen and (max-width: 768px) {
    .weather-yr * {
        font-size: 16px !important;
    }
}


@media only screen and (min-width: 768px) {
    .event-list .fl-post-text {
        display: flex;
        align-items: center;
        padding: 20px;
    }
    
    .event-list .fl-post-meta,
    .event-list .fl-post-more-link {
        font-size: 16px;
    }
    .event-list .fl-post-text a {
        display: block;
    }
    .event-list .col-a, 
    .event-list .col-b, 
    .event-list .col-c  {
        display: inline-block;
        float: left;
        flex: 1;
        margin: 0;
    }
    .event-list .col-a {
        width: 30%;
    }
    
    .event-list .col-b {
        width: 50%;
    }
    
    .event-list .col-c {
        width: 20%;
    }

}


/* Ansatte */

.pp-content-grid-post.type-ansatte {
    padding: 0;
}

ul.unstyled {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: normal;
}

p.position {
    margin-top: 12px;
}

.pp-gallery-filters-wrapper {
    display: none;
}

/* Pretty text-decoration underlines */

/*
ul.menu li a,
ul.menu li a span {
    text-decoration: underline;
    text-underline-width: thin;
    text-decoration-skip: ink;
    -webkit-text-decoration-skip: ink;
    text-decoration-color: inherit;
    -webkit-text-decoration-color: inherit;
}

ul#menu-hovedmeny-anchors li a, ul#menu-hovedmeny li a span {
    color: #fff;
    -webkit-text-decoration-color: #fff;
}

.site-header ul.menu li a span,
.site-header ul.menu li a span,
p a {
    text-underline-position: under;
    -webkit-text-underline-position: under;
}

.display a {
    text-decoration: underline;
    text-underline-width: thin;
    text-decoration-skip: ink;
    -webkit-text-decoration-skip: ink;
    text-decoration-color: inherit;
    -webkit-text-decoration-color: inherit;
    
    text-underline-position: auto;
    -webkit-text-underline-position: auto;   
}

.display a:hover {
    text-underline-position: auto;
    -webkit-text-underline-position: auto;   
}

*/

p a,
ul.unstyled li a,
.weather-yr p a  {
    border-bottom: 1px solid;
    border-bottom-color: rgba(199,207,214,0.5);
    transition: all 0.5s ease-in-out;
}

p a:hover,
ul.unstyled li a:hover {
    border-bottom-color: rgba(199,207,214,1);
}


/* Display-headings hover effect */

.display h1 a,
.display h2 a {
    padding-left: 0 none;
    transition: all 0.5s ease-in-out;
    
}

.display h1 a:hover,
.display h2 a:hover {
   padding-left: 3px;
}

/* Pretty border-bottom */

/*
.display h1 a,
.display h2 a {
    position: relative;
    z-index: 1;
    
}

.display h1 a:before,
.display h2 a:before {
    border-bottom: 0 none;
    transition: all 0.5s ease-in-out;
}

.display h1 a:hover:before,
.display h2 a:hover:before {
    border-bottom: 1px solid #C7CFD6;
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 16%;
    width: 100%;
    z-index: -1;
    
}
*/

/* Top bar adaptions */

.fl-theme-builder-header-sticky.fl-builder-content[data-type="header"].fl-theme-builder-header-sticky {
        z-index: 1000;
}

body:not(.home) .site-header {
    background-color: #fff;
}

@media only screen and (max-width: 768px) {
    .site-header {
        background-color: #fff;
        height: 50px;
    }
}
    
.fl-theme-builder-header-scrolled .site-header,
.pp-full-screen-menu-open .site-header,
body.overlay-open .site-header {
    background-color: #fff;
    transition: background .25s ease-in-out;
}

body.overlay-open .site-header {
    position: fixed;
    height: 50px;
    width: 100%;
    z-index: 500;
}


/* Custom overlay menu with animated menu icon https://codepen.io/KingKabir/pen/QyPwgG */

.overlay *, a:hover {
    color: #fff;
    text-decoration-color: inherit;
}

.menu-button-container {
    position: absolute;
    top: 0;
    right: 0px;
    height: 50px;
    width: 90px;
    background-color: #04273F;
    z-index: 1;
}

.menu-button-container:hover,
body.overlay-open .menu-button-container {
    background-color: #04081B;
}

.button-container {
    height: 27px;
    width: 35px;
    cursor: pointer;
    z-index: 100;
    transition: opacity .25s ease-in-out;
    left: 50%;
    top: 50%;
    transform: translate(85%, 50%);
}

.button-container:hover {
    opacity: .85;
}
.button-container.active .top {
    transform: translateY(9px) translateX(0) rotate(45deg);
    background: #FFF;
}
.button-container.active .middle {
    opacity: 0;
    background: #FFF;
}
.button-container.active .bottom {
    transform: translateY(-9px) translateX(0) rotate(-45deg);
    background: #FFF;
}
.button-container span {
    background: #ffffff;
    border: none;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 2px;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}
.button-container span:nth-of-type(2) {
    top: 11px;
}
.button-container span:nth-of-type(3) {
    top: 20px;
}

/* Overlay menu */

body.admin-bar .overlay {
    top: 95px; /* 45px adminbar + 50px topbar */
}

@media only screen and (min-width: 768px) {
    body.admin-bar .overlay {
        top: 81px; /* 32px adminbar + 50px topbar */
    }
}

.overlay {
    height: 0%;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 1000;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

@media only screen and (max-width: 768px) {
    .overlay .fl-row-content-wrap {
        padding: 0 0 0 10px !important;
    }
    
    .overlay .fl-module-content {
        margin-top: 5px 20px !important;
    }
}

@media only screen and (min-width: 768px) {
    .overlay-col-a,
    .overlay-col-b {
        margin-top: -100px;
    }
}

/* Overlay search form styles */

.overlay input[type=search] {
    background: #04081B;
    border: 1px solid #fff;
    border-radius: 0;
    color: #fff !important;
    font-style: italic !important;
    height: 48px;
}

.overlay input[type=search]::-webkit-input-placeholder {
    color: #fff !important;
    font-style: normal !important;
}

@media only screen and (max-width: 768px) {
    .overlay-col-a {
        margin-top: -70px;
    }
    .overlay .widgettitle {
        display: none;
    }
    .overlay .fl-module-widget .fl-module-content {
        margin: 10px;
    }
}

/* Make overlay visible in Beaver builder themer saved global element */
.postid-184 .overlay,
.postid-1640 .overlay,
.postid-1644 .overlay  {
    opacity: 0.95;
    visibility: visible;
    height: 100%;
    position: static;
}

/* Weather reports */

.weather-report .fl-post-excerpt {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.weather-report .fl-post-meta {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0;
}

.weather-report,
.weather-report .fl-post-feed-post {
    border-bottom: 0 none !important;
}

@media only screen and (min-width: 1024px) {
    .weather-report .fl-post-image,
    .weather-report .fl-post-text {
        display: block;
        float: left;
    }
    .weather-report .fl-post-image { 
        width: 50%;
        padding-right: 10px;
    }
    .weather-report .fl-post-text {
        width: 50%;
        padding-right: 10px;
    }
}

.weather-reports-smaller .weather-report .fl-post-image { 
    width: 100% !important;
    padding: 0 0 2rem 0;
}

.weather-reports-smaller .weather-report .fl-post-text {
    width: 100% !important;
    padding: 0;
}

.weather-report .fl-post-meta {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

ul.weather-list {
    list-style-type: none;
    padding-left: 0;
}

ul.weather-list li {
    color: #04273F;
  	border-bottom: 1px solid #C7CFD6;
    padding: 0.4rem 1rem;
    font-size: 14px;
}

ul.weather-list li:first-of-type {
    border-top: 1px solid #C7CFD6;
}

ul.weather-list.dark-border li {
    border-bottom: 1px solid #04273F;
}

ul.weather-list.dark-border li:first-of-type {
    border-top: 1px solid #04273F;
}

/* Weather list span title + descr */

@media only screen and (min-width: 768px) {
    .weather-list li {
        display: flex;
    }
    .weather-list .title,
    .weather-list .descr {
        display: block;
    }
    
    .weather-list .title {
        width: 40%;
        
    }
    
    .weather-list .descr {
        width: 60%;
    }
}
/* Search-result */

.search-result-posts .fl-post-feed-meta {
    display: none;   
}

.search-result-posts .type-post .fl-post-feed-meta {
    display: block;
}

/* footer */

.copyright p {
    font-size: 80%;
    opacity: 0.5;
}

/* Popup*/

.pum-theme-5981 .pum-content, .pum-theme-lightbox .pum-content {
	margin-top: -5px !important;
}