/*************************************************
                    FONTS
*************************************************/

/* marcellus-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/marcellus-v14-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 100;
    src: url('assets/fonts/raleway-v37-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 100;
    src: url('assets/fonts/raleway-v37-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 200;
    src: url('assets/fonts/raleway-v37-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-200italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 200;
    src: url('assets/fonts/raleway-v37-latin-200italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/raleway-v37-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 300;
    src: url('assets/fonts/raleway-v37-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/raleway-v37-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 400;
    src: url('assets/fonts/raleway-v37-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/raleway-v37-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 500;
    src: url('assets/fonts/raleway-v37-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: url('assets/fonts/raleway-v37-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 600;
    src: url('assets/fonts/raleway-v37-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: url('assets/fonts/raleway-v37-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 700;
    src: url('assets/fonts/raleway-v37-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 800;
    src: url('assets/fonts/raleway-v37-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-800italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 800;
    src: url('assets/fonts/raleway-v37-latin-800italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 900;
    src: url('assets/fonts/raleway-v37-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* raleway-900italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: italic;
    font-weight: 900;
    src: url('assets/fonts/raleway-v37-latin-900italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*************************************************
                    ROOT
*************************************************/

:root {
    /* Font Families */
    --font-primary: 'Marcellus', serif;
    --font-secondary: 'Raleway', sans-serif;

    /* Colors */
    --color-primary: rgba(77, 87, 114, 1);
    --color-primary-rgb: 77, 87, 114;
}

/*************************************************
                BODY AND HTML
*************************************************/

body {
    font-family: var(--font-primary);
    color: #fff;
}

html :where(.wp-block) {
    max-width: unset !important;
}

/*************************************************
                PRE-DEFINED
*************************************************/

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    padding-right: 20px;
    padding-left: 20px;
}

.editor-block br {
	display: none;
}

body.page-template-page-privacy a{
	color: #fff !important;
	
	&:hover{
		text-decoration: underline !important;
	}
}

.mfp-content{
	margin: 60px 0px;
}

body.page-template-page-privacy .editor-block{
	padding-top: 40px;
}

.btn:focus-visible,
.btn:active{
  color: #fff !important;
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  box-shadow: none !important;
}

.custom-container-fluid {
    padding-left: 0px !important;
	padding-right: 0px !important;
}

a{
	color: var(--color-primary)
}

.cookie-logo {
	width: 100px !important;
}

body.page-template-default .animation {
    opacity: 0;
    filter: blur(0);
    transform: translateY(50%);
    transition: all .9s ease-in-out;
}

body.admin-bar #wp-admin-bar-new-content,
body.admin-bar #wp-admin-bar-wp-logo{
	display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output{
	color: #46b450;
}

body.page-template-default .animation[animation="true"] {
    opacity: 1;
    transform: translateX(0);
}

body.page-template-page-contatti .animation {
    opacity: 0;
    filter: blur(0);
    transform: translateY(50%);
    transition: all .9s ease-in-out;
}

body.page-template-page-contatti .animation[animation="true"] {
    opacity: 1;
    transform: translateX(0);
}

body.page-template-default a {
    color: #fff;
}

body.single .navbar-toggler-icon::after{
    border: 1px solid var(--color-primary) !important;
}

h1 {
    font-size: 45px;
    font-weight: 400;
}
.editor-block ul{
	font-size: 26px;
    font-weight: 400;
    line-height: 1.333;

    &.small {
        font-size: 20px;
        font-family: var(--font-secondary);
        font-weight: 500;
    }
}
p {
    font-size: 26px;
    font-weight: 400;
    line-height: 1.333;

    &.small {
        font-size: 20px;
        font-family: var(--font-secondary);
        font-weight: 500;
    }
}

.small-editor-block {
    max-width: 694px;
}

.btn {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-secondary);
    color: var(--color-primary);
    background: #fff;
    border: none;
    width: fit-content;
    padding: 22.5px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    color: var(--color-primary) !important;

    &:hover {
        background: var(--color-primary);
        color: #fff !important;
    }
	
	&:focus{
		background: var(--color-primary);
        color: #fff !important;
	}

    &.btn-secondary {
        border: 1px solid var(--color-primary);
        padding: 17.5px 25px;
    }
}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.margin-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.acf-block-preview .editor-block ul,
.acf-block-preview .editor-block ol,
.acf-block-preview .editor-block p {
    color: #fff;
}

.editor-block ul,
.editor-block ol,
.editor-block p {
    font-weight: 400;
    margin-bottom: 36px;

    &:last-child {
        margin-bottom: 0px;
    }
}

