﻿
/* ---------------------------------------BOX SETTING----------------------------------------------------- */

/*.box-background {
    padding: 20px 1% 20px;
    clear: both;
}

    .box-background h2 {
        color: #473a2f;
        font-size: 2.5em;
        font-weight: normal;
        margin: 20px 0;
    }

    .box-background .title-news {
        color: #473a2f;
        font-size: 22px;
        font-weight: normal;
        margin: 10px 0;
    }

    .box-background .subtitle-news {
        font-size: 14px;
        font-weight: normal;
        padding: 10px 0px;
    }

    .box-background h2 span {
        color: #bc392b;
    }



    .box-background h3 {
        color: #473a2f;
        font-size: 23px;
        font-style: italic;
        font-weight: normal;
        margin: 20px 0;
    }

    .box-background .line {
        height: 1px;
        background: #473A2F;
        margin: 0px auto;
        clear: both;
    }

    .box-background .line-100 {
        width: 100%;
    }

    .box-background img {
        width: 100%;
    }

    .box-background .img-news {
        width: 280px;
        height: 125px;
        margin: 15px 0px 0 0px;
    }

    .box-background p {
        font-size: 15px;
        font-weight: normal;
        padding: 15px 0px;
    }

    .box-background .text-padding {
        font-size: 15px;
        font-weight: normal;
        padding: 0px 0px 15px;
    }

    .box-background .read-more {
        padding-right: 0px;
        float: right;
        margin: 10px 0;
    }

        .box-background .read-more a {
            color: #473a2f;
            font-size: 35px;
        }

            .box-background .read-more a i {
                padding: 8px 14px;
            }

    .box-background .price {
        font-size: 25px;
        font-weight: normal;
        float: right;
        margin: 20px 0;
    }

    .box-background .small-price {
        width: 70px;
        text-align: right;
        float: right;
    }

    .box-background .large-price {
        width: 65px;
        text-align: right;
        float: right;
    }

    .box-background #mappa {
        width: 100%;
        height: 435px;
    }

    .box-background table {
        font-size: 1.2em;
        font-weight: normal;
        margin-top: 10px;
        width: 100%;
    }

        .box-background table tr td {
            line-height: 30px;
            text-align: left;
        }

            .box-background table tr td span {
                font-size: 19px;
                font-weight: normal;
            }

.td-padding {
    line-height: 22px;
    padding: 8px 8px 8px 0;
}*/
/* ---------------------------------------BOX SETTING----------------------------------------------------- */

/*.box-container {
    margin: 0 auto;
    text-align: center;
}

.box-container-padding {
    padding: 0 10%;
}

.box-column {
    display: inline-table;
    vertical-align: top;
}

.box-column-dati {
    display: block;
    float: right;
}

.box-white {
    background: rgba(255, 255, 255, 1) !important;
}

.box-height {
    height: 373px;
}

.box-transparent {
    background-color: rgba(255, 253, 232, 0.65);
}

.box-menu {
    margin: 30px 0;
    background-color: rgba(255, 253, 232, 0.65);
}

.box-round {
    border-radius: 30px;
    background-color: rgba(255, 253, 232, 0.65);
}

.box-10 {
    width: 10%;
    text-align: right !important;
}

.box-15 {
    width: 14.5%;
    text-align: right !important;
}

.box-20 {
    width: 19.5%;
}

.box-25 {
    width: 25%;
}

.box-30 {
    width: 29%;
}

.box-35 {
    width: 35%;
}

.box-40 {
    width: 39.5%;
}

.box-50 {
    width: 49.5%;
}

.box-55 {
    width: 52.5%;
}

.box-60 {
    width: 59.5%;
}

.box-65 {
    width: 64.5%;
}

.box-70 {
    width: 69.5%;
}

.box-80 {
    width: 80.5%;
}

.box-85 {
    width: 85.5%;
}

.box-100 {
    width: 100%;
    clear: both;
}

.box-map {
    width: 80%;
}

.box-img-news {
    width: auto;
}

.box-text-news {
    width: 60%;
    padding: 0 0 0 20px;
}

.box-hover:hover {
    opacity: 0.5;
}

.box-left {
    text-align: left;
}

.box-center {
    text-align: center;
}

.box-right {
    text-align: right;
}

.box-padding {
    padding: 5px 5px;
}

.box-padding-right {
    padding-right: 15px !important;
}

.box-padding-90 {
    padding: 5px 31px;
}

.box-padding-gallery {
    padding: 20px 0 !important;
}

.box-margin {
    margin: 20px 3px 20px 3px;
}

.box-margin-top {
    margin-top: 70px;
}

.box-margin-bottom {
    margin-bottom: 40px;
}

.box-border {
    border: 1px solid #e0e0e0;
}

.box-align {
    display: inline-block;
    vertical-align: 13px;
}

.box-align-top {
    display: inline-block;
    vertical-align: top;
}

.box-border-bottom {
    border-bottom: 2px solid #1E5188;
    width: 100%;
}

.box-border-bottom-middle {
    border-bottom: 2px solid #1E5188;
    width: 25%;
}

.box-float {
    float: right;
}

.box-float-left {
    float: left;
}

.box-float-right {
    float: right;
}

.box-title {
    font-size: 22px !important;
}

.box-img {
    width: 122px !important;
    height: 215px !important;
    margin: 20px 0px !important;
}

.box-img-middle,
.reclection {
    width: 105px !important;
    height: 185px !important;
    margin: 32px 0px !important;
}


*/


/*----------END BOX SETTING-------------------------------------------------------------------------------------*/


/*.content-box.content-style4 h4 i {
    background-color: #b7e2b1;
}

.content-box.content-style4 .btn {
    background-color: #b7e2b1;
}

.content-box.content-style4 .content-box-text {
    text-align: center;
    width: 100%;
}

.content-style3 {
    padding-left: 0px;
    padding-right: 0px;
}

.content-style3-backcolor {
    background-color: #52321d;
    color: white;
    padding: 15px;
}

.content-style3-text {
    text-align: justify;
}

.content-style3 .content-style3-text {
    text-align: justify;
}

.content-style3 .content-style3-icon {
    position: absolute;
    left: -34px;
    top: 30px;
    background-color: #fff;
    width: 60px;
    height: 60px;
    font-size: 32px;
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    -webkit-box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.28);
    -moz-box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.28);
    box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.28);
    color: #606060;
    -webkit-transition: background 0.8s, color 0.2s;
    -moz-transition: background 0.8s, color 0.2s;
    -o-transition: background 0.8s, color 0.2s;
    transition: background 0.8s, color 0.2s;
}*/
/*------------FORM personalization*/

/*.classic-form {
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0);
}

.content-box.style5 h4 {
    margin: 0;
    line-height: 60px;
}

    .content-box.style5 h4 i {
        border: 1px solid;
        border-color: #606060;
        color: #606060;
        float: left;
        margin: 2px 10px 0 0;
        border-radius: 50%;
        text-align: center;
        display: block;
        font-size: 22px;
        width: 100px;
        height: 100px;
        line-height: 120px;
    }

.content-box.style5:hover i {
    background-color: #fafafa;
    color: #f0f0f0;
    cursor: pointer;
}

.content-box.style5 .content-box-text {
    margin-left: 80px;
    margin-top: 5px;
}

    .content-box.style5 .content-box-text .read-more {
        text-align: left;
    }

        .content-box.style5 .content-box-text .read-more i {
            float: none;
        }

.content-box.style5.small .content-box-text {
    margin-left: 60px;
    font-size: 13px;
}

.content-box.style5.small h4 > i {
    font-size: 16px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background-position: center center;
}*/



/*LATERAL BAR CONTROL*/

