/*  .hexagon-flat */
#container-list .innercol {
    clip-path: polygon(0% 0%, 0% 89%, 10% 100%, 89% 100%, 100% 89%, 100% 0%);
    background: #ffffff;
}
#container-list .innercol img {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
}
#custom-button {
      clip-path: polygon(0% 0%, 0% 100%, 89% 100%, 100% 70%, 100% 30%, 89% 0%);
}
#custom-button a {
    line-height: 22px;
    text-transform: none !important;
}
@media only screen and (min-width: 1200px) {
    .w_carousel_caption {
        /* clip-path: polygon(0% 0%,   0% 69%,  8% 100%,  92% 100%,  100% 69%,  100% 0%);  */
    }
}


/* artikkel utlisting */
#container-list .col-links {
    text-align: center;
}
#container-list h2 {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px !important;
}
#container-list .textbox {
    background-color: var(--primary-color) !important;
}
.page_id_1125135860 {}
.article-block.article-brochure {
    min-height: 377px !important;
}
#container-list .col-link.read,
#container-list .col-link.book{
    background-color: #fff !important;
    color: var(--primary-color) !important;
    border: 1px solid #fff;
}
#container-list .col-link.read:hover,
#container-list .col-link.book:hover{
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border: 1px solid #fff;
}
@media screen and (min-width: 701px) {
    .textbox-inner {
        /* min-height: 247px; */
        min-height: 277px;
    }
}





/* Artikler, les mer visning */
.article-block.article-brochure .buttons-container a {
    font-size: 1em !important;
}

.col-links.article-block-inner {
    color: var(--secondary-color-contrast) !important;
    background-color: var(--secondary-color) !important;
    margin-top: 20px !important;
}
.col-links.article-block-inner:hover {
    background-color: var(--primary-color-contrast) !important;
    color: var(--primary-color) !important;
}
.article-block.article-intro {
    padding-bottom: 30px;
    border-bottom: 1px solid #fff;
}








/* slideshow */
.teaser-wrapper.w_carousel_teaser {
    text-transform: none !important;
}
.w_carousel_column img {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.w_carousel_caption {
    border: 1px solid #fff !important;
}
@media only screen and (max-width: 1199px) {
    .w_carousel_slides,
    .w_carousel {
        max-height: 680px;
    }
}
@media only screen and (max-width: 799px) {
    .w_carousel_slides,
    .w_carousel {
        max-height: 420px;
    }
}
@media only screen and (min-width: 1500px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 700px;
        height: 70vh !important;
    }
}
@media only screen and (min-width: 1600px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 725px;
        height: 72vh !important;
    }
}
@media only screen and (min-width: 1700px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 750px;
        height: 75vh !important;
    }
}
@media only screen and (min-width: 1800px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 800px;
        height: 80vh !important;
    }
}
@media only screen and (min-width: 1900px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 825px;
        height: 82vh !important;
    }
}
@media only screen and (min-width: 2000px) {
    .page_id_1125135860 .w_carousel_slides,
    .page_id_1125135860 .w_carousel {
        min-height: 850px;
        height: 85vh !important;
    }
}
.w_carousel_intro {
    text-transform: none !important;
}










/* Sentrerere artikler, slik at de treffer med toppblokker */
@media only screen and (min-width: 1200px) {
    #center {
        margin: 0px 13% 0px 13% !important;
    }
}








/* Blokker */
.block-width-75 {}
.block_type_slideshowblock {
    max-height: 210px !important;
}
.block_type_slideshowblock .block-title {
    color: #000;
    font-size: 15px !important;
    line-height: 22px !important;
    text-align: center !important;
    padding-right: 11px !important;
}


.block_type_slideshowblock,
.block_type_slideshowblock .entryArticle__styleBasic .entryArticle__image {
    background-color: #fff !important;
}
.block_type_slideshowblock .entryArticle__styleBasic .entryArticle__image img {
    max-height: 170px !important;
    margin: auto;
}

.generic_block {
    border-radius: 10px;
} 

.block_type_iframeblock iframe {
    min-height: 600px !important;
}

.block_type_textareaadvancedblock .block-title {
    /* border-bottom: 1px solid #fff; */
}
.block_type_textareaadvancedblock {
    background-color: var(--footer-surface-color) !important;
    padding-top: 26px !important;
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #fff !important;
}
.block_type_textareaadvancedblock a,
.block_type_contactformblock a {
    text-decoration: underline;
}
.block_type_textareaadvancedblock a:hover,
.block_type_contactformblock a:hover {
    text-decoration: none !important; 
}

.block_type_socialmediablock .block-title {
    padding-left: 6px;
    line-height: 2.9em !important;
}

.block_type_timerblock {
    padding-top: 30px !important;
}
.block_type_timerblock .block-title {
    font-size: 1.25em !important;
    font-weight: bold;
    line-height: 22px !important;
    margin-bottom: 15px !important; 
}
.block_type_timerblock .countdownElement span,
.block_type_timerblock .countdownElement div {
    font-size: 16px !important;
    line-height: 32px !important;
}


