.slideshow div {

}
.slideshow img {
    width:100%;
}

.slideshow {
    margin-bottom:20px;
}


.click {
    cursor:pointer;
}















/*********************************************************************************************************
 GRIDSTACK
*/

.grid-stack-item {

}

.grid-stack-item-content.debug {
  border:1px solid #c0c0c0;
}

.grid-stack-item-content {
  overflow:hidden !important;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position:relative;
}

.grid-children {
  width:100%;
  height:100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

}

.grid-stack-dimensione {
  background-color:#ffffff;
  position:absolute;
  top:0;
  left:0;
  padding:0 5px;
}

.grid-stack-change {
  background-color:#ffffff;
  position:absolute;
  bottom:0;
  left:0;
  padding:0 5px;
}

.grid-stack-del {
  background-color:#ffffff;
  position:absolute;
  top:0;
  right:0;
  padding:0 5px;
}


/*********************************************************************************************************
 EFFETTO ZOOM
*/


.grid-stack-item-content.zoom {
  overflow: hidden !important;
}
.grid-stack-item-content.zoom .grid-children {
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}
.grid-stack-item-content.zoom:hover .grid-children,
.grid-stack-item-content.zoom:focus .grid-children {
  transform: scale(1.5);
  -moz-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  -ms-transform: scale(1.5); /* IE 9 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand')"; /* IE8 */
   filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.5, M12=0, M21=0, M22=1.5, SizingMethod='auto expand'); /* IE6 and 7 */
}



/*********************************************************************************************************
 EFFETTO ICONA CHE RIDUCE
*/


.grid-stack-item-content.iconariduce {
  overflow: hidden !important;
}