/*.lateralbar {
    border-left: 4px solid #bbb;
    margin-left: 20px;
    padding-left: 15px;
    margin-top: 10px;
}

.lateral-bar-bckblue {
    background-color: #33332e;
}

.lateral-bar {
    background-color: #f1f5f6;
    width: 100px;
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    z-index: 11000;
    border: 1px solid #ccc;
    text-align: center;
    line-height: normal;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
    cursor: pointer;
    box-shadow: 10px 0px 30px rgba(0, 0, 0, 0.15);
}

.lateral-bar-blacklink a {
    color: #000 !important;
}

    .lateral-bar-blacklink a:hover {
        color: #000;
    }

    .lateral-bar-blacklink a:active {
        color: #000;
    }

    .lateral-bar-blacklink a:visited {
        color: #000;
    }

.lateral-bar-whitelink a {
    color: #fff !important;
}

    .lateral-bar-whitelink a:hover {
        color: #fff;
    }

    .lateral-bar-whitelink a:active {
        color: #fff;
    }

    .lateral-bar-whitelink a:visited {
        color: #fff;
    }*/

/*LATERAL BAR CONTROL*/


/*   ---------------------------------------BOX---------------------------------------------------------- */


/*CSS per video responsive*/

.responsive-video {
    position: relative;
    padding-bottom: 56%;
    width: 100%;
    height: 0px;
    padding-top: 0px;
    overflow: hidden;
}

    .responsive-video iframe,
    .responsive-video object,
    .responsive-video embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
/*CSS per video responsive*/

/****************************
Modify  class per datepicker
****************************/

.ui-state-halfcolorbckend {
    background: linear-gradient(90deg, rgba(251, 132, 153, 1) 50%, white 50%) !important;
    /*background: linear-gradient(to left,  #fff  50%,  rgba(251, 132, 153, 1) 50%);*/
    border: none;
    /*height: 100%;
  width: 100%*/
}

    .ui-state-halfcolorbckend > .ui-state-default {
        background-image: none;
        background-color: transparent;
    }

.ui-state-halfcolorbckstart {
    background: linear-gradient(90deg, white 50%, rgba(251, 132, 153, 1) 50%) !important;
    /*background: linear-gradient(to left,  rgba(251, 132, 153, 1)  50%,  #fff 50%);*/
    border: none;
    /*height: 100%;
  width: 100%*/
}

    .ui-state-halfcolorbckstart > .ui-state-default {
        background-image: none;
        background-color: transparent;
    }

.ui-state-pressed {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border-color: #999;
    background-image: none;
    background: #d1d1d1 !important;
}

.ui-state-reserved {
    opacity: 0.9 !important;
    background-color: rgba(251, 132, 153, 0.8) !important;
}

.ui-state-disabled > .ui-state-default {
    background: none !important;
}

.date-range-selected > .ui-state-active,
.date-range-selected > .ui-state-default {
    background-image: none;
    background-color: lightsteelblue;
}

/* ---------------------------------    */



/****************************
Modify  class per jqxcalendar
****************************/
.jqx-fill-halfcolorbckend {
    background: linear-gradient(90deg, rgba(251, 132, 153, 1) 50%, white 50%) !important;
    /*background: linear-gradient(to left,  #fff  50%,  rgba(251, 132, 153, 1) 50%);*/
    border: none;
    /*height: 100%;
  width: 100%*/
}

.jqx-fill-halfcolorbckstart {
    background: linear-gradient(90deg, white 50%, rgba(251, 132, 153, 1) 50%) !important;
    /*background: linear-gradient(to left,  rgba(251, 132, 153, 1)  50%,  #fff 50%);*/
    border: none;
    /*height: 100%;
  width: 100%*/
}

.jqx-fill-state-pressed {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    border-color: #999;
    background-image: none;
    background: #d1d1d1 !important;
}

.jqx-calendar-cell-restrictedDate {
    background-color: rgba(251, 132, 153, 1) !important;
    border: 1px solid #fff;
    margin: 0 0 0 0;
    cursor: pointer;
}
/* ---------------------------------    */



.testimonial .testimonial-text-title {
    background-color: #f5f5f5;
    padding: 10px 15px 15px 75px;
    margin: 1px 0 0 1px;
    position: relative;
    font-size: 1em;
    font-weight: normal;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.testimonial .testimonial-person-pic {
    bottom: 40px;
}

.testimonial-big {
    margin-top: 1%;
    text-align: center;
    background: transparent;
}

    .testimonial-big .testimonial-big-text {
        background-color: rgba(242, 239, 237, 0.6);
        line-height: normal !important;
        font-size: 2rem;
        font-size: 1.2vw;
        font-weight: normal;
        margin-top: 0px;
        height: auto;
        color: #333;
        line-height: 20px;
        padding: 20px 20px;
        margin: 0 auto;
        float: none;
        word-wrap: break-word;
    }

    .testimonial-big a {
        line-height: normal !important;
        font-size: 1.2rem;
        font-size: 1.6vw;
        font-weight: normal;
    }

    .testimonial-big .testimonial-big-text:after {
        /*position: absolute;
            left: 20px;
            top: 20px;
            content: "\201C";
            font-size: 60px;
            color: rgba(255, 255, 255, 0.7);*/
        content: "";
    }

    .testimonial-big .testimonial-big-text:before {
        /*position: absolute;
            right: 20px;
            bottom: 20px;
            content: "\201D";
            font-size: 60px;
            color: rgba(255, 255, 255, 0.7);*/
        content: "";
    }

    .testimonial-big .testimonial-small-text {
        float: left;
        color: #fff;
        line-height: normal !important;
        font-size: 1.4rem;
        font-size: 3vw;
        font-weight: normal;
        position: relative;
        text-align: center;
    }

.section-content {
    border-top: none;
    border-bottom: 1px solid #e9e9e9;
    padding: 0 0 0 0;
    background-attachment: local;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

    .section-content.section-px {
        background-attachment: local;
        background-repeat: no-repeat;
        border: none;
    }

        .section-content.section-px.sfondo1-bg {
            background-image: url(../images/sitespecific/sfondo-1.jpg);
        }

        .section-content.section-px.sfondo2-bg {
            background-image: url(../images/sitespecific/sfondo-2.jpg);
        }

        .section-content.section-px.sfondo3-bg {
            background-image: url(../images/sitespecific/sfondo-3.jpg);
        }

.upshadow {
    -moz-box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.6);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.6);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.bottomshadow {
    -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}



.rowcolor {
    background-color: #1f809f;
}

.doubleborder {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}

.top-bar {
    /*height: auto !important;*/
    line-height: 30px;
    height: 30px !important;
    background-color: transparent;
    /*#33332e;*/
    color: #fff;
    border-bottom: 1px solid #fff;
}

    .top-bar .languages {
        overflow: hidden;
        float: right;
        width: auto;
    }

.call-us span,
.top-bar-block span {
    font-size: 13px;
}

.header .logo {
    margin: 15px 0 0 0;
}

.rightside .rightside-promo {
    color: #809193;
    position: relative;
    display: block;
    vertical-align: middle;
    margin-top: 20px;
    line-height: normal;
    font-weight: normal;
    height: 100%;
    font-size: 1.1rem;
}

    .rightside .rightside-promo .fa {
        font-size: 1.7rem; /* position: absolute; */ /* margin-top: -6px; */ /* margin-left: -59px */
        float: left;
        margin-right: 10px;
    }

.rightside .menu-icon a {
    display: inline-block;
    height: 46px;
    line-height: 46px;
    text-align: center;
    width: 46px;
}

.displaytable {
    display: table;
    height: 100%
}

.displaytablecell {
    display: table-cell;
    vertical-align: bottom;
}

.simplemenu > ul {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin: 0;
    margin: 0;
    background-color: transparent;
    float: right;
}

    .simplemenu > ul > li {
        padding: 4px 10px 4px 10px;
        float: left;
    }

        .simplemenu > ul > li > a {
            color: #fff;
            text-transform: uppercase;
        }

        .simplemenu > ul > li > ul > li > a {
            color: #000;
            text-transform: uppercase;
        }

.social-icons-small > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    margin: 0;
    background-color: transparent;
    float: right;
}

