/*
Theme Name: Scanelec
Theme URI: https://www.scanelec.no
Author: Digitroll AS
Author URI: https://www.digitroll.no
Description: Custom theme developed for Scanelec
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: scanelec
*/

/*************************************************

  Globale stiler

**************************************************/

html, body {
  background-color: #f6f8f9;
}

@media screen and (max-width: 30em) {
    html, body {
      background-color: #ebebeb;
    }
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #000;

}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  /*color: inherit;*/
}

h1, .h1 {
  font-size: 2.25em;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h2, .h2 {
  font-size: 1.875rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
}

h3, .h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
}

h4, .h4 {
  font-size: 1.375rem; /* 22px */
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
}

h5, .h5 {
  font-size: 1.25rem; /* 20px */
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
}


@media screen and (max-width: 39.9375em) {

  h1, .h1 {
    font-size: 2rem;
  }

  h2, .h2 {
    font-size: 1.75rem;

  }

  h3, .h3 {
    font-size: 1.5rem;
  }

  h4, .h4 {
    font-size: 1.375rem;
  }

  h5, .h5 {
    font-size: 1.25rem;
  }

  h6, .h6 {
      font-size: 1.125rem;
  } 

}

strong, b {
  font-weight: 600;
}

a:focus, a:active, button:focus, button:active {
  outline: 0;
}

ul {
  list-style-type: square;
}


/*************************************************

  Tema farger

**************************************************/

.navy-blue, .navy-blue:hover  {
  color: #000066;
}

.bg-navy-blue {
  background-color: #000066;
}

.border-navy-blue {
  border-color: #000066;
}

.sapphire-blue, .sapphire-blue:hover {
  color: #006ea3;
}

.bg-sapphire-blue {
  background-color: #006ea3;
}

.border-sapphire-blue {
  border-color: #006ea3;
}

.dodger-blue, .dodger-blue:hover {
  color: #1fa2ff;
}

.bg-dodger-blue {
  background-color: #1fa2ff;
}

.border-dodger-blue {
  border-color: #1fa2ff;
}

.pale-cyan, .pale-cyan:hover {
  color: #89ddf5;
}

.bg-pale-cyan {
  background-color: #89ddf5;
}

.border-pale-cyan {
  border-color: #89ddf5;
}

.caribbean-green, .caribbean-green:hover {
  color: #00c28f;
}

.bg-caribbean-green {
  background-color: #00c28f;
}

.border-caribbean-green {
  border-color: #00c28f;
}

.mint-green, .mint-green:hover {
  color: #9dfccd;
}

.bg-mint-green {
  background-color: #9dfccd;
}

.border-mint-green {
  border-color: #9dfccd;
}

.pale-yellow, .pale-yellow:hover {
  color: #fff16f;
}

.bg-pale-yellow {
  background-color: #fff16f;
}

.border-pale-yellow {
  border-color: #fff16f;
}

.light-red, .light-red:hover {
  color: #ff4848;
}

.bg-light-red {
  background-color: #ff4848;
}

.border-light-red {
  border-color: #ff4848;
}

.gallery-gray, .gallery-gray:hover {
  color: #ebebeb;
}

.bg-gallery-gray {
  background-color: #ebebeb;
}

.border-gallery-gray {
  border-color: #ebebeb;
}

.pastel-gray, .pastel-gray:hover {
  color: #d1cccc;
}

.bg-pastel-gray {
  background-color: #d1cccc;
}

.border-pastel-gray {
  border-color: #d1cccc;
}

.dove-gray, .dove-gray:hover {
  color: #727272;
}

.bg-dove-gray {
  background-color: #727272;
}

.border-dove-gray {
  border-color: #727272;
}

.black, .black:hover {
  color: #000000;
}

.bg-black {
  background-color: #000000;
}

.border-black {
  border-color: #000000;
}

.white, .white:hover {
  color: #ffffff;
}

.bg-white {
  background-color: #ffffff;
}

.border-white {
  border-color: #ffffff;
}


/*************************************************

  Header med logo, meny og søkefelt

**************************************************/

.site-header {
  background: #fff;
}

.sticky, .non-sticky {
  background: #fff;
  width: 100%;
  transition: height 0.3s ease-in-out, padding 0.3s ease-in-out, box-shadow 0.3s ease-in-out 0s;
  position: relative;
  z-index: 999;
}