.grid-stack-item-content.iconariduce .grid-children {
    background-image: -webkit-linear-gradient(top,#141414 0%,#3a3a3a 100%);
    background-image: -o-linear-gradient(top,#141414 0%,#3a3a3a 100%);
    background-image: linear-gradient(to bottom,#141414 0%,#3a3a3a 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff141414',endColorstr='#ff3a3a3a',GradientType=0);
    border: 1px solid #212121;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    overflow: hidden;
    position:relative;
}



.grid-stack-item-content.iconariduce .grid-children:before {
  width: 216px;
  height: 216px;
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  z-index: 1;
  -webkit-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
  webkit-animation: .25s 1.5s ImageZoom backwards ease-out;
  animation: .25s 1.5s ImageZoom backwards ease-out;
}

.grid-stack-item-content.iconariduce .grid-children:hover:before {
    transform: scale(.8) translate(-2em,1em);
    -ms-transform: scale(.8) translate(-2em,1em);
    -webkit-transform: scale(.8) translate(-2em,1em);
    filter: grayscale(1);
}


.grid-stack-item-content.iconariduce h3 {
    color: #fff;
    background: #d41f20;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    margin: 0;
    padding: 10px;
    webkit-animation: .5s .75s fade backwards ease-out;
    animation: .5s .75s fade backwards ease-out;
    text-align: right;
    text-transform: uppercase;
}

.grid-stack-item-content.iconariduce p {

    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 5px 10px;
    line-height: 15px;
    webkit-animation: .5s 1s fade backwards ease-out;
    animation: .5s 1s fade backwards ease-out;
    text-transform: uppercase;
    text-align: right;
}

.grid-stack-item-content.iconariduce .barbox {
  position:absolute;
  width:100%;
  top:50%;
  margin-top:-13%;
}











/*********************************************************************************************************
 EFFETTO ICONA CHE RIDUCE
*/


.grid-stack-item-content.iconaingrandisce {
  overflow: hidden !important;
}

.grid-stack-item-content.iconaingrandisce .grid-children {
    background-image: -webkit-linear-gradient(top,#141414 0%,#3a3a3a 100%);
    background-image: -o-linear-gradient(top,#141414 0%,#3a3a3a 100%);
    background-image: linear-gradient(to bottom,#141414 0%,#3a3a3a 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff141414',endColorstr='#ff3a3a3a',GradientType=0);
    border: 1px solid #212121;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    overflow: hidden;
    position:relative;
}



.grid-stack-item-content.iconaingrandisce .grid-children:before {
  width: 216px;
  height: 216px;
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  z-index: 1;
  -webkit-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
  webkit-animation: .25s 1.5s ImageZoom backwards ease-out;
  animation: .25s 1.5s ImageZoom backwards ease-out;
  filter: grayscale(1);
}

.grid-stack-item-content.iconaingrandisce .grid-children:hover:before {
    transform: scale(1.1) translate(0,0);
    -ms-transform: scale(1.1) translate(0,0);
    -webkit-transform: scale(1.1) translate(0,0);
    filter: grayscale(0);
}


.grid-stack-item-content.iconaingrandisce h3 {
    color: #fff;
    background: #d41f20;
    font-size: 30px;
    font-weight: 700;
    width: 100%;
    margin: 0;
    padding: 10px;
    webkit-animation: .5s .75s fade backwards ease-out;
    animation: .5s .75s fade backwards ease-out;
    text-align: right;
    text-transform: uppercase;
}

.grid-stack-item-content.iconaingrandisce p {

    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 5px 10px;
    line-height: 15px;
    webkit-animation: .5s 1s fade backwards ease-out;
    animation: .5s 1s fade backwards ease-out;
    text-transform: uppercase;
    text-align: right;
}

.grid-stack-item-content.iconaingrandisce .barbox {
  position:absolute;
  width:100%;
  top:50%;
  margin-top:-13%;
}







/*********************************************************************************************************
 EFFETTO BARRA
*/

.grid-stack-item-content.barrabassafissa h3 {
  z-index:100;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    background-repeat: repeat-x;
/*
    background-image: -webkit-linear-gradient(top,#d40e20 0%,#5c060e 100%);
    background-image: -o-linear-gradient(top,#d40e20 0%,#5c060e 100%);
    background-image: linear-gradient(to bottom,#d40e20 0%,#5c060e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd40e20',endColorstr='#ff5c060e',GradientType=0);*/

    margin: 0;
    padding: 10px;
    text-align: left;
    font-weight: 700;
    font-size: 24px;
    position: absolute;
    color: #fff;

  }

.grid-stack-item-content.barrabassafissa h3 span {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    font-style: italic;
    display: block;
    top: 50px;
  }


.grid-stack-item-content.barrabassafissa i {
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 45px;
    padding: 0 10px 0 0;
    float: left;
}

/*********************************************************************************************************
 EFFETTO GREYSCALE
*/

.grid-stack-item-content.greyscale {
  overflow: hidden !important;
    filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
    filter: gray; /* IE5+ */
    -webkit-filter: grayscale(0.7); /* Webkit Nightlies & Chrome Canary */
    -webkit-transition: all .5s ease-in-out;
}

.grid-stack-item-content.greyscale:hover,
.grid-stack-item-content.greyscale:focus {
     filter: none;
      -webkit-filter: grayscale(0);

    }










/*********************************************************************************************************
 EFFETTO Overlay
*/


.grid-stack-item-content.overlay {
  overflow: hidden !important;
}


.grid-stack-item-content.overlay .overlay-container {
  display: table;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
}

.grid-stack-item-content.overlay h3 {
  font-family: "Open Sans Condensed",Helvetica,Arial,sans-serif;
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
  background-repeat: repeat-x;
  background-color: #000000;
  color: #fff;
  margin: 0;
  padding: 10px;
  opacity:0;
  display: table-cell;
  text-align: center;
  vertical-align: middle;

}

.grid-stack-item-content.overlay:hover h3 {
  opacity:0.8;
}







/*********************************************************************************************************
 EFFETTO BARRA ALTA E BASSA CHE INGRANDISCE
*/

.grid-stack-item-content.barracheingrandisce h3 {
    position:absolute;
    text-align: center;
    margin: 0;
    height:50px;
    padding: 12px;
    font-family: "Open Sans Condensed",Helvetica,Arial,sans-serif;
    font-weight: 700;
    font-size: 28px;
    position: absolute;
    color: #fff;
    line-height: 30px;

    left: 0;
    width: 100%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    background-repeat: repeat-x;

/*
    background-image: -webkit-linear-gradient(top,#d40e20 0%,#5c060e 100%);
    background-image: -o-linear-gradient(top,#d40e20 0%,#5c060e 100%);
    background-image: linear-gradient(to bottom,#d40e20 0%,#5c060e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd40e20',endColorstr='#ff5c060e',GradientType=0);
    */
}


 .grid-stack-item-content.barracheingrandisce i {
    display: inline-block;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    padding: 0 10px 0 0;

}

.grid-stack-item-content.barrabassa h3 {
  bottom: 0;
}
.grid-stack-item-content.barrabassa:hover h3,
.grid-stack-item-content.barrabassa:hover h3 span {
  padding-top:25%;
}



.grid-stack-item-content.barraalta h3 {
  top: 0;
}
.grid-stack-item-content.barraalta:hover h3,
.grid-stack-item-content.barraalta:hover h3 span {

  padding-top:25%;
}



.grid-stack-item-content.barracheingrandisce:hover h3 {
    font-size: 45px;
    opacity: .9;
    height:100%;

}

.grid-stack-item-content.barracheingrandisce h3 span {
    padding: 12px;
    display: none;
    text-transform: none !important;
    font-size: 20px;
    position: absolute;
    top: 0;
    left: 0;
    /*color: #000;*/
    width: 100%;
}

.grid-stack-item-content.barracheingrandisce:hover h3 span {
    display: block;
    top: 50px;
}