@font-face {
    font-family: 'Barlow';
    src: url('font/Barlow-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('font/Barlow-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Barlow';
    src: url('font/Barlow-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('font/Oswald-Light.ttf');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('font/Oswald-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('font/Oswald-SemiBold.ttf');
    font-weight: 600;
    font-style: normal;
}


/* impedisco il bordo selezione dei browser sugli elementi form */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

:root {
    --containerPadding: 0; /* media queries per padding contenitore */
}

strong {
    font-weight: 500;
}

/* BODY */
body {
    margin: 0px;
    font-size: 16px;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    color: #000;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: #0980d1;
}

    a:hover {
        text-decoration: none;
        color: #000;
    }




/* STRUCTURE */
.pagewrap_nav {
    width: calc(100% - (var(--containerPadding) * 2));
    padding: 5px var(--containerPadding);
    margin: 0 auto;
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    z-index: 998;
    background-color: white;
}

.pagewrap_nav_scroll {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    width: calc(100% - (var(--containerPadding) * 2));
    padding: 5px var(--containerPadding);
    margin: 0 auto;
    z-index: 998;
    box-shadow: 0px 1px 10px #666;
    box-shadow: 0px 1px 10px #666;
    background-image: url(/images/buttons/transparent.png);
}

.pagewrap_home {
    margin: 0 auto;
    width: calc(100% - (var(--containerPadding) * 2));
    padding: 0px var(--containerPadding);
    max-width: 1920px;
}

.pagewrap_page {
    margin: 0 auto;
    width: calc(100% - (var(--containerPadding) * 2));
    padding: 0px var(--containerPadding);
    min-height: 200px;
    max-width: 1920px;
}

.pagewrap_footer {
    width: calc(100% - (var(--containerPadding) * 2));
    padding: 5px var(--containerPadding);
    margin: 0px auto 0;
    padding: 0;
    max-width: 1920px;
    background-image: url(/images/footerBack.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

/* logo */
#banda_logo {
    height: 20px;
    min-height: 20px;
    position: relative;
    top: 0;
    width: 100%;
    z-index: -1;
    background-color: white;
}

#div_loghi {
    color: #aaa;
    position: relative;
    top: 0;
    font-weight: bold;
    font-size: 75%;
    margin: 0 auto;
    float: left;
    width: 30%;
    padding: 0;
    text-align: left;
}

#logo {
    max-width: 70px;
    margin: 0 0 0 0;
    vertical-align: top;
    z-index: 2000;
}

#logo_mobile {
    display: none;
}

/* menu */
#menu-icon {
    display: none;
}

#menu_mobile {
    display: none;
}

.wrapper {
    text-align: center;
    width: 100%;
    display: none;
    float: left;
    width: 70%;
    padding: 22px 0 0 0;
    text-align: right;
}

    .wrapper ul {
        display: inline-block;
        margin: 0;
        padding: 0;
        border: 0;
        zoom: 1;
        *display: inline;
        list-style: none;
    }

    .wrapper li {
        float: left;
        padding: 5px;
        margin: 0 0 0 20px;
        background-color: transparent;
        text-transform: uppercase;
        font-size: 18px;
        font-weight: 500;
        font-family: 'Oswald', sans-serif;
    }

        .wrapper li a {
            color: #222;
        }

            .wrapper li a:hover {
                color: #555;
            }

    /* menu dropdown*/
    .wrapper ul ul {
        position: absolute;
        display: block;
        overflow-y: hidden;
        max-height: 0px;
        transition: all 0.7s;
        width: auto;
        margin: 5px 0 0 -5px;
        border: solid 0px #f3f3f3;
        background-color: #B59471;
    }
        /* margin LEFT deve corrisponde a LI a padre in negativo */
        .wrapper ul ul li {
            float: none;
            text-align: left;
            list-style: none;
            margin: 5px 0;
            padding: 0 5px;
            background-color: #B59471;
            font-weight: 600;
            font-size: 14px;
        }
            /* padding left/right come LI padre */
            .wrapper ul ul li a {
                color: #000;
                padding: 2px 5px;
                display: block;
            }

                .wrapper ul ul li a:hover {
                    color: #444;
                    background-color: #fff;
                }
    /* max-height è all'incirca - determina l'animazione ||| border è meglio aggiungerlo qui - altrimenti si vede 1px */
    .wrapper ul li:hover > ul {
        z-index: 500;
        max-height: 200px;
        border: solid 0px #f3f3f3;
    }
/* mouseover x iPad su do_the_settings() */

/* lingue */
#lingue {
    position: absolute;
    top: 3px;
    right: var(--containerPadding);
    padding: 0;
    font-size: 100%;
}

    #lingue img {
        max-width: 20px;
        border-radius: 4px;
    }

.lang {
    display: inline-block;
    padding: 2px 4px;
    margin: 0 auto;
    margin-left: 5px;
    text-align: center;
    opacity: 0.6;
    filter: Alpha(Opacity=60);
}

    .lang:hover {
        opacity: 1;
        filter: Alpha(Opacity=100);
    }

    .lang a {
        color: #bbb;
    }

        .lang a:hover {
            color: #eee;
        }

.active_lang {
    display: inline-block;
    padding: 2px 4px;
    color: #fff;
    margin: 0 auto;
    margin-left: 5px;
    text-align: center;
    opacity: 1;
    filter: Alpha(Opacity=100);
}


/* HOME PAGE */
.flex-caption {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0;
    color: #000;
    position: absolute;
    top: 33%;
    left: auto;
    right: auto;
    opacity: 0;
    filter: alpha(opacity=0);
}
/* animazione left su web_builder.js */
.caption_title {
    font-size: 45px;
    color: #000;
    font-weight: bold;
    line-height: 50px;
}



    .caption_title p strong { /* caption grande in BOLD */
        display: inline-block;
        font-family: 'Oswald', sans-serif;
        margin: 0;
        padding: 10px 10px;
        font-size: 80px;
        line-height: 80px;
        color: #fff;
        border-bottom: solid 0px #fff;
        background-color: #44444480;
        border-radius: 10px;
    }

    .caption_title p { /* sotto testo */
        display: block;
        font-size: 32px;
        font-weight: 500;
        color: #333;
    }

    .caption_title a {
        color: #000;
    }

        .caption_title a:hover {
            color: #333;
        }

#home_content {
    width: 100%;
    margin: 0 auto;
    padding: 0 0;
    text-align: center;
    background-color: #fff;
}






.box_container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
    color: #000;
}

.previewIntro {
    width: 100%;
}

    .previewIntro p {
        margin: 0 0 20px 0;
        padding: 0 0;
        font-size: 32px;
        font-weight: 400;
        color: #b59471;
    }

    .previewIntro div {
        width: auto;
        display: table;
        margin: 0 auto 35px auto;
        padding: 0 70px 25px 70px;
        font-size: 38px;
        line-height: 38px;
        font-weight: 400;
        font-family: 'Oswald', sans-serif;
        color: #000;
        border-bottom: solid 2px #b59471;
    }

.home_1 {
    float: left;
    width: 32%;
    text-align: left;
    text-align: center;
    cursor: pointer;
}

.home_2 {
    float: left;
    width: 32%;
    margin: 0 2%;
    text-align: center;
    cursor: pointer;
}

.home_3 {
    float: left;
    width: 32%;
    text-align: center;
    cursor: pointer;
}

.box_container img {
    width: 100%;
    max-width: 220px;
    margin: 15px 0 10px 0;
}