.block_type_rolldowntextblock a {
    text-decoration: underline;
}
.block_type_rolldowntextblock a:hover {
    text-decoration: none;
}
.block_type_rolldowntextblock section div.heading h4 {
    font-weight: 400 !important;
}
.rolldown-text-main {
    border-top: 1px solid #fff !important;
    border-bottom: 1px solid #fff !important;
}
.rolldown-text-main .editorContent {
    border-left: 1px solid #999 !important;
    border-right: 1px solid #999 !important;
}


.block_type_timerblock * {
    color: #fff !important;
    text-align: center;
}
.block_type_timerblock .countdownElement span {
    font-size: 20px !important;
    color: var(--footer-surface-color) !important;
}
.block_type_timerblock .countdownElement div {
    background-color: #fff !important;
    color: var(--footer-surface-color) !important;
    border: 1px solid #fff;
    white-space: nowrap;
    margin: auto !important;
    padding: 2.4em 0em !important;
}
.block_type_timerblock .block-title {
    font-size: var(--w-font-26-title) !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding-bottom: 10px !important;
}


.custom-blue {
    background-color: var(--footer-surface-color) !important;
}
.block_type_contactformblock {
    background-color: var(--footer-surface-color) !important;
}
.block_type_contactformblock label {
    font-weight: 400 !important;
}
.block_type_contactformblock .outlined .label,
.block_type_contactformblock .filled .label {
    color: #fff !important;
    border: 1px solid #fff;
}



/* =============== Sponsorer ================ */
.block_type_foreignpagearticleslistblock article,
.block_type_foreignpagearticleslistblock .article-media{
    background-color: #fff !important;
}
.block_type_foreignpagearticleslistblock article h4 {
    color: #000 !important;
    padding-left: 20px !important;
    line-height: 48px !important;
    font-size: 26px !important;
    display: none !important;
}
.block_type_foreignpagearticleslistblock .article-intro,
.block_type_foreignpagearticleslistblock .article-intro-content {
    display: none !important;
}
.block_type_foreignpagearticleslistblock {
    zoom: 0.5 !important;
    padding: 20px;
}
.block_type_foreignpagearticleslistblock .block-title {
    padding-left: 20px;
}
.block_type_foreignpagearticleslistblock img {
    max-width: 96% !important;
    margin-top: 13px;
    margin-left: 2% !important;
}
@media only screen and (min-width: 1200px) {
    div.article-list-block-root>div.article-list {
        --max-column-count: 4 !important;
    }
}
.block_type_foreignpagearticleslistblock .article-intro-content,
.block_type_foreignpagearticleslistblock .article-buttons{
    display: none !important;
}

/* sponsor siden */
.page_id_864792 #container-list .outercol {
    max-width: 50% !important;
}

/* ==========================   */


/* Forside ikoner */
.custom-forsideikoner li svg,
.custom-forsideikoner-footer li svg {
    height:34px;
    width:34px;
}
.custom-forsideikoner .block-title {
    /*margin-top:70px !important; */
    text-align: center !important;
}
.custom-forsideikoner .block_type_roundedbuttonnavigateblock span,
.custom-forsideikoner-footer span {
    width:  3.5em !important;
    height: 3.5em !important;
    border-radius: 3em !important;
}
.custom-forsideikoner-footer  .block_type_roundedbuttonnavigateblock li {
    min-width: 33% !important;
    max-width: 33% !important;
}
@media only screen and (min-width: 760px) {
    .custom-forsideikoner-footer  .block_type_roundedbuttonnavigateblock li {
        min-width: 25% !important;
        max-width: 25% !important;
    }
}
@media only screen and (min-width: 1200px) {
    .custom-forsideikoner-footer  .block_type_roundedbuttonnavigateblock li {
        min-width: 15% !important;
        max-width: 15% !important;
    }
}
@media only screen and (min-width: 1400px) {
    .custom-forsideikoner-footer  .block_type_roundedbuttonnavigateblock li {
        min-width: 11% !important;
        max-width: 11% !important;
    }
}




.custom-forsideikoner .block_type_roundedbuttonnavigateblock li {
    flex:1 1 5em !important;
    min-width: 25% !important;
}
@media only screen and (min-width: 760px) {
    .custom-forsideikoner .block_type_roundedbuttonnavigateblock li {
        flex:1 1 5em !important;
        min-width: 25% !important;
    }
}

.block_type_roundedbuttonnavigateblock li div,
.custom-forsideikoner-footer li div {
    line-height:22px;
}
.custom-forsideikoner .block_type_roundedbuttonnavigateblock li div {
    white-space: nowrap;
}
@media only screen and (min-width: 900px) {
    .custom-forsideikoner .block_type_roundedbuttonnavigateblock li {
        flex:1 1 7em !important;
        max-width: 11% !important;
        min-width: 11% !important;
    }
}
/* -------------------------- */




