/* farger
#020406
#0d151c
#193c50
#326a8c
*/

.custom-spacer {
    margin-top:30px !important;
}
.custom-spacer-0 {
    margin-top:1px !important;
}
.custom-spacer-60 {
        margin-top:60px !important;
}
.custom-spacer-0 div { 
    visibility: hidden;
}
.custom-no-height {
    max-height: 1px !important;
}
#outerContent a {
    text-decoration: underline;
} 
body {
    /* nås ikke */
    /*background-color: #06141d !important;*/
    /*background-color: #0a1d2b !important;*/
    /*background-color: #091f2c !important;*/
}


/* Site bg image */
.site-background-image img.dynamic-image {
    min-height:110%;
}



.w_header {
    background-color: #193C50 !important;
}
.w_design_5 header.w_header .w_social_sharing,
.expanded-menu .w_social_sharing {
    display: none !important;
}
.w_header .top-icons-wrapper {}
.w_header .w_social_sharing {
    display: none !important;
}
.w_header .w_logo {
    float:left;
    max-width:350px;
    max-height: 100px !important;
}
.w_header .w_logo img {
    margin: 24px 0px 24px 65px !important;
}
.mobile-header {
    /*background-color: transparent !important; */
    background-color: #193C50 !important;
}
.mobile-header .logo {
    height: 42px;
    margin-top: 13px;
    margin-left: 17px;
}
.mobile-header .expander-button svg {
    color: #fff !important;
}
/* ------------------------ */

/* Menu ================================ */
.v2-menu {
    float: right;
    margin-left: auto !important;
    margin-top: 68px;
    max-height: 30px;
}
.v2-menu li a {
    color: #fff;
    padding-top: 1px !important;
    padding-bottom 4px !important;
    height:28px  !important;
}
.v2-menu li a:hover {
    text-decoration: underline;
    border-color: #fff !important;
}
.v2-menu li {
    border-right: 1px solid #fff;
    line-height: 28px;
    background-color: transparent !important;
}
.v2-menu li:last-child {
    border-right: 0px solid #fff;
}

li.menu-item:not(.hidden,.deleted):is([data-expanded],[data-has-current-child],[aria-current=page])>:is(a.item-link) {
    border-color: #fff !important;
}
.v2-menu ul ul li a {
    color:#333;
}
.v2-menu ul ul li {
    background-color: #fff !important;
}
/* menynivå 2 */
.v2-menu li li a {
    height:44px  !important;
    line-height: 44px;
    padding-left: 18px !important;
}


/* Forside ========================================== */
.custom-forside-buttons {
    margin-top: -130px !important;
}
.block-button-1, .block-button-2 {
    min-width: 321px !important;
}
#container #wrap #section-top-block .custom-forside-buttons .block_type_buttonblock {
    padding: 0px 0px 0px 0px !important;
}
@media only screen and (max-width: 1023px) {
    .custom-forside-buttons {
        margin-top: -120px !important;
    }
}
@media only screen and (max-width: 799px) {
    .custom-forside-buttons {
        margin-top: -100px !important;
    }
    #container #wrap #section-top-block .custom-forside-buttons .block_type_buttonblock {
        padding: 0px 120px 0px 120px !important;
    }
    .block-button-1, .block-button-2 {
        margin-left: -36px !important;
    }
}
@media only screen and (max-width: 640px) {
    #container #wrap #section-top-block .custom-forside-buttons .block_type_buttonblock {
        padding: 0px 80px 0px 80px !important;
    }

}