.home_box_title {
    display: table;
    margin: 0 auto;
    padding: 8px 25px;
    background-color: #25628b;
    font-size: 18px;
    line-height: 18px;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    color: #f4f4f4;
    text-transform: uppercase;
    border-radius: 6px;
    border: solid 1px #eee;
    transition: all ease 0.6s;
    /*
    background: rgb(0,57,96);
    background: -moz-linear-gradient(left, rgba(0,57,96,1) 0%, rgba(40,123,176,1) 50%, rgba(0,57,96,1) 100%);
    background: -webkit-linear-gradient(left, rgba(0,57,96,1) 0%,rgba(40,123,176,1) 50%,rgba(0,57,96,1) 100%);
    background: linear-gradient(to right, rgba(0,57,96,1) 0%,rgba(40,123,176,1) 50%,rgba(0,57,96,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003960', endColorstr='#003960',GradientType=1 );*/
}


.home_big_title {
    font-size: 22px;
    line-height: 22px;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    color: #222;
    transition: all ease 0.4s;
}

.home_1:hover > .home_box_title, .home_2:hover > .home_box_title, .home_3:hover > .home_box_title {
    background: #333;
}

.home_1:hover > .home_big_title, .home_2:hover > .home_big_title, .home_3:hover > .home_big_title {
    color: #125d91;
}

.otherContainer {
    width: 100%;
    margin: 40px auto 0 auto;
    font-size: 0;
}

.homePhilo1 {
    position: relative;
    display: inline-block;
    width: 46%;
    padding: 30px 2%;
    height: calc(400px - 60px);
    vertical-align: top;
    text-align: left;
    background-color: #B59471;
    background-image: url(/images/chicchi.png);
    background-position: 95% 90%;
    background-repeat: no-repeat;
    transition: all ease 0.3s;
}


    .homePhilo1 div {
        margin: 0 0 30px 0;
        font-size: 38px; /* BRAND PHILOSOPHY */
        line-height: 38px;
        font-weight: 400;
        font-family: 'Oswald', sans-serif;
        color: #fff;
    }

    .homePhilo1 p {
        font-size: 16px;
        font-family: 'Barlow', sans-serif;
        font-weight: 400;
        color: #fff;
    }

    .homePhilo1 r {
        display: block;
        position: absolute;
        left: 4%;
        bottom: 30px;
        font-size: 16px;
        font-family: 'Barlow', sans-serif;
        font-weight: 500;
        color: #fff;
        cursor: pointer;
        transition: all ease 0.4s;
    }

        .homePhilo1 r:hover {
            color: #ddd;
        }

.homePhilo2 {
    display: inline-block;
    width: 50%;
    margin: 10px 0 0 0; /* per sfalsarlo */
    padding: 0 0;
    height: calc(400px - 20px);
    vertical-align: top;
    text-align: left;
    background-image: url(/images/homeBig.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: solid 10px #eae7e0; /* il bordo simula lo sfondo continuo */
}

.otherContainer:hover > .homePhilo1 {
    background-position: 95% 95%;
}

    .otherContainer:hover > .homePhilo1 r {
        left: 6%;
    }

.craftsmanship {
    padding: 55px 0;
    background-color: #EAE7E0;
    font-size: 38px; /* BRAND PHILOSOPHY */
    line-height: 38px;
    font-weight: 400;
    font-family: 'Oswald', sans-serif;
    color: #b59471;
}

.lastContainer {
    width: 100%;
    border-bottom: solid 10px #b59471;
}

    .lastContainer img {
        width: 100%;
    }

/* PAGE */
#content {
    width: 100%;
    margin: 0 auto;
    padding: 2% 0;
    text-align: center;
    background-color: #fff;
}

#titolo {
    color: #666;
    font-size: 16px;
    padding: 5px 0 5px 8px;
    margin: 0 0 20px 0;
    text-align: left;
    position: relative;
    background-color: #f1f1f1;
    visibility: hidden;
    /*border-radius: 8px;*/
    text-transform: lowercase;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.06em;
}

    #titolo a {
        color: #666;
    }

        #titolo a:hover {
            color: #555;
            text-decoration: underline;
        }

    #titolo u {
        text-decoration: underline;
        color: #000;
    }

#basic {
    width: 63%;
    padding: 0 2% 0 0;
}

    #basic p {
        margin: 0px 0px 10px 0px;
    }

#page_gallery {
    float: right;
    width: 35%;
    padding: 0 0 0 0;
}

#normal_gallery {
    position: initial;
    left: 0;
}
/*per mobile*/
.full_gallery_left {
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 0.5%;
    margin: 0px;
    list-style: none;
    vertical-align: top;
    height: auto;
    padding: 0 0 0 0;
    margin: 0 0 2% 1%;
    position: relative;
    width: 49%;
}

.full_gallery_right {
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 0.5%;
    margin: 0px;
    list-style: none;
    vertical-align: top;
    height: auto;
    padding: 0 0 0 0;
    margin: 0 1% 2% 0;
    position: relative;
    width: 49%;
}

.full_gallery_dida {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    display: none;
    font-size: 100%;
}

.dida_text {
    background-color: #ddd;
    display: inline-block;
    padding: 0.5% 2%;
    font-size: 100%;
    opacity: 0.7;
    filter: Alpha(Opacity=70);
    -webkit-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
}

#up_arrow {
    position: fixed;
    bottom: 30px;
    right: var(--containerPadding);
    max-width: 50px;
    display: none;
    z-index: 986;
    cursor: pointer;
}


/* FOOTER */
#footer_img_mobile {
    display: none;
}

#footer {
    clear: both;
    width: 100%;
    padding: 0;
    text-align: left;
    background-color: #000c;
    min-height: 360px;
    color: #fff;
}

    #footer img {
        margin: 15px 0;
    }

    #footer div {
        margin: 5px 0;
    }

        #footer div .footSocial img {
            margin: 20px 10px 0 -2px;
        }

            #footer div .footSocial img:hover {
                opacity: 0.85;
            }

    #footer a {
        color: #a78e6f;
    }

        #footer a:hover {
            color: #ccc;
        }

    #footer div[mod~=colored] {
        margin: 20px 0 0 0;
        color: #a78e6f;
    }

    #footer span {
        display: block;
        margin: 35px 0 10px 0;
        font-family: 'Oswald', sans-serif;
        font-size: 24px;
        font-weight: 500;
    }

    #footer #one {
        float: left;
        width: 46%;
        padding: 0px 2% 0 2%;
    }

    #footer #two {
        float: left;
        width: 25%;
        padding: 2% 0 0 0;
    }

    #footer #three {
        float: left;
        width: 25%;
        padding: 2% 0 0 0;
    }

        #footer #three a {
            color: #fff;
        }

            #footer #three a:hover {
                color: #ccc;
            }

#div_copy {
    background-color: transparent;
}

#copy {
    width: 100%;
    text-align: right;
    font-size: 80%;
    padding: 3% 0 3% 0;
    color: #999;
}

    #copy a {
        color: #999;
    }

        #copy a:hover {
            color: #aaa;
        }