.social-icons-small {
    overflow: hidden;
    float: right;
    width: auto;
}

    .social-icons-small .social-media-icon-small {
        background-color: transparent;
        height: 30px;
        border: none;
        margin: 0;
        background-position: 0 -33px;
    }

        .social-icons-small .social-media-icon-small:hover {
            border: none;
            background-position: 0 -3px;
        }

.social-media-icon-small {
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-color: #fafafa;
    /*border: 1px solid #f3f3f3;*/
    border: none;
    display: inline-block;
    margin: 0 5px 5px 0;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    float: left;
    background-repeat: no-repeat;
    background-position: 0 -30px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

    .social-media-icon-small:hover {
        background-position: 0 0;
    }

.social-icons-small .twitter-icon-small {
    /*background-image: url("../images/social-media/social-media-twitter-small.png");*/
    background-image: url("../images/social-media/social-media-twitter-small-white.png");
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*border: 1px solid #e8e8e8;*/
    border: none;
}

    .social-icons-small .twitter-icon-small:hover {
        background-color: #00a0d1;
        border: 1px solid #00799e;
    }

.social-icons-small .facebook-icon-small {
    /*background-image: url("../images/social-media/social-media-facebook-small.png");*/
    background-image: url("../images/social-media/social-media-facebook-small-white.png");
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*border: 1px solid #e8e8e8;*/
    border: none;
}

    .social-icons-small .facebook-icon-small:hover {
        background-color: #3b5998;
        border: 1px solid #2d4373;
    }

.social-icons-small .googleplus-icon-small {
    /*background-image: url("../images/social-media/social-media-googlePlus-small.png");*/
    background-image: url("../images/social-media/social-media-googlePlus-small-white.png");
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*border: 1px solid #e8e8e8;*/
    border: none;
}

    .social-icons-small .googleplus-icon-small:hover {
        background-color: #d94a39;
        border: 1px solid #bb3424;
    }

.social-icons-small .instagram-icon-small {
    /*background-image: url("../images/social-media/social-media-facebook-small.png");*/
    background-image: url("../images/social-media/social-media-instagram-small-white.png");
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*border: 1px solid #e8e8e8;*/
    border: none;
}

    .social-icons-small .instagram-icon-small:hover {
        background-color: #ae26c8;
        border: 1px solid #ae26c8;
    }

.social-icons-small .youtube-icon-small {
    /*background-image: url("../images/social-media/social-media-facebook-small.png");*/
    background-image: url("../images/social-media/social-media-youtube-small-white.png");
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    /*border: 1px solid #e8e8e8;*/
    border: none;
}

    .social-icons-small .youtube-icon-small:hover {
        background-color: #f01616;
        border: 1px solid #f01616;
    }

.bckdarkblue {
    background-color: #b7e2b1;
}

    .bckdarkblue .section-etabs {
        background-color: #b7e2b1;
    }

        .bckdarkblue .section-etabs .tab a {
            color: #ffffff;
        }

.bckblue {
    background-color: #c2daf2;
}

.bckviolet {
    background-color: #D7DFF5;
}

.bckdarkviolet {
    background-color: #4a4b4c;
}

    .bckdarkviolet .section-etabs {
        background-color: #4a4b4c;
    }

        .bckdarkviolet .section-etabs .tab a {
            color: #ffffff;
        }

.bckdargreeen {
    background-color: #91e0c4;
}
/*.section-etabs-container {
    background-color: #b7e2b1;
}

.section-tabs   {
    background-color: #c2daf2;
}

.section-tabs .section-etabs {
    background-color: #b7e2b1;
}

.section-tabs .section-etabs  .tab a {
    color: #ffffff;
}*/

.item-img-overlay .portfolio-zoom:hover,
.tab a.active {
    color: #000000 !important;
    font-weight: bold;
}

.feature .feature-details {
    border-top: 1px solid #ccc;
    /*border:none;*/
    background-color: transparent;
    color: #606060;
}

    .feature .feature-details a {
        color: #606060;
    }

.divequalspaced {
    text-align: justify;
    vertical-align: middle;
    float: none;
    padding-left: 1%;
    padding-right: 1%;
}

    .divequalspaced > div {
        text-align: justify;
        vertical-align: middle;
        display: inline-block;
        float: none;
        margin: 0px;
    }

    .divequalspaced:after {
        vertical-align: middle;
        content: '';
        width: 100%;
        /* Ensures there are at least 2 lines of text, so justification works */
        display: inline-block;
    }

.bckLight {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f3f3f3;
    /*border-radius: 6px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow .3s;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-filter: drop-shadow(0 2px 5px .2px);
    -moz-filter: drop-shadow(0 2px 5px .2px);*/
}
/* -------------------     menu tipo equistpaziato  ------------------------------------------  */


/* -------------------------------------------------------------------
Portfolio
------------------------------------------------------------------- */

.avatar {
    overflow: hidden;
    background-color: #F0F7F7;
    border-radius: 50%;
    margin: -45px 10px 0px 0px;
}

.avatar-large {
    width: 80px;
    height: 80px;
}

.avatar .avatar-inner {
    position: relative;
    top: 50%;
    -webkit-transform: translate(0px, -50%);
    transform: translate(0px, -50%);
}

    .avatar .avatar-inner img {
        border-radius: 50%;
        display: block;
        margin: 0px auto;
        width: 80px;
        height: auto
    }

.autore {
    position: absolute;
    left: 0px;
    top: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    padding: 0px;
    background: url(/images/sitespecific/1-dbagnai@gmail.com.png) center center;
    background-size: 95% 95%;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.title-style1 {
    /*float: left;*/
    text-align: left;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 10px 5px 15px 0px;
    padding-bottom: 10px;
    border-bottom: 3px solid #444;
}

.sfondo-contenitore {
    position: relative;
    display: block;
    background-color: #fff;
    padding: 8px;
    margin: 0px auto 15px auto;
    border: none;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
    -moz-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
    box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-transition: box-shadow .3s;
}

.filter {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0 0 70px;
}

    .filter > li {
        display: inline-block;
        padding: 0 0 10px;
        margin: 0 25px;
    }


/* Portfolio grid */

.works-grid {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

    .works-grid.works-grid-gut .work-item {
        margin: 0px;
        /*min-height: 200px;*/
    }

.work-div {
    background-color: #fff;
    position: relative;
    margin: 0px 0px 15px 15px;
    /*Questo setta lo spazio tra gli items*/
    padding: 0px 0px 30px 0px;
    /*background-color: rgba(200,200,200,0.05);*/
    border: none;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.3);
    -moz-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.3);
    box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.3);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-transition: box-shadow .3s;
}

    .work-div:hover {
        position: relative;
        margin: 0px 0px 15px 15px;
        /*Questo setta lo spazio tra gli items*/
        padding: 0px 0px 30px 0px;
        -webkit-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
        -moz-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
        box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.6);
        -webkit-transition: box-shadow .3s;
        -moz-filter: drop-shadow(0 2px 5px .2px);
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
    }

.work-div-noborder-small {
    position: relative;
    margin: 5px;
    /*Questo setta lo spazio tra gli items*/
    padding: 0px;
    /*background-color: #fff;*/
    overflow: hidden;
}

    .work-div-noborder-small:hover {
        margin: 5px;
        /*Questo setta lo spazio tra gli items*/
        padding: 0px;
        position: relative;
    }

