/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */
/* ==========================================================
   LOCAL FONTS
   ========================================================== */

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../fonts/CormorantGaramond-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/manrope-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Manrope', sans-serif;
}

h5 {
	color: #5e5a5a;
	letter-spacing: 0.15em;
	ont-variant-caps: small-caps;
}

h2::before {
    display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
}

h1 {
	font-variant: small-caps;
}

h2.cd-headline::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #dbd0d0;
    margin-bottom: 0.7rem;
    opacity: 0.9;
    margin-bottom: 1em;
}

h1 + h2 {
    margin-top: -0.5em;
    color: #7e7e7e;
    letter-spacing: .13em;
}

#whatwedo {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	background: #fff;
}
#whatwedo-image {
	position: absolute;
	inset: 0;
	background-image: url("/geralt-businessman.jpg");
	background-size: cover;
	background-position: center;
	border-radius: 1.5em;
	mask-image: linear-gradient(
		to right,
		black 0%,
		black 30%,
		transparent 95%
	);
	-webkit-mask-image: linear-gradient(
		to right,
		black 0%,
		black 30%,
		transparent 95%
	);
}

#whatwedo-content {
	position: relative;
	z-index: 1;
	width: 50%;
	margin-left: 50%;
	margin-bottom: 10%;
	padding: 40px;
	text-align: center;
	text-shadow: #e7e7e7 1px 1px;
}

#whatwedo-content h1 {
	font-size: clamp(2.5rem, 5vw, 5rem);
	line-height: 1;
	margin: 0;
	hyphens: none;
}

.figure {
	margin: 0.5em 3em 0 0.5em;
	border: 1px solid #af8742;
}

.figure-sx {
	border-radius: 0 0.5em 0.5em 0em;
}

.figure-header {
	border-radius: 1em;
}

.tabs-wrapper.ui-theme-badges .tabs-nav li a {
	font-variant: small-caps;
}

.btn.btn-lg {
	background: #476B87;
	transition:
		background 0.15s ease, /* Rende fluido il cambio di colore */
		opacity 0.15s ease,
		transform 0.05s ease,
		box-shadow 0.15s ease;
	border-radius: 2.5em;
	text-decoration: none;
	height: 4em;
}

.btn a {
	color: #FFFFFF;
}

.btn.btn-lg:hover {
	background: #39586F;
	opacity: 1;
}

.content-item .topbar-request {
	height: 4em;
	border: 2px solid;
	letter-spacing: 1px;
}

.btn.btn-lg-contact:hover {
	background: #E5E9EC;
	opacity: 1;
}

.polaroid > p {
    font-size: 1.5em;
    font-weight: 500;
    bottom: 0px !important;
}

.form-input-wrapper > input {
	margin-bottom: 0;
	height: auto;
}

.accordion-wrapper {
	font-size:1.2em;
}

.accordion-wrapper label {
    background: #f5f5f5 !important;
    border: 1px solid #e3e3e3 !important;
    border-radius: 0.3em;
    font-variant: small-caps;
}

.accordion-wrapper li {
    font-size: 1em;
}

