/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

body {
    font-size: 1em;
    line-height: 1.4;
}

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
  color: #fff;
  font-family: 'Droid Serif', serif;
  font-weight: 300;
  font-size: 14px;
}

a,
a:visited,
a:focus {
  color: #fff;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

h1.big {
  font-size: 32px;
}

h3 {
  font-style: italic;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-bottom: 0;
  margin-top: 0;
}

.hide {
  display: none;
}

.main {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  clear: both;
}

.home.main section {
  float: left;
  width: 50%;
  position: relative;
  overflow: auto;
}

.container {
  padding: 20px;
  overflow: hidden;
  clear: both;
}

.logo {
  max-width: 250px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.logo-aligncenter {
  margin: 0 auto;
}

.logo img {
  width: 100%;
}

/* Home */

#introduzione {
  background: #212f5c;
}

#introduzione p {
  font-weight: lighter;
  font-size: 22px;
  font-style: italic;
}

#introduzione h2.logo {
  max-width: 350px;
  padding-right: 20px;
}

#introduzione h2.logo img {
  width: 100%;
}

#chi-siamo {
  background: #570000;
}

#chi-siamo h2 {
  font-style: italic;
  font-weight: 300;
}

#contatti {
  background: #114f52;
}

#contatti h2 {
  font-style: italic;
  font-weight: 300;
}

#contatti p img {
  padding-right: 10px;
}

#prodotti {
  background: #26323c;
}

#prodotti h2 {
  font-style: italic;
  font-weight: 300;
}

#prodotti span,
#prodotti a {
  display: block;
  margin-right: 10px;
}

#prodotti span img,
#prodotti a img {
  width: 100%
}

#prodotti span strong,
#prodotti a strong {
  margin-bottom: 10px;
  display: block;
}

#prodotti div.row {
  width: 100%;
  clear: both;
  position: relative;
}

#prodotti div.item {
  float: left;
  width: 25%;
  position: relative;
}

/* Prodotti */

.prodotti {
  background: #26323c;
}

.slideshow-pager {
  float: left;
  width: 30%;
}

.slideshow-pager a {
  display: block;
}

.slideshow-pager a.cycle-pager-active {
  font-weight: bold;
}

.slideshow {
  float: left;
  width: 70%;
}

.slideshow h2 {
  margin-top: 0 !important;
}

.slideshow div img {
  max-width: 100%;
  margin-bottom: 10px;
  display: block;
}

/* Footer */
.site-footer {
  background: #222;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.site-footer img {
  width: 20px;
}

/* Header */
.site-header {
  border-bottom: 2px solid #fff;
  margin-bottom: 20px;
  clear: both;
  float: none;
  overflow: hidden
}

.site-header h2 {
  margin: 0;
}

/* occasione */
#occasione {
  background-color: #FFF500;
  color: #000;
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bold;
}

#occasione .container {
  padding: 10px;
}

#occasione a {
  display: inline;
  color: #000;
  margin: 0;
}

#occasione img {
  width: auto !important;
}

.main .occasione {
  background-color: #FFF500;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.main .occasione .container {
  padding: 10px;
}

/* Accessori */
.accessori {
  max-width: 800px;
  margin: 20px auto;
}

.accessori img {
  width: 100%;
  margin-bottom: 10px;
}

/* Altro */
.altro {
  max-width: 800px;
  margin: 20px auto;
}

.altro img {
  width: 100%;
  margin-bottom: 10px;
}

/* Utility */
.right {
  float: right;
}

.left {
  float: left;
}

.fourty {
  width: 40%;
}

.sixty {
  width: 60%;
}

/* Menu */
.selected {
  border-bottom: 2px solid #fff;
}

/* Arrow next prev */
.next,
.prev {
  position: fixed;
  top: 200px;
  display: none;
}

.next img,
.prev img {
  width: 16px;
}

.next {
  right: 1px;
}

.prev {
  left: 1px;
}

/* JQuery cycle */
.cycle-slide {
  width: 100%;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media screen and (max-width: 600px) {
  .home.main section {
    float: none;
    width: 100%;
    position: relative;
    overflow: auto;
    height: auto !important;
  }

  .slideshow-pager {
    display: none;
  }

  .slideshow {
    width: 100%;
    clear: both;
    float: none;
  }

  .next,
  .prev {
    display: block;
  }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
}
