/* 
 Theme Name:   Tierheime Theme
 Theme URI:    
 Description:  
 Author:       spectory
 Author URI:   https://tiere-die-ins-leben-passen.at
 Template:     hello-biz
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/

html, body {
	font-size: 16px !important;
	overscroll-behavior: none !important;
}

.elementor-widget-text-editor p > a {
	color: inherit;
	text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


@media only screen and (max-width: 767px) {
  .only-lg {
    display: none !important;
  }
	.footer-menu * {
	color: white !important;
}
}

@media only screen and (min-width: 768px) {
	.only-sm {
    	display: none !important;
  	}
	.elementor-field-group.is-ghost {
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		max-width: 0;
		max-height: 0px !important;
	}
}

@media only screen and (max-width: 767px) {
	.elementor-field-group.is-ghost {
		display: none !important;
	}
}

#th_adresse > p {
	white-space: pre-line;
}

.longer-btn .elementor-button .elementor-button-content-wrapper {
    transition: gap 250ms ease;
}

.longer-btn .elementor-button:hover .elementor-button-content-wrapper {
    gap: 30px !important;
}

.handmade_by_spectory {
	background: #3C3C3C !important;
	padding: 6px 15px;
	border-radius: 20px;
	transform: scale(0.6);
	transform-origin: left;
	max-width: 380px;
}
@keyframes handmade_logo {
    to { background-position-y: -5290px; }
}

@media only screen and (max-width: 767px) {
	.handmade_by_spectory {
		transform-origin: center;
	}
}

.handmade_by_spectory .handmade_logo {
    width: 250px;
    height: 35px;
	margin: 0 auto;
    background: url(./assets/sprite_sheet.png) -10px -10px;

}

.handmade_by_spectory .handmade_logo.activated {
    animation: handmade_logo 3s steps(96) forwards;
}
#abfrage select.elementor-field-textual{
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("https://tiere-die-ins-leben-passen.at/wp-content/uploads/2025/12/arrow-down.svg") !important;
	background-repeat: no-repeat !important;
	background-position: right 18px center !important;
	background-size: 14px 14px !important;
}

#abfrage select.is-placeholder{
	color: rgb(117, 117, 117) !important;
}

.breadcrumb-tier {
	font-weight: 700 !important;
	font-size: 1.11em !important;
}


.elementor-form .select-caret-down-wrapper {
	display: none !important;
}

.elementor-form select::-ms-expand{ display:none; } /* Alt-IE/Edge */


#th_verwahrung, #th_streunerkatzen {
	font-weight: 500 !important;
}

.th_standort {
		transition: all 150ms ease !important;
	}
	.th_standort.active, .th_standort:hover {
		transform: scale(1.25) !important;
		background-color: #0073C4 !important;
	}
	.th_standort.active {
		z-index: 50 !important;
	}
	
	.th_standort .elementor-spacer {
		position: relative !important;
	}
	
	.th_standort.active .elementor-spacer::after, .th_standort:hover .elementor-spacer::after {
		content: attr(data-title);
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100px;
		box-shadow: 0 4px 30px 8px rgba(0, 0, 0, 0.10);
		-webkit-box-shadow: 0 4px 30px 8px rgba(0, 0, 0, 0.10);
		-moz-box-shadow: 0 4px 30px 8px rgba(0, 0, 0, 0.10);
		position: absolute;
		right: 100%;
		background-color: white;
		z-index: 100;
		bottom: 100%;
		font-weight: 700;
		padding: 8px 16px;
		width: max-content;
		max-width: min(260px, 40vw);
		line-height: 115%;
		text-align: center;
		font-size: clamp(0.75rem, 0.4vw + 0.7rem, 1rem);
		pointer-events: none;
	}

.standorte:has(.th_standort:not(.active):hover) .th_standort.active .elementor-spacer::after {
	display: none !important;
}

.standorte:has(.th_standort:not(.active):hover) .th_standort.active {
	background-color: #c6c6c6 !important;
}

.th_standort:hover {
	z-index: 101 !important;
}

#berichte {
	max-height: 0 !important;
	overflow: hidden;
	height: 100%;
	transition: max-height 450ms ease;
}

#berichte.open {
	max-height: 2000px !important;
}

.s_kachel:not(.selected) {
	cursor: pointer !important;
}

.s_kachel.selected .elementor-heading-title {
	text-decoration: underline !important;
}

/* Fundtiere */

.fundtier-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
	
