/*
 Theme Name:   Nerf Child
 Theme URI:    http://wordpress.com
 Description:  Nerf Child Theme
 Author:       ApusTheme
 Author URI:   http://apusthemes.com
 Template:     nerf
 Version:      1.0.2
 Text Domain:  nerf-child
*/

#apus-header .flix-top-header{
	background-color: transparent;
    position: fixed !important;
    transition: all .3s ease-in-out;
}
#apus-header .flix-top-header.scrolled{
    background-color: #052a30 !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

.flix-intro-slider-highlight{
	color: #AC9F92;
}

.flix-header-white-logo{
    transition: all .3s ease-in-out;
}
.flix-header-black-logo{
    opacity: 0;
    position: absolute; 
    transition: all .3s ease-in-out;
}

.anim-loop-left .elementor-heading-title {
    animation: loop-anim-left 100s linear infinite normal !important;
    -webkit-animation: loop-anim-left 100s linear infinite normal !important;
    -moz-animation: loop-anim-left 100s linear infinite normal !important;
}
  
.anim-loop-right .elementor-heading-title {
    animation: loop-anim-right 100s linear infinite normal !important; 
    -webkit-animation: loop-anim-right 100s linear infinite normal !important;
    -moz-animation: loop-anim-right 100s linear infinite normal !important;
}

.elementor-62 .elementor-element.elementor-element-46344d5 .elementor-heading-title{
    -webkit-text-stroke-color: #b4a99c !important;
    stroke: #b4a99c !important;
}

/* .elementor-62 .elementor-element.elementor-element-daec819 .elementor-button{
    background-color: #052a30 !important;
    border-color: #052a30 !important;
} */

/* —— Apartments card: overlay bar (titulek | Area | Price from) —— */
.apartment-card__img-wrap {
	overflow: hidden;
}

.apartment-card-overlay {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	min-height: 52px;
}

.apartment-card-overlay--no-img {
	margin-top: 0;
}

.overlay-segment {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 0.75rem;
	font-size: 0.9rem;
	text-align: center;
}

.overlay-segment.overlay-title {
	background-color: #052a30;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	text-transform: uppercase;
}

.overlay-segment.overlay-title a {
	color: inherit;
	text-decoration: none;
}

.overlay-segment.overlay-title a:hover {
	opacity: 0.85;
}

.overlay-segment.overlay-area {
	background-color: #e8e4df;
	color: #2c2c2c;
}

.overlay-segment.overlay-price {
	background-color: #c4b8a8;
	color: #2c2c2c;
	font-weight: 400;
}

/* v1: overlay vždy viditelný, info bez paddingu */
.apartment-card.v1 .info {
	padding: 0 !important;
	left: 0 !important;
	width: 100% !important;
}

.apartment-card.v1 .info,
.apartment-card.v1 .info a {
	color: #fff;
}

