section.content-section.mainos-iso-section {
    padding-top: 0;
}
section.promot-section.content-section {
    padding-top: 0;
}
/*tekstit*/
body {
	font-family: "ingra", sans-serif;
	font-weight: 400;
	font-style: normal;
}
h1, h2, h3, h4, h5, h6,
.desktop-main-menu a {
	font-family: "jaf-domus-titling-web", sans-serif;
	font-style: normal;
	font-weight: 400;
}
.desktop-main-menu li.level1 > a {font-size: 1.25rem;}
#main-content h1, #main-content h2, #main-after h2, #section-back h2, #content-bottom h2, .content-slider h2, .socials h3 {
    font-size: 3.6rem;
}
.site-header__logo h3 {
    font-family: "jaf-domus-titling-web", sans-serif;
    font-weight: 200;
    font-style: normal;
    color: var(--color1);
    font-size: 2.8rem;
	margin-left: 1rem;
	letter-spacing: -1.5px;
	margin-bottom: 0;
}
.site-header__logo span{margin-left: 0.5rem;}
.site-header__logo strong {color: var(--color1);}
.hero-slider h4 {font-size: 1.6rem; margin-bottom: 0;}
.hero-kellonaika, .tarjoukset h4 {
    font-size: 3.4rem;
}
.sivu1 #showcase h2 {font-size: 5.5rem !important;}
body:not(.sivu1) #showcase .hero-slider__text-content h2, body:not(.sivu1) #showcase .hero-slider__text-content h1, body:not(.sivu1) #showcase h1 {
	font-size: 4.5rem;
	line-height: 4.5rem;
}
.hero-slider h3 {
    font-size: 4.5rem;
    margin-bottom: -1rem;
}
.hero-slider h3 {
    color: var(--color4) !important;
    margin-bottom: -1.3rem;
}
.content-slider h3 {
    color: var(--color4) !important;
    margin-bottom: 0;
}
.editor a {
    font-weight: 500;
    text-decoration: none;
    color: var(--color1);
}
.hero-slider h4, footer h3 {color: var(--color4);}
#main-content h4, #main-content h4, #main-after h4, #section-back h4 {color:var(--color1);}
/*showcase*/
body:not(.sivu1) .hero-slider__bg-image {
    object-position: center 21% !important;
}

.hero-slider__item .hero-slider__text-content {
    padding: 20rem 2rem 3rem 2rem;
}
.sivu1 .hero-slider__text-content_inner {
    padding-bottom: 4rem;
}
/*napit*/
.btn:not(.btn.mobile-menu__bars, .top-buttons .btn) {
    padding: 15px 32px 14px 32px !important;
    padding-left: 32px !important;
    padding-right: 32px !important;
    border-radius: 0 !important;
}
.btn-switcher-primary:hover {
    color: var(--color4);
    border-color: var(--color1);
    background-color: var(--color1);
}
.content-slider .btn-switcher-highlight {
    background: var(--color4) !important;
	border-color: var(--color4) !important;
	color: var(--color1) !important;
}
.content-slider .btn-switcher-highlight:hover {
    background: var(--color1) !important;
	color: var(--color4) !important;
}
/*navi*/
.site-header__top .mr-1 {
    font-weight: 700;
}
.site-header__top {
    padding: 0;
}
.site-header__top p, .site-header__top a {
    font-size: 1.1rem;
}
.lahiapteekit a {
    text-decoration: none;
    font-weight: unset;
}
.lahiapteekit {
    margin-bottom: -0.9rem;
}
.header-somelinks {
    margin-bottom: 0;
}
.site-footer__some-links a {
	color: var(--color4);
	font-size: 1.4rem !important;
    background-color: transparent;
}
.puhelin, .sposti, .week, .mr-1 .viikko, .lahiapteekit, .header-somelinks, .site-header__logo h3 {
    display: inline-block;
}

.weeklist {
	color:var(--color4);
}

.mr-1 a, .ml-1 .lahiapteekit {margin-right: 3rem;}
.desktop-main-menu li.level1.current>a {
    border-bottom: 3px solid var(--color1);
	font-weight: 500;
}
.desktop-main-menu a {color:var(--color5);}
.desktop-main-menu li.level1 > a {
    padding: 0.5rem 0rem;
    margin: 0 1rem;
}
.desktop-main-menu li.hasSubItems>a {padding-right: 1.25rem;}
/*hero*/
.box-big-link {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:20;
}
.auki, .tarjous {
	padding: 25px 60px 30px;
    display: flex;
    background: var(--color1);
    text-align: left;
}
.hero-slider__overlay {background-color: rgba(0, 0, 0, 0.1);}
.auki {}
.tarjous {position:relative;}
.hero-slider__text-content {width:100%;}

.hero-wrap {width:100%; max-width:1400px;margin:0 auto;}

