/*
	Theme Name: Holistic Real Estate
	Theme URI: https://www.holisticrealestate.it
	Description: 
	Version: 1.0.0
	Author: dhynet (@dhynet)
	Author URI: https://www.dhynet.com
	Tags: 

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*, *:after, *:before { -moz-box-sizing:border-box; box-sizing:border-box; -webkit-font-smoothing:antialiased; font-smoothing:antialiased; text-rendering:optimizeLegibility;}


/* clear */
.clear:before, .clear:after {content:' '; display:table;}
.clear:after {clear:both;}
.clear {*zoom:1;}
img {max-width:100%; vertical-align: middle;}


html, body {width:100%; margin:0; padding:0;}
html {scroll-behavior: smooth; overflow-x: hidden;}
body { 
	
	background:var(--background);  
	color:var(--main-text);
	font-size:1rem; /* 16px default */
	line-height: 1.5; /* 1.5 volte font-size corrente =  24px */
	font-family: 'Gotham Regular', 'Helvetica Neue', Arial, sans-serif;

}

a {color:#444; text-decoration:none; transition: 0.3s ease;}
a:hover {color:#444; transition: 0.3s ease;}
a:focus {outline:0;}
a:hover, a:active {outline:0;}
input:focus {outline:0; border:1px solid #04A4CC;}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

main {width:100%; margin:0; padding:0;}

/* wrapper */
.wrapper 		{width: min(96%, 1024px); margin:0 auto;}
.wrapper-big 	{width: min(96%, 1480px); margin:0 auto;}
.wrapper-medium {width: min(96%, 1280px); margin:0 auto;}
.wrapper-small 	{width: min(96%,  960px); margin:0 auto;}



/* header */
.header {display:flex; align-items: center; column-gap:24px; position:fixed; top:0; left:0; width:100%; margin:0; padding:18px; background:var(--main-color); text-transform: uppercase; transition: 0.6s ease; z-index:99;}
.header.sticky {background:var(--second-color);}
.header.sticky .logo-img {width:auto; height:38px;}
.sticky {transition: 0.6s ease;}

.logo {}
.logo-img {width:auto; height:100px; transition: 0.6s ease;}


/* nav */
.nav {flex:1; margin:0 32px 0 0; padding:0 32px 0 0; border-right:1px solid white;}
.nav ul {display:flex; justify-content: flex-end; column-gap:16px; margin:0; padding:0; list-style:none; font-size:14px; font-weight:600;}
.nav ul li {margin:0; padding:0;}
.nav ul li a {color:white;}
.nav ul li a:hover {}


/* Hamburgher Menù */
*{-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; /* For some Androids */}

.mobilenav-hidden {overflow:hidden;}

.top-animate {background: #fff !important; top: 13px !important; -webkit-transform: rotate(45deg); transform: rotate(45deg);}
.mid-animate {opacity: 0;}
.bottom-animate {background: #fff !important; top: 13px !important; -webkit-transform: rotate(-225deg); transform: rotate(-225deg);}

.top-menu {top: 5px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}
.mid-menu {top: 13px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}
.bottom-menu {top: 21px; width: 30px; height: 3px; border-radius: 0px; background-color: #fff;}


.icon {display:none; align-items: center; justify-content: center; width:48px; height:48px; padding:0; margin:0;}
.menui {background: #fff; position: absolute; z-index: 99999; transition: 0.6s ease; transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);}
.hamburger {position:relative; width:30px; height:30px;}

.mobilenav {display:none; position:fixed; top: 0; left:0; z-index: 10; width:100vw; height:auto; overflow-x: hidden; overflow-y: auto; background:var(--main-color-dark);}
.mobilenav .mobilenav-inner {display:flex; align-items: center; justify-content: center; position:relative; width:100%; height:100vh; padding:48px 24px; margin:0;}
.mobilenav ul {margin:0; padding:0; list-style:none; text-align:center; font-size:24px;}
.mobilenav li {padding:0; margin:0;}
.mobilenav li a {color:white;}
.mobilenav li a:hover {opacity: 0.4;}
.mobilenav li a.selected {color:#ed253c;}
.mobilenav .current_page_item a {color:var(--main-color);}

.social {display:flex; align-items: center; column-gap: 18px;}
.social a {display:contents;}
.social svg {width:32px; height:auto; margin:0; padding:0;}

.call-to-action {margin:0 0 0 32px;}
.call-to-action a {display:flex; align-items: center; column-gap:18px; background:var(--main-color-dark); color:white; font-size:14px; font-weight:700; letter-spacing:2px; padding:8px 28px 8px 32px; border-radius:8px;}




/* footer */
.footer {background:var(--main-color-dark); color:white;}
.footer :is(h1, h2, h3, h4, h5, h6) {color:white;}
.footer a {color:white;}
.footer h6 {text-transform: uppercase; font-size:20px;}
.footer ul {margin-block:0; list-style: none; text-transform: uppercase;}
.footer .logo-img {width:138px; padding:24px; height:auto; background:var(--main-color); aspect-ratio: 1/1; border-radius:50%; overflow:visible}
.footer .v-card {display:flex; align-items: center; column-gap:12px;}
.footer .avatar-img {width:90px; aspect-ratio: 1/1; border-radius:50%; border:4px solid var(--main-color);}
.inner-footer {display:flex; column-gap:32px; padding:90px 0;}
.inner-footer .col {width:50%; padding-inline:60px;}
.colophon {display:flex; justify-content: space-between; padding:18px 8px; border-top:1px solid var(--second-color);}



/* sidebar */
.sidebar {}







/*------------------------------------*\
    ESTATIK 
\*------------------------------------*/
.es-powered, .es-privacy-policy-container {display:none !important;}

.tax-es_category .wrap {margin-top:200px !important; margin-bottom:120px !important;}
.tax-es_category .wrap .page-title {display:none;}
.tax-es_category .wrap .page-title span {display:block;}

.tax-es_category .wrap,
.properties-template-default article {width:100%; max-width:1280px; margin:0 auto; padding-inline:24px;}
.properties-template-default article .post-meta {display:none;}
.properties-template-default article h1 {font-size:32px; line-height:42px; margin-top:160px;}
.properties-template-default article .es-property-section__content {padding-inline:0 !important;}
.properties-template-default article .es-property-field__label {font-weight:700 !important; display:block !important;}

body .es-control.es-control--layouts li:last-child {display:none;}



/*------------------------------------*\
    PAGES
\*------------------------------------*/







/*------------------------------------*\
    LIBRARY
\*------------------------------------*/

:root {

	/* Colors Palette */
	--background: #FAF8F1;
	--text-color: #201d1c;
	--title-color: #201d1c;

	--main-color: #7D4D95;
	--second-color: #B29016;
	--main-color-dark:#4b2061;
	--alt-color:;
	--alt-color-light:;

}

.hidden {display:none !important;}
.flex {display:flex;}
.grid {display:grid;}

.txc {text-align:center;}

.top-space {margin-top:24px !important;}
.top-space-big {margin-top:48px !important;}

.head-title-white {position:relative; font-size:16px; line-height:20px; text-transform: uppercase; font-weight:900; color:white; letter-spacing:2px; padding:0 0 0 64px; margin:0 0 24px 0;}
.head-title-white:before {content:''; position:absolute; left:0; top:50%; width:50px; height:2px; background:var(--main-color);}





/* Typography
--------------------------------------------- */

/* Regular */
@font-face {
	font-family: 'Gotham Regular';
	font-weight: 400;
	font-style: normal;
	font-display: swap;   
	src: url('fonts/Gotham-Book.woff2') format('woff2'),
	url('fonts/Gotham-Book.woff') format('woff');
}
  
  /* Italic */
  @font-face {
	font-family: 'Gotham Italic';
	font-weight: 400;
	font-style: italic;
	font-display: swap;   
	src: url('fonts/Gotham-BookItalic.woff2') format('woff2'),
		 url('fonts/Gotham-BookItalic.woff') format('woff');
}
  
  /* Bold */
  @font-face {
	font-family: 'Gotham Bold';
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url('fonts/Gotham-Bold.woff2') format('woff2'),
		 url('fonts/Gotham-Bold.woff') format('woff');
}
  
  /* Bold Italic */
  @font-face {
	font-family: 'Gotham Bold Italic';
	font-weight: 700;
	font-style: italic;
	font-display: swap;   
	src: url('fonts/Gotham-BoldItalic.woff2') format('woff2'),
		 url('fonts/Gotham-BoldItalic.woff') format('woff');
}
  

p {margin-bottom:18px;}

p b, p strong {font-family: 'Gotham Bold'; font-weight:700;}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Gotham Regular', Georgia, 'Times New Roman', serif;
	color:var(--title-color); 
	font-weight:normal; 
	margin:0 0 18px 0; 
	padding:0;
}

h1 {font-size:52px; line-height:62px;}
h2 {font-size:38px; line-height:48px;}
h3 {font-size:32px; line-height:38px;}
h4 {font-size:24px; line-height:32px;}
h5 {font-size:20px; line-height:30px;}
h5 {font-size:18px; line-height:26px;}

small, .text-small {font-size: 12px; line-height:14px;}



/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}








/*------------------------------------*\
    ANIMATIONS
\*------------------------------------*/


/* Fade-in */

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
  
.fade-in {animation: fadeIn 1s ease-in-out 1s forwards;}


/* Fade-up */

@keyframes fadeUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-up {animation: fadeUp 1s ease-out 1s forwards;} 
  
  
/* Ritardi progressivi */
.fade-up:nth-child(1) {animation-delay: 0s;}
.fade-up:nth-child(2) {animation-delay: 0.2s;}
.fade-up:nth-child(3) {animation-delay: 0.4s;}
.fade-up:nth-child(4) {animation-delay: 0.6s;}
.fade-up:nth-child(5) {animation-delay: 0.8s;}
.fade-up:nth-child(6) {animation-delay: 1s;}  





/*------------------------------------*\
    MISC
\*------------------------------------

::selection {background:yellow; color:black; text-shadow:none;}
::-webkit-selection {background:yellow; color:black; text-shadow:none;}
::-moz-selection {background:yellow; color:black; text-shadow:none;}

*/

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

/* Galleries
--------------------------------------------- */
.gallery {margin-bottom: 1.5em; display: grid; grid-gap: 1.5em;}
.gallery-item {display: inline-block; text-align: center; width: 100%;}
.gallery-columns-2 {grid-template-columns: repeat(2, 1fr);}
.gallery-columns-3 {grid-template-columns: repeat(3, 1fr);}
.gallery-columns-4 {grid-template-columns: repeat(4, 1fr);}
.gallery-columns-5 {grid-template-columns: repeat(5, 1fr);}
.gallery-columns-6 {grid-template-columns: repeat(6, 1fr);}
.gallery-columns-7 {grid-template-columns: repeat(7, 1fr);}
.gallery-columns-8 {grid-template-columns: repeat(8, 1fr);}
.gallery-columns-9 {grid-template-columns: repeat(9, 1fr);}
.gallery-caption {display: block;}

/* Alignments
--------------------------------------------- */
.alignnone {margin:1.5em;}
.alignleft {float: left; margin-right: 1.5em; margin-bottom: 1.5em;}
.alignright {float: right; margin-left: 1.5em; margin-bottom: 1.5em;}
.aligncenter {clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em;}

a img.alignright {float:right; margin:5px 0 20px 20px;}
a img.alignnone {margin:5px 20px 20px 0;}
a img.alignleft {float:left; margin:5px 20px 20px 0;}
a img.aligncenter {display:block; margin-left:auto; margin-right:auto;}

.wp-caption {background:#FFF; border:1px solid #F0F0F0; max-width:96%; padding:5px 3px 10px; text-align:center;}
.wp-caption.alignnone {margin:5px 20px 20px 0;}
.wp-caption.alignleft {margin:5px 20px 20px 0;}
.wp-caption.alignright {margin:5px 0 20px 20px;}
.wp-caption img {border:0 none; height:auto; margin:0; max-width:98.5%; padding:0; width:auto;}
.wp-caption .wp-caption-text, .gallery-caption {font-size:11px; line-height:17px; margin:0; padding:0 4px 5px;}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {background:transparent !important; color:#000 !important; box-shadow:none !important; text-shadow:none !important;}
	a, a:visited {text-decoration:underline;}
	a[href]:after {content:" (" attr(href) ")";}
	abbr[title]:after {content:" (" attr(title) ")";}
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {content:"";}
	pre,blockquote {border:1px solid #999; page-break-inside:avoid;}
	thead {display:table-header-group;}
	tr,img {page-break-inside:avoid;}
	img {max-width:100% !important;}
	@page {margin:0.5cm;}
	p, h2, h3 {orphans:3; widows:3;}
	h2, h3 {page-break-after:avoid;}
}






/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen
    and (min-width: 280px)
    and (max-width: 767px)
    and (orientation: portrait) {

		body {width:100vw; overflow-x: hidden;}
		.header {column-gap: 0; width:100%;}
		.nav, .call-to-action {display:none;}
		.social {margin-right:24px;}
		.logo {flex:1;}
		.logo-img {height: 60px;}
		.inner-footer {flex-direction: column; row-gap: 48px; padding-inline:24px;}
		.inner-footer .col {width:100%; padding-inline:0;}
		.colophon {flex-direction: column; align-items: center; text-align: center;}

		.head-title-white {font-size: 12px; padding: 0 0 0 42px;}
		.head-title-white:before {width: 32px;}
		.icon {display:flex;}
	}	


@media only screen
    and (min-width: 768px)
    and (max-width: 1023px)
    and (orientation: portrait) {

		body {width:100vw; overflow-x: hidden;}
		.header {column-gap: 0; width:100%;}
		.nav, .call-to-action {display:none;}
		.social {margin-right:24px;}
		.logo {flex:1;}
		.logo-img {height: 60px;}
		.icon {display:flex;}
	}





@media only screen
    and (min-width: 1024px)
    and (max-width: 1280px)
    and (orientation: landscape) {

		.header {column-gap:0;}
		.logo-img {height: 70px;}
		.nav {margin: 0 14px 0 0; padding: 0 24px 0 0;}
		.nav ul {font-size: 12px;}
		.call-to-action {margin: 0 0 0 14px;}
		.call-to-action a {padding: 8px 18px 8px 16px;}
	}