 /* Kode av Digitalia AS 2026 */

 html,
 body {
     height: 100%;
     margin: 0;
 }

 body {
     font-family: "Helvetica Neue", Arial, sans-serif;
 }

 .page.home-page {
     background: url('/assets/graphics/bitmaps/background-1.jpg') no-repeat center center;
     background-size: cover;
     min-height: 100vh;
     width: 100%;
     display: flex;
     flex-direction: column;
 }

 .overlay {
     flex: 1;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     /* presser midten og bunnen fra hverandre */
     min-height: 100vh;
 }

.maincontent {
    max-width: 1000px;
  margin: 0 auto;
}

 /* Hero-område øverst */
 .hero {
     position: relative;
     height: 100vh;
     background: url('/assets/graphics/bitmaps/header-image-tilleie.jpg') no-repeat center center;
     background-size: cover;
     color: white;
 }

 /* Hero-område øverst */
 .forsalg {
     position: relative;
     height: 100vh;
     background: url('/assets/graphics/bitmaps/header-image-tilleie.jpg') no-repeat center center;
     background-size: cover;
     color: white;
 }

 .tilleie {
     position: relative;
     height: 100vh;
     background: url('/assets/graphics/bitmaps/header-image-stiftelsen1.jpg') no-repeat center center;
     background-size: cover;
     color: white;
 }

 .ombygget {
     position: relative;
     height: 100vh;
     background: url('/assets/graphics/bitmaps/header-image-ombygget.jpg') no-repeat center center;
     background-size: cover;
     color: white;
 }

 .kontakt {
     position: relative;
     height: 100vh;
     background: url('/assets/graphics/bitmaps/header-image-kontakt.jpg') no-repeat center center;
     background-size: cover;
     color: white;
 }

 /* Navbar */
 .navbar {
     background: #008ab0;
     padding: 1rem;
     min-height: 65px;
 }

 .navbar-nav {
     margin: 0 auto;
 }

 .navbar-nav .nav-link {
     color: #fff !important;
     font-size: 0.9rem;
     letter-spacing: 1px;
     text-transform: uppercase;
     padding: 0.5rem 1rem;
     margin: 0 1rem;
     white-space: nowrap;
 }

 .nav-link:hover {
     color: #333 !important;
 }

 .navbar-toggler {
     border: none;
     box-shadow: none !important;
     position: absolute;
     right: 1rem;
     top: 1rem;
 }

 .navbar-toggler-icon {
     filter: invert(1);
 }

 /* Fullskjerm mobilmeny */
 .offcanvas {
     background-color: #008ab0;
     text-align: center;
     height: 100vh !important;
 }

 .offcanvas-backdrop {
     display: none;
 }

 .offcanvas a {
     color: #fff;
     text-transform: uppercase;
     font-size: 1.1rem;
     margin: 2rem 0;
     display: block;
     letter-spacing: 2px;
 }

 .offcanvas-header {
     justify-content: end;
 }

 .btn-close-white {
     filter: invert(1);
 }

 .bottombar {
     width: 100%;
     background-color: #f2f2f2;
     /* lys grå */
     border-top: 1px solid #ddd;
     /* tynn linje øverst */
     border-bottom: 1px solid #ddd;
     padding: 8px 0;
     font-size: 0.9rem;
     height: 35px;
 }

 .bottombar-link {
     color: #555;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.2s ease;
 }

 .bottombar-link:hover {
     color: #000;
 }

  .topbar {
     width: 100%;
     background-color: #f2f2f2;
     /* lys grå */
     border-top: 1px solid #ddd;
     /* tynn linje øverst */
     border-bottom: 1px solid #ddd;
     padding: 10px 0;
     font-size: 0.9rem;
 }

 .topbarcontent {
    max-width: 1000px;
      margin: 0 auto;
 }

 .topbar-link {
     color: #555;
     text-decoration: none;
     font-weight: 500;
     transition: color 0.2s ease;
 }

 .topbar-link:hover {
     color: #000;
 }

 .content-widget h2:before {
     position: absolute;
     content: " ";
     width: 250px;
     height: 3px;
     background-color: #008ab0;
     bottom: 0;
 }

 .content-widget h2 {
     color: #000;
     margin: 0;
     position: relative;
     padding-bottom: 10px;
     margin-bottom: 20px;
 }

 .header-topp-margin {
     margin-top: 25px;
 }

 /* Logo og tekst */
 .center-content {
     flex: 1;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     color: white;
     text-align: center;
 }

 .logo {
     padding: 30px;
     max-width: 50%;
     max-height: 600px;
     height: auto;
 }

 @media (max-width: 767.98px) {
     .logo {
         max-width: 350px;
         padding: 15px;
     }

     .address {
         font-size: 1rem;
     }
 }

 .nyheterwrapper {
    background-color: #0d7997;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    margin: 30px;
    max-width: 950px;
 }

 .nyheterwrapper a {
    color: #fff;
 }
 
 .address {
     margin-top: 1rem;
     font-size: 1.2rem;
     font-weight: 500;
     letter-spacing: 1px;
 }

 /* Knapper nederst */
 .bottom-buttons {
     display: flex;
     justify-content: center;
     gap: 1rem;
     margin-bottom: 3rem;
 }

 .btn-custom {
     background-color: #008ab0;
     border: none;
     color: #fff;
     text-transform: uppercase;
     letter-spacing: 1px;
     padding: 0.75rem 2rem;
     font-size: 0.9rem;
 }

 .btn-custom:hover {
     background-color: #0d7997;
 }

 .small-logo {
     position: absolute;
     top: 1.5rem;
     left: 2rem;
     z-index: 10;
     width: 250px;
 }

 .nav-logo {
     width: 75px;
     filter: brightness(0) invert(1);
 }

 /* Gjør senter-logoen mindre på mobil */
 @media (min-width: 768px) {
     .nav-logo {
         width: 100px;
         padding: 15px;
     }
 }

 @media (min-width: 1024px) {
     .nav-logo {
         width: 100px;
         padding: 15px;
     }
 }

 @media (min-width: 1280px) {
     .nav-logo {
         width: 130px;
         padding: 15px;
     }
 }

 /* Knapper nederst */
 .bottom-buttons {
     display: flex;
     justify-content: center;
     gap: 1rem;
     margin-bottom: 3rem;
 }

 .btn-custom {
     background-color: #008ab0;
     border: none;
     color: #fff;
     text-transform: uppercase;
     letter-spacing: 1px;
     padding: 0.75rem 2rem;
     font-size: 0.9rem;
 }

 .btn-custom:hover {
     background-color: #0d7997;
 }

 /* Seksjoner nedenfor */
 .section {
     padding: 6rem 1.5rem;
     background-color: white;
     max-width: 1280px;
     margin: 0 auto 3rem auto;
     border-radius: 12px;
     /* box-shadow: 0 2px 15px rgba(0,0,0,0.1); */
 }

 .section:nth-of-type(even) {
     /* background-color: #fafafa; */
 }

 .section h2 {
     font-size: 1.8rem;
     margin-bottom: 1rem;
     color: #333;
 }

 .section p {
     font-size: 1rem;
     line-height: 1.6;
     color: #555;
 }

 header h1 {
     position: absolute;
     left: calc(50% + 0px);
     top: calc(50% + 0%);
     transform: translate(-50%, -50%);
     color: #fff;
     font-family: "aktiv-grotesk-extended", "Helvetica Neue", Helvetica, Verdana, Arial, sans-serif;
     font-size: 6.4vw;
     font-weight: 900;
     line-height: 6.4vw;
     text-align: center;
     text-decoration: underline;
     text-transform: capitalize;
     width: auto;
 }

 .footer {
     background-color: #008ab0;
     color: white;
     padding: 40px 0;
 }

 .footer-text {
     color: #bdc3c7;
 }

 .footer-title {
     color: #c3d861;
     font-weight: bold;
 }