/*
Theme Name: Mozaik
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/********* PREDEFINED *********/
.navbar, footer, .hero-section, .over-title, .title, .text, .text-image, .point p, .flat-points, .contact-section, .editor, .flats-section, .map-section {
    font-family: var(--font-primary);
}

.text-color, a.text-color {
    color: var(--text-color) !important;
}

.light-text-color, a.light-text-color {
    color: var(--light-text-color) !important;
}

.primary-background {
    background-color: var(--primary-color) !important;
}

.primary-color {
    color: var(--primary-color) !important;
}

.secondary-background {
    background-color: var(--secondary-color) !important;
}

.secondary-color {
    color: var(--secondary-color) !important;
}

.link-color {
    color: var(--link-color) !important;
}

#lightbox {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%);
}

.hero-heading h1 {
    font-weight: 600;
    font-size: 32px;
    line-height: 1.1875;
    color: black;
}

.hero-heading h1 strong {
    font-weight: 700;
    color: var(--primary-color);
}

.over-title {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.83;
	text-transform: uppercase;
}

.title {
    font-weight: 600;
    font-size: 28px;
    line-height: 1.14;
    margin-bottom: 26px;
    color: black;
}

.text {
    font-size: 16px;
    line-height: 1.375;
    font-weight: 400;
    color: var(--light-text-color);
}

.container {
    padding-right: 20px;
    padding-left: 20px;
}

/********* NAVBAR *********/
.navbar {
    padding: 13px 0;
}

.navbar-brand {
	width: 158px;
	height: 36px;
	display: flex;
	justify-content: start;
	align-items: center;
}

.navbar-brand img {
    max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.navbar-toggler {
    width: 46px;
}

.navbar-toggler:focus, .navbar-toggler:focus-visible {
    box-shadow: none;
    outline: 0;
}

.line, .navbar-toggler:before, .navbar-toggler:after {
    content: "";
    position: relative;
    display: block;
    margin: 4px 0;
    width: 100%;
    height: 4px;
    background-color: black;
    top: 0;
    right: 0;
    opacity: 1;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.navbar-toggler:before {
    width: 80%;
}

.navbar-toggler:after {
    width: 70%;
}

.offcanvas-backdrop {
    display: none;
}

.offcanvas {
    --bs-offcanvas-transition: all 0.2s ease-in-out;
}

.logo-burger-wrapper {
    width: 100%;
}

.nav-link {
    position: relative;
    font-weight: 400;
    font-size: 22px;
    color: var(--primary-color);
    padding: 22px 0;
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.nav-item {
    border-bottom: 1px solid var(--primary-color);
    text-align: center;
    width: 100%;
}

.nav-item:first-child {
    border-top: 1px solid var(--primary-color);
}

.nav-icon {
	width: 37px;
	height: 37px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.nav-icon img {
	max-width: 100%;
	max-height: 100%;
    width: auto;
    height: auto;
	object-fit: contain;
}

.dropdown-toggle::after {
    color: var(--text-color)
}

.dropdown-menu {
    min-width: fit-content;
    border: 1px solid var(--primary-color);
    border-radius: 0;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-color);
}

/********* HERO *********/
.hero-section {
    padding-top: 40px;
    padding-bottom: 48px;
}

.hero-description {
    max-width: 270px;
    margin-bottom: 35px;
}

.hero-description p {
    margin-bottom: 0;
}

.hero-messages p {
    font-size: 18px;
    line-height: 1.125;
    margin-bottom: 18px;
}

.hero-messages p:last-child {
    margin-bottom: 0;
}

/********* FULL WIDTH IMAGE *********/
.full-width-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

/********* COUNTING *********/
.counting-section {
    padding-top: 45px;
    padding-bottom: 30px;
}

.counting-icon {
    width: 65px;
    height: auto;
	display: flex;
	justify-content: left;
	align-items: start;
}

.counting-icon img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
}

.textual-part {
    margin-left: 30px;
}

.number {
    font-size: 34px;
    color: #575756;
}

/********* TEXT AND IMAGE BLOCK *********/
.text-image-links a {
    font-size: 18px;
    line-height: 1.5;
	width: fit-content;
}

.link-arrow {
    height: 15px;
    width: auto;
}

.img-wrapper img {
    aspect-ratio: 1.25/1;
}

/********* CHECKPOINTS *********/
.checkpoints-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.checkpoints-section .title {
    margin-bottom: 40px;
}

.checkpoints-wrapper {
    padding: 35px 18px 5px 18px;
}

.point {
    gap: 10px;
    margin-bottom: 30px;
}

.point p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 0;
    max-width: 300px;
}

.point img {
    height: 14px;
    width: auto;
	max-width: 45px;
}

/********* FLAT POINTS *********/
.flat-points {
    padding-bottom: 50px;
}

.flat-points-text {
    max-width: 600px;
/*     margin-bottom: 60px; */
}

.flat-point-icon {
	width: 50px;
    height: 50px;
	display: flex;
	justify-content: start;
}

.flat-point-icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.flat-points-row {
    margin-top: 30px;
/*     padding-left: 20px; */
/*     padding-right: 40px; */
}

.flat-point-description {
    margin-left: 45px;
    /*max-width: 280px;*/
}

.filter-link {
    margin-bottom: 40px;
	width: fit-content;
}

.small-title {
    font-size: 16px;
    line-height: 1.5;
}

.small-description p {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
}

/********* IMAGE ROW *********/
.image-row {
    grid-template-rows: repeat(3, 350px);
}

.gallery-section .image-row {
    grid-template-rows: unset;
    grid-template-columns: repeat(auto-fill, 100%);
}

.gallery-section .image-row a {
    height: 350px;
}

/********* ROUNDED LOGOS *********/
.rounded-logos {
    padding-top: 140px;
    padding-bottom: 140px;
}

/********* LINK BOXES *********/
.darker-background {
    background-color: #575756;
}

.lighter-background {
    background-color: #55A97F;
}

.link-box {
    width: 100%;
    padding: 82px 28px;
}

/********* CONTACT *********/
.contact-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-logo {
    max-width: 109px;
	max-height: 85px;
    height: auto;
}

.contact-info p, .contact-info a, .contact-info .footer-title {
    font-size: 13px;
    color: #000000;
}

.contact-form input, .contact-form textarea {
    padding: 6px 19px;
    border: 1px solid #C7C7C7;
    border-radius: 0;
    font-size: 10px;
    line-height: 2;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form input:focus-visible, .contact-form textarea:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: #C7C7C7;
}

.acceptance .wpcf7-list-item {
    margin-left: 0;
}

.acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center;
}