.w_carousel_caption {
    background-color:transparent !important;
    margin-bottom: 100px;
    min-width:94% !important;
    max-width:94% !important;
}
#wrap .w_carousel_caption {
    margin-top: -600px !important;
}
.w_carousel_caption h2 {
    font-size: 50px !important;
}
.w_carousel_intro {
    font-size: 30px !important;
    text-transform: none;
    font-weight: 300;
}
.page_id_824982 .w_carousel_slides,
.page_id_824982 .w_carousel_slide,
.page_id_824982 .w_carousel,
.page_id_721743 .w_carousel_slides,
.page_id_721743 .w_carousel_slide,
.page_id_721743 .w_carousel {
    min-height: calc(15vw + 800px) !important;
}
@media only screen and (max-width: 1024px) { 
    .page_id_721743 .w_carousel_slides, .page_id_721743 .w_carousel_slide, .page_id_721743 .w_carousel,
    .page_id_824982 .w_carousel_slides, .page_id_824982 .w_carousel_slide, .page_id_824982 .w_carousel {
        min-height: 730px !important;
    }
    #wrap .page_id_721743 .w_carousel_caption,
    #wrap .page_id_824982 .w_carousel_caption {
        margin-top: -600px !important;
    }
    .w_carousel_caption h2 {
        font-size: 40px !important;
    }
    .w_carousel_intro {
        font-size: 30px !important;
    }
}
@media only screen and (max-width: 1023px) {
    .page_id_721743 .w_carousel_slides, .page_id_721743 .w_carousel_slide, .page_id_721743 .w_carousel,
    .page_id_824982 .w_carousel_slides, .page_id_824982 .w_carousel_slide, .page_id_824982 .w_carousel {
        min-height: 680px;
    }
    #wrap .page_id_721743  .w_carousel_caption,
    #wrap .page_id_824982 .w_carousel_caption {
        margin-top: -550px !important;
    }
    .w_carousel_caption h2 {
        font-size: 40px !important;
    }
    .w_carousel_intro {
        font-size: 30px !important;
    }
}

@media only screen and (max-width: 799px) {
    .page_id_721743 .w_carousel_slides, .page_id_721743 .w_carousel_slide, .page_id_721743 .w_carousel,
    .page_id_824982 .w_carousel_slides, .page_id_824982 .w_carousel_slide, .page_id_824982 .w_carousel {
        min-height: 620px;
    }
    #wrap .page_id_721743  .w_carousel_caption,
    #wrap .page_id_824982 .w_carousel_caption {
        margin-top: -510px !important;
    }
    .w_carousel_caption h2 {
        font-size: 30px !important;
    }
    .w_carousel_intro {
        font-size: 24px !important;
    }
}
@media only screen and (max-width: 667px) {
    .page_id_721743 .w_carousel_slides, .page_id_721743 .w_carousel_slide, .page_id_721743 .w_carousel,
    .page_id_824982 .w_carousel_slides, .page_id_824982 .w_carousel_slide, .page_id_824982 .w_carousel {
        min-height: 620px;
    }
    #wrap .page_id_721743  .w_carousel_caption
    #wrap .page_id_824982 .w_carousel_caption {
        margin-top: -530px !important;
    }
    .w_carousel_caption h2 {
        font-size: 24px !important;
        margin-bottom:10px;
    }
    .w_carousel_intro {
        font-size: 19px !important;
    }
    
}

/* Generelt for andre sider enn forsiden */
@media only screen and (max-width: 1199px) {
    .w_carousel_slides,
    .w_carousel {
        max-height: 680px !important;
        min-height: 680px !important;;
    }
}

@media only screen and (max-width: 799px) {
    .w_carousel_slides,
    .w_carousel {
        max-height: 420px !important;
        min-height: 420px !important;
    }
}
/* -------===================================== */

.page_id_721743 #section-top-block,
.page_id_824982 #section-top-block {
    margin-top: -30px !important;
}
.page_id_721743 #section-top-block #WIPSELEMENT_GENERIC-BLOCK-1,
.page_id_824982 #section-top-block #WIPSELEMENT_GENERIC-BLOCK-1 {
    margin-top: -180px !important;
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}



/* Forside, tekstblokk */
.custom-forside-bedriftsnettverket {
    background-image: url("/sites/m/miltech.no/files/2025/09/bg.jpg");
    padding: 90px 15% 70px 15% !important;
    color: #fff;
}
.custom-forside-bedriftsnettverket * {
    color: #fff;
}
.custom-forside-bedriftsnettverket p {
    font-size: 18px;
}


/* Forside - Hvorfor */
.custom-forside-hvorfor {
    padding-top:0px !important;
}
.custom-forside-hvorfor-del1 a {
    margin-top:25px !important;
}

