/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*{
    box-sizing:         border-box;
}

body{
    width:              100%;
    color:              #384038;
    font-size:          14px;
}

body,
input,
select,
textarea{
    font-family: 'Open Sans', Arial, sans-serif;
}

a{
    color:              #2cac74;
    text-decoration:    none;
    outline:            0 !important;
}

html,
body,
ul,
p,
h1{
    margin:             0;
    padding:            0;
}

body{
    padding-top:        120px;
}

ul{
    list-style:         none;
}

.bg-light{
    background:         #ecf4ec;
}

.nowrap{
    white-space:        nowrap;
}

.left{
    float:              left;
}

.right{
    float:              right;
}

.mainHidden{
    display:        none !important;
}

#header-wrapper{
    position:           fixed;
    top:                0;
    left:               0;
    width:              100%;
    height:             120px;
    background:         #FFF;
    z-index:            200;
}

#header-wrapper.shadow{
    -webkit-box-shadow: 0px 1px 2px 0px rgba(50, 50, 50, 0.25);
    -moz-box-shadow:    0px 1px 2px 0px rgba(50, 50, 50, 0.25);
    box-shadow:         0px 1px 2px 0px rgba(50, 50, 50, 0.25);
}

header{
    max-width:          960px;
    margin:             0 auto;
    padding-top:        30px;
}

#logo{
    float:              left;
    margin-left:        10px;
}

#logo img{
    height:             62px;
    width:              189px;
}

nav{
    float:              right;
}

nav li{
    float:              right;
    display:            inline-block;
}

nav a{
    padding:            0 15px;
    font-weight:        900;
    line-height:        60px;
    display:            block;
}

nav a:first-child{
    padding-right:      10px;
}

nav a:hover,
nav a.sel{
    color:              #384038;
}

#container{
    position:           relative;
    width:              100%;
    max-width:          960px;
    margin:             0 auto;
}

#gallery-border{
    width:              100%;
    margin:             0 0 40px 0;
    border:             1px solid #b0b8b0;
}

#gallery{
    position:           relative;
    width:              100%;
    height:             480px;
    overflow:           hidden;
}

#gallery .prev,
#gallery .next{
    position:           absolute;
    top:                50%;
    margin-top:         -62px;
    padding:            30px;
    z-index:            100;
}

#gallery .prev{
    left:               0;
}

#gallery .next{
    right:              0;
}

#gallery .hover{
    display:            none;
}

#gallery a:hover img{
    display:            none;
}

#gallery a:hover .hover{
    display:            block;
}

#gallery .swiper-wrapper img{
    width:              938px;
    height:             478px;
}

.pagination {
    position: absolute;
    z-index: 20;
    left: 50%;
    bottom: 10px;
}
.swiper-pagination-switch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: transparent;
    margin-right: 5px;
    opacity: 0.8;
    border: 2px solid #fff;
    cursor: pointer;
}
.swiper-visible-switch {
    background: transparent;
}
.swiper-pagination-switch:hover,
.swiper-active-switch {
    background: #384038;
}

#abstract{
    margin:             0 10px 30px 10px;
    /*padding-top:        30px;*/
    text-align:         center;
}

#abstract h1{
    margin-bottom:      15px;
    color:              #2cac74;
    font-size:          42px;
    line-height:        50px;
    font-weight:        300;
}

#abstract p{
    font-size:          18px;
    line-height:        26px;
}

#abstract a{
    font-size:          18px;
    line-height:        26px;
    text-decoration:	underline;
}

.contacts #abstract{
    margin-bottom:      50px;
}

.contacts #abstract{
    margin-bottom:      50px;
}

.list{
    margin:             0 0 40px 0;
}

.list li{
    width:              320px;
    margin-bottom:      20px;
    padding:            0 10px;
    display:            inline-block;
}

.list a{
    position:           relative;
    width:              100%;
    display:            block;
}

.list .product{
    width:              100%;
    height:             auto;
    border:             1px solid #b0b8b0;
    display:            block;
}