/* PRODOTTI */
.prodotti {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    font-size: 0;
}

    .prodotti #selection {
        float: right;
        text-align: center;
        width: 180px;
        padding: 0px 15px;
        height: 40px;
        margin: 0 0 0 0;
        background-color: #fff;
        color: #003960;
        font-weight: 300;
        font-family: 'Oswald', sans-serif;
        border: 0px solid #333;
        font-size: 16px;
        border: solid 2px #f2f2f2;
        -webkit-appearance: none;
        appearance: none;
        outline: none;
        border-radius: 0px;
    }

        .prodotti #selection option {
            padding: 0 0;
            font-weight: 300;
        }

    .prodotti .introProdotti {
        width: 80%;
        margin: 0 auto;
        font-size: 16px;
        line-height: 22px;
        font-family: 'Barlow', sans-serif;
        font-weight: 400;
        color: #222;
    }

        .prodotti .introProdotti[mod~=introCategorie] {
            max-width: 600px;
            font-style: italic;
        }

        .prodotti .introProdotti ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

            .prodotti .introProdotti ul li {
                text-transform: uppercase;
                margin: 0px 0;
                font-weight: 500;
            }



    .prodotti .intesta {
        width: 100%;
        margin: 60px auto 0 auto;
        text-align: center;
    }

        .prodotti .intesta span {
            padding: 5px 55px;
            background-color: #003960;
            font-size: 22px;
            line-height: 22px;
            font-weight: 300;
            font-family: 'Oswald', sans-serif;
            color: #f4f4f4;
            text-transform: uppercase;
            border-radius: 10px;
            border: solid 2px #eee;
            background: rgb(0,57,96);
            background: -moz-linear-gradient(left, rgba(0,57,96,1) 0%, rgba(40,123,176,1) 50%, rgba(0,57,96,1) 100%);
            background: -webkit-linear-gradient(left, rgba(0,57,96,1) 0%,rgba(40,123,176,1) 50%,rgba(0,57,96,1) 100%);
            background: linear-gradient(to right, rgba(0,57,96,1) 0%,rgba(40,123,176,1) 50%,rgba(0,57,96,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#003960', endColorstr='#003960',GradientType=1 );
        }

    .prodotti .prodotto { /* listing  */
        display: inline-block;
        vertical-align: top;
        width: calc(33% - 6% - 20px);
        padding: 0 3%;
        margin: 30px 10px;
        background-color: #fff;
        cursor: pointer;
    }
        /*
            .prodotti .prodotto:hover {
                background-color: #f8f8f8;
                border-radius:50px;
            }*/



        .prodotti .prodotto img { /* listing - img */
            width: 80%;
            max-width: 400px;
        }

            .prodotti .prodotto img[mod~=primaFoto] { /* listing - img */
                margin-top: -25px;
            }

        .prodotti .prodotto div {
            margin: 10px 0 0 0;
        }

            .prodotti .prodotto div a { /* listing - titolo prodotto */
                font-family: 'Oswald', sans-serif;
                font-size: 38px;
                line-height: 38px;
                font-weight: 400;
                font-family: 'Oswald', sans-serif;
                color: #125d91;
            }

        .prodotti .prodotto p { /* listing - sottotitolo prodotto */
            background-color: #fff;
            margin: 10px 0;
            /*width: calc(100% - 50px);
            padding:5px 25px;*/
            padding: 0 0;
            font-size: 22px;
            line-height: 24px;
            font-weight: 300;
            font-family: 'Oswald', sans-serif;
            color: #125d91;
        }

.prodotto:hover > div a {
    color: #2581c1;
    transition: all ease 0.4s;
}

.prodotto:hover > p {
    transition: all ease 0.8s;
    color: #555;
}

.barraListing {
    width: 70%;
    text-align: center;
    height: 2px;
    max-height: 2px;
    min-height: 2px;
    background-color: #f2f2f2;
    border: solid 0px #dfdfdf;
    margin: 0px auto 50px auto;
    clear: both;
}

/* SCHEDE comune a tutte (news, media, comunicati, ecc.) */
.scheda_left {
    float: left;
    width: 40%;
    padding-right: 2%;
}

    .scheda_left #catalogo_slider {
        width: 100%;
    }

.scheda_right {
    float: left;
    width: calc(56% - 2px);
    border-left: solid 2px #f2f2f2;
    padding-left: 2%;
}

    .scheda_right t {
        display: block;
        font-size: 38px;
        line-height: 38px;
        margin: 0px 0 15px 0;
        font-weight: 400;
        font-family: 'Oswald', sans-serif;
        color: #125d91;
    }

    .scheda_right s {
        display: block;
        margin: 0px 0 15px 0;
        text-decoration: none;
        font-size: 22px;
        line-height: 24px;
        font-weight: 300;
        font-family: 'Oswald', sans-serif;
        color: #125d91;
    }

#main_form {
    display: none;
}

.scheda_right .schedaTecnica {
    width: 100%;
}

    .scheda_right .schedaTecnica p {
        margin: 20px 0 0 0;
        padding: 1px 0 1px 10px;
        background-color: #f2f2f2;
        font-weight: 500;
    }

    .scheda_right .schedaTecnica div {
        width: 100%;
        padding: 1px 0;
        border-bottom: solid 1px #f2f2f2;
        font-size: 16px;
    }

        .scheda_right .schedaTecnica div span {
            width: calc(60% - 10px);
            padding: 0 0 0 10px;
            display: inline-block;
        }

    .scheda_right .schedaTecnica nb {
        font-size: 14px;
        display: block;
        margin: 20px 0 0 0;
        padding: 0 0 0 10px;
    }


.descData {
    width: 68%;
    padding: 0 2% 0 0;
    display: inline-block;
    vertical-align: top;
}

    .descData p::before {
        content: '|';
        font-size: 14px;
        color: #bbb;
        margin: 0 8px 0 -10px;
    }

    .descData p {
        margin: 0 0 10px 10px;
    }

.descColori {
    width: 30%;
    display: inline-block;
    vertical-align: top;
}

    .descColori p {
        margin: 0 0 5px 0;
        padding: 0px 0 4px 0;
        border-bottom: solid 2px #f1f1f1;
        font-weight: 500;
    }

    .descColori div {
        padding: 1px 0 1px 3px;
        font-size: 16px;
        font-style: normal;
    }

    .descColori span {
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 10px;
        border: solid 1px #888;
        margin: 0 5px 0 0;
    }

    .descColori .certificazioni {
        margin:30px 0 5px 0;
    }

    .descColori img {
        vertical-align: top;
        border: 0;
        margin: 0 0px 0 0;
    }

.scheda_right .allegati {
    background-color: #eae7e0;
    width: calc(100% - 10px);
    margin: 20px 0;
    color: #000;
    padding: 10px 0 10px 10px;
    border-radius: 0px;
    font-weight: 500;
}

    .scheda_right .allegati span {
        color: #000;
        font-weight: 400;
    }

        .scheda_right .allegati span:hover {
            color: #3380b5;
        }


.scheda_right .infoRequest {
    width: calc(100% - 30px);
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #003960;
    font-size: 22px;
    line-height: 22px;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    color: #f4f4f4;
    cursor: pointer;
    text-align: right;
}

    .scheda_right .infoRequest:hover {
        background-color: #04243a;
        color: #fff;
    }

#main_form {
    margin: 0 0 100px 0;
}



.striscia {
    color: #fff;
    width: 94%;
    padding: 2% 3% 1% 3%;
    text-align: right;
    margin: 0 0 5% 0;
    font-size: 120%;
    font-weight: bold;
    background-color: #eee;
}

.scheda_date {
    font-size: 80%;
}

.scheda_title {
    font-size: 160%;
    margin: 1% 0 0 0;
    color: #000;
    line-height: 30px;
    font-weight: bold;
}

.scheda_s_title {
    font-size: 120%;
    font-style: normal;
    margin: 0 0 1% 0;
}

.schede_didascalia {
    padding: 0%;
    margin: 0px auto;
    white-space: nowrap;
    color: #fff;
    text-align: center;
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
}

