

/* Basfärger och typsnitt */
:root {
  --djup-gran: #0c632b;
  --gran: #0F7B35;
  --mild-gran: #6DB388;
  --salviagron: #D7F2DC;
  --isvit: #FAFAFA;
  --mjukt-kol: #2E2E2E;
  --himmelspastell: #A7D7E7;
  --link-mork: #a8d7e6;
  --link-ljus: #27336d;
  --ljus-gra: #f3f3f3;
  --footer: #969696;
  --footer-icon: #6DB388;

}



.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  color: var(--icon-color, #2E2E2E);
  transition: color 0.3s ease;


}

.icon--large {
  width: 48px;
  height: 48px;
}

.icon-val {
    width: 80px;
    position: relative;
    top: 15px;
}

.icon--green {
  color: #2a513f;
}

.icon:hover {
  color: #6DB388;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  color: var(--mjukt-kol);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: var(--isvit);
}

/* Rubriker */
h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 45px;
  letter-spacing: -0.05em;
  color: var(--mjukt-kol);
  margin-bottom: 1rem;
  line-height: 1.2;
  position: relative;
}





.underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

.underline::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.15em; /* placerad under descenders */
  width: 100%;
  height: 5px;
  background: var(--djup-gran);
  transform: scaleX(0);
  transform-origin: left center;
  animation: underlineGrow 0.6s ease-out forwards;
  animation-delay: 0.3s; /* startar kort efter rubriken visas */
}

@keyframes underlineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}



h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--mjukt-kol);
  margin-bottom: 0.8rem;
    line-height: 2.8rem;
}

h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--mjukt-kol);
  margin-bottom: 0.7rem;
}

h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--mjukt-kol);
  margin-bottom: 0.6rem;
}

p {
	font-size: 16px;
}

strong {
	font-weight: 600;
}

/* Länkar */
a {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--link-ljus);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.dark-bg a {
  color: var(--link-mork);
}

.margin-forty {margin-top: 40px;}

.center-all {
	height: 100%;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    -moz-align-items: center;
    -moz-justify-content: center;
    -ms-align-items: center;
    -ms-justify-content: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.center { text-align: center;}




.scale {width: 100%;height: 100%;}

/* START SIDAN START */


.hero {
  position: relative;
  width: 100%;
  height: 70vh;      /* containerhöjd */
  overflow: hidden;  /* så inget sticker ut */

  display: flex;                /* centrering med flexbox */
  justify-content: center;      /* horisontellt */
  align-items: center;          /* vertikalt */
  text-align: center;           /* centrerad text */
}


.hero h1 {
	color: var(--isvit);
}



.hero__image {
  position: absolute;   
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;    
  display: block;
  animation: zoomLoop 12s ease-in-out infinite alternate;
  transform-origin: center center;
  z-index: 1;
  background-color: #0c632b; /* Färgtonen */
  filter: brightness(70%) ;
  }

.hero_text {
  position: relative;
  z-index: 5;       
  max-width: 900px; 
  padding: 0 20px;  
  color: var(--isvit);
}

/* mobil först */
.hero__image.desktop { display: none; }
.hero__image.mobil   { display: block; }

@media (min-width: 768px) {
  .hero__image.desktop { display: block; }
  .hero__image.mobil   { display: none; }
}

/* logotypen alltid centrerad ovanpå */
.hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 40%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* zoom-animation */
@keyframes zoomLoop {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}


.puffar {margin-top: 40px;}


.puff {
	padding: 20px;
	background: var(--mild-gran);
	width: 440px;
	height: 440px;
	position: relative;
	 justify-content: center;      /* horisontellt */
  align-items: center;          /* vertikalt */
  text-align: center;  
  color: var(--isvit);
}

.puffar .grid {
  display: flex;
  justify-content: center; /* centrerar blocken horisontellt */
  gap: 40px; /* mellanrum mellan puffarna */
  flex-wrap: wrap; /* gör att de bryts till ny rad på mindre skärmar */
}


.icon-puff {
	color: var(--isvit);
	width: 50px;
	height: 50px;
	display: inline-block;
	margin-top: 60px;
}


.puff.dark {
	background: var(--gran);
}



  
  
.icon-read_more {
	position: relative;

	margin-right: 10px;
	color: var(--isvit);
	width: 24px;
	height: 24px;
	display: inline-block;
	top: 2px;
}

 
button.light_bak {
    border-radius: 20px;
    background-color: transparent;
    width: 160px;
    height: 40px;
    z-index: 60;
    border: 1px;
    border-style: solid;
    border-color: var(--isvit);
}

button.light_bak a {
	color: var(--isvit);
}

.puff p {
	font-size: 14px;
}

p.move_away {
	position: relative;
	margin: 0;
	display: inline-block;
	text-transform: uppercase;
	font-size: 16px;
}

.kontakt_puff {
	background-color: var(--himmelspastell);
	padding: 40px;
	margin-top: 40px;
	text-align: center;
}


.kontakt_puff .icon-puff {
	color: var(--mjukt-kol);
}





.puff h3 {
	font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--isvit);
  margin: 0;

}