.sticky.is-stuck {
  z-index: 999;
}

@media only screen and (min-width: 601px) and (max-width: 782px) { 
  .logged-in.admin-bar .sticky.is-stuck {
    top: 46px !important;
  }
}

@media screen and (min-width: 783px) {
  .logged-in.admin-bar .sticky.is-stuck {
    top: 32px !important;
  }
}

.sticky.is-at-top.is-stuck {
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

#logo-nav-container {
  max-width: 118.125em;
  margin: 0 auto;
  padding: 1rem;
  background: #fff;
}

.site-logo {
  height: 76px;
  width: 100%;
  margin: 0;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  transition: all 0.3s ease-in-out 0s;
  transition-property: height, margin;
  margin-left: 1rem;
  margin-bottom: 1.5rem;
}

.site-logo a {
  display: block;
  height: 100%;
}

.sticky.is-at-top.is-stuck .site-logo {
  height: 64px;
  margin-bottom: 0;
}

@media screen and (max-width: 39.9375em) {
  
  .site-logo {
    background-position: center;
    height: 64px;
    margin: 0;
  }

  .sticky.is-at-top.is-stuck .site-logo {
    height: 48px;
  }

}

@media screen and (max-width: 25.875em) {
  
  .site-logo {
    height: 48px;
  }
  
  .sticky.is-at-top.is-stuck .site-logo {
    height: 48px;
  }

}

@media screen and (max-width: 20em) {
  
  .site-logo {
    height: 32px;
  }

}

.top-menu-container {
  margin-top: 0.5rem;
}


.toggle-search {
  float: right; 
  margin: 0 1rem;
  cursor: pointer;
  line-height: 1.6875rem;
}

.top-menu-search-icon {
  color: #000;
  /*-webkit-text-stroke: 1px #fff; */
  font-size: 1.25rem;
  vertical-align: middle;
  transform: scale(-1, 1);
}

#top-menu-search-form {
  position: relative;
}

#top-menu-search-input, #top-menu-search-input:focus {
  height: 1.6875rem;
  margin: 0;
  padding: 0 4rem 0 0.5rem;
  box-shadow: none;
  -webkit-appearance: none;
  -webkit-border-radius: 0; 
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  color: #000;
  font-size: 1.125rem;
  font-style: italic;
}

input.search-input::-webkit-input-placeholder {
  color: #c9c9c9;
}

input.search-input::-moz-placeholder{
  color: #c9c9c9;
  opacity: 1;
}

input.search-input:-ms-input-placeholder {
  color: #c9c9c9;
}

input.search-input:-moz-placeholder {
  color: #c9c9c9;
}

#top-menu-search-input label {
  display: none;
}

#top-menu-search-submit {
  position: absolute;
  top: 0;
  right: 0;
  height: 1.6875rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
}

#top-menu-search-submit:hover {
  color: #ff4848;
}

.top-menu {
  margin: 0 0 0 0;
  padding: 0;
  list-style: none;
  float: right;
}

.top-menu > li {
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}

.top-menu > li a {
  float: left;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  color: #000;
  text-align: center;
  display: block;
  margin: 0 1rem;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease-in-out 0s;
}

.top-menu > li a:hover, .top-menu > li.current-menu-item a, .top-menu > li.current-page-parent a {
  color: #ff4848;
}

.lang-menu-top {
  margin: 0 1rem;
  padding: 0;
  list-style: none;
  float: right;
}

.lang-menu-top > li {
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}

.lang-menu-top > li a {
  float: left;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  color: #000;
  text-align: center;
  display: block;
  margin: 0  0 0 0.5rem;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease-in-out 0s;
}

.lang-menu-top > li a:hover, .lang-menu-top > li.current-menu-item a, .lang-menu-top > li.current-page-parent a {
  color: #ff4848;
}

.lang-menu-top > li a img {
  width: 27px;
  height: 27px;
  vertical-align: middle;
}

.main-menu-container {
  margin-top: 1rem;
}

.main-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.main-menu > li {
  display: inline-block;
  margin: 0;
  padding: 0;
  position: relative;
}

.main-menu > li a {
  font-size: 1.5rem;
  color: #000;
  text-align: center;
  display: block;
  margin: 0 1rem;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease-in-out 0s;
  line-height: 2.5rem;
}

.main-menu > li a:hover, .main-menu > li.current-menu-item a, .main-menu > li.current-page-parent a {
  color: #ff4848;
}