.custom-forside-hvorfor,
.custom-forside-hvorfor-del1 {
    margin:60px 0px 36px 0px !important;
}
@media only screen and (max-width: 1199px) {
    .custom-forside-hvorfor-del1 {
        width:25% !important;
        margin-top: 59px !important;
    }
    .custom-forside-hvorfor-del1 h2 {
        font-size:22px !important;
        text-align: center;
    }
    .custom-forside-hvorfor-del1 .block-TextAreaAdvanced-html a {
        margin:20px auto 0px auto !important;
    }
}
@media only screen and (max-width: 959px) {
    .custom-forside-hvorfor-del1 {
        width:100% !important;
    }
    .custom-forside-hvorfor {
        margin:0px 0px 0px 0px !important;
    }
    .custom-forside-hvorfor-del1 {
        margin:30px 0px 0px 0px !important;
    }
}
.custom-forside-hvorfor-del1 .block-TextAreaAdvanced-html a {
    display: block;
    width:120%;
    background-color: #193c50;
    color: #fff;
    line-height: 48px;
    margin: 0px 0px 0px 0px;
    max-width: 220px;
    text-align:center;
}
.custom-forside-hvorfor-del1 .block-TextAreaAdvanced-html a:hover {
    color: #fff;
    text-decoration: none !important;
}



/* Forside, 4 toppblokker */
body #container #wrap .custom-toppblokk-forside .block_type_textareaadvancedblock {
    padding: 0px 1px 0px 1px !important;
}
body #container #wrap .custom-toppblokk-forside .block-TextAreaAdvanced-outer {
    margin-bottom: 0px !important;
}
.custom-toppblokk-forside .block-TextAreaAdvanced-html {
    min-height: 420px !important;
}
@media only screen and (max-width: 1199px) {
    .custom-toppblokk-forside .block-TextAreaAdvanced-html {
        min-height: 484px !important;
    }
}
@media only screen and (max-width: 959px) {
    .custom-toppblokk-forside .block-TextAreaAdvanced-html {
        min-height: 430px !important;
    }
}

.custom-toppblokk-forside {
    max-width:18% !important;
    background-color: #fff;
    margin: 0px 5px 30px 5px !important;
    border-radius: 8px 8px 0px 0px;
    border: 1px solid #dddddd;
}
.custom-toppblokk-forside img {
    margin-top: -6px !important;
    margin-left: -15px !important;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    min-width:104.5%;
}
@media only screen and (max-width: 1920px) {
    .custom-toppblokk-forside img {
        min-width:105%;
    }
}
@media only screen and (max-width: 1480px) {
    .custom-toppblokk-forside img {
        min-width:106%;
    }
}
@media only screen and (max-width: 1380px) {
    .custom-toppblokk-forside img {
        min-width:107%;
    }
}
@media only screen and (max-width: 1199px) {
    .custom-toppblokk-forside img {
        min-width:103.5%;
    }
    .custom-toppblokk-forside {
        max-width:39% !important;
        margin: 0px 5px 30px 5px !important;
    }
}
@media only screen and (max-width: 980px) {
    .custom-toppblokk-forside img {
        min-width:104.5%;
    }
}
@media only screen and (max-width: 867px) {
    .custom-toppblokk-forside img {
        min-width:105.5%;
    }
}
@media only screen and (max-width: 799px) {
    .custom-toppblokk-forside img {
        min-width:104.5%;
    }
}
@media only screen and (max-width: 737px) {
    .custom-toppblokk-forside img {
        min-width:104%;
    }
    .custom-toppblokk-forside {
        max-width:80% !important;
        margin: 0px 10% 30px 10% !important;
    }
}
.custom-toppblokk-forside .block-TextAreaAdvanced-html {
    padding-left: 15px;
}
.custom-toppblokk-forside .block-TextAreaAdvanced-html h2 {
    line-height:32px !important;
    font-size: 18px !important;
    font-weight: bold;
}
.custom-toppblokk-forside .block-TextAreaAdvanced-html .button a,
.custom-toppblokk-forside .block-TextAreaAdvanced-html p a {
    display: block;
    bottom: 0px;
    position: fixed;
    width:100%;
    background-color: #193c50;
    color: #fff;
    line-height: 48px;
    padding-left: 20px;
    /*margin: 8px 0px -2px -20px; */
    margin: 8px 0px -2px -15px;
}
.custom-toppblokk-forside .block-TextAreaAdvanced-html .button a:hover,
.custom-toppblokk-forside .block-TextAreaAdvanced-html p a:hover {
    color: #fff;
    text-decoration: none !important;
}
.custom-toppblokk-forside .block-title {
    text-align: center;
    visibility: hidden;
    display:none;
    line-height: 13px;
}