.schede_didascalia_txt {
    font-size: 120%;
    color: #333;
    background-image: url(/images/buttons/transparent.png);
    padding: 1% 2%;
    display: inline-block;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

/* SCHEDE elenco*/
.div_cat_img {
    float: left;
    width: 30%;
    margin: 0 0 2% 0;
    position: relative;
}

    .div_cat_img img {
        width: 100%;
    }

.div_cat_title {
    float: left;
    width: 68%;
    font-size: 120%;
    padding-left: 2%;
    line-height: 17px;
}
    /* media queries */
    .div_cat_title a {
        color: #000;
        font-weight: bold;
    }

        .div_cat_title a:hover {
            color: #111;
        }

.black_cover {
    width: 100%;
}

.video_cover {
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.video_icon {
    max-height: 35px;
    max-width: 35px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.div_cat_img:hover .video_icon {
    opacity: 0.7;
}

.allegati {
    background-color: #f2f2f2;
    margin: 20px 0;
    color: #666;
    padding: 1% 0 1% 2%;
}

    .allegati span {
        color: #000;
    }


/* media */
.media_grid {
    width: 100%;
    margin: 0;
    padding: 0;
}
/*contenitore*/
.media {
    padding: 0px;
    background-color: #fff;
    font-size: 100%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
/*comune a tutti*/

.media_li {
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 0.5%;
    margin: 0px;
    list-style: none;
    vertical-align: top;
    width: 24%;
}

    .media_li img { /*width:230px; height:230px; min-width:230px;  max-width:230px;*/
        background-image: url(/images/buttons/transparent.png)
    }

.video_btn {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    z-index: 200000;
    display: none;
}

.magic {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0;
    width: 200px;
    height: 200px;
    margin: auto;
    z-index: 300000;
    background-color: #333;
    color: white;
    font-size: 120%;
    cursor: pointer;
    opacity: 0;
    filter: Alpha(Opacity=0);
}

    .magic div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        text-align: center;
        width: 90%; /*testo su magic*/
    }

.media_title {
    font-size: 90%;
}

.media_back {
    display: inline-block;
    margin: 2% 0;
    background-color: #666;
    color: #ccc;
    padding: 1% 1.5% 1% 0.5%;
    font-size: 100%;
    cursor: pointer;
    -webkit-border-radius: 0px 20px 20px 0px;
    border-radius: 0px 20px 20px 0px;
    -moz-border-radius: 0px 20px 20px 0px;
}

/* form element */
.form_container {
    background-color: #f6f6f6;
    width: 92%;
    padding: 3% 4%;
}

.form_left {
    float: left;
    width: 50%;
    text-align: left;
    padding: 0;
    margin: 0;
}

.form_right {
    float: left;
    width: 50%;
    text-align: right;
    padding: 0;
    margin: 0;
}

#search_txt {
    background-color: #eee;
    height: 49px;
    border: 0;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
    padding: 0 0 0 4px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#search_btn {
    background-image: url(/images/buttons/search.png);
    background-repeat: no-repeat;
    width: 35px;
    height: 25px;
    border: 0;
    vertical-align: top;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent;
    cursor: pointer;
    margin: 13px 0 0 12px;
}

.textboxes {
    width: 90%;
    min-height: 16px;
    padding: 15px 10px;
    margin: 0 0 15px 0;
    color: #555;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-border-radius: 2px;
}

.dropdown {
    width: 90%;
    max-width: 370px;
    padding: 1%;
    margin: 0 0 1.5% 0;
    background-color: #fff;
    color: #555;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-border-radius: 2px;
}

.textarea {
    width: 98%;
    padding: 1%;
    margin: 1% 0 0 0;
    float: left;
    color: #555;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-border-radius: 2px;
}

.form_text {
    width: 90%;
    max-width: 300px;
    margin: 1px 5px 5px 0px;
    padding: 10px 10px;
    color: #000;
    background-color: transparent;
    font-size: 15px;
    font-style: italic;
    border: solid 1px #ddd;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#div_form select {
    width: calc(90% + 20px);
    max-width: 322px;
    margin: 1px 5px 5px 0px;
    padding: 10px 10px;
    color: #000;
    background-color: transparent;
    font-size: 15px;
    font-style: italic;
    border: solid 1px #ddd;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(/images/buttons/down_arrow.png);
    background-repeat: no-repeat;
    background-position: 98% 50%
}

.infoxIntesta {
    font-size: 22px;
    line-height: 22px;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    color: #125d91;
    margin: 0 0 10px 0;
}

.consenso {
    font-size: 22px;
    line-height: 22px;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    color: #125d91;
}

.btn {
    padding: 10px 60px;
    margin: 10px 0;
    background-color: #222;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    border: 0px solid #333;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
}

    .btn:hover {
        background-color: black;
    }



/* contatti */
.formIntro {
    font-size: 22px;
    line-height: 22px;
    font-weight: 300;
    font-family: 'Oswald', sans-serif;
    margin: 0 0 10px 0;
}

.contatti_left {
    float: left;
    width: 48%;
    padding: 10px 2% 30px 0;
}

    .contatti_left div {
        font-size: 16px;
        margin: 5px 0;
        font-weight: 400;
    }

    .contatti_left span {
        font-size: 20px;
        display: block;
        margin: 0 0 20px 0;
        font-weight: 500;
    }

.contatti_right {
    float: left;
    width: 50%;
    text-align: right;
    padding: 20px 0 30px 0;
}


/* richiesta info*/
.form_container {
    background-color: #fff;
    width: calc(100% - 60px - 2px);
    padding: 30px 30px;
    margin: 0 0 20px 0;
    border: solid 1px #eee;
}

.info_intro {
    margin: 0 0 20px 0;
    font-size: 13px;
    text-align: left;
}

.form_l, .form_r {
    float: left;
    width: 50%;
}

.form_r {
    text-align: right;
}

.form_container span, #area_span {
    position: relative;
}

#area_span {
    display: block
}

.form_container .labeling {
    position: absolute;
    top: -24px;
    left: 0;
    background-color: #2178b3;
    padding: 0px 2px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    height: 13px;
    line-height: 13px;
    white-space: nowrap;
    display: none;
}

.form_container #area_span .labeling {
    bottom: 0;
    top: auto;
    left: 0;
    display: none;
}

.textboxes {
    width: 90%;
    min-height: 16px;
    max-width: 700px;
    padding: 12px 2%;
    margin: 0 0 20px 0;
    color: #313944;
    font-weight: 500;
    font-family: inherit;
    font-size: 16px;
    border: 1px solid #f2f2f2;
    background-color: #f2f2f2;
    -webkit-border-radius: 2px;
    border-radius: 8px;
    -moz-border-radius: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Oswald', sans-serif;
}

.dropdown {
    width: 94%;
    min-height: 16px;
    max-width: calc(700px + 4%);
    padding: 12px 2%;
    margin: 0 0 20px 0;
    color: #313944;
    font-weight: 500;
    font-family: inherit;
    font-size: 16px;
    border: 1px solid #f2f2f2;
    -webkit-border-radius: 2px;
    border-radius: 8px;
    -moz-border-radius: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(/images/buttons/down_arrow.png);
    background-repeat: no-repeat;
    background-position: 98% 50%;
    font-family: 'Oswald', sans-serif;
}

.textboxes[mod~=long_textbox] {
    width: 98%;
    max-width: 1800px;
    padding: 12px 1%;
}

.textarea {
    width: calc(100% - 2% - 2px);
    min-height: 16px;
    padding: 1%;
    margin: 0 0 0 0;
    color: #313944;
    font-weight: 500;
    line-height: 20px;
    font-family: inherit;
    font-size: 16px;
    border: 1px solid #f2f2f2;
    -webkit-border-radius: 2px;
    border-radius: 8px;
    -moz-border-radius: 2px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Oswald', sans-serif;
}


#ctl07_lab_privacy_1 {
    font-size: 20px;
}



