/*
Theme Name: Arbeiderbevegelsens Arkiv i Telemark
Theme URI: https://mediasparx.com/
Template: mediasparx
Author: mediasparx.com
Author URI: https://mediasparx.com/
Description: Mobile First, Responsive Enhancement, creating flexible user experiences for the Web
Version: 0.9
License: © Mediasparx - all rights reserved
License URI: https://mediasparx.com/
*/

/* -=* variables start *=- */
:root {
    --green_link_color: #0F6B59;
    --green_link_color_btn: #5CDB94;
    --green_hover_color_btn: #389583;
    --green_visited_color: #015545;
    --green_hover_color: #20826F;
    --green_active_color: #20826F;

    --text_color: #2F3242;
    --light_grey_color: #F9F9F9;
    --secondary_color: #424851;
    --white_color: #fff;
    --grey_color: #E9E9E9;


    --box_shadow_header: inset 0 0 0 1000px rgb(0 0 0 / 50%);

    --border_light_grey: 1px solid rgba(249, 249, 249, 0.40);
}
/* -=* variables end *=- */

body {
    color: var(--text_color);
}

/* -=* fix containers start *=- */
.max-width-650,
.max-width-720,
.max-width-850,
.max-width-960,
.max-width-1070,
.max-width-1100,
.max-width-1200,
.max-width-1470,
.max-width-1740,
.max-width-1920 {
    padding-left: 15px;
    padding-right: 15px;
}
.row.max-width-650,
.row.max-width-720,
.row.max-width-850,
.row.max-width-960,
.row.max-width-1070,
.row.max-width-1100,
.row.max-width-1200,
.row.max-width-1470,
.row.max-width-1740,
.row.max-width-1920 {
    padding-left: 0;
    padding-right: 0;
}
.max-width-650 {
    max-width: 650px;
    margin: auto;
}
.max-width-720 {
    max-width: 720px;
    margin: auto;
}
@media (max-width: 768px) {
    .row.max-width-650,
    .row.max-width-720,
    .row.max-width-850,
    .row.max-width-960,
    .row.max-width-1070,
    .row.max-width-1100,
    .row.max-width-1200,
    .row.max-width-1470,
    .row.max-width-1740,
    .row.max-width-1920 {
        margin-left: -15px;
        margin-right: -15px;
    }
}
@media (min-width: 1200px) {
    .limit-width-1470 {
        padding-left: calc((100% - 1470px)/2);
        padding-right: calc((100% - 1470px)/2);
    }
    .limit-width-850 {
        padding-left: calc((100% - 850px)/2);
        padding-right: calc((100% - 850px)/2);
    }
}
.limit-width-850-bg {
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.75);
    background-size: cover;
    color: var(--white_color);
}
.limit-width-850-bg form {
    color: var(--text_color);
}
/* -=* fix containers end *=- */

/* -=* override buttons start *=- */
button.btn,
button.btn.btn-primary,
button.btn.btn-default,
a.btn,
a.btn.btn-primary,
a.btn.btn-default {
    text-transform: uppercase;
    font-size: 14px;
    padding: 1.45em 3.5em;
    border-radius: 0;
    line-height: 1.7;
    font-weight: 600;
    text-decoration: none;
}
button.btn.btn-default,
button.btn.btn-default:visited,
a.btn.btn-default:link,
a.btn.btn-default:visited {
    background-color: var(--secondary_color);
    border: 1px solid var(--secondary_color);
    color: var(--white_color);
    border-color: var(--secondary_color);
}

button.btn.btn-primary,
button.btn.btn-primary:visited,
a.btn.btn-primary:link,
a.btn.btn-primary:visited {
    background-color: var(--green_link_color_btn);
    border: 1px solid var(--green_link_color_btn);
    color: var(--text_color);
    border-color: var(--green_link_color_btn);
}

button.btn.btn-default:hover,
a.btn.btn-default:hover,
button.btn.btn-default:focus,
a.btn.btn-default:focus,
button.btn.btn-default:active {
    background-color: var(--white_color);
    color: var(--text_color);
    border-color: var(--secondary_color);
    box-shadow: none;
}
a.btn.btn-primary:hover,
button.btn.btn-primary:hover,
a.btn.btn-primary:focus,
button.btn.btn-primary:focus,
button.btn.btn-primary:active {
    background-color: var(--white_color);
    color: var(--text_color);
    border-color: var(--green_link_color_btn);
    box-shadow: none;
}
/* -=* override buttons end *=- */

/* -=* header general start *=- */

    /* header background image start */
header#header {
    position: relative;
}
header#header #hovedmeny{
    border-bottom: var(--border_light_grey);
}
header#header .header-background-image img,
.header-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}
header#header .header-content-template,
#template-full-height-content
{
    box-shadow: var(--box_shadow_header);
    position: relative;
}
    /* header background image end */

    /* header menu start */
