/*
Theme Name: ESK Fotboll
Theme URI: https://www.esk.nu/
Template: Divi
Author: Zmart Webb & Reklam
Author URI: https://zmartwebbreklam.se/
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.5.1770297747
Updated: 2026-02-05 14:22:27

*/


@media (min-width: 1679px) {
  .side-by-side-sections {
    display: flex;
    width: 50%;
    float: left;
  }
}











p {
  color: #000;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5em;
}

/* Rubriknivå 1 – standardstorlek och stil */
h1 {
  color: #000 !important;
  font-size: 3rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  letter-spacing: 0;
	padding-bottom:15px;
}

/* Rubriknivå 2 – standardstorlek och stil */
h2 {
  color: #000 !important;
  font-size: 1.9rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  letter-spacing: 0;
	padding-bottom:15px;
}

/* Rubriknivå 3 – standardstorlek och stil */
h3 {
  color: #000 !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  line-height: 1.4;
  letter-spacing: 0;
  padding:10px 0 5px 0;
}

h5 {
  color: #000 !important;
  font-size: 0.7rem !important;
  font-weight: 400 !important;
  line-height: 1;
  letter-spacing: 0;
}

.et_pb_text ul {
  padding-left: 30px;
	padding-top:0px;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: #000;
}

.et_pb_text ul li {
  color: #000;
}


/* ============================================================
   BILDER
   ============================================================ */

.bild img {
  border-radius: 0px !important;
}

/* ============================================================
   KNAPPAR
   ============================================================ */