.acceptance a, .acceptance p {
    color: #505050;
}

.acceptance input[type="checkbox"] {
    appearance: none;
    border: 1px solid #C7C7C7;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    padding: 4px;
    background: white;
}

.acceptance input[type="checkbox"]:checked {
    background: url("assets/images/checkmark.svg") center var(--primary-color) no-repeat;

}

.wpcf7-list-item .wpcf7-list-item-label {
    font-size: 10px;
    line-height: 1.6;
}

.contact-form input[type="submit"] {
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    color: black;
    border: none;
    padding: 0;
}

.contact-form input[type="submit"]:disabled, .contact-form:has(input[type="submit"]:disabled) .submit-button p:after {
    opacity: 0.5;
}

.submit-button p {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding-right: 45px;
}

.submit-button p:after {
    content: url("assets/images/link-arrow.png");
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 20px;
}

span.wpcf7-spinner {
    display: none;
}

/********* FLATS *********/
.flats-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.svg-wrapper {
    position: sticky;
    top: 119px;
    z-index: 1020;
}

.table-container {
    height: 700px;
    scroll-behavior: smooth;
}

.flats-table th {
    font-size: 12px;
    line-height: 2.25;
    background-color: #575756;
    color: white;
}

.flats-table th, .flats-table td {
    padding: 10px;
    text-align: start;
}

.flats-table tr, .flats-table th, .flats-table td {
    border-bottom: none;
	white-space: nowrap;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    background: #ffffff;
    box-shadow: none;
}

.table-striped > tbody > tr:nth-of-type(2n) > * {
    background: #E0E0E0;
    box-shadow: none;
}

.table-striped > tbody > tr > *, .table-striped > tbody > tr > * a {
    font-size: 14px;
    line-height: 1.15;
    color: #1D1D1B;
}