.toggle-mobile-menu {
  padding: 0;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

.hamburger {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, -webkit-filter;
  transition-property: opacity, filter;
  transition-property: opacity, filter, -webkit-filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  overflow: visible;
}

.hamburger-box {
  width: 32px;
  height: 24px;
  display: inline-block;
  position: relative; 
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
  width: 32px;
  height: 3px;
  background-color: #000;
  border-radius: 0;
  position: absolute;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner {
  width: 20px;
}

.hamburger.is-active .hamburger-inner {
  width: 32px;
}

.hamburger-inner::before, .hamburger-inner::after {
  content: "";
  display: block; 
}

.hamburger-inner::before {
  top: -10px; 
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger--collapse .hamburger-inner {
  top: auto;
  bottom: 0;
  transition-duration: 0.15s;
  transition-delay: 0.15s;
  transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--collapse .hamburger-inner::after {
  top: -20px;
  transition: top 0.3s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), opacity 0.1s linear;
}

.hamburger--collapse .hamburger-inner::before {
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), -webkit-transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  transition: top 0.12s 0.3s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.15s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}

.hamburger--collapse.is-active .hamburger-inner {
  -webkit-transform: translate3d(0, -10px, 0) rotate(-45deg);
  transform: translate3d(0, -10px, 0) rotate(-45deg);
  transition-delay: 0.32s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}

.hamburger--collapse.is-active .hamburger-inner::after {
  top: 0;
  opacity: 0;
  transition: top 0.3s cubic-bezier(0.33333, 0, 0.66667, 0.33333), opacity 0.1s 0.27s linear;
}

.hamburger--collapse.is-active .hamburger-inner::before {
  top: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), -webkit-transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: top 0.12s 0.18s cubic-bezier(0.33333, 0, 0.66667, 0.33333), transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s 0.42s cubic-bezier(0.215, 0.61, 0.355, 1);
}


@media only screen and (max-width: 39.9375em) { 

  .lang-menu-top-mobile {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    background: #fff;
    overflow: auto;
    justify-content: flex-end;
  }

  .lang-menu-top-mobile > li {
    margin: 0 0 0 0.25rem;
  }
    
  .lang-menu-top-mobile > li a {
    font-size: 1.125rem;
    height: auto;
    line-height: 3rem;
    padding: 0;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out 0s;
    margin: 0;
    color: #000;
  }
  
  .lang-menu-top-mobile > li a img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
  }
  
  .mobile-menu-container {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background:  #f0f0f0;
    overflow-y: scroll;
    display: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
  }
  
  .mobile-menu-container::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-menu-content.cell {
    position: relative;
    left: -100%;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding-top: 150px;
    overflow-y: scroll;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
  }
  
  .mobile-menu-content.cell::-webkit-scrollbar {
    display: none;
  }
      
  .mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: block;
    background: #fff;
  }

  .mobile-menu > li {
    margin: 0;
    height: auto;
  }
    
  .mobile-menu > li a {
    font-size: 1.125rem;
    display: block;
    height: auto;
    line-height: 3rem;
    padding: 0;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out 0s;
    margin: 0;
    color: #000;
  }
  
  .mobile-menu > li a:hover, .mobile-menu > li.current-menu-item a, .mobile-menu > li.current-page-parent a {
    color: #ff4848;
  }
  
  #mobile-menu-search-form {
    position: relative;
    margin: 0 0 1rem 0;
  }

  #mobile-menu-search-input, #mobile-menu-search-input:focus {
    margin: 0;
    box-shadow: none;
    -webkit-appearance: none;
    -webkit-border-radius: 0; 
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
  }

  #mobile-menu-search-input {
    display: inline-block;
    /*vertical-align: middle;*/
    width: auto;
    color: #000;
    font-size: 1.125rem;
    font-style: italic;
  }

  #mobile-menu-search-label {
    font-size: 1.125rem;
    display: inline-block;
    line-height: 3rem;
    padding: 0;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out 0s;
    margin: 0;
    color: #000;
    vertical-align: middle;
  }
  
  .mobile-menu-search-icon {
    color: #000;
    font-size: 1.125rem;
    vertical-align: middle;
    transform: scale(-1, 1);
    margin-right: 0.5rem;
  }

  #mobile-menu-search-submit {
    position: absolute;
    top: 0;
    right: 0;
    height: 1.6875rem;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
  }

  #mobile-menu-search-submit:hover {
    color: #ff4848;
  }
  
  .lang-menu-mobile {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: block;
    background: #fff;
    overflow: auto;
  }

  .lang-menu-mobile > li {
    margin: 0 0.5rem 0 0;
    float: left;
  }
    
  .lang-menu-mobile > li a {
    font-size: 1.125rem;
    height: auto;
    line-height: 3rem;
    padding: 0;
    border: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out 0s;
    margin: 0;
    color: #000;
  }
  
  .lang-menu-mobile > li a img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
  }
  
  .lang-menu-mobile > li a:hover, .lang-menu-mobile > li.current-menu-item a, .lang-menu-mobile > li.current-page-parent a {
    color: #ff4848;
  }
  
  .mobile-contact-info-container {
    
  }
  
  .mobile-contact-info {
    margin-bottom: 1rem;
  }
  
  .mobile-contact-info p {
    margin: 0;
    font-size: 0.75rem;
    color: #727272;
  }
  
  .mobile-contact-info a {
    color: #727272;
  }
  
     
}