#selection {
    width: 90%;
    max-width: 370px;
    padding: 1%;
    margin: 0 0 2% 0;
    background-color: #eee;
    color: #000;
    border: 1px solid #ccc;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-border-radius: 2px;
}






.cookies {
    position: fixed;
    z-index: 10000000;
    bottom: 0;
    width: 96%;
    color: #333;
    text-align: center;
    background-color: #fff;
    border-top: solid 2px #bbb;
    margin: 0 auto;
    padding: 0.5% 2%;
}

.cookies_btn {
    padding: 4px 6px;
    background-color: #eee;
    color: #333;
    border: 0;
    cursor: pointer;
    font-size: 90%;
    margin: 5px 5px;
}

.cookies img {
    float: right;
    cursor: pointer;
}


/************************************************************************************
MOBILE
*************************************************************************************/

@media screen and (max-width: 999px) {
    body { /*background-color:#fff;*/
    }

    /*test*/
    #burger {
        z-index: 200;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 27px;
        background: #2978ac;
        height: 6px;
        width: 32px;
        cursor: pointer;
        transition: all 0.5s;
    }

        #burger:before {
            transition: all 0.5s;
            content: '';
            position: absolute;
            right: 0px;
            left: 0;
            top: -9px;
            background: #266895;
            height: 6px;
            width: 32px;
        }

        #burger:after {
            transition: all 0.5s inline;
            content: '';
            position: absolute;
            right: 0px;
            left: 0;
            top: 9px;
            background: #266895;
            height: 6px;
            width: 32px;
        }

        #burger.opened {
            background: #105381;
            z-index: 200;
            transform: rotate(45deg);
        }

            #burger.opened:before {
                background: #105381;
                transform: rotate(90deg);
                top: 0;
            }

            #burger.opened:after {
                display: none;
            }

    /* fine test */

    .log_div {
        display: none;
    }

    .no_pad_flexslide {
        cursor: default;
    }
    /* general */
    #top {
        display: none;
    }

    .pagewrap_header {
        border: 0px;
        display: none;
    }

    .pagewrap_page {
        width: calc(100% - 40px);
        padding: 20px 20px 0 20px;
    }

    #logo {
        display: none;
    }

    #logo_mobile {
        width: 100%;
        max-width: 269px;
        padding: 2% 0 0 0;
        margin: 0px;
        border: 0px;
        vertical-align: top;
        display: block;
    }

    #mobile_lang {
        display: block;
    }

    #lingue {
        display: none;
        font-size: 160%;
    }

    .lang {
        float: none;
        margin: 3% 0 0 0;
    }

        .lang a {
            color: #ccc;
        }

    .active_lang {
        float: none;
        color: #fff;
    }

        .lang img, .active_lang img {
            max-width: 25px;
        }


    /* home page */
    .flex-caption {
        top: auto;
        bottom: 0;
        width: 90%;
        padding: 2% 5%;
    }
    /* margin-left contrasta il left al 6% dovuto all'animazione */
    .caption_title {
        font-size: 38px;
    }

        .caption_title p strong { /* caption grande in BOLD */
            display: inline-block;
            font-family: 'Oswald', sans-serif;
            margin: 0;
            padding: 10px 10px;
            font-size: 40px;
            line-height: 40px;
            color: #fff;
            border-bottom: solid 0px #fff;
            background-color: #44444480;
            border-radius: 10px;
        }

    .box_container {
        padding: 2% 0;
        font-size: 80%;
    }

    .home_1 {
        float: none;
        width: 100%;
    }

    .home_2 {
        float: none;
        width: 100%;
        margin: 0 0;
    }

    .home_3 {
        float: none;
        width: 100%;
    }

    .home_box_title {
        margin: 40px auto 0 auto;
    }

    .home_big_title {
        margin-bottom: 30px;
    }

    .homePhilo1 {
        width: 94%;
        padding: 30px 3% 100px 3%;
        height: auto;
    }

    .homePhilo2 {
        width: 94%;
        margin: 10px 0 10px 0; /* per sfalsarlo */
        padding: 0 0;
        height: calc(400px - 20px);
        border-bottom: solid 0px #fff; /* il bordo simula lo sfondo continuo */
    }

    /* footer */
    #footer {
    }

        #footer #one {
            float: none;
            width: calc(100% - 40px);
            padding: 20px 20px;
            display: block;
        }

        #footer #two {
            float: none;
            width: calc(100% - 40px);
            padding: 20px 20px 60px 20px;
        }

        #footer #three {
            display: none;
        }

        #footer span {
            display: block;
            margin: 0px 0 10px 0;
            font-family: 'Oswald', sans-serif;
            font-size: 24px;
            font-weight: 500;
        }

    #up_arrow {
        bottom: 20px;
        right: 20px;
        max-width: 50px;
        display: none;
        z-index: 986;
        cursor: pointer;
    }

    #titolo { /*font-size:130%;*/
        padding: 2% 0 2% 2%;
        margin: 0px 0 0 0;
    }

        #titolo .home_link { /*visibility:hidden;*/
            display: none;
        }

    /* CATALOGO mobile */
    .prodotti #selection {
        float: none;
        margin: 10px 0 0 0;
    }

    .prodotti .introProdotti {
        width: 100%;
    }

        .prodotti .introProdotti[mod~=introCategorie] {
            max-width: 600px;
        }

        .prodotti .introProdotti ul li {
            margin: 10px 0;
        }

    .prodotti .intesta {
        margin: 60px auto 0 auto;
        text-align: center;
    }

    .prodotti .prodotto {
        width: 100%;
        padding: 0 0;
        margin: 20px 0px;
    }

        .prodotti .prodotto img { /* listing - img */
            max-width: 300px;
        }

            .prodotti .prodotto img[mod~=primaFoto] { /* listing - img */
                margin-top: -15px;
            }


        .prodotti .prodotto div a {
            font-size: 30px;
            line-height: 40px;
        }

    .descData {
        width: 100%;
        padding: 0 0 0 0;
    }

    .descColori {
        width: 100%;
        padding: 0 0 0 0;
        margin: 20px 0;
    }

    .scheda_right .schedaTecnica div {
        font-size: 14px;
    }

    .scheda_right .schedaTecnica v {
        font-size: 12px;
    }

    /* SCHEDE comune a tutte (news, media, comunicati, ecc.) */
    .schede_left {
        float: none;
        width: 100%;
        padding-right: 0;
    }

    .schede_right {
        float: none;
        width: 100%;
        border-left: solid 0px #eee;
        padding-left: 0;
    }

    #content {
        padding: 0 0;
        max-width: 1000px;
        width: 100%;
        margin: 0px auto 0 auto;
        text-align: center;
        clear: both;
    }

    #lab_social {
        display: none;
    }

    #social {
        display: none;
    }

    #no_gallery {
        display: none;
    }

    #bar_1 {
        display: none;
    }

    .one_only_photo_L {
        float: none;
        margin: 0 0 3% 0;
        max-width: 100%;
    }

    .one_only_photo_R {
        float: none;
        margin: 0 0 3% 0;
        max-width: 100%;
    }

    #page_gallery {
        float: none;
        width: 100%;
        padding: 2% 0 0 0;
    }

    #normal_gallery {
        position: relative;
        left: -1%;
    }
    /*UL centro il padding-left del 2%*/
    #basic {
        width: 100%;
        padding: 0 0 0 0;
    }

    .full_gallery_left {
        padding: 0 0 0 0;
        margin: 0 0 2% 0;
        width: 100%;
    }

    .full_gallery_right {
        padding: 0 0 0 0;
        margin: 0 0 2% 0;
        width: 100%;
    }

    .full_gallery_dida {
        font-size: 90%;
    }

    .barra {
        display: none;
    }


    #footer {
        height: auto;
    }

    #footer_img {
        display: none;
    }

    #footer_img_mobile {
        display: block;
    }

    #footer {
        padding: 1.5% 0;
    }

        #footer #foot_all {
            line-height: 13px;
            width: 100%;
            padding: 5% 0 0 0;
        }

            #footer #foot_all #one {
                float: none;
                width: 100%;
                margin: 0 0 3% 0;
            }

            #footer #foot_all #two {
                float: none;
                width: 100%;
                font-size: 110%;
                padding: 0 0 0 6px;
                line-height: 18px;
            }


    #div_copy {
        background-image: url(/images/buttons/black_transparent.png);
    }

    #copy {
        width: 100%;
        text-align: center;
        padding: 1% 0 1% 0;
        margin: 6% 0 0 0;
        color: #333;
    }

        #copy a {
            color: #333;
        }


    /*pagina */
    .scheda_tecnica_pagina {
        width: 100%;
        background-image: none;
        padding: 0 0;
    }


    .bg_fixed {
        /*background-attachment:scroll;*/ /*su mobile background-attachment:fixed*/
    }

    /* slideshow */
    #flex_container {
        min-height: 0;
        padding-top: 0px;
    }

    .flex-direction-nav {
        display: none;
    }

    .flex-control-nav {
        left: 10px;
        bottom: 0;
        display: none;
    }

        .flex-control-nav flex-control-paging {
        }

    .flex-control-paging li a {
        width: 5px;
        height: 5px;
    }


    /* catalogo */
    #selection {
        width: 100%;
        padding: 3% 0;
    }

    .div_cat_title {
        width: 100%;
        float: none;
        padding-left: 0;
    }

    .div_cat_img {
        width: 100%;
        float: none;
    }

        .div_cat_img img {
            width: 100%;
            max-width: 250px;
        }

    .cat_title {
        font-size: 120%;
        margin: 1% 0 1% 0;
    }

    .cat_s_title {
        display: block;
        margin: 0 0 1% 0;
    }

    .cat_desc {
        font-size: 90%;
    }

    .cat_barra {
        width: 80%;
        height: 1px;
        max-height: 1px;
        min-height: 1px;
        margin: 5% 0;
        background-color: #eee;
    }

    .allegati {
        margin: 2% 0;
        font-size: 110%;
        color: #fff;
        padding: 1% 0 1% 8%;
    }

    .scheda_left {
        float: none;
        width: 100%;
        padding: 0 0;
    }

    .scheda_right {
        float: none;
        width: 100%;
        padding: 0 0 0 0;
        border-left: 0;
    }

    #div_back {
        display: none;
    }

    .black_cover {
        display: none;
    }

    .video_cover {
        width: 100%;
        max-height: 90%;
        max-width: 100%;
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    .video_icon {
        display: none;
    }

    /* contatti */
    .contatti_left {
        float: none;
        width: 100%;
    }

    .contatti_right {
        float: none;
        text-align: left;
        padding: 2% 0;
        width: 100%;
    }

    /* richiesta info */
    .form_container {
        background-color: #f6f6f6;
        width: 94%;
        padding: 2% 3%;
        margin: 20px 0 20px 0;
    }

    .info_intro {
        margin: 0 auto 20px auto;
        text-align: center;
    }

    .form_l, .form_r {
        float: none;
        width: 100%;
    }

    .form_r {
        text-align: left;
    }

    .textboxes {
        width: 96%;
        padding: 12px 2%;
        margin: 0 0 18px 0;
    }

    .dropdown {
        width: 100%;
        padding: 12px 2%;
        margin: 0 0 18px 0;
    }

    .textarea {
        width: 96%;
        padding: 1% 2%;
    }

    #span_captcha {
        display: inline-block;
    }

    #ctl07_check_captcha {
        display: inline-block;
    }

    #ctl07_convalida {
        padding-left: 6%;
    }

    #ctl07_lab_privacy_1 {
        display: inline;
        font-size: 20px;
        margin: 0 0 30px 0;
    }

    .form_container span {
        display: block;
    }

    .form_container br {
        display: none;
    }

    .form_container .labeling {
        top: -11px;
        left: 0;
    }

    .scheda_left #catalogo_slider {
        max-width: 500px;
        margin: 0 auto;
    }

    /* media */
    .media_grid {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    /*contenitore*/
    .media {
    }
    /*comune a tutti*/

    .media_normal {
        margin: 0 1% 0 1%;
        width: 98%;
        height: auto;
    }

    .media_li {
        padding: 1%;
        margin: 1% auto;
        width: 98%;
        text-align: center;
        background-color: transparent;
    }

        .media_li img {
            width: auto;
            height: auto;
            min-width: 0;
            max-width: 320px;
        }

    .magic {
        position: relative;
        display: block;
        width: auto;
        height: auto;
        margin: auto;
        background-color: #E8EACE;
        color: #333;
        font-size: 120%;
        padding: 1%;
        opacity: 100;
        filter: Alpha(Opacity=100);
    }

        .magic div {
            position: relative;
            top: auto;
            left: auto;
            transform: none;
            text-align: center;
            width: 100%; /*testo su magic*/
        }

    .media_back {
        padding: 3%;
        font-size: 100%;
        -webkit-border-radius: 0px;
        border-radius: 0px;
        -moz-border-radius: 0px;
    }


    /* nav */
    #menu_spacing {
        clear: both;
        display: block;
        margin-top: 50px;
    }
    /*margin-top corrisponde ad altezza DIV dentro menu-icon*/

    #menu-icon {
        display: block;
        color: #777;
        width: 100%;
        padding: 0;
        margin: 0;
        cursor: default;
        border-bottom: solid 0px #fff;
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        z-index: 9999999; /*change position:absolute per menu lunghi*/
    }

    #menu_left {
        width: 20%;
        height: 60px;
        float: left;
        margin: 0 auto;
        text-align: center;
        position: relative;
        background-color: #fff;
    }

    #menu_right {
        width: 80%;
        height: 60px;
        float: left;
        position: relative;
        background-color: white;
    }

        #menu_right span {
            display: inline-block;
            margin: 10px 0 0 20px;
            font-size: 32px;
            font-weight: 400;
            color: #857361;
        }

        #menu_right img {
            width: 46px;
            float: right;
            margin: 8px 20px 0 0;
        }

    #menu_mobile {
        padding: 2%;
        background-color: #fff;
        z-index: 9999999;
    }

    #nav_mobile {
        padding: 0;
        margin: 0;
    }

        #nav_mobile li {
            width: 90%;
            margin: 0 auto;
            text-align: center;
            padding: 2% 0;
            background-color: #cdcdcd;
            color: #000;
            font-weight: 500;
            margin-top: 10px;
            float: none;
            display: block;
            cursor: pointer;
            -webkit-tap-highlight-color: #0084d9;
            border-radius: 6px;
        }

        #nav_mobile ul {
            padding: 0;
            margin: 0;
        }

            #nav_mobile ul li {
                width: 80%;
                margin: 0 auto;
                text-align: center;
                margin-top: 5px;
                padding: 2% 0;
                background-color: #fff;
                border: solid 1px #dbe8ef;
                color: #000;
                -webkit-border-radius: 5px;
                border-radius: 5px;
                -moz-border-radius: 5px;
            }

    #menu_more {
        margin: 0 auto;
        text-align: center;
        padding: 0 0 2% 0;
    }
    /*social e lingue */

    #pagewrap_nav {
        display: none;
    }

    #nav {
        display: none;
    }

    /*cookies*/
    .cookies img {
        margin: 1% 0 1% 2%;
    }
}