/*1.sisältöalue*/
.content1 .contentlist .contentlist__item-img-holder {
    padding-bottom: 100%;
}

.content-slider__text-content {
    background: var(--color1);
    transform:translateY(120px);
	width: 60%;
	margin-left:25px;
}
.content-slider__text-content_inner {padding: 6rem 7rem 6rem 6rem;}
.content-slider__item .content-slider__text-content {padding: 0;}
.content-slider__overlay {background-color: rgba(0,0,0,0);}
.content-slider__text-content_inner a:not(a.btn) {
    color: var(--color4);
    font-weight: 600;
}
.content-slider-section {
    padding-bottom: 6rem !important;
    background: var(--color4);
}
/*lääkejätteet-osio*/
/*.col-12.editor-content__col.col-md-6.secid350.item3 {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 30px;
}
.col-12.editor-content__col.col-md-6.secid350.item2 {
    padding: 30px;
}
.col-12.editor-content__col.secid350.item1 h2 {
    padding-left: 30x;
}*/
/*palvelut-sivu*/
.box2 .boxlist-item__text-holder h2 {
    color: var(--color1) !important;
	font-size: 2.5rem !important;
}
.box2 .boxlist-item__text-holder {
    padding: 3rem;
}
.box2 .boxlist-item__text-holder .btn-switcher-primary {
    background: var(--color1);
    color: var(--color4);
}
.boxlist-item {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
/*palvelut*/
.boxlist-item__img-holder {
    display: none;
}

#content-bottom .item1.editor-content__col {
    margin-bottom: 1rem;
}
#content-bottom {
    background: var(--color4);
}
#content-bottom .item3 .editor-content__item-editor {
    background: var(--color2);
    padding: 2rem;
}

