/*!
Theme Name: Meita Base Two Child Heinavesi2023
Theme URI: https://meita.fi
Template: meita-theme-basetwo
Author: Lauri Merisaari
Author URI: https://meita.fi
Description: Child theme for Meita Base Two. Block theme based and inspired of Meita Base one and Twenty Twenty Two
Requires at least: 6.0
Tested up to: 6.1
Requires PHP: 8.0
Version: 0.0.105
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meitabasetwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, accessibility-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
*/

/* 
 * CSS Global variables
 *
 * Overwrite these in child theme to globally control defaults
 * Original can be found in src/css/variables.scss
 */

html {
	--wp-admin--admin-bar--height: 50px;
}

 :root {

    --meita-custom-nav-elements-border-width: 0px;
    
    --meita-custom-forms-input-border: 1px;
    --meita-custom-forms-input-border-style: solid;
    --meita-custom-forms-input-border-color: #808080;
    --meita-custom-forms-input-pg: white;
    --meita-custom-forms-input-border-radius: 0px;

    /* All buttons defaults, can be owerwriten in site editor */
    --meita-custom-default-border-radius: 5px;
    --meita-custom-button-padding: 11.7px;
    --meita-custom-button-hpadding: 11.7px;
    --megamenu-container-padding: 3em;
    --megamenu-nav-hpadding: 1em;

    /* Default animation duration */
    --animate-duration: 0.3s;
	--nav-sub-border-radius: 0em;

}

/* ----------------------------- */
/*     Basic mobile navigatio    */
/* ----------------------------- */
.wp-block-navigation__responsive-container:has(.is-meita-mobile-nav-base-two-mobile),
.editor-styles-wrapper .wp-block-navigation.is-meita-mobile-nav-base-two-mobile {
	--b2-mobile-nav-link-padding: 15px;										/* Item vertical padding and inner horizontal padding */
	--b2-mobile-nav-side-margins: 15px;										/* Extra left and right padding of the list */
	--b2-mobile-nav-submenu-items-indent: 15px;								/* Indent per level */
	--b2-mobile-nav-width: clamp(240px, 100%, 400px);						/* Overlay width */
	--b2-mobile-border-width: 1px;											/* Separator lines between items */
	--b2-mobile-nav-modal-shadow: var(--wp--preset--shadow--natural);
	--b2-mobile-nav-animate-duration: 0.2s;
	/*
	--b2-mobile-nav-fontfamily: inherit;
	--b2-mobile-nav-fontsize: 1em;
	*/
	--b2-mobile-label-line-height: 1.5em;

	/* Level colors. Level 1 = root items, level 2 = first submenu ... Level 1 defaults to overlay colors. */
	--b2-mobile-nav-l1-text: black;
	--b2-mobile-nav-l1-background: transparent;
	--b2-mobile-nav-l2-text: black;
	--b2-mobile-nav-l2-background: #f3f7f9;
	--b2-mobile-nav-l3-text: black;
	--b2-mobile-nav-l3-background: white;
	--b2-mobile-nav-l4-text: black;
	--b2-mobile-nav-l4-background: transparent;
	--b2-mobile-nav-l5-text: black;
	--b2-mobile-nav-l5-background: transparent;
	--b2-mobile-nav-l6-text: black;
	--b2-mobile-nav-l6-background: transparent;

	/* Icons are svg masks (url) colored with current text color */
	/*--b2-mobile-nav-close-icon: url(...);*/									/* Close button of the default overlay */
	/*--b2-mobile-nav-sub-closed-icon: url(...);*/								/* Toggle icon, submenu closed. Default plus */
	/*--b2-mobile-nav-sub-open-icon: url(...);*/								/* Toggle icon, submenu open. Default minus */
	--b2-mobile-nav-sub-icon-padding: 10px;									/* Toggle button horizontal padding */
	--b2-mobile-nav-sub-icon-width: 18px;
	--b2-mobile-nav-sub-toggle-bg: transparent;								/* Toggle button background */
	--b2-mobile-nav-sub-toggle-border: none;								/* Toggle button left border eg. 1px solid currentColor */
}


