/*!
Theme Name:		Piotr Bytner Studio
Author: 		Piotr Bytner Studio
Author URI: 	https://bytner.studio
Description:	Dobra grafika, ładne życie. piotr@bytner.studio
Version: 		1.2
License:		GNU General Public License v3 or later
License URI:	https://www.gnu.org/licenses/gpl-3.0.html
Tags: 			
Template:		page-builder-framework
Text Domain:	page-builder-framework-child
*/

/* Colors Example
.has-black-color {
    color: #000000;
}

.has-black-background-color {
    background-color: #000000;
} 
*/

/* 
.current-menu-item {
	display: none;
}
*/

html, body {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.wpbf-remove-font-size h1 {
	display: none;
}

a:hover span, a:focus span {
	text-decoration-line: underline;
}

.animate__delay-1s {
	animation-delay: .1s;
}

.animate__delay-2s {
	animation-delay: .2s;
}

.animate__delay-3s {
	animation-delay: .3s;
}

.animate__delay-4s {
	animation-delay: .4s;
}

.animate__delay-5s {
	animation-delay: .5s;
}

.animate__delay-6s {
	animation-delay: .6s;
}

.background-radius .wp-block-getwid-section__background,
.background-radius .wp-block-getwid-section__foreground, 
.wp-block-getwid-map__container,
.wp-block-getwid-template-post-featured-background-image, 
.wp-block-getwid-template-post-featured-background-image__foreground,
.wp-block-getwid-template-post-featured-background-image__image,
.wp-block-video video {
	border-radius: 25px;
}

.wp-block-getwid-image-hotspot__wrapper .tippy-box[data-theme~=light-border] {
	border-radius: 999px;
	border: 0;
	color: var(--wp--preset--color--wpbf-palette-color-2);
	background-color: rgba(255, 255, 255, 0.3);
	
}

.tippy-box[data-theme~=light-border] .tippy-content {
	padding: 10px 20px;
}

.tippy-box[data-theme~=light-border]  .wp-block-getwid-image-hotspot__tooltip-title {
	font-weight: normal;
}

.wp-block-getwid-image-hotspot__wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    to bottom,
	  rgba(33, 16, 22, 0) 70%,
    rgba(33, 16, 22, 1) 100%
  );

}

.wp-block-cover-is-layout-constrained .has-custom-font-size h3 {
	font-size: 2rem;
}

.wp-block-column {
	position: relative;
}

.wp-block-column .wp-block-cover {
	cursor: pointer; 
}

.wp-block-column .hover {
	opacity: 0;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: var(--wp--preset--spacing--50);
	transition: opacity 0.3s;
}

/* chowasz cover */
.wp-block-column:hover .wp-block-cover {
	opacity: 0;
}

/* pokazujesz hover */
.wp-block-column:hover .hover {
	opacity: 1;
}

.mapsvg-controller-view-content {
    padding-bottom: 0 !important;
}

.mapsvg-details-header {
	display: none !important;
}

.wp-block-getwid-tabs * {
	border: 0 !important;
}

.wp-block-getwid-counter__number {
	font-size: 2em;
}

ul.has-wpbf-palette-color-2-color li:hover,
a:hover mark.has-wpbf-palette-color-3-color 
{
	color: var(--wp--preset--color--wpbf-palette-color-4) !important; 
}

.wpbf-navigation .wpbf-menu > .current-menu-item > a {
	color: var(--wp--preset--color--wpbf-palette-color-2) !important; 
}

.wpbf-navigation .wpbf-menu > .current-menu-item > a:hover {
	color: var(--wp--preset--color--wpbf-palette-color-4) !important; 
}

.square {
  background-color: var(--wp--preset--color--wpbf-palette-color-4);
  border: 0;
  width: 16px;
  height: 16px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.square.with-circle::before {
  content: '';
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: var(--wp--preset--color--wpbf-palette-color-2);

  display: block;
}

.square:hover {
  background-color: var(--wp--preset--color--wpbf-palette-color-3);
}

#kontakt a:not(.wp-block-button__link):hover {
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.wpbf-custom-section-footer .has-wpbf-palette-color-2-color .wp-block-getwid-advanced-heading__content a:hover {
	color: var(--wp--preset--color--wpbf-palette-color-4);
}

.wpbf-custom-section-footer .wp-block-button__link:hover  {
	color: var(--wp--preset--color--wpbf-palette-color-2);
	border-color: var(--wp--preset--color--wpbf-palette-color-2);
}

.entry-content .wp-block-button__link:hover {
	color: var(--wp--preset--color--wpbf-palette-color-3);
	border-color: var(--wp--preset--color--wpbf-palette-color-3);
}

.wp-block-getwid-template-post-featured-background-image:hover .wp-block-getwid-template-post-featured-background-image__foreground{
	opacity: 1;
}



@media (max-width: 599px) {
	.no-padding-mobile {
		padding: 0 !important;
	}
	#mapa li {
		font-size: 2rem;
	}
	
	.has-layout-vertical-left {
		flex-direction: column;
	}
	.has-layout-vertical-left>.wp-block-getwid-tabs__nav-links {
		max-width: 100%;
		text-align: center;
	}
	
	.wp-block-columns.pikto:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: 45% !important;
	}
	
	.legenda {
		padding-left: 0 !important;
		padding-right: 0 !important;
		gap: 0 !important;
	}
	
	.legenda .wp-block-getwid-icon-box__icon-container {
		margin: 0;
	}
	
	.legenda .wp-block-getwid-icon-box__icon-wrapper i  {
		height: .6em;
   		width: .6em;
	}
	
	.legenda .wp-block-getwid-icon-box__icon-wrapper i:before {
		font-size: 24px;
	}
	
	.mapsvg-popover {
		height: auto !important;
		max-height: none !important;
	}

	.mapsvg-details-hero,
	.mapsvg-controller-view-toolbar,
	.mapsvg-mobile-modal-close {
		display: none !important;
	}

	.mapsvg-controller-view-wrap.nano {
		top: 0 !important;
	}

	.mapsvg {
		overflow: visible;
	}
}


@media (min-width: 600px) {

		.wp-block-cover-is-layout-constrained .has-custom-font-size h3 {
	font-size: 3rem;
	}
	
	.map-columns {
		position: absolute;
		bottom: 0;
		top: 0;
		left: 0;
		right: 10px;
		margin: 25px !important;
		max-height: 550px;
	}
	
	.ui-tabs {
		padding-right: var(--wp--preset--spacing--60);
    	padding-left: var(--wp--preset--spacing--60);
		margin-left: 8px;
	}
	
	.wpbf-menu-container .wpbf-menu li:last-child a {
		border: 2px var(--wp--preset--color--wpbf-palette-color-2) solid;
		border-radius: 25px;
	}
	
	.wpbf-menu-container .wpbf-menu li:last-child a:hover {
		border-color: var(--wp--preset--color--wpbf-palette-color-4);
	}
}