#hovedmeny.navbar {
    margin: 0;
    padding: 0;
}
#header-menu-row a.navbar-brand {
    height: auto;
    padding: 0;
}
#header-menu-row a.navbar-brand svg {
    width: 100%;
    height: 100%;
}
#header-flex-el,
#header-logo-search,
#navbar-search-toggle .exp-search-toggle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#header-logo-search {
    border-right: var(--border_light_grey);
}
#header-menu {
    flex: 1;
    justify-content: end;
    display: flex;
    flex-wrap: wrap;
}
#header-menu .menu-item a:link,
#header-menu .menu-item a:visited {
    color: var(--white_color);
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    padding: 10px 15px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}
#header-menu .menu-item a:hover,
#header-menu .menu-item a:focus,
#header-menu .menu-item.open a,
#header-menu .menu-item.active a,
#header-menu .menu-item.open a:hover {
    border: 1px solid var(--light_grey_color);
    color: var(--white_color);
    background-color: transparent;
}
#header-menu .menu-item .caret {
    border: 0;
    width: 10px;
    height: 7px;
    background-image: url('data:image/svg+xml,<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.31578 6.36126C5.14136 6.54625 4.85862 6.54625 4.6842 6.36126L0.13081 1.53192C-0.0436032 1.34693 -0.0436032 1.04705 0.13081 0.862066L0.341351 0.638741C0.515763 0.453753 0.798543 0.453753 0.972962 0.638741L4.99999 4.90983L9.02705 0.638741C9.20146 0.453753 9.4842 0.453753 9.65862 0.638741L9.86919 0.862066C10.0436 1.04705 10.0436 1.34693 9.86919 1.53192L5.31578 6.36126Z" fill="%23F9F9F9"/></svg>');
    background-repeat: no-repeat;
    margin-left: 10px;
    background-size: cover;
}
#header-menu .dropdown-menu:before {
    content: '';
    display: inline-block;
    background-image: url('data:image/svg+xml,<svg width="9" height="9" viewBox="0 0 9 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.99999 0L9 9H0L8.99999 0Z" fill="%23389583"/></svg>');
    width: 9px;
    height: 9px;
    position: absolute;
    top: -9px;
    right: 0;
}
#header-menu .dropdown-menu {
    background-color: var(--green_hover_color_btn);
    margin-top: 0;
    min-width: 240px;
    right: 0;
    left: auto;
}
#header-menu .dropdown-menu .menu-item {
    padding: 0 15px;
}
#header-menu .dropdown-menu .menu-item a:link {
    padding: 10px;
    border: 0;
    border-bottom: 1px solid rgba(249, 249, 249, 0.20);
}
#header-menu .dropdown-menu .menu-item:last-of-type a:link {
    border: 0;
}
#header-menu .dropdown-menu .menu-item a:hover,
#header-menu .dropdown-menu .menu-item:hover {
    color: var(--green_link_color);
    background-color: var(--white_color);
}
#navbar-search-toggle {
    padding: 0 50px;
    color: var(--white_color);
}
#navbar-search-toggle .exp-search-toggle svg {
    margin-right: 8px;
}
#navbar-search-toggle span,
.overlayMediasparxBlock .close-icon,
.hamburger-icon {
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* overlay search nav start */
.overlayMediasparxBlock {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    /*z-index: 1;*/
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: var(--white_color);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: fadein 1s;
    -moz-animation: fadein 1s;
    -webkit-animation: fadein 1s;
    -o-animation: fadein 1s;
    background-image: url('/wp-content/themes/a_arkiv/assets/Barken-Randi-Foto-ukjent.jpeg');
    box-shadow: var(--box_shadow_header);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.overlayMediasparxBlock .overlay-container {
    animation: fadein 1s;
    -moz-animation: fadein 1s;
    -webkit-animation: fadein 1s;
    -o-animation: fadein 1s;
    height: 100%;
}
.overlayMediasparxBlock .overlay-content,
.overlayMediasparxBlock .overlay-content > .row {
    height: 100%;
}
.overlayMediasparxBlock #exp-search-alt-form,
.overlayMediasparxBlock .exp-search-alt-input {
    background: rgba(153,153,153,.05);
    border: 1px solid rgba(153,153,153,.2);
    color: #072440;
}
.overlayMediasparxBlock #exp-search-alt-form {
    border-radius: 6px;
    text-align: center;
    font-size: 54px;
    /*padding: 15px;*/
}
.overlayMediasparxBlock .exp-search-alt-inner {
    padding: 0;
}
.overlayMediasparxBlock .exp-search-alt-inner .search-icon {
    background-color: var(--green_link_color_btn);
    position: absolute;
    left: auto;
    margin: auto;
    right: 0;
    border: 0;
    top: 0;
    height: 70px;
    width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlayMediasparxBlock .exp-search-alt-inner input {
    /*padding-right: 55px;*/
    box-shadow: none;
    height: 70px;
    font-size: 24px;
    background-color: var(--white_color);
}
.overlayMediasparxBlock .close-icon {
    position: relative;
    top: calc(50% - 50px);
    -webkit-transform: translateY(calc(50% - 50px));
    transform: translateY(calc(50% - 50px));
    padding: 15px;
    opacity: 1;
    right: 29px;
    float: right;
    line-height: 1;
}

.container-with-searchbox {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.btn-nav-mobile {
    height: 22px;
    width: 22px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: all 300ms linear 0ms;
    display: inline-block;
}
.btn-nav-mobile::before, .btn-nav-mobile::after, .btn-nav-mobile span {
    transition: all 300ms linear 0ms;
    content: "";
    background-color: #fff;
    display: block;
    height: 2px;
    left: 0;
    right: 0;
    position: absolute;
    border-radius: 5px;
}
.btn-nav-mobile::before {
    top: 0px;
}
.btn-nav-mobile span {
    top: 8px;
    width: 100%;
}
.btn-nav-mobile::before, .btn-nav-mobile::after,.btn-nav-mobile span {
    background-color: #fff;
}
.btn-nav-mobile::after {
    top: 17px;
    width: calc(100% - 4px);
}
.btn-nav-mobile.opened::before {
    top: 8px;
    transform: rotate(45deg);
}
.btn-nav-mobile.opened::after {
    transform: rotate(-45deg);
    top: 8px;
    width: 100%;
}
.btn-nav-mobile.opened span {
    display: none;
}

@media (max-width: 768px) {
    .container-with-searchbox {
        max-width: calc(100% - 2.5em);
    }
    .overlayMediasparxBlock .exp-search-alt-inner .search-icon {
        width: 1em;
    }
    .overlayMediasparxBlock .close-icon {
        right: calc(1em - 15px);
    }
}
/* search toggle and search box end */

/* overlay search nav end */

@media(max-width: 991px) {
    #header-logo-search {
        border-right: 0;
    }
    #header-hamburger-search {
        flex: 1;
        justify-content: end;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    #navbar-search-toggle .exp-search-toggle svg {
        margin-right:0;
    }
    #navbar-search-toggle {
        padding: 0 15px;
        border-right: var(--border_light_grey);
    }
    #navbar-search-toggle .exp-search-toggle,
    .hamburger-icon {
        min-height: 40px;
    }
    #navbar-search-toggle .exp-search-toggle svg path {
        fill: var(--white_color);
        stroke: var(--white_color);
    }
    .hamburger-icon {
        padding-left: 15px;
    }

    #header-menu-row a.navbar-brand svg {
        max-height: 75px;
    }
    #header-menu-row {
        background-color: var(--text_color);
    }
    .hamburger-icon {
        display: flex;
        align-items: center;
    }
    .hamburger-icon svg {
        margin-left: 5px;
    }
    .overlayBlockNavMobile-opened {
        display: block;
    }
    .body-overlayBlockNavMobile-opened {
        overflow: hidden;
    }
    #overlayBlockNavMobile {
        background-color: var(--text_color);
        padding: 25px 0;
        border-top: var(--border_light_grey);
    }
    #header-menu {
        display: block;
    }
    #header-menu .navbar-nav > li,
    #header-menu .navbar-nav {
        float: none;
        display: block;
        width: 100%;
    }
    #hovedmeny #header-menu .dropdown-menu {
           position: relative;
           float: left;
           box-shadow: none;
           top: 0;
           width: 100%;
            border: 0;
            background-color: transparent;
       }
    #header-menu .menu-item a:link {
        font-size: 18px;
    }
    #header-menu .dropdown-menu .menu-item a:link {
        border: 1px solid transparent;
        font-size: 16px;
    }
    #header-menu .menu-item a:hover,
    #header-menu .menu-item a:focus,
    #header-menu .menu-item.open a,
    #header-menu .menu-item.active a,
    #header-menu .menu-item.open a:hover {
        border: 1px solid transparent;
        color: var(--green_link_color_btn);
        background-color: transparent;
    }
    #header-menu .menu-item.open .menu-item a,
    #header-menu .menu-item.active .menu-item a {
        color: var(--white_color);
    }
    #header-menu .dropdown-menu .menu-item.active a:link,
    #header-menu .menu-item.open .dropdown-menu a:link {
        color: var(--white_color);
    }
    #header-menu .dropdown-menu .menu-item:hover,
    #header-menu .menu-item.open .dropdown-menu a:hover {
        color: var(--green_link_color_btn);
        background-color: transparent;
    }
    #header-menu .dropdown-menu::before {
        display: none;
    }
}
@media (min-width: 992px) {
    #hovedmeny  li.menu-item:hover .dropdown-menu {
        display: block;
    }
}