/* ----------------------------------*/
/* Sugar calendar CSS tyylittelyjä   */
/* ----------------------------------*/
.sugar-calendar-event-list-block.sugar-calendar-event-list-block__list-view{
	margin-top: 2rem !important;
}

.sc-event-past {
	opacity: 0.45;
	filter: grayscale(100%);
}
/* ----------------------------------*/
/* Header    */
/* ----------------------------------*/

header .lippu-iconi img{
	margin-bottom: 4px;
	margin-right: 8px;
}

header .pikkulinkit p > a{
	text-decoration: none !important;
}

a:hover{
	text-decoration: underline;
}
form.wp-block-search__button-inside.wp-block-search__icon-button.h-haku.wp-block-search .wp-block-search__inside-wrapper input{
	background-color: #f1f2f3;
}

header .paavalikko-navi >  li.wp-block-navigation-item a{
	margin-right:10px;
}
header .paavalikko-navi >  li.wp-block-navigation-item a:hover{
	margin-right:10px;
	/*color:#81e9f9;*/	
}
header .paavalikko-navi ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu a:hover{
	background-color: black;
	color: white;
}


header .paavalikko-navi >  li.wp-block-navigation-item:after {
    content: "|";
    color: #80e9f9;
    font-weight: 700;
    padding-right: 0.313em;
	margin-left:1rem;
	display: none;
}
header .paavalikko-navi >  li.wp-block-navigation-item:last-child:after {
    content: "";
    color: #1f5d96;
    font-weight: 700;
    padding-left: 0.313em;
	margin-left:1rem;
}

ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu li a.wp-block-navigation-item__content{
	padding: 10px;
}

header ul.wp-block-navigation__submenu-container a::after{
	color: transparent !important;
	content: "";
}
header ul.wp-block-navigation__submenu-container a.wp-block-pages-list__item__link.wp-block-navigation-item__content:hover {
    background-color: #c0e4f0;
}

header li.wp-block-navigation-item.current-menu-item{
	border-bottom: 0.188em solid #81e9f9;
	/*color:#1f5d96;*/
}

header a.wp-block-navigation-item__content:hover{
	text-decoration: none !important;
}

header a{
	text-transform: normal;
}
header .paavalikko-navi ul.wp-block-navigation__submenu-container li{
	border-radius:0em !important;
} 

/*------------------------------------*/
/* video   */
/* ----------------------------------*/

video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index:-100;
}


/* ----------------------------------*/
/* Complianz */
/* ----------------------------------*/

.cmplz-placeholder-element.wp-block-nk-awb.nk-awb.alignfull.nk-awb-fullheight.nk-awb-content-valign-center.cmplz-processed.cmplz-placeholder-1.cmplz-blocked-content-container {
    height: 250px;
}

/* ----------------------------------*/
/* Yleisiä muita CSS asetuksia       */
/* ----------------------------------*/

.nelja_saraketta{
	position:relative;
}

.nelja_painike .wp-block-button{
	position:absolute;
}
.nelja_painike .wp-block-button a{
	font-family: "Oooh Baby"; 
	font-size:28px;
}

.nelja_painike .wp-block-button a:hover{
	background-color:#1e6399 !important;
	color:white !important;
	font-family: "Oooh Baby"; 
}

.lue_lisaa a{
	text-decoration:none;
}

body *{
	hyphens: auto;
}

a{
	word-break:break-word;
}
hr{
	color: #cccccc;
	font-weight:300;
}
.entry-content h4, h3, h2{
	margin-top: 2.188rem;
	margin-bottom:1.25em;
}
blockquote > h3{
	font-size:1.375em;
}
.entry-content p >a{
	text-decoration:none;
	font-weight:600;
	
}
.entry-content p>a:hover{
	color: black;
	text-decoration: underline;
}
a:where(:not(.wp-element-button)){
	color: inherit;
}
.wp-block-query h5>a{
	text-decoration:none;
}
.wp-embed {
	margin-top:1.25em !important;
	margin-bottom:1.25em;
}