/*************************************************

  Content

**************************************************/

/* Container for alt innhold mellom header og footer */
.site-content {
  background-color: transparent;
  padding: 4rem 0;
}

.home .site-content {
  padding-top: 0;
}


@media only screen and (max-width: 39.9375em) { 
  .site-content {
    padding: 0 0 2.5rem 0;
  }
}

.site-content p, .site-content ul  {
  font-size: 1.125rem;
}

.site-content ul {
    margin-bottom: 2rem;
}

/* Seksjon med sidetittel */
.title-section {
  padding: 2.5rem 0 0 0;
}


/* Seksjon som inneholder innholdstyper */
#main > .content-section {
  margin-top: 0;
}

#main > .content-section ~ .content-section {
  margin: 3rem 0;
}

@media only screen and (max-width: 39.9375em) { 
  #main > .content-section {
    margin-top: 0;
  }

  #main > .content-section ~ .content-section {
    margin: 2rem 0;
  }
}


/* Container for innholdstyper inni seksjon */
.section-container {
  padding-bottom: 2.5rem;
}


/* Overskrifter */
.section-content-heading {
  margin: 0 0 3rem 0;
  padding: 0 0 0.75rem 0;
  position: relative;
}

.section-content-heading:after {
  content: " ";
  position: absolute;
  top: 100%;
  left: 0;
  width: 8rem;
  border-top: 10px solid;
  border-color: inherit;
}


/*************************************************

  Seksjon => Bildetopp

**************************************************/


.bildetopp img {
  height: 450px;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 39.9375em) { 
  .bildetopp img {
    height: 250px;
  }
}


/*************************************************

  Seksjon => Innholdstype => Introboks

**************************************************/

.section-container-introboks {
  padding: 8rem 0;
}

