/*!
Theme Name: visuelisering
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: visuelisering
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@300&display=swap");

* {
  box-sizing: border-box;
}

:root {
  --brown: #d8d7d2;
  --dark-brown: #9a746a;
  --header-font: "Montserrat", sans-serif;
  --body-font: "Roboto", sans-serif;
}

html,
body {
  background-color: var(--brown);
  font-family: var(--body-font);
  font-weight: 300;
  margin: 0;
  width: 100%;
  color: black;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--header-font);
}

h2 {
  font-family: var(--body-font);
  font-weight: 400;
}

p,
li,
span {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 25px;
}
li,
span {
  margin: 0;
}
.pad-columns {
  padding: 1em 8vw 1em;
}
.container {
  width: 100%;
  max-width: 998px;
  margin: 2em auto;
  padding: 3em 2em;
}
.is-style-arrow-link .wp-block-button__link {
  color: black;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--body-font);
  margin-bottom: 5px;
  padding: 0;
}
.wp-container-12,
.wp-container-7 {
  gap: 0 !important;
}
.wp-block-columns {
  margin-bottom: 0;
}
.is-style-arrow-link .wp-block-button__link {
  color: black;
  border: none;
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
}
.is-style-arrow-link .wp-block-button__link::after {
  content: url("https://3d.ensign.no/wp-content/uploads/2022/10/arrow.svg");
  margin-left: 15px;
}

/** Header **/
.site-header-temp {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  padding: 2em;
}
.site-branding img {
  min-width: 210px;
  height: auto;
}

.hamburger {
  cursor: pointer;
  margin: 7px 1em 0 0;
}

@media (min-width: 768px) {
  .hamburger {
    margin: 7px 2em 0 0;
  }
}

.rec1,
.rec2 {
  width: 60px;
  height: 3px;
  fill: black;
}

.rec2 {
  width: 40px;
  height: 3px;
}

.mobile-menu {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  background-color: #d8d7d2;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2em;
}

button.closeBTN {
  position: absolute;
  top: 2em;
  right: 2em;
  z-index: 10001;
  padding-top: 1em;
}

.logo-mobile {
  position: absolute;
  top: 2em;
  left: 2em;
  z-index: 1000;
}

.logged-in button.closeBTN,
.logged-in .logo-mobile {
  top: 4em;
}

.logo-mobile img {
  width: 120px;
  height: auto;
}

.mobile-menu button {
  background: none;
  border: none;
}

.mobile-menu button img {
  width: 15px;
  height: auto;
}

#mobile ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#mobile ul li a {
  color: black;
  text-decoration: none;
  opacity: 0.8;
  font-weight: 400;
  transition: opacity 0.2s cubic-bezier(0.7, 0, 0.2, 1);
}

#mobile ul li a:hover,
#mobile ul li a:active,
#mobile ul li a:focus {
  color: black;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.2s cubic-bezier(0.7, 0, 0.2, 1);
}

#mobile ul li {
  margin: 15px 0;
  font-size: 2em;
  text-align: center;
}

.pdf-wrapper {
  display: none;
  margin: 2em 0 0;
  background-color: white;
  padding: 2em 2em 0.5em;
}

.pdf-wrapper .wpcf7 input[type="email"] {
  font-size: 16px;
  position: relative;
  margin-bottom: 0;
  padding: 0.5em 0.5em 0.5em 0;
  background: transparent;
  color: var(--black-color);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--dark-brown);
  width: 100%;
}

.pdf-wrapper .wpcf7 input[type="submit"] {
  margin: 0;
}

.pdf-wrapper.wpcf7 form .wpcf7-response-output {
  margin: 0 0 1em;
  padding: 0.2em 1em;
  border: 2px solid #00a0d2;
}

.pdf-wrapper .close-email-modal img {
  width: 15px;
  height: auto;
}

.pdf-wrapper h3 {
  margin: 1em 0 0;
}