body figure.wp-block-embed{
	margin-left:0px !important;
	margin-right:0px !important;
}
.wp-block-button.is-style-textwithiconbutton .wp-block-button__link:after{
	background-color:#60b564 !important;
}

a.wp-block-post-excerpt__more-link:hover{
	color: black !important;
}

.katso p>a{
	font-weight:400;
}

figure.wp-block-image figcaption.wp-element-caption{
	text-align: left !important;
}


/* ----------------------------------*/
/*. lomakeet*/
/* ----------------------------------*/
.wpcf7 .screen-reader-response > ul{
	display: none;
}
.row p, .row2 p{
	margin:8px 0 0 0;
}

.labelteksti{
	vertical-align: -webkit-baseline-middle;
}

.alatunnistteseen p{
	display: flex;
    flex-direction: row;
}
.alatunnistteseen span.mc4wp-checkbox.mc4wp-checkbox-contact-form-7 {
	margin-top:2rem;
	margin-left:2rem;
}
.mc4wp-form input[type="email"] {
	padding: .75rem 1rem;
	border: none;
}
.mc4wp-form input[type="submit"] {
	background-color: var(--wp--preset--color--primary);
	color: #fff;
	border-radius: 5px;
	border: none;
	padding: .75rem 1rem;
}
.uutiskirjelomake input.wpcf7-form-control.wpcf7-submit.has-spinner {
	background-color: var(--wp--preset--color--custom-turkoosi) !important;
	color: black;
}
   
/** lähetä viesti lomake **/

.viestisi textarea::-webkit-input-placeholder{
	padding:10px;
}
.viestisi textarea{
	width: 100%;
    max-width: 100%;
    max-height: 110px;
}
.sahkopostisi{
	width:100%;
	display:block;
	
}
.nimesi{
	width: 100%;
	display:block;
}
.nimesi  p, .sahkopostisi p, .hyvaksyntasi p{
	margin:0px;
}
.nimesi input[type=text]{
	width: 95%;
	max-width: 95%;
}
.sahkopostisi input[type=email]{
	width: 95%;
	max-width: 95;
}
.hyvaksyntasi .wpcf7-acceptance .wpcf7-list-item{
	margin:0px !important;
}
.hyvaksyntasi input[type=checkbox]{
	padding: 0px !important;
    min-width: 13px;
    height: 17px;
}
.painike input[type=submit] {
	background-color: #5bc8db;
	border-radius: 5px;
	margin-top: 1rem;
}
.painike-vihrea input[type=submit] {
	background-color: #096b3f;
	border-radius: 5px;
}
.painike p{
	margin:0px;
	height:60px;
}
.painike-vihrea p{
	margin:0px;
	height:60px;
}

/** vene lomake **/

.row{
	display:flex;
}
.row label{
	font-size:15px;
}
.row input::-webkit-input-placeholder{
	font-size:12px;
}
.wpcf7 .vene-lomake label input[type=text]{
	width: 100%;
	max-width: 82%;
}
.wpcf7 .vene-lomake  label.nelja input[type=text]{
	width: 100%;
	max-width: 70%;
}
.wpcf7 .vene-lomake input[type=tel]{
	width: 80%;
	max-width: 85%;
}
.wpcf7 .vene-lomake input[type=email]{
	width:80%;
	max-width: 85%;
}
select.wpcf7-form-control.wpcf7-select {
    margin: 0 10px 0 0;
	max-width: 350px;
	width: 95%;
}

/** kysy meiltä lomake **/

.viestisi2 textarea::-webkit-input-placeholder{
	padding:10px;
}
.row2{
	display: flex;
    flex-direction: row;
    gap: 1em;
}
.row2 .wpcf7-form-control-wrap{
	width: 100%;
	display:block;
}
.viestisi .wpcf7-form-control-wrap{
	width: 100%;
	display:block;
}
.nimesi2{
	width: 100%;
	display:block;
}
.sahkopostisi2{
	width:100%;		
	display:block;
}
.nimesi2 input[type=text]{
	width: 95%;
	max-width: 90%;
}
.sahkopostisi2 input[type=email]{
	width: 95%;
	max-width: 90%;
}
.viestisi2 textarea{
	width: 100%;
    max-width: 99%;
    max-height: 110px;
}

