:root {
  --mj-light: #fff;
  --mj-dark: #404343;
  --mj-orange: #dd622b;
}
* {
  -webkit-backface-visibility: hidden;
}

html,body {
  margin-top: 0px !important;
}
html {
font-size: 16px;  
}
@media(min-width: 992px){
  html {
/*    font-size: 20px;*/
  }
}
body {
font-family: "Raleway", sans-serif;
line-height: 1.5rem;
font-optical-sizing: auto;
font-style: normal;
position: relative;
padding-top: 50px;
color: var(--mj-dark);
background-color: var(--mj-light);
}

figure {
  margin: 0px;
}
.container {
  width: 90%;
  max-width: 1400px;
}
.blue-bg {
  background-color: var(--mj-orange);
  color: var(--mj-light);
}
.blue-bg .button {
  background-color: var(--mj-dark)
}
.profile-orange {
  color: var(--mj-orange);
}

@media(min-width: 960px){
  body {
    padding-top: 100px;
  }
}
.home {
  padding-top: 0px;
}
.bg-element {
  z-index: -1;
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: -50px;
  bottom: 0px;
}
.bg-element svg {
  object-fit: cover;
 width: 100%;
 height: 100%;
 object-position: center center;
}
h1,h2,h3 {
font-weight: 700;
}
a {
  color: var(--mj-dark)
}
a:hover {
  color: var(--mj-dark)
}

.logo {
  color: var(--mj-light);
  position: relative;
  z-index: 999;
  display: block;
  width: 100%;
}
.footer {
  font-size: 0.9rem;
  background-color: var(--mj-dark);
  color: var(--mj-light)
}
.footer a {
  color: var(--mj-light);
  text-decoration: none !important;
  border-bottom: 1px solid var(--mj-orange);
}
.footer img {
  display: block;
  width: 100%;
  max-width: 160px !important
}
.logo svg {
  transition: all 0.3s ease;
  max-width: 200px;
  width: 100%;
  height: auto;
}
.button, .image-text .button ,.wpforms-submit {
  display: inline-block;
  padding: 8px 25px;
  border-radius: 8px;
  border: 2px solid var(--mj-orange);
  background-color: var(--mj-orange);
  color: var(--mj-light);
  text-decoration: none;
}

.button:hover, .image-text .button:hover,.wpforms-submit:hover {
  background-color: var(--mj-light);
  border-color: var(--mj-light);
  color: var(--mj-orange);
  text-decoration: none;
}
.wpforms-submit:hover  {
  border: 2px solid var(--mj-orange);
}
.image-text .button:hover {
  border: 2px solid var(--mj-orange);
}
.image-text a {
  border-bottom: 1px solid var(--mj-orange);
}
.home .fixed-top {
  background-color: transparent;
  transition: all 0.3s ease;
}
.fixed-top, .home .darkHeader {
  background-color: var(--mj-dark);
  transition: all 1s ease;
}
.menu {
  margin: 0px;
  padding: 0px;
  text-align: center;
}
.menu a {
  border-bottom: none;
  color: var(--mj-light)
}
.menu>li>a {
  font-size: 1.2rem;
}
.menu>a:hover {
  border: none;
}
.sub-menu {
  display: inline-block;
  margin: 0px;
  padding: 0px;
}
.menu .sub-menu li {
  position: relative;
  display: block;
}
.sub-menu li a {
  
  text-decoration: none;
  border-bottom: 1px solid var(--mj-dark);
}
@media(min-width: 1170px){

  .sub-menu li {
    display: block !important;
    padding: 0px 15px !important;
  }
  .d-menu .menu li {
    display: block;
  }
  .sub-menu li a {
    display: block;
    padding: initial;
    color: var(--mj-dark)
  }
.sub-menu {
  margin: 0px;
  padding: 8px 0px;
  background-color: #fff;
  text-align: left;
 position: absolute;
 top: 35px;
 left: 0px;
 width: 200px;
 transition: all 0.3s ease;
 max-height: 0px;
 overflow: hidden;
 transform: scale(1,0);
 transform-origin: top center;
}

}

.fixed-top li:hover .sub-menu {
 transform: scale(1,1); 
  max-height: 400px;
}
.sub-menu li {
  padding: 0px;
  margin: 0px;
  display: block;
}

.menuitems {
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  transform: scale(0,0);
  opacity: 0;
  right: 0px;
  bottom: 100%;
  left: 0px;
  top: 0px;
  background-color: var(--mj-dark);
  padding: 8px;
  padding-left: 40px;
  padding-right: 20px;
  z-index: 1;
  transition: all 0.3s ease;
}
.menuitems.active {
  transform: scale(1,1);
  bottom: 0px;
  opacity: 1;
}

.menuitems a {
  color: var(--mj-light);
  margin: 10px 0px;
  display: block;
}
.menuitems a:hover {
  border-color: var(--mj-light);
}
.menuitems ul,.menuitems li {
  list-style: none;
}
.d-menu .menu {
  list-style: none;

}
.d-menu .menu>ul {
  margin-bottom: 0px;
}
.d-menu .menu li {
  display: inline-block;
  position: relative;
}

