﻿@charset "utf-8";

/* --- DINAMICI --- */
body {
	font-family:'Montserrat', sans-serif;
	font-size:14px;
	line-height:1.5em;
	color:#3f4448;
	font-weight: normal;
	font-style:normal;
	text-decoration:none;
	background-color: #ffffff;
	background-image: none;
	background-repeat: no-repeat;
	background-position:center center;
	background-size:cover;
	background-attachment:inherit;
}

h1 {
	color:#0b26a9;
	font-family: 'Montserrat', serif;
	font-size: 40px;
	line-height: 1em;
	font-weight: 700;
	font-style:normal;
	text-decoration:none;
	text-align:left;	
}

h2 {
	color:#1d1d1d;
	font-family: 'Montserrat', serif;
	font-size: 30px;
	font-weight: 400;
	font-style:normal;
	text-decoration:none;
}

h3 {
	color:#1d1d1d;
	font-family: 'Montserrat', serif;
	font-size: 18px;
	font-weight: 400;
	font-style:normal;
	text-decoration:none;
	margin-top:0;
}

h4 {
	color:#1d1d1d;
	font-family: 'Montserrat', serif;
	font-size: 18px;
	font-weight: 400;
	font-style:normal;
	text-decoration:none;	
}


.colore1 {
	color:#0b26a9;
}

.colore2 {
	color:#FFF;
}

.colore3 {
	color:#f4f4f4;
}


.sfondo_colore1 {
	background-color:#FFF;
}

.sfondo_colore2 {
	background-color:#464646;
}

.sfondo_colore3 {
	background-color:#0b26a9;
}


a {
	color:#0b26a9; 
	text-decoration:underline;
}

a:visited {
	color:#0b26a9;
	text-decoration:none;
}

a:hover {
	color:#0b26a9; 
	text-decoration:none;
}

.pulsante {
	color:#FFFFFF;
	background-color:#0b26a9;
	border-width: 0px;
	border-style: solid;
	border-radius:2px;
	padding:0px 20px;
	text-transform:uppercase;
}

.pulsante:hover {
	color:#0b26a9;
	background-color:#EEE;
}


/* --- FINE DINAMICI --- */