/*booking form*/

.booking_form input[type=text]{
	width:100% !important;
}
.booking_form textarea{
	width:100% !important;
}



/*---------------------------------------------*/
/* sisältölistaus                              */
/*---------------------------------------------*/
.wp-block-query li h4 a{
	text-decoration: none;
}

.satamapalvelut li{
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	border-radius: 3px;
    border: 0 solid #69727d;
    transition: all .25s;
	position: relative;
    background-color: #fff;
}
.satamapalvelut a.wp-block-post-excerpt__more-link {
    /* border: 1px solid black; */
    padding: 0.625em;
    color: black;
    /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); */
    text-transform: uppercase;
    font-style: italic;
    color: #1e6399;
}
.yritykset{
	height:85%;
}
.yritykset p.wp-block-post-excerpt__more-text a{
	font-size: 12px !important;
	color: #096b3f;
}
.yritykset h2 >a {
	text-decoration:none;
}
.yrityksia li:hover{
	box-shadow: 0 0 12px 0 rgba(0,0,0,.40);
	transition: all .25s;
	background-color: #fff;
	position: relative;
	border: 0 solid #69727d;
}
.wp-block-query .arkistot-alaosa{
	margin-bottom: 0;
    border-top: 1px solid #eaeaea;
	bottom:0px;
}
.arkisto1{
	position: relative;
	height:169px;
	border-bottom: 1px solid #eaeaea;
	background-color: #eaeaea;
	
}
.arkisto2{
	max-height:250px;
	height:250px;
}

.arkistot li{
	box-shadow: 0 0 12px 0 rgba(0,0,0,.15);
	transition: all .25s;
	background-color: #fff;
	position: relative;
	border: 0 solid #69727d;
	display: grid;
}
.arkistot li:hover{
	box-shadow: 0 0 12px 0 rgba(0,0,0,.40);
	transition: all .25s;
	background-color: #fff;
	position: relative;
	border: 0 solid #69727d;
}

.kosket h2> a{
	text-decoration: none;
}

.tarinat li{
	transition-property: background, border, box-shadow;
    transition-duration: .25s;
	background-color: #fff;
    width: 100%;
    min-height: 100%;
    border-radius: 3px;
    border: 0 solid #69727d;
    transition: all .25s;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	position:relative;
}
.tarinat a.wp-block-post-excerpt__more-link{
	font-size: 12px;
	color: #096b3f;
	margin-bottom: 20px;
    display: inline-block;
	font-style:italic;
}
.tarinat h3 >a{
	text-decoration: none;
}
.tarinat-alaosa{
    margin-bottom: 0;
    border-top: 1px solid #eaeaea;
}

.tarinat .tagit{
	position: absolute;
	top: 20px;
    right: 20px;
}
.tarinat .tagit a{
	text-decoration: none;
}

.hakutulokset li{
	transition-property: background, border, box-shadow;
    transition-duration: .25s;
	background-color: #fff;
    width: 100%;
    min-height: 100%;
    border-radius: 3px;
    border: 0 solid #69727d;
    transition: all .25s;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	position:relative;
}
.hakutulokset h2 a{
	text-decoration: none;
}
.hakutulokset h2 a:hover{
	text-decoration: underline;
}

.hakutulokset-alaosa{
	margin-bottom: 0;
	border-top: 1px solid #eaeaea;	
}
.hakutulokset-kuva{
	background-color: #65646B47;
}


.tapahtuma-kategoria a{
	font-family: 'Oooh Baby';
    font-size: 18px;
    text-decoration: none;
}
.tapahtuma-kategoria a:hover{
	text-decoration:underline;
}

