/* Custom Norgesdesign Styles */

.html5vid::before {
    /* Mørkeblått filter direkte over selve videoen (videopluginets overlay).
       Bruker firmaets mørkeblå farge med gjennomsiktighet slik at
       filmen skinner gjennom med en blå tone. */
    background-color: #00496a !important;
    opacity: 0.55 !important;
}

.logomenustyle
{
    width: 250px !important;
    height: auto !important;
    margin-top: 15px !important;

}

/* Mindre logo på undersidene slik at den ikke bryter utover båndet på toppen */
.page-about-wrapper .logomenustyle {
    width: 180px !important;
    margin-top: 10px !important;
    transform: scale(0.7) !important;
    transform-origin: left center !important;
}

/* Mindre logo når headeren blir sticky (etter scrolling) på forsiden - samme størrelse som på undersidene */
#header.sticky-active .logomenustyle {
    width: 180px !important;
    margin-top: 10px !important;
    transform: scale(0.7) !important;
    transform-origin: left center !important;
}

.testimonial-section {
  text-align: center;
  padding: 2rem 0;
}

.swiper-container {
  width: 100%;
  padding: 2rem 0;
}

blockquote {
  font-style: italic;
  margin: 0 auto;
  max-width: 600px;
}

footertestimonial {
  margin-top: 1rem;
  font-weight: bold;
}

.swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  background-color: rgba(0, 73, 106, 0.3); /* lysere variant av blå */
  opacity: 1; /* fjern grået ut */
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 6px;
}

.swiper-pagination-bullet:hover {
  background-color: #00496a;
  transform: scale(1.1);
}

