body {
    min-width: 220px;
}

#header .header-holder .offcanvas-control {
    display: none;
}
#header .header-holder .offcanvas-controls {
    display: none;
}
.bee-offcanvas-bar {
    display: none;
}

.fancybox-wrap { 
    position : fixed !important;        /* overrides default fancybox style */ 
} 

.foto_mappa { max-width: 300px; }

@media (min-width: 1200px) {
  #main,.header-holder,#nav,#footer .footer-holder, #footer .under-footer p, #content, #pre-main, .inside-holder {
    width: 1138px; /* 1138px; */
   }
   #pre-main { width: 100%; }
   .htabs, .htabs-head {
        width: 450px;
   }
   .line, #content.proposte_sx { width:800px; }    
   .filter_aside { width: 323px; margin-left: 15px; }
   .line .img-holder { width: 340px; height: 340px; }
   .line .description { width: 517px; min-height: 339px; }   
   .two-columns #content { width: 874px; }   
   .slide-text_holder { padding-left: 0; }
   .htabs-holder { width: 1138px; /*margin-left: -569px;*/ margin-left: -551px; }
   .htabs { margin-right: 0; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /*.column-holder .column.alt { width:100%; margin-top:40px;  }
    #footer .info-block { width: 50%; } */
    .htabs .tabset li a { font-size: 12px; }
    #footer .column { width: 50%; margin:0; box-sizing: border-box; height: auto; min-height: 310px; }
    .column-holder .column.alt { width:33%; }
    .column-holder .column.third { padding-left: 24px; }
    
    .carousel .slide { margin-right: 20px; width: 306px; }
    .inside-holder { width: 100%; }
    
    .htabs-holder { position: static; width: 100%; margin-left: 0; }
    
    .social-controls { margin-right: 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    
    .inside-holder { width: 100%; }
    .filter-form input[type="text"],
    .filter-form select {
        width: 130px;
    }
    .filter-form input[type="text"].mini{width:60px}
    .block_class {
        width: 10% !important;
    }
    
    .box_ricerca .title_ricerca { width: 100%; }
    .vedi_su_mappa_widget { background-size: contain; background-repeat: no-repeat; width: 100%; background-position: 50% 0; }
    
    .filter_aside .htabs, .filter_aside .htabs-head, .caratteristiche_aside { width: 100%; padding-left: 10px; padding-right: 10px; }
    
    .box_ricerca .content_ricerca { padding-left: 18px; padding-right: 18px; }
    
    #content.scheda { width: 100%; }
    #content.scheda .room-detail_img { text-align: center; }
    .section_scheda { margin-top: 33px; }
    .section_scheda.map_section { margin-top: 33px; }
    
    .section_scheda:last-child { margin-top: 62px; }
    
    #sidebar {
        width: 100%;
        box-sizing: border-box;
    }
    .two-columns #content {
        width: 100%;
        box-sizing: border-box;
    }
    
}

@media (min-width: 1025px) and (max-width: 1199px) {
    
    #content.proposte_sx { width:70%; }
    
    #content.scheda { width: 100%; }
    #content.scheda .room-detail_img { text-align: center; }
    
    .filter_aside { width: 30%; margin-left: 0; }
    .caratteristiche_aside { width: 100%; }
    .proposte_sx.carousel .slide {
        margin-right: 35px;
        width: 48%;
        margin-right: 2%;
    }
    
    #nav > ul > li > a,
    #nav > ul > li:first-child > a,
    #nav > ul > li.last > a {
        padding: 22px 12px;
        font-size: 13px;
    }
    
    #nav li:first-child { padding-left: 12px; }
    
    #nav .lang-selector { width: 52px; margin-right: 12px; }
    
    #nav .lang-selector > ul > li:first-child > a { padding-right: 8px; }
    #nav .lang-selector > ul > li.last > a { padding-left: 8px; }
    
    .box_ricerca .title_ricerca { width: 100%; }
    .vedi_su_mappa_widget { background-size: contain; background-repeat: no-repeat; width: 100%; }
    
    .filter_aside .htabs, .filter_aside .htabs-head, .caratteristiche_aside { width: 100%; padding-left: 10px; padding-right: 10px; }
    
    .box_ricerca .content_ricerca { padding-left: 18px; padding-right: 18px; }
    
}

