/*
2025 © Monoform
http://www.monoform.no
*/

:root {
  --seo-green: #234251;
  --seo-lightgreen: #3dc3b3;
  --seo-greenbackground: #CAEBE4;
  --seo-yellow: #FCDD41;
}

.ebok-banner {
  background-color: var(--seo-green);
  color: #fff;
  padding-block: 80px;
  font-weight: 500;
}

.ebok-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .ebok-banner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .takk-grid {
    gap: 60px;
  }
}

.ebok-banner h1 {
  font-size: clamp(4.5rem, 0.956vw + 4.194rem, 5.5rem);
  font-weight: 600;
  padding: 5px 0 30px 0;
  margin: 0;
}

.ebok-banner-text {
  max-width: 590px;
}

.book-data {
  margin-top: 30px;
  color: var(--seo-lightgreen);
}

.book-data a {
  color: var(--seo-lightgreen);
  text-decoration: none;
}

.book-data a:hover {
  color: #fff;
}

.book-data i {
  margin-right: 10px;
}

.ebok-banner .buttonwrapper {
  margin-top: 50px;
  gap: 20px;
}

.ebok-banner .button {
  font-weight: 500;
  font-size: 1.8rem;
}

.button-yellow {
  border: 1px solid var(--seo-yellow);
  background-color: var(--seo-yellow);
  color: var(--seo-green);
}

.button-yellow:hover {
  opacity: 0.6;
}

.button-white:hover {
  color: #fff;
  opacity: 0.6;
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .ebok-banner .button {
    width: 100%;
    padding: 1.2em;
  }
}

.ebok-banner-image {
  position: relative;
  justify-self: center;
}

@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .ebok-banner-image {
    grid-row: -1;
    padding: 0 40px;
  }
  
  .takk-grid .ebok-banner-image {
    grid-row: 2;
  }
}

.price-circle {
  position: absolute;
  top: 80px;
  left: -110px;
  
  width: 177px;
  height: 177px;
  border-radius: 50%;
  z-index: 10;
  background-color: var(--seo-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--seo-green);
  font-size: 1.8rem;
  font-weight: 500;
}

.takk-grid .price-circle {
  display: none;
}

.price-number {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 3px;
}


@media only screen and (max-width: 1023px) { /* Tablet Vertical */
  .price-circle {
    top: 20%;
    left: -20px;
  }
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .price-circle {
    top: 20%;
    left: 0;
    font-size: 1.7rem;
    
    width: 150px;
    height: 150px;
  }
  
  .price-number {
    font-size: 4.5rem;
  }
}

.ebok-banner-image img {
  max-width: 450px;
  transform: rotate(5deg);
}

.content-banner {
  background-color: var(--seo-greenbackground);
  color: var(--seo-green);
  padding-block: 60px;
  font-weight: 500;
}

.ebok-body h2 {
  margin-bottom: 1em;
  font-size: clamp(3rem, 0.956vw + 2.694rem, 4rem);
  font-weight: 700;
}

/* Innhold-apne-lukke-tekst */

.list-index {
  margin-top: 10px;
  border-top: 1px solid var(--seo-green);
}

.list-item {
  border-bottom: 1px solid var(--seo-green);
}

.list-tittel {
  color: var(--seo-green);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6em 0;
  font-weight: 700;
}

.list-tittel i {
  font-weight: 500;
  margin-left: 40px;
}

.listeinnhold {
  font-weight: 400;
  padding: 15px 0 30px 0;
}

.listeinnhold iframe {
  width: 100%;
}

#bestilling {
  color: var(--seo-green);
  padding-block: 60px;
  font-weight: 500;
}

.bestillingsskjema input {
  height: 50px;
}

.bestillingsskjema input,
.bestillingsskjema textarea {
  border: 1px solid var(--seo-green);
  width: 100%;
  margin: 5px 0 20px 0;
  padding: 0.4em 0.6em;
  color: var(--seo-green);
}

.bestillingsskjema input[type=submit] {
  width: auto;
  color: #fff;
  
  display: inline-block;
  border: 0;
  border-radius: 0.2em;
  font-weight: 500;
  font-size: 1.8rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 0.8em 1.8em;
  margin: 0;
  cursor: pointer;
  transition: all 0.4s;
  line-height: 1;
  margin-top: 20px;
}

@media only screen and (max-width: 767px) { /* Mobile Horizontal */
  .bestillingsskjema input[type=submit] {
    width: 100%;
  }
}

.postnr-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

@media only screen and (max-width: 567px) { /* Mobile Vertical */
  .postnr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.button-green {
  background-color: var(--seo-green);
  color: #fff;
}

.button-green:hover {
  opacity: 0.6;
}

.bestillingsskjema label {
  font-size: clamp(1.7rem, 0.096vw + 1.669rem, 1.8rem);
  display: block;
}

.bestillingsskjema label span {
  font-weight: 400;
  opacity: 0.6;
  font-size: 1.6rem;
}

/* ----- Radiobuttons/Checkboxes */
.bestillingsskjema .radiocontainer,
.bestillingsskjema .checkboxcontainer {
  display: block;
  position: relative;
  padding: 0;
  padding-left: 35px;
  margin-top: 50px;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: var(--seo-green);
  font-size: clamp(1.7rem, 0.096vw + 1.669rem, 1.8rem);
}

.bestillingsskjema label.radiocontainer,
.bestillingsskjema label.checkboxcontainer {
  font-weight: 500;
}

/* Hide the browser's default radio button */
.bestillingsskjema .radiocontainer input,
.bestillingsskjema .checkboxcontainer input {
  position: fixed;
  opacity: 0;
  cursor: pointer;
}

.bestillingsskjema .checkboxcontainer input {
  height: 0;
  width: 0;
}

/* Create a custom radio button */
.bestillingsskjema .checkmark {
  opacity: 1;
  position: absolute;
  top: 3px;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #fff;
  border: 1px solid var(--seo-green);
}

.bestillingsskjema .radiocontainer .checkmark {
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.bestillingsskjema .radiocontainer:hover input ~ .checkmark,
.bestillingsskjema .checkboxcontainer:hover input ~ .checkmark {
  background-color: rgb(242, 242, 242);
}

/* When the radio button is checked, add a red background */
.bestillingsskjema .radiocontainer input:checked ~ .checkmark,
.bestillingsskjema .checkboxcontainer input:checked ~ .checkmark {
  background-color: var(--seo-green);
  border: 1px solid var(--seo-green);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.bestillingsskjema .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.bestillingsskjema .radiocontainer input:checked ~ .checkmark:after,
.bestillingsskjema .checkboxcontainer input:checked ~ .checkmark:after {
  display: block;
}

/* Style the radio indicator (dot/circle) */
.bestillingsskjema .radiocontainer .checkmark:after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* Style the checkmark/indicator */
.bestillingsskjema .checkboxcontainer .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.radiocontainer input:focus + .checkmark,
.checkboxcontainer input:focus + .checkmark {
  box-shadow: 0 0 0 3px #95b2f5;
}

.personverninfo {
  margin-top: 15px;
  font-size: 1.7rem;
  font-weight: 400;
}

#error {
  font-size: 1.7rem;
  color: #c8102e;
  display: none;
  margin-top: 15px;
}

#samtykke-error {
  font-size: 1.7rem;
  color: #c8102e;
  display: none;
}

.needsfilled {
  border: 2px solid #c8102e !important;
  color: #c8102e !important;
  font-size: 1.6rem;
}