.bg-sky {
  background-color: #e6eef5; /* lys, rolig himmelblå */
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #00496a;
  transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
  color: #00496a !important; /* brunlig tonet, juster ved behov */

  padding: 0.75rem;
  border-radius: 9999px; /* fullt rund */
  transition: all 0.3s ease;
  width: 44px;
  height: 44px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {

  color: #0b648e !important; /* brunlig tonet, juster ved behov */
}



button.btn.btn-white.btn-outline, button.btn.btn-light.btn-outline, .btn:not(.close):not(.mfp-close).btn-white.btn-outline, .btn:not(.close):not(.mfp-close).btn-light.btn-outline, a.btn:not([href]):not([tabindex]).btn-white.btn-outline, a.btn:not([href]):not([tabindex]).btn-light.btn-outline {
    border-color: #ffffff;
    background-color: transparent !important;
    color: #ffffff !important;
}

.team-members .team-member .team-desc > span {
  font-size: 16px !important;
  color: #444 !important;
  line-height: 23px !important;
}

button.btn.btn-slide > i, .btn:not(.close):not(.mfp-close).btn-slide > i, a.btn:not([href]):not([tabindex]).btn-slide > i {
  float: left;
  left: 15px !important;
  position: absolute;
  top: 15px !important;
  -webkit-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
}

.team-members .team-member .team-desc > h3 {
  font-size: 23px !important;
  line-height: 25px !important;
   font-family: 'Playfair Display', serif !important;
   font-weight:400 !important;
  margin-bottom: 0;
}

.btn-blue
{
    display: inline-block;
    font-family: "Poppins", sans-serif !important;
    font-size:20px;
    border: solid 1px #00496a;
    background-color: transparent;
    color: #00496a;
    font-size: 18px !important;
    padding: 14px 20px;
    position: relative;

    transition: all 0.3s;
    margin-bottom: 12px;
    outline: none;
    line-height: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-blue:hover
{
   
    border: solid 1px #00496a;
    background-color: #00496a;
    color: #ffffff!important;
    text-decoration:none !important;
    
}

.btn-blue-blue
{
    display: inline-block;
    font-family: "Poppins", sans-serif !important;
    font-size:20px;
    border: solid 1px #00496a;
    background-color: #00496a;
    color: #ffffff !important;
    font-size: 18px !important;
    padding: 14px 20px;
    position: relative;
  
    transition: all 0.3s;
    margin-bottom: 12px;
    outline: none;
    line-height: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-blue-blue:hover
{
   
    border: solid 1px #00496a;
    background-color: transparent;
    color: #00496a!important;
    text-decoration:none !important;
    
}

.widget .widget-title, .widget > h4 {
    font-size: 15px !important;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 15px !important;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
    margin-top: 35px !important;
}

.copyrighttextcolor
{
   color:#999 !important; 
   font-size: 16px !important;
}

a.copyrighttextcolor:hover
{
   color:#999 !important; 
   font-size: 16px !important;
}

#footer {
    font-size: 16px;
    line-height: 25px !important;
    font-weight: 400;
    font-family: inherit;
}

.tekstrotasjonblue
{
    color: #02394c !important;
}

.counter
{
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important;

}

.paperback
{
    background-color: #F8F5EF !important;
}

.dark #footer, #footer.inverted, #footer.dark {
    background-color: #00496a !important;
}

.grey
{
    /* Nyhetsbilder skal vises i farger, både i forhåndsvisning og hovedvisning */
    filter: grayscale(0%);
}

.post-item .post-item-description .post-meta-date, .post-item .post-item-description .post-meta-comments, .post-item .post-item-description .post-meta-category {
    color: #444 !important;
    position: relative;
    top: -4px;
    font-size: 14px !important;
    margin-right: 8px;

}

.mediaimagemobilemargin
{
    margin-top: 30px;
}

.borderking
{
    border: 1px solid #D3D3D3 !important;
    background-color: #FEFDFB !important;
}

p {


    font-family: "Poppins", sans-serif;
}

h2
{

    text-decoration: none !important;
    line-height: 1.0 !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important;
}

.post-item .post-item-description > h2, .post-item .post-item-description > h2 > a {
    font-size: 22px !important;
    letter-spacing: -0.1px;
    line-height: 23px;
    margin-bottom: 16px;
    color: #444;
    font-weight: 400 !important;
}

.bigger150
{
    font-size: 150% !important;
}

button.btn, .btn:not(.close):not(.mfp-close), a.btn:not([href]):not([tabindex]) {
    display: inline-block;
    font-family: inherit;
    border-radius: 0 !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none;
    outline: none;
    padding: 12px 18px;
    position: relative;
    text-transform: uppercase;
    background-color: #2250fc;
    border-color: #2250fc;
    border-width: 1px !important;
    border-style: solid;
    color: #fff;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 6px;
    outline: none;
    line-height: 14px;
    cursor: pointer;
}

button.btn.btn-dark.btn-outline, .btn:not(.close):not(.mfp-close).btn-dark.btn-outline, a.btn:not([href]):not([tabindex]).btn-dark.btn-outline {
    background-color: transparent;
    color: #2d5278;
    border-color: #2d5278 !important;
    font-size: 14px !important;
}

.ndingress
{
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    text-transform: none;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    color: #3c4043 !important;
    font-family: "Poppins", sans-serif !important;
}

.shadowhansen
{
    text-shadow: 1px 1px 4px #000000;
}

.projectheading
{
    text-transform: uppercase;
    font-size: 270% !important;
    font-weight: 700 !important;
}

.grid li {
    float: left;
    position: relative;
    width: 20%;
    padding: 50px !important;
}

.post-item-description ul li {
    font-size: 18px !important;
}

.grid li::after {
    width: 100%;
    height: 0;
    top: auto;
    left: 0;
    bottom: -1px;
    border-bottom: 1px solid #eee;
}

.grid li:hover {
    cursor: default !important;
    background-color: #fff!important;
}


.grid-item {
    display: inline-block;
    width: 87% !important;
    /* Fallback for small screens (1 column) */
    margin: 10px !important;
    padding: 0 !important;
    height: auto !important;
    max-height: 580px !important;
    overflow: hidden !important;
    text-align: center !important;
}

.grid-item img {
    width: 100% !important;
    height: auto !important;

}



.portfolio-attributes .attribute strong {
    opacity: 0.9 !important;
    border-bottom: 1px solid rgba(31, 31, 31, 0.05);
    display: block;
    width: auto;
    margin-bottom: 10px;
    font-size: 14px !important;
}

.portfolio-attributes {
    color: #3c4043;
    font-size: 14px !important;
    text-transform: uppercase;
}

#page-title .page-title > h1 {

    font-size: 1.7rem;
    line-height: 1.2;
    font-weight: 500 !important;

    margin-bottom: 1rem;
}