body.alert-centrato .md-alert.md-alert--important {
    max-width: 80%;
    margin: 2rem auto;
    background: #f5f5f5;
    color: #856404;
    border-radius: 1em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

body.privacy .md-alert.md-alert--note p {
    line-height: 1em;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-onboarding {
    margin-left: 3em;
    margin-right: 1em;
}

body.form-wrapper div.toast-success {
	background: #f5f9d6;
}

/* ==========================================================
   LUXURY PROPERTY STATUS
   PAGINA PRINCIPALE
   ========================================================== */

.hero-lps {
    background: linear-gradient(to bottom, #e9e8e8, #ffffff);
    margin: 2.5em;
    padding: 2em;
    border-radius: 3em;
}

.hero-lps > * {
	color: #3a414a;
    font-weight: 500;
}

.firstletter > p {
    font-size: 1.3em;
    font-weight: 100;
}

.firstletter > p::first-letter {
    font-size: 3em;
    float: left;
    line-height: 1;
    margin-right: 8px;
    font-weight: bold;
    color: #476b87;
    font-family: 'Cormorant Garamond';
}

div.spot > p {
    font-size: 1.5em;
    font-weight: 100;
    margin: 0 1.5em;
    padding: 0.5em 1em;
    background: #f5f9d6;
    border-radius: 0.5em;
	hyphens: none;
	-webkit-hyphens: none;
	-ms-hyphens: none;
}
@media screen and (max-width: 768px) {
	div.spot > img {
		max-width: 115%;
		height: auto;
		margin: -10%;
	}
}

/* ==========================================================
   LUXURY PROPERTY STATUS
   MAIN MENU
   ========================================================== */

/* Menu */
.dropmenu .navigation {
    display: flex;
    align-items: center;
}

/* Singole voci */
.dropmenu .navigation > li {
    position: relative;
    margin: 0;
    padding: 0;
}

/* Ultima voce */
.dropmenu .navigation > li:last-child {
	padding: 0px 0.5em 0px;
}
.dropmenu .navigation > li:last-child a {
	background: #e9e8e8;
}

.dropmenu .navigation > li:last-child a:hover {
	background: var(--pico-primary-background);
}

/* Link - stato normale */
.dropmenu .navigation > li > a, .dropmenu li > ul a {
    display: block;

    padding: 0.72rem 1.20rem;

    background: #F1F2F3;
    color: #1C1C1C;

    font-size: 0.76rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.dropmenu .navigation > li > a{
	margin:3px;
}

/* Hover */
.dropmenu .navigation > li > a:hover {
    background: #E7E9EB;
    color: #1C1C1C;
}

button.button_container, .button_container {
    margin-top: 30px;
}

/* ==========================================================
   ACTIVE MENU ITEM
   ========================================================== */

.dropmenu .navigation > li > a.active {
    background: #5D86A5;
    color: #FFFFFF;
    font-weight: 400;
}

/* Active + hover */
.dropmenu .navigation > li > a.active:hover {
    background: #4F7897;
    color: #FFFFFF;
}

.dropmenu a.active, .dropmenu a.active:hover {
    background: #344c5e;
}

.dropmenu li > ul a:hover {
    background: #E7E9EB;
}

/* ==========================================================
   SEPARATORS
   ========================================================== */

.dropmenu .navigation > li {
    position: relative;
}

.dropmenu .navigation > li:not(:last-child)::after {
    content: "·";

    position: absolute;
    right: -10px;
    top: 50%;

    transform: translateY(-50%);

    color: #9DA4AA;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;

    pointer-events: none;
    z-index: 10;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    width: 100%;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--q2-border-color, rgba(0, 0, 0, 0.08));
    background: #f1f1f1;
}

.topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.topbar-info,
.topbar-tools {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-info a,
.topbar-location {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-info a {
    text-decoration: none;
}

.topbar-tools {
    margin-left: auto;
}

.topbar-language .langswitcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar-language .langswitcher li {
    margin: 0;
    padding: 0;
}

.topbar-theme .theme-toggle {
    margin: 0;
}

.langswitcher .active {
	display:inline-block;
	padding:0.3em 0.4em;
	border-radius:0.3em;
	background:#000000;
	color:#ffffff;
	text-decoration:none !important;
	font-weight:bold;
}
.langswitcher .active:hover {
	filter:brightness(.92);
}

.langswitcher {
	position: relative;
	top: 10px !important;
}

/* =========================================================
   TOPBAR - REQUEST BUTTON
   ========================================================= */

.topbar-request {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    padding: 0.35rem 0.75rem;

    border: 1px solid currentColor;
    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.topbar-request:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.topbar-request i {
    font-size: 0.75rem;
}

.grid-3-2-1 {
    grid-template-columns: 3fr 2fr 1fr;
}

.grid-3-3-1 {
    grid-template-columns: 3fr 3fr 1fr;
}

.grid-15-1 {
    grid-template-columns: 1.5fr 1fr;
}

.grid-15-1 > .click {
    text-align: center;
    border: 1px #af9902 dashed;
    padding: 0.5em 1em;
    hyphens: none;
    border-radius: 1em;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {
    .topbar-inner {
        min-height: 34px;
        gap: 0.75rem;
    }

    .topbar-info {
        gap: 0.75rem;
    }

    .topbar-info span {
        display: none;
    }

    .topbar-tools {
        gap: 0.75rem;
    }

	#whatwedo-content {
		width: 100%;

		padding: 0;
    }

    .topbar-request span {
        display: none;
    }

    .topbar-request {
        width: 2rem;
        height: 2rem;
        padding: 0;
        justify-content: center;
    }

    .topbar-request i {
        font-size: 0.75rem;
    }

    /* resto delle regole mobile già presenti... */
.grid-3-2-1 {
    grid-template-columns: 1fr;
}

}

/* =========================================================
   FOOTER
   ========================================================= */

#footer {
	background: #f7f6f6;
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    padding-bottom: 2rem;
}

.footer-brand-link {
    font-weight: 600;
    text-decoration: none;
}

.footer-brand p {
    margin-top: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-contact a,
.footer-contact span {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--q2-border-color, rgba(0, 0, 0, 0.08));
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 0.5rem;
	font-variant: small-caps;
}

.footer-legal a {
    text-decoration: none;
}

.footer-copyright {
	font-variant: small-caps;
}

@media (max-width: 768px) {

    .footer-main {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-contact {
        text-align: left;
    }

    .footer-contact a,
    .footer-contact span {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
}

a {
    color: #a7874d;
}

.cd-words-wrapper {
	color: #af8742;
}

#member1, #member2, #member3, #member4 {
    max-width: 20em;
    display: inline-block;
    margin: 1rem;
    hyphens: manual;
}

#member1 img, #member2 img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pico-primary-background);
}

#member1 figcaption, #member2 figcaption{
    text-align: left;
}

.about-us-member {
	text-align: center;
}

.about-us-member img {
    border-radius: 20%;
    max-width: 15em;
    max-height: 15em;
    border: 3px solid var(--pico-primary-background);
    margin: 20px;
}

.grey {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 0.5em;
}

.bio h2 {
    color: #afafaf;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Cormorant Garamond';
    font-weight: 100;
}

.bio > p {
    font-family: 'Cormorant Garamond';
    font-size: 1.5em;
}

.bio > ul li {
    font-family: 'Cormorant Garamond';
    font-size: 1.2em;
    margin-left: 3em;
}

.bio > blockquote {
    font-family: 'Cormorant Garamond';
    font-size: 2em;
    margin-left:1em;
}

.bio-container {
	position: relative;
	padding: 1em;
	border: 1px solid #d3d3d3;
	border-radius: 1em;
}

.bio-divider {
	position: absolute;
	top: 0;
	left: 6%;
	right: 6%;
	width: calc(100% - 12%);
	transform: translateY(-50%);
	background-color: #ffffff;
	padding: 0 10px;
	object-fit: contain;
}

.light-yellow {
    background: #fdf8e0;
    padding: 1em;
    border-radius: 0.5em;
}

.p-small {
    color: #5e5a5a;
    letter-spacing: 0.1em;
	font-variant-caps: small-caps;
}

::placeholder {
    font-variant: small-caps;
}