.editor-small ul,
.editor-small ol,
.editor-small p {
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 20px;
    font-family: var(--font-secondary);
    color: var(--color-primary);

    &:last-child {
        margin-bottom: 0px;
    }
}

.editor-small h2 {
    font-size: 55px;
    line-height: 1;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 48px;
}

.editor-block-white ul,
.editor-block-white ol,
.editor-block-white p {
    color: var(--color-primary);
}

.acf-block-preview .editor-block-white ul,
.acf-block-preview .editor-block-white ol,
.acf-block-preview .editor-block-white p {
    color: var(--color-primary);
}

.editor-block h5 {
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-secondary);
    font-size: 18px;
    text-transform: uppercase;
}

.editor-small h5 {
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--font-secondary);
    font-size: 18px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.editor-block-white h5 {
    color: var(--color-primary);
    margin-bottom: 40px;
}

/*************************************************
                NAVIGATION
*************************************************/

.navbar {
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* for Safari support */
    min-height: 100px;
    transition: transform 0.3s ease, background-color 0.3s ease;

    &.scrolled {
        background: var(--color-primary);
    }

    & .nav-item a {
        color: #fff;
        font-weight: 500;
        font-family: var(--font-secondary);
        position: relative;
        text-decoration: none;
        transition: color 0.3s ease;
        padding-bottom: 4px;
        padding-top: 4px;

        &.active {
            color: #fff;
            font-weight: 700;

            &::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -6px;
                transform: translateX(-50%) scale(1);
                width: 6px;
                height: 6px;
                background: #fff;
                border-radius: 50%;
                opacity: 1;
                transition: transform 0.3s ease, opacity 0.3s ease;
            }
        }

        &::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: -6px;
            transform: translateX(-50%) scale(0);
            width: 6px;
            height: 6px;
            background: #fff;
            border-radius: 50%;
            opacity: 0;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        &:hover::after {
            opacity: 1;
            transform: translateX(-50%) scale(1);
        }
    }
	
	& .nav-item.current-menu-item a{
		color: #fff;
        font-weight: 700;
		
		&::after {
                content: "";
                position: absolute;
                left: 50%;
                bottom: -6px;
                transform: translateX(-50%) scale(1);
                width: 6px;
                height: 6px;
                background: #fff;
                border-radius: 50%;
                opacity: 1;
                transition: transform 0.3s ease, opacity 0.3s ease;
            }
	}

    & .navbar-toggler {
        border: none;
        padding: 0;

        & .navbar-toggler-icon {
            width: 30px;
            height: 30px;
            background-size: unset !important;
            background-image: url('assets/images/burger-menu.svg');
            position: relative;
            margin-right: 10px;

            &::after {
                content: '';
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background: transparent;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                border: 1px solid #fff;
            }
        }

        &:focus {
            box-shadow: none;
        }
    }

    & .navbar-brand {
        width: 138px;
        height: auto;
        max-height: 37px;
        position: relative;

        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
}


/* Wrapper ensures the arrow positions correctly */
.pll-lang-wrapper {
    position: relative;
    display: inline-block;
}


/* Base select styling */
.pill-lang-switcher-desktop {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 700;
    padding: 4px 16px 4px 16px;
    /* right padding leaves space for the arrow */
    border: 1px solid #fff;
    cursor: pointer;
    min-width: 94px;
    height: 50px;
    border-radius: 30px;
    font-family: var(--font-secondary);
}

/* Hide IE's dropdown arrow */
.pill-lang-switcher-desktop::-ms-expand {
    display: none;
}

.pill-lang-switcher-desktop:focus{
	outline: none !important;
	box-shadow: none !important;
}

/* Custom SVG arrow */
.pll-lang-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 13px;
    height: 11px;
    pointer-events: none;
    transform: translateY(-50%);
    background-image: url('data:image/svg+xml;utf8,<svg width="13" height="11" viewBox="0 0 13 11" xmlns="http://www.w3.org/2000/svg"><path d="M7.36603 10.5C6.98113 11.1667 6.01888 11.1667 5.63398 10.5L0.870835 2.25C0.485935 1.58333 0.967061 0.75 1.73686 0.75L11.2631 0.749999C12.0329 0.749999 12.5141 1.58333 12.1292 2.25L7.36603 10.5Z" fill="white"/></svg>');
    background-repeat: no-repeat;
    background-size: 13px 11px;
}

body.single {
    padding-top: 80px;
}