.table-striped > tbody > tr > * a {
	text-decoration: underline;
}

.table-striped > tbody > tr:hover:nth-of-type(2n) > *, .table-striped > tbody > tr:hover:nth-of-type(2n+1) > *,
.table-striped > tbody > tr.hovered:nth-of-type(2n) > *, .table-striped > tbody > tr.hovered:nth-of-type(2n+1) > * {
    background: rgba(85, 169, 127, 0.5)!important;
}

.pdf-icon img {
    height: 16px;
    width: auto;
}

.filter-block .form-select:focus, .filter-block .form-select:focus-visible {
    outline: none;
    box-shadow: none;
}

.filter-block .form-select {
    border: 1px solid #1D1D1B;
    border-radius: 0;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 20px;
}

.available-filter-label {
    font-size: 16px;
    line-height: 1.5;
}

#available-filter .filter-label {
    margin-bottom: 6px;
}

.filter-label {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.44;
    color: #1D1D1B;
}

.price-range-wrap {
    width: 90%;
}

.price-range-wrap p, .price-range-wrap span {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.71;
    color: #1D1D1B;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    background: var(--primary-color);
    width: 24px;
    height: 24px;
}

.ui-slider-handle:focus-visible {
	outline: none;
}

#status-filter {
    appearance: none;
    border-radius: 50%;
    border: 1px solid black;
    max-width: 24px;
    width: 100%;
    height: 24px;
}

#status-filter:checked {
    background: black;
}

#slider-pricerange {
    height: 5px;
    background: #EDEDED;
    border: none;
}

/********* PAGE TITLE *********/
.green-block {
    width: 100%;
    height: 100px;
}

.page-title {
    font-family: var(--font-primary);
    font-size: 22px;
    line-height: 1.26;
    color: #000000;
    margin: 20px 10px;
}

/********* CONTACT *********/
.text-section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.editor p, .editor li, .editor a {
    font-weight: 400;
    font-size: 18px;
    line-height: 1.33;
    color: var(--text-color);
}

.editor h2, .editor h3, .editor h4 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.75;
    color: #000000;
	margin-top: 30px;
}

/********* MAP *********/
#map {
    min-height: 800px;
    height: 100%;
}

.map-box {
    display: block;
    left: 50%;
    bottom: 57px;
    padding: 30px 12px 0  12px;
    max-width: 400px;
    width: 100%;
    transform: translateX(-50%);
}

.map-box-title {
    font-size: 28px;
    line-height: 1.14;
    margin-bottom: 30px;
}

.map-box-info {
    margin-bottom: 20px;
}

.map-box-icon {
    width: 22px;
    height: 35px;
}

.map-box-icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.minutes {
    font-size: 20px;
    line-height: 1.1;
}

.desc {
    font-size: 10px;
    line-height: 1.5;
}

/********* FOOTER *********/
footer {
    padding-top: 50px;
}

.footer-title {
    font-weight: 900;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #000000;
}

.footer-text, .footer-text a {
    font-weight: 600;
    font-size: 10px;
    line-height: 1.4;
    color: var(--text-color);
    text-decoration: none;
}

.footer-contact-info {
    gap: 10px;
    margin-bottom: 12px;
}

.footer-icon img {
	max-height: 20px;
    height: auto;
    width: 12px;
}

.sitemap-link, .sitemap-link a {
    font-weight: 400;
    font-size: 10px;
    margin-top: 7px;
    margin-bottom: 18px;
    color: #323232;
    text-decoration: none;
}

.footer-logos {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 50px;
}

.footer-logo {
    width: 90px;
    height: auto;
}

