.w_developer button span {
    color:var(--footer-surface-color) !important;
}
.custom-spacer {
    margin-top: 30px !important;
}
.custom-negative-margin {
    margin-top: -14px !important;
}
.custom-negative-margin h2 {    font-size: 36px !important; }
.w_static_menu {
    display:none !important;
}
@media all and (min-width: 399px) and (max-width:1199px) {
    #wrap .Slideshow-Floating-text-design .w_carousel_caption {
        margin-top:23%;
    }
}


@media only screen and (min-width: 1200px) {
    .w_carousel_slides,
    .w_carousel {
        max-height: 880px;
        min-height: 700px;
    }
}
@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 all and (min-width: 1200px) {
    .w_carousel_caption {
        margin-top:19%;
    }
}
@media all and (min-width: 1499px) {
    .w_carousel_caption {
        margin-top:18%;
    }
}
@media all and (min-width: 1699px) {
    .w_carousel_caption {
        margin-top:15%;
    }
}
@media all and (min-width: 1899px) {
    .w_carousel_caption {
        margin-top:13%;
    }
}



@media all and (min-width: 1199px) {
    .custom-spacer-icons {
        margin-top:20px !important;
        padding-right:100px !important;
    }
    .custom-spacer-icons .block-title {
        /*padding-left:20px;*/
    }
    .custom-padding-right {
        padding-right:40px !important;
    }
}
.custom-sidemargin {
    margin-left:10px !important;
    margin-right:10px !important;
}
.custom-blaa-bakgrunn div div div {
    background-color: #bcd9e1;
}
.custom-blaa-bakgrunn .block_type_textareaadvancedblock .block-TextAreaAdvanced-html {
    padding:3px 25px 12px 20px;
}
@media all and (max-width: 1199px) {
    .custom-blaa-bakgrunn {
        width: 51% !important;
        --block-wrapper-width: 51% !important;
    }
}
@media all and (max-width: 769px) {
    .custom-blaa-bakgrunn {
        width: 100% !important;
        --block-wrapper-width: 100% !important;
    }
}

.article-brochure {
    background-color: var(--main-overlay-1-color);
}


/* Ekstra link inne i artikler */
.article-block .col-link.book {
    background-color: var(--footer-surface-color) !important;
}


/* Ikoner, forside */
.custom-forsideikoner {
    margin-bottom:-40px !important;
}
.custom-forsideikoner li svg { 
    height:34px;
    width:34px;
}
.custom-forsideikoner .block-title {
    margin-top:70px !important;
    text-align: center !important;
}
.custom-forsideikoner .block_type_roundedbuttonnavigateblock span {
    width:  3.5em !important;
    height: 3.5em !important;
    border-radius: 3em !important;
}
.custom-forsideikoner .block_type_roundedbuttonnavigateblock li {
    flex:1 1 7em !important
}
.block_type_roundedbuttonnavigateblock li div {
    line-height:22px;
}
.custom-forsideikoner .block_type_roundedbuttonnavigateblock li div {
    white-space: nowrap;
}

/* Ikoner - intranett */
.block_type_roundedbuttonnavigateblock svg {
    width:1.6em;
    height:1.6em;
}
.block_type_roundedbuttonnavigateblock span {
    width:  2.5em !important;
    height: 2.5em !important;
    border-radius: 2em !important;
}
.block_type_roundedbuttonnavigateblock div {
    margin-bottom: 0px !important;
}
/* ---- */


.w_static_menu {
    display:none;
}

.w_carousel_intro {
    text-transform: none;
}
.w_carousel {
    padding-bottom: 0px !important;
}

.search-positioning-wrapper {
    margin-right:50px;
}
.w_social_sharing {
    display:none;
}
.main-menu ul ul li {
    list-style-type: none;
}
#mainContent ul li {
    line-height: 26px;
}
#mainContent .block_type_roundedbuttonnavigateblock ul li {
    line-height:6px;
}


@media all and (min-width: 1199px) {
    .article-list {
        margin-left:180px;
        margin-right:180px;
    }
    #mainContent {
        padding-bottom:30px !important;
    }
    
    .w_footer div:nth-child(2) {
        width:48% !important;
    }
    .w_footer div:nth-child(3) {
        width:9% !important;
        /* display: none !important; */
    }
    .w_footer div:nth-child(4) {
        width:16% !important;
    }
}


.w_header_inner {
    width:100% !important;
}
.w_footer .w_logo img {
    max-height:120px !important;
    margin-top:5px;
}
.w_footer .w_logo {
    margin-top: -11px;
}
#W-header header,
#W-header header nav {
    /* background-color: gold !important; */
    background-color: #f4f3f5 !important; 
    /* background-color: honeydew !important; */
    /* background-color: wheat  !important; */
}
#W-header header * {
    color:#222;
}
.search-positioning-wrapper {
    display:none;
}



.brochure-button {
    line-height:30px;
}
.article-block.article-brochure {
    min-height: 317px !important;
    border: 1px solid gray;
}






/* Ansatte */
.page_id_1567784916 #container-list .clear { 
    padding: 0 1em 0em !important;
}
.page_id_1567784916 #container-list .media-wrapper {
    width:17% !important;
    padding-bottom:0px !important;
}
@media all and (min-width: 790px) {
    .page_id_1567784916 #container-list .outercol.docTypeEmployee {
        margin: auto !important;
        min-height: 200px !important;
        max-width: 50% !important;
    }
}

.page_id_1567784916 #container-list .innercol {
    /*height: 210px !important;*/
}
.page_id_1567784916 .article-section-container>h2 {
    padding-top: 2em !important;
    padding-bottom: 0.75em !important;
}