.heading-text.heading-section h2 {

    font-size: 58px !important;

}

.lead {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
}

.post-item-description {
    padding: 24px;
    line-height: 28px;
    overflow: hidden;
}

.fullscreen {
    width: 100%;
    height: 100%;
    min-height: 70vh !important;
}

.ndtopmargin
{
    margin-top: 30px !important;
}

h1
{
    font-size: 50px !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 500 !important;
    color: #444444 !important;
}



.tjenesteikoner
{
    padding-top: 130px;
    font-size: 80px !important;
    text-align: center !important;
    padding-bottom: 40px !important;
    margin: auto !important;
    color: #00496a !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

}

.tjenesteikoner:hover
{
    padding-top: 120px;
    font-size: 90px !important;



}

.knapp-blue
{

    display: inline-block;
    font-family: inherit;
    border-radius: 0.42rem 0.42rem 0.42rem 0.42rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-decoration: none;
    outline: none;
    padding: 12px 18px;
    position: relative;
    text-transform: uppercase;
    border-color: #00496a;
    border-width: 1px;
    border-style: solid;
    color: #fff !important;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-bottom: 6px;
    outline: none;
    line-height: 14px;
    cursor: pointer;
    background-color: transparent;
    margin-bottom: 30px;

}

.flickity-button:hover {
    background-color: #00496a  !important;

}

.knapp-blue:hover {
    background-color: #00496a  !important;
    color: #fff !important;
    border-color: #00496a  !important;
}

.icon-chevron-down:before {
    content: "\e92e";
}

.icon-chevron-left:before {
    content: "\e92f";
}

.icon-chevron-right:before {
    content: "\e930";
}

.icon-chevron-up:before {
    content: "\e931";
    color: #fff!important;
}

.icon-chevrons-down:before {
    content: "\e932";
}

.icon-chevrons-left:before {
    content: "\e933";
}

.icon-chevrons-right:before {
    content: "\e934";
}

.icon-chevrons-up:before {
    content: "\e935";
}

.icon-chrome:before {
    content: "\e936";
}

.icon-circle:before {
    content: "\e937";
}


#scrollTop:after, #scrollTop:before {
    display: block;
    content: ' ';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #00496a !important;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
    border-radius: 100px;
}

.bluebk
{
    background-color: #00496a !important;

}

.bg-overlay-frontpage {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: ' ';
    z-index: 0;
    background: rgba(235, 243, 255, 0.7);
    opacity: 0.9;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: ' ';
    z-index: 0;
    background: rgba(255, 255, 255, 0.59);
    opacity: .0;
}

.bg-overlay-referanser {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: ' ';
    z-index: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: .6;
}

/* Mørkeblått filter over filmen på alle undersider.
   Legger firmaets mørkeblå farge (#00496a) som et halvgjennomsiktig
   overlay over videobakgrunnen i #page-title. */
#page-title[data-bg-video] {
    background-color: #00496a !important;
}

#page-title[data-bg-video] .bg-overlay {
    background: rgba(0, 73, 106, 0.6) !important;
    opacity: 1 !important;
}

.bg-overlay[data-style="1"] {
    background: #bed0e3 !important;
}

.dark #header .header-inner .lines, .dark #header .header-inner .lines::before, .dark #header .header-inner .lines::after, .dark #header #header-wrap .lines, .dark #header #header-wrap .lines::before, .dark #header #header-wrap .lines::after, #header.dark .header-inner .lines, #header.dark .header-inner .lines::before, #header.dark .header-inner .lines::after, #header.dark #header-wrap .lines, #header.dark #header-wrap .lines::before, #header.dark #header-wrap .lines::after {
    background-color: #000 !important;
}

.ikonholder
{
    height: 160px !important;
}

.heading-text.heading-section h2::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100px;
    background-color: #00496a !important;
    bottom: -30px;
    left: 0;
    right: 0;

}

