@charset "utf-8";
/* CSS Document */

/* =========================
   Topp field with postal code box
========================= */

.home .hero-image {
    clear: both;
    display: flex;
    align-items: stretch;
    height: 350px;
    min-height: 0;

    width: 100%;
	max-width: 1500px;
    margin: 40px auto;
	box-sizing: border-box;

    border-radius: 15px;
    overflow: hidden;
}

.home .hero-image_photo {
    flex: 0 0 58%;
   	width: 58%;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home .hero-image_content {
    flex: 0 0 42%;
    width: 42%;
    box-sizing: border-box;
	display: flex;
	align-items: center;
    background-color: #f3f3f3;
}

.home .hero-text {
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    padding: 40px;
    border-radius: 0;
    background: transparent;
}


#forside-boks {
    display: flex;
	max-height: none;
}

.topp-bilde {
    width: 55%;
    min-height: 450px;
   overflow: hidden;
}

.topp-bilde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   Stars
========================= */

.trustpilot-content {
font-size: 0.9em;	
}

.trustpilot-content a {
	color: #2c4466;
	text-decoration: underline;
}


.rating {
  font-size: 24px; /* juster størrelse her */
  font-family: Arial, sans-serif;
}

.star {
  color: #ddd; /* grå bakgrunnsstjerne */
  position: relative;
  display: inline-block;
}

.star.full {
  color: #f5b301; /* gul */
}

.star.half {
  color: #ddd; /* base = grå */
}

.star.half::before {
  content: "★";
  color: #f5b301; /* gul */
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

/* =========================
   Mobile
========================= */

@media screen and (max-width: 767px) {
	
	/* Typografi */
.home #forside-boks h1 {
    font-size: 25px!important;
    line-height: 1.15!important;
}

.home #forside-boks h2 {
    font-size: 18px!important;
    line-height: 1.25!important;
}

.home #forside-boks p {
    font-size: 14px!important;
    line-height: 1.5!important;
}

    .home #forside-boks {
        flex-direction: column;
    }

    .home .topp-bilde {
        width: 100%;
        min-height: 0;
    }

    .home .topp-bilde img {
        width: 100%;
        height: auto;
        display: block;
    }

    .home .hero-image {
        flex-direction: column;
        height: auto;
    }

    .home .hero-image__photo,
    .home .hero-image__content {
        width: 100%;
        flex: none;
    }

}