.section-container-introboks.introboks-bg-image {
  background-color: transparent;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.section-container-introboks.introboks-bg-gradient {
  /*background: transparent linear-gradient(246deg, #1fa2ff 0%, #020b70 100%) 0% 0% no-repeat padding-box;*/
}

p.introboks-tekst {
  font-size: 2.5rem;
  color: #fff;
}

p.introboks-tekst.introboks-tekst-skygge {
  text-shadow: 0px 2px 4px rgba(0,0,0,0.75);
}

.introboks-lenkeknapp {
  margin-top: 1rem;
  font-size: 1.125rem;
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
}

.introboks-lenkeknapp i.fa {
  margin-left: 1rem;
  vertical-align: middle;
}

@media screen and (max-width: 63.9375em) {
  
  .section-container-introboks {
    padding: 5rem 0;
  }
  
  p.introboks-tekst {
    font-size: 1.75rem;
  }

}

@media screen and (max-width: 39.9375em) {
  
  .section-container-introboks {
    padding: 3rem 0;
  }
  
  p.introboks-tekst {
    font-size: 1.5rem;
  }

  .introboks-lenkeknapp {
    font-size: 1rem;
  }

}

@media screen and (max-width: 29.9375em) {
  
  .section-container-introboks {
    padding: 2rem 0;
  }
  
  p.introboks-tekst {
    font-size: 1.25rem;
  }


}



/*************************************************

  Seksjon => Innholdstype => Introtekst

**************************************************/

.section-container-introtekst {
  padding: 4rem 0;
}

p.introtekst {
  font-size: 1.5rem;
}

.introtekst-lenkeknapp {
  margin-top: 1rem;
  font-size: 1.125rem;
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
}

.introtekst-lenkeknapp i.fa {
  margin-left: 1rem;
  vertical-align: middle;
}

@media screen and (max-width: 39.9375em) {
  
  .section-container-introtekst {
    padding: 2rem 0;
  }
  
  p.introtekst {
    font-size: 1.25rem;
  }
  
  .introtekst-lenkeknapp {
    font-size: 1rem;
  }

}


/*************************************************

  Seksjon => Innholdstype => Ingress

**************************************************/

.section-container-ingress {
}

.ingress p {
  font-size: 1.5rem;
  font-weight: 500;
}

@media screen and (max-width: 39.9375em) {
  
  .ingress p {
    font-size: 1.25rem;
    font-weight: 500;
  }
  
}


/*************************************************

  Seksjon => Innholdstype => Ingress

**************************************************/

.section-container-hovedtekst {
}

.hovedtekst {
  font-size: 1.5rem;
  font-weight: 500;
}

@media screen and (max-width: 39.9375em) {
  
  .section-container-ingress {
    
  }
  
}



/*************************************************

  Seksjon => Innholdstype => Kort

**************************************************/

.section-container-kort {
}

.kort-container {
  position: relative;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  border-width: .625rem 0 0 0;
  border-style: solid;
  transition: all 0.3s ease-in-out 0s;
}

@media screen and (min-width: 40em) {
  
  .kort-container:hover {
    transform: scale(1.025);
  }
  
  img.kort-bilde {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }
  
}

@media screen and (max-width: 39.9375em) {

  img.kort-bilde {
    height: 120px;
    width: 100%;
    object-fit: cover;
  }
}


.kort-box-link {
  display: block;
  padding: 0.5rem;
}

.kort-tittel {
  margin-top: 1rem;
  margin-bottom: 2rem;
  min-height: 8.25rem;
  word-break: break-word;
}

.kort-les-mer {
  display: block;
  text-align: right;
  font-weight: 500;
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
}

.kort-les-mer .fa {
  margin-left: 0.625rem;
}


/* Kort slider */

.kort-container.slick-slide {
  margin: 1rem 0 1rem 1rem;
}

.slick-dots {
  display: flex;
  justify-content: center;
  margin: 0 1rem;
  padding: 1rem 0;
  list-style-type: none;
}

.slick-dots li {
  margin: 0 0.25rem;
 }

.slick-dots button {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: none;
  border-radius: 100%;
  background-color: #727272;
  text-indent: -9999px;
 }

li.slick-active button {
  background-color: #ff4848;
}



/*************************************************

  Seksjon => Innholdstype => Aktuelt slider

**************************************************/

.section-container-kort {
}

.aktuelt-kort-container {
  position: relative;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  transition: all 0.3s ease-in-out 0s;
}

@media screen and (min-width: 40em) {
  
  .aktuelt-kort-container:hover {
    transform: scale(1.025);
  }
}

.aktuelt-kort-box-link {
  display: block;
  padding: 0;
  height: 26rem;
  overflow: hidden;
}

.aktuelt-kort-bilde {
  border-radius: 10px 10px 0 0;
}

.aktuelt-kort-tittel {
  margin: 1rem;
  font-weight: 500;
  height: 3.8rem;
  word-break: break-word;
  overflow: hidden;
}

.aktuelt-kort-excerpt {
  margin: 0 1rem 1rem 1rem;
  height: 4.5rem;
  word-break: break-word;
  overflow: hidden;
}

.aktuelt-kort-post-date {
  display: block;
  text-align: left;
  font-weight: 500;
  font-size: 0.85rem;
  position: absolute;
  bottom: 0.625rem;
  left: 0.625rem;
}

.aktuelt-kort-post-date .fa {
  margin-right: 0.3125rem;
}

.aktuelt-kort-les-mer {
  display: block;
  text-align: right;
  font-weight: 500;
  position: absolute;
  bottom: 0.625rem;
  right: 0.625rem;
}

.aktuelt-kort-les-mer .fa {
  margin-left: 0.625rem;
}


@media screen and (max-width: 30em) {
  
  .aktuelt-kort-box-link {
    height: 22rem;
  }
  
  .kort-no-slide .aktuelt-kort-box-link {
    height: 20rem;
  }
  
  .aktuelt-kort-tittel {
    height: 5.2rem;
  }

  .aktuelt-kort-excerpt {
    display: none;
  }
  
  .kort-no-slide .aktuelt-kort-post-date {
    bottom: 2.625rem;
    left: 1rem;
  }

}


/* Kort slick slider aktuelt */

.aktuelt-kort-container.slick-slide {
  margin: 1rem 0 1rem 1rem;
}

@media screen and (min-width: 64em) {
  
  .slick-slider {
    position: unset !important;
  }
  
  .aktuelt-grid-container {
    position: relative;
  }

}

@media screen and (min-width: 40em) {
  
    .aktuelt-kort-container.slick-slide {
      margin: 1rem;
    }
}

.slick-arrow {
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    font-size: 2.5rem;
    padding: 0;
    text-align: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
}


.slick-prev {
    left: 1rem;
}

.slick-next {
    right: 1rem;
}


/*************************************************

  Seksjon => Innholdstype => Produsenter

**************************************************/

.section-container-produsenter {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
  padding: 3rem 0;
  background: #fff;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
}



/*************************************************

  Seksjon => Innholdstype => Tjenester i slider

**************************************************/

.section-container-tjenester-i-slider {
}

.tjeneste-slide-image-container, .tjeneste-slide-bg-container {
  height: 550px;
}

.tjeneste-slide-image-container {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.tjeneste-slide-tekst-container {
  max-width: calc(80rem / 2);
  padding: 3rem;
}

p.tjeneste-slide-tekst {
  font-size: 1.25rem;
}

.tjeneste-lenkeknapp {
  margin-top: 1rem;
  font-size: 1.125rem;
  display: inline-block;
  padding: .5rem 1.25rem;
  border-radius: 10px;
  font-weight: 500;
}

.tjeneste-lenkeknapp i.fa {
  margin-left: 1rem;
  vertical-align: middle;
}

.orbit-previous, .orbit-next {
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 10px;
  font-size: 2.5rem;
  padding: 0;
  text-align: center;
  cursor: pointer;
}

.orbit-next:active, .orbit-next:focus, .orbit-next:hover, .orbit-previous:active, .orbit-previous:focus, .orbit-previous:hover {
  background-color: #fff;
}

.orbit-previous {
  left: 4rem;
}

.orbit-previous, .orbit-next {
  right: 4rem;
}


@media screen and (max-width: 39.9375em) {
  
  .tjeneste-slide-image-container {
      height: 250px;
  }
  
   .tjeneste-slide-bg-container {
      height: auto;
  }

  .tjeneste-slide-tekst-container {
    max-width: none;
    padding: 2rem;
  }

  p.tjeneste-slide-tekst {
    font-size: 1.125rem;
  }

  .orbit-previous, .orbit-next {
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    border-radius: 10px;
    font-size: 2rem;
    padding: 0;
    text-align: center;
    cursor: pointer;
    top: 125px;
  }

  .orbit-next:active, .orbit-next:focus, .orbit-next:hover, .orbit-previous:active, .orbit-previous:focus, .orbit-previous:hover {
    background-color: #fff;
  }

  .orbit-previous {
    left: 1rem;
  }

  .orbit-previous, .orbit-next {
    right: 1rem;
  }

}



/*************************************************

  Seksjon - 
  Innholdstype = Ansatte

**************************************************/

.ansatte-container {
    padding-bottom: 5rem;
}

.ansatt-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
}

.ansatt-image {
  border-radius: 10px 0 0 10px;
}

.ansatt-navn {
  margin-top: 1rem;
}

p.ansatt-stillingstittel {
  font-size: 1.125rem;
  font-weight: 500;
  font-style: italic;
}

p.ansatt-phone {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0;
}

p.ansatt-email {
  font-size: 1rem;
  font-weight: 400;
}

@media only screen and (max-width: 39.9375em) {

  .ansatt-navn {
    margin: 0.5rem 0 0 0;
  }

  p.ansatt-stillingstittel {
    font-size: .85rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0.5rem;
  }

  p.ansatt-phone {
    font-weight: 400;
    margin-bottom: 0;
    font-size: 0.75rem;
  }

  p.ansatt-email {
    font-weight: 400;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

}


/*************************************************

  Seksjon - 
  Innholdstype = Google kart

**************************************************/

#google-map {
    height: 450px;
    width: 100%;
}

.map-info-window {
    padding: 0.5rem;
}

.map-info-window p {
    margin: 0 0 0.25rem 0;
}



/*************************************************

  Seksjon => Innholdstype => Produkt tabs

**************************************************/

.accordion {
  background: transparent;
}

.accordion-title {
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid #000;
  font-size: 1.25rem;
  font-weight: 500;
  color: #000;
}

.accordion-item:first-child>:first-child {
  border-top: 1px solid #000;
}

:last-child:not(.is-active)>.accordion-title {
  border-bottom: 1px solid #000;
}

.accordion-title:hover, .accordion-title:focus {
  color: #000;
  background: transparent;
}

.accordion-title:before {
  margin-top: -1rem;
  font-size: 2rem;
  font-weight: 300;
  color: #ff4848
}

li.accordion-item.is-active a.accordion-title {
  border-bottom: 0;
}

li.accordion-item.is-active {
  border-bottom: 1px solid #000;
}

:last-child>.accordion-content:last-child {
  border-bottom: none;
}

.accordion-content {
  padding: 1rem 0;
  border: none;
  border-bottom: 0;
  background-color: transparent;
  color: #000;
}


/*************************************************

  Seksjon => Innholdstype => Kontaktskjema og kontaktinfo

**************************************************/

.section-container-kontaktskjema-kontaktinfo {
  background: transparent linear-gradient(245deg, #1fa2ff 0%, #00c28f 100%) 0% 0% no-repeat padding-box;
  padding: 3rem 0;
}

.kontaktinfo-content {
  margin-bottom: 1rem;
}

.kontaktinfo-content p {
  margin: 0;
  color: #fff;
  line-height: 1.34;
}

.kontaktinfo-content a {
  color: #fff;
}

.contact-form input.form-input, .contact-form textarea.form-input {
  box-shadow: none;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 10px;
  font-size: 1.125rem;
}

.contact-form input.form-input {
  height: 45px;
}

.contact-form input.form-input:focus, .contact-form textarea.form-input:focus {
  box-shadow: none;
  background: transparent;
}

span.form_input_mimic {
  background: transparent;
  color: #fff;
  width: 100%;
  font-family: inherit;
  padding: 0 0.5rem;
  display: block;
  line-height: 34px;
  height: 34px;
  text-align: left;
}

input.form-input:-webkit-autofill,
input.form-input:-webkit-autofill:hover {
  background-color: transparent;
  -webkit-box-shadow: none;
}

input.form-input:-webkit-autofill:focus {
  background-color: transparent;
  -webkit-box-shadow: none;
}

input.form-input::-webkit-input-placeholder, textarea.form-input::-webkit-input-placeholder {
  color: #fff;
}

input.form-input::-moz-placeholder, textarea.form-input::-moz-placeholder {
  color: #fff;
  opacity: 1;
}

input.form-input:-ms-input-placeholder, textarea.form-input:-ms-input-placeholder {
  color: #fff;
}

input.form-input:-moz-placeholder, textarea.form-input:-moz-placeholder {
  color: #fff;
}

input.data-submit, button.data-submit {
  margin: 0 0 1rem 0;
  padding: 0 1rem;
  font-weight: 500;
  width: 100%;
  border-radius: 10px;
  border: none;
  height: 45px;
  font-size: 1.125rem;
  cursor: pointer;
}



/*************************************************

  Ajax tilbakemeldinger
  Ved Lasting av kart og posting skjema

**************************************************/

#ajax-callback {
  background: transparent;
}

.ajax-loader {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: url(images/ajax_loader.svg) center no-repeat;
  background-size: 32px;
}

.contact-form-container .ajax-loader {
  background: url(images/ajax_loader_white.svg) center no-repeat;
  background-size: 48px;
}


.ajax-loader-container {
  padding: 1.250rem;
  text-align: center;
}

#success {
  background: rgba(0, 255, 0, 0.1);
  color: #00cc44;
  padding: 0.625rem;
}