/*------------------------*/
/* haku                  */
/*-----------------------*/

.hakukentta .wp-block-search__inside-wrapper{
	border-radius: 0px !important;
	border: 1px solid gray;	
}
.hakukentta button{
	padding-top: 0.563em !important;
    padding-bottom: 0.563em !important;
	padding-left: 0.625em !important;
    padding-right: 0.625em !important;
}

.hakukentta .wp-block-search__input {
	padding: 0.5em !important;
}
/*---------------------------------------------*/
/* footer         */
/*---------------------------------------------*/
.footer-sarake{
	justify-content: center;
}
/*----------------------------*/
/* CAROUSEL */
/*---------------------------*/

/*carousel eläkeliitto*/
.owl-carousel .owl-nav button.owl-prev{
	color: white;
}
.owl-carousel .owl-nav button.owl-next{
	color: white;
}

.el .owl-carousel .owl-nav button.owl-prev{
	color: white;
}
.el .owl-carousel .owl-nav button.owl-next{
	color: white;
}

/*carousel havu*/

.carusel_havu{
	position:relative;
}
.havu img{
	position:absolute;
	bottom: 5rem;
  	right: 7.5rem;
}

.vanhat .owl-carousel .owl-nav button.owl-prev {
    background: 0 0;
    color: inherit;
    border: none;
    font: inherit;
    font-size: 70px;
    position: absolute;
    top: 50%;
    left: -7%;
    transform: translate(-30%, -50%);
}
.vanhat .owl-carousel .owl-nav button.owl-next {
    background: 0 0;
    color: inherit;
    border: none;
    font: inherit;
    font-size: 70px;
    position: absolute;
    top: 50%;
    right: -7%;
    transform: translate(30%, -50%);
}
/*----------------------------- */
/* tekstit kansi lohkon sisällä */
/*----------------------------- */
.kirkonkyla{
	position: relative;
}
.satama{
	position: absolute;
    top: 8%;
    right: 41%;
	background-color: rgba(44, 146, 166, 0.8);
}
.kirkko{
	position: absolute;
    top: 13%;
    left: 27%;
	background-color: rgba(44, 146, 166, 0.8);
}
.frisbeegolf{
	position: absolute;
    left: 17%;
    bottom: 20%;
	background-color: rgba(44, 146, 166, 0.8);
}
.keskusta{
	position: absolute;
    top: 70%;
    right: 30%;
	background-color: rgba(44, 146, 166, 0.8);
}

.leirinta1{
	position:absolute;
	bottom:11%;
	background-color: rgba(44, 146, 166, 0.7);
}
.leirinta2{
	position:absolute;
	bottom:4%;
	background-color: rgba(44, 146, 166, 0.7);
}
.kanava{
	position:absolute;
	bottom:20%;
	left:55%;
	background-color: rgba(44, 146, 166, 0.7);
}
.koski{
	position:absolute;
	bottom:12%;
	left:55%;
	background-color: rgba(44, 146, 166, 0.7);
}
.neste{
	position: absolute;
    right: 6%;
    bottom: 18%;
	background-color: rgba(44, 146, 166, 0.7);
}
.kmarket{
	position: absolute;
    right: 6%;
    bottom: 10%;
	background-color: rgba(44, 146, 166, 0.7);
}
.kerman-kanava{
	position: absolute;
	background-color: rgba(44, 146, 166, 0.7);
	
}
.lava{
	position: absolute;
	background-color: rgba(44, 146, 166, 0.7);
}
.kissakoski{
	position: absolute;
	background-color: rgba(44, 146, 166, 0.7);
}

/*----------------------------- */
/* ankkurihero */
/*----------------------------- */
.wp-block-group.ankkuri-hero.has-background.is-content-justification-center.is-layout-constrained.wp-container-core-group-layout-9.wp-block-group-is-layout-constrained {
    margin: 0px !important;
    margin-left: 15% !important;
}

/*----------------------------- */
/* hienosäätöjä */
/*----------------------------- */

