/*!
Theme Name: testerossa
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: testerossa
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

testerossa is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


.body-bg {
	background: #fffcfb;
}

.body-bg-single {
	background: #f9e8ba;
}

.main-container {
	background-position: center center;
	background-size: cover;
	min-height: 100vh;
}

/*
.tree {
	position: relative;
	z-index: 2;
	width: 100%;
} */

.tree-container {
	width: 100%;
	max-width: 100%;
}

.tree__container__step__card__p {
	background: #eed7b5;
	color: #000 !important;
	border-radius: 25px;
	border: 1px solid #000;
	font-family: "Marck Script", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	padding: 5px;
}

#tree3 {
	background: url('/wp-content/uploads/2025/02/bg.jpg');
	background-position: center center;
	background-size: cover;
	padding-top: 75px;
}

.tree li a {
	background: #a88a70;
	color: #fff;
	font-family: "Marck Script", serif !important;
	text-align: center;
	display: inline;
	font-size: 24px !important;
	padding: 32px;
	border: none;
}

svg.tommy .node {
	background: #a88a70;
	stroke: #000;
}

svg text {
	font-family: "Marck Script", serif;
	font-size: 36px !important;
	text-align: center;
	display: inline;
	stroke-width: 3px !important;
	/* color: #000!important; */
}

body a[href="/12"] {
	background: #ecd4b1 !important;
}

body a[href="/16"] {
	background: #ecd4b1 !important;
}

body a[href="/25"] {
	background: #ecd4b1 !important;
}

body a[href="/27"] {
	background: #ecd4b1 !important;
}

body a[href="/29"] {
	background: #ecd4b1 !important;
}

body a[href="/31"] {
	background: #ecd4b1 !important;
}

body a[href="/33"] {
	background: #ecd4b1 !important;
}

body a[href="/35"] {
	background: #ecd4b1 !important;
}

body a[href="/37"] {
	background: #ecd4b1 !important;
}

body a[href="/74"] {
	background: #ecd4b1 !important;
}

body a[href="/76"] {
	background: #ecd4b1 !important;
}

body a[href="/78"] {
	background: #ecd4b1 !important;
}

body a[href="/80"] {
	background: #ecd4b1 !important;
}

body a[href="/83"] {
	background: #ecd4b1 !important;
}

body a[href="/85"] {
	background: #ecd4b1 !important;
}

body a[href="/87"] {
	background: #ecd4b1 !important;
}

body a[href="/89"] {
	background: #ecd4b1 !important;
}

body a[href="/91"] {
	background: #ecd4b1 !important;
}

body a[href="/93"] {
	background: #ecd4b1 !important;
}

body a[href="/95"] {
	background: #ecd4b1 !important;
}

body a[href="/97"] {
	background: #ecd4b1 !important;
}

body a[href="/99"] {
	background: #ecd4b1 !important;
}

body a[href="/101"] {
	background: #ecd4b1 !important;
}

body a[href="/103"] {
	background: #ecd4b1 !important;
}

body a[href="/105"] {
	background: #ecd4b1 !important;
}

body a[href="/107"] {
	background: #ecd4b1 !important;
}

body a[href="/120"] {
	background: #ecd4b1 !important;
}

body a[href="/109"] {
	background: #ecd4b1 !important;
}

body a[href="/111"] {
	background: #ecd4b1 !important;
}

body a[href="/142"] {
	background: #ecd4b1 !important;
}

body a[href="/152"] {
	background: #ecd4b1 !important;
}

/* текст */

body a[href="/12"] {
	color: #000 !important;
}

body a[href="/12"] {
	color: #000 !important;
}

body a[href="/16"] {
	color: #000 !important;
}

body a[href="/25"] {
	color: #000 !important;
}

body a[href="/27"] {
	color: #000 !important;
}

body a[href="/29"] {
	color: #000 !important;
}

body a[href="/31"] {
	color: #000 !important;
}

body a[href="/33"] {
	color: #000 !important;
}

body a[href="/35"] {
	color: #000 !important;
}

body a[href="/37"] {
	color: #000 !important;
}

body a[href="/74"] {
	color: #000 !important;
}