.work-div-noborder {
    position: relative;
    margin: 10px;
    padding: 0px;
    /*background-color: #fff;*/
    overflow: hidden;
}

    .work-div-noborder:hover {
        position: relative;
    }

.work-content-bordered {
    border: 5px solid #ccc;
    position: relative;
    /*width: 100%;
    height: 100%;*/
    margin: 10px;
    overflow: hidden;
}

.works-grid-1 .work-item {
    width: 99.999%;
}

.works-grid-2 .work-item {
    width: 49.999%;
}

.works-grid-3 .work-item {
    width: 33.333%;
}

.container .works-grid-3 .work-item {
    width: 33.333%;
}

.works-grid-4 .work-item {
    width: 24.999%;
}

.works-grid-5 .work-item {
    width: 19.99%;
}

.works-grid-6 .work-item {
    width: 16.666666%;
}

@media(min-width: 768px) and (max-width: 1200px) {
    .works-grid-4 .work-item {
        width: 33.333%;
    }
}

@media (min-width: 850px) and (max-width: 768px) {
    .works-grid-6 .work-item {
        width: 33.333%;
    }
}

@media (min-width: 580px) and (max-width: 768px) {
    .works-grid-2 .work-item {
        width: 49.999%;
    }

    .works-grid-3 .work-item {
        width: 49.999%;
    }

    .container .works-grid-3 .work-item {
        width: 49.999%;
    }

    .works-grid-4 .work-item {
        width: 49.999%;
    }

    .works-grid-5 .work-item {
        width: 49.999%;
    }

    .works-grid-6 .work-item {
        width: 33.333%;
    }
}

@media (max-width: 579px) {
    .works-grid-2 .work-item {
        width: 99.999%;
    }

    .works-grid-3 .work-item {
        width: 99.999%;
    }

    .container .works-grid-3 .work-item {
        width: 99.999%;
    }

    .works-grid-4 .work-item {
        width: 99.999%;
    }

    .works-grid-5 .work-item {
        width: 99.999%;
    }

    .works-grid-6 .work-item {
        width: 99.999%;
    }
}

.work-item > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.work-image {
    /*height: 280px;*/
}

@media (min-width: 960px) and (max-width: 1000px) {
    .work-image, .work-image-no-button {
        height: 200px;
    }
}

.work-image, .work-image-no-button {
    position: relative;
    overflow: hidden;
    /*min-height: 200px;*/
    /*max-height: 200px;*/
    width: 100%;
    text-align: center;
}

    .work-image:after, .work-image-no-button:after {
        position: absolute;
        display: block;
        content: "";
        height: 100%;
        width: 100%;
        top: 0;
    }

    .work-image img, .work-image-no-button img {
        /*height: auto;*/
        display: block;
        height: auto;
        width: 100%;
        margin: auto;
    }

    .work-image.rounded {
        width: 95%;
        border-radius: 50%;
        margin: 5%;
    }

    .work-image img.verticalcenter {
        height: auto;
        top: 50%;
        position: relative;
        /*transform: translate(0,-50%);*/
    }

    .work-image img.adapttocontainer2 {
        /* Maintain aspect ratio */
        max-height: 100%;
        max-width: 100%;
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        margin: auto;
    }

    .work-image img.adapttocontainer {
        /* CSS Hack will make it width 100% and height 100% */
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        /* Maintain aspect ratio */
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        margin: auto;
    }