/*siniset laatikot*/
.siniset-laatikot .wp-block-group{
	margin:0,67rem !important;
}

.siniset-laatikot .wp-block-group:hover{
	background-color:#66646c;
	margin:0,67rem 0 !important;
}

.siniset-laatikot .wp-block-group h4 >a{
	text-decoration: none;
}
/*palveluhakemiston laatikot*/

.box-majoitu:hover{
	background-color: #77694e;
	padding-top:15px;

}
.box-herkuttele:hover{
	background-color: #c8af76;
	padding-top:15px;
}
.box-seikkaile:hover{
	background-color: #458664;
	padding-top:15px;
}
.box-rentoudu:hover{
	background-color: #a692c4;
	padding-top:15px;
}
.box-osta:hover{
	background-color: #4eb9da;
	padding-top:15px;
}
.box-shoppaile:hover{
	background-color: #4eb9da;
	padding-top:15px;
}

/*------------------------------------- */
/* tapahtumakalenteri (TEC?) */
/*------------------------------------- */

/*events addons*/

/*
dd.tribe-organizer-url a{
	visibility: hidden;
}

dd.tribe-organizer-url a:before {
    content: "Järjestäjän kotisivut";
	visibility: visible;
}

dd.tribe-venue-url a{
	visibility: hidden;
}

dd.tribe-venue-url a:before{
	content: "Tapahtumapaikan kotisivut";
	visibility: visible;
}

#ect-events-list-content .ect-list-wrapper{
	flex-direction: row;
	gap: 1.5rem;
}

#ect-events-list-content .ect-list-venue .ect-venue-details .ect-google a {
    color: #1e6399;
}

.tribe-events-single-section.tribe-events-event-meta.primary.tribe-clearfix, .tribe-events-single-section.tribe-events-event-meta.secondary.tribe-clearfix  {
    width: 50%;
}

.tribe-events-meta-group.tribe-events-meta-group-venue{
	width:100%;
}
.tribe-events-venue-map{
	width:100%;
}

a.tribe-events-gmap {
    display: block;
}

span.ect-google{
	margin-top: 0.8rem;
}

.ect-list-post-right{
	width: 100% !important;
}
.ect-list-post .ect-list-post-left{
	display:none !important;
}
.ect-list-post {
	box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
	display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    width: 100%;
    min-height: 100%;
    border-radius: 3px;
    border: 0 solid #69727d;
    transition: all .25s;
	padding: 30px 20px;
}
.ect-list-post a.ect-events-read-more{
	visibility:hidden;
}
.ect-list-post .ect-events-read-more{
	margin-top:0.5rem;
}


.ect-list-post a.ect-events-read-more:before{
	content:" LUE LISÄÄ »";
	font-size:12px;
	visibility:visible;
	color: #1e6399;
}
*/

/*----------------------------- */
/* gallery */
/*----------------------------- */
.wp-block-gallery figure img{
	width: 366px !important;
    max-height: 244px !important;
    object-fit: cover;
}
.wp-block-gallery figure{
	max-width: 366px !important;
}


@media screen and (max-width: 1140px){
	.satama, .kirkko, .frisbeegolf, .keskusta{
		display: none;
	}
	.leirinta1, .leirinta2, .kanava, .koski, .neste, .kmarket{
		display: none;
	}
	.kerman-kanava, .lava, .kissakoski{
		display: none;
	}
	
}

/*----------------------------- */
/* Valikko */
/*----------------------------- */

.alavalikko .wp-block-navigation-submenu .wp-block-navigation__submenu-icon svg {
	visibility: hidden;
}
.alavalikko li button.wp-block-navigation-item__content.wp-block-navigation-submenu__toggle > .wp-block-navigation-item__label{
	content: "";
	visibility: hidden;
}
.wp-admin .alavalikko >button > .block-editor-rich-text__editable.wp-block-navigation-item__label{
	content: "";
	visibility: hidden;
}

