/*
Theme Name: Pirkkanen
Theme URI: 
Author: BG Prod
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: pirkkanen
Tags: 
*/




address {
	font-style:normal;
}

.link-hover-underline.link-hover-underline a, a.link-hover-underline {
text-decoration-line: none;
}

.link-hover-underline a:is(:hover, :focus), a.link-hover-underline:is(:hover, :focus) {
    text-decoration: underline;
    text-decoration-thickness:1px
}

.link-no-underline a, a.link-no-underline {
    text-decoration:none !important
}

.blocks-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr));
container-type: inline-size;

}

.has-background {
    background-size: 256px 256px;
background-blend-mode: lighten;
}

.wp-block-button, .wp-block-button svg  {
transition: all 0.3s ease-in-out;
}

.wp-block-button:hover  {
opacity: .8;
}
.wp-block-button[class*=has-icon__]:hover svg  {
translate: 3px;
}

.bgprod-map-wrapper > div{
border-radius: 2px;
height: 100%;
}

.bgprod-map-wrapper {
height: 40rem;
}


@media (max-width: 600px) {
	/* Mobile styles */
	.bgprod-map-wrapper {
height: 28rem;
}
}

.wp-block-navigation .wp-block-navigation-item{
text-decoration: none;
border: 1px solid #00000000;
padding: 5px 8px;
transition: all 0.2s ease-in-out;
border-radius: 2px;
}

.wp-block-navigation .wp-block-navigation-item:hover, .wp-block-navigation .current-menu-item:hover{
text-decoration: none;
border: 1px solid var(--wp--preset--color--secondary);
padding: 5px 8px;
}

.wp-block-navigation .current-menu-item{
text-decoration: none;
border: 1px solid var(--wp--preset--color--primary-alt);
padding: 5px 8px;
}

.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .current-menu-item > a, .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .has-child button:hover, :root :where(.wp-block-navigation a:where(:not(.wp-element-button)):hover) {
text-decoration: none;
}

.wp-block-navigation__responsive-container-close, .wp-block-navigation__responsive-container-open {
border-radius: 2px;
}

a.icon-container[aria-label="BG-huoltopiste"]:hover {
opacity: .8;
}

*, [data-hover-decoration="underline"], .has-hover-decoration-1, .has-hover-decoration {
text-underline-offset: 5px;
text-decoration-color: var(--wp--preset--color--secondary) !important;
text-decoration-thickness: 1px !important;
}

input[type="submit"] {
border-radius: 2px;
border:0;
transition: all 0.3s ease-in-out;
background: var(--wp--preset--color--primary);
color: var(--wp--preset--color--base);
padding: var(--wp--preset--spacing--small);
}
input[type="submit"]:hover {
background: var(--wp--preset--color--secondary)
}