@media(max-width: 768px) {
    #header-menu-row a.navbar-brand {
        height: 65px;
    }
}
    /* header menu end */

/* header content start */
#header-content {
    position: relative;
}
header#header #header-title {
    color: var(--white_color);
    padding-block-start: min(10vw, 25rem);
    padding-block-end: min(10vw, 35rem);
    text-transform: uppercase;
}
#sticky_posts_start {
    color: var(--white_color);
    list-style-position: inside;
}
#sticky_posts_start li {
    /*padding: 30px 0;*/
    font-weight: 500;
    border-bottom: var(--border_light_grey);
    margin: 0;
    /*padding-left: 30px;*/
    display: flex;
    align-items: center;
}
#sticky_posts_start li:first-of-type {
    border-top: var(--border_light_grey);
}
#sticky_posts_start ul li a:link,
#sticky_posts_start ul li a:visited {
    color: var(--green_link_color_btn);
    display: inline-block;
    width: 100%;
    padding: 30px 0;
    padding-left: 30px;
    text-decoration: underline;
    line-height: 1.7;
}
#sticky_posts_start ul li a:hover {
    color: var(--white_color);
}
#sticky_posts_start li::before {
    position: absolute;
    left: 55px;
    content: '';
    display: inline-block;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--green_link_color_btn);
}
#sticky_posts_start ul li:hover:before {
    background-color: var(--white_color);
}
#sticky_posts_start {
    padding-block: min(10vw, 3em);
}
@media (max-width: 1199px) {
    #sticky_posts_start ul {
        padding: 0;
    }
    #sticky_posts_start li::before {
        left: 15px;
    }
}
@media (min-width: 992px) {
    #header-content > .row {
        display: flex;
        flex-wrap: wrap;
    }
    #sticky_posts_start {
        position: absolute;
        bottom: 0;
        padding-block: min(10vw, 6em);
    }
}
@media (max-width: 769px) {
    #sticky_posts_start li {
        padding: 0;
    }
    #sticky_posts_start ul li a:link {
        padding: 15px;
    }
    #sticky_posts_start {
        padding-block: min(10vw, 1em);
    }
    .home header#header #header-title {
        padding-block-end: min(10vw, 2rem);
    }
}
/* header content end */
/* -=* header general end *=- */

/* contact form start */
.gform_wrapper form .gform_fields:before {
    display: none;
}
.gform_wrapper form .gform_fields {
    margin: 0 auto;
}
.gform_wrapper form  input,.gform_wrapper form  input:focus,
.gform_wrapper form  textarea,.gform_wrapper form  textarea:focus{
    height: 50px;
    background-color: var(--white_color);
    color: var(--text_color);
    padding: 6px 130px 6px 20px !important;
    border: 1px solid #828282;
    outline: none;
    width: 100%;
    font-size: 18px;
    border-radius: 0;
}

.gform_wrapper form#gform_2 {
    position: relative;
    width: 100%;
    max-width: 420px;
}
.gform_wrapper form .gfield--type-email {
    width: 420px;
}
.gform_wrapper.gravity-theme .gform_fields {
    grid-column-gap: 2%;
    /*-ms-grid-columns: (1fr 2%) [12];*/
    grid-row-gap: 16px;
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-template-rows: repeat(auto-fill,auto);
    width: 100%;
    margin: 0 auto;
}
.gform_wrapper.gravity-theme .gfield.gfield--width-half {
    -ms-grid-column-span: 6;
    grid-column: span 6;
}
.gform_wrapper.gravity-theme .gfield {
    grid-column: 1/-1;
    min-width: 0;
}
.gform_wrapper.gravity-theme #field_submit, .gform_wrapper.gravity-theme .gform_footer {
    display: flex;
}

.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input {
    align-self: flex-end;
}
.gform_wrapper.gravity-theme form .gform_fields{
    grid-column-gap: 0;
}