.work-subcaption {
    width: 100%;
    height: 120px;
    padding: 5px 5px;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.work-footer {
    font-size: 0.8rem;
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .work-footer span {
    }

.work-caption-1 {
    background-color: rgba(74, 137, 220, 0.8);
    padding: 6px;
    position: absolute;
    bottom: 0%;
    right: 0%;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
}

.work-caption {
    width: 100%;
    padding: 0px 10px;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    text-align: center;
    overflow: hidden;
}

.work-caption-over-1 {
    z-index: 3;
    width: 100%;
    /*background-color: rgba(0, 0, 0,0.1);*/
    background-color: transparent;
    font-size: 1em;
    font-weight: normal;
    height: auto;
    color: #fff;
    line-height: 15px;
    padding: 10px 10px;
    margin-top: 0px;
    text-align: center;
    position: absolute;
    bottom: 0%;
}

.work-caption-over {
    z-index: 3;
    width: 100%;
    background-color: rgba(31, 128, 159, 0.8);
    font-size: 1em;
    font-weight: normal;
    height: auto;
    color: #fff;
    line-height: 15px;
    padding: 5px 5px;
    margin-top: 0px;
    text-align: center;
    position: absolute;
    top: 0%;
}

.work-caption-over-center {
    z-index: 3;
    width: 100%;
    background-color: none;
    /*background-color: rgba(100, 100, 100, 0.1);*/
    font-size: 1rem;
    font-weight: normal;
    height: 100%;
    color: #fff;
    line-height: normal;
    padding: 2px 2px;
    margin-top: 0px;
    text-align: center;
    position: absolute;
    top: 0%;
}

    .work-caption-over-center > h3 {
        background-color: rgba(31, 128, 159, 0.6);
        font-size: 1rem;
        font-weight: normal;
        color: #fff;
        position: absolute;
        bottom: 10%;
        width: 98%;
        margin: 0px auto;
        /*white-space: nowrap;*/
        padding: 0px;
        /*border:1px solid #fff;*/
    }

        .work-caption-over-center > h3.tipo2 {
            background-color: rgba(31, 128, 159, 0.8);
            font-size: 1.3rem;
            font-weight: normal;
            color: #fff;
            position: absolute;
            bottom: 45%;
            width: 95%;
            padding: 0px;
            margin: 0px auto;
            /*white-space: nowrap;*/
            /*border:1px solid #fff;*/
        }

.work-caption-over h3 {
    color: #fff;
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 2px;
}

.work-title {
    font-size: 1.3em;
    font-weight: normal;
    margin-bottom: 10px;
    color: #333;
}

.work-descr {
    color: #000000;
    line-height: 28px;
}

.work-item:hover .work-image:after {
    background: rgba(0, 0, 0, .1);
}

.work-item:hover .work-image > img {
    /*-webkit-transform: scale(1.2);*/
    /*scale(1.3) rotate(2deg);*/
    /*-moz-transform: scale(1.2);*/
    /* scale(1.3) rotate(2deg);*/
    /*-ms-transform: scale(1.2);*/
    /* scale(1.3) rotate(2deg);*/
    /*-o-transform: scale(1.2);*/
    /* scale(1.3) rotate(2deg);*/
    /*transform: scale(1.2);*/
    /* scale(1.3) rotate(2deg);*/
}

.work-item:hover .work-caption {
    bottom: 50%;
    opacity: 1;
    z-index: 3;
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    transform: translateY(50%);
}
/* Work item light color background*/

.works-grid.works-hover-lc .work-item:hover .work-image:after {
    background: #eceded;
}
/* Work item white background*/

.works-grid.works-hover-w .work-title {
    color: #000000;
}

.works-grid.works-hover-w .work-item:hover .work-image:after {
    background: rgba(255, 255, 255, .9);
}
/* Work item gradien background*/

.works-grid.works-hover-g .work-image:after {
    opacity: 0;
}

.works-grid.works-hover-g .work-descr {
    color: #fff;
}

.works-grid.works-hover-g .work-item:hover .work-image:after {
    background: rgb(111, 226, 158);
    background: -moz-linear-gradient(-45deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(111, 226, 158, 0.8)), color-stop(100%, rgba(91, 218, 209, 0.8)));
    background: -webkit-linear-gradient(-45deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
    background: -o-linear-gradient(-45deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
    background: -ms-linear-gradient(-45deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
    background: linear-gradient(135deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#6fe29e', endColorstr='#5bdad1', GradientType=1);
    opacity: 1;
}
/* Work item light white background*/

.works-grid.works-hover-lw .work-item:hover .work-image:after {
    /*background: rgba(255, 255, 255, .4);*/
    background: none;
}

 
.work-image.rounded {
    width: 100%;
    border-radius: 50%;
    margin: 5%;
    text-align: center;
    margin-left: 0;
}

@media (max-width: 768px) {
    .work-image.rounded {
        margin-left: 0;
    }
}
 
.work-image.rounded {
    border-radius: 0;
}

/* -------------------------------------------------------------------
Portfoli Single ( da rival )
------------------------------------------------------------------- */

.work-details {
    margin: 0 0 20px;
}

.work-details-title {
    color: #111;
    margin: 0 0 20px;
}

.work-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .work-details ul > li {
        border-bottom: 1px dotted #c2c2c2;
        padding: 0 0 5px;
        margin: 0 0 5px;
    }
/*MODIFICA PORTFOLIO CON ISOTOPE PER CREARE LE POLOAROID, LAVORA IN ABBINAMENTO CON L'INIZIALIZZATORE IN maininit.js SULLA CLASSE .thumb-label-item */

.feature-content h3 {
    font-size: 0.9rem;
    line-height: 16px;
    font-weight: normal;
    margin-bottom: 0px;
    color: #33332e !important;
}

.feature-content {
    font-size: 0.8rem;
    font-weight: normal;
    margin-bottom: 0px;
    border-top: none;
    height: 110px;
    overflow: hidden;
    text-align: left;
}

.feature-details span {
    padding-right: 5px;
    font-size: 0.9rem;
}

.img-overlay .portfolio-zoom,
.item-img-overlay:hover .portfolio-zoom,
.item-img-overlay:hover i,
.thumb-label-item:hover .portfolio-zoom,
.feature-image:hover .portfolio-zoom {
    opacity: 0.8;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-name: overlay-animation;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-delay: 0s;
    -moz-animation-fill-mode: forwards;
    -moz-animation-name: overlay-animation;
    -moz-animation-duration: 0.5s;
    -moz-animation-timing-function: linear;
    -moz-animation-delay: 0s;
    -o-animation-fill-mode: forwards;
    -o-animation-name: overlay-animation;
    -o-animation-duration: 0.5s;
    -o-animation-timing-function: linear;
    -o-animation-delay: 0s;
    animation-fill-mode: forwards;
    animation-name: overlay-animation;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-delay: 0s;
    transform: scale(1) \9;
}

.item-img-overlay .portfolio-zoom {
    position: absolute;
    top: 0%;
    /*margin-top: -40px;*/
    margin-top: 0px;
    right: 0%;
    margin-right: 0px;
    background-color: rgba(255, 255, 255, 0);
    /*background-color: rgba(118, 192, 42, 0);*/
    /*color: #606060;*/
    border-radius: 0px;
    width: 100%;
    height: 100%;
    line-height: 43px;
    text-align: center;
    font-size: 1em;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    cursor: pointer;
    z-index: 1;
}
/*.item-img-overlay .item_img_overlay_content {
    background-color: rgba(59, 89, 152,0.6);
    padding: 6px;
    position: absolute;
    bottom: 0%;
    right: 0%;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
}*/

.item-img-overlay .item_img_overlay_content {
    font-size: 1.2rem;
    position: absolute;
    background-color: rgba(74, 137, 220, 0.8);
    bottom: 0%;
    right: 0%;
    padding: 3px;
    height: auto !important;
    width: auto !important;
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
    /*-webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    -o-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
    transition: transform 0.4s, opacity 0.1s 0.3s;*/
}

.item-img-overlay:hover .item_img_overlay_content {
    font-size: 1.2rem;
    padding: 3px;
    background-color: rgba(59, 89, 152, 0.6);
    opacity: 1;
    height: auto !important;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
    -moz-transition: -moz-transform 0.4s, opacity 0.1s;
    transition: transform 0.4s, opacity 0.1s;
}

.item-img-overlay .portfolio-zoom:hover {
    /*color: #606060 !important;*/
    background-color: rgba(255, 255, 255, 0.1);
}

.thumb-label-item {
    padding: 10px;
    background-color: transparent;
    margin-bottom: 20px;
}

@media (min-width: 1170px) {
    .thumb-label-item {
        width: 364px;
    }

    .portfolio-items {
        width: 1170px;
    }

        .portfolio-items.portfolio-items-cols1 .thumb-label-item {
            width: 1100px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin-bottom: 20px;
        }

            .portfolio-items.portfolio-items-cols1 .thumb-label-item .thumb-label-item-img img {
                max-width: 1100px;
            }

        .portfolio-items.portfolio-items-cols2 .thumb-label-item {
            width: 546px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 12px;
        }

            .portfolio-items.portfolio-items-cols2 .thumb-label-item .thumb-label-item-img img {
                max-width: 546px;
            }
        /* 3 cols & 3 cols boxed */

        .portfolio-items.portfolio-items-cols3 .thumb-label-item {
            width: 364px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 13px;
        }

            .portfolio-items.portfolio-items-cols3 .thumb-label-item .thumb-label-item-img img {
                max-width: 364px;
            }

        .portfolio-items.portfolio-items-cols4 .thumb-label-item {
            width: 273px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 6px;
        }

            .portfolio-items.portfolio-items-cols4 .thumb-label-item .thumb-label-item-img img {
                max-width: 273px;
            }

        .portfolio-items.portfolio-items-cols8 .thumb-label-item {
            width: 130px;
        }

            .portfolio-items.portfolio-items-cols8 .thumb-label-item .thumb-label-item-img img {
                width: 80px;
            }
}

@media (min-width: 970px) and (max-width: 1169px) {
    .thumb-label-item {
        width: 265px;
    }

    .portfolio-items {
        width: 880px;
    }

        .portfolio-items.portfolio-items-cols1 .thumb-label-item {
            width: 860px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin-bottom: 20px;
        }

            .portfolio-items.portfolio-items-cols1 .thumb-label-item .thumb-label-item-img img {
                max-width: 860px;
            }

        .portfolio-items.portfolio-items-cols2 .thumb-label-item {
            width: 397px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 12px;
        }

            .portfolio-items.portfolio-items-cols2 .thumb-label-item .thumb-label-item-img img {
                max-width: 397px;
            }

        .portfolio-items.portfolio-items-cols3 .thumb-label-item {
            width: 265px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 13px;
        }

            .portfolio-items.portfolio-items-cols3 .thumb-label-item .thumb-label-item-img img {
                max-width: 265px;
            }

        .portfolio-items.portfolio-items-cols4 .thumb-label-item {
            width: 199px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 6px;
        }

            .portfolio-items.portfolio-items-cols4 .thumb-label-item .thumb-label-item-img img {
                max-width: 199px;
            }

        .portfolio-items.portfolio-items-cols8 .thumb-label-item {
            width: 95px;
        }

            .portfolio-items.portfolio-items-cols8 .thumb-label-item .thumb-label-item-img img {
                width: 80px;
            }
}

@media (min-width: 768px) and (max-width: 969px) {
    .thumb-label-item {
        width: 240px;
    }

    .portfolio-items {
        width: 768px;
    }

        .portfolio-items.portfolio-items-cols1 .thumb-label-item {
            width: 750px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin-bottom: 20px;
        }

            .portfolio-items.portfolio-items-cols1 .thumb-label-item .thumb-label-item-img img {
                max-width: 750px;
            }

        .portfolio-items.portfolio-items-cols2 .thumb-label-item {
            width: 300px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 12px;
        }

            .portfolio-items.portfolio-items-cols2 .thumb-label-item .thumb-label-item-img img {
                max-width: 300px;
            }

        .portfolio-items.portfolio-items-cols3 .thumb-label-item {
            width: 240px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 13px;
        }

            .portfolio-items.portfolio-items-cols3 .thumb-label-item .thumb-label-item-img img {
                max-width: 240px;
            }

        .portfolio-items.portfolio-items-cols4 .thumb-label-item {
            width: 200px;
            padding: 10px;
            /*background-color: #fafafa;*/
            margin: 10px 6px;
        }

            .portfolio-items.portfolio-items-cols4 .thumb-label-item .thumb-label-item-img img {
                max-width: 150px;
            }

        .portfolio-items.portfolio-items-cols8 .thumb-label-item .thumb-label-item-img img {
            width: 80px;
        }
}

@media (max-width: 767px) {
    .thumb-label-item {
        width: 240px;
    }

    .portfolio-items.portfolio-items-cols1 .thumb-label-item {
        width: 100%;
        max-width: 290px;
        margin: 10px auto;
        text-align: center;
    }

        .portfolio-items.portfolio-items-cols1 .thumb-label-item .thumb-label-item-img img {
            max-width: 290px;
        }

    .portfolio-items.portfolio-items-cols2 .thumb-label-item {
        width: 100%;
        max-width: 290px;
        margin: 10px auto;
        text-align: center;
    }

        .portfolio-items.portfolio-items-cols2 .thumb-label-item .thumb-label-item-img img {
            max-width: 290px;
        }

    .portfolio-items.portfolio-items-cols4 .thumb-label-item {
        width: 100%;
        max-width: 290px;
        padding: 10px;
        margin: 10px auto;
        /*background-color: #fafafa;*/
    }

        .portfolio-items.portfolio-items-cols4 .thumb-label-item .thumb-label-item-img img {
            max-width: 290px;
            margin: 0 auto;
        }

    .portfolio-items.portfolio-items-cols3 .thumb-label-item {
        width: 100%;
        max-width: 290px;
        margin: 10px auto;
        text-align: center;
    }

        .portfolio-items.portfolio-items-cols3 .thumb-label-item .thumb-label-item-img img {
            max-width: 290px;
            margin: 0 auto;
        }

    .portfolio-items.portfolio-items-cols8 .thumb-label-item {
        width: 100%;
        text-align: center;
    }

        .portfolio-items.portfolio-items-cols8 .thumb-label-item .thumb-label-item-img img {
            width: 80px;
            margin: 0 auto;
        }
}

/* ----------- Banner cicle principale styles -------------------- */

.bnrBack2 {
    background-color: #eee;
    position: relative;
    z-index: 100;
    width: auto;
    height: auto;
}

.flex-direction-nav {
    line-height: 60px;
}

ol.flex-control-thumbs li {
    height: 100px;
}

.flex-viewport {
    max-height: 800px;
}

/*------------------------------------*/
/*Carousel
------------------------------------*/
/*carousel-v1*/
.carousel-v1 .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 15px;
    background: rgba(0, 0, 0, 0.7);
}

    .carousel-v1 .carousel-caption p {
        color: #fff;
        margin-bottom: 0;
    }

.carousel-v1 .carousel-arrow a.carousel-control {
    opacity: 1;
    font-size: 40px;
    height: inherit;
    width: inherit;
    background: none;
    text-shadow: none;
    position: inherit;
}

.carousel-v1 .carousel-arrow a i {
    top: 50%;
    opacity: 0.6;
    /*background: #000;*/
    margin-top: -18px;
    padding: 2px 12px;
    position: absolute;
}

    .carousel-v1 .carousel-arrow a i:hover {
        opacity: 0.8;
    }

.carousel-v1 .carousel-arrow a.left i {
    left: 0;
}

.carousel-v1 .carousel-arrow a.right i {
    right: 0;
}

.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

    .carousel-inner > .item {
        position: relative;
        display: none;
        -webkit-transition: .6s ease-in-out left;
        transition: .6s ease-in-out left;
    }

        .carousel-inner > .item > img,
        .carousel-inner > .item > a > img {
            display: block;
            max-width: 100%;
            height: auto;
            line-height: 1;
        }

    .carousel-inner > .active,
    .carousel-inner > .next,
    .carousel-inner > .prev {
        display: block;
    }

    .carousel-inner > .active {
        left: 0;
    }

    .carousel-inner > .next,
    .carousel-inner > .prev {
        position: absolute;
        top: 0;
        width: 100%;
    }

    .carousel-inner > .next {
        left: 100%;
    }

    .carousel-inner > .prev {
        left: -100%;
    }

        .carousel-inner > .next.left,
        .carousel-inner > .prev.right {
            left: 0;
        }

    .carousel-inner > .active.left {
        left: -100%;
    }

    .carousel-inner > .active.right {
        left: 100%;
    }

.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    filter: alpha(opacity=50);
    opacity: .5;
}

    .carousel-control.left {
        background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
        background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
        background-repeat: repeat-x;
    }

    .carousel-control.right {
        right: 0;
        left: auto;
        background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%));
        background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
        background-repeat: repeat-x;
    }

    .carousel-control:hover,
    .carousel-control:focus {
        color: #fff;
        text-decoration: none;
        filter: alpha(opacity=90);
        outline: none;
        opacity: .9;
    }

    .carousel-control .icon-prev,
    .carousel-control .icon-next,
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right {
        position: absolute;
        top: 50%;
        z-index: 5;
        display: inline-block;
    }

    .carousel-control .icon-prev,
    .carousel-control .glyphicon-chevron-left {
        left: 50%;
    }

    .carousel-control .icon-next,
    .carousel-control .glyphicon-chevron-right {
        right: 50%;
    }

    .carousel-control .icon-prev,
    .carousel-control .icon-next {
        width: 20px;
        height: 20px;
        margin-top: -10px;
        margin-left: -10px;
        font-family: serif;
    }

        .carousel-control .icon-prev:before {
            content: '\2039';
        }

        .carousel-control .icon-next:before {
            content: '\203a';
        }

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    z-index: 15;
    width: 60%;
    padding-left: 0;
    margin-left: -30%;
    text-align: center;
    list-style: none;
}

    .carousel-indicators li {
        display: inline-block;
        width: 10px;
        height: 10px;
        margin: 1px;
        text-indent: -999px;
        cursor: pointer;
        background-color: #000 \9;
        background-color: rgba(0, 0, 0, 0);
        border: 1px solid #fff;
        border-radius: 10px;
    }

    .carousel-indicators .active {
        width: 12px;
        height: 12px;
        margin: 0;
        background-color: #fff;
    }