/**/
.wp-block-coblocks-gallery-carousel-page-dot-pagination-container
  > .wp-block-coblocks-gallery-carousel-page-dot-wrapper
  > .wp-block-coblocks-gallery-carousel-page-dot-pagination {
  height: 12px !important;
}
.coblocks-gallery--item figure {
  margin: 0 !important;
}
.p-relative {
  position: relative;
  height: 4em;
  margin-bottom: -2em;
}
.brown-line {
  width: 2px;
  height: 4em;
  background-color: var(--dark-brown);
  margin: -3.25em auto 0;
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wp-block-image {
  margin: 0;
}
label {
  font-weight: normal;
  width: 100%;
}

.acceptance .wpcf7-list-item-label {
  display: none;
}
label.acceptance-label {
  margin-left: 40px;
  margin-top: -23px;
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  /* general style for input elements */
  font-size: 16px;
  position: relative;
  margin-bottom: 0;
  padding: 0.5em 0.5em 0.5em 0;
  background: transparent;
  color: var(--black-color);
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid var(--dark-brown);
  width: 100%;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus {
  font-size: 16px;
  position: relative;
  margin-bottom: 0;
  padding: 0.5em 0.5em 0.5em 0;
  border-bottom: 1px solid var(--dark-brown);
  width: 100%;
  outline: 0;
}

.wpcf7 textarea,
.wpcf7 textarea:focus {
  /* general style for input elements */
  font-family: var(--body-font);
  font-size: 16px;
  position: relative;
  margin-bottom: 0;
  padding: 1em;
  background: transparent;
  color: var(--black-color);
  border: 1px solid var(--dark-brown);
  width: 100%;
}

.wpcf7 input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 3px solid var(--dark-brown);
  width: 15px;
  height: 15px;
  margin-right: 15px;
}

.wpcf7 input[type="checkbox"]:checked {
  background: var(--dark-brown);
  outline: 0;
}

.checks label {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}
.second-check label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1em;
}

.second-check a,
.second-check a:hover,
.second-check a:visited {
  color: var(--dark-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-brown);
}

input::placeholder {
  margin: 0 0 5px;
  font-family: var(--body-font);
  font-size: 16px;
  color: black;
}

.wpcf7-validation-errors {
  background-color: #f7e700;
  border: 2px solid #f7e700;
  color: #212529;
}

.wpcf7-mail-sent-ok {
  border: 2px solid #398f14;
  background-color: #398f14;
  color: #fff;
}

.wpcf7 p {
  line-height: 24px;
}

.wpcf7 input[type="submit"] {
  font-family: var(--header-font);
  color: white;
  background-color: var(--dark-brown);
  padding: 12px 30px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  display: block;
  transform: translate3d(-4px, -4px, 0);
  transition: transform 0.3s cubic-bezier(0.7, 0, 0.2, 1);
  margin: 0 auto;
  font-size: 18px;
  margin-top: 1em;
  letter-spacing: 2px;
}
.no-touch .wpcf7 input[type="submit"]:hover {
  transform: translate3d(-8px, -8px, 0);
}
.wpcf7 input[type="submit"]:focus {
  outline: none;
}
.wpcf7 input[type="submit"]:active {
  transform: translate3d(-8px, -8px, 0);
}

.terms {
  font-size: 16px;
  margin: 1em 0 10px !important;
  line-height: 1.4 !important;
}

.second-terms {
  font-size: 16px;
  margin: -10px 0 1em !important;
  line-height: 1.4 !important;
}

.wpcf7 p {
  line-height: 1.4;
}

.wpcf7 {
  max-width: 768px;
  margin: 0 auto;
}

/*** Mobile screens ***/
@media (max-width: 650px) {
  .site-branding img {
    min-width: 150px;
  }
  .second-check label input {
    width: 36px !important;
  }

  .has-carousel {
    height: 75vw !important;
  }

  p {
    font-size: 16px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  .wp-container-12 {
    flex-direction: column-reverse;
  }

  .wp-block-spacer {
    height: 20px !important;
  }

  .pad-columns {
    padding: 2em 8vw 3em;
  }

  #mobile ul li {
    margin: 15px 0;
    font-size: 1.5em;
  }
}