#field_submit input.gform-button {
    width: 120px;
    background-color: var(--green_link_color_btn);
    color: var(--text_color);
    border: 0;
    border-radius: 0;
    padding: 15px 20px !important;
    height: 50px;
}
#gform_wrapper_2 #field_submit {
    /*position: absolute;*/
    /*right: 0;*/
    /*top: 34px;*/
    /*height: 50px;*/
    /*margin: 0;*/
    position: relative;
    right: 0;
    width: 120px;
}
.help-block {
    display: none;
}
.gform_wrapper.gravity-theme form .gfield_label {
    padding: 0 16px;
    background-color: var(--white_color);
    top: 21px;
    position: relative;
    left: 15px;
    font-size: 17px;
    font-weight: 400;
}
.gform_wrapper.gravity-theme form input:focus,
.gform_wrapper.gravity-theme form input:focus-visible
{
    outline: transparent;
    border: 1px solid var(--green_hover_color);
    box-shadow: 0 0 0 1px var(--green_hover_color) inset;
}
/*footer#footer #field_submit {*/
/*    right: -90px;*/
/*}*/
.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin: 0 !important;
    padding: 0 !important;
}
/* contact form end */

/* footer start */
footer#footer .footer-contact-icons p {
    margin: 0;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

footer#footer .footer-contact-icons svg {
    margin-right: 12px;
}
#menu-footer-menu {
    margin: 0 -15px;
}
#menu-footer-menu li {
    float: none;
    margin: 0;
}
footer#footer a.footer-contact-icons:link,
#menu-footer-menu li a:link {
    text-decoration: underline;
    color: var(--green_link_color);
}
footer#footer a.footer-contact-icons:hover,
#menu-footer-menu li a:hover,
#menu-footer-menu li a:focus {
    color: var(--green_hover_color);
    background-color: transparent;
}
#footer-logo-about,
#footer-menu-linker,
#footer-contact-info {
    margin: 25px 0;
}
footer#footer .footer-utility-container {
    margin-top: 100px;
    border-top: 1px solid var(--light_grey_color);
    padding: 30px 15px;
}
@media (min-width: 769px) and (max-width: 992px) {
    footer#footer #menu-footer-menu.nav  {
        margin: 0 -10px;
    }
}
footer#footer .gform_wrapper.gravity-theme form .gfield {
    margin: 0;
}
@media (max-width: 768px) {
    .gform_wrapper form#gform_2 #field_submit {
        right: 0;
        grid-column: span 4;
    }
    .gform_wrapper form#gform_2 .gfield--type-email {
        width: 16em;
    }
    .gform_wrapper form#gform_2  #field_submit input.gform-button {
        width: auto;
    }
    .gform_wrapper form#gform_2 .gfield--type-email {
        width: auto !important;
        grid-column: span 8 !important;
    }
    .gform_wrapper form#gform_2 #field_submit input.gform-button {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .gform_wrapper form#gform_2 .gfield {
        margin: 0;
    }
}

/* footer end */

/* template for page with full height content start */
#template-full-height {
    position: relative;
    color: var(--white_color);
}
#template-full-height-content header#header .header-content-template {
    box-shadow: none;
}
#template-full-height-content .gform_wrapper form input, #template-full-height-content .gform_wrapper form input:focus,
#template-full-height-content .gform_wrapper form textarea,#template-full-height-content  .gform_wrapper form textarea:focus {
    background-color: transparent;
    color: var(--white_color);
    padding: 10px 15px !important;
}
#template-full-height-content .gform_wrapper form input:focus,
#template-full-height-content .gform_wrapper form textarea:focus {
    background-color: var(--text_color);
}
#template-full-height-content .gform_wrapper.gravity-theme form .gfield_label {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white_color);
}
.gform_wrapper.gravity-theme form .gfield {
    margin: 0 15px;
}
#template-full-height-content .gform_wrapper form .gfield--type-email {
    width: unset;
}
#template-full-height form input.gform_button {
    background-color: var(--green_link_color_btn);
    color: var(--text_color);
    padding: 20px 30px;
    font-size: 14px;
    text-transform: uppercase;
    border: 1px solid var(--green_link_color_btn);
}
#template-full-height form input.gform_button:hover {
    background-color: var(--white_color);
    color: var(--green_hover_color);
}
#template-full-height .gform_wrapper {
    border: 10px solid rgba(249, 249, 249, 0.30);
    background-color: rgba(0, 0, 0, 0.50);
    padding: 2em 3em;
}
#template-full-height .gform_footer {
    margin: 0 15px !important;
}
#field_3_6, #field_4_6 {
    opacity:0;
    display: none;
}
@keyframes fadeInOut {
    0% { opacity:0; }
    50% { opacity:1; }
    100% { opacity:1; }
}
#gform_wrapper_3:target #field_3_6, #gform_wrapper_4:target  #field_4_6 {
    animation: fadeInOut 2s linear forwards;
    display: inline-block!important;
    margin-bottom: 30px;
}
#show a, #show_kontakt a {
    font-size: 17px;
}
#gform_wrapper_3:target #open, #gform_wrapper_4:target #open-kontakt {
    display: none;
}
#show a, #show_kontakt a, #show_kontakt a:visited, #show a:visited {
    color: var(--white_color);
}
#show a:hover, #show_kontakt a:hover {
    color: var(--green_link_color_btn);
}
#template-full-height-content main#main {
    padding-block: min(10vw, 6em);
}
@media (max-width: 768px) {
    #template-full-height .gform_wrapper {
        padding: 0.5em 0.75em;
    }
}
/* template for page with full height content end */

/* siste nytt section start */
#siste_nytt_posts_start {
    margin-top: 65px;
    margin-bottom: 0;
}
.block-with-info {
    z-index: 1;
    position: relative;
    background: var(--secondary_color);
    padding: 2.5em;
    color: var(--white_color);
}
.block-with-info a:link,
.block-with-info a:visited {
    color: var(--white_color);
    text-decoration: none;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    line-height: 140%;
}