.kontakt_puff button.light_bak a {
	color: var(--djupgran);
}


.kontakt_puff .icon-read_more {
	
	color: var(--djupgran);
	
}


.kontakt_puff button.light_bak {

    border-color: var(--mjukt-kol);
}




/* Grundregler - se till att svg följer textfärgen */
.light_bak svg {
  fill: currentColor;
  stroke: currentColor;
  transition: color .18s ease, fill .18s ease, stroke .18s ease;
}

/* Hover/focus: alla underliggande objekt får salviagrön färg */
.light_bak:hover,
.light_bak:focus-within {
  color: var(--salviagron);
  --hover-fill: var(--salviagron);
}

/* Extra försäkring för element som använder fill/stroke direkt */
.light_bak:hover svg,
.light_bak:focus-within svg {
  fill: var(--hover-fill);
  stroke: var(--hover-fill);
}

/* Se till att länktext (p.move_away) också byter färg */
.light_bak:hover .move_away,
.light_bak:focus-within .move_away {
  color: var(--salviagron);
}

/* Rensa standard länk-styling så färgbytet syns */
.light_bak a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Mjuka övergångar för text */
.light_bak .move_away {
  transition: color .18s ease, transform .18s ease;
}

/* Valfritt: liten rörelse vid hover */
.light_bak:hover .move_away,
.light_bak:focus-within .move_away {
  transform: translateX(4px);
}







/* START SIDAN END */

/* TOPP BILDER CSS START */

.the-top-wrapper {
	width: 100%;
	display: flex;
}


/* Wrapper bestämmer höjd = textblockets höjd */
.top-image-wrapper {
  position: relative;
  width: 50%;
  height: 50vh;
}

/* Bilderna fyller alltid hela ytan bakom texten */
.top-image-wrapper .desktop,
.top-image-wrapper .mobil {
  position: absolute;
  inset: 0;   /* fyller ut hela wrappern */
  z-index: 1;
}

.top-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
   opacity: 0.1;
  animation: fadeIn 2s ease forwards;
}


@keyframes fadeIn {
  from {
    opacity: 0.1;
  }
  to {
    opacity: 1;
  }
}

/* Textblocket ovanpå bilden */
.image_text_block_wrapper {
   position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50vh; /* samma som .top-image-wrapper */
  float: left;
  background: var(--mild-gran);

}

.image_text_block {

 
}

h1.box_header {
	color: var(--isvit);

}




/* Wrapper bestämmer höjd = textblockets höjd */
.formal {
  position: relative;
  width: 100%;
  height: 20vh;
  margin-bottom: 40px;
}



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


/* Mobilanpassning */
@media only screen and (max-width: 768px) {
	
	.image_text_block_wrapper {

  width: 100%;
  padding-top: 0px;
 

}


.widget-bg-color {
	width: 100%;
}

	.top-image-wrapper {
		padding-top: 30vh;
	}
	
  .image_text_block {
    width: 90%;
    margin-left: 10px;
    box-shadow: none;
    padding: 20px;
  }
}


.info_text_page {
	margin-top: 40px;
	margin-bottom: 40px;
}

/* TOPP BILDER CSS END */

/* FELANMÄLAN FÖR HYRESGÄSTEN START */