.fundtier-card {
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.60) !important;
	box-shadow: 0 4px 30px 8px rgba(0, 0, 0, 0.10) !important;
	backdrop-filter: blur(12.5px);
	-webkit-backdrop-filter: blur(12.5px);
	-moz-backdrop-filter: blur(12.5px);
	color: #0A1552;
}
	
.fundtier-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1.13 / 1;
	object-fit: cover;
	object-position: top;
	display: block;
	margin: 0 0 10px;
	border-top-left-radius: 12px !important;
	border-top-right-radius: 12px !important;
}

.fundtier-img.blur {
	-webkit-filter: blur(5px) !important;
	filter: blur(5px) !important;
}

.fundtier-meta {
	padding: 30px 30px 25px 30px;
}

.fundtier-meta h2 {
	color: #0A1552;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 37px;
	letter-spacing: -0.48px;
	margin: 0;
}
	
.fundtier-meta .tiernummer {
	color: #0073C4;
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 28px; /* 155.556% */
	letter-spacing: -0.36px;
	margin-bottom: 16px;
}

.fundtier-error {
	text-align: center;
	margin-top: 100px;
	margin-bottom: 200px;
}

.fundtier-error h1 {
	font-size: 40px;
	font-weight: 700;
	text-transform: uppercase;
}
	
.fundtier-pagi {
	display: flex;
	gap: 8px;
	margin-top: 16px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
	
.fundtier-pagi a, .fundtier-pagi .current {
	padding: 7px 10px;
	color: rgba(10, 21, 82, 0.28);
	font-size: 24px;
	font-weight: 700;
}
	
.fundtier-pagi .current {
	text-decoration: underline;
	color: #0A1552;
}
	
.fundtier-pagi .dots {
	padding: 0 4px;
	opacity: .7;
}

.fundtier-pagi a.fundtier-pagi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.fundtier-pagi img.fundtier-arrow {
  width: 20px;
  height: 20px;
  display: block;
}

.fundtier-pagi img.fundtier-arrow-left {
  transform: rotate(180deg);
}

.fundtier-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tier-single {
	display: flex;
	gap: 50px;
	font-size: 20px !important;
	justify-content: center;
	align-items: center;
}

.tier-single > img {
	width: 35%;
}

.tier-single h1, .verwahrer-infos h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 100%;
	letter-spacing: -0.8px;
	text-transform: uppercase;
	margin: 0;
}

.found-cooldown {
	display: flex;
	flex-direction: column;
	padding: 10px 15px;
	border-radius: 85px;
	border: 2px solid #B80000;
	max-width: 290px;
	font-size: 1.125rem;
	position: absolute;
	right: 0;
	top: -6px;
	background: rgba(255, 255, 255, 0.50);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	-moz-backdrop-filter: blur(6px);
}

.found-cooldown > span {
	gap: 1rem;
	display: flex;
	justify-content: space-between;
}

.found-cooldown.is-available {
	border-color: rgba(0, 168, 22, 1);
}

.found-cooldown.open .label {
	visibility: hidden;
}

.found-cooldown p {
	max-height: 0;
	height: 100%;
	margin: 0;
	overflow: hidden;
	font-size: 1rem;
}

.found-cooldown.is-available img {
	display: none;
}

.found-cooldown img {
	width: 21px;
	cursor: pointer;
}

.found-cooldown.open {
	border-color: #000 !important;
	border-radius: 20px;
	max-width: 350px;
}

.found-cooldown.open p {
	max-height: 600px;
}

.name-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 50px;
	position: relative;
}

.single-meta {
	width: 60%;
	display: flex;
	flex-direction: column;
	gap: 50px;
	justify-content: space-between;
}

.single-tier-img {
	border-radius: 12px !important;
	width: 100%;
	height: auto;
	aspect-ratio: 1.13 / 1;
	object-fit: cover;
	object-position: top !important;
}

.single-meta table, .single-meta tr, .single-meta td,
.verwahrer-infos table, .verwahrer-infos tr, .verwahrer-infos td{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent !important;
}

.single-meta table tr td:first-child, .verwahrer-infos table tr td:first-child {
	font-weight: 700;
}

.single-meta table tr td {
	padding-bottom: 6px !important;
}

.single-meta tr.fund-spalte td {
	padding-top: 2em;
}

.verwahrer-infos table tr td {
	padding-bottom: 12px !important;
}

.verwahrer-infos table a {
	color: inherit;
	text-decoration: underline;
}

.verwahrer-infos {
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.60);
	box-shadow: 0 4px 30px 8px rgba(0, 0, 0, 0.10);
	backdrop-filter: blur(12.5px);
	-webkit-backdrop-filter: blur(12.5px);
	-moz-backdrop-filter: blur(12.5px);
	padding: 45px 60px 40px 40px;
	display: flex;
	font-size: 20px;
	margin-top: 45px;
	margin-bottom: -40px;
}

