@layer utilities {

	:root, :host {
		--color-theme-background:#ffffff; --color-theme-text:#000000; --color-theme-link:#000000; --color-theme-accent:#000000; --color-theme-accent-secondary:#000000;
		--input-background:#ffffff; --input-text:#000000; --input-link:#000000; --input-accent:#000000; --input-accent-secondary:#000000;
		--input-border-radius: 0.5rem;
		--input-border-width: medium.("0.0625em", "0.125em", "0.25em", "0");
}

.theme-dark-red {
--color-theme-background:#782f40; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#782f40; --color-theme-accent-secondary:#ffffff;		}
.input-theme-dark-red {
--input-background:#782f40; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#782f40; --input-accent-secondary:#ffffff;		}
.theme-red {
--color-theme-background:#9b2743; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#9b2743; --color-theme-accent-secondary:#ffffff;		}
.input-theme-red {
--input-background:#9b2743; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#9b2743; --input-accent-secondary:#ffffff;		}
.theme-light-red {
--color-theme-background:#e40046; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#e40046; --color-theme-accent-secondary:#ffffff;		}
.input-theme-light-red {
--input-background:#e40046; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#e40046; --input-accent-secondary:#ffffff;		}
.theme-navigation-color-alternative {
--color-theme-background:#ffffff; --color-theme-text:#000000; --color-theme-link:#e40046; --color-theme-accent:#000000; --color-theme-accent-secondary:#000000;		}
.input-theme-navigation-color-alternative {
--input-background:#ffffff; --input-text:#000000; --input-link:#e40046; --input-accent:#000000; --input-accent-secondary:#000000;		}
.theme-grey-background {
--color-theme-background:#d7d8d6; --color-theme-link:#782f40; --color-theme-accent:#782f40; --color-theme-accent-secondary:#782f40;		}
.input-theme-grey-background {
--input-background:#d7d8d6; --input-link:#782f40; --input-accent:#782f40; --input-accent-secondary:#782f40;		}
.theme-productpage {
--color-theme-background:#ffffff; --color-theme-text:#782f40; --color-theme-link:#782f40; --color-theme-accent:#782f40; --color-theme-accent-secondary:#782f40;		}
.input-theme-productpage {
--input-background:#ffffff; --input-text:#782f40; --input-link:#782f40; --input-accent:#782f40; --input-accent-secondary:#782f40;		}
.theme-white-module-background {
--color-theme-background:#ffffff; --color-theme-link:#782f40; --color-theme-accent:#782f40; --color-theme-accent-secondary:#782f40;		}
.input-theme-white-module-background {
--input-background:#ffffff; --input-link:#782f40; --input-accent:#782f40; --input-accent-secondary:#782f40;		}
.theme-transparent-background\,-red-text {
--color-theme-accent:#782f40; --color-theme-accent-secondary:#782f40;		}
.input-theme-transparent-background\,-red-text {
--input-accent:#782f40; --input-accent-secondary:#782f40;		}
.theme-transparent-background\,-white-text {
--color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#ffffff;		}
.input-theme-transparent-background\,-white-text {
--input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#ffffff;		}
.theme-light-red\,-white-headline {
--color-theme-background:#e40046; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#ffffff;		}
.input-theme-light-red\,-white-headline {
--input-background:#e40046; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#ffffff;		}
.theme-dark-red-footer {
--color-theme-background:#782f40; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#ffffff;		}
.input-theme-dark-red-footer {
--input-background:#782f40; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#ffffff;		}
.theme-white-background\,-white-text {
--color-theme-background:#ffffff; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#ffffff;		}
.input-theme-white-background\,-white-text {
--input-background:#ffffff; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#ffffff;		}
.theme-dark-red\,-white-text {
--color-theme-background:#782f40; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#ffffff;		}
.input-theme-dark-red\,-white-text {
--input-background:#782f40; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#ffffff;		}
.theme-white-background\,-red-text {
--color-theme-background:#ffffff; --color-theme-text:#782f40; --color-theme-link:#782f40; --color-theme-accent:#782f40; --color-theme-accent-secondary:#782f40;		}
.input-theme-white-background\,-red-text {
--input-background:#ffffff; --input-text:#782f40; --input-link:#782f40; --input-accent:#782f40; --input-accent-secondary:#782f40;		}
.theme-light-deep-red\,-white-headline {
--color-theme-background:#9b2743; --color-theme-text:#ffffff; --color-theme-link:#ffffff; --color-theme-accent:#ffffff; --color-theme-accent-secondary:#9b2743;		}
.input-theme-light-deep-red\,-white-headline {
--input-background:#9b2743; --input-text:#ffffff; --input-link:#ffffff; --input-accent:#ffffff; --input-accent-secondary:#9b2743;		}
.theme-white-background\,-black-text {
--color-theme-background:#ffffff; --color-theme-text:#000000; --color-theme-link:#000000; --color-theme-accent:#000000; --color-theme-accent-secondary:#000000;		}
.input-theme-white-background\,-black-text {
--input-background:#ffffff; --input-text:#000000; --input-link:#000000; --input-accent:#000000; --input-accent-secondary:#000000;		}
.btn-theme-button-standard {
--button-bg:#782f40; --button-text:#ffffff; --button-border:#ffffff; --button-bg-hover:#e40046; --button-text-hover:#ffffff;			}
.btn-theme-button-standard-2 {
--button-bg:#e40046; --button-text:#ffffff; --button-border:#ffffff; --button-bg-hover:#782f40; --button-text-hover:#ffffff;			}
}

@layer custom-css {
	/*This is for the product vendors in a product viewpage 
STARTS HERE*/
.border-theme-text\/10 {
    border-color: color-mix(in oklab, black 10%, transparent 90%);
}


 .block-hero-slide__text-heading 
 { font-size:44px; 
 

 @media (min-width:768px) { font-size:44px; } 
 @media (min-width:1000px) { font-size:100px; } 
}
/*ENDS HERE*/

#hero-990cf557-6887-4c7d-ab39-58de5482fc86 > div > div > div > div > div{
    width:85%;
}

@media screen and (min-width: 1000px) {
body > main > div > div:nth-child(11) > picture > img{
    margin: 0 auto;
    width:700px;
}}

.block-information__item {
  border-radius: 0.5rem;
  padding: 0.5rem;
}

/* RTE list fix */
li p {
  margin: 0;
  padding: 0;
  display: inline;
}

/*Bolded accordion titles */
.block-accordion__item summary span {
  font-weight: 600;
}

/* White background removal */
.mt-6 a[class*="theme-white-background"] {
  background-color: transparent !important;
}


.block-hero-slide__text-heading {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: manual; 
  white-space: normal;
  line-break: strict;
}


/* Normalize ALL heroes to same size */
.block-hero,
.block-hero__container,
.block-hero-slide {
  min-height: 30vh;
}

@media (min-width: 640px) {
  .block-hero,
  .block-hero__container,
  .block-hero-slide {
    min-height: 35vh;
  }
}

@media (min-width: 768px) {
  .block-hero,
  .block-hero__container,
  .block-hero-slide {
    min-height: 40vh;
  }
}

@media (min-width: 1024px) {
  .block-hero,
  .block-hero__container,
  .block-hero-slide {
    min-height: 50vh;
  }
}

@media (min-width: 1280px) {
  .block-hero,
  .block-hero__container,
  .block-hero-slide {
    min-height: 60vh;
  }
}


#hero-ff9a4b43-07c4-474a-a13f-33036e61c108 .block-hero-slide__text-heading {
  font-size: var(--text-lvl2-h1-lg) !important;
}

/*Sär­ky­lääke text on front page*/
@media (max-width: 767px) 
{
    #block-hero-72ec3104-bdf6-444f-8fb6-532a988527ae .block-hero-slide__text-heading {
    font-size: var(--text-lvl2-h1-lg) !important;
  }
}

/* Pamol lievittää erilaisia kipuja text on front page */
@media (max-width: 767px)
{
  #block-textarea-9fed4c2d-855d-4dbc-a92d-9fc994982e1c .block-textarea__heading {
  font-size: var(--text-lvl3-h2-sm) !important;
  }
}



}