.contact-form-container #success {
  background: transparent;
  color: #fff;
}

#error {
  background: rgba(255, 0, 0, 0.1);
  color: #ed1c24;
  padding: 0.625rem;
}

.contact-form-container #error {
  background: transparent;
  color: #fff;
}

.request-error {
  margin: 0;
}

.request-success {
  margin: 0;
}





/*************************************************

  Content - Innlegg (posts)

**************************************************/

p.single-post-date {
  font-size: 1rem;
  margin-bottom: 2rem;
}



/*************************************************

  Wordpress-spesifikke css-klasser

**************************************************/

img.alignright {
  float: right; 
  margin: 0.5rem 0 1rem 1rem;
}

img.alignleft {
  float: left; 
  margin: 0.5rem 1rem 1rem 0;
}

img.aligncenter {
  display: block;
  margin: 0.5rem auto 1rem auto;
}

a img.alignright {
  float: right; 
  margin: 0.5rem 0 1rem 1rem;
}

a img.alignleft {
  float: left; 
  margin: 0.5rem 1rem 1rem 0;
}

a img.aligncenter {
  display: block; 
  margin: 0.5rem 0 1rem 1rem;
}

.wp-caption.alignright {
  float: right; 
  margin: 0.5rem 0 1rem 1rem;
}