.wp-admin .alavalikko >button > .block-editor-rich-text__editable.wp-block-navigation-item__label::after{
	visibility: visible;
	content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75m0 4A.75.75 0 0 1 2.75 7h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 7.75m0 4a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75'/%3E%3C/svg%3E");
	background-color: rgba(0, 0, 0, .05);
	width:32px;
	height:32px;
	display:inline-block;
	padding: 3px;
}


.alavalikko li button.wp-block-navigation-item__content.wp-block-navigation-submenu__toggle > .wp-block-navigation-item__label::after{
	visibility: visible;
	content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75m0 4A.75.75 0 0 1 2.75 7h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 7.75m0 4a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75a.75.75 0 0 1-.75-.75'/%3E%3C/svg%3E");
	background-color: rgba(0, 0, 0, .05);
	width:32px;
	height:32px;
	display:inline-block;
	padding: 3px;
}
.alavalikko li.wp-block-navigation-item.wp-block-navigation-link > a > span.wp-block-navigation-item__label{
	padding: 10px;
	font-size: 13px;
	font-style: italic;
}
.alavalikko li.wp-block-navigation-item.wp-block-navigation-link > a > span.wp-block-navigation-item__label:hover{
	padding: 10px;
	font-size: 13px;
	font-style: italic;
	background-color: black;
	color: white;
}

@media screen and (min-width: 2000px){
	.satama, .kirkko, .frisbeegolf, .keskusta{
		display: none;
	}
	.leirinta1, .leirinta2, .kanava, .koski, .neste, .kmarket{
		display: none;
	}
	.kerman-kanava, .lava, .kissakoski{
		display: none;
	}
}

@media screen and (max-width: 650px){
	.mtr-table tr{
		border-bottom: 1px solid gray !important;
	}
	.wp-block-table table[style*=border-width]>* {
		border-style: hidden !important;
	}
}


@media screen and (max-width: 600px){
	
	h1.has-text-color.has-background-color.wp-block-post-title{
		font-size: 32px !important;
	}
	.paanavi{
		justify-content: space-between !important;
		padding:0.625em !important;
	}
	.paanavi .visitlogo img{
		width: 162px !important;
	}
	ul.wp-block-navigation__container.is-responsive.items-justified-space-between.wp-block-navigation >li.wp-block-navigation-item.has-child::after{
		content:none !important;
	}
	li.wp-block-navigation-item.wp-block-navigation-link::after{
		content:none !important;
	}
	
	.entry-content h1{
		font-size:1.75em !important;
	}
	.row label{
		font-size:12px;
	}
	.alatunnistteseen p{
		display:block;
	}
	.alatunnistteseen span.mc4wp-checkbox.mc4wp-checkbox-contact-form-7{
		margin-left:0px;
	}
	
}

@media screen and (max-width: 980px){
	#ect-events-list-content, .ect-list-wrapper{
		flex-direction: column !important;
		gap: 1rem !important;
	}
}

@media screen and (max-width: 832px){
	.paavalikko-navi.wp-block-navigation{
		justify-content: space-between !important;
		gap: 0.65rem !important;
	}
}

@media screen and (max-width: 1035px){
	.wpcf7 .vene-lomake label input[type=text]{
		width: 100%;
		max-width: 62%;
	}
	.wpcf7 .vene-lomake  label.nelja input[type=text]{
		width: 100%;
		max-width: 50%;
	}
	.wpcf7 .vene-lomake input[type=tel]{
		width: 80%;
		max-width: 62%;
	}
	.wpcf7 .vene-lomake input[type=email]{
		width:80%;
		max-width: 62%;
	}
	.nimesi2 input[type=text]{
		width: 95%;
		max-width: 80%;
	}
	.sahkopostisi2 input[type=email]{
		width: 95%;
		max-width: 80%;
	}
	.nimesi input[type=text]{
		width: 95%;
		max-width: 80%;
	}
	.sahkopostisi input[type=email]{
		width: 95%;
		max-width: 80%;
	}
}
@media screen and (max-width: 360px){
	
	.entry-content h1{
		font-size:1.313em !important;
	}
}