body a[href="/76"] {
	color: #000 !important;
}

body a[href="/78"] {
	color: #000 !important;
}

body a[href="/80"] {
	color: #000 !important;
}

body a[href="/83"] {
	color: #000 !important;
}

body a[href="/85"] {
	color: #000 !important;
}

body a[href="/87"] {
	color: #000 !important;
}

body a[href="/89"] {
	color: #000 !important;
}

body a[href="/91"] {
	color: #000 !important;
}

body a[href="/93"] {
	color: #000 !important;
}

body a[href="/95"] {
	color: #000 !important;
}

body a[href="/97"] {
	color: #000 !important;
}

body a[href="/99"] {
	color: #000 !important;
}

body a[href="/101"] {
	color: #000 !important;
}

body a[href="/103"] {
	color: #000 !important;
}

body a[href="/105"] {
	color: #000 !important;
}

body a[href="/107"] {
	color: #000 !important;
}

body a[href="/120"] {
	color: #000 !important;
}

body a[href="/109"] {
	color: #000 !important;
}

body a[href="/111"] {
	color: #000 !important;
}

body a[href="/142"] {
	color: #000 !important;
}

body a[href="/152"] {
	color: #000 !important;
}

.header-wrap {
	padding-top: 15px;
	padding-bottom: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-bottom: unset;
	padding-left: unset;
}

.header-wrap li {
	list-style: none;
	padding: auto;
}

.header-wrap li a {
	text-decoration: none;
	color: #fff;
	transition: 0.3s ease;
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
}

.header-wrap li a:hover {
	text-decoration: underline;
}

.header .navbar {
	background: #a88a70;
}

.open-icon {
	cursor: pointer;
}


.header .open-icon {
	display: none;
}

.bft-light .bft-edit-form {
	display: none !important;
}

.single-container {
	display: grid;
	height: auto;
	width: 100%;
	min-height: auto;
	grid-template-rows: repeat(2, min-content) 1fr;
	grid-template-columns: 100%;
	max-width: 979px !important;
	margin-top: 32px;
	margin-left: auto;
	margin-right: auto;
}

.frame-top {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.frame-bottom {
	display: flex;
	justify-content: space-between;
}

.frame-left {
	display: flex;
	flex-direction: column;
	width: 160px;
}

.frame-right {
	display: flex;
	flex-direction: column;
	width: 160px;
}

.single-container-content {
	width: 100%;
	background: #645d49;
	display: flex;
	justify-content: center;
	padding: 32px;
}

@media (max-width: 767px) {

	.header .header-wrap li:not(.open-icon) {
		display: none;
	}

	#menu-menu-1 {
		display: none;
	}


	.header .header-wrap {
		justify-content: flex-end;
	}

	.header .open-icon {
		display: block;
	}

	.offcanvas-body .header-wrap {
		display: flex;
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}

	.offcanvas-body .header-wrap li {
		display: block;
	}

	.offcanvas-body .header-wrap li a {
		color: #000 !important;
		font-size: 24px;
	}

}

.single-content .name {
	font-size: 18px;
	font-family: "Marck Script", serif;
	color: #fff;
	text-decoration: underline;
	text-align: center;
}

.single-content .dateline {
	font-size: 18px;
	font-family: "Marck Script", serif;
	color: #fff;
	text-align: center;
}

.single-content .short {
	font-size: 18px;
	font-family: "Marck Script", serif;
	color: #fff;
	text-align: center;
}

.single-content .description {
	font-size: 18px;
	font-family: "Marck Script", serif;
	color: #fff;
	text-align: center;
}

@media (max-width: 979px) {

	.frame-top img:nth-child(1),
	.frame-top img:nth-child(2),
	.frame-top img:nth-child(4),
	.frame-top img:nth-child(5) {
		display: none;
	}

	.frame-top img:nth-child(3) {
		width: 100%;
	}

	.frame-left,
	.frame-right {
		display: none;
	}

}

.btn-back {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #edd8c5;
	border: solid #000 1px;
	color: #000 !important;
	font-size: 25px;
	font-family: "Marck Script", serif;
	text-align: center;
	transition: 0.3s ease;
	margin-top: 30px;
}

