/*
 Theme Name: Drzewko SP-Media
 Template: kadence
 Description: Strona z akcją sadzenia Drzewek
 Author: SP-Media Przemysław Szliep
 Author URI: https://spmedia.pl
*/


html body #wrapper {
	background-image: url(/wp-content/themes/drzewko-spmedia/footer.webp);
	background-repeat: no-repeat;
	background-position: bottom 90px center;
	background-size: contain;
}

html body #wrapper::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 30%;
	height: 100%;
	background-image: url(/wp-content/themes/drzewko-spmedia/mask.webp);
	background-repeat: no-repeat;
	background-position: top left;
	background-size: contain;
	max-width: 300px;
}

body .popup-drawer .drawer-inner {
	background: var(--global-palette2);
}

body .drawer-toggle .toggle-close-bar {
	background: var(--global-palette3);
}

body .site-footer-row-container-inner .site-container {
	border-top: 3px solid var(--global-palette2);
}

.headline {
	position: relative;
	margin-bottom: 20px;
}

.headline::after {
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 140px;
	height: 5px;
	display: block;
	background: var(--global-palette2);
	content: '';

}

.headline--left::after {
	left: 0;
	transform: translateX(0);
}

.white-link a {
	color: white;
}

body .row-info .kt-row-column-wrap {
	grid-template-columns: 30px 1fr;
}

@media (min-width:1024px) {
	.site-footer-top-section-3 p {
		text-align: right;
	}
}

@media (max-width:768px) {
	.contact-row .wp-block-kadence-column .wp-block-kadence-column .kt-inside-inner-col {
		min-height: inherit;
	}
}

#inner-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
}

body.page-id-310 #inner-wrap {
	display: initial;
}

#inner-wrap p {
	width: 100%;
	max-width: 1380px;
	z-index: 1;
}

#map {
	height: 800px;
	width: 100%;
	max-width: 1380px;
	margin-bottom: 12rem;
}


#tree-page-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1400px;
	margin-top: 3rem;
	margin-bottom: 3rem;
	padding-left: 1rem;
    padding-right: 1rem;
}

#tree-page-wrapper .thumbnails-wrapper {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 512px;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#tree-thumbnails {
	list-style-type: none;
	margin: 0;
}

#tree-thumbnails li {
	height: 8rem;
	width: 8rem;
	cursor: pointer;
	align-content: center;
}

#tree-thumbnails .thumbnail-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

#tree-thumbnails img {
	max-height: 8rem;
}

#tree-slider .image-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

#tree-slider li {
	align-content: center;
	height: 30rem;
}


#tree-slider img {
	height: 100%;
	max-height: 30rem;
}

#tree-page-wrapper .species-icon {
	width: 26px;
	height: 26px;
}

#tree-page-wrapper .species-name-wrapper {
	font-family: Poppins;
	font-size: 0.8em;
	font-weight: 500;
	line-height: 24px;
	text-align: left;
	color: #6C802D;
}

#tree-page-wrapper .tree-name-row {
	display: flex;
	flex-direction: row;
	align-items: center;
}

#tree-page-wrapper .tree-name-row .tree-name-wrapper {
	font-family: Poppins;
	font-size: 1.5em;
	font-weight: 400;
	line-height: 45px;
	text-align: center;
}

#tree-page-wrapper .company-text-wrapper {
	font-family: Poppins;
	font-size: 0.8em;
	font-weight: 400;
	line-height: 45px;
	text-align: center;
}

.arrow {
	border: solid var(--global-palette1);
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

.thumbnails-nav-btn:hover .arrow,
.thumbnails-nav-btn:focus .arrow {
	border: solid white;
	border-width: 0 3px 3px 0;
	display: inline-block;
	padding: 3px;
}

.right {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}

.left {
	transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
}

#thumbnails-prev-btn {
	margin-right: 1rem;
}

#thumbnails-next-btn {
	margin-left: 1rem;
}