/*---------------------------------------------------
    LESS Elements 0.6
  ---------------------------------------------------
    A set of useful LESS mixins by Dmitry Fadeyev
    Special thanks for mixin suggestions to:
      Kris Van Herzeele,
      Benoit Adam,
      Portenart Emile-Victor,
      Ryan Faerman

    More info at: http://lesselements.com
-----------------------------------------------------*/
.ff-container label {
  font-family: Arial, sans-serif;
  width: 16%;
  padding: 5px 5px 5px 15px;
  cursor: pointer;
  color: #004a80;
  line-height: 30px;
  font-size: 16px;
  background: #e4e4e4;
  float: left;
}
.ff-container input.ff-selector-type-all:checked ~ label.ff-label-type-all,
.ff-container input.ff-selector-type-1:checked ~ label.ff-label-type-1,
.ff-container input.ff-selector-type-2:checked ~ label.ff-label-type-2,
.ff-container input.ff-selector-type-3:checked ~ label.ff-label-type-3 {
  background: #2ba6cb;
  color: white;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.ff-container input {
  display: none;
}
.ff-items {
  position: relative;
  margin: 0px auto;
  padding-top: 20px;
}
.ff-items a {
  display: block;
  position: relative;
  padding: 10px;
  background: #fff;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  margin: 4px;
  width: 200px;
  height: 170px;
}
.ff-items a span {
  display: block;
  background: rgba(0, 163, 255, 0.5);
  font-style: italic;
  color: #fff;
  font-weight: bold;
  padding: 20px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 180px;
  height: 0px;
  overflow: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  text-align: center;
  text-shadow: 1px 1px 1px #303857;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.ff-items a:hover span {
  height: 150px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
.ff-items li img {
  display: block;
}
.ff-items li {
  margin: 0px 0 20px 0;
  float: left;
  height: 170px;
  width: 0px;
  -webkit-transform: scale(0, 0);
  -moz-transform: scale(0, 0);
  -o-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
  list-style: none;
}
.ff-container input.ff-selector-type-all:checked ~ .ff-items li {
  width: 220px;
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -o-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
  -webkit-transition: -webkit-transform 0.3s linear;
  -webkit-transition: -webkit-transform 0.3s linear;
  -webkit-transition: -webkit-transform 0.3s linear;
  -webkit-transition: -webkit-transform 0.3s linear;
  transition: transform 0.3s linear;
}
.ff-container input.ff-selector-type-1:checked ~ .ff-items .ff-item-type-1,
.ff-container input.ff-selector-type-2:checked ~ .ff-items .ff-item-type-2,
.ff-container input.ff-selector-type-3:checked ~ .ff-items .ff-item-type-3 {
  -webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
  -webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
  -webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
  -webkit-transition: -webkit-transform 0.3s linear, width 0s linear 0.3s;
  transition: transform 0.3s linear, width 0s linear 0.3s;
  -webkit-animation: scaleUp 0.3s linear 0.4s forwards;
  -moz-animation: scaleUp 0.3s linear 0.4s forwards;
  -ms-animation: scaleUp 0.3s linear 0.4s forwards;
  -o-animation: scaleUp 0.3s linear 0.4s forwards;
  animation: scaleUp 0.3s linear 0.4s forwards;
}
.ff-container input.ff-selector-type-1:checked ~ .ff-items li:not(.ff-item-type-1),
.ff-container input.ff-selector-type-2:checked ~ .ff-items li:not(.ff-item-type-2),
.ff-container input.ff-selector-type-3:checked ~ .ff-items li:not(.ff-item-type-3) {
  -webkit-animation: scaleDown 0.3s linear forwards;
  -moz-animation: scaleDown 0.3s linear forwards;
  -ms-animation: scaleDown 0.3s linear forwards;
  -o-animation: scaleDown 0.3s linear forwards;
  animation: scaleDown 0.3s linear forwards;
}
@keyframes "scaleUp" {
  50% {
    width: 188px;
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 188px;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-moz-keyframes scaleUp {
  50% {
    width: 188px;
    -moz-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 188px;
    -moz-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-webkit-keyframes "scaleUp" {
  50% {
    width: 188px;
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 188px;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-ms-keyframes "scaleUp" {
  50% {
    width: 188px;
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 188px;
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@-o-keyframes "scaleUp" {
  50% {
    width: 188px;
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 188px;
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
}
@keyframes "scaleDown" {
  0% {
    width: 188px;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  99% {
    width: 188px;
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 0px;
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    -o-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
}
@-moz-keyframes scaleDown {
  0% {
    width: 188px;
    -moz-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  99% {
    width: 188px;
    -moz-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 0px;
    -moz-transform: scale(0, 0);
    transform: scale(0, 0);
  }
}
@-webkit-keyframes "scaleDown" {
  0% {
    width: 188px;
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  99% {
    width: 188px;
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 0px;
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
  }
}
@-ms-keyframes "scaleDown" {
  0% {
    width: 188px;
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  99% {
    width: 188px;
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 0px;
    -ms-transform: scale(0, 0);
    transform: scale(0, 0);
  }
}
@-o-keyframes "scaleDown" {
  0% {
    width: 188px;
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  99% {
    width: 188px;
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  100% {
    width: 0px;
    -o-transform: scale(0, 0);
    transform: scale(0, 0);
  }
}