.carousel-caption {
    position: absolute;
    right: 15%;
    bottom: 20px;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}

    .carousel-caption .btn {
        text-shadow: none;
    }

@media screen and (min-width: 768px) {
    .carousel-control .glyphicons-chevron-left,
    .carousel-control .glyphicons-chevron-right,
    .carousel-control .icon-prev,
    .carousel-control .icon-next {
        width: 30px;
        height: 30px;
        margin-top: -15px;
        margin-left: -15px;
        font-size: 30px;
    }

    .carousel-caption {
        right: 20%;
        left: 20%;
        padding-bottom: 30px;
    }

    .carousel-indicators {
        bottom: 20px;
    }
}
/* END CAROUSEL CONTROL */


/*------------------------------------*/
/*Owl Carousel
------------------------------------*/
.imgcontained {
    /*display: block;
        overflow: hidden;
        height: 100%;
        width:auto;
        max-width:100%;
        margin:0px auto;*/
    /* CSS Hack will make it width 100% and height 100% */
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    /* Maintain aspect ratio */
    max-height: 100%;
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    margin: auto;
}

.owl-btn {
    color: #777;
    cursor: pointer;
    font-size: 26px;
    padding: 2px 9px;
    text-align: center;
    /*background: #fafafa;*/
}

    .owl-btn:hover {
        color: #fff;
        /*background: #72c02c;*/
    }

