/* Navigačné menu pre Realitné projekty */
.real-estate-projects-navigation {
    background-color: #000000 !important;
    color: #fff;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    align-items: stretch;
    padding-left: 6.75rem;
    padding-right: 6.75rem;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}
h2{
	color:white;
}
.real-estate-projects-menu {
    display: inline-flex;
    gap: 1rem;
    align-items: stretch;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    margin-bottom: 4.5rem;
    font-weight: 300;
    overflow-x: auto;
    padding-bottom: 0.625rem;
}

.real-estate-projects-menu-item {
    padding-bottom: 0.5rem;
    font-size: 1.5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-weight: 300;
    color: #989898;
    white-space: nowrap;
}

.real-estate-projects-menu-item.active {
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
    border-bottom: 0.1rem solid #fff;
}

.real-estate-projects-menu-item:hover {
    border-bottom: 0.1rem solid #989898;
    cursor: pointer;
}

/* Detaily projektu */
.real-estate-projects-details {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
}

.project-link-wrapper {
    font-size: 1.5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    font-weight: 300;
}

.real-estate-projects-details-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 106.5rem;
}

.real-estate-projects-details-left {
    display: flex;
    width: 47.3125rem;
    height: 34rem;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.real-estate-projects-details-left h2 {
    font-size: 5rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-weight: 500;
    margin: 0 0 0.5rem;
    line-height: 6.25rem;
}

.project-subtitle {
    font-size: 1.5rem;
    display: flex;
    line-height: 2.125rem;
    font-weight: 300;
    flex-wrap: nowrap;
    color: #fff;
    gap: 1.5rem;
    justify-content: flex-start;
}

.project-subtitle.plain-text {
    display: block;
}

.subtitle-block {
    display: flex;
    align-items: baselline;
}

/* Klikateľný odkaz */
.project-link {
    color: #989898 !important;
    font-size: 1.5rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-weight: 300;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.project-link a {
    color: #989898 !important;
    font-size: 1.5rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    font-weight: 300;
    text-decoration: none;
}

.project-link a:visited {
    color: #989898 !important;
}

.project-link a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

.project-link-wrapper a {
    font-size: 1.5rem !important;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.project-link-wrapper a u {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-underline-offset: 2px;
    text-decoration: underline !important;
}

.project-link a u {
    text-decoration: underline !important;
    font-size: 1.5rem !important;
    font-weight: 300;
    color: #989898 !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    text-underline-offset: 2px;
}

.project-link a:active {
    color: #989898 !important;
}

/* Realitné detaily */
.real-estate-projects-details-rows {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: calc(1.5rem - 0.0625rem);
    flex-wrap: wrap;
}

.detail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    width: 100%;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-field {
    border-left: 0.1rem solid #fff;
    padding-left: 1rem;
    flex: 0 0 calc(33.33% - 0.833125rem);
    box-sizing: border-box;
}

.detail-top {
    font-size: 1rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #fff !important;
    text-transform: none !important;
    font-weight: 300 !important;
}

.detail-middle {
    font-size: 2.5rem !important;
    font-family: 'Georgia Pro', serif !important;
    font-weight: 400 !important;
    color: #fff !important;
}

.detail-bottom {
    color: #fff !important;
    font-weight: 300 !important;
    font-size: 1rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
}

/* Pravý blok detaily */
.real-estate-projects-details-right {
    display: flex;
    width: 52.5rem;
    justify-content: flex-end;
    flex-direction: column;
    text-align: right;
    box-sizing: border-box;
}

.real-estate-projects-details-right img {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

/* Media Queries pre responzivitu */
@media (max-width: 820px) {
    .real-estate-projects-details-inner {
        flex-direction: column;
        gap: 2rem;
    }
	.real-estate-projects-menu-item {
    padding-bottom: 0.5rem;
    font-size: 1rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif;
    font-weight: 300;
    color: #989898;
    white-space: nowrap;
}
	.real-estate-projects-details-right img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
	.project-link-wrapper {
    font-size: 1rem;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    font-weight: 300;
}
.project-link-wrapper a {
    font-size: 1rem !important;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
.project-link-wrapper a u {
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #989898 !important;
    text-underline-offset: 2px;
    text-decoration: underline !important;
}
	.real-estate-projects-menu-item:hover {
        border-bottom: none;
        cursor: default;
		font-size:1rem;
    }
	.real-estate-projects-menu-item.active {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
    border-bottom: 0.1rem solid #fff;
}
	.detail-bottom {
    color: #fff !important;
    font-weight: 300 !important;
    font-size: 0.875rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
}
	.detail-top {
    font-size: 0.875rem !important;
    font-family: 'Fedra Sans Alt Pro', sans-serif !important;
    color: #fff !important;
    text-transform: none !important;
    font-weight: 300 !important;
}
    .real-estate-projects-navigation {
        padding-left: 1rem;
        padding-right: 1rem;
    }
	.real-estate-projects-details-left-bottom{
		display:flex;
		flex-direction:row;
	}
    .real-estate-projects-details-left,
    .real-estate-projects-details-right {
        width: 100%;
        padding-right: 0;
    }

    .real-estate-projects-details-left {
        height: auto;
    }

    .real-estate-projects-details-right {
        text-align: left;
    }

    .detail-field {
    border-left: 0.1rem solid #fff;
    padding-left: 0.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}
    
    .real-estate-projects-menu {
        margin-bottom: 2rem;
        justify-content: flex-start;
    }

    .real-estate-projects-details-left h2 {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .project-subtitle {
        font-size: 1rem;
        gap: 1rem;
        flex-direction: column;
		line-height:1.25rem;
        margin-bottom: 2rem;
    }
.real-estate-projects-menu::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.real-estate-projects-menu {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}
	.real-estate-projects-menu-item:hover {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
    border-bottom: 0.1rem solid #fff;
}
    .detail-row {
        display:block;
    }

    .detail-middle {
        font-size: 1.875rem !important;
    }

    .subtitle-number {
        font-size: 2rem !important;
    }

    .subtitle-text {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
		margin-top:0.4rem!important;
    }

    .project-link a,
    .project-link a u {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .real-estate-projects-menu {
        margin-bottom: 1.5rem;
    }

    .real-estate-projects-details-left h2 {
        font-size: 2.5rem;
        line-height: 2.813rem;
    }

    .real-estate-projects-menu-item,
    .real-estate-projects-menu-item.active {
        font-size: 1rem;
    }

    .project-subtitle {
        font-size: 0.9rem;
    }
}
