@charset "UTF-8";
/*
Theme Name: Hovda Utmarkslag Båteigarlag
Theme URI: http://www.osberget.no/
Author: Magne Grimstad at Osberget AS, Maxim Kukulinsky & Erik Latvel at RASAMAX SIA
Author URI: http://www.osberget.no/
Description: Hovda Utmarkslag Båteigarlag Wordpress theme
Version: 1.0.17
Tags: hovdautmarkslag osberget rasamax
Text Domain: hovdautmarkslag
*/
/**
 * Reset CSS instead of Normalize inside of Bootstrap
*/
/* Page commons */
.menu-button-icon {
  position: relative;
}

.menu-button.open span.menu-open {
  transform: rotate(-300deg);
  opacity: 0;
}

.menu-button.open span.menu-close {
  opacity: 1;
  transform: rotate(0);
}

.menu-open {
  transform: rotate(0);
  opacity: 1;
  transition: transform .5s, opacity .5s;
}

.menu-close {
  opacity: 0;
  transform: rotate(300deg);
  transition: transform .5s, opacity .5s;
  position: absolute;
}

#main-navigation-container {
  position: absolute;
  left: 0;
  top: 100%;
  height: 0px;
  transition: height .7s, visibility 0s .7s;
  width: 100%;
  overflow: hidden;
  visibility: hidden;
  background-color: var(--bs-plantation);
}

#main-navigation-container.expanded {
  height: 100vh;
  visibility: visible;
  transition: visibility 0s, height .7s;
}

#main-navigation-container .menu-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  padding: 100px 0px;
}

#main-navigation-container li.menu-item {
  padding: 15px 25px;
}

#main-navigation-container li.menu-item.expanded .sub-menu {
  max-height: 500px;
  transition: max-height .7s ease-in-out, visibility 0s;
  visibility: visible;
}

#main-navigation-container .sub-menu {
  max-height: 0px;
  transition: max-height .7s ease-in-out, visibility 0s 0.7s;
  list-style-type: none;
  overflow: hidden;
  visibility: hidden;
}

#main-navigation-container .sub-menu a {
  font-size: 16px !important;
}

#main-navigation-container .sub-menu li:last-child {
  padding-bottom: 0;
}

#main-navigation-container a:not(.wp-edit-button) {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid white;
}

.sub-menu-button {
  width: 12px;
  height: 12px;
  margin-left: 50px;
  transform: translateY(-5px);
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.25s;
  background: none;
  border: none;
}

.sub-menu-button::before, .sub-menu-button::after {
  content: "";
  transition: 0.5s;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sub-menu-button::before {
  width: 2px;
  height: 12px;
  transition: height 0.5s;
}

.sub-menu-button::after {
  width: 12px;
  height: 2px;
}

li.expanded .sub-menu-button::before {
  height: 0px;
}

@media screen and (max-width: 767px) {
  #main-navigation-container .menu-wrapper {
    padding: 30px 0px;
  }
}

@media screen and (max-width: 400px) {
  #main-navigation-container {
    width: 100%;
  }
  #main-navigation-container :not(.sub-menu) a {
    font-size: 16px !important;
  }
  #main-navigation-container .sub-menu {
    padding: 0;
  }
  #main-navigation-container .sub-menu a {
    font-size: 14px !important;
  }
}

form.wpcf7-form label {
  color: var(--bs-dark);
  font-size: 18px;
  margin-bottom: 5px;
}

form.wpcf7-form input:not(.wpcf7-submit):not([type="checkbox"]),
form.wpcf7-form textarea {
  width: 100%;
  background-color: white;
  border: none;
  border-bottom: 3px solid var(--bs-brown);
  font-size: 18px;
  padding: 20px 30px 15px 30px;
  color: var(--bs-dark);
  margin-bottom: 25px;
}

form.wpcf7-form :is(input, textarea):focus {
  outline: var(--bs-blue-gray) auto 2px;
  outline-offset: 5px;
}

form.wpcf7-form .intl-tel-input {
  width: 100%;
  margin-bottom: 25px;
}

form.wpcf7-form .intl-tel-input input {
  padding-left: 50px !important;
}

form.wpcf7-form span[data-name="melding"] {
  flex: 1 1 auto;
}

form.wpcf7-form span[data-name="melding"] textarea {
  height: 100%;
}

form.wpcf7-form .wpcf7-spinner {
  display: none;
}

form.wpcf7-form .wpcf7-acceptance > span {
  margin-left: 0;
}

form.wpcf7-form .wpcf7-acceptance > span > label {
  position: relative;
}

form.wpcf7-form .wpcf7-acceptance > span > label input[type="checkbox"] {
  appearance: none;
  border-bottom: none;
  padding: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: white;
  margin: 0;
  border-radius: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

form.wpcf7-form .wpcf7-acceptance > span > label input[type="checkbox"]:before {
  content: '';
  display: block;
  width: 7px;
  height: 15px;
  border-right: 2px solid var(--bs-plantation);
  border-bottom: 2px solid var(--bs-plantation);
  transform: translate(10px, 2px) rotate(45deg);
  transition: opacity .25s;
  opacity: 0;
}

form.wpcf7-form .wpcf7-acceptance > span > label input[type="checkbox"]:checked:before {
  opacity: 1;
}

form.wpcf7-form .wpcf7-acceptance > span > label > span {
  margin-left: 40px;
  display: block;
}

form.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
}