.custom-toppblokk-forside {
    filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.1));
}
 .custom-toppblokk-forside {
     min-height: 395px !important;
}
.block-TextAreaAdvanced-html  {
    min-height: 100% !important;
}
/* ---------------------- */



/* == artikler == */
@media only screen and (max-width: 1199px) and (min-width: 759px) {
    #container-list .innercol {
        max-height: 471px !important;
    }
}
/* ============== */



/* =Generelt, artikler */
#mainContent #container-list .col-link {
    padding: 0.5em 1.6em !important;
}
#container-list .outercol h2 {
    /* font-size: 19px !important; */
}
/* =================== */




/* Forsiden, våre tjenester  (fokusområder)   */
#container #wrap #section-top-block .block_type_buttonnavigateblock {
     padding: 9px !important;
     margin-bottom: 30px;
}
.custom-fokusomroder {
    margin: 60px 0px 0px 0px !important;
    filter: drop-shadow(10px 10px 30px rgba(0, 0, 0, 0.1));
    background-image: url("/sites/m/miltech.no/files/2025/09/bg.jpg");
    background-position: bottom;
    padding: 90px 14% 70px 14% !important;
}
@media only screen and (max-width: 1199px) {
    .custom-fokusomroder {
        margin: 40px 0px 0px 0px !important;
    }
}
.button-wrapper.Basic li {
    min-width: 24%;
    min-height: 150px;
}
.custom-fokusomroder .block-title {
    line-height: 66px;
    margin:0px 0px 50px 0px;
    color: #fff;
}
.custom-fokusomroder h3 {
    text-align: center !important;
    font-size: 40px !important;
    margin-top: 30px;
}
.custom-fokusomroder img {
    max-width: 23% !important;
    margin: 0 1% 0 1% !important;
}
.custom-fokusomroder .navigation-button {
    padding: 0px !important;
}
.custom-fokusomroder .navigation-button svg {
    height:93px !important;
    width: 93px  !important;
    margin: 0px -13px 0px 0px !important;
}
.custom-fokusomroder .navigation-button span {
    display: block;
    min-width: 50% !important;
}
/* ------------------------ */






/* Footer -------------------- */

.w_footer {
    background-image: url("/sites/m/miltech.no/files/2025/09/footer_image.png");
    background-size: contain;
}
.w_block {
    /* background-color: #443388 !important; */
}
.w_block * {
    color: #fff !important;
    text-align: center;
}
.w_footer .w_logo { 
    display: none !important;
}
.w_footer div:nth-child(1) {
    display: none !important;
}
.w_footer div:nth-child(2) {
    width: 50% !important;
}
.w_footer div:nth-child(3) {
    width: 50% !important;
}
@media only screen and (max-width: 769px) {
    .w_footer div:nth-child(2) {
        width: 100% !important;
    }
    .w_footer div:nth-child(3) {
        width: 100% !important;
    }
}
@media only screen and (max-width: 667px) {
    .w_footer div:nth-child(2) img {
        max-width: 190px;
    }
}
.w_footer div:nth-child(4) {
    width: 20% !important;
    display:none !important;
}
.w_footer h3 {
    font-size: 22px;
}
.w_developer span {
    color: #ddd !important;
}
.w_developer a, 
.w_developer button {
    border: 1px solid #ddd !important;
}

/* fjern bunn linje */
.newsletter-button-wrapper, .w_static_menu {
    display:none !important;
}
/* --------------------------- */


/* FB feed */
.custom-fbfeed {
    margin-top:40px !important;
}
@media only screen and (min-width: 1199px) {
    .custom-fbfeed {
        margin-left:10% !important;
        margin-top:60px !important;
    }
}


/* Artikler */
.col-links.article-block-inner .col-link.book {
    background-color: #193c50;
    color: #ffffff;
}

/* defekt i header */
#container #wrap .nav_menu_dropdown .nav_level_1>.nav_item, 
#container #wrap .nav_menu_dropdown .nav_level_1>.nav_item a {
    background-color: transparent !important;
}
/* ------------------------ */



/* Contac form */
.block_type_contactformblock {
    max-width: 90% !important;
    margin: auto !important;
}
.contact-form-name {
    padding-bottom: 12px;
}
/* ------------------------ */


/* Consent */
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;
}
/* ------------------------ */