body.single .navbar {
    background: white;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    & .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(77,87,114,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    & .nav-item a {
        color: var(--color-primary) !important;

        &::after {
            background: var(--color-primary);
        }

        &:hover::after {
            background: var(--color-primary);
        }
    }
}

#offcanvasNavbarMobile .offcanvas-body {
	padding: 20px;
	
    & .nav-item {
        margin-bottom: 32px;

        & a {
            color: #fff;
            font-size: 32px;
            font-weight: 400;
        }
    }
}

/*************************************************
                HERO SECTION
*************************************************/

.hero-section {
    min-height: 100svh;
    overflow: hidden;
    background: black;
	
	& p.small br{
		display: none;
	}

    & .background-image {
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    & .background-linear {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 80%;
        height: 100%;
        z-index: 1;
        transform: rotate(-180deg);
        /* Cross-browser gradient */
        background: -webkit-linear-gradient(270deg,
                var(--color-primary) -34.48%,
                rgba(var(--color-primary-rgb), 0) 100.69%);
        background: -moz-linear-gradient(270deg,
                var(--color-primary) -34.48%,
                rgba(var(--color-primary-rgb), 0) 100.69%);
        background: -o-linear-gradient(270deg,
                var(--color-primary) -34.48%,
                rgba(var(--color-primary-rgb), 0) 100.69%);
        background: linear-gradient(270deg,
                var(--color-primary) -34.48%,
                rgba(var(--color-primary-rgb), 0) 100.69%);
    }

    & .text-box {
        min-height: 100svh;
        padding-top: 160px;
        padding-bottom: 120px;
        z-index: 2;
        position: relative;
    }
}

#offcanvasNavbarMobile {
    background: var(--color-primary);

    & .offcanvas-header {
        min-height: 100px;
        padding-left: 12px;
        padding-right: 12px;
		
		& a{
			width: 138px;
			height: auto;
			max-height: 100%;
			
			& img{
				width: auto;
				height: auto;
				max-height: 100%;
				max-width: 100%;
			}
		}
    }

    & .btn-close {
        opacity: 1;
        padding: 0px;
        margin-right: 0px;
        width: 30px;
        height: 30px;
        background-image: url('assets/images/burger-menu-close.svg');
        position: relative;
        margin-right: 16px;
        margin-bottom: 0px;
        margin-top: 0px;
        opacity: 1;
        background-size: 20px;

        &::after {
            content: '';
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: transparent;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border: 1px solid #fff;
        }
    }
}

/*************************************************
              IMAGES WITH LINK
*************************************************/