@media screen and (max-width: 450px) {
}

@media screen and (max-width: 350px) {
}

@media screen and (min-width: 800px) {
}

@media screen and (min-width: 1000px) {

    :root {
        --containerPadding: 1%;
    }
}

@media screen and (min-width: 1100px) {
    :root {
        --containerPadding: 2%;
    }
}

@media screen and (min-width: 1200px) {
    :root {
        --containerPadding: 3%;
    }
}

@media screen and (min-width: 1300px) {
    :root {
        --containerPadding: 4%;
    }
}

@media screen and (min-width: 1400px) {
    /*
    :root {
        --containerPadding: 5%;
    }*/

}

@media screen and (min-width: 1500px) {
    /*
    :root {
        --containerPadding: 6%;
    }*/

}

@media screen and (min-width: 1700px) {
    :root {
        --containerPadding: 8%;
    }
}

@-webkit-keyframes color_change {
    0% {
        font-size: 1px;
        color: #B5CC5D;
    }

    10% {
        font-size: 34px;
        color: #ddd;
    }

    30% {
        color: #B5CC5D;
        font-size: 34px;
    }

    100% {
        color: #B5CC5D;
        font-size: 34px;
    }
}

@keyframes color_change {
    0% {
        font-size: 1px;
        color: #B5CC5D;
    }

    10% {
        font-size: 34px;
        color: #ddd;
    }

    30% {
        color: #B5CC5D;
        font-size: 34px;
    }

    100% {
        color: #B5CC5D;
        font-size: 34px;
    }
}