.home .block-with-info a:link,
.home .block-with-info a:visited {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}
.home  .first-post .block-with-info .heading-like-h1 {
    font-size: 48px;
}
.other-posts-item a:link,
.other-posts-item a:visited {
    color: var(--green_link_color);
    text-decoration: none;
}
.block-with-info a:hover,
.other-posts-item a:hover {
    color: var(--green_hover_color);
}
main#main .block-with-info .lead {
    color: var(--white_color);
}
.block-with-img {
    position: relative;
    /*top: -30.5px;*/
    left: 0;
    width: 100%;
}
.block-with-img a,
.block-with-img-other-posts a {
    height: 100%;
    display: block;
    width: 100%;
    position: relative;
}
.block-with-img a::before,
.block-with-img-other-posts a::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    box-shadow: var(--box_shadow_header);
}
/*.other-posts-item {*/
/*    margin: 10px 0;*/
/*}*/
.entry-content .other-posts-item > .row {
    margin-bottom: 0;
}
.first-post-category,
.other-posts-category {
    position: relative;
    z-index: 1;
    color: var(--white_color);
    text-transform: uppercase;
    display: flex;
}
.other-posts-category {
    position: absolute;
    top: 0;
}
.first-post-category p,
.other-posts-category p {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    background-color: var(--secondary_color);
    padding: 5px 10px;
}
.first-post-date-author span {
    color: var(--white_color);
}
.first-post-date-author span,
.other-posts-author span {
    font-size: 12px;
    font-weight: 600;
}
.other-posts > .row {
    display: flex;
    flex-wrap: wrap;
}
.first-post-date-author {
    position: absolute;
    z-index: 1;
    bottom: 0;
    padding: 2.5em;
}
.first-post-date-author span.first-post-date {
    text-transform: uppercase;
}
.entry-content .other-posts-row.row {
    margin-bottom: 30px;
}
@media(max-width: 1199px) {
    .block-with-img {
        position: relative;
    }
    .first-post-category {
        position: absolute;
    }
}
@media(min-width: 1200px) {
    .block-with-img {
        top: -30.5px;
    }
}
@media (min-width: 479px) and (max-width: 1199px) {
    .visible-md.first-post > .row {
        display: flex;
        flex-wrap: wrap;
    }
    /*.visible-md.first-post > .row   .col-md-6:first-of-type {
        background-color: var(--secondary_color);
    }*/
    .visible-md.first-post > .row   .col-md-6:first-of-type .block-with-info {
        /*position: absolute;
        top: 50%;
        transform: translate(0,-50%);*/
        padding: 1.5em 2.5em;
    }

    .visible-md.first-post > .row  .col-xs-6:last-of-type {
        display: flex;
        align-items: center;

    }
}

@media (max-width: 768px) {
    .other-posts-row:nth-of-type(2n+1) .other-posts-item {
        background-color: var(--light_grey_color);
    }
    .visible-md.first-post > .row   .col-md-6:first-of-type .block-with-info {
        padding: 1.5em;
    }
    .visible-md.first-post > .row   .col-md-6:first-of-type .block-with-info   .heading-like-h1 {
        margin-bottom: 0;
        font-size: 2.2rem;
    }
.other-posts-row {
    width: 100%;
}
}
/* siste nytt section end */

/* page with grey bg start */
.page-template-page-grey-bg main#main {
    padding-block: min(10vw,7em);
    background-color: var(--light_grey_color);
}
/* page with grey bg end */

/* sponsors-archive start */
#sponsors-archive {
    margin-bottom: 60px;
    margin-top: 60px;
}
.premium-sponsors-item,
.normal-sponsors-item {
    text-align: center;
    margin: 15px 0;
}
.premium-sponsors-item .premium-sponsors-item-img img {
    top: 50%;
    left: 0;
    position: relative;
    transform: translate(0, -50%);
}
.premium-sponsors-item.premium-with-link .premium-sponsors-item-img img {
    top: 0;
    transform: translate(0, 0);
}
.premium-sponsors-item .premium-sponsors-item-img {
    background-color: var(--white_color);
    padding: 10em 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.premium-sponsors-item .premium-sponsors-item-info {
    background-color: var(--grey_color);
    padding: 24px 18px;
    /*position: absolute;*/
    /*width: calc(100% - 30px);*/
    /*bottom: 0;*/
}
.premium-sponsors-item.premium-with-link .premium-sponsors-item-info {
    position: relative;
    width: 100%;
}
.premium-sponsors-item.premium-with-link .premium-sponsors-item-info.premium-sponsors-without-img,
.page-template-page-grey-bg .premium-sponsors-item > .row > .col-xs-12 .sponsor-block-with-shadow,
.normal-sponsors-without-img, .normal-sponsors-item-img {
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
}
.premium-sponsors-item.premium-with-link .premium-sponsors-item-info.premium-sponsors-without-img:hover,
.page-template-page-grey-bg .premium-sponsors-item > .row > .col-xs-12 .sponsor-block-with-shadow:hover,
.normal-sponsors-without-img:hover, .normal-sponsors-item-img:hover {
    box-shadow: 0 5px 20px rgba(92, 219, 148,.2);
}
.premium-sponsors-item-info.premium-sponsors-without-img {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: var(--grey_color);
}
.premium-sponsors-item-info.premium-sponsors-without-img .premium-sponsors-without-img-block,
#row-premium-sponsors .block-with-link-info {
    top: 50%;
    left: 0;
    position: relative;
    transform: translate(0, -50%);
}
.premium-sponsors-item-info.premium-sponsors-without-img .premium-sponsors-without-img-block.premium-with-link-without-img {
    top: 0;
    transform: translate(0, 0);
    height: 100%;
    width: 100%;
}
main#main #sponsors-archive p.lead {
    color: #BDBDBD;
    margin-bottom: 5px;
}
main#main #sponsors-archive  p.lead {
    color: var(--text_color);
    margin-bottom: 5px;
}
#sponsors-archive p.heading-like-h3 {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}
#row-premium-sponsors .block-with-link-im {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#row-premium-sponsors .block-with-link-img a {
    height: 100%;
    width: 100%;
    display: inline-block;
}
#sponsors-archive a:link, #sponsors-archive a:visited {
    color: var(--text_color);
    text-decoration: none;
}
#sponsors-archive a:hover {
    color: var(--green_hover_color);
}