.wp-caption.alignleft {
  float: left; 
  margin: 0.5rem 1rem 1rem 0;
}

.wp-caption.aligncenter {
  display: block;
  margin: 0.5rem auto 1rem auto;
}

.wp-caption-text {
  font-style: italic;
  margin: 0;
  padding: 0.25rem 0;
}

.wp-caption {
  max-width: 100% !important;
}





/*************************************************

  Content - Søkeside med søkeskjema

**************************************************/


#content-search-form {
  position: relative;
}

input#content-search-input.search-input, input#content-search-input.search-input:focus {
  height: 3rem;
  box-shadow: none;
  -webkit-appearance: none;
  -webkit-border-radius: 0; 
  border-radius: 0.5rem;
  border: 1px solid #cacaca;
  background: #fff;
  font-weight: 400;
  color: #000;
}

#content-search-form label {
  display: none;
}

#content-search-submit {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 3rem;
  background: #ff4848;
  border: none;
  color: #fff;
  opacity: 0;
  cursor: pointer;
}

#content-search-form:before {
  content: "\f002";
  position: absolute;
  width: 3rem;
  height: 100%;
  background: #ff4848;
  font-family: FontAwesome;
  right: 0;
  top: 0;
  line-height: 3rem;
  text-align: center;
  color: #fff;
  border-radius: 0 .5rem .5rem 0;
}

