.relative{
 position: relative;   
}
img {
  vertical-align: middle; }

.img-responsive img {
  display: block;
  max-width: 100%;
  height: auto; }

.masonry-item {
  width: 33%;
  background-color: transparent;
  border: none;
  margin: 0;
  padding: 10px; }

@media (min-width: 481px) and (max-width: 768px) {
  .masonry-item {
    width: 50%; } }
@media (max-width: 480px) {
  .masonry-item {
    width: 100%; } }
.view-archivio-fotografico-new {
  position: relative; }

.view-archivio-fotografico-new .field-item{
    padding: 0;
}

.download-all {
background: #d92926;
    color: white;
    width: 150px;
    /*position: relative;*/
    /*right: 50px;*/
    /*transform: translateX(-50%);*/
    bottom: 20px;
    padding: 10px;
    cursor: pointer;
}

.download-all-absolute {
    position: absolute;
}

.download-all-fixed {
    position: fixed;
    transition: all 1s;
}

.checkbox-foto {
	width: 20px;
	height: 20px;
	background: #ffffff; 
        border-radius: 3px;
	margin: 9px;

/*	-webkit-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0,0,0,0.5);*/
	position: absolute;
}

.checkbox-foto label {
    cursor: pointer;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    background: #d92926;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#45484d',GradientType=0 );
    border-radius: 2px;
}

.checkbox-foto label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
	opacity: 0;
	content: '';
	position: absolute;
	width: 14px;
        height: 8px;
	background: transparent;
	top: 2px;
        left: 1px;
	border: 3px solid #fcfff4;
	border-top: none;
	border-right: none;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.checkbox-foto label:hover::after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	opacity: 0.3;
}

.checkbox-foto input[type=checkbox] {
	visibility: hidden;
}

.checkbox-foto input[type=checkbox]:checked + label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
}

.field-name-docbinder{
    background: #d92926;
    width: 38px;
    height: 38px;
    float: left;
}
.group-info{
    overflow-y: scroll;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #cccccc;
    padding: 15px;
    z-index: -10;
    border:1px solid transparent;
    border-radius: 5px;
}

.group-info-z-less{

}

.group-info-z-more{
    z-index: 0; 
}

.field-name-box-info{
    float: left;
    padding: 0 5px;
}

.box-info {
	width: 20px;
	height: 20px;
	background: #ffffff; 
        border-radius: 20px;
	margin: 9px;
	position: absolute;
}

.box-info-out{
    position: relative;
    cursor: pointer;
    background: #d92926;
    width: 38px;
    height: 38px;
}



.box-info-in {
    text-align: center;
    color: #ffffff;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 2px;
    top: 2px;
    background: #d92926;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#45484d',GradientType=0 );
    border-radius: 16px;
}

.box-info-in p{
    width: 16px;
    height: 16px;
    margin: 0;
    line-height: 1.1em;
}

.box-info-close{
    cursor: pointer;
    background: #d92926;
    width: 38px;
    height: 38px;
    z-index:10;
    font-size: 25px;
    color: #ffffff;
    display: none;
}
.box-info-close-show{
    display: block;
}

.box-info-hide{
    display: none;
}

.group-boxes{
     position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
}

.chiudi-x{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.title-archivio-foto{
    font-size: 18px;
}

.field-name-field-fotografia{
    overflow: hidden;
        border:1px solid transparent;
    border-radius: 5px;
}

.field-name-field-fotografia img{
    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    -ms-transition: all 1s linear;
    transition: all 1s linear;


}

.field-name-field-fotografia img:hover {
    /*border: 2px solid #000;*/
  webkit-transform: scale(1.25);
      /* Safari and Chrome */
      -moz-transform: scale(1.25);
      /* Firefox */
      -ms-transform: scale(1.25);
      /* IE 9 */
      -o-transform: scale(1.25);
      /* Opera */
      transform: scale(1.25);

}

/*SPINNER*/

.spinner-container{
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    height: 100%;
}

.sk-fading-circle {
  margin: 0 auto;
  width: 40px;
  height: 40px;
  position: relative;
  top: 50%;
  transform: translateX(-50%);
}

.sk-fading-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-fading-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;
}
.sk-fading-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
      -ms-transform: rotate(30deg);
          transform: rotate(30deg);
}
.sk-fading-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
      -ms-transform: rotate(60deg);
          transform: rotate(60deg);
}
.sk-fading-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}
.sk-fading-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
      -ms-transform: rotate(120deg);
          transform: rotate(120deg);
}
.sk-fading-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
      -ms-transform: rotate(150deg);
          transform: rotate(150deg);
}
.sk-fading-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.sk-fading-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
      -ms-transform: rotate(210deg);
          transform: rotate(210deg);
}
.sk-fading-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
      -ms-transform: rotate(240deg);
          transform: rotate(240deg);
}
.sk-fading-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
      -ms-transform: rotate(270deg);
          transform: rotate(270deg);
}
.sk-fading-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
      -ms-transform: rotate(300deg);
          transform: rotate(300deg); 
}
.sk-fading-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
      -ms-transform: rotate(330deg);
          transform: rotate(330deg); 
}
.sk-fading-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; 
}
.sk-fading-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; 
}
.sk-fading-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; 
}
.sk-fading-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; 
}
.sk-fading-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; 
}
.sk-fading-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; 
}
.sk-fading-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; 
}
.sk-fading-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s;
}
.sk-fading-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s;
}
.sk-fading-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s;
}
.sk-fading-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes sk-circleFadeDelay {
  0%, 39%, 100% { opacity: 0; }
  40% { opacity: 1; } 
}

/*SPINNER END*/