.page-template-page-grey-bg #row-premium-sponsors > .row,
.page-template-page-grey-bg #row-normal-sponsors > .row,
.page-template-page-grey-bg .premium-sponsors-item > .row > .col-xs-12 .sponsor-block-with-shadow,
.page-template-page-grey-bg .premium-sponsors-item > .row {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
.premium-with-link-without-img .block-with-link-img,
.premium-with-link .block-with-link-img {
    height: 100%;
    width: 100%;
}
.premium-with-link .premium-sponsors-item-img {
    padding: 0;
}
.premium-with-link .premium-sponsors-item-img a {
    padding: 10em 18px;
}
.entry-content .premium-sponsors-item > .row {
    margin-bottom: 0;
}
#row-premium-sponsors {
    margin-bottom: 60px;
}
.normal-sponsors-item-img {
    background-color: var(--white_color);
    padding: 25px 5em;
    text-align: center;
}
.normal-with-link .normal-sponsors-item-img {
    padding: 0;
    height: 100%;
}
.normal-sponsors-item-img .block-with-link-img {
    height: 100%;
}
#sponsors-archive .normal-sponsors-item-img a:link, #sponsors-archive .normal-sponsors-item-img a:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.normal-sponsors-item-img a {
    height: 100%;
    width: 100%;
    padding: 25px 5em;
    display: inline-block;
}
.normal-sponsors-without-img {
    background-color: var(--grey_color);
    /*padding: 25px 5em;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.normal-sponsors-without-img .normal-with-link-without-img,
.normal-sponsors-without-img .normal-with-link-without-img .block-with-link-img {
    height: 100%;
    width: 100%;
}
.normal-sponsors-without-img .normal-with-link-without-img .block-with-link-img a {
    padding: 25px 5em;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .premium-sponsors-item .premium-sponsors-item-img {
        padding: 4em 18px;
    }
    .premium-with-link .premium-sponsors-item-img a {
        padding: 5em 18px;
    }
    .premium-with-link .premium-sponsors-item-img {
        padding: 0;
    }
}
/* sponsors-archive end */

/* mixitup start */
#mixitup {
    margin-top: 50px;
    margin-bottom: 25px;
}
@media (min-width: 1900px) {
    #mixitup-controls > div {
        display: flex;
        /*flex-wrap: wrap;*/
        flex-direction: row;
        align-items: center;
    }
}
#mixitup .btn-primary {
    font-weight: 600;
    font-size: 12px;
    line-height: 170%;
    text-transform: capitalize;
    background-color: var(--white_color);
    padding: 8px 20px;
    border: 1px solid var(--green_link_color_btn);
    color: var(--green_link_color);
}
#mixitup .btn-group {
    margin: 10px;
}
#mixitup .btn-group:first-of-type {
    margin-left:  0;
}
#mixitup .btn-group:last-of-type {
    margin-right:  0;
}
#mixitup .btn-primary.mixitup-control-active,
#mixitup .btn-primary:hover,
#mixitup .btn-primary:focus {
    border: 1px solid var(--green_link_color_btn);
    background-color: var(--green_link_color_btn);
    color: #2B3043;
}
.mixitup-container > .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
    margin: 0 -15px;
    margin-top: 68px;
    /*width: 100%;*/
}
.home .mixitup-container > .row {
    margin-top: 0;
}
.mix, .gap  {
    display: inline-flex;
    vertical-align: top;
}
#blog-archive .mix, .gap  {
    display: unset;
}
.mixitup-block .row-article {
    margin-bottom: 40px;
}
@media(max-width: 1899px) {
    #mixitup-controls > div {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }
    #mixitup .btn-group:first-of-type {
        margin-left: 10px;
    }
    #mixitup .btn-group:last-of-type {
        margin-right: 10px;
    }
}
@media screen and (max-width: 1199px) {
    .mix, .gap {
        width: calc(100%/2 - (((2 - 1) * 1rem) / 2));
    }
    .text-right-lg.text-right-md {
        z-index: 1;
    }
}
@media screen and (min-width: 1200px) {
    .mix, .gap  {
        width: calc(100%/3 - (((3 - 1) * 1rem) / 3));
    }
}
@media screen and (max-width: 768px) {
    .mix, .gap  {
        width: calc(100%/1 - (((1 - 1) * 1rem) / 1));
    }
    .mixitup-container {
        margin: 0;
    }
    .text-right-lg.text-right-md p {
        display: none;
    }
    .text-right-lg.text-right-md p:last-of-type {
        display: block;
    }
}
.featured-overlay-info {
    background-color: rgba(0,0,0,.5);
    position: absolute;
    top: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 100%;
}
.featured-overlay-info > a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.featured-overlay-info > a:link, .featured-overlay-info > a:visited {
    text-decoration: none;
    color: var(--white_color);
}
.featured-overlay-info p.heading-like-h3 {
    margin-bottom: 15px;
}
.lh-block-with-dates-time {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
}
.lh-block-dates {
    background-color: var(--green_link_color_btn);
    padding: 8px 20px;
}
.lh-start-time {
    padding: 8px 20px;
    display: block;
}
.lh-block-info {
    position: absolute;
    bottom: 30px;
    padding: 0 15px;
}
.lh-block-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    font-weight: 500;
    text-transform: uppercase;
    background-color: var(--green_link_color_btn);
    padding: 10px 20px;
}
@media (min-width: 1200px) {
    .lh-block-info {
        padding: 0 3.75em;
    }
}
@media(max-width: 489px) {
    .featured-overlay-info {
        font-size: 1.5rem;
    }
    .lh-block-btn {
        font-size: 14px;
    }
 /*   .lh-block-info p:last-of-type {
        display: none;
    }*/
}
/* mixitup end */