/************************************************************************************
/* MISCELLANEOUS */
/*************************************************************************************/

/* Flexslider */
.inside {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    background-color: #f8f8f8;
    background-size: cover;
    background-position: center center;
}
/* background-position gestito su do_the_settings()*/


#flex_container {
    position: relative;
}

#backSliderImg {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 110;
    /*display: none;*/
}

#flexslider {
    min-height: 1000px;
}

.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flexslider {
    margin: 0;
    padding: 0;
}

    .flexslider .slides > li {
        display: none;
        -webkit-backface-visibility: hidden;
    }
    /* Hide the slides before the JS is loaded. Avoids image jumping */
    .flexslider .slides img {
        width: 100%;
        display: block;
    }

.flex-pauseplay span {
    text-transform: capitalize;
}

.slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

.no-js .slides > li:first-child {
    display: block;
}

.flexslider {
    margin: 0 0 0;
    background: transparent;
    border: 0px solid #333;
    position: relative;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    zoom: 1;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.flexslider .slides {
    zoom: 1;
}

.carousel li {
    margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}

    .flex-direction-nav a {
        text-decoration: none;
        display: block;
        border: solid 0px #000;
        width: 31px;
        margin: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 10;
        max-height: 90%;
        max-width: 90%;
        position: absolute;
        top: 40%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        overflow: hidden;
        opacity: 0;
        cursor: pointer;
        color: rgba(0,0,0,0.8);
        text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
        -webkit-transition: all .3s ease;
        -moz-transition: all .3s ease;
        transition: all .3s ease;
    }

    .flex-direction-nav .flex-prev {
        left: -120%;
    }

    .flex-direction-nav .flex-next {
        right: -120%;
        margin-right: 120%;
        text-align: right;
    }
/* fa coincidere right e margin-right */
.flexslider:hover .flex-prev {
    opacity: 0.7;
    left: -94%;
}

.flexslider:hover .flex-next {
    opacity: 0.7;
    right: -77%;
    margin-right: 79%;
}

    .flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
        opacity: 1;
    }

.flex-direction-nav .flex-disabled {
    opacity: 0 !important;
    filter: alpha(opacity=0);
    cursor: default;
}

.flex-direction-nav a:before {
    font-family: "flexslider-icon";
    font-size: 40px;
    display: inline-block;
}

.flex-direction-nav a.flex-next:before {
}

/* Control Nav */
.flex-control-nav {
    width: auto;
    position: absolute;
    margin: 0 auto;
    bottom: 40px;
    right: var(--containerPadding);
    z-index: 858;
}
    /*posizione pallini */
    .flex-control-nav li {
        margin: 10px 10px 0 0;
        display: inline-block;
        zoom: 1;
        *display: inline;
    }

.flex-control-paging li a {
    width: 20px;
    height: 8px;
    display: block;
    background-color: #25628b;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 3px;
}

    .flex-control-paging li a:hover {
        background: #ddd;
        border: solid 0px #FFC730;
    }

    .flex-control-paging li a.flex-active {
        background: #fff;
        border: solid 0px #FFC730;
        cursor: default;
    }

.flex-control-thumbs {
    margin: 0 auto;
    position: static;
    overflow: hidden;
    text-align: center;
}
    /* dimensioni e margine delle ANTEPRIME*/
    .flex-control-thumbs li {
        width: 19%;
        margin: 1% 1% 1% 0;
        border: solid 1px #eee;
    }

    .flex-control-thumbs img {
        width: 100%;
        cursor: pointer;
    }

        .flex-control-thumbs img:hover {
            opacity: 1;
        }

    .flex-control-thumbs .active {
        opacity: 1;
        cursor: default;
    }

/* VARIE */
h1 {
    line-height: 100%;
    font-size: 140%;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 4px;
    color: #000;
    background-color: #eee;
    padding: 0.5%;
    font-weight: normal;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
}

h2 {
    line-height: 110%;
    font-size: 130%;
    margin: 0 0 4px;
    color: #333;
}

h3 {
    line-height: 110%;
    font-size: 90%;
    margin: 0 0 4px;
    color: #666;
    font-weight: normal;
}

header {
    content: " ";
    display: table;
    margin: 0px;
    text-align: left;
}

.no_pad {
    padding: 0px;
    margin: 0px;
    border: 0px;
    vertical-align: top;
}

    .no_pad:hover {
        padding: 0px;
        margin: 0px;
        border: solid 0px #800;
        vertical-align: top;
        opacity: 0.8;
        filter: Alpha(Opacity=80);
    }

.content_img {
    float: left;
    margin: 0.3% 1% 1% 0;
    width: 65px;
    height: 65px;
}

.print_img {
    padding: 0px;
    margin: 0px 0px 0px 10px;
    border: 0px;
    vertical-align: middle;
}

.gallery_li {
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 0.5%;
    margin: 0px;
    list-style: none;
    vertical-align: top;
}

.lazy_gallery {
    padding: 0px;
    margin: 0px;
    border: 0px;
    vertical-align: top;
    width: 100%;
    border: solid 0px #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.lazy {
    padding: 0px;
    margin: 0px;
    border: 0px;
    vertical-align: top;
}

.one_only_photo_L {
    float: left;
    margin: 0 2% 1% 0;
    max-width: 35%;
}

.one_only_photo_R {
    float: right;
    margin: 0 0 1% 2%;
    max-width: 35%;
}

    .one_only_photo_L div, .one_only_photo_R div {
        text-align: center;
        background-color: #eee;
        border-top: 0;
        padding: 0;
        margin: 0;
        font-size: 80%;
        font-weight: bold;
    }

.the_bar {
    width: 90%;
    height: 2px;
    max-height: 2px;
    min-height: 2px;
    background-color: #388429;
    border: solid 0px #999;
    margin: 1.5% auto 3% auto;
    text-align: center;
}

.barra {
    width: 100%;
    height: 2px;
    max-height: 2px;
    min-height: 2px;
    background-color: #f2f2f2;
    border: solid 0px #f2f2f2;
    margin: 4% 0;
    clear: both;
}

.barrina {
    width: 100%;
    height: 1px;
    max-height: 1px;
    min-height: 1px;
    background-color: #97B309;
    border: solid 0px #999;
    margin: 4% 0 0 0;
}

