/*showcase*/
.button3 .paivystysnappi .btn-switcher-highlight, .button3 .paivystysnappi .btn-switcher-primary {
    font-size: 1.4rem;
	  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.button3 .paivystysnappi .btn-switcher-highlight:hover, .button3 .paivystysnappi .btn-switcher-primary:hover {
    transform: scale(1.08);
}
.image-box .palvelu .boxlist-item.icon-layout .boxlist-item__text-holder {
    top: 50%;
}
.image-box .palvelu .boxlist-item.icon-layout .boxlist-item__img-holder {
    top: 10%;
}
.image-box .palvelu .boxlist-item h2 {
    font-size:1.8rem !important;
}
@media(min-width:1200px) {
	.sivu1 .hero-slider h2, .sivu1 .hero-slider h1 {
		font-size: 4.5rem !important;
		line-height: 5rem;
		max-width:900px;
	}
}
section.content-section:has(.palvelu) {
    padding-top: 0;
}
.avainlippu .contentlist__item-col.contentlist__item-col_content img {
    max-width: 150px;
}
.hero-slider__overlay {display:none;}
.half .boxlist-item.icon-layout {
    padding-bottom: 50%;
}
.half .boxlist-item__img-holder.boxlist-item__icon-holder {
    top: 10% !important;
}
.half .boxlist-item.icon-layout .boxlist-item__text-holder {
    top: 50%;
}
.contact-list-card {
    padding: 0;
    background: var(--color1);
    color: #ffffff;
}
.contact-list-content h3 {
	color: var(--color4) !important;
    background: rgb(182 200 0);
    box-shadow: none;
    display: inline-block;
    padding: 6px 28px;
    transform: skewX(-17deg);
    font-weight: 600;
}
.sivu31 #main-content section.content-section {
    padding-bottom: 2rem;
}
.editor.kontaktit-ots h4 {
    color: var(--color1);
}
.contact-list-card .contact-list-content {
    font-family: var(--fontheading);
    font-size: 1.2rem;
    font-weight: 500;
}
.editor.kontaktit-ots {
    padding: 4rem calc(15px + 3%) 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.image-card-full-width .contact-list-card .contact-list-image:before {
    opacity: 0.9;
    height: 70%;
    top: 30%;
}
div#main-after:has(.kontaktit-section) {
    background: #fafafa;
}
.kontaktit-section {padding-top:0;}
.contact-list-card .contact-list-image {
    min-height: 500px;
}
@media (min-width:1299px) {
	.hero-slider__text-content h3, .content-slider h3 {
		font-size: 26px;
	}
	.image-box .half .boxlist-item.icon-layout h2 {
    font-size: 36px;
}
}
@media (max-width: 992px) {
.button3 .paivystysnappi .btn-switcher-highlight, .button3 .paivystysnappi .btn-switcher-primary {
    font-size: 1.2rem;
}
.image-box .palvelu .boxlist-item h2 {
    font-size:1.4rem !important;
}
.editor.kontaktit-ots h2, .editor.kontaktit-ots h4 {
    text-align: left !important;
}
	.contact-list-card .contact-list-content {
		font-size: 1rem;
	}
	.contact-list-card .contact-list-image {
		min-height: 300px;
	}
	.container.editor-content {
		padding: 0;
	}
	.image-box .half .boxlist-item.icon-layout .boxlist-item__img-holder img {
		max-width: 43px;
	}
	.sivu31 .editor.lomake-ots {
    padding-top: 2rem;
}
.editor.kontaktit-ots {
    padding: 3rem calc(15px + 3%) 2rem;
}
}
@media (max-width: 575px) {
.editor.kontaktit-ots h2 {
        font-size: 1.5rem !important;
    }
	.editor.kontaktit-ots h4 {
        font-size:1.1rem !important;
    }
body[class*="contact__col-"]:not(.image-card-full-width) .contact-card {
margin-bottom: 2px;
        padding-left: 0 !important;
        padding-right: 0 !important;
}
.contact-list-card {
    height: 100% !important;
    margin: 0;
}
.container:has(.reservation-container) {
    padding: 0 !important;
}
}