/**
CPS
 */

html {
    scroll-behavior: smooth;
}

body {
	font-family: "InterVariable", sans-serif; font-optical-sizing: auto;
	font-size: 12px;
	overflow-x: hidden;
}

#sect_maps {
	scroll-margin-top: 50px;
}

#sect_contacts {
	scroll-margin-top: 40px;
}

.active {
    background-color: #991B1B;
    color: #ffffff;
}


.panel_ani2 {
    perspective: 800px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.rotate-y-start {
    transform: rotateY(90deg);
}

.rotate-y-end {
    transform: rotateY(0deg);
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.translate-y-10 {
    transform: translateY(10px);
}

.translate-y-0 {
    transform: translateY(0px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-visible {
    opacity: 1;
    transform: translateX(0);
}



/** Google Maps */
.property {
	align-items: center;
	background-color: #FFFFFF;
	border-radius: 50%;
	color: #000000;
	display: flex;
	font-size: 14px;
	gap: 15px;
	height: 30px;
	justify-content: center;
	padding: 4px;
	position: relative;
	transition: all 0.3s ease-out;
	width: 30px;
}

.property::after {
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 9px solid #FFFFFF;
	height: 0;
	left: 50%;
	position: absolute;
	top: 95%;
	transform: translate(-50%, 0);
	transition: all 0.3s ease-out;
	width: 0;
	z-index: 1;
}

.property .icon {
	align-items: center;
	display: flex;
	justify-content: center;
	color: #d30d0d;
}

.property .icon svg {
	height: 20px;
	width: auto;
}

.property .details {
	font-family: "InterVariable", sans-serif; font-optical-sizing: auto;
	display: none;
	flex-direction: column;
	flex: 1;
}

.property .info {
	font-family: "InterVariable", sans-serif; font-optical-sizing: auto;
	background-color: #ffffff;
	border-radius: 4px;
	flex-direction: column;
	margin: 2px;
	padding: 3px;
}

.property .features {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.property .features > div {
	align-items: center;
	display: flex;
	font-size: 10px;
	gap: 5px;
	padding: 5px;
}

.property.highlight {
	background-color: #c31e1e;
	border-radius: 4px;
	box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
	height: auto;
	width: auto;
	padding: 8px;
}

.property.highlight::after {
	border-top: 9px solid #FFFFFF;
}

.property.highlight .nazev {
	background-color: #c31e1e;
	border-radius: 4px;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	padding: 0px;
	margin-bottom: 0px;
	margin-top: 0px;
	position: relative;
	transition: all 0.3s ease-out;
}

.property.highlight .address {
	font-family: "InterVariable", sans-serif; font-optical-sizing: auto;
	color: #ffffff;
	font-size: 10px;
	margin-left: 0px;
	margin-top: 0px;
	padding-bottom: 4px;
}

.property.highlight .nadpis {
	font-family: "InterVariable", sans-serif; font-optical-sizing: auto;
	color: #d30d0d;
	font-size: 11px;
	font-weight: bold;
	margin-bottom: 0px;
	margin-top: 0px;
	text-align: left;
}

.property.highlight .details {
	display: flex;
}

.property.highlight .icon {
	align-items: center;
	display: none;
	justify-content: center;
	color: #d30d0d;
}

.property.highlight .icon svg {
	width: 50px;
	height: 50px;
}

.nazev {
	color: #d30d0d;
}

.provoz {
	color: #000000;
}

.popis {
    color: #000000;
    font-size: 10px;
}


.property.highlight:has(.CPS) .icon {
	color: #ba2a27;
}

.property:not(.highlight):has(.CPS) {
	background-color: #ffffff;
	border: #ba2a27 solid 2px;
}

.property:not(.highlight):has(.CPS)::after {
	border-top: 9px solid #ba2a27;
}
/** Google Maps */


/** Back To Top Button */
a.back-to-top {
    position: fixed;
    z-index: 999;
    right: 0.75rem;
    bottom: 0.75rem;
    display: none;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 1.875rem;
    border: 0.125rem solid #ffffff;
    background: #ba2a27 url("../img/up-arrow.png") no-repeat center 47%;
    background-size: 1.125rem 1.125rem;
    text-indent: -9999px;
}

a:hover.back-to-top {
    background-color: #646464;
}
/** Back To Top Button */