.btn-back:hover {
	background-color: #edd8c5;
}

/* .swiper-archive .swiper-wrapper img {
	width: 100%;
} */

.gallery-inner {
	display: grid;
	gap: 15px;
	grid-template-columns: repeat(3, 1fr);
	width: 100%;
	position: relative;
}

.gallery-inner:not(.awards) {
	margin-top: 30px;
}

.gallery-inner-item {
	grid-column: span 1;
}

.gallery-inner img {
	width: 100%;
}

.portrait {
	width: 33%;
}

.single-content .portrait-img {
	width: 100%;
}

.single-content .portrait {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 30px;
}

.sources-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-top: 40px;
}

.source-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #000 !important;
	text-decoration: none;
	width: 70px;
	height: 70px;
	border-radius: 100%;
	border: 1px solid #000;
	background: #fff;
	font-size: 14px;
	font-family: "Marck Script", serif;

}

.gallery-inner.awards {
	display: flex;
	justify-content: center;
}

.gallery-inner.awards img {
	width: 100%;
}

.info {
	padding-top: 50px;
	background-image: url('/wp-content/uploads/2025/04/18fb3e_2371acb6d02445bdb14cec88a4900d45mv2-3.webp');
	background-repeat: repeat;
	min-height: 100vh;
	padding-bottom: 60px;
}

.info-title {
	font-family: "Marck Script", serif;
	text-align: center;
	text-decoration: underline;
	font-size: 24px;
}

.info-content>* {
	color: rgb(71, 44, 12);
	font-family: "Marck Script", serif;
	font-size: 22px;
}

.info-content a {
	color: #8B0000;
}

.info-podpis {
	margin-top: 40px;
	text-align: right;
	color: rgb(71, 44, 12);
	font-family: "Marck Script", serif;
	font-size: 22px;
}

.news-item {
	margin-bottom: 40px;
	text-align: center;
}

.news-item-date {
	font-family: "Marck Script", serif;
	text-align: center;
	text-decoration: underline;
	font-size: 25px;
	margin-bottom: 10px;
	color: rgb(71, 44, 12);
}

.news-item-content {
	font-family: "Marck Script", serif;
	text-align: center;
	font-size: 22px;
	color: rgb(71, 44, 12);
}

.news-item-content a {
	color: #8B0000;
	text-decoration: underline;
}

.feedback-container {
	background: url('/wp-content/uploads/2025/04/18fb3e_a7d0e338d8b149c8ab1134f92d53660bmv2.jpg');
	background-size: cover;
	padding-top: 50px;
	padding-bottom: 60px;
	min-height: 100vh;
}

.feedback {
	background: #faf7f2;

}

.btn-accent {
	background: #a88a70;
	color: #fff;
}

.btn-accent:hover {
	background: #6e0707;
	color: #fff;
}

.form-control {
	outline: unset !important;
}

.news-elem-items a {
	font-family: "Marck Script", serif;
	font-size: 22px;
	color: #8B0000;
	text-decoration: underline;
	transition: 0.3s ease;
}

.news-elem-items a:hover {
	color: #a88a70;
	transition: 0.3s ease;
}

ol,
ul {
	padding-left: unset;
}

.tree {
	width: max-content;
	height: 100%;

}


#tree3 {
	width: 100%;
	overflow-x: scroll;
	min-height: 100vh;
	height: 100%;
}

/*
.tree ul {
	padding-top: 50px !important;
} */

.tree li a {
	color: #333 !important;
	border: unset !important;
}

body a[href="/97"] {
	border: 2px #000 dashed !important;
}

.tree {
	position: relative;
}

.line-block {
	position: absolute;
	width: 100%;
	overflow-x: visible;
	left: 0;
	z-index: 5;
	display: none;
	/* top: 300px; */
}

.line-width {
	height: 1px;
	border: 1px dashed #8B0000;
	width: 100%;
}

.tree::-webkit-scrollbar {
	display: none;
}

#tree3::-webkit-scrollbar {
	display: none;
}

.line-block p {
	margin-left: 15px;
	font-size: 16px;
	font-family: "Marck Script", serif !important;
}