@media (min-width: 992px) and (max-width: 997px) {
    #nav > ul > li > a,
    #nav > ul > li:first-child > a,
    #nav > ul > li.last > a {
        padding: 22px 12px;
        font-size: 13px;
    }
    
    #nav li:first-child { padding-left: 12px; }
    
    #nav .lang-selector { width: 52px; margin-right: 8px; }
    
    #nav .lang-selector > ul > li:first-child > a { padding-right: 8px; }
    #nav .lang-selector > ul > li.last > a { padding-left: 8px; }
    
    .block_class {
        margin-left: 1.1%;
        width: 9% !important;
    }
}



@media (min-width: 998px) and (max-width: 1024px) {
    .block_class {
        width: 8% !important;
        margin-left: 2.2%;
    }
    
    #content.proposte_sx { width:70%; }
    .filter_aside { width: 30%; margin-left: 0; }
    .caratteristiche_aside { width: 100%; }
    .proposte_sx.carousel .slide {
        margin-right: 35px;
        width: 48%;
        margin-right: 2%;
    }
    
    #nav > ul > li > a,
    #nav > ul > li:first-child > a,
    #nav > ul > li.last > a {
        padding: 22px 8px;
        font-size: 13px;
    }
    
    #nav li:first-child { padding-left: 8px; }
    
    #nav .lang-selector { width: 52px; margin-right: 8px; }
    
    #nav .lang-selector > ul > li:first-child > a { padding-right: 8px; }
    #nav .lang-selector > ul > li.last > a { padding-left: 8px; }
    
}

@media (max-width: 768px){
    .filter-form .last{padding-top:10px;}
    .inside-holder { width: 100%; margin-top: 63px; }
    
    .richiedi-informazioni.lower { visibility: hidden; }
    
    .section_scheda { margin-top: 33px; }
    .section_scheda.map_section { margin-top: 33px; }
    
    .section_scheda:last-child { margin-top: 62px; margin-bottom: 32px; }
    
}

@media (max-width: 1024px){
    .filter-form ul li.last{float:left; padding-top: 3px;}
    
    .htabs-holder { position: static; width: 100%; margin-left: 0; }
    
    #footer .under-footer p { width: 100%; }
    
    
    
}