.portfolio-item .portfolio-image, .portfolio-item .portfolio-video, .portfolio-item .grid-image, .portfolio-item .grid-video, .portfolio-item .flickity-viewport, .grid-item .portfolio-image, .grid-item .portfolio-video, .grid-item .grid-image, .grid-item .grid-video, .grid-item .flickity-viewport

{
    position: relative;
    overflow: hidden;
    padding: 0px !important;
    margin: 40px;

}


.portfolio-item .portfolio-image:after, .portfolio-item .portfolio-video:after, .portfolio-item .grid-image:after, .portfolio-item .grid-video:after, .portfolio-item .flickity-viewport:after, .grid-item .portfolio-image:after, .grid-item .portfolio-video:after, .grid-item .grid-image:after, .grid-item .grid-video:after, .grid-item .flickity-viewport:after

{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

    content: ' ';
    z-index: 2;
}

.portfolio-item2 .portfolio-image2, .portfolio-item2 .portfolio-video, .portfolio-item2 .grid-image, .portfolio-item2 .grid-video, .portfolio-item2 .flickity-viewport, .grid-item .portfolio-image2, .grid-item .portfolio-video, .grid-item .grid-image, .grid-item .grid-video, .grid-item .flickity-viewport

{
    position: relative;
    overflow: hidden;
    padding: 40px !important;

}


.portfolio-item2 .portfolio-image2:after, .portfolio-item2 .portfolio-video:after, .portfolio-item2 .grid-image:after, .portfolio-item2 .grid-video:after, .portfolio-item2 .flickity-viewport:after, .grid-item .portfolio-image2:after, .grid-item .portfolio-video:after, .grid-item .grid-image:after, .grid-item .grid-video:after, .grid-item .flickity-viewport:after

{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000000;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0 !important;
    content: ' ';
    z-index: 2;
}





.nddato
{
    background-color: #00a870;
    color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
}

.contentimages
{
    padding-left: 50px;
    padding-bottom: 20px;
    max-width: 400px;
    height: auto;


}



.ndtitle
{
    text-transform: uppercase;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -1.2px;
}

.has-submenu .submenu-nav {
    color: #000000 !important;
    visibility: visible;
    background-color: #ffffff !important;
}

.black
{
    color: #333 !important;
}

a.black:hover
{
    color: #00496a !important;
}

.contentimagexs
{
    max-width: 400px;
    height: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}


ul {
    margin-left: 20px !important;
    padding: 0 !important;
}





.green
{
    color: #00a870 !important;

}

.blue
{
    color: #00496a !important;

}


.white
{
    color: #ffffff !important;
    text-decoration: none !important;

}

a.white
{
    color: #ffffff !important;
    text-decoration: none !important;

}

a.white:link
{
    color: #ffffff  !important;
    text-decoration: none !important;

}

a.white:hover
{
    color: #ffffff  !important;
    text-decoration: underline !important;
}


.btn-theme.btn-green {
    background-color: #00496a !important;
    border-color: #00496a !important;
    text-transform: none !important;
    font-size: 15px !important;
}



.btn-theme.btn-green:hover {
    background-color: #5786b5 !important;
    border-color: #5786b5 !important;
    color: #fff;
    font-size: 15px !important;
}


.header-area.header-default.header-style4 .header-logo-area {
    margin-left: 0px !important;
    width: 160px;
}

.page-title-area .page-title-content {

    padding: 100px 0 52px !important;

}



.divider-area.divider-about-area {
    background-color: #ffffff !important;

}

.divider-area.divider-about-area .divider-about-content .divider-content {
    margin: 22px auto 0;
    max-width: 900px !important;

    width: 70% !important;
}


::selection {
    background: #00496a  !important;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #00496a  !important;
    /* Firefox */
    color: #fff;
    text-shadow: none;
}

::-webkit-selection {
    background: #00496a  !important;
    /* Safari */
    color: #fff;
    text-shadow: none;
}



.btn-theme {

    color: #fff !important;

}

a {
    color: #00496a !important;
    text-decoration: none !important;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}
a:hover, a:active, a:focus {
    box-shadow: none;
    color: #00496a !important;
    outline: none;
    text-decoration: underline !important;
}