/* --- OVERRIDE CANVAS --- */
.sfondo_colore2 label {color:#DDD;}
select, form .multicheckbox-btn.dropdown-toggle, form .multiselect.dropdown-toggle {    
  background: #FFF url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj4KCTxkZWZzPgoJCTxzdHlsZT4uY2xzLTF7ZmlsbDojZmZmO30uY2xzLTJ7ZmlsbDojNDQ0O308L3N0eWxlPgoJPC9kZWZzPgoJPHRpdGxlPmFycm93czwvdGl0bGU+Cgk8cmVjdCBjbGFzcz0iY2xzLTEiIHdpZHRoPSI0Ljk1IiBoZWlnaHQ9IjEwIi8+Cgk8cG9seWdvbiBzdHlsZT0iZmlsbDojNDQ0NDQ0IiBpZD0iYXJyb3ctZG93biIgcG9pbnRzPSIxLjQxLDUuMzMgMy41NCw1LjMzIDIuNDgsNi44MiAiIGNsYXNzPSJjbHMtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4xMzM1MTM2OCwtMS4xNTgxMDgyKSIgLz4KPC9zdmc+) no-repeat 99% 50%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	background-size: auto 42px;
}
form.singlearrow select, form.singlearrow .multicheckbox-btn.dropdown-toggle, form.singlearrow .multiselect.dropdown-toggle {
	background: #FFF url(data:image/svg+xml;base64,PHN2Zw0KICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIg0KICAgdmVyc2lvbj0iMS4xIg0KICAgdmlld0JveD0iMCAwIDQuOTUgMTAiDQogICBkYXRhLW5hbWU9IkxheWVyIDEiDQogICBpZD0iTGF5ZXJfMSI+DQogIDxkZWZzPg0KICAgIDxzdHlsZT4uY2xzLTF7ZmlsbDojZmZmO30uY2xzLTJ7ZmlsbDojNDQ0O308L3N0eWxlPg0KICA8L2RlZnM+DQogIDx0aXRsZT5hcnJvd3M8L3RpdGxlPg0KICA8cmVjdA0KICAgICBpZD0icmVjdDkiDQogICAgIGhlaWdodD0iMTAiDQogICAgIHdpZHRoPSI0Ljk1Ig0KICAgICBjbGFzcz0iY2xzLTEiIC8+DQogIDxwb2x5Z29uDQogICAgIHN0eWxlPSJmaWxsOiM0NDQ0NDQiDQogICAgIHRyYW5zZm9ybT0ibWF0cml4KDAuNjY4MDA1MTQsMCwwLDAuNjY4MDA1MTQsMC45MjE2ODcyNywwLjk0MTg2ODc3KSINCiAgICAgaWQ9InBvbHlnb24xMSINCiAgICAgcG9pbnRzPSIzLjU0LDUuMzMgMy41NCw1LjMzIDIuNDgsNi44MiAxLjQxLDUuMzMgIg0KICAgICBjbGFzcz0iY2xzLTIiIC8+DQo8L3N2Zz4NCg==) no-repeat 99% 50%;
	-moz-appearance: none; 
	-webkit-appearance: none; 
	background-size: auto 52px;
}

::selection {background: #000;}
::-moz-selection {background: #000;}
::-webkit-selection {background: #000;}
.top-links-sub-menu, .top-links-section { border-top-color: #000; }
.breadcrumb a:hover { color: #000; }
.button, .button:visited, .button:active, .button.button-dark:hover { background-color: #000; color:#FFF;}
 
.fbox-icon i, .fbox-icon img {border-radius: 50%; background-color: #888;}
.fbox-outline .fbox-icon a, .fbox-outline .fbox-icon a, .dropdown-menu{border-color:#000;}
.fbox-effect.fbox-dark:hover .fbox-icon i {background-color: #464646;}
.fbox-effect.fbox-dark .fbox-icon i::after {box-shadow:0 0 0 2px #ccc;}
.box {padding:15px; background-color:#eee;}


.menu-item:hover > .menu-link, .menu-item.current > .menu-link, .menu-link, .menu-link div {color:#000;}

.dark .menu-item:hover > .menu-link, .dark .menu-item.current > .menu-link, .dark .menu-link, .dark .menu-link div {color:#FFF;}
.dark #header.full-header, #header.full-header.dark, #header.transparent-header.full-header #header-wrap {border:0;}
.dark .button.button-border:not(.button-light):not(.button-fill) {border-color:#FFF; color:#FFF}


.bg-color #header-wrap, #page-menu-wrap, .page-menu-nav, .page-menu-sub-menu, .dots-menu .page-menu-item.current > a { background-color: #000 !important; }
.border-color { border-color: #000 !important; }

.form-check-input:focus {border-color: #999; box-shadow: 0 0 0 0.25rem rgba(152, 152, 152, 0.25);}
.form-check-input:checked {background-color: #333; border-color: #333;}
.form-check-input[type=checkbox]:indeterminate {background-color: #333; border-color: #333;}

h1 + .lead, h2 + .lead, h3 + .lead, h4 + .lead, h5 + .lead {margin-top:2rem;}
.box h1, .box h2, .box h3 {margin-bottom:15px;} 
h5 {font-family: 'Montserrat', serif; text-transform:uppercase; color:#1d1d1d;} 
h6 {font-family: 'Open Sans', sans-serif; letter-spacing:1px; color:#1d1d1d;}

.colore4 {color:#a8c8da;}

.sfondo_colore3 label {color:#FFF;}
.sfondo_colore3 .pulsante {background-color:#FFF; color:#444;}
.sfondo_colore3 h3 {color:#FFF;}
.sfondo_colore4 {background-color:#3f4448; color:#fff!important;}

.lead p, #banner .lead p {margin-top:2rem; font-size:1.2em;} 


/* --- GENERICI --- */
hr, hr:not([size]) {border-bottom:1px #888 solid; height:0px; background-color:#EEE; opacity:1;}

.border					{border-color:#ccc!important;}
.border-bottom 	{border-bottom:1px #ccc solid;}
.border-left 		{border-left:1px #ccc solid;}
.border-right 	{border-right:1px #ccc solid;}
.border-top	 		{border-top:1px #ccc solid;}


.agency_fax {display:none;}

.thumb {max-width:200px; float:left; margin-right:20px;}
.heighter {clear:both; height:30px;}
.clear {clear:both; line-height:0; font-size:0; width:100%;}
.left {float:left}
.right {float:right}
.wrapper {width:100%; overflow:hidden}
.textleft {text-align: left;}
.textright {text-align: right;}
.textcenter {text-align: center;}
.textjustified {text-align: justify;}
.textsmall {font-size:80%; line-height:140%;}
.hide, .invisible {display:none}
.nomeagenzia {font-weight:bold}
.strong {font-weight:bold;}

.hidemobile {display:block}
.showmobile {display:none;}

.green {color:#00AA00;}
.red {color:#DD0000;}

.pad-xs {padding:5px}
.pad, .pad-sm {padding:10px}
.pad-lg {padding:15px}
.pad-tb-md {padding:20px 0;}
.pad-tb-xl {padding:40px 0;}
.pad-t-xxl {padding-top:80px}
.pad-tb-xxl {padding:80px 0}
.pad-tb-xxxl {padding:100px 0;}
.no-padding-top {padding-top:0!important}
.no-padding-bottom {padding-bottom:0!important}

.no-tpm {margin-top:0}
.topmargin-xs {margin-top:5px;}
.topmargin-sm {margin-top:10px;}
.top-spacing {margin-top:30px;}

.no-btm {margin-bottom:0}
.bottommargin-xs {margin-bottom:5px;}
.bottommargin-sm {margin-bottom:10px;}
.allmargin-xs { margin: 1rem !important; }
.leftmargin-xs { margin-left: 1rem !important; }
.rightmargin-xs { margin-right: 1rem !important; }
.topmargin-xs { margin-top: 1rem !important; }
.bottommargin-xs { margin-bottom: 1rem !important; }
.bottommargin-xs label {margin-bottom:2px}


.dimmer {position:absolute; top:0; left:0; width:100%; height:100%; background-color:rgba(0,0,0,0.3); margin:0; padding:0; transition:0.3s all ease-in-out;}
.transparent {opacity:0}
.translucent {opacity:0.5}
.matte {opacity:1}

.flex {display: flex;}
.flex-row {display: flex; flex-direction: row; flex-wrap: wrap;}
.flex-column {display: flex; flex-direction: column; flex-wrap: wrap;}
.flex-item {flex: 1 1 auto; position: relative;}
.flex-item-grow {flex:1 0 auto;}
.flex-item-shrink {flex:0 1 auto;}

.nowrap {flex-wrap: nowrap;}
.align-items-center {align-items: center;}
.align-content-center {align-content: center;}
.justify-content-center {justify-content: center;}
.justify-content-spacebetween {justify-content: space-between;}
.justify-content-end {justify-content: flex-end;}

.flex.with-divider > .flex-item:after, .flex-row.with-divider .flex-item:after, .flex-column.with-divider .flex-item:after {content:'~'; display: inline-block; position:absolute; right:-0.2em;}
.flex.with-divider > .flex-item:last-child:after, .flex-row.with-divider .flex-item:last-child:after, .flex-column.with-divider .flex-item:last-child:after {display: none;}

.w1000 {max-width:1000px!important;}
.w900 {max-width:900px!important;}
.w800 {max-width:800px!important;}
.w700 {max-width:700px!important;}

.btn {border-radius:0;}
.btn.outline {border:1px #333 solid; color:#333; text-transform:uppercase; font-size:1.2em; line-height:1.2em; padding:0.5em 1.5em; background-color:transparent; display:inline-block;}
.btn.outline.light {border:1px #FFF solid; color:#FFF;}

div.padder {padding:5px 10px}
.table-striped td {font-size:0.85em}

.backgroundimage-cover {background-size: cover; background-position: center center; background-repeat: no-repeat;}
.backgroundimage-contain {background-size: contain; background-position: center center; background-repeat: no-repeat;}



/* --- OVERRIDE BOOTSTRAP --- */
label {font-size:1rem; color:#000;}
.form-control, .form-control:active, .form-control:focus {border-radius:0; border-color:#000;}
.form-control:not(.small) {height: calc(2.75rem + 2px);}
.form-control.small {font-size:0.9em; padding:0.25rem 0.5rem; line-height:1em; height:30px;}

.form-control::-webkit-input-placeholder {color: #444; opacity: 0.6; text-transform:none; font-size:1rem;}
.form-control::-moz-placeholder {color: #444; opacity: 0.6; text-transform:none; font-size:1rem;}
.form-control:-ms-input-placeholder {color: #444; opacity: 0.6; text-transform:none; font-size:1rem;}
.form-control::-ms-input-placeholder {color: #444; opacity: 0.6; text-transform:none; font-size:1rem;}
.form-control::placeholder {color: #444; opacity: 0.6; text-transform:none; font-size:1rem;}
.form-control.small::placeholder {font-size:0.8rem; line-height:1em;}


/* --- OWL CAROUSEL --- */
.owl-carousel.still-nav .owl-nav [class*=owl-] i {margin:0;}
.owl-carousel.still-nav .owl-nav [class*=owl-] {left:-10px; right:auto; width:auto; height:50px; margin-top:-25px; font-size:60px; opacity:1; border:0; background-color:transparent; color:#000; border-radius:0; text-shadow:0 0 5px #FFF, 0 0 2px #FFF}
.owl-carousel.still-nav .owl-nav [class*=owl-]:hover {background-color:transparent!important; color:#888!important;}
.owl-carousel.still-nav .owl-nav .owl-next {left:auto; right:-10px;}

.owl-carousel .owl-nav i {margin:0}
.owl-carousel .photo_container {background-size:contain; background-position:center center; background-repeat:no-repeat; width:100%; height:300px; position:relative; transition:all 0.5s ease-in; }
.owl-carousel .photo_container img {display:none;}

@media (min-width:576px) {
	.owl-carousel.still-nav .owl-nav [class*=owl-] {left:-25px;}
	.owl-carousel.still-nav .owl-nav .owl-next {right:-25px; left:auto;}
}


/* --- PULSANTI --- */
.pulsante {cursor:pointer; box-sizing: border-box; text-decoration:none;}
.pulsante:visited {text-decoration:none;}
a.pulsante, button.pulsante:not(.onlyicon), input.pulsante {display:inline-block; line-height:2em; font-size:1.3em;}
a:focus {outline:0; text-decoration:none;}
a:active {text-decoration:none;}
button.pulsante {border-radius:0; -webkit-border-radius:0;}
button i {margin-right:10px;}
button.onlyicon i, .button.onlyicon i, .owl-nav button i {margin-right:0px;}
button.pulsante.onlyicon {padding:0 10px;}
button.pulsante.onlyicon i {margin:0;}
button.pulsante.onlyicon span {display:none; line-height: 1.5em;}
button.pulsante.onlyicon.showtext {margin-left:5px; flex: 2 1 auto;}
button.pulsante.onlyicon.showtext span {display:block;}
button.pulsante.onlyicon.hideicon i {display:none;}
button.pulsante.onlyicon.showtext:not(.hideicon) i {float:left; line-height:2.35rem; margin-left:0.5rem;}

.button-group {position: relative; display: -ms-inline-flexbox; display: inline-flex; vertical-align: middle; width:100%;}
.button-group > button {position: relative; -ms-flex: 2 1 auto; flex: 2 1 auto;}
.button-group > button.onlyicon {-ms-flex: 1 2 auto; flex: 1 2 auto;}
.button-group > button:hover, .btn-group > button:focus, .btn-group > button:active, .btn-group > button.active {z-index: 1;}



/* --- COLONNE --- */
.columns1, .columns-xl-1 {columns:1;}
.columns2, .columns-xl-2 {columns:2;}
.columns3, .columns-xl-3 {columns:3;}
.columns4, .columns-xl-4 {columns:4;}


/* --- MAGNIFIC POPUP --- */
.white-popup {position: relative; background: #FFF; padding: 25px; width:auto; max-width: 750px; margin: 0 auto; }
.mfp-3d-unfold .mfp-content {perspective: 2000px;}
.mfp-3d-unfold .mfp-with-anim {opacity: 0; transition: all 0.3s ease-in-out; transform-style: preserve-3d; transform: rotateY(-60deg);}
.mfp-3d-unfold.mfp-bg {opacity: 0; transition: all 0.5s;}
.mfp-3d-unfold.mfp-ready .mfp-with-anim {opacity: 1; transform: rotateY(0deg);}
.mfp-3d-unfold.mfp-ready.mfp-bg {opacity: 0.8;}
.mfp-3d-unfold.mfp-removing .mfp-with-anim {transform: rotateY(60deg); opacity: 0;}
.mfp-3d-unfold.mfp-removing.mfp-bg {opacity: 0;}

.mfp-content form {font-size:1.3em;}
.mfp-content .bottommargin-sm {margin-bottom:10px!important;}
.mfp-content .form-group label {margin-bottom:0;}
.mfp-content .form-group .form-control {padding: 0.15rem 0.35rem; line-height: 1.2; height: calc(1.8rem + 2px);}
.mfp-content .form-group textarea.form-control {height:200px;}

.mfp-content .form-group.field-autdati > strong {font-size:0.85em;}
.mfp-content .form-group.field-autdati .informativa {font-size:0.75em; line-height:1.2em;}
.mfp-content .form-group.field-autdati .open-informativa {font-size:1.2em; line-height:1.4em;}
.mfp-content .form-group .box-radio label, .box-radio.big label {font-size:1.1em; vertical-align:middle;}
.mfp-content .form-group .box-radio input[type="radio"], .box-radio.big input[type="radio"] {width:16px; height:16px; vertical-align:middle;}
.mfp-content .form-group.box-captcha strong {font-size:0.8em;}
.mfp-content .form-group a.pulsante, .mfp-content .form-group button.pulsante:not(.onlyicon), .mfp-content .form-group input.pulsante {font-size:1.1em; line-height:1.5em;}


/* --- HEADER --- */
#header {z-index: 1024;}
#header, #header-wrap,  #header.sticky-header:not(.static-sticky) #header-wrap {max-height:none;} /* permette al menu di essere su più righe */
#logo img {max-height: 40px;}
.full-header #logo {border-right:0;}
#header .header-misc {max-width: 200px; overflow: auto; margin-left:0px; justify-content: flex-end;}
#header .header-misc .header-misc-icon {margin:0 0 0 7px;}
#header .header-misc .header-misc-icon > a {display: flex; flex-flow: row nowrap; justify-content: center; align-items: center; align-content: center;}
#header.full-header .primary-menu .menu-container {border-right: 0;}


/* ----- GALLERIA FOTOGRAFICA ----- */
.photogallery {display:block;}
.photogallery .photo {width:23.5%; margin-right:2%; height:150px; margin-bottom:15px; background-size:cover; background-repeat: no-repeat; background-position:center center; position:relative; float:left;}
.photogallery .photo .watermark {position:absolute; left:0; top:0; width:100%; height:100%; z-index:1; background-size:auto 30px;}
.photogallery .photo .infotip {position:absolute; left:0; top:0; width:100%; height:100%; display:flex; background-color:#000; color:#FFF; text-align:center; align-items:center; justify-content:center; z-index:2; opacity:0; transition:opacity 0.3s ease-in;}
.photogallery .photo:hover .infotip {opacity:0.9;}
.photogallery::after {content:""; clear:both; display:block; float:none;}

.photogallery.photo1 .photo {width:100%; margin:0; height:auto; padding-bottom: 75%;}
.photogallery.photo1 .photo .watermark {background-size:auto 100px}

.photogallery.photo2 .photo {width:49%; margin-right:2%; height:300px;}
.photogallery.photo2 .photo:nth-child(2) {margin-right:0}
.photogallery.photo2 .photo .watermark {background-size:auto 50px}

.photogallery.photo3 .photo {width:32%; margin-right:2%; height:200px;}
.photogallery.photo3 .photo:nth-child(3) {margin-right:0}
.photogallery.photo3 .photo .watermark {background-size:auto 35px}

@media (min-width:1199.98px) {
  .photogallery:not(.bigphoto) .photo:nth-child(4n) {margin-right:0;}
  .photogallery.bigphoto .photo:nth-child(1) {width:49%; height:315px; margin-right:2%;}
	.photogallery.bigphoto .photo:nth-child(1) .watermark {background-size:auto 70px;}
  .photogallery.bigphoto .photo:nth-child(3), .photogallery.bigphoto .photo:nth-child(5), .photogallery.bigphoto .photo:nth-child(4n+9) {margin-right:0;}
}

@media (min-width:992px) and (max-width:1199.98px) {
  .photogallery:not(.bigphoto) .photo:nth-child(4n) {margin-right:0;}
	.photogallery .photo .watermark {background-size:auto 25px;}
  .photogallery.bigphoto .photo:nth-child(1) {width:49%; height:225px; margin-right:2%;}
	.photogallery.bigphoto .photo:nth-child(1) .watermark {background-size:auto 50px;}
  .photogallery .photo {height:105px;}
  .photogallery.bigphoto .photo:nth-child(3), .photogallery.bigphoto .photo:nth-child(5), .photogallery.bigphoto .photo:nth-child(4n+9) {margin-right:0;}
}

@media (min-width:768px) and (max-width:991.98px) {
	.photogallery.bigphoto .photo:nth-child(1) {width:66%; height:335px;}  
  .photogallery.bigphoto .photo:nth-child(2), .photogallery.bigphoto .photo:nth-child(3), .photogallery.bigphoto .photo:nth-child(3n+6) {margin-right:0; }  
  .photogallery .photo {width:32%; height:160px; margin-right:2%;}
  .photogallery:not(.bigphoto) .photo:nth-child(3n) { margin-right:0}
}

@media (min-width:480px) and (max-width:767.98px) {
  .photogallery .photo, .photogallery.bigphoto .photo {width:49%; height:185px; margin-right:2%;}
  .photogallery .photo:nth-child(2n) { margin-right:0}
}

@media (max-width:479.98px) {
  .photogallery .photo {width:100%; height:240px; margin-right:0%;}
}
	



/* --- BANNER --- */
#banner {z-index:2; position:relative;}
#banner .section {height:50vh; background-repeat:no-repeat; background-size: cover; display: flex; flex-flow:column wrap; justify-content: center; margin:0!important;}
#banner .section .container {text-align: center;}
#banner .banner-caption, #banner .banner-caption h1, #banner .banner-caption h2, #banner .banner-caption h4, #banner .banner-caption p {color: #FFF; font-weight:400;}
#banner h1 {text-transform:initial; font-size: 4rem; letter-spacing: 2px; line-height: 1; margin-bottom: 0; text-align:center;}
#banner h2 {text-transform:initial; font-size: 3.5rem; letter-spacing: 2px; line-height: 1; margin-bottom: 0; text-align:center;}
#banner h4, #banner h4 p {font-size:22px; text-transform: uppercase; text-align:center;}
#banner p {font-size:16px; margin-bottom:20px;}
#banner .pulsanti {height:auto; line-height:2em;}
#banner .pulsanti .pulsante {padding:0 20px;}


/* --- LINKS SU BANNER / SLIDER --- */
.links {font-family:'Open Sans', sans-serif; font-weight:300; margin:0 auto;}
.links:not(.owl-carousel) {display:flex; flex-flow:row wrap; justify-content:center; align-content:space-around; align-items:stretch;}
.links .link {display:flex; flex-flow:column wrap; justify-content:center; align-items:center; align-content:center;}
.links:not(.owl-carousel) .link {flex:0 0 350px; margin:0.5em 1em;}
.links .link a {flex: 1 0 100%; display:flex; width:100%; justify-content:center; align-items:center; align-content:center; font-size: 1.6em; line-height:1.5em; padding:2em 1em; border:1px #000 solid; text-transform:uppercase; background-color:rgba(0,0,0,0.1); transition: 0.5s all ease-in-out; position:relative; text-align:center;}
.links .link a, .links .link a:hover, .links .link a:active, .links .link a:focus {color:#000; text-decoration:none;}
.links .link a:hover {background-color:rgba(0,0,0,0.3);}
.links .link a:after {content:'...'; line-height:0.9em; font-size:2em; position:absolute; bottom:0.4em; text-align:center; width:50px; display:none;}

.links.owl-carousel .owl-stage {display:flex; flex-flow:row nowrap; justify-content:center; align-content:stretch; align-items:stretch; float:none;}
.links.owl-carousel .owl-stage .owl-item .link {height:100%; margin:0 1px;}
.links.owl-carousel .owl-dots {margin-top:20px;}
#slider .links.owl-carousel .owl-dots {bottom:-25px;}


.dark .links .link a {background-color:rgba(255,255,255,0.1); border:1px #FFF solid;}
.dark .links .link a, .dark .links .link a:hover, .dark .links .link a:active, .dark .links .link a:focus {color:#FFF;}
.dark .links .link a:hover {background-color:rgba(255,255,255,0.3); text-shadow:1px 1px 3px #000;}


/* --- SEZIONI --- */
.section:not(.sfondo_colore3) {background-color:#eee;}
.section.white, div.white {background-color:#FFF;}
.bigtext {font-size:120%; line-height:1.3em;}
.bigtext h1, .bigtext h2, .bigtext h3, .bigtext h4, .bigtext h5, .bigtext h6 {font-size:120%; margin-top:30px; margin-bottom:10px; font-weight: bold;}
.bigtext ul, .bigtext ol {margin:10px 0 10px 30px;}



/* --- BREADCRUMB FISSI --- */
.breadcrumb.static {position: relative!important; top:auto!important; right:auto!important; margin:0 0 30px 0!important; font-size:19px;}
.heading-block .breadcrumb.static { margin: -30px 0 0 0 !important; }


/* --- MAPPA LEAFLET --- */
.leaflet-container {font-family: 'Open Sans', sans-serif!important;}
.leaflet-container .leaflet-popup-content .thumb {text-align:center; margin:10px 0;}
.leaflet-container .leaflet-popup-content h4 {margin-bottom:0; font-size:1.5em; line-height:1.2em; text-transform:uppercase; font-weight:bold;}
.leaflet-container .leaflet-popup-content h5 {margin-bottom:0; font-size:1.3em; line-height:1em; text-transform:none; font-weight:bold;}
.leaflet-container .leaflet-popup-content h6 {margin-bottom:10px; font-size:1em; line-height:1.2em; text-transform:none; font-weight:400; text-transform:uppercase; color:#555;}
.leaflet-container .leaflet-popup-content p  {margin:0; font-size:1rem; line-height: 1em;}
.leaflet-container .leaflet-popup-content .link {text-align:center;}
.leaflet-container .leaflet-tile-pane img {filter:grayscale(80%);}


/* --- HOME --- */
#page-home #slider .slide-number {display:none;}
#page-home #search.withbanner .section {margin-bottom:0;}


.big-title {font-size: 40px; line-height: 1.5em;}
.big-subtitle {font-size: 30px; line-height: 1.3em;}
.big-text {text-align:justify; padding:20px 0;}
.lg-img-bottom img {max-width:100%; max-height:300px; padding-top:20px;}
.lg-text-top {text-align:center;}
.lg-text-top .quotes .big-subtitle {font-size: 25px; font-style:italic; padding-top:15px;}

@media (min-width:992px) {
	#lead.flex-column {min-height:400px; margin-top:150px;}
	.lg-img-bottom {position:relative; height:100%;}
	.lg-img-bottom img {bottom:0; right:0; position:absolute; max-height:none; padding-top:0px;}
}

@media (min-width:1200px) {
	.lg-text-top {position:absolute; margin-top:-130px; left:10px; right:10px;}
	.lg-text-top > div {top:0; position:absolute; width:100%;}
	.lg-text-top {text-align:left;}
	.lg-text-top .quotes {text-align:right;}
}



/* --- PAGINA --- */
.toggle {display:flex; flex-flow:row wrap; justify-content:flex-start; align-items:flex-start; align-content:flex-start; font-size:1.2em; margin-bottom:40px;}
.toggle:last-child {margin-bottom:0;}
.toggle .toggle-header {flex:0 0 20%; margin-right:5%; font-size:1.2em; font-weight:bold;}
.toggle .toggle-header .toggle-title {display:block; position:relative; padding-right:20px; padding-top: 10px;}
.toggle .toggle-header .toggle-title:after {content:'\f054'; font-family: 'Font Awesome 5 Pro'; font-weight: 400; position:absolute; right:0; top:5px;}
.toggle.toggle-active .toggle-header .toggle-title:after {content:'\f078';}
.toggle .toggle-content {flex:1 1 75%; padding:5px 0;}

@media (max-width:1199.98px) {
	.toggle .toggle-header {flex: 0 0 30%;}
	.toggle .toggle-content {flex: 0 0 65%;}
}

@media (max-width:991.98px) {
	.toggle .toggle-header {flex: 1 0 100%; margin-right:0;}
	.toggle .toggle-content {flex: 1 0 100%;}
}


/* --- NEWS --- */
.pagination strong {font-size:1.2em;}
.singlenews {display:flex; flex-flow:column wrap; justify-content:center; align-content:stretch; align-items:stretch;}
.singlenews .feature-box {height:100%;}
.singlenews .fbox-media {border: 1px solid #E5E5E5; border-bottom:0;}
.singlenews .fbox-media .fbox-img {padding-bottom:66.6%;}
.singlenews .fbox-media .fbox-img img {display:none;}
.singlenews .fbox-content .category {text-transform:uppercase; font-size:0.8em; letter-spacing:1px;}
.singlenews .fbox-content .date {font-size:0.8em; color:#888;}

.ricercanews.visible {margin-bottom:2rem; display:none; flex-flow:row nowrap; justify-content: flex-end; align-items: center; gap:10px;}
.ricercanews .form-group {flex:0 1 250px;}
.ricercanews .form-control {font-size: 0.9em; padding: 0.25rem 0.5rem; line-height: 1em; height: 30px;}
.ricercanews .form-group button {font-size: 1em; line-height: 1em; height: 30px;}
.ricercanews .form-group button i {margin: 0; font-size: 1em; display:inline-block!important;}
.ricercanews label {display:block; margin:0;}
.ricercanews .clear {display:none;}


/* --- LINKS --- */
.elencolinks div.link {margin-bottom:3rem;}
.elencolinks div.link .link-img {display:block; text-align:center;}
.elencolinks div.link .link-img img {max-width:100%; max-height:200px; border:0;}
.elencolinks div.link h4 {margin:10px 0; font-weight:bold; text-transform:uppercase;}
.elencolinks div.link .link-btn a {font-weight:bold; margin-bottom:10px;}
.elencolinks div.link .link-btn a img {max-width:50px;}
.elencolinks div.link .link-btn a span {display:block;}



/* --- SOCIAL ICONS --- */
.social span {margin-right:10px;}
.social a {margin:5px; display:inline-block; vertical-align: middle; transition:all 0.5s ease-in-out; opacity:1;}
.social a img {width:35px;}
.social a.disabled {opacity:0.7; filter:grayscale(100%)}

.newssharer .social {text-align:center;}
.newssharer .social a {color:#000; font-size:1.5em; border:2px #000 solid; width:35px; height:35px; line-height:35px; text-align:center; border-radius:20%;  transition:all 0.5s ease-in-out; opacity:1;}
.newssharer .social a:hover {background-color:#000; color:#FFF;}



/* --- DETTAGLI AGENZIA --- */
.agency_schema .agency_logo img {max-height:150px; max-width:100px; padding:20px 0;}
.agency_schema h4.nomeagenzia {text-transform:none; margin-bottom:0; font-size:1.3em;}


.agency_recapiti i {margin-right:3px; opacity:0.7; width:20px; text-align: center;}
.agency_recapiti span {margin-right:20px;}


/* --- FORM GENERICO --- */
form {margin:0}
form label {font-size:13px; font-weight:700; letter-spacing:0;}
form .box-radio, form .box-check {margin-top:5px;}
form .frm-mb {margin-bottom:20px!important;}
form .box-captcha .codicecaptcha {max-width:100%;}
form .box-captcha .testocaptcha, form .box-captcha .codicecaptcha, form .box-captcha .checkcaptchalive {border-color: #ced4da!important;}
form button.pulsante:not(.onlyicon) i {display:none;}
form button.pulsante:focus {color:#FFF;}


.form-title h3 {text-transform:uppercase; margin-top:20px; margin-bottom:10px;}


/* --- FORM PERSONALIZZATI --- */
.form_page {padding:20px;}
.form_page label {display:block; width:100%; margin:10px 0 0 0}
.form_page input[type='text']:not(.testocaptcha), .form_page input[type='number'], .form_page input[type='email'], .form_page select, .form_page textarea, .form_page textarea {display:block; width:100%; padding: 0.175rem 0.5rem; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; border: 1px #000 solid; }
.form_page textarea {height:200px;}
.form_page .form_privacy_titolo {font-size: 20px; font-weight:bold; margin: 20px 0 5px; line-height: 20px;}
.form_page .form_privacy_desc {font-size:85%; line-height:1.2em}
.form_page .box-radio label {display:inline-block; width:auto; margin-right:5px;}
.form_page .box-radio input {display:inline-block; margin-right:30px;}
.form_page .box-send {text-align:right;}

.form_page .form-mc-box .f-row > div {display:flex; flex-flow:row wrap; align-items: center;}
.form_page .form-mc-box .f-row > div label {flex:1 0 auto; width:auto; margin:0; padding-left:10px;}
.form_page .form-mc-box .f-row > div input {flex:0 1 auto; width:auto; margin:0;}

select.error, textarea.error, input.error, input[type=text].error, input[type=password].error, input[type=datetime].error, input[type=datetime-local].error, input[type=date].error, input[type=month].error, input[type=time].error, input[type=week].error, input[type=number].error, input[type=email].error, input[type=url].error, input[type=search].error, input[type=tel].error, input[type=color].error {
	box-shadow: 0 0 8px rgba(128, 0, 0, 0.6);
}


/* --- FORM CONTATTI --- */
.form_contatto textarea.form-control {height:300px;}
.form_contatto .field-autdati > strong {font-size:0.85em;}
.form_contatto .field-autdati .informativa {font-size:0.75em; line-height:1.45em;}
.form_contatto .box-radio label, .box-radio.big label {font-size:1.2em;}
.form_contatto .box-radio input[type="radio"], .box-radio.big input[type="radio"] {width:16px; height:16px;}

.modulocontatti .contatta_info {margin-bottom:20px; font-weight:bold;}
.modulocontatti .contatta_motivo textarea {height:242px;}
.modulocontatti .contatta_motivo.withoutsubj textarea {height:340px;}
.modulocontatti .box-send {padding-top:15px;}


/* --- MULTIPLE SELECT --- */
span.multiselect-native-select {display:block; background-color:#FFF; border: 0; border-radius: 0px;}
span.multiselect-native-select .btn-group {display:block;}
span.multiselect-native-select .btn-group > .btn {text-align:left; padding-left:15px;}
span.multiselect-native-select .btn-group > .btn:active, span.multiselect-native-select .btn-group > .btn:focus {border-color:#000;}
span.multiselect-native-select .btn-group > .dropdown-toggle::after {position:absolute; right:5px; top:50%; margin-top:-2px; display:none;}
span.multiselect-native-select .btn-group .multiselect-selected-text {display:block; overflow: hidden; white-space: nowrap; margin-right:10px;}
span.multiselect-native-select .multiselect-container {width:100%; border-radius:0px!important; padding:5px 0; max-height:200px; overflow:auto;}
span.multiselect-native-select .multiselect-container > li {padding:0px 5px;}
span.multiselect-native-select .multiselect-container > li > a {display:block; }
span.multiselect-native-select .multiselect-container > li > a > label {color:#000; font-family:inherit; text-transform:capitalize; padding:2px 4px; letter-spacing:0;}
span.multiselect-native-select .multiselect-container > li > a > label > input[type=checkbox] {display:inline-block!important; width:auto!important; margin-bottom:0; vertical-align:middle; margin-right:4px;}

/* --- MULTIPLE CHECKBOX --- */
.multicheckbox {display:block; background-color:#FFF; border: 0; border-radius: 0;}
.multicheckbox .btn-group {display:block;}
.multicheckbox .btn-group > .btn {text-align:left; padding-left:15px;}
.multicheckbox .btn-group > .btn:active, .multicheckbox .btn-group > .btn:focus {border:1px #000 solid;}
.multicheckbox .btn-group > .dropdown-toggle::after {position:absolute; right:5px; top:50%; margin-top:-2px; display:none;}
.multicheckbox .btn-group .multicheckbox-text {display:block; overflow: hidden; white-space: nowrap; margin-right:10px;}
.multicheckbox .multicheckbox-container {width:100%; border-radius:0px!important; padding:5px 0; max-height:200px; overflow-y:auto;}
.multicheckbox .multicheckbox-container > div {padding:0px 5px;}
.multicheckbox .multicheckbox-container > div label {color:#000; font-weight:400; font-family:inherit; text-transform:capitalize; padding:2px 4px; letter-spacing:0; display:inline-block!important; width:auto!important; margin-bottom:0;}
.multicheckbox .multicheckbox-container > div input[type=checkbox] {display:inline-block!important; width:auto!important; margin-bottom:0; vertical-align:middle; margin-right:4px;}



/* --- FORM DI RICERCA --- */
#more_filters_btn {display:flex; align-content:center; justify-content:center; align-items:center;}
.spacer:after {content:'-'; display:inline-block; position:absolute; right:-15px; top:0; width:30px; text-align:center; line-height:38px;}
.spacer.small:after {line-height:30px;}

#elenco_zone br {clear:both}
fieldset {padding:10px 20px;}
#opzioni {padding:0px; margin-top:10px;}
#opzioni .clear {height:1px;}
#opzioni legend {display:block; cursor:pointer; padding-left:25px; background:url('../images/freccina_grey.png') left center no-repeat; width:90%; border-bottom:0; margin:0;}
#opzioni .lista-opzioni {display:block; line-height: 1.6em;}
.quicksearch .avviaricerca {text-align:center; margin:5px 0;}


/* ---- AUTOCOMPLETE (RICERCA TESTUALE INDIRIZZO) ---- */
.ui-autocomplete {background:#FFF; border:2px solid #DDD;}
.ui-autocomplete .ui-menu-item:hover, .ui-autocomplete .ui-state-active {background:#EEE; color:#000;}
.ui-autocomplete .ui-corner-all {border-radius:0;}
.ui-autocomplete .ui-menu-item a {border:1px transparent solid;}
.ui-autocomplete .ui-menu-item a.ui-state-focus, .ui-autocomplete .ui-menu-item a.ui-state-active {margin:0; background-color:#0177bf; color:#FFF}


/* --- LISTA ZONE (RICERCA TESTUALE INDIRIZZO)---- */
#colorbox.box_search_zone #cboxLoadedContent {margin-bottom:0;}
#form-popup {padding:10px 10px 0 10px;}
#form-popup .lista {max-height:314px; overflow-y:auto;}
#form-popup .lista .list-group-item { padding: 2px 15px; margin-right:10px; border:0;}
#form-popup .lista .list-group-item .checkbox-style-3-label { margin: 0px; }
#form-popup .lista .list-group-item:first-child {background-color:#EEE; margin-bottom:10px;}
#form-popup .lista .list-group-item.disabled, #form-popup .lista .list-group-item.disabled * { cursor: not-allowed; pointer-events:none; }
#form-popup .lista .list-group-item.disabled:not(:first-child) { opacity:0.2 }
#form-popup .lista .list-group-item.disabled:not(:first-child) .checkbox-label {vertical-align:middle;}
#form-popup .lista .list-group-item i {font-size:1.2em; line-height:1.2em; margin-right:10px;}
#form-popup .lista .list-group-item label {display:inline-block; line-height:16px; margin:0; text-transform:uppercase;}
#form-popup .lista .list-group-item input.checkbox-style {width:16px; height:16px; border:1px #DDD solid; display:inline-block; margin:0 6px 0 0; vertical-align:middle;}
#form-popup .pulsanti {margin-top:10px; text-align:center;}


/* --- PAGINATION --- */
.paginator {font-size:1.3em; display:block;}
.paginator .pag {padding:0 3px; display:inline-block;}
.paginator span.pag {font-weight:bold;}



/* --- FOOTER --- */
#footer {border:0; font-size:1em;}
#footer a {color: #555}
#footer a:hover {color:#000;}
#footer .footer-logo {max-width: 240px; margin:0; display: inline-block;}

#footer .social {margin:0; line-height: 24px;}
#footer .social a, #footer .social a:visited, #footer .social a:active {width:1.5em; font-size:15px; margin:0 5px; text-decoration:none!important;}
#footer .social a:hover {color:#888;}

#footer .sfondo_colore2 a, #footer .sfondo_colore2 a:visited, #footer .sfondo_colore2 a:active {color:#aaa;}
#footer .sfondo_colore2 .social a, #footer .sfondo_colore2 .social a:visited, #footer .sfondo_colore2 .social a:active {color:#FFF}
#footer .sfondo_colore2 a:hover {color:#aaa;}


#footer .sfondo_colore2 h3, #footer .sfondo_colore2 h4, #footer .sfondo_colore2 h5, #footer .sfondo_colore2 h6 {color:#aaa; margin-bottom:0.6rem;}
#footer h5 {text-transform: uppercase; margin-bottom:0; font-size:1rem; line-height: 1em;}

#copyrights {color:#999; padding:20px 0;}
#copyrights a {text-decoration:underline!important;}
#copyrights .authoring, #copyrights .show-privacy {display: inline-block; margin:0 20px;}


/* --- MAPPA --- */
.map iframe{width:100%; height:320px; border:solid 1px #ccc; padding:2px; background:#fff;}
#map-container iframe{width:100%; height:360px;}

.map-tab iframe {width:100%; height:500px;}
.map-tab a {font-size:0.80em;}



/* --- BLOCK QUOTE --- */
blockquote {margin: 1.5em 10px; padding: 30px; font-style:italic;}
blockquote:before {color: #ccc; content: open-quote; font-size: 4em; line-height: 0.1em; margin-right: 0.25em; vertical-align: -0.4em; content: "\201C";}
blockquote p {display: inline; font-size:1.3em;}
blockquote span {display:block; margin-top:10px;}



/* ----- WATERMARK ----- */
.watermark, .venduto {display:block; width:100%; height:100%; background-color:transparent; background-origin:padding-box; background-position:center center; background-repeat:no-repeat; background-size:auto 50px; opacity:0.4;}
.watermark-container .watermark, .swiper-slide .watermark, figure .watermark {position:absolute; top:0; left:0;}
#slider .watermark, .swiper-slide .watermark {background-size:auto 100px;}
.bigfoto .watermark, .sp-slide .sp-layer.watermark {background-size:auto 80px; opacity:0.4!important;} 

#colorbox #cboxLoadedContent .watermark {position:absolute; width:100%; height:93%; margin-bottom:30px; background-color:transparent; background-origin:padding-box; background-position:right bottom; background-repeat:no-repeat; background-size:auto 50px; box-sizing:border-box;}
.mfp-gallery figure.watermark-container .watermark {background-size:auto 90px;}


.swiper-lazy {height:100%; background-position:center center; background-repeat:no-repeat; background-size:cover; display:block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: hidden;}
.swiper-lazy-preloader {display:none;}


/* --- BOLLINO ANNUNCI CERTIFICATI --- */
.certified-logo {width:50px; height:50px; background:url('../images/certified.png') no-repeat center center; background-size:100% 100%; background-size: contain;}


/* ----- LISTING ANNUNCI ----- */
#mappa_google {height:400px;}
.listing-options {display:flex; flex-flow:row nowrap; justify-content:flex-end; align-content:center; align-items:center;}
.listing-options label {margin:0 10px 0 0; letter-spacing:0; font-weight:400; font-size:0.9em;}
.listing-options button {opacity:0.5; margin:2px;}
.listing-options button.active {cursor:default; pointer-events:unset; opacity:1;}

#properties {flex-direction:column-reverse;}
#properties .annuncio .fbox-media .immagine {padding-bottom:66.66%; position:relative;}
#properties .annuncio .fbox-media .immagine .watermark {position:absolute;}
#properties .annuncio .fbox-media .infobox {position:absolute; top:10px; left:10px; font-size:12px; font-weight:bold; line-height:15px; padding:3px 10px; }
#properties .annuncio .fbox-media .infobox:empty {display:none;}
#properties .annuncio .fbox-media .infobox.price {left:auto; right:10px; font-size:1.2em; line-height:1.3em;}
#properties .annuncio .fbox-media .infobox.rif {display:none;}
#properties .annuncio .fbox-media .infobox.counters {top:45px; display:none; flex-flow:row wrap; align-content:flex-start; }
#properties .annuncio .fbox-media .infobox.counters > div {margin-right:10px;}
#properties .annuncio .fbox-media .infobox.counters > div:last-child {margin-right:0;}
#properties .annuncio .fbox-media .infobox.counters > div span:first-child {margin-right:4px;}
#properties .annuncio .fbox-media .certified-logo {position:absolute; z-index:5; top:2px; left:50%; margin-left:-25px; display:none;}
#properties .annuncio .fbox-media .titles {position:absolute; left:0; right:0; bottom:0; padding:10px;}
#properties .annuncio .fbox-media .titles h3, #properties .annuncio .fbox-media .titles h4 {color:#FFF; margin-bottom:0;}

#properties .annuncio .fbox-content {padding:1.2rem; }
#properties .annuncio .fbox-content .testo {font-size:0.9em; margin-bottom:10px; display:none;}
#properties .annuncio .fbox-content .features {display:flex; flex-flow:row nowrap; justify-content:center; align-content:stretch; align-items:stretch;}
#properties .annuncio .fbox-content .features > div {flex:0 1 60px; margin:5px 0; padding:5px;  display:flex; flex-flow:column nowrap; align-content:center; justify-content:center; align-items:center;}
#properties .annuncio .fbox-content .features > div .icon i {margin:0;}
#properties .annuncio .fbox-content .features > div span {font-size:0.85em; text-transform:lowercase;}

.searcher {display:none; transition:all 1s ease-in; -webkit-transition:all 1s ease-in;}
body.search-open .searcher {display:block!important; height:auto!important; margin-bottom:30px;}

#pagination > a {border-radius:0; margin:2px; font-size:1em; padding:0 1em; background-color:transparent; color:#000; border:0;}
#pagination > a.active {cursor:default; pointer-events:none; color:#555;}

@media (min-width:992px) {
	#slider .owl-carousel .owl-nav {background:yellow;}
	#slider .owl-carousel .owl-nav .owl-prev {left:-35px!important; border-radius:0;}
	#slider .owl-carousel .owl-nav .owl-next {right:-35px!important; border-radius:0;}

	#mappa_google {height:600px;}
	#properties {flex-direction:row;}

	.searcher {display:block!important; height:auto!important;}
}




/* ----- ANNUNCIO DETTAGLIO ----- */
.sticky-bottom {position: fixed; right: 0; bottom: 0; left: 0; background-color: #a6a4a7; padding: 8px; text-align: center; z-index: 25;}
.sticky-bottom .button {display:inline-block; width: 40%;}

.location .zona:after {content:' - ';}

.annclen {font-weight:500; text-transform:uppercase; color:#444;}
.annclen > div {display:inline-block; margin-right:20px;}
.annclen span {font-size:16px; line-height:32px; display:inline-block;}
.annclen .clen_dett i {font-size:25px; line-height:32px;}
.annclen .clen_dett strong {font-size:22px; line-height:32px; padding:0 10px;}

.annshare > div {display:block; margin-left:20px; font-size:17px; float:right;}
.annshare > div, .annshare .printan > a {line-height:24px; height:27px; }
.annshare .printan > a i {font-size:15px; line-height:30px;}

.bigdetails {display:flex; flex-flow:row; flex-wrap:wrap; justify-content:flex-start; font-size: 0.8em;}
.bigdetails .bigdetail {flex:0 1 auto; max-width:20%; padding:0.5em; display:flex; flex-flow:column nowrap; align-content:center; justify-content:center; align-items:center;}
.bigdetails .bigdetail i {margin:0;}
.bigdetails .bigdetail .textdetail {font-weight:400;}

#page-dettaglio #slider {position:relative; overflow:hidden; min-height:300px; max-height:400px;}
#page-dettaglio #slider .box.right-side {position:absolute; top:0; right:0px; bottom:0; width:400px; display:none; padding:20px;}
#page-dettaglio .price h2 {font-size:2.5em; font-weight:700;}
#page-dettaglio #main h2 {margin-bottom:10px;}

#inside-menu {display:block; z-index: 1010; position: sticky; top: 0px;}
.insidemenu {margin:0; list-style:none; padding:0; display:flex; flex-flow:row; flex-wrap:wrap; justify-content:center; align-content:stretch; align-items:center;}
.insidemenu li {flex:0 1 auto; text-align:center; display:inline-block;}
.insidemenu li a {padding: 0.5em 1em; color:#FFF; font-size:1.2em; line-height:1.4em; display:inline-block; text-transform:uppercase; white-space: nowrap;}
.insidemenu li a:hover {text-decoration:underline;}

.feature-list {column-count:1; }
.feature-list > div {padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #E2E2E2; break-inside:avoid-column;}
.feature-list > div:last-child {border-bottom:0;}
.feature-list > div strong {display:block; font-weight:400; font-size: .7rem; text-transform:uppercase;}
.feature-list > div span {display:block; font-weight: 700;}
.feature-list > div span span {display:inline-block;}
.feature-list > div.gruppo {margin-top:1rem;}
.feature-list > div.gruppo > div {margin-bottom:1rem;}
.feature-list > div.gruppo .nomegruppo strong {font-weight:700;}

.box form .form-group {margin-bottom:15px!important;}
.box form .form-control {border-color:#FFF;}
.box form .form-group label {margin-bottom:0;}
.box form .form-group input.form-control:not(.small) {font-size:0.9em; padding:0.25rem 0.5rem; line-height:1em; height:30px;}
.box form .form-group textarea.form-control {height:150px; font-size:0.9em;}
.box form .form-group input::placeholder {font-size:0.8rem; line-height:1em;}
.box form .box-radio, .box form .box-check {margin-bottom:0!important;}
.box form .form-group.box-captcha strong {font-size:0.8em;}

.riquadri {display:flex; flex-flow:row; flex-wrap:wrap; justify-content:flex-start; align-content:center; align-items:center;}
.riquadro {flex:0 1 24%; height:0; padding-bottom: 16.66%; border:0; display:inline-block; border-style:solid; background-repeat:no-repeat; background-position:center center; background-size:cover; opacity:1; margin:0 1% 1% 0; position:relative;}
.riquadri.videos1 .riquadro {flex:0 1 100%; margin:0; padding-bottom: 66.66%}
.riquadri.videos2 .riquadro {flex:0 1 49%; margin-right:2%; padding-bottom: 30%}
.riquadri.videos3 .riquadro {flex:0 1 32%; margin-right:2%; padding-bottom: 20%}
.riquadri.videos2 .riquadro:last-child, .riquadri.videos3 .riquadro:last-child {margin-right:0!important;}
.riquadro a {position:absolute; left:0; top:0; width:100%; height:100%; display:block; background-repeat:no-repeat; background-position:center center; background-size:50% auto;}
.riquadro a { background-image:url('../images/play.png'); background-color:rgba(0,0,0,0.3);}
.riquadro.plan a { background-image:url('../images/zoom.png'); background-color:rgba(0,0,0,0.3);}
.riquadro a.vtour {background-image:url('../images/virtualtour.png');}
.riquadro a > span {display:flex; opacity:0; width:100%; height:100%; background-color:teal; color:#FFF; text-align:center; justify-content:center; align-items:center; position:absolute; transition:0.5s opacity ease-in-out; background-color:rgba(0,0,0,0.8); padding: 10px; box-sizing: border-box; text-transform: uppercase;}
.riquadro:hover a > span {opacity:1;}


.planimetria {display:block; width:100%; height:0; padding-bottom:75%; }
.planimetria .photo_container {display:block; position:absolute; top:0; left:0; width:100%; height:100%; background-position:center center; background-repeat:no-repeat; background-size:cover;}
.planimetria .photo_container img {display:none;}

.printan {text-align:center}
.sp-full-screen-button {text-shadow: 1px 1px 1px #FFF, -1px -1px 1px #FFF, -1px 1px 1px #FFF, 1px -1px 1px #FFF; color: #000;}

.form_contatto.form_det_imm .bottommargin-sm {margin-bottom:15px!important;}
.form_contatto.form_det_imm .form-group label {margin-bottom:0;}
.form_contatto.form_det_imm input.form-control:not(.small) {font-size:0.9em; padding:0.25rem 0.5rem; line-height:1em; height:30px;}
.form_contatto.form_det_imm textarea.form-control {height:150px; font-size:0.9em;}
.form_contatto.form_det_imm input::placeholder {font-size:0.8rem; line-height:1em;}
.form_contatto.form_det_imm .box-radio, .form_contatto.form_det_imm .box-check {margin-bottom:0!important;}

.agelogo {max-width:400px;}


@media (min-width:576px) {
	.feature-list {column-count:2; column-gap: 2rem; }
}

@media (min-width: 992px) {	
	.bigdetails {font-size: 1em;}
	#inside-menu {top: 130px;}
	#page-dettaglio #slider .box.right-side {display:block; right:0px; }
}

@media (min-width: 1200px) {
	#inside-menu {top: 92px;}
	#page-dettaglio #slider {min-height:660px;}
	#page-dettaglio #slider .box.right-side {right:400px; }
	.insidemenu li a {padding:1em 2em;}

}



/* --- SOCIAL SHARE --- */
.socialshare {display:inline-block; vertical-align:middle}
.socialshare span, .socialshare span.printan {display:block; margin-right:5px; float:left;}
.socialshare span a {opacity:0.7; transition: all .2s ease-in-out; display:block; float:left;}
.socialshare span a img {width:24px; float:left;}
.socialshare span a:hover {opacity:1;}

.sharemore {display:none; margin-top:20px;}
.sharemore > div.fb-like, .sharemore > div.tw-share, .sharemore > div.linkedin-share {margin-bottom:3px; height:20px;}
.sharemore > div.clear {height:4px;}



#ui-datepicker-div {background-color:#FFF;}
.form-group.periodo {margin-bottom:0;}


/* --- LINGUE --- */
.header-misc .lingue ul li {list-style:none;}
.header-misc .lingue ul li a {line-height:1.2em; text-transform:uppercase; padding:5px 10px;}
.header-misc .lingue ul li a img {display:inline-block; margin-right:10px; vertical-align:middle;}
.header-misc .lingue ul li a span {font-size:12px; vertical-align:middle;}
.header-misc .lingue .dropdown-menu {min-width:5rem;}

#header.dark .header-misc .lingue ul li a  {color:#FFF;}


/*- - - - - - - - - - - - - - - - - - - - 
	MEDIA QUERIES
- - - - - - - - - - - - - - - - - - - - */

@media (min-width: 1200px) {
	.container.no1200 { max-width: 1366px; }
}


@media (max-width: 1366px) {
	.main-slider .slides li {height:600px;}
	.bannerleft {display:none}
	.bottommenu .span2 {width:31%}
	.bottommenu .span6 {width:100%; text-align:center; margin-top:20px;}

	.columns-lg-1 {columns:1}
	.columns-lg-2 {columns:2}
	.columns-lg-3 {columns:3}
	.columns-lg-4 {columns:4}
}


@media (max-width: 1270px) {	
	#header .header-misc {flex: 1 0 auto;}

	.main-slider .slides li {height: 600px;}
	.box-captcha .codicecaptcha {max-width:100px;}

}


@media (max-width: 1199.98px) {	
		
	#slider .slider-caption h1, #banner h1 {font-size:3rem;}
	#slider .slider-caption h2, #banner h2 {font-size:3rem;}
	#slider .slider-caption h4, #banner h4 {font-size:2rem;} 
	#banner h4 p {font-size:1.5rem;}
	#slider .pulsanti .pulsante, #banner .pulsanti .pulsante {font-size:1.2rem;}
	
	.columns-md-1 {columns:1}
	.columns-md-2 {columns:2}
	.columns-md-3 {columns:3}
	.columns-md-4 {columns:4}

	table.responsive, 
	table.responsive thead, 
	table.responsive tbody, 
	table.responsive tfoot, 
	table.responsive tr, 
	table.responsive tr td,
	table.responsive tr th {display:block; width:100%!important; height:auto!important; min-height:0; max-height:none; box-sizing:border-box;}
}


@media (min-width: 768px) {
	#header .header-misc {max-width: unset; margin: 10px 17px 10px 0px;}
	#header .header-misc .header-misc-icon {margin:0 0 0 14px;}	

	.border-md-bottom 	{border-bottom:1px #000 solid;}
	.border-md-left 		{border-left:1px #000 solid;}
	.border-md-right 		{border-right:1px #000 solid;}
	.border-md-top	 		{border-top:1px #000 solid;}
}


@media (min-width: 768px) and (max-width: 991.98px) {
	#cartina {max-width:400px;}

  a.pulsante.sfondo_colore5 {margin-bottom:20px;}
	.blog-list.list .preview h3 {font-size:24px;}

	.span5 .row-fluid > .span6 {display: block; float: none; width: 100%; margin-left: 0}

	.pad-tb-xl {padding:20px 0;}
	.pad-tb-xxl {padding:40px 0;}
	.pad-tb-xxxl {padding:60px 0;}
	
}


@media (min-width: 992px) {
	.sub-menu-container {border-top-color:#000;}
	.sub-menu-container .menu-item:hover > .menu-link {background-color:transparent; padding-left:15px;}
	.dark .primary-menu:not(.not-dark) .sub-menu-container {border-left:0; border-right:0; border-bottom:0;}
	.full-header #header-wrap {padding:10px 0;}
	.full-header.transparent-header:not(.sticky-header) #header-wrap {padding:30px 0;}

	.full-header .primary-menu {flex-grow:1;}
	.full-header .primary-menu .menu-container {justify-content:center;}
	.full-header .primary-menu .menu-container > .menu-item > .menu-link {padding:5px 0;}
	.full-header .primary-menu .menu-container > .menu-item:not(:first-child) {margin-left:30px;}

	.header-misc > a:not(.button) {display: block; padding: 0; width:auto; height:30px; line-height:30px; font-size: 12px; border:1px #FFF solid;}	
	.header-misc .lingue ul {width:auto; border-radius:0;}
	
	.border-lg-bottom 	{border-bottom:1px #000 solid;}
	.border-lg-left 		{border-left:1px #000 solid;}
	.border-lg-right 		{border-right:1px #000 solid;}
	.border-lg-top	 		{border-top:1px #000 solid;}
	
	#header .header-misc .header-misc-icon {margin:0 0 0 14px;}	
}


@media (max-width: 991.98px) {	
	.sub-menu-container:after {display: none;}
	.form-control:not(.small) {height: calc(2.25rem + 2px);}
	
	#page-home #slider {background-size:cover; background-repeat:no-repeat; background-position:center center;}
	#page-home #slider .dimmer {background-color:rgba(30,30,30,0.75);}
	#slider.min-vh-100 .vertical-middle {margin-top:-25%;}
	.links {font-size:0.85em;}
	

	#logo img {max-height: 40px;}
	#banner .section {height: auto; min-height: 30vh;}
	#banner h1, #banner h2, #banner h3, #banner h3 p, #banner h4, #banner h4 p, #banner h5, #banner h5 p, #banner h6, #banner h6 p {letter-spacing: 0;}
	#banner h4 p {font-size:1.3rem;}
	
	.bottommenu .span2 {width:100%; text-align:center;}
	.bottommenu .span2 .icona {display:none}	

	.columns-sm-1 {columns:1}
	.columns-sm-2 {columns:2}
	.columns-sm-3 {columns:3}
	.columns-sm-4 {columns:4}
	
}


@media (max-width: 767.98px) {

	#header .header-misc .button {padding:4px 5px; font-size:0.5rem; letter-spacing:0; line-height:16px;}

	.content-wrap {padding:40px 0}

	#cartina {max-width:350px;}
	.pad-tb-xxl, .pad-tb-xxxl {padding:40px 0;}		

	.breadcrumb.static {font-size:17px;}
	.heading-block .breadcrumb.static { margin: -10px 0 10px 0 !important; }

	#page-home #content {margin-top:0px;}	

	#slider .slider-caption h1, #banner h1 {font-size:2rem;}
	#slider .slider-caption h2, #banner h2 {font-size:2rem;}
	#slider .slider-caption h4, #banner h4 {font-size:1.2rem;}
	#banner h4 p {font-size:1rem;}

	.form-control:not(.small) { height: calc(2rem + 2px); padding: 0.275rem 0.55rem; font-size: 0.75rem; line-height: 1em!important; }
	.form-control::-webkit-input-placeholder {font-size: 0.8rem;}
	.form-control::-moz-placeholder {font-size: 0.8rem;}
	.form-control:-ms-input-placeholder {font-size: 0.8rem;}
	.form-control::-ms-input-placeholder {font-size: 0.8rem;}
	.form-control::placeholder {font-size: 0.8rem;}
	
	.mfp-content .form-group textarea.form-control {height:100px;}
	.mfp-content .form-group a.pulsante, .mfp-content .form-group button.pulsante:not(.onlyicon), input.pulsante {font-size:1em; line-height:1.2em;}

	.printan {display:none;}
	.white-popup {max-width: 100%;}

	.title-border-center h2 {width:100%; font-size:20px; line-height:1.4em;}
	.title-border-center h2 span {padding:0;}

	
	a.pulsante.sfondo_colore5 {width:auto; margin-bottom:0}

	.slider-element .heading-block h2 {line-height:1.2em;}


	.photogallery li {float:none; margin-bottom:20px;}
	.photogallery li a {width:100%}
	.photogallery li.span3:nth-child(3n), .photogallery li.span4:nth-child(even), .photogallery li.span3:nth-child(3n+2) {margin-left: 0; text-align:left;}

	#page-title.page-title-parallax h1 {font-size:30px}
	

	label {margin-bottom: 5px;}
	.bottommargin-sm {margin-bottom: 15px !important;}
	.bottommargin-lg {margin-bottom: 40px !important;}
	

	.blog-list.list li {margin-bottom:30px; width:96%; margin-right:0; float:none; border:1px #EEE solid; padding:2%;}
	.blog-list.list .preview {text-align:center;}
	.blog-list.list .preview img {width:auto; max-width:100%; height:200px;}
	.blog-list.list .preview h3 {font-size:20px;}
			

	.lt_tab .lt_nav li{display:block; width:100%; float:none;}
	.annshare  {margin-bottom:20px;}
	.annshare > div {float:none; margin:10px 0; width:100%; text-align:center;}
	.annshare .printan > a {padding:8px 20px; border:1px #000 solid; border-radius:2px;}

	table.responsive, 
	table.responsive thead, 
	table.responsive tbody, 
	table.responsive tfoot, 
	table.responsive tr, 
	table.responsive tr td,
	table.responsive tr th {display:block; width:100%!important; height:auto!important; min-height:0; max-height:none; box-sizing:border-box;}

	.main-slider .slides li {height:200px}
	
	#elencoagenzie.minisito .agenzia .agency_social {float:none; text-align:left;}
	
	#form_contatto label {width:100%; display:block; float:none}
	#form_contatto input, #form_contatto textarea {width:100%; display:block; float:none; margin-bottom:10px;}

		
	.social {margin-top:0px}
	.social a img {width: 30px;}

	.elenconews h3 {border-bottom:5px #FFF solid;}

	.pagination .next, .pagination .prev {float:none; width:100%; display:block; height:auto; line-height:2em;}
	
	.hidemobile {display:none}
	.showmobile {display:block;}

	.titolo {font-size:1.2em; line-height:1em;}

	.columns-xs-1 {columns:1}
	.columns-xs-2 {columns:2}
	.columns-xs-3 {columns:3}
	.columns-xs-4 {columns:4}
}



@media (max-width:575.98px) {

	.breadcrumb.static {font-size:15px;}
	
	.pulsante.form-control.topmargin-sm {margin-top:5px !important; display:inline-block!important; width:auto; padding:10px 30px!important; height:40px!important;}

	.fancy-title.title-border-center h2 { width:auto; font-size:1.3em; line-height:1em; border-bottom:0; background-color:transparent;}
	#page-news  #content .container #maintext .container {padding:0!important;}

	.flex.with-divider > .flex-item:after, .flex-row.with-divider .flex-item:after, .flex-column.with-divider .flex-item:after {display: none;}
	.flex-item-grow {flex: 1 0 100%;}
	#footer .flex-row {padding:20px 0;}
	#footer .flex-row .flex-item-grow.pad-lg {padding:0;}
}




@media (max-width: 479.98px) {
	/* COLORBOX OVERRIDE*/
	#cboxTopLeft, #cboxTopCenter, #cboxTopRight, #cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight { background: none; }
	#cboxTopLeft, #cboxTopRight, #cboxBottomLeft, #cboxBottomRight, #cboxMiddleLeft, #cboxMiddleRight { width: 5px; }
	#cboxTopLeft, #cboxTopCenter, #cboxTopRight, #cboxBottomLeft, #cboxBottomCenter, #cboxBottomRight { height: 5px; }
	#cboxContent { border: 1px #000 solid; box-shadow: 2px 2px 4px rgba(128,128,128,0.5); }
	#cboxClose { right: 5px; }

	.mfp-bg, .mfp-fade.mfp-bg.mfp-ready {opacity:0.95!important;}

	/* CORREZIONE SLIDER CON THUMBS */
	.sp-thumbnail-container img {margin-left:0!important;}
	.sp-horizontal .sp-previous-arrow {left:5px;}
	.sp-horizontal .sp-next-arrow {right:5px;}

	/* HEADER */
	#logo img {max-height: 30px;}
	
	.breadcrumb.static {font-size:13px;}

	.pad-tb-xxl, .pad-tb-xxxl {padding:20px 0;}			
	.pad-lg.sfondo_colore1 {padding:10px 25px;}	
	.fancy-title.title-border-center span {padding:0;}
	
	.owl-carousel .owl-dots .owl-dot {margin-top:0;}

	form.quicksearch { margin-left: -15px; margin-right: -15px; }
	form.quicksearch label { margin-bottom: 2px; }
	form.quicksearch .bottommargin-sm { margin-bottom: 10px !important; }

	.pulsante { padding: 4px 8px; }

	.columns2, .columns-xl-2, 
	.columns3, .columns-xl-3, 
	.columns4, .columns-xl-4, 
	.columns-lg-2, .columns-lg-3, .columns-lg-4, 
	.columns-md-2, .columns-md-3, .columns-md-4, .columns-sm-2, .columns-sm-3, .columns-sm-4 {columns:1;}
	.columns-xxs-1 { columns: 1; }
	.columns-xxs-2 { columns: 2; }
	.columns-xxs-3 { columns: 3; }
	.columns-xxs-4 { columns: 4; }
	
}