.d-menu .menu li a {
  padding: 5px 13px;
}
.d-menu .menu li:last-of-type a {
padding-right: 0px;
}
#menu-menu-1 {
  text-align: right;
}
.fixed-top button {
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  background-color: var(--mj-dark);
  color: var(--mj-light);
  padding: 10px 20px;
  line-height: 20px;
  border: none;
  font-size: 16px;
  text-transform: uppercase;
}
.fixed-top button svg {
  vertical-align: middle;
}
/* HEADER */
.header-module {

  background-color: var(--mj-dark);
  color: var(--mj-light);
  overflow: hidden;
  position: relative;
}
.header-module strong {
  color: var(--mj-orange)
}
/* SLIDES */

#slides_overlay {
  background-color: var(--mj-dark);
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
}
.swiper-slide  {
  text-shadow: 0px 8px 10px rgba(0,0,0,0.2);
}
.swiper-slide {
  display: flex;
  justify-content: start;
  align-items: center;
}
.swiper-button-prev, .swiper-button-next {
  color: var(--mj-light) !important;
  opacity: 0.5;
}
#slides_overlay .overlay_image {
  position: absolute;
  z-index: 1;
  opacity: 0.5;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#slides_overlay .container {
  position: relative;
  z-index: 3;
}

#slides_overlay h1 {
  display: inline-block;
  color: var(--mj-light);
}
.slider-text {
  color: var(--mj-light);
  line-height: 2rem;
}
#slides_overlay h1::after {
  display: block;
content: '';
width: 50%;
height: 4px;
background-color: var(--mj-orange);

}
/* BILDE + TEKST*/
.p1 img,.p2 img {
  max-width: 100%;
}

.image-text h2 {
  color: var(--mj-dark);
}
/* ANSATTE */
.contact-module {
  position: relative;
}
.contact-module h3 {
  
  font-weight: 400;
  max-width: 750px;
  margin: 0px auto;
}

.contact img {
  width: 100%;
  height: auto;
}

/* FEATURED */
.featured-text h1 {
  max-width: 900px;
  margin: 0px auto;
}
.featured-text.blue-bg {
  padding: 5rem 0px;
}
/* TEXT */
.text h1, .text h2, .text h3 {
  margin-bottom: 2rem;
}
/* TEXTBOX */
.textbox_module {
  position: relative;
  overflow: hidden;
}
.textbox_module a {
  color: var(--mj-orange);
  background-color: transparent;
}
.textbox_module a:hover {
  text-decoration: none;
  background-color: var(--mj-orange);
  color: var(--mj-light) !important;
  border-bottom: 2px solid var(--mj-orange)
}
.textbox_module .arrow {
margin-top: 4px;
display: inline-block;
}
.textbox_module figure, .gallery figure {
  width: 100%;
  height: auto;
  aspect-ratio: 12/9;
  overflow: hidden;
}
.textbox_module figure img, .gallery figure img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.textbox_module .textbox-element, .text .textbox-element {
  display: none;
}
.orange-bg .button:hover {
  background-color: transparent;
  color: var(--mj-light);
}
.textbox_module .button:hover {
  border-color: var(--mj-orange);
}
.orange-bg {
  padding-bottom: 4rem !important;
  color: var(--mj-light);
}


h4::after, .textbox_module  h3::after{
  margin: 0.6em 0px;
  margin-bottom: 1em;
  display: block;
content: '';
width: 50px;
height: 4px;
background-color: var(--mj-orange);
}
h2::after {
  margin-top: 1em;
  display: block;
content: '';
width: 50px;
height: 4px;
background-color: var(--mj-orange);
}


/* BILDE */
.image_module img {
  width: 100%;
  height: auto;  
}

/* ARTICLE */
.article-img img {
  width: 100%;
  height: auto;
}
.article-img a {
  display: block;
}
.contact p {
  margin-bottom: 0px;
}
.contact svg {
  display: block;
  margin: 0px auto;
  transform: translateY(-1.9em);
}
#wpadminbar {
opacity: 0;
}
#wpadminbar:hover {
opacity: 1;
}
.single-img {
    width: 100%;
  }
@media(min-width: 992px){

  p {
    margin-bottom: 1.7rem;
  }
  p:last-of-type {
    margin-bottom: 0px;
  }
}
@media(min-width: 1140px){
  .logo svg {
    max-width: 350px;
  }
  .darkHeader .logo svg {
    transform: translateY(-1rem);
    margin-bottom: -4rem;
    max-width: 300px;
  }
  #slides_overlay h1 {
    font-size: clamp(3rem,5.5vw,4rem) !important;
  }
 h1 {
  display: block;
    
  }
}

@media(max-width: 768px){
  #slides_overlay .textbox-element svg {
    top: initial;
    bottom: -50px;
  }
  .logo {
    margin-bottom: -2rem;
  }
}

@media(min-width: 1800px){
  html {
    font-size: 20px;
  }
}