#section-back .content-section {
	padding-bottom: 7rem;
}
/*someseinä*/
#section-quaternary {background: var(--color4);}
#section-quaternary .socials:nth-child(1) h3 {color: var(--color5);}
#section-quaternary .socials:nth-child(2) h3 {color: var(--color1);}
.socials:nth-child(2) h3 {float: right;}
.socials svg {margin-right: 0.5rem;}
.socials h3 {margin-bottom: 4rem;}
/*mobiilivalikko*/
.mobile-menu::after {
    color: var(--color1);
    font-weight: 500 !important;
	font-family: "jaf-domus-titling-web", sans-serif;
}
.mobile-menu a {
    color: var(--color5);
	font-weight: 500;
}
/*avajaistiedote 9.5.*/
.sivu1 #main-before h2 {
    margin-bottom: -3rem;
    margin-top: 4rem;
	    color: var(--color5);
}
.sivu1 #main-before h2 a {
    text-decoration: underline;
}
.sivu1 #main-before h2 a:hover {
    color: var(--color3);
}
.sivu1 #main-before .content-section {
    padding-top: 0;
    padding-bottom: 0;
}
.content-slider-section {
	padding-bottom: 13rem !important;
}
/*aukioloajat*/
#main-content .aukioloajat-otsikko h3 {
    color: var(--color1);
}
i.paivateksti {
    font-style: normal;
    width: 120px;
    display: inline-block;
}
.poikkeusinfo span{position:relative;}
body:lang(fi) .poikkeusinfo span:after {
    content: "(poikkeus)";
    position: absolute;
    right: auto;
    padding-left: 5px;
    left: auto;
    top: auto;
    bottom: auto;
}
body:lang(en) .poikkeusinfo span:after {
    content: "(exception)";
    position: absolute;
    right: auto;
    padding-left: 5px;
    left: auto;
    top: auto;
    bottom: auto;
}
body:lang(sv) .poikkeusinfo span:after {
    content: "(undantag)";
    position: absolute;
    right: auto;
    padding-left: 5px;
    left: auto;
    top: auto;
    bottom: auto;
}
#main-content .perusaukioloajat i, #main-content .perusaukioloajat span {
    color: var(--color5);
}
#main-content .perusaukioloajat h3 {
    color: var(--color1);
}
.editor.perusaukioloajat {
    margin-bottom: 2rem;
}
.poikkeusaukiolo {height:0; overflow:hidden;}
.puhnumerot h3 {color:var(--color1);}
@media (min-width: 768px) {
	#content-bottom .editor-content__col.item2 {
		flex: 0 0 40%;
		max-width: 40%;
	}
	#content-bottom .editor-content__col.item3 {
		flex: 0 0 60%;
		max-width: 60%;
	}
	#mobile-buttons a.btn, .top-buttons a.btn {
		display: none;
	}
}
@media (min-width: 992px) {
.box2 .boxlist .boxlist__col {
    flex: 0 0 50% !important;
    max-width: 50%;
	    padding-right: 30px;
    padding-left: 30px;
	margin-bottom: 60px;
}

	.mr-1 nav, .header-somelinks {
		transform: translateY(10px);
	}
	.lahiapteekit a {color: var(--color4);}
	
	
	/*top-header sticky*/
	
	.site-header__top {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		bottom: auto;
		z-index: 1;
	}
	#header.sticky {
		position: fixed;
		top: 3rem;
	}
	#header {
		position: fixed;
		top: 3rem;
		box-shadow: 0 0 15px rgb(0 0 0 / 13%);
	}
	.site-header__bottom.sticky {
		padding-top: 0.7rem !important;
		padding-bottom: 0.7rem !important;
	}
}
@media (min-width: 1200px) {
	.content1 .contentlist .contentlist__item-content, .content2 .contentlist .contentlist__item-content, .content3 .contentlist .contentlist__item-content, .content4 .contentlist .contentlist__item-content {
		padding: 5rem 3rem;
	}
}
@media (min-width: 1299px) {
	.content-section {padding: 8rem 2rem;}
}
@media (min-width: 1499px) {
	body:not(.sivu1) .hero-slider__text-content {
		padding: 16rem 2rem 5rem 2rem;
	}
}
@media (max-width: 1499px) {
.sivu1 #showcase h2 {font-size: 4.8rem !important;}
.hero-slider h3 {
    font-size: 3.8rem;
}
	#main-content h1, #main-content h2, #main-after h2, #section-back h2, #content-bottom h2, .content-slider h2, .socials h3 {
		font-size: 3.2rem;
	}	
	.hero-slider h4 {
		font-size: 1.2rem;
	}
	.hero-kellonaika, .tarjoukset h4 {
		font-size: 3rem;
	}
	body:not(.sivu1) #showcase .hero-slider__text-content h2, body:not(.sivu1) #showcase .hero-slider__text-content h1, body:not(.sivu1) #showcase h1 {
		font-size: 4rem;
		line-height: 4.3rem;
	}
}
@media (max-width: 1400px) {
	.hero-wrap {
		padding-left: 31px;
		padding-right: 31px;
	}
	.hero-slider h4 {
		font-size: 1.3rem;
	}
	.auki, .tarjous {
		padding: 25px 30px 30px;
	}
	.site-header__logo h3 {
		font-size: 2rem;
	}
}
@media (max-width: 1299px) {
	.sivu1 #main-before h2 {
		margin-bottom: -1rem;
	}
	.desktop-main-menu li.level1 > a {
		font-size: 1rem;
	}
	.site-header__logo img {
		max-height: 50px;
	}
	.site-header__logo span {
		margin-left: 0.2rem;
	}
	.sivu1 #showcase h2 {font-size: 4rem !important;}
	.hero-slider h3 {font-size: 3rem;}
	#main-content h1, #main-content h2, #main-after h2, #section-back h2, #content-bottom h2, .content-slider h2, .socials h3 {
		font-size: 2.4rem;
	}
	body:not(.sivu1) #showcase .hero-slider__text-content h2, body:not(.sivu1) #showcase .hero-slider__text-content h1, body:not(.sivu1) #showcase h1 {
		font-size: 3rem;
		line-height: 3.3rem;
	}
}
@media (max-width: 1199px) {
	.site-header__logo h3 {
		font-size: 1.5rem;
	}
	.site-header__logo img {
		max-height: 55px;
	}
	.content-slider__text-content_inner {
		padding: 5rem 3rem 5rem 3rem;
	}
	
		.hero-slider h4 {
		font-size: 1rem;
	}
	.hero-kellonaika, .tarjoukset h4 {
		font-size: 1.9rem;
	}
	.hero-wrap img {
		height: 46px;
		transform: translateY(calc(50% - 15px));
	}
	.mr-1 a, .ml-1 .lahiapteekit {
		margin-right: 1rem;
	}
	.site-header__top p, .site-header__top a {
		font-size: 1rem;
	}
}
@media (max-width: 991px) {
	.box2 .boxlist-item__text-holder h2 {
		font-size: 1.5rem !important;
	}
	.lahiapteekit p {
		margin-bottom: 0 !important;
		margin-right: 2rem;
	}
	.header-somelinks a {
		color: var(--color1);
	}
	.site-header__logo {
		width: 80%;
	}
	.content-slider__text-content {
		transform: translateY(177px);
		width: 80%;
		margin-left: 25px;
	}
	.socials h3 {
		font-size: 2rem;
	}
	.hero-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}
	body {
    font-size: 0.95rem;
}
#content-bottom .item1.editor-content__col {
    margin-bottom: 0;
}
.mobile-menu::after {
    font-size: 1.05rem;
}
.mobile-menu a {
    font-size: 1.05rem;
}
}
@media (max-width: 767px) {
section.promot-section.content-section {
    padding-top: 2rem;
}
	.sivu1 #main-before h2 {
		text-align: left !important;
				margin-bottom: 0rem;
		margin-top: 3rem;
	}
	.lahiapteekit, .header-somelinks {
		display: none;
	}
	.auki {
		margin-bottom: 1rem;
	}
	.box2 .boxlist .boxlist__col {
		flex: 0 0 100% !important;
		max-width: 100%;
	}
	.socials h3 {
		margin-bottom: 2rem;
	}
	#content-bottom .item3 .editor-content__item-editor {
		background: none;
		padding: 0;
	}
		#content-bottom .editor-content__col.item3 {
		background: var(--color2);
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
	body:not(.sivu1) .hero-slider__text-content {
    padding: 12rem 2rem 2rem 2rem;
}
.content1 .contentlist .contentlist__item-content, .content2 .contentlist .contentlist__item-content, .content3 .contentlist .contentlist__item-content, .content4 .contentlist .contentlist__item-content, .content5 .contentlist .contentlist__item-content {
    padding: 0 !important;
}
#mobile-buttons a.btn.btn-switcher-highlight {
    background: var(--color1);
}
}
@media (max-width: 575px) {
	.sivu1 #main-before h2 {
		font-size: 1.2rem;
	}
	.box2 .boxlist-item__text-holder {
		padding: 2rem 1rem;
	}
	.content-slider__text-content {
		transform: translateY(187px);
		width: 100%;
		margin-left: 15px;
		margin-right: 15px;
	}
	.site-header__logo {
		width: 80%;
	}
	.socials:nth-child(2) h3 {
		margin-right: -12.5px;
	}
	#main-content h1, #main-content h2, #main-after h2, #section-back h2, #content-bottom h2, .content-slider h2, .socials h3 {
		font-size: 1.8rem;
	}
	footer h3 {
		font-size: 1.2rem;
		margin-top: 1rem;
	}
	.socials h3 {
		font-size: 1.3rem;
	}
	.hero-slider h4 {
		font-size: 0.8rem;
	}
	.hero-kellonaika, .tarjoukset h4 {
		font-size: 1.3rem;
	}
	.box2 .boxlist-item__text-holder h2 {
		font-size: 1.2rem !important;
	}
	.auki, .tarjous {
		    padding: 13px 26px 15px;
	}
	#main-content h1, #main-content h2, #main-after h2, #section-back h2, #content-bottom h2, .content-slider h2, .socials h3 {
		font-size: 1.2rem;
	}
	h4 {font-size: 0.95rem;}
	.hero-slider h3 {
    font-size: 1.5rem;
		margin-bottom: 0;
	}
	.sivu1 #showcase h2 {
		font-size: 1.8rem !important;
	}
	body:not(.sivu1) #showcase .hero-slider__text-content h2, body:not(.sivu1) #showcase .hero-slider__text-content h1, body:not(.sivu1) #showcase h1 {
		font-size: 1.4rem;
		line-height: 1.7rem;
	}
	.hero-slider__overlay {
		background-color: rgba(0, 0, 0, 0.2);
	}
	.sivu1 .hero-slider__text-content_inner {
		padding-bottom: 2rem;
	}
	.sivu1 .hero-slider__item {
    height: calc(100vh - 4rem);
    position: relative;
}
.sivu1 .hero-slider__text-content {
    position: absolute;
    bottom: 7vh;
    padding: 0 !important;
}
	.hero-wrap img {
		height: 40px;
		transform: translateY(calc(50% - 16px));
	}
	.auki {
		margin-bottom: 0.6rem;
	}
	.site-header__logo img {
		max-height: 35px;
	}
	.site-header__logo h3 {
		font-size: 1.3rem;
	}
	.content-slider__text-content_inner {
		padding: 3rem 1.5rem 1rem 1.5rem;
	}
	.col-6.socials {
		flex: 0 0 100%;
		max-width: 100%;
	}
	.socials:nth-child(2) h3 {float: unset;}
	#section-quaternary .socials:nth-child(1) h3 {
		margin-bottom: 0;
	}
	.btn:not(.btn.mobile-menu__bars, .top-buttons .btn) {
		padding: 11px 16px 10px 16px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
	body:not(.sivu1) .hero-slider__text-content {
    padding: 9rem 1rem 1rem 1rem;
}
body {
    font-size: 0.9rem;
}
.site-header__logo h3 {
		font-size: 1rem;
	}
	.site-header__logo img {
    	max-height: 40px;
	}
	#mobile-buttons .btn:not(.btn.mobile-menu__bars, .top-buttons .btn) {
    padding: 4px 3px 3px 3px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}
.sivu1 .hero-slider__bg-image {object-position: 70% center!important;}
}
@media (max-width: 340px) {
	.auki, .tarjous {
		padding: 13px 13px 15px;
	}
	div#header {
		padding-left: 0;
		padding-right: 0;
	}
	#mobile-buttons {
		right: 53px;
	}
}