.search-result {

}

.search-result-link {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/*************************************************

  Paginering av innlegg/søk etc.

**************************************************/

.pagination {
  margin: 2rem 0;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination .nav-links .page-numbers {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0;
  transition: all 0.3s ease-in-out 0s;
  font-weight: 600;
  border-radius: 0.5rem;
}

.pagination .nav-links .page-numbers  {
  background: #dfdfdf;
}

.pagination .nav-links .page-numbers:hover,
.pagination .nav-links .page-numbers.prev:hover,
.pagination .nav-links .page-numbers.next:hover {
  background: #ff4848;
  color: #fff;
}

.pagination .nav-links .page-numbers.current {
  background: #ff4848;
  color: #fff;
}

.pagination .nav-links .page-numbers.prev,
.pagination .nav-links .page-numbers.next, 
.pagination .nav-links .page-numbers.dots {
  background: none;
}



/*************************************************

  Footer

**************************************************/

.footer-container {
  max-width: 97.9375em;
  margin: 0 auto;
  padding-top: 3rem;
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.15);
}

@media only screen and (max-width: 39.9375em) { 
  .footer-container {
    border-radius: 0;
    box-shadow: none;
  }
}

img.footer-cert-image {
    max-height: 120px;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

.footer-menu li {
  display: inline-block;
}

.footer-menu a {
  padding: 0.5rem 1rem;
  display: inline-block;
}

.footer-contact {
  font-weight: 500;
}

.footer-contact p {
  margin: 0;
   color: #727272;
}

.footer-contact span {
  display: inline-block;
  margin: 0 .5rem;
}

.footer-developed-by {
  font-weight: 500;
}


/* Knapp for å scrolle til toppen av siden */
#backtotop-button {
  position: fixed;
  bottom: 20px;
  right: 0;
  margin: 0 20px 0 0;
  z-index: 9999;
  display: none;
}

#backtotop-button a {
  display: block;
  height: 40px;
  width: 40px;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url(images/arrow_up_white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
  z-index: 9999;
}

#backtotop-button a:hover {
  background-color: #ff4848;
}