.offerta{
    position:           absolute;
    bottom:             20px;
    left:               50%;
    width:              152px;
    height:             32px;
    margin:             0 0 0 -75px;
    border:             1px solid #FFF;
}


.list .plus{
    display:            none;
}

.list a:hover .plus{
    position:           absolute;
    top:                0;
    left:               0;
    width:              300px;
    height:             240px;
    display:            block;
}

.list a:hover .offerta{
    display:            none;
}

.list p{
    position:           relative;
    padding:            14px;
    text-align:         center;
}

.list p .title,
.list p .price{
    line-height:        18px;
    display:            block;
}

.list p span b{
    font-weight:        800;
}

.list p .title{
    color:              #2cac74;
}

.list p .size{
    color:              #8c8c8c;
}


.list.products{
    position:           relative;
}

.box .list.products li{
    float:              left;
    position:           relative;
    width:              50%;
    margin-bottom:      20px
}

.list.products img{
    width:              100%;
    border:             1px solid #b0b8b0;
}

#p1,
#p2{
    width:              100%;
    position:           relative;
    margin-bottom:      20px;
    text-align:         left;
}

#p2{
    position:           relative;
    text-align:         right;
}

#p1 div,
#p2 div{
    width:              50%;
    padding:            0 10px;
}

#p1 img,
#p2 img{
    width:              100%;
    border:             1px solid #b0b8b0;
}


.box-wrapper{
    width:              100%;
    text-align:         center;
}

.box{
    max-width:          960px;
    padding:            55px 0;
    margin:             0 auto;
    font-size:          18px;
    line-height:        26px;
}

.box section{
    text-align:         center;
}

.box section.half{
    width:              50%;
    display:            inline-block;
}

.box mark{
    margin-bottom:      40px;
    color:              #384038;
    font-size:          42px;
    font-weight:        300;
    line-height:        50px;
    background:         none;
    display:            block;
}

.box h1{
    margin:             0 10px 15px 10px;
    color:              #2cac74;
    font-size:          42px;
    font-weight:        300;
    line-height:        50px;
}

.box p{
    margin:             0 10px 20px 10px;
}

.box.contacts p{
}

.box a{
    text-decoration:    underline;
}

.box .list,
.box .list li{
    margin-bottom:      0;
}

#fornitori{
    margin:             0 10px;
    color:              #384038;
}

#fornitori a{
    white-space:        nowrap;
}

#fornitori span{
  color:              #2CAC74;
}

categorie {
  color:				#8C8C8C;
  font-weight:			400;
  font-size:			14px;
}

#detail{
    margin-bottom:      40px;
}

#detail .img{
    position:           relative;
    width:              50%;
    max-width:          480px;
    max-height:         460px;
    padding:            0 10px;
}

#detail .img img{
    width:              100%;
    border:             1px solid #b0b8b0;
}

#detail .img .offerta{
    top:                auto;
    bottom:             20px;
    width:              152px;
    height:             32px;
    border:             1px solid #FFF;
    margin-top:         0;
}

#detail section{
    float:              right;
    width:              50%;
    max-width:          480px;
    padding:            0 10px;
    text-align:         left;
}

#detail section div{
    height:             458px;
    max-height:         460px;
    padding-left:       15px;
    padding-top:        55px;
    border-top:         1px solid #b0b8b0;
    border-bottom:      1px solid #b0b8b0;
    overflow:           hidden;
}

#detail h1{
    line-height:        50px;
    margin-left:        0;
}


#detail h1 b{
    font-weight:        800;
}

#detail em{
    font-size:          18px;
    font-weight:        bold;
    font-style:         normal;
    line-height:        26px;
}

#detail dl{
    margin:             40px 0 15px 0;
    font-size:          14px;
}

#detail dt,
#detail dd{
    line-height:        26px;
    display:            inline;
}

#detail dt{
    color:              #2cac74;
    font-weight:        800;
    line-height:        28px;
}

#detail dd{
    margin-left:        4px;
}

.contacts form{
    margin-top:         40px;
}

#map{
    height:             480px;
    margin:             0 0 40px 0;
    border:             1px solid #b0b8b0;
}