@media all and (max-width: 789px) {
    .page_id_1567784916 #container-list .media-wrapper {
        width:100% !important;
    }
    .page_id_1567784916 .article-section-container>h2 {
        text-align: left !important;
        padding-top: 2em !important;
        padding-bottom: 0.75em !important;
    }
}
#container-list .description, #container-list .textbox-inner h2, #container-list .textbox-inner p { overflow:visible !important;}
.page_id_1567784916 .employee-description .description {
    width:245px  !important;
}
/* Juster på mobilutgaven */
.page_id_1567784916 #Article-14 .employee-description .description { width:290px !important; }
.page_id_1567784916 #Article-15 .employee-description .description { width:238px !important; }
.page_id_1567784916 #Article-5  .employee-description .description { width:213px !important; }
.page_id_1567784916 #Article-8  .employee-description .description { width:213px !important; }
.page_id_1567784916 #Article-19 .employee-description .description { width:212px !important; }
.page_id_1567784916 #Article-25 .employee-description .description { width:366px !important; }
.page_id_1567784916 #Article-24 .employee-description .description { width:310px !important; }
.page_id_1567784916 #Article-29 .employee-description .description { width:219px !important; }
.page_id_1567784916 #Article-27 .employee-description .description { width:222px !important; }
.page_id_1567784916 #Article-23 .employee-description .description { width:236px !important; }
.page_id_1567784916 #Article-30 .employee-description .description { width:228px !important; }
.page_id_1567784916 #Article-31 .employee-description .description { width:305px !important; }
.page_id_1567784916 #Article-36 .employee-description .description { width:198px !important; }
@media all and (min-width: 900px) {
    .page_id_1567784916 #Article-36 .employee-description .description { width:208px !important; }
}
@media all and (min-width: 1450px) {
    .page_id_1567784916 #Article-36 .employee-description .description { width:218px !important; }
}

.page_id_1567784916 #Article-32 .employee-description .description { width:200px !important; }
.page_id_1567784916 #Article-38 .employee-description .description { width:240px !important; }
.page_id_1567784916 #Article-39 .employee-description .description { width:232px !important; }
.page_id_1567784916 #Article-41 .employee-description .description { width:244px !important; }

.page_id_1567784916 #Article-43 .employee-description .description { width:215px !important; }
.page_id_1567784916 #Article-50 .employee-description .description { width:236px !important; }
.page_id_1567784916 #Article-51 .employee-description .description { width:230px !important; }
.page_id_1567784916 #Article-55 .employee-description .description { width:240px !important; }
.page_id_1567784916 #Article-57 .employee-description .description { width:330px !important; }
.page_id_1567784916 #Article-54 .employee-description .description { width:221px !important; }
.page_id_1567784916 #Article-549 .employee-description .description {width:285px !important; }

/* Juster på mobilutgaven */

.page_id_1567784916 .textbox-inner h2 { width:108% !important; }
.page_id_1567784916 #Article-28 .textbox-inner h2::after { content: " & Synssenter AS"; }
.page_id_1567784916 #Article-32 .textbox-inner h2::after { content: " & Rønneberg Optikk AS"; }
.page_id_1567784916 #Article-42 .textbox-inner h2::after { content: " & Briller AS"; }
.page_id_1567784916 #Article-43 .textbox-inner h2::after { content: " & Synshjelp AS"; }
.page_id_1567784916 #Article-50 .textbox-inner h2::after { content: " & Optikk AS"; }

/* .custom-bedriftsnavn .extendedLoginBlock-login form div:first-child .labelText::after { content: " / Bedriftsnavn"; } */

/* START WCAG FIXES */
.w_design_5 .w_header .w_search, .w_header .w_icon_print {
    display: none;
}

.w_design_5 .w_header .w_header_inner {
    flex-wrap: initial !important;
}

.w_design_5 .w_header .w_logo > a > img {
    /*max-height: 145px !important;*/
    max-height: 200px !important;
    min-height: 200px !important;
}

/* Logo, mobile */
.mobile-header {
    height: 103px !important;
}
.mobile-header .logo,
.mobile-header .logo img {
    min-height:100px;
}

/* END WCAG FIXES */

@media all and (min-width: 1200px) {
    #header {
        background: rgba(255, 255, 255, 0.5) !important;
        background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)) !important;
        background: -o-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)) !important;
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)) !important;
        background: linear-gradient(to top, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5)) !important;
    }

    #header {
        height: 200px !important;
    }
    
    .w_header .w_logo,
    .w_header .w_logo img {
        min-height:130px;
    }
/*
    #header #logo {
        position: absolute !important;
        top: 46px;
        height: 200px !important;
        max-height: 200px !important;
        margin-top: -15px;
    }

    #header #logo img {
        height: 200px !important;
        max-height: 200px !important;
    }
*/
    #wrap #header #menuwrap {
        float: right !important;
        clear: both !important;
        margin-top: 30px;
    }
}

#header #search,
#header #print,
#header #share-button {
    display: none !important;
}

body #wrap .tf-block.block_type_textareaadvancedblock {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* skjuler knapp */
#block-serial-1580503959 a {
    display: none !important;
}
/* skjul endre passord */
#block-serial-1580503959 .extendedLoginBlock-login > div:nth-child(2),
#block-serial-1277950436 .extendedLoginBlock-login > div:nth-child(2),
#block-serial-206687227  .extendedLoginBlock-login > div:nth-child(2) {
    display: none !important;
}

/* Consen */
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;
}

/* Fjerne (skjult side) for gjeste bruker */
.main-menu {}