.apartment-card.v1 .overlay-segment.overlay-title a { color: #fff; }
.apartment-card.v1 .overlay-segment.overlay-area,
.apartment-card.v1 .overlay-segment.overlay-price { color: #2c2c2c; }

/* v2: overlay vždy viditelný, bez hover skrývání */
.apartment-card.v2 .info {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	opacity: 1 !important;
	transform: none !important;
	background: transparent !important;
}

.apartment-card.v2:hover .info {
	opacity: 1 !important;
	transform: none !important;
}

/* base inner-grid: post-thumbnail v img-wrap */
.apartment-card .apartment-card__img-wrap .post-thumbnail {
	margin-bottom: 0;
}

@media (max-width: 575px) {
	.apartment-card-overlay { min-height: 46px; }
	.overlay-segment { padding: 0.5rem 0.5rem; font-size: 0.8rem; }
}

.flix-video-small-frame a.popup-video{
    display: none !important;
}

.flix-homepage-extras .slick-slide a.action-img{
    pointer-events: none;
}

.flix-homepage-extras .slick-slide .image-item .title{
    z-index: 1;
    position: absolute;
    background: rgba(255,255,255,.9);
    padding: 16px 32px;
    bottom: 10px;
    left: 30px;
    backdrop-filter: blur(3px);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
}

.flix-house-grid article.apartment .image-wrapper img{
	transition: all .5s ease-in-out;
}
.flix-house-grid article.apartment:hover .image-wrapper img{
	transform: scale(1.1);
}

.flix-why .item-inner-features .top-inner img{
	width: auto;
	max-width: none;
	max-height: 50px;
	transition: all .3s linear;
}
.flix-why .item-inner-features:hover .top-inner img{
	filter: brightness(0) invert(1);
}
.flix-why .description{
	line-height: 1.6;
}

.flixhome-contact-form .form-group label{
	color: white;
}
.flixhome-contact-form .form-group input.form-control{
	color: white;
	border-color: rgba(255,255,255,.2);
}
.flixhome-contact-form .form-group input.form-control::placeholder{
	color: rgba(255,255,255,.75);
}
.flixhome-contact-form .form-group select{
	border-color: rgba(255,255,255,.2);
	color: white;
}
.flixhome-contact-form .form-group select option{
	color: rgba(255,255,255,.75);
}

.flix-footer-big-contacts a{
	color: white !important;
}

.standard-accordion .elementor-accordion-title{
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.standard-accordion .elementor-accordion-title > em{
	width: 36px;
	height: 36px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	display: inline-block;
}

.standard-accordion .elementor-accordion .elementor-accordion-item:first-child .elementor-tab-content{
	display: none !important;
}
.standard-accordion .elementor-accordion .elementor-accordion-item:first-child .elementor-accordion-icon{
	display: none !important;
}
.standard-accordion .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title{
	color: #AC9F92;
}
.standard-accordion .elementor-accordion .elementor-accordion-item:first-child .elementor-tab-title.elementor-active .elementor-accordion-title{
	color: rgb(14, 23, 15)
}

.standard-dph{
	background-image: url(./images/standard-percent.svg);
	background-size: 32px !important; 
}
.standard-project{
	background-image: url(./images/standard-project.svg);
	background-size: 32px !important;
}
.standard-wall{
	background-image: url(./images/standard-wall.svg);
	background-size: 32px !important;
}
.standard-roof{
	background-image: url(./images/standard-roof.svg);
}
.standard-window{
	background-image: url(./images/standard-window.svg);
	background-size: 32px !important;
}
.standard-floor{
	background-image: url(./images/standard-floor.svg);
	background-size: 32px !important;
}
.standard-facade{
	background-image: url(./images/standard-facade.svg);
}
.standard-water{
	background-image: url(./images/standard-water.svg);
}
.standard-electro{
	background-image: url(./images/standard-electro.svg);
}
.standard-heating{
	background-image: url(./images/standard-heating.svg);
	background-size: 32px !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
}
.flixhome-table {
    width: 100%;
    border-collapse: collapse;
}
.flixhome-table th {
    padding: 16px;
    text-align: left;
    font-size: 16px;
    text-transform: uppercase;
    /* letter-spacing: 0.05em; */
    /* background-color: #fff;  */
	/* color: white; */
    /* border-bottom: 2px solid #333; */
}
.flixhome-table td {
    padding: 16px;
    /* border-bottom: 1px solid #d6d0ca; */
    font-size: 15px;
    vertical-align: middle;
}
.flixhome-table td.price {
    font-weight: 700;
    white-space: nowrap;
}
/* Responzivní úprava pro mobily */
@media (max-width: 600px) {
    .flixhome-table th, .flixhome-table td {
        padding: 12px 10px;
        font-size: 14px;
    }
}

/* FlixHome Gallery – text pod nadpisem */
.flixhome-gallery .gallery-item-text {
	margin-top: 0.35em;
	margin-bottom: 0;
	font-size: 0.9em;
	line-height: 1.4;
	color: #fff;
}

/* FlixHome Gallery – aspect ratio 10:9, obrázek cover */
.flixhome-gallery .item {
	aspect-ratio: 10 / 9;
	overflow: hidden;
}

.flixhome-gallery .image-item {
	position: relative;
	height: 100%;
}

.flixhome-gallery .action-img {
	position: absolute;
	inset: 0;
	display: block;
}

.flixhome-gallery .action-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.flixhome-gallery .slide-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
	color: #fff;
}

.flixhome-gallery .slide-caption-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 5rem;
}

.flixhome-gallery .slide-caption-header {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 16px;
}

.flixhome-gallery .slide-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background-color: #c4b8a8;
	color: #fff;
	font-weight: 600;
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

/* Přepsání stylů z rodičovské šablony (.widget-gallery-images.style1 .title) */
.widget-gallery-images.flixhome-gallery .slide-caption-inner .title,
.widget-gallery-images.flixhome-gallery .slide-caption-inner h4.title {
	position: relative !important;
	margin: 0 0 0 !important;
	padding: 0 !important;
	bottom: auto !important;
	left: auto !important;
	width: auto !important;
	font-size: 32px;
}

.flixhome-gallery .slide-caption-inner .gallery-item-text {
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
	max-width: 650px;
	opacity: 0.75;
}

.bobr-bg-standard{
	position: relative;
}
.bobr-bg-standard::before{
	content: "";
	width: 500px;
	height: 1000px;
	display: inline-block;
	position: absolute;
	right: 2%;
	top: -5%;
	background: url(./images/bobr.svg) no-repeat center center;
	background-size: contain;
	opacity: .025;
	pointer-events: none;
}

.apartment-heading{
	background-position: center;
	overflow: hidden;
	padding-top: 190px !important;
	padding-bottom: 200px !important;
}
.apartment-heading .apartment-heading-top-link{
	color: #AC9F92 !important;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 20px;
}
.apartment-heading h1{
	font-size: 80px;
	font-weight: 400;
	color: white;
	text-transform: uppercase;
	margin-top: 10px !important;
	position: relative;
}
.apartment-heading h1::before{
	content: "";
	width: 357px;
	height: 411px;
	display: inline-block;
	position: absolute;
	margin-top: 45px;
	left: -110px;
	top: 50%;
	transform: translateY(-50%);
	background: url(./images/bobr-house-detail.svg) no-repeat center center;
}
.apartment-heading .apartment-dots{
	position: absolute;
	display: block;
	z-index: 2;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: url(./images/dot.png) repeat center center;
	background-size: 5px;
	opacity: .5;
}
.apartment-heading .apartment-overlay{
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,38,42,.85);
}
.apartment-heading .apartment-thumbnail-bg{
	position: absolute;
	z-index: 0;
	top: -2.5%;
	left: -2.5%;
	width: 105%;
	height: 105%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: blur(15px);
}
.apartment-heading .apartment-text-content{
	position: relative;
	z-index: 2;
}
.apartment-heading .apartment-meta{
	font-size: 18px;
	gap: 20px;
	display: flex;
	align-items: center;
	color: white;
}
.apartment-heading .apartment-meta .apartment-price{
	font-weight: 600;
}
.apartment-heading .apartment-heading-bottom{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 10px;
}
.apartment-heading .aparmtnet-section-navigation ul{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 20px;
}
.apartment-heading .aparmtnet-section-navigation ul li{
	font-size: 16px;
	text-transform: uppercase;
}
.apartment-heading .aparmtnet-section-navigation ul li a{
	color: white;
}
.apartment-heading .aparmtnet-section-navigation ul li a:hover{
	color: #AC9F92;
	text-decoration: underline;
}