.home_bar {
    width: 100%;
    height: 2px;
    max-height: 2px;
    min-height: 2px;
    background-color: #eee;
    border: solid 0px #999;
    margin: 0 0 2% 0;
}

.tags_barra {
    width: 100%;
    height: 1px;
    max-height: 1px;
    min-height: 1px;
    margin: 5px 0 5px 0;
    background-color: #fff;
}

.cat_barra {
    width: 100%;
    height: 1px;
    max-height: 1px;
    min-height: 1px;
    margin: 10px 0;
    background-color: #eee;
}

.absolute_center_img {
    max-height: 90%;
    max-width: 90%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.clouder {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: #000;
    opacity: 0.8;
    filter: Alpha(Opacity=80);
}

#page_content {
    border-top: solid 1px #aaa;
    border-bottom: solid 1px #aaa;
    padding: 1% 0;
    margin: 2% 0 0 0;
    font-size: 100%;
}

    #page_content div {
        display: inline-block;
        margin: 0 3% 0 0;
    }

        #page_content div a {
            color: #333;
        }

            #page_content div a:hover {
                color: #000;
            }


/* LOG div */
.log_div {
    position: fixed;
    top: 200px;
    left: 0;
    width: 80px;
    z-index: 1000000;
    background-color: #eee;
    font-size: 11px;
    padding: 6px;
    color: #aaa;
    box-shadow: 0px 0px 1px #444;
}

    .log_div A:link, .log_div A:visited {
        text-decoration: none;
        color: #333;
    }

    .log_div A:hover {
        color: #000;
    }

    .log_div img {
        float: right;
        border: 0px;
        vertical-align: top;
        margin: 0px;
        cursor: pointer;
    }

    .log_div div {
        display: block;
    }

/* color box GALLERY */
#colorbox, #cboxOverlay, #cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999999;
    overflow: hidden;
}

#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}

#cboxMiddleLeft, #cboxBottomLeft {
    clear: left;
}

#cboxContent {
    position: relative;
}

#cboxLoadedContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#cboxTitle {
    margin: 0;
}

#cboxLoadingOverlay, #cboxLoadingGraphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {
    cursor: pointer;
}

.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
    max-width: none;
}

.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#colorbox, #cboxContent, #cboxLoadedContent {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}
/*settings*/
#cboxOverlay {
    background: url(/images/color_box/overlay.png) repeat 0 0;
}

#colorbox {
}
/*bordo*/
#cboxTopLeft, #cboxTopRight, #cboxBottomLeft, #cboxBottomRight {
    width: 10px;
    height: 6px;
    background-color: #fff;
}

#cboxMiddleLeft, #cboxMiddleRight {
    width: 10px;
    background-color: #fff;
}

#cboxTopCenter, #cboxBottomCenter {
    height: 6px;
    background-color: #fff;
}
/*contenuti*/
#cboxContent {
    background: #fff;
    overflow: hidden;
}

.cboxIframe {
    background: #fff;
}

#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}

#cboxLoadedContent {
    margin-bottom: 28px;
}

#cboxTitle {
    position: absolute;
    bottom: 4px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #333333;
    font-size: 12px;
    font-family: Arial;
}

#cboxCurrent {
    position: absolute;
    bottom: 4px;
    left: 0px;
    color: #333333;
    font-size: 11px;
    font-family: Arial;
}

#cboxSlideshow {
    position: absolute;
    bottom: 4px;
    right: 35px;
    color: #333333;
    font-size: 11px;
    font-weight: bold;
    font-family: Arial;
}

#cboxPrevious {
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(/images/color_box/back.png) no-repeat;
    width: 0px;
    height: 0px;
    text-indent: -9999px;
}

    #cboxPrevious:hover {
    }

#cboxNext {
    position: absolute;
    bottom: 0;
    left: 25px;
    background: url(/images/color_box/next.png) no-repeat;
    width: 0px;
    height: 0px;
    text-indent: -9999px;
}

    #cboxNext:hover {
    }

#cboxLoadingOverlay {
    background: url(/images/color_box/loading_background.png) no-repeat center center;
}

#cboxLoadingGraphic {
    background: url(/images/color_box/loading.gif) no-repeat center center;
}

#cboxClose {
    position: absolute;
    bottom: 6px;
    right: 0;
    background: url(/images/color_box/close.png) no-repeat;
    width: 16px;
    height: 16px;
    text-indent: -9999px;
}

    #cboxClose:hover {
    }
/*for IE7 and IE8*/
.cboxIE #cboxTopLeft, .cboxIE #cboxTopCenter, .cboxIE #cboxTopRight, .cboxIE #cboxBottomLeft, .cboxIE #cboxBottomCenter, .cboxIE #cboxBottomRight, .cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

/*-------------finestre alert---------- */
.jqifade {
    position: absolute;
    background-color: #000;
}

div.jqi {
    position: absolute;
    background-color: #eee;
    font-size: 100%;
    text-align: left;
    border: solid 1px #eeeeee;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 7px;
}

    div.jqi .jqicontainer {
        font-weight: 500;
        z-index: 999999999999;
    }

    div.jqi .jqiclose {
        float: right;
        padding: 2px 4px;
        cursor: pointer;
        background-image: url(/images/buttons/closing.png);
        background-repeat: no-repeat;
        font-size: 0%;
        width: 16px;
        height: 16px;
    }

    div.jqi .jqimessage {
        padding: 10px;
        line-height: 20px;
        color: #444444;
        clear: both;
    }

    div.jqi .jqibuttons {
        text-align: right;
        padding: 5px 0 5px 0;
        border: solid 1px #eeeeee;
        background-color: #eee;
    }
    /*barra pulsanti*/
    div.jqi button {
        padding: 1px 10px;
        margin: 0 10px;
        background-color: #CC9524;
        border: solid 1px #f4f4f4;
        color: #333333;
        font-weight: normal;
        font-size: 10px;
        cursor: pointer;
    }

        div.jqi button:hover {
            background-color: #728A8C;
        }

        div.jqi button.jqidefaultbutton {
            background-color: #12517c;
            color: #fff;
            font-size: 22px;
            text-transform: lowercase;
        }
/*pulsante ok*/
.jqiwarning .jqi .jqibuttons {
    background-color: #fff;
}
/*pulsante ok*/

/* jquery.SHARE */
.share-square {
    -moz-transition: all 0.2s linear 0s;
    background: url("images/social-icons.png") no-repeat scroll left top transparent;
    display: inline-block;
    line-height: 0;
    margin: 0px 3px 0px 0px;
    width: 32px;
    height: 32px;
    filter: Alpha(Opacity=100);
}
    /*opacity con mouseover */
    .share-square:hover {
        opacity: 1;
        opacity: 0.7;
        filter: Alpha(Opacity=70);
    }
/* primo valore posizione orizzontale, secondo valore posizione verticale - punto 0 0 è top left (quindi tutti negativi)*/
.share-square-email {
    background: url("images/email.png") no-repeat;
    background-size: contain;
}

.share-square-facebook {
    background: url("images/facebook.png") no-repeat;
    margin-left: 0;
    background-size: contain;
}

.share-square-googleplus {
    background: url("images/google_plus.png") no-repeat;
    background-size: contain;
}

.share-square-twitter {
    background: url("images/twitter.png") no-repeat;
    background-size: contain;
}

.share-square-pinterest {
    background: url("images/pinterest.png") no-repeat;
    background-size: contain;
}

.share-square-linkedin {
    background: url("images/linkedin.png") no-repeat;
    background-size: contain;
}


@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 10px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 10px;
    }
}