/* single arrangement start */
.single-arrangement .single-sidebar {
    border-bottom: 1px solid var(--grey_color);
    background: var(--light_grey_color);
    padding: 15px;
    margin-bottom: 25px;
}
.single-block-with-date,
.single-block-with-location {
    padding: 15px 0;
}
.single-block-with-date,
.single-block-with-location {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.single-block-with-date span:first-of-type,
.single-arrangement .single-sidebar .single-google-link span:first-of-type {
    font-style: italic;
    font-weight: 500;
    font-size: 1em;
    width: 100%;
    display: inline-block;
}
.single-block-with-date span.single-start-date,
.single-block-with-date span.single-end-date,
.single-block-with-location span.single-location-place,
.single-block-with-date span.single-start-time {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 120%;
}
.single-block-with-date svg,
.single-block-with-location svg {
    margin-right: 0.75em;
}
.single-dates,
.single-location {
    flex: 1;
}
.single-arrangement .single-sidebar .single-google-link:link,
.single-arrangement .single-sidebar .single-google-link:visited,
.single-arrangement .single-sidebar .single-google-link,
.single-arrangement .single-sidebar .single-google-link span {
    color: var(--text_color);
    font-style: normal;
    font-weight: normal;
}
.single-arrangement .single-sidebar .single-google-link:hover,
.single-arrangement .single-sidebar .single-google-link:hover span {
    color: var(--text_color);
}
.single-block-with-location a span {
    color: var(--text_color);
}
.single-arrangement .single-sidebar .single-google-link span.single-location-place {
    color: var(--green_link_color);
    font-weight: 600;
    line-height: 120%;
}

.single-arrangement .single-sidebar a.single-google-link:hover span.single-location-place {
    color: var(--green_hover_color);
}
@media (min-width: 1200px) {
    .single-arrangement .single-sidebar {
        padding: 3.55em;
    }
    .single-block-with-date,
    .single-block-with-location {
        padding: 3.55em 0;
    }
    .single-sidebar {
        width: calc(100% - 15px);
    }
    .single-block-with-date svg, .single-block-with-location svg {
        margin-right: 30px;
    }
    .single-block-with-date span.single-start-date,
    .single-block-with-date span.single-end-date,
    .single-block-with-location span.single-location-place,
    .single-block-with-date span.single-start-time,
    .single-block-with-location a span.single-location-place {
        font-size: 24px;
    }
    .single-block-with-date span:first-of-type, .single-block-with-location span:first-of-type,
    .single-arrangement .single-sidebar .single-google-link span:first-of-type {
        font-size: 20px;
    }
}
/* single arrangement end */

/* breadcrumbs start */
.breadcrumbs,
breadcrumb {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumbs li,
.breadcrumbs li a:link,
.breadcrumbs li a:visited,
.breadcrumb li,
.breadcrumb li a:link,
.breadcrumb li a:visited {
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    color: var(--white_color);
    text-transform: capitalize;
}
.breadcrumb li,
.breadcrumb li a:link,
.breadcrumb li a:visited {
    color: var(--text_color);
}
.breadcrumbs li a:hover,
.breadcrumb li a:hover {
    color: var(--green_hover_color);
}
.breadcrumbs li svg,
.breadcrumb li svg {
    margin-right: 20px;
    margin-left: 20px;
}
.breadcrumb {
    padding: 2.5em 15px 2em 0;
    background-color: transparent;
}
    /* breadcrumbs end */

/* bilde page start */
.mix-type-video .row.row-article {
    position: relative;
    width: 100%;
}
.mix-type-video .row.row-article > .entry-header-blog.col-xs-12 {
    height: 100%;
    padding: 0 10px;
}
.mix-type-video .row.row-article > .entry-header-blog.col-xs-12 .lh-block-content {
    height: 100%;
    width: calc(100% + 20px);
}
.mix-type-video .row.row-article > .entry-header-blog.col-xs-12 .lh-block-content .su-youtube.su-u-responsive-media-yes {
    height: 100%;
    width: 100%;
}
@media (min-width: 992px) {
    /*#media-archive .lh-block-content .lh-block-info {
        display: none;
        animation: fadein 1s;
        -moz-animation: fadein 1s;
        -webkit-animation: fadein 1s;
        -o-animation: fadein 1s;
    }
    #media-archive .featured-overlay-info {
        background-color: transparent;
        animation: fadein .5s;
        -moz-animation: fadein .5s;
        -webkit-animation: fadein .5s;
        -o-animation: fadein .5s;
    }
    #media-archive .lh-block-content:hover .lh-block-info {
        display: block;
    }
    #media-archive .lh-block-content:hover .featured-overlay-info {
        background-color: rgba(0,0,0,.5);
    }
    #media-archive .mix-type-video .lh-block-content .lh-block-with-dates-time {
        left: 10px;
        color: var(--white_color);
    }*/
}
#arrangement-archive .mix_no_featured > .row.row-article,
#media-archive .mix_no_featured > .row.row-article,
#media-archive section {
    width: 100%;
}
#media-archive .mix_no_featured > .row.row-article .lh-block-content .lh-block-info {
    display: block;
}
#media-archive .mix_no_featured > .row.row-article .featured-overlay-info {
    background-color: rgba(0,0,0,.5);
}
@media (max-width: 768px) {
    .mix-type-video .row.row-article > .entry-header-blog.col-xs-12 {
        padding: 0 15px;
    }
    .mix-type-video .row.row-article > .entry-header-blog.col-xs-12 .lh-block-content {
        width: calc(100% + 30px);
    }
    #media-archive .mix-type-video .lh-block-content .lh-block-with-dates-time {
        left: 15px;
    }
}
/* bilde page end */

/* fixes on start page start */
.home #sponsors-archive {
    /*background-color: var(--grey_color);*/
    /*padding: 3.75em 0;*/
    margin-top: 0;
    margin-bottom: 0;
}
.home #sponsors-archive #row-sponsorer-flex {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.home #sponsors-archive a:link {
    padding: 3.75em 0;
    display: inline-block;
    width: 100%;
    height: 100%;
}
/*.row-sponsorer-flex-wrap {
    flex-wrap: wrap;
}*/
/*.home #sponsors-archive #row-sponsorer-flex #link-to-sponsorer {
    display: flex;
    !*align-items: center;*!
    flex-wrap: wrap;
}*/
.home .entry-content .premium-sponsors-item > .row {
display: flex;
}
.home .premium-sponsors-item-info.premium-sponsors-without-img,
.home .premium-sponsors-item .premium-sponsors-item-img  {
    background-color: transparent;
    padding: 0 18px;
}
.home .premium-sponsors-item .premium-sponsors-item-img img {
    top: 0;
    transform: translate(0, 0);
}
.home main#main .gform_wrapper.gravity-theme form .gfield_label {
    display: none;
}
.home main#main .gform_wrapper form#gform_2 {
    margin:  0 auto;
}
.entry-content #siste_nytt_posts_start.row, .entry-content #siste_nytt_posts_start .row {
    margin-bottom: 15px;
}
@media(max-width: 768px) {
   .entry-content #siste_nytt_posts_start.row, .entry-content #siste_nytt_posts_start .row,
   .entry-content #arrangement-archive.row, .entry-content #arrangement-archive .row {
        margin-bottom: 0;
    }
    .entry-content #siste_nytt_posts_start .other-posts-row .row,
    .entry-content #arrangement-archive.row .blogs-element .row-article {
        margin-bottom: 15px;
    }
    .other-posts {
        margin-top: 40px;
    }


    .home #sponsors-archive #row-sponsorer-flex {
        margin-bottom: 0;
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
    }
    .home #sponsors-archive #row-sponsorer-flex:before {
        display: none;
    }
    .home #sponsors-archive a:link {
        padding: .75em 0;
    }
}
/* fixes on start page end*/