.footer-logo img {
    max-width: 100%;
    max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.copyright, .number-description {
    font-weight: 400;
    font-size: 12px;
    margin-bottom: 5px;
}

[id$=".EG"],
[id*=".OG"],
[id$=".Attika"],
[id$=".Top"] {
    transition: all 0.6s ease;
}

:is([id$=".EG"], [id*=".OG"], [id$=".Attika"], [id$=".Top"]).moveup {
    transform: translate(0, -90px);
}

:is([id$=".EG"], [id*=".OG"], [id$=".Attika"], [id$=".Top"]) > g:is(.active-flat, :hover) *,
:is([id$=".EG"], [id*=".OG"], [id$=".Attika"], [id$=".Top"]) > g:is(.active-flat, :hover) > polygon {
    fill: rgba(85, 169, 127, 0.5) !important;
    stroke: #fff !important;
}

@media only screen and (min-width: 576px) {
    .hero-messages {
        max-width: 170px;
    }

    .hero-heading h1 {
        max-width: 300px;
    }

    .hero-heading h1:after {
        position: absolute;
        bottom: 30px;
        left: 100%;
        content: "";
        display: block;
        height: 3px;
        width: 100%;
        background-color: #000000;
        margin-left: 18px;
        max-width: 180px;
    }
}

@media only screen and (min-width: 768px) {
    .title {
        font-size: 36px;
        line-height: 1.16;
        margin-bottom: 52px;
    }

    .container {
        max-width: 720px;
    }

    .hero-messages {
        max-width: unset;
    }

    .contact-logo {
        max-width: 179px;
    }

    .contact-info p, .contact-info a, .contact-info .footer-title {
        font-size: 18px;
    }

    .contact-form input[type="submit"] {
        font-size: 16px;
    }

    .footer-logos {
        height: 100%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .contact-form input, .contact-form textarea {
        padding: 23px 19px;
        font-size: 16px;
        line-height: 1;
    }

    .wpcf7-list-item .wpcf7-list-item-label {
        font-size: 16px;
        line-height: 1;
    }

}

@media only screen and (min-width: 992px) {
    /********* PREDEFINED *********/
    .hero-heading h1 {
        font-size: 38px;
        max-width: 500px;
    }

    .over-title {
        font-size: 16px;
        line-height: 1.875;
    }

    .text {
        font-size: 18px;
        line-height: 1.67;
    }

    .container {
        max-width: 960px;
    }

    /********* NAVBAR *********/
    .navbar {
        padding: 32px 0;
    }

    .navbar-brand {
        width: 273px;
		height: 55px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        font-size: 18px;
        line-height: 1.5;
        color: #000000;
        padding: 8px 0 10px 0;
		padding-right: 25px;
    }

    .logo-burger-wrapper {
        width: auto;
    }

    .nav-item, .nav-item:first-child {
        border: none;
        width: auto;
    }

    .navbar-expand-lg .navbar-nav .current-menu-item a {
        color: var(--primary-color);
    }

    .current-menu-item a:after {
        position: absolute;
        content: "";
        height: 2px;
        bottom: -4px;
        margin: 0 auto;
        left: 0;
        width: 26px;
        background: var(--primary-color);
    }

    .nav-icon {
		width: 20px;
		height: 23px;
        margin-right: 30px;
    }

    .nav-boxes p {
        font-weight: 400;
        font-size: 14px;
        color: var(--text-color);
    }

    .nav-boxes p.header-phone {
        font-size: 18px;
    }

    /********* HERO *********/
    .hero-heading h1:after {
        bottom: 30px;
        max-width: 230px;
    }

    .hero-messages {
        max-width: 340px;
    }

    .hero-description {
        margin-bottom: unset;
    }

    /********* FULL WIDTH IMAGE *********/
    .full-width-image {
        height: 784px;
    }

    /********* COUNTING *********/
    .number {
        font-size: 45px;
    }

    .number-description {
        font-size: 16px;
    }

    /********* TEXT AND IMAGE BLOCK *********/
    .text-image .text p {
        margin-bottom: 32px;
    }

    /********* CHECKPOINTS *********/
    .checkpoints-section {
        padding-top: 160px;
        padding-bottom: 138px;
    }

    .checkpoints-section .title {
        margin-bottom: 80px;
    }

    .checkpoints-wrapper {
        padding: 50px 95px 20px 95px;
    }

    .point img {
        height: 33px;
    }

    .point p {
        font-size: 20px;
        line-height: 1.45;
    }

    /********* FLAT POINTS *********/
    .flat-points {
        padding-bottom: 200px;
    }

    .flat-points-wrapper {
        padding-left: 70px;
        padding-right: 70px;
    }

    .flat-points-row {
        padding-left: unset;
        padding-right: unset;
    }

    .flat-points-text {
        margin-bottom: 30px;
    }

    .flat-point-column {
        padding-top: 81px;
    }

    .small-title {
        font-size: 24px;
        line-height: 1.45;
    }

    .small-description p {
        font-size: 16px;
        line-height: 1.5;
    }

    /********* IMAGE ROW *********/
    .image-row {
        grid-template-rows: repeat(3, 500px);
    }

    .gallery-section .image-row {
		grid-template-rows: repeat(auto-fill, 400px);
        grid-template-columns: 1fr 1fr 1fr;
    }

    .gallery-section .image-row a {
        height: unset;
    }

    /********* ROUNDED LOGOS *********/
    .rounded-logos .title {
        max-width: 707px;
    }

    .rounded-logos .footer-logo img {
        max-width: 115px;
        height: 115px;
    }

    .rounded-logos .footer-logos {
        gap: 123px;
    }

    /********* LINK BOXES *********/
    .link-box {
        width: 50%;
        padding: 83px 110px;
    }

    /********* CONTACT *********/
    .contact-section {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    /********* PAGE TITLE *********/
    .green-block {
        width: 665px;
        height: 168px;
    }

    .page-title {
        font-size: 28px;
        margin: 37px 31px;
    }

    /********* CONTACT *********/
    .text-section {
        padding-top: 90px;
        padding-bottom: 200px;
    }

    /********* FLATS *********/
	.svg-wrapper {
		margin-top: 103px;
		padding-right: 40px;
	}
	
    .pdf-icon img {
        height: 18px;
    }

    /********* FOOTER *********/
    footer {
        padding-top: 135px;
    }

    .footer-title {
        font-size: 24px;
        margin-bottom: 59px;
    }

    .footer-text, .footer-text a {
        font-size: 18px;
    }

    .footer-contact-info {
        gap: 23px;
		margin-bottom: 23px;
    }

    .footer-icon img {
        width: 20px;
    }

    .sitemap-link, .sitemap-link a, .copyright {
        font-size: 16px;
    }

    .copyright {
        margin-left: 106px;
    }

    .footer-bottom {
        padding-top: 88px;
        padding-bottom: 122px;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 8px 0 10px 0;
		margin-right: 45px;
    }

	.hero-section {
        padding-top: 112px;
        padding-bottom: 106px;
    }

    .hero-description .text {
        line-height: 1.7;
    }
	
	.counting-section {
		padding-top: 104px;
		padding-bottom: 104px;
	}

    .text-image .title {
        max-width: 360px;
    }

    .text-image .text {
        max-width: 530px;
    }

    .image-row {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: repeat(1, 400px);
    }

    .gallery-section .image-row {
        grid-template-rows: repeat(auto-fill, 400px);
    }

    #map {
        min-height: 904px;
        height: 100%;
    }

    .map-box {
        left: 100px;
        bottom: 200px;
        padding: 50px 40px;
        max-width: 632px;
        transform: none;
    }

    .map-box-title {
        font-size: 36px;
        margin-bottom: 48px;
    }

    .map-box-icon {
        width: 40px;
        height: 50px;
    }

    .minutes {
        font-size: 46px;
        line-height: 1.1;
    }

    .desc {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media only screen and (min-width: 1250px) {
    .container {
        max-width: 1200px;
    }
}

@media only screen and (min-width: 1400px) {
    .container {
        max-width: 1380px;
    }

    .nav-boxes {
        gap: 32px;
    }

    .hero-heading h1 {
        font-size: 62px;
        line-height: 1.17;
    }

    .hero-description .text {
        font-size: 27px;
    }

    .hero-messages p {
        font-size: 24px;
        line-height: 1.5;
    }

    .hero-heading h1:after {
        height: 6px;
        margin-left: 30px;
    }

    .checkpoints-wrapper {
        padding: 77px 199px 47px 199px;
    }

    .point {
        gap: 56px;
    }

    .image-row {
        grid-template-rows: repeat(1, 509px);
    }

    .gallery-section .image-row {
        grid-template-rows: repeat(auto-fill, 509px);
    }

    .contact-section {
        padding-top: 180px;
        padding-bottom: 130px;
    }
}

@media only screen and (min-width: 1520px) {
    .container {
        max-width: 1538px;
    }

    .flat-points-wrapper {
        padding-left: 300px;
        padding-right: 300px;
    }
}