.owl-carousel-v1 .owl-navigation {
    text-align: center;
    margin-bottom: 20px;
}

/*.owl-carousel-v1 .item {
    margin: 0 25px;
    background-color: rgb(255, 255, 255);
    border: none;
    -webkit-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.24);
    -moz-box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.24);
    box-shadow: 0px 0px 1px 1px rgba(200,200,200,0.24);
    -webkit-transition: box-shadow .3s;
    -moz-filter: drop-shadow(0 2px 5px .2px);
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;*/
/*-webkit-filter: drop-shadow(0 2px 5px .2px);
}*/

.owl-carousel-v1 .item:hover {
    box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
    /*-webkit-filter: drop-shadow(0 7px 14px .35px);*/
    -moz-filter: drop-shadow(0 7px 14px .35px);
}

.owl-carousel-v1 .item img {
    text-align: center;
}

.owl-carousel-v1 .owl-pagination {
    /*display: none;*/
}
/*Owl Carousel v2*/

.owl-carousel-v2 .owl-slider-v2 {
    margin-bottom: 20px;
}

.owl-carousel-v2 .item {
    margin: 0 25px;
}

    .owl-carousel-v2 .item img {
        text-align: center;
    }

.owl-carousel-v2 .owl-navigation {
    text-align: center;
}

.owl-carousel-v2 .owl-pagination {
    /*display: none;*/
}
/*Owl Carousel v3*/

.owl-carousel-v3 .item {
    margin: 0 25px;
}

    .owl-carousel-v3 .item img {
        text-align: center;
    }

.owl-carousel-v3 .owl-pagination {
    /*display: none;*/
}
/*Owl Carousel v4*/

.owl-carousel-v4 .owl-wrapper-outer {
    margin-bottom: 20px;
}

.owl-carousel-v4 .item {
    margin: 0 25px;
}

    .owl-carousel-v4 .item img {
        width: 100%;
    }
/*Owl Pagination*/

.owl-pagination {
    text-align: center !important;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span {
    opacity: 1;
    filter: Alpha(Opacity=100);
    /*IE7 fix*/
}

.owl-theme .owl-controls .owl-page {
    zoom: 1;
    display: inline-block;
    *display: inline;
    /*IE7 life-saver */
}

    .owl-theme .owl-controls .owl-page span {
        width: 12px;
        height: 12px;
        opacity: 0.3;
        display: block;
        margin: 5px 7px;
        background: #bbb;
        filter: Alpha(Opacity=50);
        /*IE7 fix*/
        -webkit-border-radius: 50% !important;
        -moz-border-radius: 50% !important;
        border-radius: 50% !important;
    }
/*Owl Carousel Style v1*/

.owl-carousel-style-v1 img {
    width: 120px;
    height: auto;
}
/*Owl Carousel Style v2*/

.owl-carousel-style-v2 .item {
    margin: 0 3px;
    background: #fafafa;
    text-align: center;
    border: solid 1px #e6e6e6;
}

    .owl-carousel-style-v2 .item img {
        padding: 0 3px;
        display: inline-block;
    }

    .owl-carousel-style-v2 .item:hover {
        background: #f7f7f7;
        border-color: #e5e5e5;
        transition: all 0.4s ease-in-out;
    }

.owl-carousel-style-v2 .owl-pagination {
    display: none;
}
/*END OWL CAROUSEL CSS*/


.btn.btn-purple {
    color: #ffffff;
    background: #1f8b74;
    /*border: 1px solid #3280e7;*/
    border-color: none;
    border: none;
    box-shadow: none;
    /*padding: 0px 10px !important;*/
}

    .btn.btn-purple:hover,
    .btn.btn-purple:focus,
    .btn.btn-purple.active,
    .btn.btn-purple:active {
        background: #666;
        color: #ffffff;
    }

.btn-default {
    text-shadow: none !important;
    color: #ffffff !important;
    background-color: #474949 !important;
    border-color: #474949 !important;
    /*padding: 0px 25px !important;
    margin: 0px !important;
    height: 26px !important;
    line-height: 26px !important;*/
}

.btn-small {
    /*font-size: 12px;
  border-radius: 3px;
    height:auto !important;
      line-height: 1.5;*/
    padding: 0px 5px !important;
}

.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
    border-radius: 0;
}

.btn-group > .btn:first-child {
    margin-left: 0;
}

    .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

.btn-group > .btn:last-child:not(:first-child),
.btn-group > .dropdown-toggle:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.btn-group > .btn-group {
    float: left;
}

    .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
        border-radius: 0;
    }

    .btn-group > .btn-group:first-child > .btn:last-child,
    .btn-group > .btn-group:first-child > .dropdown-toggle {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .btn-group > .btn-group:last-child > .btn:first-child {
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
    }

.btn-group .dropdown-toggle:active,
.btn-group.open .dropdown-toggle {
    outline: 0;
}

.btn-group > .btn + .dropdown-toggle {
    padding-right: 8px !important;
    padding-left: 8px !important;
}

.btn-group > .btn-large + .dropdown-toggle {
    padding-right: 12px;
    padding-left: 12px;
}

.btn-group.open .dropdown-toggle {
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn .caret {
    margin-left: 0;
}

select.input-small {
    height: 25px;
    line-height: 25px;
}

.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-right: 0;
}

    .input-group .form-control:last-child,
    .input-group-addon:last-child,
    .input-group-btn:last-child > .btn,
    .input-group-btn:last-child > .dropdown-toggle,
    .input-group-btn:first-child > .btn:not(:first-child) {
        border-left: 0;
    }

.prod_discount {
    position: absolute;
    padding: 0.3em 1em;
    left: 1em;
    top: 1em;
    text-align: center;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    position: absolute;
    z-index: 2;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.3);
    background-color: rgb(120, 120, 120);
}

    .prod_discount::before {
        position: absolute;
        border-top-color: rgb(138, 138, 138);
        border-top-width: 1px;
        border-top-style: dotted;
        display: block;
        content: "";
    }

    .prod_discount::after {
        position: absolute;
        border-top-color: rgb(138, 138, 138);
        border-top-width: 1px;
        border-top-style: dotted;
        display: block;
        content: "";
    }

    .prod_discount::before {
        position: absolute;
        left: 0px;
        top: 3px;
        right: 0px;
        position: absolute;
    }

    .prod_discount::after {
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 4px;
        position: absolute;
    }

.csstransforms.prod_discount {
    position: absolute;
    padding: 0.3em 3em;
    left: -3em;
    top: 2em;
    position: absolute;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    z-index: 800;
}

.product-price {
    padding-right: 10px;
}

    .product-price em {
        text-decoration: line-through;
        color: #999;
        font-size: 1em;
    }

.cart-quantity {
    max-width: 130px;
    /*width: 13t0px;*/
}