/* ===========  Footer  ========== */
.w_footer {
    border-top: 1px solid #fff;
    border-bottom: 2px solid #fff;
}
.w_footer p {
    line-height: 1.4em !important;
}

.w_static_menu {
    display: none;
    height: 1px !important;
}
.w_footer .w_developer button span,
.w_footer .w_developer a span {
    color: #fff !important;
}
#W-footer .w_footer .w_developer button {
    background-color: #fff !important;
}
.w_footer a {
    text-decoration: underline;
}
.w_footer a:hover {
    text-decoration: none;
}
.w_footer .w_logo img   {
    max-height: 180px !important;
}
#W-footer {
    filter: drop-shadow(0px 0px 3px #aaa);
}


  /* kartvisning */
.w_footer.has-map .wMapOuter {
    display: none;
}
.page_id_1125135860 .w_footer.has-map .wMapOuter {
    display: block;
}
.leaflet-control-zoom-in span,
.leaflet-control-zoom-out span,
.leaflet-control-attribution a,
.leaflet-control-attribution {
    color: var(--footer-surface-color) !important;
}

/* =========== ========= ========== */





.custom-margin-bottom-30 {
    margin-bottom:30px !important;
}
.custom-spacer-10 {
    margin-top:10px !important;
}
.custom-spacer-20 {
    margin-top:20px !important;
}
.custom-spacer-30 {
    margin-top:30px !important;
}
.custom-spacer-40 {
    margin-top:40px !important;
}
.custom-spacer-50 {
    margin-top:50px !important;
}
.custom-spacer-60 {
    margin-top:60px !important;
}
.custom-spacer-70 {
    margin-top:70px !important;
}
.custom-spacer-80 {
    margin-top:80px !important;
}
.custom-spacer-90 {
    margin-top:90px !important;
}
.custom-spacer-100 {
    margin-top:100px !important;
}
.custom-spacer-110 {
    margin-top:110px !important;
}

.custom-forsideikoner-footer .block-title {
    text-align: center !important;
    /*font-size: 17px !important;*/
}




.main-menu ul {
    display: contents !important;
}
.main-menu ul li a{
    font-size: 17px !important;
}
/* align header, design 8 */
div#W-header>header>.w_header_inner {
    /* width: 71.8vw !important; */
}
.w_header {
    border-bottom: 1px solid #fff;
}
.w_header .w_logo img {
    margin:0px 0px 0px 20px;
    min-height: 130px !important;
}
.mobile-header .logo {
    margin:0px 0px 0px 11px;
}
/* ------------------- */




/* Sentrerere artikler, slik at de treffer med toppblokker */
@media only screen and (min-width: 1200px) {
    #center {
    /*    margin: 0px 12.6% 0px 12.6% !important; */
    }
}


/* Consent */
.v2-form section.consent-header * {
    background-color: var(--modal-dialog-background-color, #fff) !important;
}
div.consent-dialog-inner button {
    margin-bottom: 15px;
}
div.consent-dialog-inner {
    --dialog-row-gap: 0em !important;
}
div.consent-dialog-inner h2 {
    margin-top:22px !important;
    font-size:19px !important;
}
div.consent-dialog-inner h3 {
    margin-bottom: 15px !important;
    font-size:18px !important;
}
div.consent-dialog-inner p,
div.consent-dialog-inner .show-more-button {
    margin-bottom: 5px !important;
    font-size:14px !important;
}


#wrap .w_developer button span {
    color: var(--footer-surface-color) !important;
}


/* Blokker */
.outer-block-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
.outer-block-wrapper.custom-fullwidth {
    padding-left: 0px !important;
    padding-right: 0px !important;
}
#container #wrap .outer-block-wrapper.custom-fullwidth .generic_block {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.custom-white .block_type_textareaadvancedblock {
    background-color: #fff !important;
}
.custom-white * {
    color: var(--footer-surface-color) !important;
}

.custom-transparent .block_type_textareaadvancedblock {
    background-color: transparent !important;
    border: none !important;
}
.custom-transparent * {
    color: #fff !important;
}



.block_type_contactformblock {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.block_type_contactformblock [type="reset"] {
    display: none !important;
}




.custom-hidden,
.custom-hidden {
    display: none !important;
}
.logged-in .custom-hidden,
.logged-in .custom-hidden {
    display: inline-block !important;
    background-color: #aaaaaa88 !important;
}
.logged-in .custom-hidden .block-title::after {
    content: "  :::  Blokken er 'skjult', og kun synlig for innlogget bruker. Rediger 'Avanserte innstillinger' til blokken";
    color: red;
    margin-top: 8px !important;
    font-size: 1em;
}
.logged-in .custom-til-admin-mobil .block-title::after {
    content: "  :::  Info til admin: Denne blokken er kun synlig på mobilvisningen";
    color: red;
    margin-top: 8px !important;
    font-size: 1em;
}



.custom-clear {
    margin-left: 1px !important;
    margin-right: 1px !important;
}