.verwahrer-infos > div {
	width: 50%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.verwahrer-infos .opening {
	margin-top: 30px;
}

#abfrage .elementor-message {
	display: none !important;
}

.header-menu .e-n-menu-title.e-current, .header-menu .e-link:hover, .mobile-menu .e-n-menu-title.e-current, .footer-menu .e-link:hover {
	text-decoration: underline;
}

.rasse, .age_sex {
	font-weight: 700;
}

.skip-link {
  position: fixed !important;
  left: 100% !important;

  padding: 0.75em 1em !important;
  background: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.skip-link:focus-visible {
  position: static !important;
}

.skip-link:focus {
	position: static !important;
}

#open-berichte .elementor-button-icon {
	transition: transform 250ms ease;
}

body:has(.fundtier-grid) .prefooter {
	display: none;
}

body:has(#berichte.open) #open-berichte .elementor-button-icon {
	transform: rotate(45deg);
}

#show-tiersuche {
	display: none;
}

.single-breadcrumbs {
	font-size: 1.125rem !important;
	margin-bottom: 25px;
}

.single-breadcrumbs a {
	color: inherit;
}

.found-cooldown.is-available > span {
	justify-content: center;
}

.fundtier-grid .fundtier-media {
	position: relative;
}

.fundtier-grid .found-cooldown {
	bottom: 12px;
	top: auto;
	right: 12px;
	padding: 4px 8px;
	font-size: 1rem;
	width: min(210px, 100%);
	align-items: center;
}

#abfrage select:focus-visible, #abfrage input:focus-visible, #open-berichte:focus-visible {
	outline: 2px solid #0073C4 !important;
	transition: none !important;
	outline-offset: 2px;
}

.footer-menu:not(.row) .e-n-menu-heading {
	flex-direction: column !important;
	align-items: center !important;
}

@media only screen and (max-width: 767px) {
	.footer-menu {
		color: white !important;
	}
	body.ts-prefill .tiersuche-form{ display:none; }
  	body.ts-prefill #show-tiersuche{ display:block; }
	
	.name-line {
		flex-direction: column-reverse;
		gap: 40px;
	}
	
	.tier-single .found-cooldown {
		position: static;
		max-width: initial;
	}
	
	.fundtier-grid .found-cooldown {
		font-size: 0.6rem !important;
		width: auto;
	}
	
	.fundtier-media {
		width: 45%;
	}
	
	.single-meta tr.fund-spalte td {
		padding-top: initial;
	}
	
	.single-breadcrumbs {
		font-size: 1rem !important;
		margin-bottom: 15px;
	}
	
	.rasse, .age_sex {
		font-size: 14px !important;
	}
	
	.fundtier-grid {
		grid-template-columns: 1fr !important;
	}
	
	.fundtier-card {
		display: flex;
	}
	
	.fundtier-card h2 {
		font-size: 1.25rem !important;
		line-height: 1.25em !important;
	}
	
	.fundtier-img {
		width: 100%;
		height: 100% !important;
		border-top-right-radius: 0 !important;
		border-bottom-left-radius: 12px !important; 
	}
	
	.fundtier-meta {
		padding: 20px 12px;
	}
	
	.tier-single {
		flex-direction: column;
		padding-left: 18px;
		padding-right: 18px;
		gap: 30px;
	}

	.single-tier-img {
		width: 100% !important;
	}
	
	.single-meta table td:first-child {
		padding-right: 16px;
	}
	
	.single-meta {
		padding-bottom: 0;
		width: 100%;
	}
	
	.verwahrer-infos {
		flex-direction: column;
		padding: 25px 25px 50px 25px;
		font-size: 16px !important;
	}
	
	.verwahrer-infos table tr, .single-meta table tr {
		display: flex;
		flex-direction: column;
	}
	
	.verwahrer-infos > div {
		width: 100%;
	}
	
	.single-meta h1 {
		margin-bottom: 10px;
	}
	
	.verwahrer-infos h2 {
		font-size: 34px;
		text-align: center;
		margin-bottom: 35px !important;
	}
	
	.verwahrer-infos table td:first-child, .single-meta table td:first-child {
		padding-bottom: 0px !important;
	}
	
	.single-meta table td:last-child {
		padding-bottom: 16px !important;
	}
	
	.th_standort.active.righty .elementor-spacer::after {
		right: auto;
		left: 100%;
	}
	
	.fundtier-meta .tiernummer {
		font-size: 16px;
	}
	
}