.images-with-links {

    & .image-link {
        aspect-ratio: 1/1;
        width: 100%;
        height: auto;
        display: block;

        &::after {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            z-index: 1;

            /* Cross-browser gradient */
            background: -webkit-linear-gradient(90deg, #4D5772 -34.48%, rgba(77, 87, 114, 0) 100.69%);
            background: -moz-linear-gradient(90deg, #4D5772 -34.48%, rgba(77, 87, 114, 0) 100.69%);
            background: -o-linear-gradient(90deg, #4D5772 -34.48%, rgba(77, 87, 114, 0) 100.69%);
            background: -ms-linear-gradient(90deg, #4D5772 -34.48%, rgba(77, 87, 114, 0) 100.69%);
            background: linear-gradient(90deg, #4D5772 -34.48%, rgba(77, 87, 114, 0) 100.69%);
        }
    }

    & h3 {
        z-index: 2;
		font-size: 36px;
    }

    & .overlay {
        padding: 20px;
    }

    & img {
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        object-fit: cover;
    }
}

.acf-block-preview .images-with-links h3 {
    color: #fff;
}

.map-section {
    height: 200px;
    width: 100%;

    & iframe {
        width: 100%;
        height: 100%;
        float: left;
    }
}

/*************************************************
                TEXT AND IMAGE
*************************************************/

.text-and-image-section {
    & .img-box img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
}

.gallery-section {

    & .gallery-box {
        width: 100%;
        aspect-ratio: 0.731/1;
        height: auto;
    }

    & a {
        position: absolute;
        height: auto;
        max-height: 100%;

        &.image-1 {
            top: 0;
            left: 0;
            width: 29.59%;
            aspect-ratio: 0.676/1;
        }

        &.image-2 {
            top: 14.02%;
            right: 0;
            width: 59.15%;
            aspect-ratio: 1.10/1;
        }

        &.image-3 {
            top: 60.96%;
            left: 0;
            width: 49.01%;
            aspect-ratio: 1.39/1;
        }

        &.image-4 {
            bottom: 0;
            right: 0;
            width: 38.90%;
            aspect-ratio: 1.39/1;
        }

        & img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
    }
}

/*************************************************
                SWIPER SECTION
*************************************************/

.swiper-section {
    height: 220px;
    position: relative;
	
	& .custom-container-fluid {
		&::after {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 258px;
			height: 100%;
			background: linear-gradient(90deg, #FFFFFF -0.78%, rgba(255, 255, 255, 0) 57.36%);
			z-index: 2;
			pointer-events: none;
		}

		&::before {
			content: '';
			position: absolute;
			top: 0;
			right: 0;
			width: 258px;
			height: 100%;
			background: linear-gradient(-90deg, #FFFFFF -0.78%, rgba(255, 255, 255, 0) 57.36%);
			z-index: 2;
			pointer-events: none;
		}
	}
}

.gallerySwiper .swiper-slide {
    transition: height 0.8s ease;
    height: 86px;

    & img {
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
}

.gallerySwiper .swiper-wrapper {
    align-items: center;
    /* vertical centering */
}

.gallerySwiper .swiper-slide-active {
    opacity: 1;
    z-index: 2;
    height: 220px;

    & img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

/* Default bullet style */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #d3d3d3;
    border-radius: 50%;
    opacity: 1;
    transition: all 0.4s ease;
}

/* Active bullet style */
.swiper-pagination-bullet-active {
    width: 93px;
    /* elongated shape */
    border-radius: 50px;
    background-color: #c8c8c8;
    /* slightly darker */
    transition: all 0.4s ease;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: var(--color-primary) !important;
}

/*************************************************
                 FILTER
*************************************************/

.acf-block-preview .table-block a {
    color: #fff !important;
}


.acf-block-preview .isometry-box h3 {
    color: #fff !important;
}

.filter-section {

    & .title-filter {
        font-size: 20px;
        font-weight: 700;
        font-family: var(--font-secondary);
        color: var(--color-primary);
        margin-bottom: 16px;
        text-transform: uppercase;
    }

    & .isometry-box {
        background: var(--color-primary);
        border-radius: 12px;
        margin-top: 80px;
        padding: 0px;

        & h3 {
            font-size: 26px;
            font-weight: 400;
            margin-bottom: 20px;
        }
    }

    & .table-block {
		
		margin-bottom: 60px;

        & .text-none {
            font-size: 20px;
            font-family: var(--font-secondary);
        }

        & a {
            font-size: 18px;
            font-weight: 400;
            font-family: var(--font-secondary);
            padding-top: 12px;
            padding-bottom: 12px;
            border-top: 1px solid #fff;
            text-decoration: none;
            position: relative;
            padding-right: 50px;

            &:hover {
                text-decoration: underline;
				border-top: 3px solid #fff;
            }

            &:hover img {
                display: block !important;
            }

        }

        & img {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: auto;
            max-height: 34px;
            object-fit: contain;
        }
    }

    & .isometry-image {
        width: 100%;
        height: auto;
		padding-top: 93px;
    }

    & .filter-box {
        gap: 30px;
    }

    & .circles-filter-box {
        gap: 20px;
    }

    & .circle {
        font-size: 15px;
        font-weight: 700;
        text-transform: uppercase;
        font-family: var(--font-secondary);
        color: var(--color-primary);
        min-width: 52px;
        min-height: 52px;
        border-radius: 26px;
        border: 1px solid var(--color-primary);
        background: transparent;

        &.width-circle {
            padding-right: 25px;
            padding-left: 25px;
        }

        &.active {
            background: var(--color-primary);
            color: #fff;
        }
    }
}

/*************************************************
                  SINGLE
*************************************************/

.singl-hero-section {
    overflow-x: hidden;

    & h1,
    h3 {
        color: var(--color-primary);
        font-weight: 400;
        margin-bottom: 40px;
    }

    & h3 {
        color: #fff;
		font-size: 24px;
    }

    & h1 {
        margin-top: 43px;
		font-size: 26px;
    }

    & .buttons-box {
        margin-top: 62px;
        gap: 20px;
    }

    & .img-box {
        width: 100%;
        height: 100%;
        margin-bottom: 40px;

        & img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 400px;
            object-fit: contain;
        }
    }

    & .info-box {
        border-top: 1px solid #fff;
        padding-top: 8px;
        padding-bottom: 8px;

        & .info-title {
            font-size: 15px;
            font-weight: 700;
            font-family: var(--font-secondary);
            margin-right: 10px;
        }

        & .info-value {
            font-size: 15px;
            font-weight: 500;
            font-family: var(--font-secondary);
            white-space: nowrap;
        }
    }

    & .img-box-plan {
        width: 100%;
        height: 100%;
        max-width: 500px;

        & img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
    }

    & .informazioni-box {
        padding: 12px;
        background: var(--color-primary);
    }

    & .svg-table-single-box {

        & .info-title {
            color: var(--color-primary);
            font-weight: 700;
            font-family: var(--font-secondary);
            font-size: 15px;
            margin-right: 10px;
			min-width: 102px;
        }

        & .info-text {
            color: var(--color-primary);
            font-weight: 500;
            font-family: var(--font-secondary);
            font-size: 15px;
        }
    }

    & .svg-table-info-box {
        border-top: 1px solid var(--color-primary);
        padding-top: 8px;
        padding-bottom: 8px;

    }
}

/*************************************************
                FORM SECTION
*************************************************/

.form-section {
    z-index: 2;
    position: relative;

    & p {
        font-size: 1rem;
        margin-bottom: unset;
    }
	
	& span.wpcf7-form-control.wpcf7-checkbox.choose-rooms-class {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		gap: 10px;
	}

    & .wpcf7-form-control {
        width: 100%;
        font-size: 15px !important;
        font-weight: 500;
        font-family: var(--font-secondary);
        color: var(--color-primary);
        min-height: 61px;
        border: none;
        padding: 15px;

        &:focus {
            outline: none;
            box-shadow: none;
        }
    }
	
	& .choose-rooms-class{
		padding-left: 0px;
		padding-right: 0px;
		
		& .wpcf7-list-item{
			margin-left: 0px;
		}
		
		& .wpcf7-list-item-label{
			position: relative;
			top: -2px;
		}
		
		& input{
			width: 1rem;
            height: 1rem;
            border: 1px solid var(--color-primary);
            border-radius: 0px;
            appearance: none;
            -webkit-appearance: none;
            background-color: transparent;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            position: relative;
            margin-top: 0px;

            &:focus {
                box-shadow: none;
            }
		}
		
		& input:checked::after{
			content: "";
            position: absolute;
            top: 3px;
            left: 6px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
		}
		
		& input:checked{
			background-color: var(--color-primary);
            border-color: var(--color-primary);
		}
	}
	
	& .gewerbe-wohnungen-class, & .choose-living-class{
		padding-left: 0px;
		padding-right: 0px;
		display: inline-flex;
		flex-wrap: wrap;
		gap: 10px;
		min-height: unset;
		padding-top: 0px;
		padding-bottom: 0px;
		
		& .wpcf7-list-item.first{
			margin-left: 0px;
		}
		
		& .wpcf7-list-item{
			height: fit-content;
			margin-left: 0px;
		}
		
		& .wpcf7-list-item-label{
			position: relative;
			top: -2px;
		}
		
		& input {
			width: 1rem;
			height: 1rem;
			border: 2px solid var(--color-primary);
			border-radius: 50%;
			appearance: none;
			-webkit-appearance: none;
			background-color: transparent;
			cursor: pointer;
			transition: all 0.2s ease-in-out;
			position: relative;
			margin-top: 0;

			&:focus {
				outline: none;
				box-shadow: none;
			}

			&:checked {
				background-color: var(--color-primary);
				border-color: var(--color-primary);
			}
		}
	}
	
    & .form-box {
        background: rgba(239, 239, 239, 1);
        padding: 12px;
    }

    & .form-box h5 {
        font-weight: 400;
        font-size: 36px;
        color: var(--color-primary);
    }

    & .label-name p {
        font-size: 15px;
        font-weight: 700;
        font-family: var(--font-secondary);
        color: var(--color-primary);
        margin-bottom: 10px;
        margin-top: 23px;
        text-transform: uppercase;
    }

    & .wpcf7-acceptance {
        padding: 0px;

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

    & .input-wrap .form-label br {
        display: none;
    }

    & .input-wrap {
        margin-top: 23px;
    }

    & .input-wrap>p {
        display: flex;
        gap: 4px;

        & label {
            color: var(--color-primary);
        }

        & a {
            color: var(--color-primary) !important;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }

        & .form-check-input {
            width: 1rem;
            height: 1rem;
            border: 1px solid var(--color-primary);
            border-radius: 0px;
            appearance: none;
            -webkit-appearance: none;
            background-color: transparent;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            position: relative;
            margin-top: 0px;

            &:focus {
                box-shadow: none;
            }
        }

        & .form-check-input:checked {
            background-color: var(--color-primary);
            border-color: var(--color-primary);
        }

        & .form-check-input:checked::after {
            content: "";
            position: absolute;
            top: 2px;
            left: 6px;
            width: 4px;
            height: 8px;
            border: solid white;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }
    }

    & .wpcf7-submit {
        color: #fff;
        font-weight: 700;
        font-size: 15px;
        padding: 15px 35px;
        width: fit-content;
        text-transform: uppercase;
        border-radius: 50px;
        border: 1px solid var(--color-primary);
        background: var(--color-primary);
        margin-top: 30px;

        &:hover {
            background: rgba(239, 239, 239, 1);
            color: var(--color-primary);
        }

        &:disabled {
            background: rgba(200, 200, 200, 1);
            border: none;
            cursor: not-allowed;
            color: #fff;
        }
    }

    & .form-image {
        width: 100%;
        height: 100%;

        & img {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            object-fit: cover;
        }
    }


    &.form-section-2 {

        & .form-box {
            background: transparent;
            padding: 0px;

            & h5 {
                color: #fff;
            }
        }
		
		& .wpcf7-list-item-label{
			color: #fff !important;
		}
		
		 & .gewerbe-wohnungen-class, & .choose-living-class {
			 & input{
				 border: 2px solid #fff;
				 
				 &:checked{
					 background: #fff !important;
				 }
			 }
		}

        & .input-wrap>p {
            & .form-check-input {
                border: 1px solid #fff;
                background: var(--color-primary);
            }

            & a {
                color: #fff !important;
            }
        }
		
		& .choose-rooms-class input{
			border: 1px solid #fff;
            background: var(--color-primary);
		}

        & p {
            color: #fff;
        }

        & .input-wrap>p {
            & label {
                color: #fff;
            }
        }
    }

}

/*************************************************
               ACCORDIONS
*************************************************/

.accordions-section {
    background: rgba(223, 223, 223, 1);

    & .editor-block {
        max-width: 887px;
        margin-bottom: 40px;
    }

    & .img-box {
        width: 100%;
        height: 100%;
        max-height: 660px;

        & img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }

    & .accordion {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    & .accordion-button {
        background: rgba(239, 239, 239, 1);
        color: var(--color-primary) !important;
        min-height: 92px;
        box-shadow: none !important;
        padding-right: 60px;
        position: relative;
        font-weight: 400;
        font-size: 19px;

        &:focus {
            box-shadow: none;
        }

        &::after,
        &::before {
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        &::after {
            content: "";
            position: absolute;
            right: 20px;
            top: 50%;
            width: 35px;
            height: 1px;
            background-color: black;
            transform: translateY(-50%) rotate(90deg);
            transform-origin: center;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        &::before {
            content: "";
            position: absolute;
            right: 20px;
            top: 50%;
            width: 35px;
            height: 1px;
            background-color: black;
            transform: translateY(-50%);
        }

        &:not(.collapsed)::after {
            transform: translateY(-50%) rotate(0deg);
            opacity: 0;
        }
    }

    & .accordion-body {
        background: rgba(239, 239, 239, 1);
        padding-top: 0px;
		padding-right: 60px;
		
		& p{
			font-size: 19px;
		}
    }
}

/*************************************************
                 FOOTER
*************************************************/

footer {
    margin-top: 80px;
    padding-top: 80px;

    &::after {
        content: '';
        left: 0;
        width: 100%;
        height: 1px;
        bottom: var(--footer-bottom-offset, 0);
        background: rgba(255, 255, 255, 1);
        position: absolute;
    }
	
	& a{
		color: #fff;
	}

    & .img-box {
        height: 50px;
        width: auto;
        max-width: 100%;
        display: flex;
        align-items: center;

        & img {
            width: auto;
            max-width: 100%;
            height: auto;
            max-height: 100%;
            object-fit: contain;
        }
    }

    & p {
        font-size: 20px;
        font-weight: 400;
        color: #fff;
        line-height: 1.5;
        font-family: var(--font-secondary);
    }

    & .name-info {
        margin-bottom: 19px;
        font-size: 15px;
        font-weight: 700;
        font-family: var(--font-secondary);
        color: rgba(197, 217, 230, 1);
        text-transform: uppercase;
    }

    & .info-box {
        margin-bottom: 30px;
    }

    & .info-box a {
        font-weight: 400;
        font-size: 18px;
        font-family: var(--font-secondary);
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }

    & .adress-info {
        font-weight: 400;
        font-size: 18px;
        font-family: var(--font-secondary);
    }

    & .under-footer {

        padding-top: 25.5px;
        padding-bottom: 25.5px;

        & .privacy-links-box {
            gap: 40px;
        }

        & a {
            font-size: 16px;
            font-weight: 500;
            font-family: var(--font-secondary);
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }

        & .copy-right {
            font-size: 14px;
            font-weight: 500;
            font-family: var(--font-secondary);
        }
    }
}


/*************************************************
                RESPONSIVE
*************************************************/

@media only screen and (min-width: 576px) {
	.hero-section {

		& p.small br{
			display: inline;
		}
	}
	
	.form-section{
		& span.wpcf7-form-control.wpcf7-checkbox.choose-rooms-class {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
		}
	}
}

@media only screen and (min-width: 768px) {

    /* Pre-defined */

    .map-section{
        height: 400px;
    }

    /* Swiper Section */
    .swiper-section {
        height: 500px;
    }

    .gallerySwiper .swiper-slide {
        height: 255px;
    }

    .gallerySwiper .swiper-slide-active {
        height: 500px;
    }

    /* Filter */
    .filter-section {

        & .filter-box {
            gap: 50px;
        }
    }

    /* Single */
    .singl-hero-section {

        & .info-title {
            min-width: 110px;
        }
    }
}

@media only screen and (min-width: 992px) {

    /* Pre-defined */
    .map-section {
        height: 700px;
    }
	
	.editor-block br {
		display: inline;
	}

	.cookie-logo {
		width: unset !important;
	}
    
    .pll-lang-wrapper {
        position: relative;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        display: inline-block;
    }
	
	.pll-lang-wrapper.blu-wrap::after{
		    background-image: url('data:image/svg+xml;utf8,<svg width="13" height="11" viewBox="0 0 13 11" xmlns="http://www.w3.org/2000/svg"><path d="M7.36603 10.5C6.98113 11.1667 6.01888 11.1667 5.63398 10.5L0.870835 2.25C0.485935 1.58333 0.967061 0.75 1.73686 0.75L11.2631 0.749999C12.0329 0.749999 12.5141 1.58333 12.1292 2.25L7.36603 10.5Z" fill="%234d5772"/></svg>') !important;
	}
	
	/* Base select styling */
	.pill-lang-switcher-desktop.blu-one {
		border: 1px solid var(--color-primary);
		color: var(--color-primary);
	}

	/* Hide IE's dropdown arrow */
	.pill-lang-switcher-desktop::-ms-expand {
		display: none;
	}

	/* Custom SVG arrow */
	.pll-lang-wrapper::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 16px;
		width: 13px;
		height: 11px;
		pointer-events: none;
		transform: translateY(-50%);
		background-image: url('data:image/svg+xml;utf8,<svg width="13" height="11" viewBox="0 0 13 11" xmlns="http://www.w3.org/2000/svg"><path d="M7.36603 10.5C6.98113 11.1667 6.01888 11.1667 5.63398 10.5L0.870835 2.25C0.485935 1.58333 0.967061 0.75 1.73686 0.75L11.2631 0.749999C12.0329 0.749999 12.5141 1.58333 12.1292 2.25L7.36603 10.5Z" fill="white"/></svg>');
		background-repeat: no-repeat;
		background-size: 13px 11px;
	}

    body.single {
        padding-top: 100px;
    }

    .editor-small h2 {
        font-size: 48px;
    }
	
	.editor-block ul{
	    font-size: 30px;

        &.small {
            font-size: 20px;
        }
	}
	
    p{
        font-size: 30px;

        &.small {
            font-size: 20px;
        }
    }

    .editor-block ul,
    .editor-block ol,
    .editor-block p {
        margin-bottom: 36px;
    }

    .editor-block h5 {
        margin-bottom: 36px;
		font-size: 20px;
    }

    .editor-small h5 {
        margin-bottom: 36px;
    }

    .margin-section {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .editor-small ul,
    .editor-small ol,
    .editor-small p {
        margin-bottom: 36px;
        font-size: 20px;
    }

    /* Navigation */
    .navbar {
        min-height: 100px;

        & .navbar-brand {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            position: absolute !important;
        }
    }

    .gallery-section {

        & .gallery-box {
            width: 100%;
            aspect-ratio: 0.731/1;
            height: auto;
        }
    
        & a {
            position: absolute;
            height: auto;
            max-height: 100%;
    
            &.image-1 {
                top: 0;
                left: 0;
                width: 28.59%;
                aspect-ratio: 0.676/1;
            }
    
            &.image-2 {
                top: 14.02%;
                right: 0;
                width: 59.15%;
                aspect-ratio: 1.10/1;
            }
    
            &.image-3 {
                top: 60.96%;
                left: 0;
                width: 49.01%;
                aspect-ratio: 1.39/1;
            }
    
            &.image-4 {
                bottom: 0;
                right: 0;
                width: 38.90%;
                aspect-ratio: 1.39/1;
            }
    
            & img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }

    /* Swiper Section */
    .swiper-section {
        height: 660px;
    }

    .gallerySwiper .swiper-slide {
        height: 315px;
    }

    .gallerySwiper .swiper-slide-active {
        height: 660px;
    }

    /* Filter */
    .filter-section {

        & .title-filter {
            font-size: 20px;
            margin-bottom: 30px;
        }

        & .circle {
			
			&:focus{
				box-shadow: none !important;
				outline: none !important;
			}

			&:hover {
				background: var(--color-primary);
				color: #fff;
				cursor: pointer;
			}
        }

        & .isometry-box {
			padding: 12px;
			margin-top: 30px;

            & h3 {
                font-size: 36px;
                margin-bottom: 30px;
            }
        }

        & .table-block {
			margin-bottom: 0px;
            & a {
                font-size: 20px;
            }
        }
    }

    

    /* Single */
    .singl-hero-section {

        & h1,
        h3 {
            font-size: 36px;
            margin-bottom: 80px;
        }

        & .buttons-box {
            margin-top: 122px;
        }

        & .img-box-plan {
            margin-left: 30px;
            width: calc(100% - 30px);
        }

        & .img-box {
            margin-bottom: 72px;
        }


        & .informazioni-box {
            padding: 43px;

            &::after {
                content: '';
                right: -43px;
                width: 43px;
                height: 100%;
                top: 0;
                bottom: 0;
                position: absolute;
                background: var(--color-primary);
            }
        }

        & .svg-table-single-box {
            max-width: 550px;

            & .info-title {
                min-width: 220px;
            }
        }
    }

    /* Form Section */
    .form-section {

        & .form-box {
            background: rgba(239, 239, 239, 1);
            padding: 47px 40px;
        }

        &.form-section-2 {
            max-width: 581px;
			
			& .wpcf7-list-item-label{
				color: #fff !important;
			}
        }
		
    }

    /* Accordions section */
    .accordions-section {

        & .editor-block {
            margin-bottom: 80px;
        }
    }


    /* Footer */
    footer {
        margin-top: 80px;
        padding-top: 67px;

        & p {
            font-size: 20px;
        }

        & .info-box a {
            font-size: 18px;
        }

        & .adress-info {
            font-size: 18px;
        }

        & .info-box {
            margin-bottom: 50px;
        }

        & .under-footer {

            & .privacy-links-box {
                gap: 60px;
            }

            & a {
                font-size: 16px;
            }

            & .copy-right {
                font-size: 16px;
            }
        }
    }
}

@media only screen and (min-width: 1200px) {

    /* Hero Section */
    .hero-section {
        & .text-box {
            padding-top: 265px;
			padding-bottom: 160px;
        }
    }

    /* Filter */
    .filter-section {

        & .filter-box {
            gap: 185px;
        }

        & .isometry-box {
            padding: 32px;
        }
    }

    /* Single */
    .singl-hero-section {

        & .img-box-plan {
            margin-left: 50px;
            width: calc(100% - 50px);
        }
    }
}

@media only screen and (min-width: 1400px) {

    /* Pre-defined */
    .container,
    .container-fluid {
        max-width: 1368px;
    }

    .custom-container {
        max-width: 1140px;
    }

    .custom-container-fluid {
        max-width: 1440px;
    }

    .map-container{
        max-width: 1328px;
    }

    h1 {
        font-size: 65px;
    }

    .editor-small h2 {
        font-size: 65px;
    }
	
	.editor-block ul{
		font-size: 36px;

        &.small {
            font-size: 24px;
        }
	}

    p{
        font-size: 36px;

        &.small {
            font-size: 24px;
        }
    }

    .editor-block ul,
    .editor-block ol,
    .editor-block p {
        margin-bottom: 48px;
    }

    .editor-block h5 {
        margin-bottom: 48px;
    }

    .editor-small h5 {
        margin-bottom: 48px;
    }

    .section-padding {
        padding-top: 140px;
        padding-bottom: 140px;
    }

    .margin-section {
        margin-top: 140px;
        margin-bottom: 140px;
    }

    /* Filter */
    .filter-section {

        & .isometry-box {
            padding-top: 62px;
            padding-bottom: 62px;
            padding-right: 113px;
            padding-left: 113px;
            min-height: 735px;
        }
    }

    /* Single */
    .singl-hero-section {

        & .img-box-plan {
            margin-left: 77px;
            width: calc(100% - 77px);
        }
    }

    /* Footer */
    footer {
        margin-top: 150px;

        & .info-box {
            margin-bottom: 70px;
        }
    }
}