.flix-house-detail-gallery{
	position: relative;
	z-index: 2;
}

.flix-house-detail-param-table {
	width: 100%;
	max-width: 600px;
}

.flix-param-row {
	display: flex;
	align-items: baseline;
	padding: 4px 0;
	margin-bottom: 3px;
}

.flix-param-label {
	font-size: 18px;
	color: #333;
	white-space: nowrap;
}

.flix-param-spacer {
	flex: 1;
	margin: 0 15px;
	border-bottom: 1px solid rgba(0,0,0,.15);
	position: relative;
	top: 0;
}

.flix-param-value {
	font-size: 18px;
	font-weight: 500;
	color: #000;
	white-space: nowrap;
	text-align: right;
}

@media (max-width: 400px) {
	.flix-param-label, .flix-param-value {
		font-size: 14px;
	}
}

/* FlixHouse Detail Gallery Slider - aspect ratio a object-fit cover */
.flix-house-detail-gallery-slider .item {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.flix-house-detail-gallery-slider .image-item {
	position: relative;
	height: 100%;
	width: 100%;
}

.flix-house-detail-gallery-slider .action-img {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
}

.flix-house-detail-gallery-slider .action-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.flix-house-detail-variants .tabs-apartment > li > a.active{
	background: #AC9F92;
	color: white;
}
.flix-house-detail-variants .flix-no{
	color: #AC9F92;
	font-weight: 600;
	margin-right: 10px;
	font-style: normal;
}
.flix-house-detail-variants .widget-information-apartment{
	font-size: 18px;
	font-weight: 400;
}
.flix-house-detail-variants .widget-information-apartment .value{
	font-weight: 500;
}
.flix-house-detail-variants  .widget-information-apartment .list-info{
	border-bottom: 0;    
	padding-bottom: 5px;
    margin-bottom: 5px;
	position: relative;
}
.flix-house-detail-variants  .widget-information-apartment .list-info::before{
	content: "";
	width: 100%;
	height: 1px;
	background-color: rgba(0,0,0,.15);
	display: block;
	position: absolute;
	left: 0;
	bottom: 15px;
}
.flix-house-detail-variants  .widget-information-apartment .list-info .title-info{
	background: #fff;
	position: relative;
	z-index: 2;
	padding-right: 10px;
} 
.flix-house-detail-variants  .widget-information-apartment .list-info .value{
	background: #fff;
	position: relative;
	z-index: 2;
	padding-left: 10px;
}
.flix-house-detail-variants .flix-total-row .widget-information-apartment{
	font-weight: 500;
}
.flix-house-detail-variants .flix-total-row .widget-information-apartment .list-info::before{
	display: none;
}
.flix-house-variants-wrap ul{
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.flix-house-variants-wrap ul li{
	display: flex;
	gap: 15px;
	line-height: 1.5;
}
.flix-house-variants-wrap ul li p{
	line-height: 1.5;
}
.flix-house-variants-wrap ul li::before{
	content: "";
	min-width: 16px;
	width: 16px;
	height: 16px;
	background: url(./images/check.svg) no-repeat center center;
	background-size: 16px;
	display: inline-block;
	position: relative;
	left: 0;
	top: 5px;
}