@media (min-width: 768px) and (max-width: 991px) {
    


    /* Document
    ------------------------------------------------------------ */

    * {
        box-sizing: border-box;
        /* max-width: 100%; */
    }
    
    #content, #content.proposte_sx, #main, #header, #header .header-holder, #wrapper , img, .product-paginator {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    
    .room-detail_thumbs.owl-carousel .owl-wrapper { max-width: none; }
    .slick-track { max-width: none; }

    #wrapper {
    }
    
    .top_back {
        right: 15px;
    }


    /* Header
    ------------------------------------------------------------ */

    #header {
        width: 100%;
        background-position: center right;
        padding: 15px;
    }
    #header .header-holder {
        padding: 0;
    }
    .logo {
        background: url(../images/logo.png) no-repeat;
        width: 300px;
        height: 80px;
        background-position: center;
        background-size: contain;
    }
    #nav {
        width: 100%;
    }
    #nav > ul {
        display: block;
        float: none;
        text-align: center;
        font-size: 0;
    }
    #nav > ul > li > a,
    #nav > ul > li:first-child > a,
    #nav > ul > li.last > a {
        padding: 22px 8px;
        font-size: 13px;
    }
    
    #nav li:first-child { padding-left: 8px; }
    
    #nav .lang-selector { width: 42px; margin-right: 16px; }
    
    #nav .lang-selector > ul > li:first-child > a { padding-right: 5px; }
    #nav .lang-selector > ul > li.last > a { padding-left: 5px; }
    
    .htabs { top: 16px; }
    .slide-text .slide-title { font-size: 32px;  }
    .slide-text .slide-subtitle { font-size: 23px;  }
    .slide-text .slide-calltoaction { font-size: 12px; }

    .slide-text_holder { width: 400px; height: 403px; }

    .header-holder { width: 100%; }


    /* Main
    ------------------------------------------------------------ */

    #main {
        width: 100%;
        padding: 0 15px;
    }


    /* Content
    ------------------------------------------------------------ */

    #content {
        width: 100%;
    }


    /* Sidebar
    ------------------------------------------------------------ */

    #sidebar .block ul {
        font-size: 10px;
    }


    /* Columns
    ------------------------------------------------------------ */

    .two-columns {
        padding: 0;
    }
    .two-columns .bg-columns{
        background: none;
    }

    .two-columns #content {
        position: relative;
        width: 75%;
        padding-left: 20px;
    }
    .two-columns #sidebar {
        position: relative;
        width: 25%;
    }
    .two-columns #content:before,
    .two-columns #sidebar:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
    }
    .two-columns #content:before {
        left: 0;
        border-left: 1px solid #DDD;
    }
    .two-columns #sidebar:after {
        right: -1px;
        border-right: 1px solid #DDD;
    }


    /* Footer
    ------------------------------------------------------------ */

    #footer .footer-holder {
        width: 100%;
        padding: 30px 0;
    }
    #footer .container {
        padding: 0;
    }
    #footer .column-holder {
        padding: 0;
        margin: 0;
    }
    /* 11111111111111111111111111111111111111111111111 */
    /*
    #footer .column-holder .column {
        width: 40%;
        height: auto;
        min-height: 165px;
        padding: 0 15px;
        margin: 0;
    }
    #footer .column-holder .column.third {
        width: 100%;
    }
    */
    
    #footer .column { width: 50%; margin:0; box-sizing: border-box; height: auto; min-height: 310px; }
    .column-holder .column.alt { width:33%; }
    .column-holder .column.third { padding-left: 24px; }

    /* Blocks
    ------------------------------------------------------------ */

    /* slideshow */
    .slide-block .slideshow .slide {
        height: 400px; /*350px;*/
    }

    /* map */
    .map-data {
        margin-bottom: 0;
    }
    .map-holder,
    .map-text {
        width: 50%;
    }
    .map-holder {
        margin: 0;
    }
    .map-text {
        padding-left: 15px;
    }

    /* item list */
    .item-list {
        padding: 0;
        width: auto;
        margin-right: -5px;
        margin-left: -5px;
    }
    .item-list li {
        display: block;
        float: left;
        width: 25%;
        padding: 0 5px;
        margin: 0 0 30px;
    }
    .item-list li:nth-of-type(4n + 1){
        clear: both;
    }
    .item-list .img-holder {
        width: 100%;
    }
    .item-list .img-holder img {
        width: 100%;
        height: auto;
    }

    .tab-form input[type="text"] {
        width: 220px;
        width: 100%;
    }

    .tab-form input[type="text"].priceFrom,
    .tab-form input[type="text"].priceTo{
        width:108px;
    }
    
    .block_class {
        width: 9%;
        border:2px solid;
        border-left:0; border-right: 0;
        margin-left: 0;
        padding: 0 10px 0 25px;
        font: 11px/28px 'Montserrat', helvetica, sans-serif;
    }
    .block_class.selected:after {
        border-width: 36px 0 0 36px;
        height: 1px;
        width: 1px;
        top: -6px;
        right: -21px;
    }
    .block_class.selected:before {
        border-width: 36px 0 0 36px;
        height: 1px;
        width: 1px;
        top: -4px;
        left: -21px;
        border-color: #FFF;
    }
    
    .block_class:before, .block_class:after {
        content:'';
        position: absolute;
        top: -4px;
        height: 34px;
        width: 34px;
        border: 4px solid #336601;
        -webkit-transform: scale(0.7,0.6) rotate(45deg);
        -moz-transform: scale(0.7,0.6) rotate(45deg);
        -ms-transform: scale(0.7,0.6) rotate(45deg);
        transform: scale(0.7,0.6) rotate(45deg);
    }
    .block_class:before {
        left: -17px;
        border-bottom: 0px solid transparent;
        border-left: 0px solid transparent;
    }
    .block_class:after {
        right: -20px;
        border-bottom: 0px solid transparent;
        border-left: 0px solid transparent;
    }

    #content.proposte_sx { width:100%; }
    .line { width: 100%; }
    .line:after { content: ''; display: block; clear: both; }
    .line .img-holder { width: 100%; height: auto; text-align: center; }
    .line .img-holder img { width: 30%; }
    .line .description { width: 100%; }
    
    .filter_aside { width: 100%; margin-top: 30px; }
    .filter_aside .htabs, .filter_aside .htabs-head, .caratteristiche_aside { width: 100%; }
    .filter_aside .tab-form ul li { width: 50%; }
    .filter_aside ul.seo li { height: 24px; }
    
    .carousel .slide { width: 47%; margin-right: 3% !important; }
    .carousel .triple-bottom li { font-size: 11px; }
    
    #content.scheda h3 { font-size: 1.5em !important; }
    #content.scheda h2 { font-size: 1.5em !important; }
    
    .carousel .triple-bottom li span { display: none; }
    
    .one_third { width: 100%; margin-bottom: 18px; }
    .richiedi-informazioni { width: 100%; }
}

