/*--------------------------------------------
                Social images
---------------------------------------------- */

.socialimages {
  .socialimage {
    position: relative;
    display: block;
    float: left;
    padding: 0 5px 5px 0;
    text-decoration: none;

    img {
      display: block;
      -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
      border: none;
      padding-bottom: 0px !important;
      width: 50px;
      height: auto;
    }
  }
}

.socialimages a.socialimage,
.socialimages a.socialimage:before {
  -webkit-transition: all linear 300ms;
  -moz-transition: all linear 300ms;
  -o-transition: all linear 300ms;
  transition: all linear 300ms;
}

.socialimages a.socialimage:hover:before {
  opacity: 1;
  top: -20%;
}

.socialimages span:hover a {
  opacity: 0.35;
}

.socialimages span a:hover {
  opacity: 1;
}

.socialimages a.socialimage img:first-child,
.socialimages span:hover a img:first-child + img,
.socialimages span:hover a:hover img:first-child {
  display: none;
}

.socialimages span:hover a img:first-child,
.socialimages span:hover a:hover img:first-child + img {
  display: block;
}

.socialimages span.socialimage img {
  display: block;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: none;
  padding-bottom: 0px !important;
  width: 50px;
  height: auto;
}

.socialimages span.socialimage {
  position: relative;
  display: block;
  float: left;
  padding: 0 5px 5px 0;
  text-decoration: none;
}

.socialimages span.socialimage,
.socialimages span.socialimage:before {
  -webkit-transition: all linear 300ms;
  -moz-transition: all linear 300ms;
  -o-transition: all linear 300ms;
  transition: all linear 300ms;
}

.socialimages span.socialimage:hover:before {
  opacity: 1;
  top: -20%;
}

.socialimages span:hover span {
  opacity: 0.35;
}

.socialimages span span:hover {
  opacity: 1;
}

.socialimages span.socialimage img:first-child,
.socialimages span:hover span img:first-child + img,
.socialimages span:hover span:hover img:first-child {
  display: none;
}

.socialimages span:hover span img:first-child,
.socialimages span:hover span:hover img:first-child + img {
  display: block;
}
