/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
    font-family: 'notepadregular';
    src: url('font/notepad_-webfont.eot');
    src: url('font/notepad_-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/notepad_-webfont.woff') format('woff'),
         url('font/notepad_-webfont.ttf') format('truetype'),
         url('font/notepad_-webfont.svg#notepadregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}
select::-ms-expand { display: none; }
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a{
    color: #000;
}
a:hover, a:active{
    color:#2E9DF9;
}
body{
    font-size: 12px;
    font-family: Arial;
    margin: 0;
    background-color: #f7f7f7;
}
section, header, footer{
    width: 100%;
}

header{
    height: 100px;
    display: block;
    width: 100%;
    max-width: 1024px;
    margin:0 auto;
    padding: 0;
    position: relative;
}
header h1{
    width: 30%;
    height: 60px;
    margin: 0;
    padding: 40px 0px 0 44px;
    float: left;
}
header h1.logo-lake{
    background: url('../img/logo-lakeproject.png') no-repeat 0 3px;
    background-size: contain;
    font-size: 1.65em;
    letter-spacing: -1px;
    font-weight: normal;
    text-indent: -9999px;
    font-family: 'notepadregular', sanserif;

}
header h1.logo-lake a{
    text-decoration: none;
}
header h2{
    position: absolute;
    right: 0;
    padding: 0 3px 0 0;
    margin: 15px 0;
    float: right;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 2.5em;
    font-weight: 400;
    text-align: right;
    color: #024a76;
}
.field{
    display:block;
    float:left;
    margin:5px 0;
    width:100%;
}
.field table{
    margin-left: 15px;
    float:left;
}
.field span{
    line-height: 25px;
    margin-left: 15px;
    width:40%;
    font-weight: bold;
}
.validatorsummary, .validator{
    color: red;
}
.form input, .form textarea, .form select{
    border:1px solid #2E9DF9;
    padding:5px 9px;
    float:left;
    margin-left:3%;
    width:50%;
}
.form span.radio label{
    width: 30px;
    text-align: left;
}
.form input[type="radio"]{
    width: 20px;
}
.form input[type="checkbox"]{
    width: 20px;
}
.form p.check{
    margin-left:25%;
    width: 50%;
}
.form label{
    float:left;
    width: 20%;
    text-align:right;
    line-height: 25px;
}
.form select{
    width:52%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance:none;
    border: 1px solid #2E9DF9;
    border-radius: 0px;
    overflow: hidden;
    background: #fff url("../img/bg-select.png") no-repeat 90% 50%;

}
select{
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
}
.arrow {
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #000 transparent transparent transparent;
}
header nav ul li { cursor: pointer;}
header a:hover .arrow, header a:active .arrow, header nav ul li:hover .arrow{
    border-width: 0 6px 6px 6px;
    border-color: transparent transparent #000 transparent;
}
section.results p.ordinamento{
    float:left;
    margin:5px 0 10px 0;
    width:100%;
    text-align:center
}
div.content{
    float:left;
    width:100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #2E9DF9;
    margin-bottom: 10px;
}
p.ordinamento a{
    position:relative;
    margin-left:40px;
    padding-right: 25px;
    color: #2E9DF9;
    text-decoration:none;
    font-size: 1.1em;
}
p.ordinamento a:hover,p.ordinamento a:active{
    color:#024A76;
}
p.ordinamento a:hover .arrow-up,p.ordinamento a:active .arrow-up{
    border-bottom: 5px solid #024A76;
}
p.ordinamento a:hover .arrow-down,p.ordinamento a:active .arrow-down{
    border-top: 5px solid #024A76;
}
.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #2E9DF9;
    position:absolute;
    bottom:3px;
    right:10px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2E9DF9;
    position:absolute;
    top:3px;
    right:0;
}
.border-top{
    height:  25px;
    width: 100%;
    background: url('../img/border-slideshow.png') repeat-x top left;
    display: block;
    position: absolute;
    top: 100px;
    left:0;
    z-index: 50;
}
section.slideshow{
    position: relative;
    width: 100%;
    max-width: 1600px;
    overflow: hidden;
    margin: 0 auto;
}
section.slideshow ul li{
    padding: 0;
    background-size: cover;
}
section.slideshow .positioning{
    position: relative;
    width: 100%;
    max-width: 1024px;
    height: 250px;
    margin: 250px auto 0 auto;
    padding: 0;
}
section.slideshow .slide-content{
    width: 570px;
    height: 100%;
    background: url('../img/bg-caption.png');
    position: relative;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
section.slideshow h4{
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-size: 2.5em;
    font-weight: 400;
    color: #fff;
    margin: 0;
    padding: 20px 40px 10px 40px;
}
section.slideshow p{
    background: rgba(2,74,118,0.8);
    color: #fff;
    padding: 20px 40px;
    margin:  0;
}
section.slideshow .slide-content a{
    position: absolute;
    right: 5px;
    bottom:15px;
    float: right;
    width: 179px;
    height: 48px;
    background: url('../img/bg-link.png') no-repeat 50% 50%;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    color: #024a76;
    font-size: 1.7em;
    text-align: center;
    padding: 14px 0 0 40px;
}
section.slideshow .slide-content a:hover{
    color: #2c9cfa;
}
.bx-controls-direction{
    position:absolute;
    top: 45%;
    width:100%;
}
.bx-controls-direction .bx-next,
.bx-controls-direction .bx-prev{
    height: 30px;
}
.bx-controls-direction .bx-next{
    right:5px;
}
.bx-controls-direction .bx-prev{
left: 5px
}
.badge{
    width: 106px;
    height: 136px;
    position: absolute;
    top: 100px;
    right: 0;
    background: url('../img/badge-blue.png') no-repeat;
    background-size: contain;
    z-index: 100;
    color: #fff;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 18px 10px;
    text-align: center;
    font-size: 1em;
    display: block;
}
.badge a{
    text-decoration: none;
    color: #f1f1f1;
}
/*
.mask {
    background:  -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(40%,rgba(255,255,255,0)), color-stop(60%,rgba(255,255,255,0)), color-stop(60%,rgba(255,255,255,0.05)), color-stop(100%,rgba(255,255,255,1)));
    z-index: 100;
    height: 500px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
*/
section.slideshow ul.bx-slider{
    padding: 0;
}
section.slideshow .bx-wrapper li {
    background-size: cover;
    height: 500px;
    background-repeat: no-repeat;
    z-index: 0;
}
section.search-engine span, section.featured span{
    float: left;
    padding-top: 15px;
    margin: 0 20px;
}
section.search-engine{
    height: 130px;
    background: url('../img/bg-search.png') repeat-x top left;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 40px;
    position: relative;
    margin: 30px 0;
    max-width: 1024px;
    margin: 10px auto;
}
section.search-engine label{
    float:left;
    font-size: 0.7em;
    margin-left:25px;
    font-style: italic;
}
section.search-engine .block-select{
  width: 25%;
  display: block;
  float: left;
  height: 60px;
  margin: 10px 0 0 0;
  font-size: 1.2em;
}
section.search-engine .block-select select{
    margin: 5px;
    float: left;
}
.select-style {
    border: 1px solid #2E9DF9;
    border-radius: 0px;
    overflow: hidden;
    background: #fff url("../img/bg-select.png") no-repeat 100% 50%;
}
.select-style select{
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance:none;
  }
footer .select-style.short{
    width:100px;
    margin: 10px 0;
    text-indent:10px;
}
section.search-engine .select-style{
    width: 80%;
    margin: 15px 10%;
}
a.search-button,
input[type="submit"].search-button{
    width: 100%;
    background: url("../img/bg-search-button-blue.png") no-repeat 50% 50%;
    background-size: contain;
    display: block;
    height: 70px;
    color: #fff;
    text-align: center;
    float: left;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    text-decoration: none;
    font-size: 1.4em;
    line-height: 60px;
    cursor:pointer;
}
a.search-button:hover,
a.search-button:active,
input[type="submit"].search-button:hover,
input[type="submit"].search-button:active{
    opacity: .8;
}
input[type="submit"].search-button{
    border:none;
    float:right;
    width:180px;
    margin-right: 50%;
}
.block a.search-button{
    margin: 30px 0 30px 0;

}
section.search-engine a.search-button:hover,
section.search-engine a.search-button:active{
    opacity: .8;
}
.new-button{
    color: #fff;
    background-color: #2E9DF9;
    border-color: #2E9DF9;
    display: inline-block;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .5rem 2rem;
    font-size: 1rem;
    border-radius: .25rem;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    text-decoration:none;
    float:right;
}
.new-button:hover{
color: #fff;
background-color: #025aa5;
border-color: #01549b;
}
.select-style select {
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance:none;
}

.select-style select:focus {
    outline: none;
}
/*section.featured .item{
    width: 300px;
    margin: 0 auto;
    height: 300px;
    background: yellow;
    display:table;
}*/
section.featured h3, section.search-engine h3, section.surroundings h3, section.more h3 {
    font-size: 2em;
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 400;
    color: #024a76;
    margin: 5px 0;
    float: left;
    width: auto;
}

section.reloaded h3, section.reloaded a {
    color: white;
}

section.reloaded a, aside.controls a.search-button {
    color: white;
}

section.featured {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 40px;
}
ul.list-items{
    display: table;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
section ul.list-items li{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 1%;
    float: left;
}
section.featured ul.list-items li{
    height: 300px;
}
ul.list-items li a{
   display: block;
   border: 1px solid #2e9df9;
   width: 100%;
   padding: 50% 0 0 0;
   /*background: url('http://www.lakeproject.it/images/stories/tremalzo_bike.jpg') no-repeat 50% 50%;*/
   background-size: cover;
   position: relative;
   background-repeat:no-repeat;
   background-position: 50% 50%;
}
ul.list-items li a strong{
   padding-top: 11px;
   width: 100%;
   padding-bottom: 10px;
   position: absolute;
   left: -1px;
   text-align: center;
   border:1px solid #2e9df9;
   background: url('../img/bg-vacanza.jpg') repeat-x top left;
   font-size: 2em;
   font-family: 'Yanone Kaffeesatz', sans-serif;
   font-weight: 400;
   color: #fff;

}
ul.list-items li a:hover,
ul.list-items li a:active{
    opacity: .7;
}
ul.list-items li.result{
    width: 50%;  /*3 colonne: 33.333% VALORE DA CAMBIARE NEI MEDIA QUERY*/
}
ul.list-items li.item{
     width:33.333%; /*3 colonne: 33.333% VALORE DA CAMBIARE NEI MEDIA QUERY*/
}
section.surroundings {
    padding: 5px 40px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
section.surroundings h3{
    width: 100%;
}
section.surroundings aside{
    width: 25%;
    float: left;
}
section.surroundings aside ul{
    list-style:none;
    padding: 0 0 0 20px;
}
section.surroundings aside ul li {
    margin: 15px 0;
    font-size: 1.25em;
    padding-left: 30px;
    background: url('../img/bullet.png') no-repeat 0 50%;
}
section.surroundings aside ul li a{
    /*TODO: link color*/
    color: #2e9df9;
}
section.surroundings aside ul li a:hover,
section.surroundings aside ul li a:active{
    /*TODO: link color*/
    color: #2e9df9;
    text-decoration: none;
}
section.surroundings .gallery-container{
    width: 70%;
    float: right;
    height: 300px;
    border: 2px solid #2e9df9;
}
.gallery-container iframe{
    width: 100%;
}
.separate{
    clear: both;
    height : 10px;
    background: url('../img/linea.png') no-repeat 50% 50%;
    display: block;
    float: left;
    width: 100%;
    margin: 40px 0;
}
section.more{
    float: left;
    padding: 0 40px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
section.more h3{
    width: 100%;
}
section.more p{
    margin: 20px 0 5px 0;
    float: left;
}
.arrow-right, .arrow-left{
    position:absolute;
    top: 40%;
    width: 32px;
    height: 32px;
    text-indent: -9999px;
    z-index: 9999;
}
.arrow-right{
    right: 0px;
    background: url(../img/controls-arrow.png) no-repeat -43px 0;
}
.arrow-left{
    left: 0px;
    background: url(../img/controls-arrow.png) no-repeat 0 0;
}
.arrow-left:hover, .arrow-right:hover{
    background-position-y: -32px;
}
.imperdibili{
    background: #EEF8FF;
    border-top: 1px solid #2e9df9;
    border-bottom: 1px solid #2e9df9;
    position:relative;
}

.imperdibili .swiper-slide{
    float: left;
    width:276px;
    height:220px;
    display: block;
}
.imperdibili .swiper-slide img{
    width: 236px;
    height: 150px;
    border: 1px solid #2e9df9;
    margin: 13px 20px 5px 20px;
    float: left;
}
.imperdibili .swiper-slide a{
    float:left;
    font-size:1.1em;
    text-decoration: none;
    font-weight: bold;
    color: #024A76;
}
.imperdibili .swiper-slide a:hover{
    color:#2e9df9;
}
.imperdibili .swiper-slide p{
    width: 236px;
    margin: 0px 20px;
    float:left;
}
.imperdibili .swiper-slide a span{
    float: right;
    font-size: 0.8em;
    margin-top: 4px;
    margin-right: 4px;
}
.swiper-container{
    clear: both;
    width: 100%;
    position:Relative;

}
footer{
    clear: both;
    float: left;
    margin-top: 40px;
}
footer .center{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    display: block;
}
footer section.add-property{
    background: #eef8ff;
    border-top: 1px solid #2e9df9;
    border-bottom: 1px solid #2e9df9;
    display: block;
    position: relative;
    height: 80px;
    margin: 20px 0;
}
footer section.add-property .center{
    padding: 10px 40px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.form input.button{width: 280px; bordeR:none;cursor:pointer;margin:40px 100px 0 0;}
footer section.add-property a,
.form input.button{
    height: 60px;
    background: url('../img/bg-add-property-blue.png') no-repeat 0 0;
    display: block;
    float: right;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.4em;
    text-decoration: none;
}
footer section.add-property a:hover,
footer section.add-property a:active{
    opacity: .8;
}
footer section.add-property span{
    line-height: 60px;
    color: #2e9df9;
    font-weight: bold;
    font-size: 1.2em;
}
footer aside{
    width: 25%;
    float: left;
    padding: 0 40px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
footer nav ul{
    padding: 0;
    list-style: none;
}
footer nav ul li {
    width: 25%;
    float: left;
    margin: 0;
}
footer nav ul li ul{margin-top:10px;}
footer nav ul li strong,
footer aside strong{
    font-family: 'Yanone Kaffeesatz', sans-serif;
    font-weight: 400;
    color: #024A76;
    font-size: 1.6em;
}
footer nav ul li ul li{
    float: none;
    width: 100%;
}
footer .social li{
    float: left;
    width: 16.6%;
}
section.social{
    margin-top: 20px;
    float: left;
    border-top: 1px solid #2e9df9;
}
section.social ul{
    padding: 0;
}
section.social ul li a{
    max-width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    background-size: contain;
}
section.social ul li.facebook a{
    background: url('../img/facebook.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.twitter a{
    background: url('../img/twitter.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.google a{
    background: url('../img/google_plus.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.instagram a{
    background: url('../img/instagram.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.pinterest a{
    background: url('../img/pinterest.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.foursquare a{
    background: url('../img/foursquare.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.flickr a{
    background: url('../img/flickr.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul li.tiktok a{
    background: url('../img/tiktok.jpg') no-repeat 0 0;
    background-size: contain;
}
section.social ul{
    list-style: none;
    text-indent: -4000px;
    padding-top: 20px;
}
section.social a:hover,
section.social a:active{
    opacity: .6;
}
footer p.copyright{
    clear: both;
    margin: 30px 0 0 0;
    float: left;
   background: url('../img/bg-footer.jpg') repeat-x top left;
   width: 100%;
   height: 60px;
   color: #fff;
   text-align: center;
}
footer p.copyright span{
    padding: 20px 0 0 0;
}
.wrapper{
    position: relative;
    margin: 42px auto;
    width: 100%;
    max-width: 1024px;
}
aside.controls strong{
    font-size: 1.2em;
    color: #024A76;
    margin: 10px 0;
    float: left;
    width: 100%;
}
aside.controls.dettaglio strong{
    width: auto;
    clear: both;
    width:50%;
}
aside.controls.dettaglio span{
    float:left;
    margin:12px 0;
    font-size:1.1em;
    width:50%;
}
aside.controls .check{
    display: block;
    float: none;
    margin: 5px 0;
}
aside.controls .check input{
    -webkit-appearance: none;
    -moz-appearance:none;
    appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align:middle;
    border: 1px solid #2E9DF9;
    background: #fff;
}
aside.controls .check.poi input{
    border-color:#38c100;
}
aside.controls .check.accomodation input{
    border-color:#8f09a1;
}
aside.controls .check input:checked{
    background: #fff url('../img/check-blue.png');
}
aside.controls .check.poi input:checked{
    background: #fff url('../img/check-green.png');
}
aside.controls .check.accomodation input:checked{
    background: #fff url('../img/check-purple.png');
}
aside.controls .check label{
    margin-left: 10px;
}
aside .wrapper select{
    float: right;
}
aside.controls input[type="range"]{
    float: left;
    width: 90%;
    -webkit-appearance: none !important;
    -moz-appearance:none;
    appearance:none;
    /*background:#9100a5;*/
    height:7px;
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(0.36, #9100a5),
        color-stop(0.36, #C5C5C5)
    );
}
aside.controls input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none!important;
    -moz-appearance:none;
    appearance:none;
    background:#fff;
    border: 1px solid  #2E9DF9;
    height:15px;
    width:40px;
}
aside.controls .select-style{
    width: 50%;
    float: right;
    padding: 0 0px 0 5px;
    }
aside.controls .select-style.short{
    width: 35%;
}
aside.controls .label-select{
    width: 100%;
    display: block;
    margin: 10px 0;
}
h4.title.center{
    max-width:1024px;
    margin: 25px auto 10px auto;
    width:100%;
    float:none;
}
h4.title,
h3.title,
.title, h2, h3{
   font-family: 'Yanone Kaffeesatz', sans-serif;
   font-weight: 400;
   font-size: 1.9em;
   color: #024A76;
   margin:  0;
   float: left;
   width: 100%;
   line-height:1em;
}
h2, h3{

   margin:  0;
}
strong.title{font-size:1.6em;margin:30px 0 20px 0;}
.wrapper section.results, .wrapper section.text{
    width:65%;
    float: left;
    margin-left: 5%;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wrapper section.results.dettaglio{
    width:100%;
    margin:0;
    }
.wrapper section.text h3{
    margin: 0 0 10px 0;

}
section.text .container-gallery{
    width:80%;
    max-width: 600px;
    height: 300px;
    float:left;
}
section.text .bx-wrapper{
    width: 100%;
    max-width: 600px;
    height: 300px;
    overflow:hidden;
}
.wrapper section.wide{
    width:100%;
    margin-left:0;
}
section.wide .container-gallery{
    width:100%;
    max-width: 100%;
    height: 300px;
    float:left;
}
div.text{
    float:left;
    margin-top:20px;
    width:100%;}
section.text .container-gallery ul{
    margin:0;
}
section.text .container-gallery ul li{
    height: 298px;
    background-size: cover;
    background-repeat: no-repeat;
    border: 1px solid  #2E9DF9;
    padding:0; margin:0;
    text-indent: -9999px;
    background-position: 50% 50%;
}

p.breadcrumbs {width: 100%;} /*???*/
section.results ul li.result{
    position: relative;
}
section.results ul li.result a em{
    position: absolute;
    bottom: 0;
    right: 5px;
    font-style: normal;
    font-weight: bold;
    color: #024A76;
}
section.results ul li.result a{
    text-decoration: none;

}
section.results ul li.result .details{
    width: 100%;
    border-top: 1px solid #2E9DF9;
    position: relative;
    background: #EEF8FF;
    height: 50px;
}
section.results ul li.result .details span.bullet{
    width:20px;
    height:20px;
    background:#8f09a1;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    float:left;
    color:#fff;
    text-align:center;
    line-height:20px;
    font-size: 0.8em;
    margin: 0 5px 0 0;
}
section.results ul.list-items li a strong{
    background:#024A76;
    position:absolute;
    top: 10px;
    margin-left:70%;
    font-size: 0.9em;
    font-family:arial;
    border:none;
    width:30%;
    padding: 2px 5px 2px 2px;
    text-align:center;
}
section.results ul.list-items li a strong span{
    font-size: 0.9em;
}
.map img{
    border: 1px solid #2E9DF9;
    margin: 20px 0;
}
#map{width:100%;height:500px;z-index:0;border:1px solid #2e9df9;}
section.results p{
    float:left;
    width: 100%;
}
.wrapper p{
    float:left;
    width: 100%;
    margin: 10px 0px;
}
section.results ul li.result .details p{
    width: 100%;
    color:#024A76;
    margin: 0;
    display: block;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 4px;
}
section.results.offer ul li.result .details p{
    font-size: 1.6em;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}
.de section.results.offer ul li.result .details p
{
    font-size:1.3em;
    }
section.results ul li.result a:hover {
    color:#024A76;
}
section.results ul li.result .details span.camere,
section.results ul li.result .details span.letti{
    width:55px;
    position: absolute;
    bottom:2px;
    text-indent:22px;
    height:20px;
    line-height:20px;
    font-size: 0.9em;
}
.box:hover section.results ul li.result .details span.camere,
.box:hover section.results ul li.result .details span.letti{
        color:#000
}
section.results ul li.result .details span.camere{
    background: transparent url(../img/camere.png) no-repeat bottom left;
    right: 20px;
}
section.results ul li.result .details span.letti{
    background: transparent url(../img/letti.png) no-repeat bottom left;
    right: 70px;
}
section.results ul li.result .details strong{
    width: 20%;
    float: right;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
}
.wrapper aside{
    width: 30%;
    float: left;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.wrapper aside .block{
    padding: 10px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #eef8ff;
    display: block;
    float: left;
    width: 100%;
    border: 1px solid #2e9df9;
    margin:10px 0 30px 0;
}
.wrapper aside .block ul{
    list-style: square;
}
.wrapper aside .block ul li{
    margin: 5px 0;
}
.wrapper aside .block ul li a {
    text-decoration: none;
    color:#024A76;
}
.wrapper aside .block ul li a:hover{
    color: #2e9df9;
}
.block.meteo{
    margin-top: 20px;
}
#meteo{
    width: 280px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    display: table;
}
ul.servizi{
    list-style: none;
    padding: 0;
    margin:0;
}
ul.servizi li{
    font-weight: bold;
    color: #024A76;
}
ul.servizi li ul{
    list-style:none;
    padding: 0;
    margin:10px 0 0 0;
}
ul.servizi li ul li{
    font-weight: normal;
    width: 45%;
    float:left;
    margin: 10px 0;
    color: #000;
}
ul.servizi li ul li img{
    margin-right: 20px;
}
aside.controls.dettaglio .meteo span{
    float:left;
    width: 2%;
    margin:0;
}
aside.controls.dettaglio span.max,
aside.controls.dettaglio span.min{
    width: 48%;
}
aside.controls.dettaglio span.max{
    color: red;
}
aside.controls.dettaglio span.min{
    color: blue;
}
.block.meteo .day{
    width:33.3%;
    float:left;
    text-align: center;
}
.clear{
    clear: both;
}
a.back{
    background: url('/img/freccia_pagina.png') no-repeat 0 50% ;
    height: 30px;
    display:block;
    line-height: 32px;
    text-indent: 35px;
    text-decoration: none;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/**FIREFOX FIXING**/
.mobile-hide,#map{float:left;}

/* ==========================================================================
    Media Queries for Responsive Design
   ========================================================================== */
@media screen and (max-width: 320px){
    section.featured ul.list-items li a strong{font-size:1.1em!important;}
}
@media screen and (max-width: 1024px) {
    body {font-size: 12px;}
    h4.title, h3.title, .title{margin: 10px 0 0 0;}
    .mobile-hide{display:none!important;}
    .border-top{ display: none; }
    ul.list-items li.result{width: 100%;}
    aside.controls,
    .wrapper section.results{ width: 100%; margin: 0;}
    .wrapper {width: 96%;margin: 0 2%;float:left;}
    section.social ul li a{ width: 40px; height: 40px; background-size: cover; }
    section.search-engine{ background: #EEF8FF; padding: 0; height: auto;display: block;float: left; margin: 0px auto 5px auto; }
    section.search-engine h3{ font-size: 1.8em; width: 100%; text-align: center; }
    section.search-engine span{ display: none; }
    section.search-engine .block-select{ width: 70%; margin: 0 15% }
    section.search-engine .block-select.select-button{ width: 70%;display: block;background: none;margin: 1% 15%; }
    section.search-engine .block-select.select-button a{ height: auto;background: green;line-height: normal; padding: 10px 5px;}

    section.daily-news{ background: #EEF8FF; padding: 0; height: auto;display: block;float: left; margin: 0px auto 5px auto; }
    section.daily-news h3{ font-size: 1.8em; width: 100%; text-align: center; }
    section.daily-news span{ display: none; }
    section.daily-news .block-select{ width: 70%; margin: 0 15% }
    section.daily-news .block-select.select-button{ width: 70%;display: block;background: none;margin: 1% 15%; }
    section.daily-news .block-select.select-button a{ height: auto;background: green;line-height: normal; padding: 10px 5px;}

    section ul.list-items li{ padding: 0; margin: 10px 0;}
    ul.list-items li.result strong.title{ font-size: 1.8em; font-family: 'Yanone Kaffeesatz', sans-serif; font-weight: 400; background: #2E9DF9; color: #fff; width: 100%; display: block; padding: 5px; -moz-box-sizing: border-box; box-sizing: border-box; }
    /*section.results ul.list-items li a{ background: none; padding: 0; float: left; border: none; width: 90%; text-align: right; font-size: 1.2em; color: #2e9df9;}
    section.results ul li.result .details{ border: none; background: none; width: 56%; margin: 0; padding: 0; float: left; }
    section.results ul li.result .details strong{ float:left; width: 100%; position: relative;}
    section.results ul li.result img{width: 40%; float: left; margin-top: 10px; }
    section.results ul li.result{ margin-top: 70px;}*/
    ul.list-items li.result{width:94%; margin: 10px 3%;}
    section.results ul li.result .details span.bullet{display:none;}
    section.results ul li.result .details p{font-size:1.2em;margin-left:5px;}
    footer nav ul li{display: none;}
    header{height: 120px;}
    header h1.logo-lake {
        width: 80%;
        background: url('../img/logo-lakeproject.png') no-repeat 0 3px;
        background-size: contain;
        margin: 0;
        padding: 15px 0;
        line-height: 2.3em;
        padding: 0;
        color:#fff;
        text-align: center;
        font-size: 2.3em;
        float: left;
        height: 65px;
        text-indent:0;
    }
    header #menu{width:20%;background: #2E9DF9 url(../img/menu.png) no-repeat 50% 50%;float:left;height:65px;cursor:pointer;}
    header h1.logo-lake a{color:#fff;}
    header h2{color: #2E9DF9;float: left;font-size: 1.8em;text-align: center;position:relative;margin:5px auto;}
    span.badge{ display: none;}
    .gallery-container .bx-controls{display: block;}
    .bx-controls .bx-prev, .bx-controls .bx-next{display:none}
    .wrapper section.text{width:96%; margin: 0 2%;}
    section.slideshow .bx-controls{display:none}
    section.slideshow .bx-wrapper, section.slideshow .bx-wrapper li{height: 200px;}
    section.slideshow .slide-content{ position: relative; bottom: 0; background: rgba(2, 74, 118, 0.6); height: auto; padding: 5px 5px 44px 5px; width: 100%; }
    section.slideshow { height: 200px; position: relative;}
    section.slideshow .positioning{ position: absolute; height: auto; margin: 0; padding: 0; bottom: 0; }
    section.slideshow h4{ font-size: 1.8em; width: 100%; padding: 0; }
    section.slideshow p{ width: 100%; padding: 0; background:none;}
    section.slideshow .slide-content a{ position: absolute; background: rgba(255,255,255,0.8); text-decoration:none; bottom:12px; right: 0; padding: 0 5px ; width: auto; height:auto; }

    section.featured{padding: 0; float:left;}
    section.featured span{ display: none; }
    section.featured h3{ font-size: 1.8em; text-align: center; width: 100%;}
    section.featured ul.list-items{margin-bottom:20px;}
    section.featured ul.list-items li{ height: 100%; margin: 10px 1%; width:48%; }
    section.featured ul.list-items li a{ background-image: none; background: #EEF8FF; text-decoration:none; }
    section.featured ul.list-items li a strong { background: none; background: #EEF8FF; color: #2e9df9; font-size: 1.3em; width: 45%;margin-left: 5%;padding:10px;position:relative}

    #map{height:300px;}
    .wrapper aside .block .map{ display: none;}
    .other, .wrapper aside .block.other{display: none}
    footer{margin:20px 0 0 0;}
    footer section.add-property .center{text-align: center;}
    footer section.add-property span{ line-height: normal; text-align: center; }
    footer section.add-property a{ background: #900ca2; font-size: 1.2em; height: auto; width: 70%; margin: 10px 15%; padding: 10px 5px; text-align: center;}
    footer section.add-property{ display: block; height: 100px; }
    .separate{margin:40px 0 20px 0;}
    footer aside{width: 100%; margin:0 auto; text-align:center;}
    section.surroundings{float:left; width: 100%; padding: 0;}
    section.surroundings h3, section.more h3{ width: 100%; text-align:center}
    section.surroundings .gallery-container{width:100%;}
    section.surroundings aside{width:100%;}
    footer .select-style.short{margin: 10px auto;}
    footer p.copyright span{font-size:0.8em;padding:14px 0 0 0;}
    section.more{padding:0 10px;}
    section.search-engine label{margin-left:0px; width:100%;text-align:center; font-size: 0.8em;}

    header h2{float:left;margin-bottom:5px;padding:0;}

    p.ordinamento a{width: 40%;max-width:180px;	display:block;background:#EEF8FF;padding: 5px 15px 5px 5px;float:left;margin:0 5px 5px 0;}
    p.ordinamento .arrow-up{bottom:10px;right: 15px}
    p.ordinamento .arrow-down{top:10px;right:5px}
    .imperdibili .swiper-slide{width:216px;height:190px;}
    .imperdibili .swiper-slide img{width:196px;height:140px;}

    section.text .bx-wrapper{height:180px;}
    section.text .container-gallery{width:100%;height:180px;}
    section.text .container-gallery ul li{height: 178px;}
    h4.title.center{text-indent:2%;text-align:center;}

    .form label{width:80%; margin-left: 10px;text-align:left;}
    .form input, .form textarea{width: 85%;}
    .form select{width:90%;}

    ul.servizi li ul li img{margin-right: 5px;}
    ul.servizi li ul li{width:50%;font-size: 0.9em; line-height: 1em;margin:5px 0;}

    header nav > ul > li > ul > li > a span.arrow,.arrow{background: #eef8ff url('../img/bg-sprite.png') no-repeat 0 0px;border:none;}
    header nav > ul > li > a > span, header nav > ul > li > ul > li > a span.go{background: #eef8ff url('../img/bg-sprite.png') no-repeat -20px  0px;border:none;}
    header nav > ul > li > ul > li > a span.arrow:hover,.arrow:hover,header nav > ul > li > ul > li > a span.arrow:active,.arrow:active,header nav > ul > li.active > a span.arrow{background-position-y: -20px;}
    header nav { display: none; }
    header nav.open{display:block;float:left;width: 100%;}
    header nav.open ul,	header nav.open li,	header nav.open a {  margin: 0;padding: 0; border: 0;list-style: none;text-decoration: none; line-height: 1; position: relative;}
    header nav.open a { line-height: 1.3;}
    header nav.open > ul > li > a { padding: 10px 20px 10px 10px; display: block; background: #eef8ff;color: #014A82;border-bottom: 1px solid #014A82;position: relative;font-size:1.2em;}
    header nav.open  i {padding-right:10px;}
    header nav.open > ul > li > a > span,header nav > ul > li > ul > li > a span {display: block;float: right;margin-top: 12px;position: absolute;top:0;right:20px;width: 20px;height: 20px;}
    header nav.open > ul > li.has-children > a > span {position: relative;width:40px;height: 40px;}
    header nav.open > ul > li > a:hover, header nav.open > ul > li.active > a {  text-decoration: none;color: #2E9DF9;}
    header nav.open > ul > li.active > a > span.icon-plus-circle2:before{content: "\e606";}
    header nav.open > ul > li.active {border-bottom: none;}
    header nav.open > ul > li.active > a span { border-color: transparent transparent transparent #2E9DF9;}
    header nav.open span.cnt { position: absolute; top: 8px;right: 15px;padding: 0;margin: 0; background: none;	}
    header nav.open ul ul {  display: none;	}
    header nav.open ul ul li { border-bottom: 1px solid #014A82;}
    header nav.open ul ul a { padding: 10px 10px 10px 35px; display: block; color: #014A82; font-size: 13px; font-weight: normal;}
    header nav.open ul ul a:hover { color: #024A76;	}
    .back-to-top {position: fixed;bottom: 2em;right: 0px;text-decoration: none;color: #fff;background-color: rgba(235, 235, 235, 0.90);	font-size: 12px;padding: 1em;display: none;z-index: 1}
    .back-to-top:hover {background-color: rgba(135, 135, 135, 0.80);}
}
@media screen and (min-width: 1025px){
    body { font-size: 14px; }
    .desktop-hide{display:none!important;}
    header nav ul li { position: relative;}
    header nav ul li ul{ list-style: none;position: absolute; right: 0; width: 100%;z-index: 200; margin: 0; padding: 0; text-align: right;display: none; min-width: 135px;/*NONE*/}
    header nav ul li ul li {z-index: 200;float: left; padding: 10px 20px;width: 100%;-moz-box-sizing: border-box; box-sizing: border-box; border-bottom: 1px dashed #024a76;}
    header nav ul li:hover > ul > li > a{ display: block;color: #000;  z-index: 200;}
    header nav ul li:hover > ul > li > a:hover,header nav ul li:hover > ul > li > a:active{ color: #2E9DF9;}
    header nav ul li ul li a{ width: 100%;}
    header nav ul li:hover ul { background: #fff; display: block;min-width:250px;}
    header nav ul li:hover ul.display-menu{ min-width:0;}
    header nav ul li{   float: left;  padding: 20px 19px 0 3px;  min-width: 70px;text-align: right;}
    header nav ul li a{ display: block; color: #000; text-decoration: none;}
    header nav ul li span{ position: absolute; bottom: 7px; display: block; right: 6px;}
    header nav ul li ul li ul{	display: block;	float:left;	width:100%;	font-size: 0.9em;position:relative;padding:0;list-style: square;text-align:left;}
    header nav ul li ul li ul li {float: left;width: 40%;border: none;padding:20px 10px 0 0;text-align:left;margin:0 10px 0 5px;text-indent: -5px;}

    header nav ul li ul li ul.display-menu {
        list-style: none;
    }

    header nav ul li ul li ul.display-menu li {
        float: none;
        width: 80%;
        padding: 20px 2px 0 2px;
    }

    header ul{ margin: 0;  padding: 0;  list-style: none;}
    header nav{  position: relative; top: 50px;  float: right;}

    section.featured ul.list-items li{height:250px}
}
@media screen and (min-width: 480px) and (max-width: 1024px) {
     /*   body{
            font-size: 14px;
        }*/
    header h2{font-size:2em;width: 100%;}
    ul.list-items li.result{width: 44%; margin: 10px 3%;}
    .wrapper aside .block{width:60%; margin:10px 20% 30px 20%;}
    .form label{width:20%;}
    #map{height:400px;}
}

@media screen and (min-width: 769px) and (max-width:1024px){
     /*
    header h2{font-size:2em;width: 60%;}
    .desktop-hide{display:none!important;}*/
    header h2{font-size:2em;/* width: 60%; */right:10px;}
    ul.list-items li.result{width: 50%;}
    header nav ul li{min-width: 0;padding:20px 30px 0 10px;}
    #mobile-last .block .mobile-hide{display:none;}
    .wrapper{padding: 0 10px;box-sizing: border-box;-moz-box-sizing: border-box;}
    /*header{padding: 0 10px;box-sizing: border-box;-moz-box-sizing: border-box;}
*/}

@media screen and (min-width: 1024px) {
    header h2 {
        font-size: 1.8em;
    }
/* body {
        font-size: 14px;
 }
    .desktop-hide{display:none!important;}*/

}

@media screen and (min-width: 1200px) {
    header h2 {
        font-size: 2em;
    }
 /*body {
        font-size: 14px;
 }
    .desktop-hide{display:none!important;}*/
}
@media screen and (min-width: 1300px) {
/* body {
        font-size: 14px;
 }
    .desktop-hide{display:none!important;}*/
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

section.search-engine.reloaded{
    margin:20px auto!important;
    height:78px!important;
    background-image:url('/img/bg-caption-green.jpg')!important;
}

a.search-button.reloaded{
    width:50%!important;
    height:60px!important;
}

section.daily-news.reloaded{
    margin:33px auto!important;
    height:68px!important;
    background-image:url('/img/bg-caption-fucsia.jpg')!important;
}

a.daily-button.reloaded{
    width:50%!important;
    height:60px!important;
}

section.search-engine.reloaded h3, section.daily-news.reloaded h3 {
    width: 50%!important;
    line-height: 50px!important;
    font-size: 1.8em!important;
}

@media screen and (max-width: 993px) {
    section.search-engine.reloaded h3, section.daily-news.reloaded h3 {
        font-size:1.8em!important;
    }
}

@media screen and (max-width: 901px) {
    section.search-engine.reloaded h3, section.daily-news.reloaded h3 {
        font-size:1.5em!important;
    }
}

@media screen and (max-width: 587px) {
    section.search-engine.reloaded h3, section.daily-news.reloaded h3 {
        line-height: 1!important;
    }
}