.fieldbox{
    width:              100%;
    margin-bottom:      20px;
    padding:            0 10px;
    display:            inline-block;
}

.fieldbox.half{
    width:              50%;
}

.fieldbox input,
.fieldbox textarea{
    width:              100%;
    height:             45px;
    padding:            10px 15px;
    color:              #384038;
    font-size:          18px;
    line-height:        23px;
    border:             1px solid #b0b8b0;
}

.fieldbox textarea{
    height:             180px;
    padding:            10px 15px;
    line-height:        27px;
}

.fieldbox input:focus,
.fieldbox textarea:focus{
    border:             1px solid #2CAC74;
}

.fieldbox.error input,
.fieldbox.error textarea{
    border:             1px solid #e0396c;
}

/* per togliere bordo blu su chrome e safari */
textarea:focus,
input:focus{
    outline: 0;
}

#form-response-wrapper{
    position:           fixed;
    top:                0;
    left:               0;
    width:              100%;
    height:             100%;
    padding:            0 20px;
    z-index:            999;
    display:            none;
}

#form-response-wrapper.error,
#form-response-wrapper.success{
    display:            block;
}


#form-response{
    max-width:          620px;
    height:             420px;
    margin:             0 auto 0 auto;
    padding:            75px 20px 50px 20px;
    color:              #FFF;
    background:         rgb(56, 64, 56); /* The Fallback */
    background:         rgba(56, 64, 56, 0.75);
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius:      25px;
    text-align:         center;
}


#form-response .success-msg,
#form-response .error-msg{
    display:            none;
}

#form-response-wrapper.success .success-msg{
    display:            block;
}

#form-response-wrapper.error .error-msg{
    display:            block;
}

#form-response img{
    width:              132px;
    height:             132px;
    margin:             0 auto 50px auto;
    display:            block;
}

#form-response p{
    font-size:          42px;
    line-height:        50px;
}

.contacts input[type="submit"]{
    margin-top:         30px;
    color:              #2CAC74;
    font-size:          18px;
    text-decoration:    underline;
    border:             0;
    background:         none;
}

#footer-wrapper{
    width:              100%;
    color:              #FFF;
    text-align:         center;
    background:         #2cac74;
}

footer{
    min-height:         130px;
    padding:            55px 0;
}

footer a{
    color:              #FFF;
    text-decoration:    underline;
}

social a{
    text-decoration:    none;
}

social .fb{
  width:                60px;
  height:               60px;
  margin-top:           35px;
  margin-right:			8px;
}

social .ig{
  width:                60px;
  height:               60px;
  margin-top:           35px;
  margin-left:			8px;
}

#debug{
    padding:            10px;
    background:         #FFF;
    position:           fixed;
    bottom:             0;
    right:              0;
    z-index:            9999;
    display:            none;
}

#credits-wrapper,
#cookies-wrapper{
    position:           fixed;
    top:                0;
    left:               0;
    width:              100%;
    height:             100%;
    padding:            0 20px;
    background:         rgb(0, 0, 0); /* The Fallback */
    background:         rgba(0, 0, 0, 0.50);
    z-index:            999;
    display:            none;
    cursor:             pointer;
}

#credits,
#cookies{
    max-width:          620px;
    height:             420px;
    margin:             0 auto 0 auto;
    padding:            30px 15px 50px 30px;
    color:              #2cac74;
    border:             10px solid #FFF;
    background:         #ecf4ec;
    cursor:             default;
}

#credits h1,
#cookies h1{
    margin:             0 0 40px 0;
    font-size:          42px;
    font-weight:        300;
    line-height:        42px;
}

#credits h2,
#cookies h2{
    margin:             20px 0 0 0;
    font-size:          14px;
    line-height:        21px;
    font-weight:        bold;
}

#credits span,
#cookies span{
    color:              #384038;
    font-size:          14px;
    line-height:        21px;
}

#credits a,
#cookies a{
    color:              #384038;
}

.showSmallest{
    display:            none !important;
}








/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
