/*
Theme Name: Holssletta 2
Theme URI: http://www.osberget.no/
Author: Maxim Kukulinsky at RASAMAX SIA
Author URI: http://www.osberget.no/
Description: Holssletta 2 Wordpress theme
Version: 0.0.58
Tags: holssletta2 osberget rasamax
Text Domain: holssletta2
*/
/**
 * Reset CSS instead of Normalize inside of Bootstrap
 */
@import url("fonts/FrutigerBlack/font.css");
@import url("fonts/FrutigerBold/font.css");
@import url("fonts/FrutigerRoman/font.css");
@import url("fonts/FrutigerLight/font.css");
:root {
  --wp-edit-button-primary: var(--bs-secondary);
  --wp-edit-button-secondary: var(--bs-primary);
}

/* Page commons */
.primary-menu li a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.primary-menu li a:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  display: block;
  width: 100%;
  height: 0;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease 0s;
}

.primary-menu li a:hover:after {
  transform: translateX(-50%) scaleX(1);
}

.primary-menu li.current-menu-item a:after {
  transform: translateX(-50%) scaleX(1);
}

.primary-menu li.current-menu-item a[href^="/#"]:after {
  transform: translateX(-50%) scaleX(0);
}

.primary-menu li.current-menu-item a[href^="/#"]:hover:after {
  transform: translateX(-50%) scaleX(1);
}

.primary-menu li.btn a:after {
  content: none;
}

.primary-menu li.btn.current-menu-item {
  background-color: var(--bs-dark);
  color: white;
}

@media screen and (max-width: 1199px) {
  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bs-primary);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s, visibility 0s;
  }
  .primary-menu > li {
    display: block;
    margin: 20px;
  }
  .primary-menu.expanded {
    max-height: 1000px;
    transition: max-height .5s, visibility 0s .5s;
  }
}

.menu-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}

.line {
  fill: none;
  stroke: black;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}

.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

:where(div, li).mega-menu-toggle {
  position: relative;
}

:where(div, li).mega-menu-toggle:after {
  content: '';
  display: block;
  position: absolute;
  height: 10px;
  width: 10px;
  right: 20px;
  top: 10px;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  transform: rotate(45deg);
}

@media screen and (min-width: 1200px) {
  :where(div, li).mega-menu-toggle:after {
    right: -20px;
  }
}

@media screen and (min-width: 1400px) {
  :where(div, li).mega-menu-toggle:after {
    right: -30px;
  }
}

.menu-heading > a {
  pointer-events: none;
}

@media screen and (min-width: 1200px) {
  .menu-heading-xl > a {
    pointer-events: none;
  }
}

.splide {
  position: relative;
}

.splide__arrows {
  position: absolute;
  width: 100%;
  bottom: 0;
}

.splide__arrows--ltr .splide__arrow {
  background: transparent;
}

.splide__track {
  top: 0;
  bottom: 0;
  padding-bottom: 80px;
}

.splide__arrow--prev {
  right: 80px;
  left: auto !important;
}

.splide__arrow svg {
  height: auto !important;
  width: auto !important;
}

.splide:not(.is-overflow) .splide__pagination {
  display: none;
}

@media (max-width: 992px) {
  .splide__track {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
}

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

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

.alignleft {
  float: left;
  margin: 0 20px 10px 0;
}

.alignright {
  float: right;
  margin: 0 0 10px 20px;
}

.aligncenter {
  margin: 0 auto 10px auto;
  display: block;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 60px;
  font-weight: bold;
  color: var(--bs-primary);
  font-size: 30px;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .post-content h1,
  .post-content h2,
  .post-content h3,
  .post-content h4,
  .post-content h5,
  .post-content h6 {
    margin-top: 30px;
    font-size: 25px;
  }
}

/* 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;
}

.max-vh-100 {
  max-height: 100vh;
}

.carousel-indicators [data-bs-target] {
  width: 23px;
  height: 23px;
  border-radius: 100%;
  opacity: 1;
  margin-right: 10px;
}

.carousel-indicators .active {
  background-color: var(--bs-secondary);
}

#header-sticky {
  transition: transform .5s;
  transform: translateY(-100%);
}

#header-sticky.visible {
  transform: translateY(0);
}

.top-icon img {
  transition: transform .5s;
}

.top-icon:hover img {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .top-icon-size {
    height: 32px;
  }
}

.bold-highlight b {
  color: var(--bs-cappuccino);
}

@media screen and (max-width: 1399.98px) {
  .scale-down-08-lt-xxl {
    transform: scale(0.8);
  }
}

/* CookieBot style */
body {
  --bs-cookie-primary:   var(--bs-wallnut);
  --bs-cookie-secondary: var(--bs-cappuccino);
}

body #CybotCookiebotDialog input:checked + .CybotCookiebotDialogBodyLevelButtonSlider,
body #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change,
body #CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton,
body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonCustomize, body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection,
body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonAccept, body #CybotCookiebotDialogFooter #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
  background-color: var(--bs-cookie-secondary);
  border-color: var(--bs-cookie-secondary);
  color: white;
}

body #CybotCookiebotDialogBodyFieldsetInnerContainer .CybotCookiebotDialogBodyLevelButtonLabel strong:hover {
  color: var(--bs-cookie-secondary) !important;
}

body #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
  border-color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {
  border-bottom: 2px solid var(--bs-cookie-secondary);
  color: var(--bs-cookie-secondary);
}

body #CookiebotWidget .CookiebotWidget-logo svg circle {
  fill: var(--bs-cookie-secondary);
}

body #CookiebotWidget .CookiebotWidget-logo svg path {
  fill: var(--bs-white);
}

body #CookiebotWidget .CookiebotWidget-body .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
  fill: var(--bs-cookie-secondary);
}

body #CookiebotWidget .CookiebotWidget-consent-details button {
  color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
  color: var(--bs-cookie-primary);
}

body #CybotCookiebotDialog #CybotCookiebotDialogBodyContentText a,
body #CybotCookiebotDialog #CybotCookiebotDialogDetailFooter a,
body #CybotCookiebotDialog #CybotCookiebotDialogDetailBulkConsentList dt a,
body #CybotCookiebotDialog .CybotCookiebotDialogBodyLevelButtonIABDescription a,
body #CybotCookiebotDialog .CybotCookiebotDialogDetailBodyContentCookieLink,
body #CybotCookiebotDialog #CybotCookiebotDialogBodyLevelButtonIABHeaderViewPartnersLink,
body #CybotCookiebotDialogDetailBodyContentTextAbout a {
  color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink:hover {
  color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentCookieContainerButton:hover,
body #CybotCookiebotDialog .CookieCard .CybotCookiebotDialogDetailBodyContentIABv2Tab:hover,
body #CybotCookiebotDialogDetailBodyContentCookieContainerTypes .CybotCookiebotDialogDetailBodyContentCookieProvider:not(.CybotCookiebotDialogDetailBodyContentCookieInfoCount):hover {
  color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialog a:hover:after,
body #CybotCookiebotDialog a:hover:before,
body #CybotCookiebotDialog button:hover:after,
body #CybotCookiebotDialog button:hover:before {
  border-color: var(--bs-cookie-secondary);
}

body #CybotCookiebotDialogPoweredbyImage {
  width: auto;
  height: 32px;
}

body #CybotCookiebotDialogPoweredbyCybot {
  display: none;
}
