@charset "UTF-8";
/*
Theme Name: privattannlegene
Theme URI: privattannlegene.no
Author: The Pitch // Ida-marie Berntsen
Tested up to: 6.7.1
Requires PHP: 7.3
Version: 1.0.1
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ollie
Template: ollie
*/
.border {
  border: 1px solid;
}

html.sr .scroll-reveal {
  visibility: hidden;
}

/* Disable tap highlight on iOS */
* {
  -webkit-tap-highlight-color: transparent;
}

.site-container {
  /* Spesifikk stil for lenker i .footer */
  /* Hover-effekt for lenker i .footer */
}
.site-container .padding-left-right-desktop {
  padding-left: 0;
  padding-right: 0;
}
@media (min-width: 1024px) {
  .site-container { /* Juster denne bredden etter behov */ }
  .site-container .padding-left-right-desktop {
    padding-left: 3rem !important; /* Juster verdien etter ønske */
    padding-right: 3rem !important;
  }
  .site-container .hero-padding-large {
    padding-top: 11rem !important;
    padding-bottom: 11rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
}
.site-container .no-section-padding {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
@media (max-width: 768px) {
  .site-container .hide-mobile {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (min-width: 769px) and (max-width: 1341px) {
  .site-container .hide-medium {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (min-width: 1211px) {
  .site-container .hide-large {
    display: none !important;
    visibility: hidden !important;
  }
}
@media (max-width: 768px) {
  .site-container .site-logo img {
    width: 185px !important;
    height: auto;
    text-align: left !important;
  }
}
@media (min-width: 769px) and (max-width: 1000px) {
  .site-container .site-logo img {
    width: 230px !important;
    height: auto;
    text-align: center;
  }
}
@media (min-width: 1600px) {
  .site-container .hero-padding {
    padding-left: 8rem !important;
  }
}
@media (min-width: 1211px) {
  .site-container .hero-text-padding {
    padding-left: 7rem !important;
    padding-right: 7rem !important;
  }
}
.site-container .is-menu-open .wp-block-navigation__responsive-container {
  background-color: white !important;
}
.site-container .is-menu-open .wp-block-navigation-item__content {
  background-color: rgba(255, 229, 213, 0.7254901961) !important;
}
.site-container .wp-block-button {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.site-container .wp-block-button a {
  display: inline-flex; /* Bruk flexbox for å midtstille innholdet */
  align-items: center; /* Midtstiller vertikalt */
  justify-content: center; /* Midtstiller horisontalt */
  text-align: center;
  gap: 0.375rem;
  transition: 0.3s ease;
  padding-left: 1.7rem;
  padding-right: 1.7rem;
}
.site-container .wp-block-button a:hover {
  text-decoration: none;
}
.site-container .wp-block-button img {
  position: relative;
  transition: transform 0.3s ease;
  height: 1em; /* Sørger for at bildet skaleres til tekstens høyde */
}
.site-container .wp-block-button:hover img {
  transform: translateX(5px); /* Flytter bildet (f.eks. en pil) litt til høyre ved hover */
}
.site-container .wp-block-button a.has-purple-background-color:hover {
  background-color: #601f5d !important;
}
.site-container .wp-block-button a.has-light-purple-background-color:hover {
  background-color: #efe0f9 !important;
}
.site-container .wp-block-button a.has-light-orange-background-color:hover {
  background-color: #ffe1d0 !important;
}
.site-container .wp-block-button a.has-orange-background-color:hover {
  background-color: #ffd5bc !important;
}
.site-container .wp-block-button a.has-white-background-color:hover {
  background-color: #FAF5F5 !important;
}
.site-container .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #FAF5FD;
  color: white !important;
  border: none;
  outline: 2px solid transparent;
  outline-offset: -3.5px;
}
.site-container .to-the-top img {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}
.site-container .to-the-top img:hover {
  animation: bounce 0.6s ease infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.site-container .swiper img {
  border-radius: 10px !important;
}
.site-container .links a {
  border-bottom: 1px solid #FAF5FD;
  text-decoration: none;
}
.site-container .links a:hover {
  border-bottom: 1px solid transparent;
}
.site-container .wp-block-button a:hover::after {
  transform: translateX(4px);
}
.site-container a.external::after {
  content: "→";
  display: inline-block;
  margin-left: 0.3em;
  font-size: 1rem;
  transform: rotate(-45deg) translateX(0);
  transition: transform 0.2s ease;
}
.site-container a.external:hover::after {
  transform: rotate(-45deg) translateX(4px); /* Behold rotasjonen, legg til skyv */
}
.site-container a[download]::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  width: 1.3rem;
  height: 1.3rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23004B93" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V8l-6-6zm1 7V3.5L18.5 9H15zM12 18l-4-4h3v-4h2v4h3l-4 4z"/></svg>');
}
.site-container .wp-block-table thead {
  background: #FAF5FD;
  border-bottom: 2px solid #1E1E1E;
  text-align: left !important;
}
.site-container table {
  border: 1px solid #747474 !important;
}
.site-container .wp-block-aab-accordion-block {
  border-radius: 10px 10px 0px 0px !important;
}
.site-container .wp-block-table td, .site-container .wp-block-table th {
  border: 1px solid #f1f1f1 !important;
  padding: 1rem;
}
.site-container .footern {
  position: relative; /* eller absolute/fixed om du vil flytte den */
  z-index: 9999;
  margin-top: -492px; /* juster slik at den overlapper elementet over */
}
.site-container .footer a {
  text-decoration: none;
  position: relative;
  display: inline-block;
  color: #FAF5FD;
}
.site-container .footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, #732570 50%, transparent 50%); /* Linjen blir blå */
  background-size: 200% 100%;
  background-position: left;
  transition: background-position 0.4s ease;
}
.site-container .footer a:hover::after {
  background-position: right;
}
.site-container .wp-block-aab-accordion-block {
  border: none !important;
}
.site-container .aab__accordion_head {
  border-bottom: 1px solid !important;
}
.site-container p:not(.footer) a {
  text-decoration: none;
  border-bottom: 1px solid #732570;
  padding-top: 0 !important;
  margin-top: 0 !important;
  transition: border-bottom 0.3s ease;
}
.site-container p:not(.footer) a:hover {
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
