/*

font-family: Favorit, sans-serif;
font-family: Favorit, sans-serif;

MENU HEADER COLOR
color: #3B6860;
$gren-common-text: #00514b;
$green-pale: #489587;
$green-dark: #d21025;
$green-header-menu: #3b6860
$green-poppy: #d6fbf4;
*/

/*

Header dark when used on light red background

#d21025

*/

/* Style the tabs */

@import "services-tabs.css";

* {
  box-sizing: border-box;
}

@font-face {
  font-display: swap;
  font-family: Favorit;
  font-style: normal;
  font-weight: 400;
  src: url(ABCFavorit-Book.woff2) format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Favorit;
  font-style: normal;
  font-weight: 500;
  src: url(ABCFavorit-Medium.woff2) format("woff2");
}

body {
  margin: 0;
  font-family: Favorit, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: Favorit, sans-serif;
}

.cols2 {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  line-height: 0;
}

.veidekke-wrapper {
  background-color: #ffe9e5 !important;
  font-size: 15px !important;
  padding: 40px 20px !important;
}

.veidekke {
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.veidekke h3 {
  margin-bottom: 1vw;
}

.cols2 > *:nth-child(1) {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cols2.single-special > *:nth-child(1) {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cols2 > *:nth-child(2) {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cols2__txt {
  max-width: 500px;
  width: 500px;
  margin: 6vw 4vw;
}

.cols2__txt--right {
  /*margin: 6vw 8vw 6vw 0;*/
  margin: 6vw 4vw;
}

#var-historia p {
  margin-bottom: 1rem;
}

.cols2__img {
  height: 100%;
  width: calc(100% - 4vw);
  object-fit: cover;
  object-position: center center;
}

.helper__position--right-center {
  object-position: right center;
}

.helper__margin--left-4vw {
  margin-left: 4vw;
}

.helper__margin--right-4vw {
  margin-right: 4vw;
}

.cols2-txt-txt {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.cols2-txt-txt > * {
  width: 50%;
}

.cols2-txt-txt__txt--leftside {
  max-width: 500px;
  margin: 4vw;
  float: right;
}

.cols2-txt-txt__txt--rightside {
  max-width: 500px;
  margin: 4vw 8vw 4vw 0;
  float: left;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin-top: 0;
  margin-bottom: 2vw;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

p:last-of-type,
ul:last-of-type {
  margin-bottom: 0;
}

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 0.4vw;
}

.type-regular {
  line-height: 1.6;
}

.type-medium {
  font-weight: 500;
}

.type-footer {
  line-height: 1.3;
  color: white;
  font-family: Favorit, sans-serif;
  font-weight: 500;
}

.type-footer a {
  text-decoration: none;
  border-bottom: 1px solid white;
  color: white;
}

.type-footer-no-border a {
  border-bottom-color: transparent;
  color: white;
}

.type-large {
  color: black;
  font-size: 32px;
  line-height: 1.6;
  font-weight: 500;
}

.type-callout {
  color: #d21025;
  font-size: 78px;
  line-height: 1.2;
  font-weight: 500;
}

.type-pop {
  font-size: 115%;
}

.type-contact h3 {
  color: #d21025;
  font-size: 52px;
  line-height: 1.2;
}

.type-contact p {
  color: black;
  line-height: 1.3;
}

.type-contact a {
  color: black;
  text-decoration: none;
}

.type-highlight {
  border-bottom: 2px solid #ffe9e5;
  color: #d21025;
}

.type-highlight::before {
  content: " ";
  border-bottom: 2px solid #ffe9e5;
  position: relative;
  margin-top: -3px;
}

.type-highlight-light {
  border-bottom: 4px solid white;
  color: white;
}

.bg--green {
  background-color: white;
}

.bg--darkgreen {
  background-color: #ffe9e5;
}

.bg--superdarkgreen {
  background-color: #380016;
}

.cols2-txt-img__img img {
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

.cols2-txt-img__img img {
  object-fit: contain;
  object-position: center center;
  width: 100%;
}

body {
  font-family: Favorit, sans-serif;
  color: black;
  font-size: 18px;
}

img {
  line-height: 0;
}

h2 {
  font-size: 32px;
}

.App {
  text-align: left;
}

.header-container {
  background-color: #ffe9e5;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
}

.logo {
  width: 400px;
  padding: 20px 20px 20px 20px;
  height: auto;
}

.logo-footer {
  padding: 20px 20px 60px 0;
  height: auto;
  max-width: 320px;
}

.header-small {
  display: none;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 30px;
}

.header-small a {
  color: white;
  font-family: Favorit, sans-serif;
  font-size: 20px;
  text-decoration: none;
}

.header-small .logo {
  padding: 0;
  max-width: 200px;
}

.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: white;

  max-width: 1380px;
  margin: 0 auto;
}

.header-container + .content {
  margin-top: 155px;
}

.header ul {
  margin: 0;
  padding: 0;
}

.ie11 {
  display: flex;
  flex-direction: row;
}

.hero {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffe9e5;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 100%;
  background-position: center 80%;
}

.hero__caption {
  padding: 200px 0px;
  width: calc(1000px + 8vw);
}

.hero__caption h1 {
  font-size: 88px;
  font-weight: 500;
}

.hero-container {
  line-height: 0;
}

.hero-wrapper {
  position: absolute;
}

.hero-container img {
  max-width: 100%;
  height: auto;
}

a {
  color: white;
}

#rotosonic .type-pop {
  display: block;
  color: #d21025;
  font-weight: 500;
}

.banner-headline__header {
  font-size: 58px;
  padding: 120px 60px;
  margin: 0;
  color: #d21025;
  text-align: center;
}

.banner-headline__header a {
  color: black;
  font-weight: 500;
}

.banner-headline__header.partners-headline {
  padding: 120px 60px 0;
}

.partners {
  padding: 80px 20px;
  color: white;
  text-align: center;
  max-width: calc(1000px + 8vw);
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.partners img {
  width: auto;
  height: 90px;
}

.partners > * {
  margin: 20px 50px;
}

.header-menu a {
  color: black;
  font-family: Favorit, sans-serif;
  font-size: 20px;
  line-height: 0;
  display: block;
  padding: 75px 25px;
  text-decoration: none;
  transition: 0.4s color;
  font-weight: 500;
}

.header-menu a:hover {
  color: black;
}

@media (max-width: 1279px) {
  .header-container + .content {
    margin-top: 168px;
  }

  .header {
    flex-direction: column;
  }

  .logo {
    max-width: 280px;
  }

  .header-menu a {
    font-size: 16px;
    padding: 20px 20px 40px 20px;
  }

  .banner-headline-header {
    font-size: 36px;
    padding: 80px 40px;
    color: white;
    text-align: center;
  }
}

@media (max-width: 1023px) {
  .partners img {
    max-width: 100%;
    height: auto;
  }

  .header-container + .content {
    margin-top: 116px;
  }

  .header-small {
    display: flex;
  }

  .header {
    display: none;
  }
}

.cols-2-container {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.cols-2-container--poppy {
  background-color: #d6fbf4;
}

.cols-2-content {
  color: grey;
  width: 50%;
  margin: 55px 70px;
}

header ul li {
  list-style-type: none;
  display: inline-block;
}

.img-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.img-text .img img {
  max-width: 100%;
  height: auto;
}

.img-text .img {
  width: 50%;
  line-height: 0;
}

.img-text .text-container {
  width: 50%;
}

.img-text .text-container .text {
  padding: 20px 70px;
  max-width: 500px;
  float: right;
  color: #489587;
  font-size: 32px;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 1279px) {
  .img-text .text-container .text {
    font-size: 22px;
  }
}

@media (max-width: 1023px) {
  .hero__caption {
    width: 100%;
    padding: 100px 30px;
    text-align: center;
  }

  .hero__caption h1 {
    font-size: 36px;
  }

  .type-large {
    font-size: 18px;
  }

  .stack-on-small {
    flex-direction: column;
  }

  .stack-on-small ul {
    display: inline-block;
    text-align: left;
  }

  .stack-on-small img {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .stack-on-small .cols2__txt {
    width: 100%;
    max-width: 100%;
  }
  /*
  .cols2.stack-on-small > *:nth-child(1) .cols2__txt {
    padding-top: 8vw;
  }

  .cols2.stack-on-small > *:nth-child(2) .cols2__txt {
    padding-top: 8vw;
  }
  */

  .cols2.stack-on-small > *:nth-child(1) .cols2__txt {
    padding-top: 6vw;
  }

  .cols2.stack-on-small > *:nth-child(2) .cols2__txt {
    padding-top: 0;
    padding-bottom: 6vw;
  }

  .cols2.stack-on-small > *:nth-child(2) .cols2__img {
    padding-top: 6vw;
  }

  .cols2.stack-on-small.reverse-order-on-small > *:nth-child(1) .cols2__txt {
    order: 2;
    padding-bottom: 6vw;
    padding-top: 0;
  }

  .cols2.stack-on-small.reverse-order-on-small > *:nth-child(2) .cols2__txt {
    order: 1;
    padding-top: 6vw;
    padding-bottom: 0;
  }

  .cols2.stack-on-small > * {
    width: 100%;
  }

  .stack-on-small .cols2__img {
    width: 100%;
  }

  .reverse-order-on-small > *:nth-child(1) {
    order: 2;
  }

  .reverse-order-on-small > *:nth-child(2) {
    order: 1;
  }

  .banner-headline__header {
    font-size: 32px;
    padding: 60px 25px;
  }

  .type-callout {
    font-size: 42px;
  }
}

input[id="op"] {
  display: none;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #ffe9e5;
}

.overlay label {
  width: 58px;
  height: 58px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 100;
  cursor: pointer;
}

.overlay nav {
  text-align: center;
  position: relative;
  top: 50%;
  height: 60%;
  font-size: 54px;
  transform: translateY(-50%);
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  height: 100%;
  position: relative;
}

.overlay ul li {
  display: block;
  height: 20%;
  height: calc(100% / 5);
  min-height: 54px;
}

.overlay ul li a {
  display: block;
  text-decoration: none;
  transition: color 0.2s;
  color: white;
  font-weight: 500;
  font-size: 32px;
  font-family: Favorit, sans-serif;
}

.overlay ul li a:focus {
  color: white;
}

.overlay {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s,
    visibility 0s 0.5s;
}

#op:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s;
  background-color: #d21025;
}

.overlay nav {
  -moz-perspective: 300px;
}

.overlay nav ul {
  opacity: 0.4;
  transform: translateY(-25%) rotateX(35deg);
  transition:
    transform 0.5s,
    opacity 0.5s;
}

#op:checked ~ .overlay nav ul {
  opacity: 1;
  transform: rotateX(0deg);
}

#op:not(:checked) ~ .overlay nav ul {
  transform: translateY(25%) rotateX(-35deg);
}