.product-attribute {
    margin: 0;
}

    .product-attribute tbody tr td,
    .product-attribute tbody tr th {
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

.product-details {
    /*height: 100px;*/
    padding-top: 8px;
}

    .product-details h3 {
        font-size: 0.9rem;
        font-weight: bold;
        line-height: 20px;
        margin: 0 0 5px 0;
        overflow: hidden;
    }

        .product-details h3 a {
            color: inherit;
        }

.product-categories a {
    color: inherit;
}

.product-categories {
    font-size: 0.7rem;
}

.dropdown-cart {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 0 0 10px;
    width: 250px;
}

    .dropdown-cart li a {
        /*font-size: 0.9rem !important;*/
    }

    .dropdown-cart .products-list-mini {
        list-style: none !important;
        padding: 0;
        margin: 0;
    }

        .dropdown-cart .products-list-mini li {
            padding: 15px !important;
            margin: 0 !important;
        }

.products-list-mini li {
    overflow: hidden;
}

    .products-list-mini li + li {
        border-top: 1px solid #eee;
        margin-top: 20px;
        padding-top: 20px;
    }

.products-list-mini .product-thumb {
    border: 1px solid #ccc;
    margin: 0 15px 0 0;
}

    .products-list-mini .product-thumb.pull-right {
        margin: 0 0 0 15px;
    }

.products-list-mini .product-details {
    height: auto;
    overflow: hidden;
}

    .products-list-mini .product-details h3 {
        margin: 0;
    }

.table-cart td {
    vertical-align: middle;
    line-height: normal !important;
}

.table-cart thead td {
    color: #999;
    font-weight: bold;
}

.table-cart tbody tr td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.table-cart tbody tr:hover td {
    background: #ffe;
}

.table-cart tbody tr:hover .cart-remove a {
    color: #555;
}

.table-cart .cart-remove {
    text-align: center;
    vertical-align: middle;
    width: 15px;
}

    .table-cart .cart-remove a {
        color: #ddd;
        text-decoration: none !important;
    }

.table-cart .cart-product .product-thumb {
    border: 1px solid #ddd;
    margin: 0 10px 0 0;
}

.table-cart .cart-product .product-details {
    overflow: hidden;
}

.table-cart .cart-total {
    /*width: 100px;*/
}

    .table-cart .cart-total span,
    .table-cart .cart-heading span {
        display: inline-block;
        line-height: 30px;
    }

.table-cart .cart-addto {
    width: 100px;
    text-align: right;
}

.table-cart .cart-heading {
    background: #f5f5f5;
    vertical-align: middle;
    text-align: right;
    padding-right: 15px;
}

ul.unstyled,
ol.unstyled {
    margin-left: 0;
    list-style: none;
}


/*TRICK PER AVERE STRUTTURA BOOTSTRAP >xs con col tutte della stessa altezza*/

@media (min-width:768px) {
    .no-gutter > [class*='col-'] {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (min-width:768px) {
    .table-container {
        display: table;
        width: 100%;
    }

        .table-container .table-row {
            height: 100%;
            display: table-row;
        }

            .table-container .table-row .table-col {
                display: table-cell;
                float: none;
                vertical-align: middle;
            }

    .table-col div {
        margin: 0px auto;
    }
}

.table-col .ecomctr-group {
    display: table-cell;
    position: relative;
}

.ecomctr {
    padding: 0.5em;
}

    .ecomctr .ecomctr-group {
        background: #fff;
        border: 1px solid #e8e8e8;
        background-color: #f5f5f5;
        border-radius: 3px;
        box-shadow: none;
        color: #565656;
        font-size: 0.875rem;
        /*padding: 0.5em;*/
    }

.ecomctr-icon {
    right: 4px;
    top: 8px;
    font-size: 1rem;
    width: 30px;
    height: 20px !important;
    background-image: none;
    color: #ddd;
    line-height: 1px;
    text-indent: 0;
    position: absolute;
    text-align: center;
}

.ecomctr .ecomctr-group i {
    color: #888;
    padding-left: 8px;
    padding-right: 8px;
}

.ecomctr .ecomctr-group-title {
    color: #e7b315;
    font-size: 30px;
    line-height: 43px;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 0;
    box-shadow: 3px 0 #e7b315;
}

/*END TRICK PER AVERE STRUTTURA BOOTSTRAP >xs con col tutte della stessa altezza*/


/*Blog customization*/
.sidebar-block {
    padding: 15px;
    background-color: transparent;
    border: 2px solid #eee;
    border-radius: 6px;
    border: none;
    margin-bottom: 0px;
}

.blog-post {
    padding: 0px;
    background-color: #fff;
    border: 2px solid #eee;
    border-radius: 6px;
    border: none;
    margin-bottom: 10px;
}

    .blog-post .blog-post-details {
        border-top: none;
        border-bottom: none;
    }

    .blog-post .blog-span {
        margin-left: 0px;
    }

    .blog-post .blog-post-body {
        font-size: 1.1rem;
        border-top: 2px solid #f0f0f0;
        border-bottom: 2px solid #f0f0f0;
        padding-top: 20px;
        padding-bottom: 20px;
    }

.blog-search .blog-search-button {
    background-color: #4a4b4c;
}

.blog-sezione {
    font-size: 1.4rem;
    width: 100%;
    border-bottom: 1px solid #666;
    color: #666;
    margin: 20px 0px 10px 0px;
}

.blog-price {
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 0px;
    color: #33332e;
}

.blog-post .blog-post-body {
    border-bottom: 0px solid #f0f0f0;
}


/*-----------------------------------
--------------- MIRCO ---------------
-----------------------------------*/


#map1 iframe {
    display: block;
    position: relative;
    z-index: 1;
}

#map1::before {
    content: '';
    position: absolute;
    z-index: 2;
    box-shadow: inset 0px 11px 8px -10px black, inset 0px -11px 8px -10px black;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

#news-zig-zag:after, #promo-zig-zag:after {
    background: linear-gradient(-135deg, #ffffff 16px, transparent 0), linear-gradient(135deg, #ffffff 16px, transparent 0);
    background-position: left-top;
    background-repeat: repeat-x;
    background-size: 32px 32px;
    content: " ";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 32px;
}

#generic-zig-zag:after {
    background: linear-gradient(-135deg, #bfb1ac 16px, transparent 0), linear-gradient(135deg, #bfb1ac 16px, transparent 0);
    background-position: left-bottom;
    background-repeat: repeat-x;
    background-size: 32px 32px;
    content: " ";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 32px;
}



/*--------------------------------------
---- 2 PULSANTI home testo colonne -----
----------------------------------------*/
@media (max-width: 414px) {
    .btn-center-xs, .btn-center-xs-bottom {
        text-align: center !important;
    }

    .btn-center-xs-bottom {
        margin-top: 10px;
    }

    .text-xs-right {
        text-align: center !important;
    }

    .text-xs-left {
        text-align: center !important;
    }
}


/*--------------------------------------
------------ icone servizi -------------
----------------------------------------*/
#features3-2p .card-img-top {
    border-radius: 50% !important;
    max-width: 80%;
    border: none;
}

/*--------------------------------------
-------- pagina ristorante menu --------
----------------------------------------*/
.media-container-row {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
}

/*----------------------------------------
------ TESTIMONIALS NUOVA SEZIONE --------
------------------------------------------*/
.isotope-testimonials p {
    font-size: 1rem !important;
    /*line-height: 1.4rem !important;*/
}

.scheda-testimonials-img .slide-content {
    background: #fff;
    border-radius: 50%;
    border: 2px dotted #606060;
    padding: 3px !important;
}

.scheda-testimonials-img img {
    border-radius: 50%;
}

img.aimg {
    height: 19px;
    width: auto;
    margin: 0 5px;
}

.owlscrollerTestimonials .work-subcaption {
    height: 160px;
}

    .owlscrollerTestimonials .work-subcaption p {
        line-height: 1.8rem !important;
        font-size: 1.4rem !important;
    }

@media (max-width: 1025px) {
    .owlscrollerTestimonials .work-subcaption {
        height: 180px;
    }
}

@media (max-width: 415px) {
    .owlscrollerTestimonials .work-subcaption {
        height: 210px;
    }

        .owlscrollerTestimonials .work-subcaption p {
            line-height: 1.5rem !important;
            font-size: 1rem !important;
        }
}