/* share buttons fixes start */
.share-connect button.btn.btn-default,.share-connect a.btn, .share-connect a.btn.btn-default {
    padding: .45em 1.75em;
    border: 1px solid var(--grey_color) !important;
}
.share-connect button.btn.btn-default:hover,.share-connect a.btn:hover,  .share-connect a.btn.btn-default:hover{
    border: 1px solid var(--text_color) !important;
}
.error404 button.btn, button.btn.btn-primary {
    padding: .87em 3.5em;
}
/* share buttons fixes end */

/* lightbox content start */
section .gallery {
   padding: 0 15px;
}
.featherlight-content-custom {
    position: relative;
    width: 100%;
    height: auto;
    background-color: rgba(0,0,0,1);
    bottom: 0;
    color: var(--white_color);
    padding: 2em 1.5em;
}
.featherlight {
    overflow-y: scroll;
}
body {
    overflow: auto;
}
.with-featherlight body {
    overflow: hidden;
}

@media (max-width: 768px) {
    .featherlight-content-custom {
        padding: 20px 15px;
        position: relative;
    }
    .featherlight-content-custom .heading-like-h2 {
        margin: 5px 0 10px 0;
    }
    .featherlight-content-custom .lead {
        font-size: 1.6rem;
    }
}
/* lightbox content end */

/* overriding style for gform on edge start */
#gform_wrapper_2 form .gfield {
    margin: 0;
}
@-moz-document url-prefix() {
    footer#footer #field_submit,
    #gform_wrapper_2 #field_submit {
        right: -90px;
    }
}
/* overriding style for gform on edge end */

/* blog page fixes start */

#blog-archive .lh-block-info {
    position: relative;
    bottom: 0;
    background-color: var(--white_color);
    padding: 0;
    box-shadow: 0 10px 50px rgba(0,0,0,.1);
}
#blog-archive .lh-block-info a {
    padding: 25px 15px;
    display: inline-block;
}
#blog-archive .lh-block-info a:link,
#blog-archive .lh-block-info a:visited {
    color: var(--text_color);
    text-decoration: none;
}
#blog-archive .lh-block-info a:hover,
#blog-archive .blogs-element:hover a:link,
#blog-archive .blogs-element:hover a:visited {
    color: var(--green_hover_color);
}
#blog-archive .lh-block-info a:hover .lh-block-btn,
#blog-archive .blogs-element:hover a .lh-block-btn {
    color: var(--white_color);
    background-color: var(--green_visited_color);
}
#blog-archive .blogs-element:hover .featured-overlay-info a:link,
#blog-archive .blogs-element:hover .featured-overlay-info a:visited {
    color: var(--white_color);
}
#blog-archive a:hover .lh-block-dates .lh-start-date,
#blog-archive .lh-block-info a:hover {
    color: var(--white_color);
}
#blog-archive .lh-block-img {
    position: relative;
}
#blog-archive .featured-overlay-info {
    left: 0;
    width: 100%;
}
#bilde-archive .featured-overlay-info,
#blog-archive  .featured-overlay-info,
section .featherlight-gallery .feather-light-bilde .featured-overlay-info {
    background-color: rgba(0, 0, 0, 0);
}
#blog-archive .lh-post-date,
#blog-archive .lh-post-author {
    font-size: 11px;
}
#blog-archive .lh-post-author span {
    font-weight: 600;
}
@media(min-width: 1200px) {
    #blog-archive .lh-block-info a {
        padding: 20px 60px 50px;
    }
}

#arbeiderminner-archive #mixitup {
    margin-top: 0;
}
.featherlight .featherlight-content .featherlight-image {
    display: inline-block;
}
body .featherlight .featherlight-content {
    text-align: center;
}
/* blog page fixes end */

/* single sponsor start */
.single-sponsor .single-sidebar p {
    margin-bottom: 15px;
}
.single-sponsor .single-sidebar p.heading-like-h3 {
    margin: 20px 0 15px 0;
    font-weight: 500;
}
.single-sponsor .single-sidebar a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
/* single sponsor end */

/* single bilde gallery start */
.mix > .row.row-article {
    margin-bottom: 30px;
}
.single-bilde section .gallery .feather-light-bilde {
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 30px;
    break-inside: avoid;
    position: relative;
}
.single-bilde section .gallery .feather-light-bilde-featured .featured-overlay-info {
     left: 0;
     width: 100%;
 }
.single-bilde section .gallery .featherlight-link{
    color: #fff;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.single-bilde section .gallery .feather-light-bilde img {
    grid-row: 1 / -1;
    grid-column: 1;
}
.single-bilde section .gallery .featherlight-gallery {
    column-count: 4;
    column-gap: 30px;
}
#bilde-archive .max-width-1470 {
    column-count: 3;
    column-gap: 0;
}
#bilde-archive .max-width-1470 .mix {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    margin-bottom: 15px;
    margin-top: 15px;
    break-inside: avoid;
    position: relative;
    /*padding: 0;*/
}
#bilde-archive .max-width-1470 .mix .row {
    margin-bottom: 0;
}
#media-archive.video-media section .gallery {
    padding: 0;
}
@media (min-width: 769px) and (max-width: 991px) {
    .single-bilde section .gallery .featherlight-gallery {
        column-count: 3;
        column-gap: 30px;
    }
    #bilde-archive .max-width-1470 {
        column-count: 2;
        column-gap: 0;
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    .single-bilde  section .gallery .featherlight-gallery,
    #bilde-archive .max-width-1470 {
        column-count: 2;
        column-gap: 0;
    }
    .single-bilde  section .gallery .featherlight-gallery {
        column-gap: 30px;
    }
}
@media (max-width: 479px) {
    .single-bilde   section .gallery .featherlight-gallery,
    #bilde-archive .max-width-1470 {
        column-count: 1;
        column-gap: 0;
    }
    .single-bilde  section .gallery .featherlight-gallery {
        column-gap: 30px;
    }
}
/* single bilde gallery end */