.icon-java { 
	width: 25px;
	height: 25px;
	color: #0F7B35;
	margin-right: 10px;
	position: relative;
	top: 5px;
	}
	
	
#felanmalan-result ul.kontakt {
	list-style: none;
	padding: 0;
	}	
	
#felanmalan-result ul.kontakt li {
	margin: 0;
	margin-bottom: 10px;
	line-height: 25px;
	}	


.iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 650px;
    height: 0;
    overflow: visible;
}	
	
 #felanmalan-form select {
      display: block;
      width: 100%;
      max-width: 400px;
      margin: 10px 0;
    }
    #felanmalan-result {
      padding: 1rem;
   
      max-width: 800px;
    }
    /* Iframe styling - fyller ut sin container */
    #felanmalan-result iframe {
      width: 100% !important;
      height: 100% !important;
      border: none;
      min-height: 650px;
      display: block;
    }

 #hyresinfo-form select {
      display: block;
      width: 100%;
      max-width: 400px;
      margin: 10px 0;
    }
    #hyresinfo-result {
      padding: 1rem;
     
      max-width: 800px;
    }
   
   
   .faq-block {
  margin-bottom: 32px;
  padding: 1.2rem 1.5rem;
  background-color: var(--ljus-gra);
  border: 1px solid #ddd;
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.faq-block:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-block h3 {
  margin-bottom: 10px;
  color: var(--mjukt-kol);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-block h3:hover {
  color: var(--djup-gran);
}

.faq-answer {
  padding-left: 10px;
  padding-top: 0.5rem;
  line-height: 1.6;
  color: var(--mjukt-kol);
  transition: all 0.3s ease;
}

h4.faq-question {margin: 0;}    
    
    
    .jour-block {
  background-color: var(--salviagron); /* Ljusgrön ton */
  border-radius: 12px;
  padding: 2rem 1rem;
  margin-top: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.jour-block h3,
.jour-block h4,
.jour-block p,
.jour-block ul {
  color: var(--mjukt-kol);
}

.jour-block ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.jour-block li {
  margin-bottom: 0.5rem;
}

#hyresinfo-result {
	width: 100%;
	max-width: 100%;
}

/* Jour_label = högerspalten med jourbolagets kontakt */
.jour_label {
  background-color: var(--djup-gran);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertikal centrering */
  align-items: center;      /* Horisontell centrering */
  padding: 2rem 1rem;
  border-radius: 12px;
  height: 100%;
}

.jour_label h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.jour_label p,
.jour_label a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.jour_label a:hover {
  text-decoration: underline;
}

.jour_label .icon-java {
  width: 20px;
  margin-right: 6px;
  vertical-align: middle;
  top: 0px;
  color: #fff;
}

    	
	
/* FELANMÄLAN FÖR HYRESGÄSTEN END */	

/* STARTSIDAN START */

.typo {margin-top: 80px;}

/* STARTSIDAN END */



/* Gridinpassning & formstilar */





#custom-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#custom-modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.modal-box {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  z-index: 2;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  font-family: 'Manrope', sans-serif;
}

.modal-box p {
  margin: 0;
  font-size: 1rem;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}


/* === Filuppladdning === */





.wpcf7-form {
  background: var(--ljus-gra);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  max-width: 960px;
  margin: 3rem auto;
}

.wpcf7-form form label {
  display: block;
  margin-bottom: 1.2rem;
  font-weight: 600;
  color: var(--mjukt-kol);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea
						 {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  background: white;
  box-sizing: border-box;
}

.wpcf7-form input[type="file"] {
  width: 100%;
  padding: 2rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  background: white;
  box-sizing: border-box;
  
}


.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}


/* Skicka-knapp */
.wpcf7-form .submit-button {
  background-color: var(--djup-gran);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.wpcf7-form .submit-button:hover {
  background-color: var(--mild-gran);
}


.wpcf7-form .wpcf7-radio {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  font-family: 'Nunito Sans', sans-serif;
}

.wpcf7-form .wpcf7-radio label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  color: var(--mjukt-kol);
  cursor: pointer;
}

.wpcf7-form .wpcf7-radio input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--djup-gran);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.wpcf7-form .wpcf7-radio input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: var(--djup-gran);
  border-radius: 50%;
}

