* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*general*/
html {/* font-size: 62.5%*/ font-size: 10px; outline: none; }
body { font-family: "Montserrat", sans-serif; color: #7E7E7E; font-weight: 400; background-color: #fff; }
.body { background-color: #fff; max-width: 300rem; margin: 0 auto; overflow: hidden; }
ul, li, h1, h2, h3, h4, h5, p { list-style: none; }
a { font-size: 1.6rem; text-decoration: none; color: #7E7E7E; outline: none }
a:focus, input:focus, textarea:focus, select:focus, label:focus {outline: none!important }
p, ul, li { line-height: 1.7; font-size: 1.6rem; }
.container_big { max-width: 180rem; margin: 0 auto; padding: 0 2%; width: 100%; }
.container { max-width: 155rem; margin: 0 auto; padding: 0 2%; width: 100%; }
button { color: #7E7E7E; font-size: 1.6rem; cursor: pointer; background-color: transparent; border: none; font-family: "Montserrat", sans-serif;}
input, textarea, select { font-size: 1.8rem; ; font-weight: 600; font-family: "Montserrat", sans-serif; }
/*select { width: 100%; 
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none; color: #111;
  background: url(../img/select.svg) 97% / 13px no-repeat #fff; background-color: transparent;
}*/
.center { text-align: center; }
.clear { clear: both; }
.float { float:left; }
.floatr { float:right; }
.flex { display: flex; flex-wrap: wrap; }
.clearfix::after { content:""; display: table; clear: both; }
.upper { text-transform: uppercase; }
.pr { position:relative; }
.oh { overflow:hidden; }

/*colors*/
.fff {color: #fff}
.bgfff {background-color: #fff}
.bggreen { background-color:rgba(72, 161, 143, 1.0); }
.bgpink { background-color:rgba(222, 154, 114, 1.0); }
.pink { color:#EDB899 }
.blk { color:#343434 }
.lblu { color:#C7F2E9 }
.bglblu { background-color:#62B7A6 }
.blu { color:#62B7A6 }
.bgbe { background-color:#F7F0EC }
.bggrfff { background-color:rgba(255, 255, 255, .18); }
.green { color:#379A86 }

.font { font-family: "DM Serif Display", serif; }

/*fontsize*/
.w300 { font-weight:300 }
.w400 { font-weight:400 }
.w500 { font-weight:500 }
.w600 { font-weight:600 }
.w700 { font-weight:700 }
.w800 { font-weight:800 }
.space { letter-spacing:3px }

.t75 { font-size:7.5rem; line-height:1.2; }
.t20 { font-size: 2rem; }
.t23 { font-size: 2.3rem; }
.t25 { font-size: 2.5rem; }
.t16 { font-size: 1.6rem }
.t18 { font-size: 1.8rem }
.t14 { font-size: 1.4rem }
.t30 { font-size: 3rem }
.t40 { font-size: 4rem }
.t50 { font-size: 5rem; line-height:1.2 }
.t65 { font-size: 6.5rem; line-height:1.2 }

.mt1 { margin-top:1rem }
.mt2 { margin-top:2rem }
.mt3 { margin-top:3rem }
.mt4 { margin-top:4rem }
.mt5 { margin-top:5rem }
.mt6 { margin-top:6rem }
.mt8 { margin-top:8rem }
.mt10 { margin-top:10rem }
.mb1 { margin-bottom:1rem }
.mb2 { margin-bottom:2rem }
.mb3 { margin-bottom:3rem }
.mb4 { margin-bottom:4rem }
.mb5 { margin-bottom:5rem }
.mb6 { margin-bottom:6rem }
.mb8 { margin-bottom:8rem }
.mb10 { margin-bottom:10rem }
.mb12 { margin-bottom:12rem }
.p0 { padding:0rem!important }

.tsha { text-shadow: 0 2px 4px rgba(0, 0, 0, .16); }

.pad { padding: 8rem 0 }

.opt { object-position:top center; }
.opb { object-position:bottom center; }
.ojf { object-fit:cover; object-position:center; height:100%; width:100% }
.multi { mix-blend-mode: multiply; }
.blur { filter: blur(8px); }

.br { border-radius: 1rem }

.cta { opacity: .9; transition: .6s; letter-spacing: .2px; text-transform: uppercase; box-shadow: 0 3px 6px rgba(0, 0, 0, .06); display: inline-block; font-size: 1.4rem; font-weight: 500; padding:1.5rem 2.5rem; line-height: 1.4; border-radius:.5rem }
.cta:hover { opacity: 1; box-shadow: 0 3px 16px rgba(0, 0, 0, .16); }
.ctas { gap:1.5rem }
.ctaimg { display:inline-flex; flex-wrap: wrap; gap:1rem }

/*padding/margin*/
.wt100 { width:100% }
.ojf { width:100%; height:100%; object-fit:cover; }
.opt { object-position:center top!important; }

/*TOP BUTTON*/
.div-back-to-top { transition: .3s; max-width: 300rem; width: 100%; left: 0; right: 0; bottom: 0; margin: 0 auto; position: fixed; z-index: 10000; }
.back-to-top { transition: .3s; position: absolute; z-index: 2; bottom: 2rem; right: 2rem; }
.back-to-top img { transition: .3s; width: 5.2rem; background-color:#EDB899; padding:2rem 1.5rem; border-radius:.5rem }
.back-to-top:hover {cursor: pointer; }

header {  position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; max-width: 300rem; text-align: center; z-index: 10; }
header .header-top { transition: .6s; padding-top: 2rem; padding-bottom:2rem }
header .header-top .line { width:100%; background-color:rgba(255,255,255, .4); height:1px; margin-top:2rem }
header .container_big { align-items:center; justify-content:space-between; }
header .logo { transition: .5s; z-index: 1; width: 17rem; margin:4px 0 -4px }
header .menu { padding-right: 3rem; align-items:center; }
header .menu li a { color: #fff; font-size: 1.6rem; font-weight: 500; padding: 0 1.4rem }
header .menu li a:hover { color:#EDB899 }
header .menu li a.active { color:#EDB899 }
header .menu-top { transition: .3s; padding: 2rem 0; align-items:center; justify-content:space-between; width:100% }
header .tel { display:flex; align-items:center; gap:.5rem }

.sticky { background-color: rgba(0, 135, 136, .9); box-shadow: 0 3px 16px rgba(0, 0, 0, .06); transition: 0.3s; position: fixed!important; top: 0; left: 0; right: 0; z-index: 30; width: 100%; max-width: 300rem; margin: 0 auto; }
.sticky .logo { width:14rem; margin:0 1.5rem }
.sticky .line { display:none; }
.sticky .header-top { padding-top: 1rem; padding-bottom: 1rem;}

/*sidenav*/
.menuresponsive, .sidenav { display: none; }

/*splide1*/
.slidehome { width:100%; height:100vh; display:flex; align-items:center; justify-content:center; }
.slidehome .splide { position: absolute; top: 0; left: 0; width:100%; height:100vh }
.slidehome .container { left: 0; right: 0; position: absolute; }
.splide .my-arrows { position: absolute; bottom: 5.5rem; width:calc(100% - 4rem); z-index: 3; margin: 0 auto; right: 2rem; left: 0}
.splide .my-arrows button:focus {outline: none;}
.splide .my-prev { background-image:url(../img/prev.svg);  }
.splide .my-next { right: 0; position: absolute; background-image:url(../img/next.svg); }
.splide .my-prev, .splide .my-next { width: 6.5rem; height: 6.5rem; border-radius: .8rem; background-color: transparent; transition: .3s; opacity: 1; cursor: pointer; background-repeat:no-repeat; background-position: center;}
.splide .my-prev:hover , .splide .my-next:hover { opacity:1 }
.splide .my-prev svg, .splide .my-next svg { fill:transparent; }
.splide .splide__pagination { display: none; text-align: center; width: 100%!important; bottom: 3rem; height: 6rem; z-index: 1}
.slidehome .splide img { width:100%; min-height:50rem; height:100vh }
.splide .splide__track { width:100% }
.slidehome .icon-bg { overflow: hidden; position:absolute; width: 50%; bottom:0; right:0; height:calc(100% - 8rem); opacity:.2 }
.slidehome .icon-bg img { height: 100%; object-position: top left; object-fit: cover; }
.slidehome .main-txt { margin-top: 5rem; width: 65rem; z-index: 2; position:relative; }
.slidehome .main-txt p { max-width:42rem; margin-top:1.5rem }
.slidehome .bg { opacity: .6; z-index: 1; height: 100%; position: absolute; width: 70%; left: 0; top: 0; background: #161615;
background: linear-gradient(90deg, rgba(22, 22, 21, 1) 0%, rgba(34, 125, 38, 0) 100%); }

.bggra { z-index: 1; height: 55%; position: absolute; top: 0; left: 0; background: #008788;
background: linear-gradient(180deg, rgba(0, 135, 136, 1) 0%, rgba(0, 135, 136, 0) 100%); }
.bggra2 { z-index: 1; height: 40%; position: absolute; bottom: 0; left: 0; background: #008788;
background: linear-gradient(0deg, rgba(0, 135, 136, 1) 0%, rgba(0, 135, 136, 0) 100%); }


/*filtri*/
#da-TBWrap { width: 100%; text-align: center; }
.controls { padding: .5rem; border-radius: 1rem; border:none; display: inline-flex; gap: 1rem; text-align: center; margin: 0 auto; }
label { font-weight: 300; margin: 0 .4em 0 0; }
#da-TBWrap button { color: #fff; opacity: .4; display: inline-block; padding: 2rem 3rem; min-width: 15rem; font-size: 1.6rem; font-weight: 600; border-radius: 6px; cursor: pointer; margin: 0; transition: .3s; }
#da-TBWrap button:hover { opacity: 1; }
#da-TBWrap button.active { opacity: 1; box-shadow: 0 3px 6px rgba(0, 0, 0, .16); }
#da-TBWrap button:focus { outline: 0; }
#da-TBWrap button + label { margin-left: 1em; }

.container-filter { padding: 0; margin: 0 auto; -webkit-backface-visibility: hidden; }
.container-filter:after { content: ''; display: inline-block; width: 100%; }
.container-filter .mix,
.container-filter .gap { display: inline-block; width: 100%; }
.container-filter .mix {  display: none;  }
.container-filter .mix:after { content: attr(data-myorder); color: #fff; font-size: 16px; display: inline-block; vertical-align: bottom; padding: 0 6%; font-weight: 700; }
.container-filter .mix { content: ''; display: none; padding: 0; text-align: center; }
.container-filter .mix,
.container-filter .gap { vertical-align: top; }

.container-filter .mix .tx { text-align:center; }
.container-filter .mix .tx .mw50 { max-width:50rem; margin:0 auto; }

.immobili { gap:2rem }
.immobile { transition: .3s; height: 27rem; text-align: left; width: calc(50% - 1rem); display:flex; border-radius:.5rem; overflow:hidden; box-shadow: 0 4px 10px rgba(0, 0, 0, .06); }
.immobile:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }
.immobile:hover .img img.ojf { transform:scale(1.05); }
.immobile .img { overflow: hidden; width:50%; height:100% }
.immobile .img img.ojf {transition: .5s;}
.immobile .pics { position: absolute;
  z-index: 3;
  bottom: 2rem;
  right: 2rem; }
.immobile .img .bgcolor { position:absolute; top:2rem; left:0; font-size:1.2rem; font-weight:600; padding:.5rem 1rem; border-radius:0 .5rem .5rem 0 }
.immobile .txt { height: 100%; width:50%;padding:2rem; display:flex; flex-direction:column; justify-content:space-between; }
.vendita .color { color:#379A86 }
.affitto .color { color:#DE9A72 }
.immobili.vendita .bgcolor { background-color:#379A86 }
.immobili.affitto .bgcolor { background-color:#DE9A72 }
.immobile .txt .info { border-top: 1px solid rgba(0, 0, 0, .2); padding:2rem 0 0; justify-content:space-between; }

.sec1 .flex { justify-content:flex-end; height:auto; }
.sec1 .txt { height: 50rem; display: flex; align-items: flex-start; flex-direction: column; justify-content: space-between; width:49%; }
.sec1 .img { height: 50rem; width:49%; position:absolute; left:0; border-radius:0 .5rem .5rem 0 }

.why { padding:2rem 0 12rem }
.why .bx { width:23% }
.why .bx-animation { justify-content:space-between; }
.why .bx img { height:14rem }
.why .bx p { padding: 0 2rem }
.why .bx-animation.bx3 { gap: 1%; justify-content:center; }
.why .bx-animation.bx3 .bx { display: flex; justify-content: space-between; flex-direction: column; box-shadow: 0 4px 10px rgba(0, 0, 0, .06); border-radius: 1rem;  background-color: #fff; padding: 2rem; width:32.33%; margin-bottom:1% }

.sec2 .flex { justify-content:flex-end; height:auto; border-radius: 0 .5rem .5rem 0 }
.sec2 .img { height: 100%; width:49%; position:absolute; left:0; border-radius:0 }
.sec2 .txt { padding: 6rem 3rem; height: 100%; display: flex; align-items: flex-start; flex-direction: column; width: 51%; justify-content:center; }
.sec2 .sfuma { width: 50rem; position: absolute; left: -50rem; top: 0; height: 100%; background: #62B7A6;
background: linear-gradient(-90deg, rgba(98, 183, 166, 1) 0%, rgba(98, 183, 166, 1) 0%, rgba(98, 183, 166, 0) 100%); }

.prefooter .icon { height: 45rem; opacity: .4; position:absolute; transform:translate(-50%,-50%); top:50%; left:50% }
.prefooter { min-height:60rem; display: flex; align-items:center; justify-content:center; padding-bottom:6rem }
.territorio .prefooter { padding-bottom:8rem }

footer { background: #62B7A6; background: linear-gradient(-90deg, rgba(98, 183, 166, 1) 0%, rgba(98, 183, 166, 1) 0%, rgba(27, 116, 98, 1) 50%, rgba(98, 183, 166, 1) 100%); padding: 6rem 0 }
footer .logo img { width:16rem }
footer .cl { text-align: left; margin-right: 2rem; max-width:32rem }
footer .cl a { display: flex; color: #fff; margin-bottom:2rem }
footer .cl a img { margin-right:1rem }
footer .credits { color: #a7cac3; padding:3rem 0 0; margin-top: 4rem; border-top: 1px solid rgba(255, 255, 255, .3); }
footer .credits a { color: #a7cac3 }
footer .clflex { justify-content:space-around; flex-wrap:nowrap; gap:4% }
footer a.flex { align-items:center; flex-wrap: nowrap;}
footer .pink { letter-spacing:1px }
footer .social { display:flex; gap:1rem; align-items:center; }
footer a:hover { color:#EDB899 }

/*pages*/
.ckeditor { font-size:1.6rem;}
.ckeditor h1,.ckeditor h2,.ckeditor h3,.ckeditor h4, .ckeditor h5, .ckeditor h6 { font-weight: 500; font-style: italic; font-size:2.5rem; color:#7E7E7E ; margin:3rem 0 2rem }
.ckeditor a { color:#EDB899; text-decoration:underline; font-weight:600 }
.ckeditor ul, .ckeditor ol { margin:1.5rem 0 }
.ckeditor li { text-align: left; position:relative; padding: 0 0 0 2.5rem; font-weight:400; margin-bottom:.5rem }
.ckeditor li::before { content:url('../img/list-blu.svg'); width: 2rem; height: 1.9rem; position:absolute; left:0; top:1px }
.ckeditor li b { font-size:2rem; display:block; }
.ckeditor ol { padding-left:2.5rem }
.ckeditor ol li::before { display:none; }
.ckeditor ol li { list-style:decimal; padding-left: 0; margin-left: 1rem; }
.ckeditor ol li::marker { color: #ea7135; opacity: .5; font-weight: bold; font-size: 3rem; line-height:1 }

.tronca1 { width: 100%; display: -webkit-box;
  -webkit-box-orient: vertical;
  /*Il conenuto viene troncato alla terza riga*/
  -webkit-line-clamp: 1; 
  overflow: hidden; }

.tronca2 { width: 100%; display: -webkit-box;
  -webkit-box-orient: vertical;
  /*Il conenuto viene troncato alla terza riga*/
  -webkit-line-clamp: 2; 
  overflow: hidden; }

/*form2*/
.contact_form2 { margin: 10rem 0 0; padding:6rem 2rem; }
.contact_form2 .content { background-color: #fff; max-width:100rem; width: 90%; margin:0 auto; border-radius: 1rem; border:1px solid rgba(255, 255, 255, .25); padding:3rem }
.button_invia { text-align:center; }
.form2 input, .form2 textarea, .form2 select { font-weight: 500; font-size: 1.8rem; letter-spacing: .5px; margin-bottom: 1.5rem; border:1px solid #D1D1D1; width:100%; background-color:#fff; border-radius:.5rem; padding:1.5rem; }
.form2::placeholder { color:#BEBEBE }
::placeholder { color:#BEBEBE; }
.form2 .cl50 { width:49% }
.form2 .cl33 { width:32% }
.form2 .cl100 { width:100% }
.form2 .inputs { justify-content:space-between; }
.select-wrapper { position: relative; display: inline-block; }
.custom-select { width: 200px; padding: 10px; font-size: 16px; background-color: rgba(0, 0, 0, .1); border: 1px solid #fff; border-radius: 5px; appearance: none; }
.custom-select option { color: #000; background-color: #fff; }
.select-wrapper::after { content: ''; position: absolute; top: 59%; right: 10px; width: 13px; height: 8px; transform: translateY(-50%); background: url(../img/select.svg) center/contain no-repeat; pointer-events: none; }

/*pages*/
.page header { box-shadow: 0 3px 6px rgba(0, 0, 0, .16); background: #62B7A6; background: linear-gradient(-90deg, rgba(98, 183, 166, 1) 0%, rgba(98, 183, 166, 1) 0%, rgba(27, 116, 98, 1) 50%, rgba(98, 183, 166, 1) 100%); }
.page header .line { display:none; }
.pad-page { padding-top:20rem }
.top-page { justify-content:space-between; border-bottom:1px solid #ccc; padding-bottom:8rem }
.top-page .title, .top-page p { width:49% }
.proposte .t50 { margin-top:-1rem }
.mw70 { margin:0 auto; max-width:70rem; width:100% }

.pad-page.tit { justify-content:space-between; align-items:flex-end; }
.pad-page.tit .t50 { width:calc(100% - 26rem); }
.percorso, .percorso a { font-size:1.4rem }
.affitto .percorso a:last-child { font-weight:600; color:#DE9A72 }
.vendita .percorso a:last-child { font-weight:600; color:#379A86 }
.gallery { display:flex; gap:1rem; }
.gallery .img1 { width:50%; display:flex; }
.gallery .imgs { width:50%; gap:1em }
.gallery .img1 a { width:100%; height:50rem }
.gallery .imgs a { width:calc(50% - .5rem); height:24.5rem }
.gallery .img1 a, .gallery .imgs a { border-radius:1rem; overflow:hidden; }
.gallery .img1 a:hover img, .gallery .imgs a:hover img { transform:scale(1.02); }
.gallery img { transition:.6s }
.gallery .button { gap: 1rem; border-radius: .5rem; font-weight: 500; position:absolute; bottom:3rem; right:3rem; background-color:rgba(255, 255, 255, .3); padding:.8rem 1rem; display:flex; align-items:center; }
.gallery .button span { background-image:url(../img/pic.svg); background-image:contain; background-repeat: no-repeat; width:2rem; height:2rem }
.info-form { justify-content:space-between; align-items:flex-start; }
.info-form .info { width: 70% }
.info-form .form { width:calc(25% - 1rem); padding:2rem; border-radius:1rem }
.info-form .form .cta { padding: 1.5rem .5rem; width:100%; font-weight: 600; letter-spacing: 1px; font-size:1.8rem; align-items:center; display:flex; justify-content:center; gap:.5rem }
.info-form .form button { background-color:#E4E4E4; font-weight:600; color:#707070; font-size:1.6rem; box-shadow:none }
.info-form .form button:hover { background-color:rgba(72, 161, 143, 1.0); color:#fff; box-shadow: 0 3px 16px rgba(0, 0, 0, .16); }
.mappa { width:100%; }

.fixed { display:none; }

.top-page .percorso { width:100% }

.territorio .sec2 { border-radius:1rem; overflow:hidden; }
.territorio .sec2 .sfuma {width: 30rem; left: -30rem}

.laform { display: flex; justify-content:space-between; gap: 2rem; align-items:flex-start; }
.laform .contatti { background: #62B7A6; background: linear-gradient(-90deg, rgba(98, 183, 166, 1) 0%, rgba(27, 116, 98, 1) 100%); width: 35%; padding:2rem; border-radius:.5rem }
.laform .form2 { width: 65%; padding:2rem; border-radius:.5rem }
.laform .contatti img { width:2rem; margin-right:4px }
.laform .form2 .button_invia { text-align:left; }

.sitemap { min-height:90vh }
.sitemap .title { box-shadow: 0 4px 10px rgba(0, 0, 0, .06); margin: 0 auto; max-width:50rem; background-color:#fff; padding:3rem; border-radius:1rem }

/*-------------------------style check & radio box-------------------------*/
/*style check box*/
.containercheck { text-align: left; width: 100%;
  margin: 1rem 0 2rem; font-size: 1.4rem;
  display: block;
  position: relative;
  padding-left: 3rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.containercheck input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: -1px;
  left: 0;
  height: 2rem;
  width: 2rem;
  background-color: #fff;
  border-radius: 1px; border: 1px solid #E3E3E3;
}

/* On mouse-over, add a grey background color */
.containercheck:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containercheck input:checked ~ .checkmark {
  background-color: #59aa99;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containercheck input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containercheck .checkmark:after {
  left: 0.6rem;
  top: 0.3rem;
  width: 0.4rem;
  height: .8rem;
  border: solid white;
  border-width: 0 0.2rem 0.2rem 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media (max-width: 1200px) {
html { font-size:9px }
.info-form .info, .info-form .form { width:calc(50% - .5rem); }
}

@media (max-width: 1024px) {
header .menu, header .tel, .bggra2 { display:none; }
header .container_big { justify-content:center; }
.sticky .logo { top:1rem }
.sticky .menuresponsive { top:3.5rem }

.slidehome .container { position:relative; }
.slidehome .splide { position:relative; height:50vh }
.slidehome .splide img { min-height: 50vh; height:50vh }
.slidehome { height:auto; display:flex; flex-direction:column-reverse; }
.slidehome .bggra2, .slidehome .bggra {  }
.slidehome .main-txt { width:100%; text-align:center; margin:0; padding:2rem 0 8rem; border-bottom:1px solid rgba(112, 112, 112, .2); }
.slidehome .main-txt p { max-width:100% }
.slidehome .ctas { justify-content:center; }
.slidehome .bggra { height:20rem }
.slidehome .onde { position: absolute;
    top: 44vh;
    height: 8rem;
    z-index: 1;
    width: 110%;
    object-fit: cover;
    object-position: top;}
.splide .my-arrows { bottom:10.5rem }
.slidehome .main-txt .t65 { text-shadow:none; color:#7E7E7E; }
.slidehome .main-txt .t30 { text-shadow:none; color:#62B7A6 }
.slidehome .main-txt p { color:#7E7E7E }
.t65 { font-size:5rem }
/*sidenav*/

.menuresponsive img { width:3rem }
.menuresponsive, .sidenav { display: block; position: relative;}
.menuresponsive { position:absolute; right:2%; top:5rem }
#mySidenav { display: block; z-index: 1000;}
#mySidenav .closebtn img { width:2.5rem }
#mySidenav { height: 100%; width: 0; position: fixed; z-index:200; top: 0; right: 0; overflow-x: hidden; transition: 0.2s; }
.sidenav .bgcolor { opacity: .7; width:10%; height:100vh; overflow: hidden; position:absolute; left:0 }
#mySidenav .bg { overflow-y: scroll; width: 90%; margin-left: 10%; height:100vh; padding:8rem 4rem }
#mySidenav .bg a, #mySidenav .bg p { font-size: 1.8rem; font-weight: 600; }
#mySidenav .closebtn { position: absolute; top: 3rem; right: 3rem; text-align: right; margin:0; }
#mySidenav .bg li { text-transform: uppercase; margin:2rem 0; padding-bottom: 2rem; border-bottom:1px solid rgba(0, 0, 0, .1); }
#mySidenav .bg ul { text-align:left; }
#mySidenav .lang { padding-left:0; border:0 }
#mySidenav .bg a.active { color:#EDB899 }

.sec1, .sec2 { text-align:center; }
.sec1 .flex, .sec1 .img, .sec2 .flex, .sec2 .img { height:auto; }
.sec1 .img, .sec2 .img { width:100%; position:relative; margin-bottom:2rem; border-radius:.5rem }
.sec1 .txt, .sec2 .txt { height: auto; width:100%; text-align:center; align-items:center; }
.sec2 .flex { height: auto; flex-direction:column-reverse; }
.sec2 .container { padding:0 }
.sec2 .img { height:auto; margin-bottom:0 }
.sec2 .txt { width:100%; padding:8rem 2rem 0 }
.sec2 .sfuma { background: #62B7A6; background: linear-gradient(180deg, rgba(98, 183, 166, 1) 0%, rgba(98, 183, 166, 0) 100%); bottom:-20rem; height: 20rem; left:0; top:inherit; width:100% }
footer { padding-bottom: 9rem; background: #62B7A6; background: linear-gradient(180deg, rgba(98, 183, 166, 1) 0%, rgba(27, 116, 98, 1) 100%); }

.top-page .title, .top-page p { width:100%; text-align:center; }
/*.top-page .title .t50 { margin-bottom:.5rem }*/

.gallery .imgs a:nth-child(3), .gallery .imgs a:nth-child(4) { display:none; }
.gallery .imgs a, .info-form .info, .info-form .form { width:100% }
.gallery .img1 { width:70% }
.gallery .imgs { width:30% }

.pad-page.tit { align-items:flex-start; justify-content:flex-start; flex-direction:column-reverse; }
.pad-page.tit .t50 { width:100%; margin-top:1rem }
.pad-page { padding-top:18rem }

.why .bx-animation.bx3 .bx { width:49% }

.top-page .percorso { text-align:center; }

.territorio .sec2 .txt { padding:4rem }
.territorio .sec2 .sfuma { display:none; }
.territorio .sec2 .flex { flex-direction:column; }

.laform { flex-direction:column; flex-wrap:wrap; gap:0 }
.laform .contatti { width:100% }
.laform .form2 { width:100% }
}

@media (max-width: 768px) {
html { font-size:9px }
footer .cl { width:100%; max-width:100%; text-align:center; margin:0 0 2rem }
footer .clflex { flex-wrap:wrap; }
footer .cl a { justify-content:center; }
footer .social { justify-content:center; }
.why .bx { width:100%; }
.why .bx-animation { flex-direction:column; gap:2rem }
.why { padding: 0 0 8rem }
.immobile { width:100% }
.why .bx-animation.bx3 .bx { width:100%; margin-bottom:4rem }
}

@media (max-width: 600px){
html { font-size:9.5px }
.prefooter .icon { height:90%; width:90% }
.prefooter { height:auto; padding-bottom:8rem }
.t65, .t50 { font-size:3.5rem }
.t30 { font-size:2rem }
.slidehome .ctas { flex-direction:column; }
.immobile { height: auto; flex-direction:column; }
.immobile .img { height: 27rem; width:100% }
.immobile .txt { width:100%; height:auto; }
.immobile .txt .info { margin-top:2rem }
.slidehome .main-txt { padding:3rem 0 5rem }
#da-TBWrap.pad {padding: 4rem 0}
.slidehome .onde { height:3rem; top:47vh }
.splide .my-arrows { bottom:7.5rem; width:calc(100% - 2rem); }
header .header-top .line { display:none; }
.menuresponsive { top:2rem; right:2rem }

.slidehome .splide img, .slidehome .splide { height:40rem; min-height:40rem }
.slidehome .onde { top:37.5rem }

#da-TBWrap button { font-size:1.4rem }

.fixed { align-items: center; justify-content: space-between; padding: 2rem; box-shadow: 0 4px 10px rgba(0, 0, 0, .16); display:flex; position:fixed; bottom:0; left:0; width:100%; z-index:5 }
.fixed .cta { border-radius:5rem }
.affitto .div-back-to-top, .vendita .div-back-to-top { display:none; }
.affitto footer, .vendita footer { padding-bottom:12rem }
.gallery .img1 { width:100% }
.gallery .imgs { display:none; }
.part1 .container, .part2 .container { padding:0 }
.gallery .img1 a { border-radius:0; height:80vw }
.gallery .button { right: 2rem; bottom:5rem; background-color:rgba(112, 112, 112, .6); }
.part2 { padding: 4rem 3rem 3rem;
  margin-top: -6rem;
  background: #f7f0ec;
  border-radius: 2rem 2rem 0 0;
  z-index: 2;
  position: relative; }

.why.mt5 { margin-top:7rem; padding-bottom:0 }
.why .t30 { font-size:3rem!important }

.laform { margin-top:-3rem }
.form2 .cl50 { width:100% }

.form2 input, .form2 textarea, .form2 select, #mySidenav .bg a, #mySidenav .bg p { font-size:1.6rem }
footer .cl:first-child { display:none; }
.immobile { margin-bottom:1rem }

.prefooter { min-height:auto }
.territorio .sec2 .txt { padding:2rem } 

.sitemap { min-height:auto }
.sitemap .title { padding:2rem; }
.why .bx-animation.bx3 .bx { padding:2rem 1rem 1rem }
.why .bx p { padding:0 1rem }
}

@media (max-width: 500px){
.part2 { padding:3rem 2rem }
}

/*gsap css*/
.fade-left { transform: translateX(-100%); opacity:0 }
.fade-right { transform: translateX(100%); }
.fade-in { transform: translateY(0); opacity: 0; }
.fade-in-down { transform: translateY(-100%); opacity: 0; }
.fade-in-up { transform: translateY(100%); opacity: 0; }
.bounce { transform: translateY(100px); }
.rotate { transform: rotate(-180deg); }
.swing { opacity: 0; transform: rotate(-10deg); }
.shake { opacity: 0; transform: translateX(0); }
.zoom-in { transform: scale(0); }
.zoom-out { transform: scale(2); }
.roll-in { transform: translateX(-100%) rotate(-360deg); }
.mouse-par { will-change: transform; pointer-events: none; }

.typewriter-word::after {
  content: "|";
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%,50% { opacity:1; }
  51%,100% { opacity:0; }
}
