* {padding: 0; margin: 0; box-sizing: border-box;}

a {text-decoration: none; color: #e7411b;}
a:hover {color: #a0a8ab; text-decoration: none;}

html {height: 100%; overflow-x: hidden;}

body {height: 100%; font-family: 'Lato', sans-serif; text-align:center; font-size: 15px; color: #323e48; background: #ffffff;} /* 7c7c7c */

h1 {text-transform: uppercase; font-family: 'Lato', sans-serif; font-size: 47px; text-align: left; letter-spacing: -1px; margin-bottom: 30px; color: #e7411b; padding: 25px 0;}
h1 span {color: #e7411b;}
/* linea titolo
h1:after {content: ''; height: 7px; width: 148px; position: absolute; left: 15px; bottom: 30px; background-image: url("../img/linea-titolo.png"); background-repeat: no-repeat; background-size: cover;}
*/

h2 {text-transform: uppercase; font-family: 'Lato', sans-serif; font-size: 30px; margin-bottom: 20px; margin-top: 0; color: #e7411b; padding: 0; text-align: left;}

h3 {text-transform: uppercase; font-family: 'Lato', sans-serif; font-size: 20px; margin:0; color: #323e48; text-align: left;} /* 7c7c7c */

h4 {text-transform: uppercase; font-family: 'Lato', sans-serif; margin-top: 20px; margin-bottom: 20px; color: #323e48; font-size:18px; margin-bottom:5px;}

h5 {text-transform: uppercase; font-family: 'Lato', sans-serif; font-weight:normal; font-size: 14px; color: #323e48; margin-bottom:5px;}

p {font-family: 'Lato', sans-serif; font-size: 20px; text-align: left; line-height: 1.5;}

.elenco {margin-left: 15px; margin-top:10px}

.close {color: #e7411b; opacity: 1;}

label {display: block;}

#captcha {margin-top: 15px;}

/* 
select.form-control {font-size: 18px; padding-bottom: 10px; margin-bottom: 15px; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; background: url('../img/select-arrow-down.png'); background-repeat: no-repeat; background-position: right; background-size: contain; color: #323e48; border-top: 0; border-left: 0; border-right: 0; box-shadow: none; border-bottom: 2px solid #323e48; -webkit-border-radius: 0;  -moz-border-radius: 0; -o-border-radius: 0; border-radius: 0;}
*/
select.form-control {font-size: 18px; padding: 5px 15px; margin-bottom: 15px; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; background: url('../img/select-arrow-down.png'), #fff; background-repeat: no-repeat; background-position: right; background-size: contain; color: #323e48; border:1px solid #c0c0c0; box-shadow: none; -webkit-border-radius: 7px;  -moz-border-radius: 7px; -o-border-radius: 7px; border-radius: 7px; }
/* input[type="text"].form-control {font-size: 18px; padding-bottom: 10px; margin-bottom: 15px; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; color: #323e48; border-top: 0; border-left: 0; border-right: 0; box-shadow: none; border-bottom: 2px solid #323e48; background: transparent; -webkit-border-radius: 0;  -moz-border-radius: 0; -o-border-radius: 0; border-radius: 0;} */
input[type="text"].form-control {font-size: 18px; padding: 5px 15px; margin-bottom: 15px; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; color: #323e48; border-top: 0; border-left: 0; border-right: 0; box-shadow: none; background: #fff; -webkit-border-radius: 7px;  -moz-border-radius: 7px; -o-border-radius: 7px; border-radius: 7px; border:1px solid #c0c0c0; /* -webkit-box-shadow: inset 2px 2px 8px 0px rgba(171,171,171,1); -moz-box-shadow: inset 2px 2px 8px 0px rgba(171,171,171,1); box-shadow: inset 2px 2px 8px 0px rgba(171,171,171,1); */}
textarea.form-control {font-size: 18px; padding: 5px 15px; margin-bottom: 15px; height: auto; -webkit-appearance: none; -moz-appearance: none; appearance: none; color: #323e48; border-top: 0; border-left: 0; border-right: 0; background: #fff; border:1px solid #c0c0c0; -webkit-border-radius: 7px;  -moz-border-radius: 7px; -o-border-radius: 7px; border-radius: 7px;}

.mt {margin-top: 153px !important;} 

.cb {clear: both;}

.msg {color: red;}

button, html input[type="button"], input[type="reset"], input[type="submit"] {float: right;}

.only-print {display: none;}

.btn {background-color: #323e48; border-radius: 0; color: #efefef; transition: all linear .15s; -webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); -moz-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28);}
.btn:hover {background-color: #e7411b; color: #ffffff;}
.btn.active {background-image: none; outline: 0; -webkit-box-shadow: none; box-shadow: none;}

.rkmd-btn {background-color: #323e48; color: #efefef;}
.rkmd-btn:hover {background-color: #4c5a65; color: #ffffff;}
.rkmd-btn:active, .rkmd-btn:visited {color: #efefef; text-decoration: none;}

/* preloader */
div#preloader {position: fixed; left: 0; top: 0; z-index: 999; width: 100%; height: 100%; overflow: visible; background: rgba(255, 255, 255, 1) url('../img/preloader.gif') no-repeat center center;}

/* style radio buttons */
.container-radio {display: block; font-weight: normal; position: relative; line-height: 43px; padding-left: 35px; margin-bottom: 0; float: left; width: 50%; cursor: pointer; font-size: 20px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; color: #323e48;}
.container-radio input {position: absolute; opacity: 0; cursor: pointer; left: 0; top: 13px;}
.container-radio .checkmark {position: absolute; top: 50%; margin-top: -12px; left: 0; height: 25px; width: 25px; background-color: #eee; border-radius: 50%;}
.container-radio:hover input ~ .checkmark {background-color: #ccc;}
.container-radio input:checked ~ .checkmark {background-color: #e7411b;}
.container-radio .checkmark:after {content: ""; position: absolute; display: none;}
.container-radio input:checked ~ .checkmark:after {display: block;}
.container-radio .checkmark:after {top: 9px; left: 9px; width: 8px; height: 8px; border-radius: 50%; background: #fff;}
.container-radio.privacy {width: 100%; text-align: left; font-size: 16px; margin-top: 15px; line-height: 1.2em;}

/* social e fiaip */
.social {height: 80px; float: right; padding: 15px 0; margin-left: 15px;}
.social img {height: 100%; width: auto;}

/* header */
header {z-index: 99; background-color: #e7411b; -webkit-box-shadow: 0px 2px 5px 0px rgba(171,171,171,1); box-shadow: 0px 2px 5px 0px rgba(171,171,171,1); border-bottom: 1px solid #ababab;}
.logo {display: inline-block; margin-top: 30px; margin-bottom: 30px;}
.logo-fima {position: absolute; right: 0; top: 5px;}
.logo-fima img {width: 60px;}
.navbar {position: static;}

/* menu */
@keyframes stuckMoveDown{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}
.become-fixed {visibility: hidden;}
#top.fixed {position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; background: rgba(231, 65, 27, 0.8);} /* animation: stuckMoveDown .6s; */
#top .col-sm-12 {position: static;}
#main-menu {margin-bottom: 0; border: 0;}
#main-menu ul li {list-style-type: none; margin-right: 15px; font-size: 15px; border-bottom: 1px solid #797979;}
#main-menu ul li.selected {border-bottom: 2px solid #efefef;}
#main-menu ul li.selected:before {}
#main-menu ul li.selected a {color: #efefef !important;}
#main-menu ul li a {line-height: 68px; padding: 0 10px; color: #9F9F9F;}
.nav li:hover, .nav li:focus {border-bottom-color: #efefef;}
.nav > li > a:hover, .nav > li > a:focus {color: #efefef; background: transparent;}
#main-menu ul li a:hover, #main-menu ul li a:focus {color: #efefef;}
#main-menu ul li:hover, #main-menu ul li:focus {border-bottom-color: #efefef;}
#main-menu .arrow {position: absolute; right: 0; top: 52px; font-size: 10px;}
#main-menu ul li a:hover:after, #main-menu ul li a:focus:after {}

/* sub-menu */
#main-menu ul li:hover > ul {display: block;}
#main-menu ul ul {display: none; position: absolute; top: 100%; left: 0; background-color: #5697cb;}
#main-menu ul ul li {width: 100%;}
#main-menu ul ul li a {display: block; text-align: left; line-height: 20px; padding: 10px 15px; color: #fff; border-bottom: 1px solid #3383c2;}

/* menu mobile */
/* hamburger */
.navbar-toggle {width: 34px; height: 32px; margin: 0; padding: 0; z-index: 99;}
.navbar-toggle .icon-bar {position: absolute; width: 32px; height: 4px; background-color: #fff; transition: -webkit-transform .35s; transition: transform .35s; transition: transform .35s, -webkit-transform .35s;}
.navbar-toggle .icon-bar + .icon-bar {margin-top: 0;}
.navbar-toggle span:nth-child(2) {-webkit-transform: translateY(-0.8rem); transform: translateY(-0.8rem);}
.navbar-toggle span:nth-child(4) {-webkit-transform: translateY(0.8rem); transform: translateY(0.8rem);}
.mobile-menu-open span:nth-child(2) {-webkit-transform: translateY(0) rotate(45deg); transform: translateY(0) rotate(45deg);}
.mobile-menu-open span:nth-child(3) {background-color: transparent;}
.mobile-menu-open span:nth-child(4) {-webkit-transform: translateY(0) rotate(-45deg); transform: translateY(0) rotate(-45deg);}
.navbar-header {position: absolute; top: 56px; left: 15px;}
/* menu a sx */
.navbar-collapse.collapse {height: 100% !important;}
.navbar-collapse {display: block; width: 500px; top: 153px; left: -500px; transition: left ease-in-out .65s !important; height: 100% !important; z-index: 10; position: absolute; outline: none; background: rgba(50,62,72,0.95);}
.navbar-collapse.menu-open {left: 0 !important; height: 100% !important;}
.navbar-collapse ul {width: 485px; height: 100%;}

/* menu fixed */
.logo.logo-fixed {display: none;}
.fixed .logo {margin-bottom: 8px; margin-top: 8px;}
.fixed .logo img {max-width: 250px;}
.fixed .logo.logo-initial {display: none;}
.fixed .logo.logo-fixed {display: block;}
.fixed .navbar-header {top: 22px;}
.fixed .navbar-collapse {position: fixed; top: 83px;}

/* back to top */
.back-to-top {cursor: pointer; position: fixed; bottom: 20px; right: 20px; padding: 12px 15px; background-color: #2394ea; color: #fff; -webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); -moz-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); z-index: 99; display:none; transition: all linear .45s; -webkit-border-radius: 50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%;}
.back-to-top:hover, .back-to-top:focus {background-color: #47A3E9; color: #fff;}

/* footer */
footer {position: relative; padding-top: 45px; padding-bottom: 45px; background-color: #e7411b; color: #fff;}
footer .text-smaller {font-size: 15px; margin-bottom: 0;}
footer .glyphicon {color: #fff;}
footer .social img {/* -webkit-filter: grayscale(100%) brightness(193%); filter: grayscale(100%) brightness(193%); */ transition: all linear .45s;}
footer .social img:hover {/* -webkit-filter: none; filter: none; */}
.footer .container {position: relative;}
.powered {text-align: right; font-size: 15px; position: absolute; width: calc(100% - 60px); bottom: -35px; right: 30px; padding-top: 5px; border-top: 1px solid #FFFFFF;}
.powered a {color: #FFFFFF;}
footer a {color: #fff;}

/* HOMEPAGE */
/* owl-home */
.loading-placeholder {height: 100px; width: 100%; position: relative; background-image: url("../img/loading-naonis.gif"); background-repeat: no-repeat; background-size: 50px; background-position: center;}
#owl-home {position: relative; height: auto; min-height: 50px; margin-bottom: 5px;} /* 600px */
#owl-home div:not(.owl-controls) {height: 100%;}
#owl-home .owl-slide {height: auto; /*background-repeat: no-repeat; background-size: cover; background-position: left;*/}
#owl-home .owl-slide:after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: -moz-linear-gradient(bottom, #e63a43 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#707173',GradientType=0 ); /* IE6-9 */}
/*
#owl-home .slide1 {background-image: url("../img/naonis-ufficio-interno.jpg");}
#owl-home .slide2 {background-image: url("../img/naonis-ufficio-interno2.jpg");}
#owl-home .slide3 {background-image: url("../img/naonis-ufficio-interno3.jpg");}
#owl-home .slide4 {background-image: url("../img/naonis-ufficio-esterno.jpg");}
#owl-home .item img {width: 100%;}
*/
.to-header {display: block; position: absolute; bottom: 0; width: 100%; z-index: 99; font-size: 50px; color: rgba(255, 255, 255, 0.8);}
.to-header:hover {background-color: rgba(28, 62, 151, 0.5); color: rgba(255, 255, 255, 0.8);}
/* scritta slider */
#scritta-slider {position: absolute; left: 0; width: 100%; z-index: 9; bottom: 0; height: auto !important;}
#scritta-slider h1 {color: #fff; border: none; margin: 0; font-size: 60px; text-align: center; padding-bottom: 0;}
#scritta-slider h1:after {content: none;}
#scritta-slider p {text-align: center; color: #fff;}
/* categorie 
#categorie {padding: 60px 15px 30px 15px; background: #e4e4e4; }
#categorie .col-sm-4 {width: calc(33.33333333% - 30px); padding: 15px; margin-right: 15px; margin-left: 15px; margin-top: 120px; padding-top: 170px; background-color: #fff;}
#categorie .col-sm-4 a:first-child {max-width: 100%; border: 15px solid #fff; overflow: hidden; position: absolute; top: -158px; width: 100%; left: 0; -webkit-border-radius: 50%; -moz-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%;}
#categorie .col-sm-4 a:first-child:hover > img.cat-icon {-webkit-transform: scale(2); -webkit-transform-origin: 0 0; transform: scale(1.2); transform-origin: 50%;}
#categorie .col-sm-4 img:first-child {width: 100%;}
#categorie .col-sm-4 img.cat-icon {position: absolute; top: 50%; margin-top: -75px; left: 50%; margin-left: -75px; transition: transform ease-out .2s;}
#categorie .col-sm-4 img:hover {}
#categorie .col-sm-4 h4 {margin-bottom: 30px; margin-top: 30px; text-transform: uppercase; font-weight: bold; color: #e7411b;}
#categorie .col-sm-4 .btn {text-transform: uppercase;}
#categorie .residential {height: 239px; width: 100%; background-size: cover; display: block; -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: all linear .45s;}
#categorie .residential:hover {-webkit-filter: none; filter: none;}
*/
/* categorie 2 */
#categorie {padding: 60px 15px 30px 15px; background: #e4e4e4;}
#categorie .col-lg-3 {padding: 15px; margin-right: 15px; margin-left: 15px; margin-top: 120px; background-color: #fff;}
#categorie .col-lg-3:before {content: ''; position: absolute; width: 0; height: 0; top: 0; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 30px solid white; left: 50%; margin-left: -30px; z-index: 999;}
#categorie .col-lg-3 a:first-child {max-width: 100%; border: 15px solid #e7411b; background-color: #e7411b; overflow: hidden; position: absolute; top: -130px; width: 100%; left: 0; -webkit-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; -o-border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;}
#categorie .col-lg-3 a:first-child:hover > img.cat-icon {-webkit-transform: scale(1.2); -webkit-transform-origin: 0 0; transform: scale(1.2); transform-origin: 50%;}
#categorie .col-lg-3 img:first-child {/* width: 100%; */}
#categorie .col-lg-3 img.cat-icon {transition: transform ease-out .2s;}
#categorie .col-lg-3 img:hover {/* -webkit-filter: none; filter: none; */}
#categorie .col-lg-3 h4 {/* font-family: 'Lato', sans-serif; */ margin-bottom: 30px; margin-top: 30px; text-transform: uppercase; font-weight: bold; color: #e7411b;}
#categorie .col-lg-3 .btn {text-transform: uppercase;}
#categorie .residential {height: 239px; width: 100%; background-size: cover; display: block; -webkit-filter: grayscale(100%); filter: grayscale(100%); transition: all linear .45s;}
#categorie .residential:hover {-webkit-filter: none; filter: none;}
/* bio */
#bio {margin-bottom: 45px;}
#bio img {max-width: 100%;}







/* annunci */
#annunci .col-sm-12 {padding-top: 15px;}
#annunci .desc-annuncio {width: 100%; min-height: 181px; padding: 5px 20px; background: #fff;}
#annunci h3 {text-transform: uppercase;}
#annunci p {color: #e7411b;}
#annunci h4 {position: absolute; bottom: 5px; right: 20px;}
#annunci h4 span {color: #000}
/* contattaci */
.newsletter {padding-bottom: 35px; background: #e4e4e4; /* background: -moz-linear-gradient(left, #C0C0C0 0%, #e4e4e4 100%); background: -webkit-linear-gradient(left, #C0C0C0 0%, #e4e4e4 100%); background: linear-gradient(to right, #C0C0C0 0%,#e4e4e4 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c0c0c0', endColorstr='#e4e4e4',GradientType=1); */ color: #323e48;}
.newsletter h2 {text-align: left; margin-top: 25px; margin-bottom: 25px;}
.newsletter a {color: #323e48; text-decoration: underline;}
#form-newsletter label {text-align: left;}
#form-newsletter input, #form-newsletter select {margin-bottom: 15px; float: left;}
#form-newsletter input[type="submit"] {float: right; text-transform: uppercase;}
#form-newsletter {float: left; width: 100%;}
#form-newsletter textarea {resize: none; height: 100px; margin-bottom: 10px;}
.corr-sent {padding: 0 15px; margin-bottom: 15px; font-weight: bold; color: #15A300 !important;}

/* LISTA */
/*annunci*/
#lista .annunci:nth-of-type(odd) {background-color: #FFFFFF;}
/* #lista .annunci:nth-of-type(odd) h2 {border-bottom: 1px solid #DDDDDD;} */
#lista .annunci {padding: 40px 0;}
#lista .annunci .col-sm-5 {overflow: hidden; padding: 0; margin-left: 15px; margin-right: 15px; width: calc(41.66666667% - 30px);}
#lista .annunci .col-sm-5 a {display: block; width: 100%; max-width: 100%; height: 325px; max-height: 325px; background-size: cover; background-repeat: no-repeat; -moz-transition: transform 0.3s; -webkit-transition: transform 0.3s; -o-transition: transform 0.3s; transition: transform 0.3s;}
#lista .annunci .col-sm-5 a:hover {moz-transform: scale(1.1); -webkit-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1);}
#lista .annunci h2 {margin-top: 0; padding-top: 0; text-transform: uppercase; text-align: left; color: #e7411b; /* border-bottom: 2px solid #323e48; */}
#lista .annunci .contratto-vendita {position: absolute; top: 15px; left: 15px; padding: 10px; background-color: rgba(231,65,27,0.8); color: #fff; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px;}
#lista .annunci .contratto-affitto {position: absolute; top: 15px; left: 15px; padding: 10px; background-color: rgba(50,62,72,0.8); color: #fff; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px;}
#lista .annunci .desc-annuncio p {color: #323e48;}
#lista .annunci .desc-annuncio .desc {margin-bottom: 15px;}
#lista .annunci .dati-annuncio {list-style-type: none; width: 100%; text-align: left; float: left; margin-bottom: 15px; color: #323e48;}
#lista .annunci .dati-annuncio li {display: block; float: left; font-size: 25px; font-weight: bold; width: calc(33.3333% - 2px); margin-left: 2px; padding: 15px; background-color: #e4e4e4;}
#lista .annunci .dati-annuncio li span {color: #e7411b; font-size: 30px; vertical-align: middle; margin-top: -10px; margin-right: 10px;}
#lista .annunci .rkmd-btn {text-transform: uppercase; float: right;}
#lista .annunci .rkmd-btn span {vertical-align: middle; margin-right: 10px;}
/* trova immobile */
#lista .fascia-verticale h1 {margin-top: 0; margin-bottom: 20px;}
#lista .fascia-verticale {padding-bottom: 45px; padding-top: 45px; background: #e7411b;
/* background: -moz-linear-gradient(left, #e7411b 0%, #EF8C40 100%);
background: -webkit-linear-gradient(left, #e7411b 0%, #EF8C40 100%);
background: linear-gradient(to right, #e7411b 0%,#EF8C40 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EB7920', endColorstr='#EF8C40',GradientType=1); */}
#lista #cerca .rkmd-btn {margin-top: 0; text-transform: uppercase; float: right;}

/* paginatore */
.paginatore{margin-top: 15px; margin-bottom: 15px; overflow: hidden; float: right;}
.paginatore span a, .paginatore span .pag_sel{float: left; padding: 9px 11px; text-decoration: none; margin-right: 10px; background: #EBEBEB; color: #555;}
.paginatore span a:hover {background: #323e48; color: #fff;}
.paginatore span .pag_sel {color: #FFFFFF; background: #e7411b;}
.paginatore .numero_pag:last-child a {margin-right: 0;}

/* SCHEDA */
#scheda .cont-titolo {float: left; width: 100%; margin-bottom: 30px; margin-top: 20px; border-bottom: 1px solid #e7411b;}
#scheda h1 {margin-bottom: 0; margin-top: 0; border-bottom: none;}
#scheda h1:after {left: 0;}
#scheda .codice {float: right; font-size: 36px; padding: 20px 0; line-height: 1.1; font-weight: bold; color: #e7411b;}
#scheda .newsletter {margin-top: 30px;}
#scheda .left .col-sm-4, #scheda .left .col-sm-8, #scheda .left .col-sm-12 {padding: 0;}
/* tab img pln video */
#scheda .tabs, #scheda .tabs2 {margin-bottom: 40px;}
#scheda .tabs {text-align: right;}
#scheda .tabs li {list-style-type: none; display: inline-block; margin-top: 15px; margin-left: 10px;}
#scheda .tabs li #p_img {display: block; height: 40px; width: 60px; background-image: url("../img/photo-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs li #p_pln {display: block; height: 40px; width: 60px; background-image: url("../img/planimetry-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs li #p_vid {display: block; height: 40px; width: 60px; background-image: url("../img/video-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs li #p_map {display: block; height: 40px; width: 60px; background-image: url("../img/map-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs li #p_vir {display: block; height: 40px; width: 60px; background-image: url("../img/virtual-tour-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs li p {position: absolute; margin-top: 43px; margin-left: 2px; width: 56px; text-align: center; color: #e7411b;}
#scheda .col-sm-8.no-resize {width: 66.66666667% !important; float: left;}
/* tab print */
#scheda .tabs2 {text-align: left;}
#scheda .tabs2 li {list-style-type: none; display: inline-block; margin-top: 15px;}
#scheda .tabs2 li a {display: block; height: 40px; width: 60px; background-image: url("../img/print-icon.png"); background-size: contain; background-repeat: no-repeat;}
#scheda .tabs2 li p {position: absolute; margin-top: 43px; margin-left: 3px; width: 56px; text-align: center; color: #e7411b;}
#scheda .col-sm-4.no-resize {width: 33.33333333% !important; float: left;}
/* prezzo */
.prezzo {background-color: #e7411b; padding: 15px;}
.prezzo h2 {margin-top: 0; font-weight: bold; color: #fff; border: none; margin-bottom: 0;}
/* galleria */
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {background: #e7411b;}
.owl-theme .owl-dots .owl-dot span {background: #ccc;}
#galleria .owl-item a {max-height: 547px; display: block;}
#galleria .owl-prev, #galleria .owl-next {position: absolute; top: 50%; margin-top: -28px; font-size: 40px; font-weight: bold; color: #e7411b;}
#galleria .owl-prev {left: 15px;}
#galleria .owl-next {right: 15px;}
/* tabella caratteristiche */
.caratteristiche {text-align: left;}
.table-striped > tbody > tr:nth-of-type(odd) {background-color: #e4e4e4;}
/* descrizione */
.container.descrizione {text-align: left;}
/* mappa */
.col-sm-6.mappa {padding-top: 20px; margin-bottom: 15px;}
#galleria .owl-item a .img-scheda {background-size: cover; background-position: center; height: 425px; width: 100%;}
/* lightbox */
.ekko-lightbox-nav-overlay a:last-child span {color: #e7411b;}
.ekko-lightbox-nav-overlay a:first-child span {text-align: left; color: #e7411b;}
.ekko-lightbox-nav-overlay a {opacity: 1 !important; text-decoration: none;}

/* SCHEDA STAMP. */
#scheda #container_multimedia img {max-width: 100%; margin-bottom: 1%;}
#scheda #container_multimedia img:nth-child(2) {width: 49%; margin-right: 1%; float: left;}
#scheda #container_multimedia img:nth-child(3) {width: 49%; margin-left: 1%; float: left;}

/* CONTATTI */
#contatti iframe {width: 100%;}
#contatti #bio .glyphicon {margin-right: 15px; font-size: 25px; color: #e7411b;}
#contatti #bio p {}
#owl-contatti {position: relative; height: auto; margin-bottom: 5px;}
#owl-contatti div:not(.owl-controls) {height: 100%;}
#owl-contatti .owl-slide {}
#owl-contatti .owl-slide:after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: -moz-linear-gradient(bottom, rgba(112,113,115,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#707173',GradientType=0 ); /* IE6-9 */}

/* CHI SIAMO */
#chi-siamo .col-sm-6 {margin-bottom: 15px;}
#chi-siamo .col-sm-6 img {max-width: 100%;}
#chi-siamo blockquote {border-left: 0; font-size: 20px; font-weight: bold; color: #000000;}
/* owl-chi-siamo */
#owl-chi-siamo {position: relative; height: auto; margin-bottom: 5px;}
#owl-chi-siamo div:not(.owl-controls) {height: 100%;}
#owl-chi-siamo .owl-slide {}
#owl-chi-siamo .owl-slide:after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: -moz-linear-gradient(bottom, rgba(112,113,115,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#707173',GradientType=0 ); /* IE6-9 */}
#chi-siamo #bio ul {margin-left: 23px; text-align: left; font-size: 20px;}
#chi-siamo .box-firma {margin-top: 60px;}
#chi-siamo .box-firma img {width: 150px; max-width: 150px; float: left;}
#chi-siamo .box-firma p {float: left; margin-left: 30px; font-size: 25px; margin-top: 35px; font-weight: bold; color: #323e48;}
#chi-siamo .box-firma p span {font-weight: normal; font-size: 20px;}

/* SERVIZI */
#owl-servizi {position: relative; height: auto; margin-bottom: 5px;}
#owl-servizi div:not(.owl-controls) {height: 100%;}
#owl-servizi .owl-slide {}
#owl-servizi .owl-slide:after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: -moz-linear-gradient(bottom, rgba(112,113,115,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#707173',GradientType=0 ); /* IE6-9 */}

/* AGENZIA */
/* owl-agenzia */
#owl-agenzia {position: relative; height: auto; margin-bottom: 5px;}
#owl-agenzia div:not(.owl-controls) {height: 100%;}
#owl-agenzia .owl-slide {}
#owl-agenzia .owl-slide:after {content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: -moz-linear-gradient(bottom, rgba(112,113,115,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(bottom, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to top, rgba(112,113,115,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#707173',GradientType=0 ); /* IE6-9 */}

/* OFFRI RICHIEDI */
/* errors */
#offri-richiedi #nome, #offri-richiedi #email, #offri-richiedi #telefono, #offri-richiedi #error-captcha, #offri-richiedi #nome2, #offri-richiedi #email2, #offri-richiedi #telefono2, #offri-richiedi #error-captcha2 {display: none;}
/* tabs */
#tab-container ul {text-align: left; float: left; margin-right: 15px; margin-left: 15px;}
#tab-container ul li {display: inline-block; list-style-type: none;}
#tab-container ul li a {height: auto; padding: 15px; color: #AFAFAF; background-color: #323e48;}
#tab-container ul li a:hover {color: #fff; background-color: #e7411b;}
#tab-container ul li.active a {color: #fff; background-color: #e7411b;}
/* form */
#offri-richiedi select, #offri-richiedi input {margin-bottom: 10px;}
#offri-richiedi #nome, #offri-richiedi #email, #offri-richiedi #telefono, #offri-richiedi #error-captcha, #offri-richiedi #nome2, #offri-richiedi #email2, #offri-richiedi #telefono2, #offri-richiedi #error-captcha2 {display: none;}
#offri-richiedi form .btn {float: right; margin-top: 10px; background-color: #323e48; color: #fff;}
#offri-richiedi .descrizione p {margin-bottom: 30px;}
#offri-richiedi #tab-container p {margin-bottom: 30px;}
#offri-richiedi #tab-container h2 {margin-top: 30px;}

/* SEDI */
#contatti #sedi .btn {font-size: 20px; float: right; background-color: #e7411b; color: #ffffff; -webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); -moz-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28);}
#contatti #sedi .btn span {width: auto; height: auto; vertical-align: middle; margin-right: 10px; color: #fff;}
#home #sedi .btn {font-size: 20px; float: right; background-color: #e7411b; color: #ffffff; -webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); -moz-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28);}
#home #sedi .btn span {width: auto; height: auto; vertical-align: middle; margin-right: 10px; color: #fff;}
#pag-sedi #sedi .btn {font-size: 20px; float: right; background-color: #e7411b; color: #ffffff; -webkit-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); -moz-box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28); box-shadow: 2px 2px 10px 0px rgba(50, 50, 50, 0.28);}
#pag-sedi #sedi .btn span {width: auto; height: auto; vertical-align: middle; margin-right: 10px; color: #fff;}

/* mobile */
@media screen and (max-width: 1199px) {
  .fascia-verticale h1 {margin-top: 10px; margin-bottom: 0;}
  #scritta-slider h1 {font-size: 50px;}
  /* home categorie */
  #categorie .col-sm-4 {padding-top: 113px;}
  /* lista */
  #lista .annunci .dati-annuncio li {font-size: 20px;}
  #lista .annunci .dati-annuncio li span {font-size: 25px; margin-top: -5px;}
}

@media screen and (max-width: 991px) {
  h1 {font-size: 45px;}
  h2 {font-size: 25px}
  h3, p {font-size: 18px;}
  /* logo */
  .logo {margin-bottom: 15px; margin-top: 15px;}
  .logo img {max-width: 250px;}
  .navbar-header {top: 29px;}
  /* menu */
  .navbar-collapse {top: 97px; width: 500px;}
  .navbar-collapse ul {width: 485px;}
  #main-menu ul li a {line-height: 60px;}
  /* margin top */
  .mt {margin-top: 97px !important;}
  /* slider */
  #scritta-slider h1 {font-size: 40px;}
  /* categorie */
  #categorie .col-sm-4 {min-height: 303px; padding-top: 81px;}
  #categorie .col-sm-4 a:first-child {top: -112px;}
  #categorie .col-sm-4 img.cat-icon {height: 100px; width: 100px; margin-left: -50px; margin-top: -50px;}
  #categorie .col-sm-4:nth-child(3) h4 {margin-bottom: 80px;}
  #categorie .col-sm-4 .rkmd-btn {margin-bottom: 15px;}
  /* lista */
  #lista .annunci h2 {margin-bottom: 25px;}
  #lista .annunci .btn {font-size: 16px;}
  #lista .annunci .dati-annuncio li {padding: 10px; font-size: 15px;}
  #lista .annunci .dati-annuncio li span {font-size: 20px; margin-right: 5px;}
  #lista .annunci .col-sm-5 a {height: 230px; background-position: center;}
  #lista .desc-annuncio p {margin-bottom: 15px;}
  #lista .desc-annuncio .desc {display: none;}
  /* scheda */
  .elenco {margin-left: 0;}
  .table-striped.caratteristiche {font-size: 14px;}
  #scheda #pagina .container > .col-sm-4 {padding: 0;}
}

@media screen and (min-width: 768px) {
  #home .fascia-verticale {width: calc(33.33333333% - 15px);}
  /* lista */
  #lista .annunci {width: calc(100% - 30px); margin-left: 15px;}
  /* sempre hamburger */
  .navbar-header {float: none;}
  .navbar-toggle {display: block;}
  /* .navbar-collapse.collapse {display: none !important;} */
  .navbar-collapse.collapse.in {display: block !important;}
  .navbar-nav {float: none!important;}
  .navbar-nav>li {float: none;}
  /* categorie */
  #categorie .col-sm-3 {width: calc(25% - 30px);}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  /* fascia blu */
  #fascia-blu {margin-top: 0; background-color: rgba(0, 77, 123, 1);}
  /* sedi */
  #sedi .desc-sede img {max-width: 100%; margin-bottom: 10px;}
  /* annunci */
  .annunci .desc-annuncio {margin-top: 0%;}
  /* footer */
  .social {margin-left: 5px;}
  /* chi siamo */
  #chi-siamo .box-firma p {margin-left: 0; text-align: center; float: none;}
  #chi-siamo .box-firma img {float: none;}
}

@media screen and (max-width: 767px) {
  .container {padding: 0;}
  h1:after {bottom: 0;}
  .mt {} 
  /* header */
  header > .container {padding-left: 0; padding-right: 0;}
  header#top .col-sm-2 {float: left;}
  header#top .col-sm-2 a {margin-bottom: 15px; margin-top: 10px;}
  .fascia .container {padding-left: 0; padding-right: 0;}
  /* menu */
  #main-menu {min-height: 0;}
  #main-menu ul {margin: 0;}
  /* home */
  #owl-home .owl-slide:after {background: #323e48;}
  #scritta-slider {position: relative; bottom: 10px;}
  #scritta-slider h1 {font-size: 30px;}
  /* categorie */
  #categorie .col-sm-4 {float: left; margin-top: 90px; padding-top: 81px;}
  #categorie .col-sm-4 a:first-child {top: -100px;}
  #categorie .col-sm-4 a:nth-child(3) {margin-bottom: 15px;}
  /* titolo */
  .descrizione.col-sm-12 {float: left; width: 100%;}
  /* fascia-verticale */
  #home .fascia-verticale {margin-top: 15px; float: left; width: calc(100% - 30px);}
  /* footer */
  .social {margin-left: 0; margin-right: 20px;}
  /* lista */
  #lista .annunci .col-sm-5 {width: calc(100% - 30px); margin-bottom: 30px;}
  #lista .annunci .col-sm-5 a {height: 300px;}
  /* scheda */
  #galleria .owl-item a .img-scheda {height: 400px;}
  #scheda #pagina .container > .col-sm-4 {padding: 0 15px;}
  /* chi siamp */
  #chi-siamo .box-firma {float: left; margin-bottom: 0;}
}
@media screen and (max-width: 693px) {
  #categorie .col-sm-4:nth-child(3) h4 {margin-bottom: 29px;}
}
@media screen and (max-width: 650px) {
  /* categorie */
  #categorie .col-sm-4 {margin-top: 50px; padding-top: 76px;}
  #categorie .col-sm-4 a:first-child {top: -80px;}
}
@media screen and (max-width: 600px) {
  .back-to-top {right: 0; bottom: 0;}
  h1 {font-size: 50px;}
  /* home */
  /* logo */
  .logo {float: right;}
  .logo img {max-width: 200px;}
  .navbar-header {top: 23px;}
  /* logo fixed */
  .fixed .logo img {max-width: 150px;}
  .fixed .navbar-header {top: 14px;}
  /* menu */
  .navbar-collapse {left: -100%; top: 82px;}
  .navbar-collapse, .navbar-collapse ul {width: 100%;}
  /* menu fixed */
  .fixed .navbar-collapse {top: 54px;}
  /* margin top */
  .mt {margin-top: 82px !important;}
  /* slider */
  #owl-home .owl-slide:after {height: 96px;}
  /* categorie */
  #categorie {padding: 30px 15px;}
  #categorie .col-sm-4 a:first-child {top: -130px; width: 250px; left: 50%; margin-left: -125px;}
  #categorie .col-sm-4 {width: 100%; margin-top: 130px; margin-left: 0; margin-bottom: 30px; min-height: auto; padding-top: 100px;}
  #categorie .col-sm-4 .btn {width: auto;}
  /* scheda */
  #galleria .owl-item a .img-scheda {height: 300px;}
}
@media screen and (max-width: 480px) {
  /* sedi */
  h1 {font-size: 45px;}
  h2 {font-size: 30px;}
  p {font-size: 16px;}
  #scritta-slider h1 {font-size: 30px;}
  /* home */
  #owl-home .owl-slide:after {height: 47px;}
  #scritta-slider {bottom: 12px;}
  #scritta-slider h1 {font-size: 20px;}
  #scritta-slider p {display: none;}
  /* chi siamo */
  #chi-siamo .box-firma {float: none;}
  #chi-siamo .box-firma p {margin-left: 0; text-align: center; float: none;}
  #chi-siamo .box-firma img {float: none;}
  /* lista */
  #lista .annunci .dati-annuncio li {padding: 6px;}
}

@media screen and (max-width: 380px) {
  .like-fb {float: none; display: block; text-align: right;}
  #captcha, #g-recaptcha2 {transform:scale(0.7); transform-origin:0 0}
  /* lista */
  #lista .annunci .dati-annuncio li {text-align: center; padding: 10px;}
  #lista .annunci .dati-annuncio li span {display: block; margin-top: 0; margin-bottom: 10px;}
}

/* */
/* control height */
@media screen and (max-height: 630px) {
	/* menu a sx */
	#main-menu ul li a {line-height: 50px;}
}

@media screen and (max-height: 550px) {
	/* menu a sx */
	#main-menu ul li a {line-height: 44px;}
}

@media screen and (max-height: 500px) {
	/* menu a sx */
	.navbar-collapse.menu-open {left: 0 !important; height: 100% !important; padding-bottom: 143px;}
	.fixed .navbar-collapse.menu-open {padding-bottom: 112px;}
	.navbar-collapse ul {overflow-y: scroll; }
	.navbar-collapse ul::-webkit-scrollbar {width: 10px;}
	.navbar-collapse ul::-webkit-scrollbar-track {background: #A2A2A2;}
	.navbar-collapse ul::-webkit-scrollbar-thumb {background: #707173;}
	.navbar-collapse ul::-webkit-scrollbar-thumb:hover {background: #555;}
}