form.wpcf7-form .wpcf7-not-valid-tip {
  color: red;
  position: absolute;
  right: 0;
  bottom: 0;
}

form.wpcf7-form .wpcf7-submit {
  border: 0;
  margin-top: 30px;
  opacity: 1;
  transition: opacity .4s;
}

form.wpcf7-form .wpcf7-submit:disabled {
  opacity: .5;
}

:root {
  --wp-edit-button-primary: var(--bs-light-yellow);
  --wp-edit-button-secondary: var(--bs-plantation);
}

p:first-child {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

a:not(.text-decoration-none):hover {
  text-decoration: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1;
}

ul {
  font-size: 20px;
}

ul li {
  font-size: 20px;
}

.h-100vh {
  min-height: 100vh;
}

@media screen and (max-height: 800px) {
  .h-100vh {
    min-height: 100vh;
    height: auto;
  }
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

.aligncenter {
  margin: auto;
  display: block;
}

.position-cover {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 25px;
  letter-spacing: 2%;
}

.post-content p, .post-content > ul, .post-content > ol {
  font-size: 20px;
  margin-bottom: 40px;
}

.post-content figure {
  width: 100% !important;
  margin-top: 90px;
  margin-bottom: 40px;
}

.post-content figure img {
  width: 100%;
  height: auto;
}

.post-content figure figcaption {
  font-size: 17px;
  margin-top: 20px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: .1rem;
}

.post-content a:is(
[href$=".pdf"],
[href$=".doc"],
[href$=".docx"],
[href$=".xls"],
[href$=".xlsx"]
):before {
  content: 'attach_file';
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  margin-right: 10px;
}

@media screen and (max-width: 1200px) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    font-size: 22px;
  }
  .post-content p, .post-content ul, .post-content ol {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    font-size: 20px;
  }
  .post-content p, .post-content ul, .post-content ol {
    font-size: 18px;
    margin-bottom: 30px;
  }
}

.text-404 {
  font-size: 300px;
  letter-spacing: 10px;
  line-height: 0.57;
}

#a404-2 {
  transform-origin: bottom;
  animation-name: rotate2;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-delay: 3s;
  animation-iteration-count: 1;
  z-index: -1;
}

@keyframes rotate2 {
  0% {
    transform: rotate(0deg);
    animation-timing-function: cubic-bezier(0.77, 0.24, 0.26, 1);
  }
  60% {
    transform: rotate(220deg);
    animation-timing-function: cubic-bezier(0.77, 0.24, 0.26, 1.81);
  }
  100% {
    transform: rotate(180deg);
  }
}

@media (max-width: 991px) {
  .text-404 {
    font-size: 200px;
  }
}

@media (max-width: 767px) {
  .text-404 {
    font-size: 100px;
  }
}

/* Hide Google reCaptcha after 1s */
@keyframes hide_after_1s {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100px);
  }
}

.grecaptcha-badge {
  animation-name: hide_after_1s;
  animation-delay: 3s;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@media screen and (min-width: 767px) {
  .feature-icon {
    height: 60px;
    width: 60px;
  }
}

@media screen and (min-width: 1200px) {
  .feature-icon {
    height: 70px;
    width: 70px;
  }
}

.accordion .accordion-button:not(.collapsed) {
  background-color: white;
}

.accordion .accordion-body > div {
  background-color: white;
}

.accordion .accordion-body > div:hover {
  background-color: var(--bs-secondary);
  transition: background-color .4s;
}

#breadcrumbs a {
  color: var(--bs-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

#front-page-top-container {
  position: relative;
  margin-top: -360px;
}

@media screen and (max-width: 1400px) {
  #front-page-top-container {
    margin-top: -300px;
  }
}

@media screen and (max-width: 991px) {
  #front-page-top-container {
    margin-top: -100px;
  }
}

@media screen and (max-width: 576px) {
  #front-page-top-container {
    margin-top: 0px;
  }
}

.pagination .nav-links {
  display: flex;
}

.pagination .page-numbers:not(.dots) {
  text-align: center;
  font-weight: 500;
  padding: 8.5px 0;
  height: 47px;
  width: 47px;
  background-color: var(--bs-tan);
  color: black;
  text-decoration: none;
  margin-right: 20px;
  transition: background-color 0.7s, color 0.7s;
  border: 2px solid var(--bs-tan);
}

.pagination .page-numbers.current {
  color: var(--bs-brown);
  background-color: transparent;
  text-decoration: none;
  font-size: 18px;
}

.pagination a:hover {
  background-color: transparent;
  color: var(--bs-tan);
}

.pagination a:hover svg {
  color: var(--bs-tan);
}

.pagination .prev, .pagination .next {
  background-color: var(--bs-tan);
}

.pagination .prev svg, .pagination .next svg {
  color: black;
  height: 15px;
  width: 7.6px;
  transition: color 0.6s;
}

.pagination .prev.inactive, .pagination .next.inactive {
  background-color: transparent;
}

.pagination .prev.inactive svg, .pagination .next.inactive svg {
  color: var(--bs-tan);
}

span.page-numbers.dots {
  margin-right: 20px;
  padding: 8.5px 0;
}

.banner-container {
  height: 850px;
}

@media screen and (max-width: 1400px) {
  .banner-container {
    height: 800px;
  }
}

@media screen and (max-width: 991px) {
  .banner-container {
    height: 700px;
  }
}

@media screen and (max-width: 767px) {
  .banner-container {
    height: 570px;
  }
}