@media (min-width: 768px) and (max-width: 815px) {
    #nav > ul > li > a,
    #nav > ul > li:first-child > a,
    #nav > ul > li.last > a {
        padding: 22px 5px;
        font-size: 13px;
    }
    
    #nav li:first-child { padding-left: 8px; }
    
    #nav .lang-selector { width: 48px; margin-right: 8px; }
    
    #nav .lang-selector > ul > li:first-child > a { padding-right: 4px; }
    #nav .lang-selector > ul > li.last > a { padding-left: 4px; }
    
    * {
        box-sizing: border-box;
        /* max-width: 100%; */
    }
    
    #content, #content.proposte_sx, #main, #header, #header .header-holder, #wrapper , img, .product-paginator {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .room-detail_thumbs.owl-carousel .owl-wrapper { max-width: none; }
    .slick-track { max-width: none; }
}


@media (max-width: 768px) {


    /* Document
    ------------------------------------------------------------ */
/*
    img,div,span {
        box-sizing: border-box;
        max-width: 100%;
    }*/
    
    #content, #content.proposte_sx, #main, #header, #header .header-holder, #wrapper , img, .product-paginator {
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .heading_new h1.inline { width: 100%; }
    
    .two-columns { margin-bottom: 0; }

    .room-detail_thumbs.owl-carousel .owl-wrapper { max-width: none; }
    
    
    
    .slick-track { max-width: none; }

    #wrapper {
        /*padding-top: 63px;*/
        padding-top: 0;
    }


    /* buttons */
    .back,
    .richiedi-informazioni,
    .button.grey,
    .tab-form .button{
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 0 30px;
    }
    /*
    .richiedi-informazioni.inhome { margin-bottom: 0; width:  100%; }*/
    .carousel .bottom-lista .button.blue { width: 100%; margin-bottom: 12px; }
    .scrolltop{
        display: none;
    }
    
    .social-controls { display: none; }
    
    .caratteristiche_aside { width: 100%; padding-left: 0; }


    /* Header
    ------------------------------------------------------------ */

    #header {
        position: absolute;
        width: 100%;
        padding: 0;
        margin: 0;
        z-index: 300;
        background: none;
    }
    #header .header-holder {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        padding: 10px 15px;
        border-bottom: 3px solid #333333;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fce273+0,f7951a+100 */
        background: none #FFFFFF;

        z-index: 9000;
        transition: box-shadow .3s ease;
    }
    #header .header-holder .logo {
        display: block;
        position: relative;
        float: none;
        width: auto;
        max-width: 100%;
        height: 40px;
        margin-right: 80px;
        text-indent: -9999px;
        background-position: left center;
        background-size: contain;
        background-repeat: no-repeat;
        overflow: hidden;
    }
    #header .header-holder .offcanvas-controls {
        display: block;
        position: absolute;
        top: 10px;
        right: 15px;
    }
    #header .header-holder .offcanvas-control{
        display: block;
        position: relative;
        float: left;
        width: 40px;
        height: 40px;
        padding: 0;
        margin: 0;
        color: #333333;
        font-size: 22px;
        line-height: 40px;
        text-align: center;
        vertical-align: middle;
        border: none;
        outline: none;
        background: none;
    }
    .nav-holder {
        display: none;
    }
    
    .top_back { display: none; }
    .back { padding-left: 15px; }


    /* Main
    ------------------------------------------------------------ */

    #main {
        width: 100%;
        padding: 0 15px 15px;
        margin: 80px 0 40px;
    }
    
    #main.main_index {
        margin: 40px 0;
    }

    /* breadcrumb */
    .breadcrumbs {
        /*display: none;*/
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
    }
    .totale-prodotti {
        float: none;
        padding: 0 0 15px;
        text-align: right;
    }
    
    .parallax_inside {
        max-width: 100%;
        left:0;
        margin-left: 0;
        margin-top: 80px;
    }


    /* Content
    ------------------------------------------------------------ */

    #content {
        width: auto;
        float: none;
    }
    .text-content {
        padding: 0;
        margin: 0;
    }
    .main-image {
        display: block;
        max-width: 100%;
    }


    /* Sidebar
    ------------------------------------------------------------ */

    #sidebar {
        width: auto;
        float: none;
        padding-top: 15px;
        margin-top: 30px;
        border-top: 1px dashed #CCC;
    }
    #sidebar .block {
        padding: 0;
        margin: 0;
    }
    
    .tab-form ul {
        margin-left: 0;
    }
    
    .bee-offcanvas .tab ul li label {
        float: left;
        width: 100%;
    }


    /* Columns
    ------------------------------------------------------------ */

    .two-columns {
        padding: 0;
    }
    .two-columns .bg-columns {
        background-image: none;
    }
    .two-columns #content {
        width: auto;
        float: none;
    }


    /* Footer
    ------------------------------------------------------------ */

    #footer .footer-holder {
        width: 100%;
        padding: 15px;
    }
    #footer .container {
        padding: 0;
    }
    #footer .column-holder {
        padding: 0;
        margin: 0;
    }
    /*
    #footer .column-holder .column {
        float: none;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        background: none;
    }
    #footer .column-holder .column:first-child {
        padding-bottom: 2px;
        margin-bottom: 15px;
        border-bottom: 1px dashed #EEE;
    }
    #footer .column-holder .column.third {
        display: none;
    }
    */
    
    #footer .column { width: 50%; margin:0; box-sizing: border-box; height: auto; min-height: 310px; }
    .column-holder .column.alt { width:33%; }
    .column-holder .column.third { padding-left: 24px; }
    
    .sponsor-area { width: 100%; }
    


    /* Blocks
    ------------------------------------------------------------ */

    /* slideshow */
    .slide-block .slideshow .slide {
        height: 400px;
    }

    /* map */
    .map-data {
        margin-bottom: 0;
    }
    .map-holder,
    .map-text {
        width: 100%;
        float: none;
        margin-bottom: 15px;
        height: 300px;
    }
    .map-text {
        margin-top: 15px;
    }
    
    /* filter form new */
    .filter_aside { display: none; }

    /* filter form */
    .filter-form {
        padding: 15px 0;
    }
    .filter-form ul li {
        float: none;
        width: 100%;
        padding: 0;
        margin: 0 0 5px;
    }
    .filter-form input[type="text"],
    .filter-form select,
    .filter-form input[type="text"].mini {
        width: 100%;
    }
    .filter-form ul li.last {
        float: none;
        padding: 0;
        margin: 15px 0 0;
    }

    .filter-form ul li.last .button  {
        width: 100%;
    }

    /* item list */
    .item-list {
        width: auto;
        margin: 0;
        padding: 0;
    }
    .item-list li {
        float: none;
        width: auto;
        padding: 15px 0 0 0;
        margin: 15px 0 0 0;
        border-top: 1px dashed #EEE;
        min-height: 1px;
    }
    .item-list li:hover {
        background: none;
        box-shadow: none
    }
    .item-list li:first-child {
        border-top: none;
    }
    .item-list li .img-holder {
        display: block;
        float: left;
        width: 100px;
        margin-right: 10px;
    }
    .item-list li .img-holder img {
        display: block;
        max-width: 100% !important;
        height: auto !important;
    }
    .item-list li .caption {
        padding: 0;
        overflow: hidden;
    }

    /* gallery */
    .gallery {
        width: auto;
        margin-right: -5px;
        margin-left: -5px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .gallery li {
        padding: 0;
        margin: 0;
        width: 33.333333%;
        padding: 0 5px;
        margin-bottom: 10px;
    }
    .gallery li img {
        display: block;
        width: 100%;
        height: auto;
    }

    .caratteristiche,
    .caratteristiche tbody,
    .caratteristiche tr,
    .caratteristiche td  {
        display: block;
        position: relative;
    }
    .caratteristiche {
        width: 100% !important;
    }
    .caratteristiche tr:before,
    .caratteristiche tr:after {
        content: '';
        display: table;
        width: 100%;
        height: 0;
        clear: both;
    }
    .caratteristiche td {
        display: block;
        float: left;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .caratteristiche td:nth-child(2n - 1){
        width: 40%;
        clear: both;
    }
    .caratteristiche td:nth-child(2n){
        width: 60%;
    }

    /* pagination */
    .pagination-scheda {
        margin: 15px 0 0;
        padding: 15px 0 0;
    }
    .pagination-scheda span {
        display: block;
        float: none;
        text-align: center;
        padding: 0;
        margin: 0 0 10px;
    }
    .pagination-scheda a {
        margin-bottom: 10px !important;
    }
    /*
    .pagination-scheda a:last-of-type {
        margin-bottom: 0 !important;
    }*/
    /*
    .pagination-scheda span {
        margin-top: 10px;
    }*/


    /* Misc
    ------------------------------------------------------------ */

    .box_15 {
        display: none;
    }
    a.attachment {
        display: block;
        float: none;
        margin: 15px 0;
        width: auto;
    }
    .social-share {
        display: block;
        float: none;
        margin: 15px 0;
        width: auto;
    }
    .slide-block .slideshow {
        margin-bottom: 15px;
    }
    .htabs {
        display: block;
        position: relative;
        top: initial;
        right: initial;
        width: 100%;
        margin: 0;
    }
    
    
    .slide-text .slide-title { font-size: 24px;  }
    .slide-text .slide-subtitle { font-size: 16px;  }
    .slide-text .slide-calltoaction { font-size: 11px; }

    .slide-text_holder { width: 90%; height: 100%; }
    
    .htabs-head { width: 100%; }
    .htabs .tabset {
        position: relative;
        top: initial;
        right: initial;
    }
    .htabs .tab-content {
        position: relative;
        top: initial;
        right: initial;
        margin-top: -1px;
    }
    .htabs .tab-content {
        padding: 15px 15px 10px;
    }
    .htabs .tab-content .tab {
        min-height: 1px;
        padding: 0;
    }
    .bee-offcanvas-content .htabs {
        padding: 0;
    }
    .tab-form ul li {
        padding: 0;
        margin: 0 0 5px;
        line-height: 30px;
    }
    .tab-form input[type="text"],
    .tab-form select {
        width: 100%;
    }
    .tab-form input[type="text"].priceFrom,.tab-form input[type="text"].priceTo{width: 49%;}
    .tab-form .button {
        margin: 0;
    }
    .tab-form .ui-multiselect,.filter-form .ui-multiselect {
        width: 100%!important;
    }
    .bee-offcanvas-container .ui-multiselect-menu {width: 190px!important;}
    
    .one_fourth, .two_fourth, .one_third { width: 100%; }
    .richiedi-informazioni { margin-bottom: 12px; }
    .two_fourth { padding: 10px 0 !important; }
    
    .block_class {
        width: 10%;
        border:3px solid;
        /*border-left:0;*/ border-right: 0;
        margin-left: 0;
        padding: 0 8px 0 25px;
        font: 11px/30px 'Montserrat', helvetica, sans-serif;
        padding: 0 8px;
    }
    .block_class.selected:after {
        border-width: 36px 0 0 36px;
        height: 1px;
        width: 1px;
        top: -6px;
        right: -21px;
        top: 2px;
        right: -21px;
        border-top-width: 32px;
        border-bottom-width: 0;
        border-left-width: 32px;
        border-right-width: 0;
        border:0;
        
    }
    .block_class.selected:before {
        border-width: 36px 0 0 36px;
        height: 1px;
        width: 1px;
        top: 0px;
        left: -21px;
        border-color: #FFF;
    }
    
    .block_class:before, .block_class:after {
        content:'';
        position: absolute;
        top: 0px;
        height: 34px;
        width: 34px;
        border: 1px solid #336601;
        -webkit-transform: scale(0.7,0.6) rotate(45deg);
        -moz-transform: scale(0.7,0.6) rotate(45deg);
        -ms-transform: scale(0.7,0.6) rotate(45deg);
        transform: scale(0.7,0.6) rotate(45deg);
        -webkit-transform: scale(0.7,0.6) rotate(90deg);
        -moz-transform: scale(0.7,0.6) rotate(90deg);
        -ms-transform: scale(0.7,0.6) rotate(90deg);
        transform: scale(0.7,0.6) rotate(90deg);
        border: 0;
    }
    .block_class:before {
        left: -17px;
        border-bottom: 0px solid transparent;
        border-left: 0px solid transparent;
    }
    .block_class:after {
        right: -20px;
        border-bottom: 0px solid transparent;
        border-left: 0px solid transparent;
    }
    .block_class:last-child { border-right: 1px solid #FE0000; }
    
    #content.proposte_sx { width:100%; }
    
    .carousel .slide { width: 48%; margin-right: 2% !important; }
    .carousel .slide:nth-child(even) { margin-right: 0 !important; }
    .carousel .slide.pari { margin-right: 0 !important; margin-left: 2%; }
    .carousel .slide.last {  margin-right: 3%; }
    .carousel .triple-bottom li span { display: none; }
    
    .tab-form ul li { padding: 0 2%; }
    
    #content.scheda h3 { font-size: 1.3em !important; }
    #content.scheda h2 { font-size: 1.3em !important; }
    .heading h1 {  }
    .heading h1 {  font-size: 2.8em; line-height: 1.2em;  }
    .heading_new h2 { width: 100%; }
    /* breadcrumb */
    .heading_new .breadcrumbs {
        /*display: none;*/
        float: left; 
        margin-left: 0;
        padding-left: 0;
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        max-width: 100%;
    }
    .heading { margin-bottom: 12px; padding-bottom: 0; margin-bottom: 6px; }
    .midtitle { font-size: 1.8em; } 
    table.caratteristiche td { font-size: 1em; }    
    .htabs-holder { display: none; }    
    .slide-block { margin-bottom: 19px; }    
    .fotorama__arr { font-size: 18px !important; line-height: 32px !important; width: 32px !important; height: 32px !important; }
    .fotorama__fullscreen-icon { font-size: 32px !important; line-height: 48px !important; width: 48px !important; height: 48px !important; }
}

@media (max-width: 715px) {
    .line { width: 100%; }
    .line:after { content: ''; display: block; clear: both; }
    .line .img-holder { width: 100%; height: auto; text-align: center; }
    .line .img-holder img { width: 30%; }
    .line .description { width: 100%; }    
    .fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows .fotorama__fullscreen-icon:not(:focus) {
        transform: translate3d(0,0,0) !important;
        -webkit-transform: translate3d(0,0,0) !important;
    }
    .fotorama__wrap--css3.fotorama__wrap--no-controls.fotorama__wrap--slide.fotorama__wrap--toggle-arrows .fotorama__fullscreen-icon:focus {
        transform: translate3d(0,0,0) !important; 
        -webkit-transform: translate3d(0,0,0) !important;   
    }    
    .fotorama__wrap--css3 .fotorama__fullscreen-icon {
        transform: translate3d(0,0,0) !important; 
        -webkit-transform: translate3d(0,0,0) !important;
    }    
    .fotorama__wrap--no-controls.fotorama__wrap--toggle-arrows .fotorama__fullscreen-icon { opacity: 1; }    
    
    #footer .under-footer p {
        font-size: 16px;
        line-height: 20px;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 540px) {
    .vedi_su_mappa_widget{display: none;}
    .line .img-holder img { width: 100%; }    
    .carousel .slide { width: 100%; margin-right: 0 !important; }
    .carousel .slide.pari { width: 100%; margin-right: 0 !important; margin-left: 0 !important; }
    .carousel .slide.last { width: 100%; margin-right: 0 !important; margin-left: 0 !important; }
    .carousel .triple-bottom li span { display: inline-block; }
    .tab-form ul li { width: 100%; }    
    #footer .column-holder .column {
        float: none;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;
        background: none;
        padding-bottom: 2px;
        margin-bottom: 48px;
        border-bottom: 1px dashed #333;
    }    
    .carousel h2 { font-size: 28px; } 
    
    .htabs .tabset li a {
        font-size: 11px;
    }
    
    #footer p.marker a {
        font-size: 16px;
    }
    
    #footer .column-holder h4 {
        font-size: 16px;
    }
    
    #footer .column a {
        font-size: 16px;
    }
    
    #footer .under-footer p {
        font-size: 16px;
        line-height: 20px;
        box-sizing: border-box;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .foto_mappa { max-width: 100% !important; }
    #multimap .gm-style-iw{max-width: 200px;}
    #multimap .main_info .caption {
        padding: 8px !important;
        margin-bottom: 0;
        max-width: 200px;
    }
    #multimap .main_info .caption .name{white-space: unset}
    #multimap .button {
        padding: 4px 8px 2px 8px;
        font-size: 16px;
        line-height: 16px;
    }
    
}


@media (max-width: 480px) {
    /* Blocks
    ------------------------------------------------------------ */
    /* slideshow */
    .slide-block .slideshow .slide {
        height: 300px;
    }    
    .slide-text .slide-subtitle { line-height: 30px; }
    .slide-text .slide-title { line-height: 32px; }
    .slide-text .slide-calltoaction { margin-top: 12px; line-height: 32px; padding: 10px 12px; }    
    .line .img-holder img { width: 100%; }
}

@media (max-width: 320px) {
    .slide-text .slide-calltoaction {
        line-height: 24px;
        padding: 5px 10px;
    }
    .carousel .heading-row {
        margin: 0 0 23px;
    }
    #main.main_index {
        margin: 20px 0;
    }
    .parallax_inside {
        padding: 0 8px;
    }
    .parallax a {
        padding: 0 8px 0 12px;
    }
}