.noborder
{
    border-top: 0px !important;
    border-bottom: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    text-decoration: none;
}

.noborder p
{
    border-top: 0px !important;
    border-bottom: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    text-decoration: none;
}

.sidebar-area .widget-custom-menu ul .has-sub
{
    color: #00a870 !important;
    padding: 7px !important;
    margin-bottom: 0px !important;
    list-style: none !important;

}

.sidebar-area .widget-custom-menu ul .has-sub .collapsed
{
    color: #00a870 !important;
    font-size: 16px;
}

.sidebar-area .widget-custom-menu ul .has-sub ul li a {
    color: #00a870 !important;
}

.sidebar-area .widget-custom-menu ul .has-sub ul li:last-child {
    margin-bottom: 0;
    border-bottom: 0px !important;
}

.sidebar-area .widget-custom-menu li
{
    border-bottom: 1px solid #ccc !important;
    padding: 7px;
    list-style: none !important;
}

.home-slider-area.slider-default .slider-content-area .content .inner-content h2:after {
    border-top: 0px !important;
    content: "";
    left: -18px;
    position: absolute;
    top: 220px;
    width: 130px;
}

.home-slider-area.slider-default .slider-content-area .content .inner-content p:after {
    border-top: 0px !important;
    bottom: -27px;
    content: "";
    position: absolute;
    right: -11px;
    width: 230px;
}

.header-area.sticky-header.sticky.header-style2 .header-logo-area .logo-main {
    display: none !important;
    margin-top: 20px;
}


@media only screen and (max-width: 1199px) {
    .home-slider-area.slider-default .slider-content-area .content {
        margin-top: 30px;
    }
}
.home-slider-area.slider-default .slider-content-area .content .inner-content {
    position: relative;
    animation-duration: 1.25s;
    animation-fill-mode: both;
    transition: 2s;
    -webkit-transition: 2s;
    -moz-transition: 2s;
    -ms-transition: 2s;
    -o-transition: 2s;
}
.home-slider-area.slider-default .slider-content-area .content .inner-content h2 {
    color: #fff;
    font-family: "Abril Fatface", cursive;
    font-size: 115px !important;
    line-height: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
}
@media (max-width: 1600px) {
    .home-slider-area.slider-default .slider-content-area .content .inner-content h2 {
        font-size: 115px !important;
    }
}
@media only screen and (max-width: 1199px) {
    .home-slider-area.slider-default .slider-content-area .content .inner-content h2 {
        font-size: 107px;
    }
}
@media only screen and (max-width: 991px) {
    .home-slider-area.slider-default .slider-content-area .content .inner-content h2 {
        font-size: 74px;
    }
    
  
  #header #logo {
    text-align: left !important;
    padding-left:20px !important;
  }

#mainMenu-trigger {

  padding-top: 35px !important;
}

.mainMenu-open #header #mainMenu {
    width: calc(100% + 14px);
   padding-left:68px;
    padding-top: 30px;
  }
  


}
@media only screen and (max-width: 575px) {
    .home-slider-area.slider-default .slider-content-area .content .inner-content h2 {
        font-size: 44px !important;
        margin-bottom: 10px;
    }
    
    .logomenustyle
{
    width: 250px !important;
    height: auto !important;
    margin-top: 20px !important;

}
}

/* For medium and larger screens (3 columns) */
@media (min-width: 768px) {
    .grid-item {
        width: calc(33.33% - 20px) !important;
        height: auto !important;
        margin: 10px !important;
        max-height: 450px !important;
        overflow: hidden !important;
        text-align: center !important;
        display: inline-block;
    }

    .grid-item img {
        width: 100% !important;
        height: auto !important;

    }

    .grid li {
        float: left;
        position: relative;
        width: 20% !important;
        padding: 50px !important;
    }

    #page-title .page-title > h1 {

        font-size: 2.5rem;
        line-height: 1.2;
        font-weight: 500 !important;
        margin-bottom: 1rem;
    }

    h1
    {
        font-size: 50px !important;

        font-weight: 500 !important;
    }

    .projectheading
    {
        text-transform: uppercase;
        font-size: 700% !important;
        font-weight: 700 !important;

    }


}