/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

/* End: Recommended Isotope styles */



/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}


/**** Base styles ****/
.contenuto-portfolio {max-width:1170px; margin:0 auto;}

.element {
  margin-bottom: 5px;
  float: left;
  overflow: hidden;
  position: relative;
  background: #888;
  color: #222;
 /* -webkit-border-top-right-radius: 1.2em;
      -moz-border-radius-topright: 1.2em;
          border-top-right-radius: 1.2em;
*/
}

.element.colspan1 {width:287px;}
.element.colspan2 {width:579px;}
.element.colspan4 {width:1170px; margin:6px 0;}

.element.rowspan1 {height:287px;}
.element.rowspan2 {height:579px;}
.element.colspan4 {height:1400px; margin:6px 0;}

.element.colspan1 img {width:287px;}
.element.rowspan1 img {height:287px;}

.element.colspan2 {width:579px;}
.element.rowspan2 {height:579px;}


.element * {
  /*position: absolute;*/
  margin: 0;
}



.plisvisitauarsite {}


.clickable .element:hover {
  cursor: pointer;
}

.clickable .element:hover h3 {
  text-shadow:
    0 0 10px white,
    0 0 10px white
  ;
}

.clickable .element:hover h2 {
  color: white;
}



/**** Infinite Scroll ****/

#infscr-loading {
  position: fixed;
  text-align: center;
  bottom: 30px;
  left: 42%;
  z-index: 100;
  background: white;
  background: hsla( 0, 0%, 100%, 0.9 );
  padding: 20px;
  color: #222;
  font-size: 15px;
  font-weight: bold;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}



/* The Magnificent Clearfix: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


@media only screen and (max-width:1400px) {
/*
#titolo-portfolio,
.contenuto-portfolio {max-width:1170px; margin:0 auto}
*/
}
@media only screen and (max-width:1169px) {
.contenuto-portfolio {width:586px; margin:0 auto}
}
@media only screen and (max-width:877px) {
.contenuto-portfolio {width:586px; margin:0 auto}
}

@media only screen and (max-width:559px) {
.contenuto-portfolio {width:310px; margin:0 auto}
.contenuto-portfolio img {width:100% !important}
.element {background-color:#fff;}
.element.rowspan1 {height:310px;}
.element.rowspan2 {width:310px; height:auto;}
.element.rowspan2.colspan2 img {width:310px; height:310px;}
.element.colspan2.rowspan1, .element.colspan2.rowspan1 img {width:310px; height:152px;}
.testo-grande p {font-size:20px; line-height:24px; padding:50px;}
.element.colspan1, .element.colspan1 img {width:310px; height:310px;}
div.descrizione-progetto p {font-size:13px; line-height:22px;}
.flexslider {min-height:inherit;}
.single-htt-cucine .flexslider2 {min-height:310px;}
.box-speciale {height:380px !important}
}