.wpcf7-form .wpcf7-radio input[type="radio"]:focus {
  outline: none;
  border-color: var(--mild-gran);
  box-shadow: 0 0 0 2px rgba(109, 179, 136, 0.3);
}

.wpcf7-form .wpcf7-checkbox {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  font-family: 'Nunito Sans', sans-serif;
}

.wpcf7-form .wpcf7-checkbox label {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  color: var(--mjukt-kol);
  cursor: pointer;
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--djup-gran);
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 10px;
  border: solid var(--djup-gran);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wpcf7-form .wpcf7-checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: var(--mild-gran);
  box-shadow: 0 0 0 2px rgba(109, 179, 136, 0.3);
}

/* LEDIGA LOKALER CSS START */

.linje_div {
  border-width: 1px;
  border-color: var(--mild-gran);
  border-style: dotted;
  height: 1px;
  opacity: .5;
  display: block;
  margin-bottom: 20px;
}

/* LEDIGA LOKALER CSS END */

/* LEDIGA LÄGENHETER CSS START */





.homeq-card-cover, .homeq-card-image {
	border-radius: 0px !important;
}

.homeq-tag-icon {display: none !important;}

#homeq-web-widget .pagination-button-active {
    background-color: var(--djup-gran) !important;
    border: none;
    border-radius: 3px;
}





/* LEDIGA LÄGENHETER CSS END */


/* === Ninja Forms Custom Styling  START === */

.nf-form-wrap {
  background: var(--isvit);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 720px;
  margin: 0 auto;
}

/* Fältwrap */
.nf-field-container {
  margin-bottom: 1.5rem;
}

.nf-field-label label {
  display: block;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  color: var(--mjukt-kol);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Obligatoriska fält-stjärnor */
.ninja-forms-req-symbol {
  color: var(--djup-gran);
  font-weight: bold;
}

/* Inputs */
.nf-field-element input[type="text"],
.nf-field-element input[type="email"],
.nf-field-element input[type="tel"],
.nf-field-element textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Nunito Sans', sans-serif;
  border: 2px solid var(--ljus-gra);
  border-radius: 8px;
  background: #fff;
  color: var(--mjukt-kol);
  transition: border-color 0.3s ease;
}

.nf-field-element input:focus,
.nf-field-element textarea:focus {
  outline: none;
  border-color: var(--djup-gran);
  box-shadow: 0 0 0 2px var(--salviagron);
}

/* Textarea */
.nf-field-element textarea {
  min-height: 120px;
  resize: vertical;
}