.knapp {
  display: inline-block;
  position: relative;
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7em !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  background-color: #3f4827;
  border-width: 0px !important;
  border-color: rgba(255, 255, 255, 0);
  border-radius: 0px;
  /*  padding: 0.5em 1.3em; */
  padding: 0.5em 1.3em 0.5em 1.3em !important;
  text-transform: none; /* Ingen automatisk versalisering */
  text-decoration: none;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  cursor: pointer;
  transition-property: all !important;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Pilen – dold från början */
/* .knapp::after {
content: "\2192";
  opacity: 1;
  transition: opacity 0.3s ease;
  color: #ffffff;
  line-height: inherit;
  font-size: inherit !important;
  margin-left: 0.5em !important;
  left: auto;

  font-weight: 400 !important;
  margin-top: 0px !important;
}
*/


.knapp::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 15px;
  background-image: url(https://zmartwebb.se/walthon/wp-content/themes/Walthon/walthon-pil.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: static;
  margin-top: 0 !important;
  margin-left: 8px;
  vertical-align: middle !important;
  opacity: 1; /* Säkerställ att den är synlig */
}







/* Hover – bara pilen visas (bakgrund & text oförändrade) */
.knapp:hover {
  background-color: #C5D5C5 !important; /* samma bakgrund */
  color: #000000 !important;
  /* padding: 0.5em 1.9em 0.5em 1.3em !Important; */
}

.knapp:hover::after {
  opacity: 1;
  color: #000000 !important;
  margin-left: 10px !important;
  background-image: url(https://zmartwebb.se/walthon/wp-content/themes/Walthon/walthon-pil-svart.svg);
}

/* Tryckeffekt */
.knapp:active {
  transform: translateY(1px);
}





/* ============================================================
   FLEX – BYT KOLUMNORDNING PÅ MOBIL
   ============================================================ */

@media only screen and (max-width: 980px) {
  .flip {
    display: flex;
    flex-direction: column-reverse !important;
  }
}



/* ============================================================
   INGRESS, AVSLUT, PUFFTEXT, CITAT
   ============================================================ */

.ingress p,
.hemingress p,
.avslut,
.avslut p {
  font-size: 1.5rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  max-width: 1400px;
}

.hemingress p
{
    max-width: 100%;
width: 100%;
	text-align:center !Important;
}




.pufftext p {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  max-width: 750px;
}

.citat p {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  color: #3f4827 !important;
}

.citatnamn p {
  position: relative;
  display: inline-block;
  font-size: 0.75rem !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: #3f4827 !important;
  letter-spacing: 0.5px;
  text-decoration: none !important; /* ta bort riktig overline */
}

.citatnamn p::before {
  content: "";
  position: absolute;
  top: 0; /* utgångspunkt vid toppen */
  left: 0;
  width: 100%;
  height: 3px; /* linjens tjocklek */
  background-color: #E8EEE8;
  transform: translateY(-16px); /* flytta upp för mellanrum */
}

.ingress_sektion {
  padding: 0% 0 2.5% 0 !important;
  margin-top: 2%;
}

.botten_sektion {
  margin: 0 0 3% 0 !important;
  padding: 0 !important;
}

.puffkolumn {
  padding: 53px;
	margin-bottom: 0;

}

.expertis p
{
  font-size: 1.1rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  max-width: 700px;
}

/* ============================================================
   KNAPPAR
   ============================================================ */

.et_pb_button:after {
  margin-top: 3px;
}



/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* === Padd-anpassning === 
@media (max-width: 1680px) {
  .ingress p,
  .avslut,
  .avslut p,
  .pufftext p {
    font-size: 1.1rem !important;
  }
}
*/
/* === Mobilanpassning + puff + mobilmeny (samma max-width: 980px) === */
@media (max-width: 980px) {
  /* Hero-rubriker + h2 */
  .hero_image h1,
  .hero_kontakt h1 {
    font-size: 3rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  /* Centrera menyn på mobil */
  .et_pb_menu--style-left_aligned.et_pb_text_align_center .et_pb_menu__wrap {
    justify-content: right !important;
  }

  /* Puff-kolumnhöjd (första värdet – skrivs över längre ned till 360px) */
  .puff-sektion .et_pb_column {
    min-height: 420px !important;
  }

  /* Puff-sektion – staplade, slutlig höjd 360px */
  .puff-sektion .et_pb_row {
    flex-direction: column !important; /* säkerställer att puffar staplas snyggt */
  }

  .puff-sektion .et_pb_column {
    min-height: 360px !important; /* kortare puffhöjd på mobil */
    margin-bottom: 40px !important; /* luft mellan puffarna */
  }

  .puff-sektion .puffned {
    padding-bottom: 15px !important;
  }

  .puff-sektion .puffned p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .puff-sektion .knapp,
  .puff-sektion .et_pb_button_module_wrapper {
    font-size: 13px !important;
 /*   padding: 0.4em 1.2em !important;*/
  }

  /* Mobilmeny-placering */
  .et_pb_menu .et_mobile_menu {
    top: 159% !important;
  }
	  .et_mobile_menu li.current-menu-item a {
    border-bottom: none !important;
  }
	
	
	
}




/* ============================================================
   PUFFSEKTION – rubrik upptill, .puffned + knapp i nederkant
   ============================================================ */

/* 1) Kolumnerna i puff-raden: flex + gemensam höjd */
.puff-sektion > .et_pb_row > .et_pb_column,
.puff-sektion .et_pb_column {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  position: relative !important;
  min-height: 520px !important; /* justera 440–520px vid behov */
}


/* 2) Nolla default-marginaler som kan sabba flex-läget */
.puff-sektion .et_pb_text,
.puff-sektion .et_pb_button_module_wrapper,
.puff-sektion .et_pb_module.et_pb_button {
  margin-bottom: 0 !important;
}

/* 3) Rubriken (första textmodulen) ska inte växa */
.puff-sektion .et_pb_text:first-of-type {
  flex: 0 0 auto !important;
}

/* 4) Pufftext-modulen – du har lagt klassen 'puffned' på den */
.puff-sektion .puffned {
  flex: 1 1 auto !important;           /* fyller ut utrymmet mellan rubrik och knapp */
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;/* tryck innehållet nedåt inom modulen */
  min-height: 0 !important;            /* skyddar mot overflow-bugg i flex-kolumn */
  padding-bottom: 0 !important;
}

.puff-sektion .puffned p {
  margin-top: auto !important;         /* pressa texten nedåt i modulen */
  margin-bottom: 22px !important;      /* luft ovanför knapp */
  line-height: 1.6 !important;
}

/* 5) Knappen – trycks ned i kolumnen med auto-marginal (flex) */
.puff-sektion .et_pb_button_module_wrapper,
.puff-sektion .et_pb_module.et_pb_button {
  margin-top: auto !important;         /* tryck knappen till botten av kolumnen */
  align-self: flex-start !important;   /* vänsterkant */
}

/* 6) Om du använder egen länk/knapp (.knapp) istället för Divi-knappmodul */
.puff-sektion .knapp {
  margin-top: auto !important;         /* samma princip */
  align-self: flex-start !important;
}

/* 7) Bildmodul i toppen ska inte “stjäla” höjd i flex */
.puff-sektion .et_pb_image,
.puff-sektion .et_pb_image_container {
  flex: 0 0 auto !important;
  margin-bottom: 0 !important;
}

/* 8) (valfritt) Litet vertikalt mellanrum mellan block utan att bryta layout */
.puff-sektion .et_pb_column {
  gap: 10px; /* justera vid behov */
}

/* 9) Mobiljustering – lägre min-höjd om du vill */
@media (max-width: 980px) {
  .puff-sektion .et_pb_column {
    min-height: 420px !important;
  }
	
}

/* ============================================================
   PUFFSEKTION – Responsiv anpassning för mobil & surfplatta
   ============================================================ */

/* 🌤 Tablet (mellan ca 981px och 1400px) */
@media (max-width: 1440px) and (min-width: 981px) {
  .puff-sektion .et_pb_column {
    min-height: 420px !important;  /* lite lägre, bättre proportioner */
  }

  .puff-sektion .puffned {
    padding-bottom: 10px !important; /* mindre avstånd till knapp */
  }

  .puff-sektion .puffned p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .gron-platta {
    min-height: 600px !important;
  }
}

/* 📱 Extra små skärmar (max 480px) */
@media (max-width: 480px) {
  .puff-sektion .et_pb_column {
    min-height: 320px !important;
  }

  .puff-sektion .puffned {
    padding-bottom: 30px !important;
  }

  .puff-sektion .puffned p {
    font-size: 0.9rem !important;
  }

  .puff-sektion .knapp,
  .puff-sektion .et_pb_button_module_wrapper {
    font-size: 12px !important;
 /*   padding: 0.35em 1em !important; */
	    margin-top: auto !important;         /* samma princip */
  align-self: flex-start !important;
  }

  .gron-platta {
    min-height: 1200px;
  }
	.hero_image h1 {

  padding-bottom: 0px;
}}
	



@media (max-width: 980px) {

  /* Dölj "strecket" vid klick/touch i hamburger-menyn (inkl sticky-läge) */
  .et_mobile_menu li a,
  .et_pb_sticky .et_mobile_menu li a,
  .et_mobile_menu li a:hover,
  .et_pb_sticky .et_mobile_menu li a:hover,
  .et_mobile_menu li a:active,
  .et_pb_sticky .et_mobile_menu li a:active,
  .et_mobile_menu li a:focus,
  .et_pb_sticky .et_mobile_menu li a:focus {
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  /* (Valfritt) tar bort iOS "tap-highlight" som ibland kan upplevas som en markering */
  .et_mobile_menu li a {
    -webkit-tap-highlight-color: transparent;
  }
}






/***Switch column order on mobile***/
@media only screen and ( max-width: 980px ) {.flip {display: -webkit-flex; -webkit-flex-direction: column-reverse; display: flex; flex-direction: column-reverse !important;}}
/***end switch column on mobile***/












.rubrik-text {padding:20px 0 !Important;}
.rubrik-text p {font-size: 1rem !Important;}

.pufftext {padding:20px 0;}

@media (max-width: 980px) {
.puffkolumn {
  padding: 23px;
margin-top:25px;

	}}




body:not(.page-id-12):not(.postid-12) .spelruta {
    max-width: 1400px;
}

/* 
 matchtabell 
*/
td, th {
	padding:5px !important;
}
thead td {
	font-size:1.6em !important;
	letter-spacing: 1pt !important;
	font-family: 'League Gothic', Helvetica, Arial, Lucida, sans-serif !important;
	font-weight:300 !Important;
	line-height:1.5em !Important;
}
thead th {
	font-size:1.3em !important;
	letter-spacing: 1pt !important;
	font-family: 'League Gothic', Helvetica, Arial, Lucida, sans-serif !important;
font-weight:300 !Important;
}

/*change order date blog list*/
.widget_recent_entries li {
    display: flex;
    flex-direction: column-reverse;
}
.widget_recent_entries li .post-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px; /* Avstånd mellan datum och titel */
}
.wp-block-latest-posts__list li {
	border-bottom: 1px solid #117834 !important;
	padding-top:5px !important;
	padding-bottom: 5px !important;
}
.wp-block-latest-posts__post-date {
	text-transform: uppercase !important;
}