/* Felmeddelanden */
.nf-error {
  color: #b0413e;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* Submit-knapp */
input[type="submit"].ninja-forms-field {
  background-color: var(--djup-gran);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"].ninja-forms-field:hover {
  background-color: var(--mild-gran);
  color: var(--mjukt-kol);
}

/* Fältbeskrivningstext */
.nf-form-fields-required {
  font-size: 0.9rem;
  color: var(--mjukt-kol);
  margin-bottom: 1rem;
}

/* Honeypot-gömma */
.nf-form-hp {
  display: none !important;
}




/* Responsivitet */
@media (max-width: 600px) {
  .nf-form-wrap {
    padding: 1.25rem;
  }

  .nf-field-label label {
    font-size: 0.95rem;
  }

  input[type="submit"].ninja-forms-field {
    width: 100%;
  }
}


/* === Ninja Forms Custom Styling  END === */


/* KONTAKTA OSS SIDAN CSS START */


.kontaktkort {
	padding-top: 20px;
	padding-bottom: 20px;
}

.kontaktkort {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.kontaktkort.dimmed {
  opacity: 0.5;
}

.kontaktkort:hover {
	opacity: 1;
}


.kontaktkort h4 {
    margin: 0;
    font-size: 16px;
    display: inline-block;
    position: relative;
    bottom: 5px;
    left: 5px;
}


.kontaktkort a {
	text-decoration: none;
}

.kontaktkort p {
	margin-top: 0;
	font-size: 14px;
	}

.icon-contact {
	width: 24px;
	height: 24px;
	display: inline-block;
}

#the_form {
    display: none;
}

/* KONTAKTA OS SIDAN CSS START */


/* FOOTER CSS START */

.footer {
	background: #2E2E2E;
	padding-top: 40px;
	padding-bottom: 80px;
	margin-top: 40px;
	background-image: url('/wp-content/themes/sveahem/img/footer_back.svg');
	background-position: left top;
	background-repeat: no-repeat;
	background-size: cover;
}


.icon-footer {
  width: 20px;
  height: 20px;
  display: inline-block;
  color: var(--footer-icon);
  transition: color 0.3s ease;


}

.the_link_text {
	margin-left: 10px;
	position: relative;
	bottom: 5px;
}


.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav li {
	height: 20px;
	margin-bottom: 10px;
}

.footer-nav a {
    color: var(--footer);
    font-size: 14px;
    margin: 0;
    padding: 0;
    line-height: 20px;
}

.footer h4 {
	color: var(--isvit);
}

.footer-nav a {
	color: var(--footer);
	font-size: 14px;
}

.footer-nav a:hover {
	color: var(--isvit);
}

.footer-logo {
	position: relative; 
    height: 100%;
}



.footer img {
  
     position: absolute;
    bottom: 20px; /* 20px från botten */
    right: 0; /* om du vill att den ligger längst till höger i sin kolumn */
    display: block;
    
}

.copyright p {
	font-size: 12px;
	text-align: center;
	color: var(--footer);
}






/* FOOTER CSS END */


/* Respons & gridjustering */
@media only screen and (max-width: 768px) {
	
.custom-file-wrapper {
    flex-direction: row;
    height: auto;
    padding: 0.8rem;
  }

  .custom-file-label {
    font-size: 15px;
  }

  .custom-file-icon svg {
    width: 18px;
    height: 18px;
  }


	.wpcf7-form .wpcf7-checkbox {
    flex-direction: column;
    gap: 1rem;
  }
	
	
.wpcf7-form .wpcf7-radio {
    flex-direction: column;
    gap: 1rem;
  }	
	
  .wpcf7-form form {
    padding: 1rem;
  }
  
  

  .wpcf7-form label {
    margin-bottom: 0.8rem;
  }
}

/* Felmeddelanden och status */
.wpcf7-not-valid-tip {
  color: red;
  font-size: 14px;
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  font-size: 16px;
}

.wpcf7-mail-sent-ok {
  background-color: #d7f2dc;
  border: 2px solid var(--mild-gran);
  color: var(--djup-gran);
}

.wpcf7-validation-errors {
  background-color: #fff0f0;
  border: 2px solid red;
  color: red;
}


/* Mellanrum mellan kolumner */
.wpcf7-form .grid-pad > [class*='col-'] {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 1rem; /* vertikal spacing också trevligt */
}

#felanmalan-result {
     padding: 0rem; 
    max-width: 100%; 
}




/* RESPONSIVA TYPORÄTTSREGLER (max-width: 768px) */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 32px;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: 24px;
    letter-spacing: -0.02em;
  }

  h3 {
    font-size: 20px;
    letter-spacing: -0.015em;
  }

  h4 {
    font-size: 16px;
  }

  body {
    font-size: 13px;
  }

  a {
    font-size: 13px;
  }
  
 p {padding-right: 20px;}
 
 
 .footer img {position: relative;
	 margin-top: 40px;
	 left: -10px;
 }
 
 .free-puff {float:none !important;}
  
  
}

@media (max-width: 480px) {
  .custom-file-button {
    font-size: 14px;
    min-height: 42px;
  }
  
  
  .puff {
	padding: 20px;
	background: var(--mild-gran);
	width: 100%
	height: auto;
	position: relative;
	 justify-content: center;      /* horisontellt */
  align-items: center;          /* vertikalt */
  text-align: center;  
  color: var(--isvit);
}
  
  
  .footer {

	background-image: url('/wp-content/themes/sveahem/img/footer_back_m.svg') !important;
	background-position: bottom;
}


  .custom-file-list .file-name {
    max-width: 60vw;
  }
  }
  
  @media screen and (max-width: 768px) {
  .wpcf7-form {
    padding: 0.5rem;
  }
}
