article.product-article h3 {
  font-size: 18px; }
  article.product-article .gallerybutton {
    font-size: 18px; }

div.gallery .galleryitem {
  position: relative;
  padding: 15px;
  margin-bottom: 30px; }
  div.gallery .galleryitem .team-article .image {
    position: relative;
    overflow: hidden; }
    div.gallery .galleryitem .team-article .image .layer {
      -o-transition: opacity 0.5s ease-out;
      -mx-transition: opacity 0.5s ease-out;
      -moz-transition: opacity 0.5s ease-out;
      -webkit-transition: opacity 0.5s ease-out;
      transition: opacity 0.5s ease-out;
      position: absolute;
      left: 0;
      top: 0;
      height: calc(100% - 20px);
      width: 100%;
      opacity: 0; }
      div.gallery .galleryitem .team-article .image .layer .icon {
        width: 60px;
        height: 60px;
        position: absolute;
        left: 50%;
        top: 50%;
        -o-transition: all 0.5s ease-out;
        -mx-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        -webkit-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
        -o-transform: translate(-50%, -30%);
        -ms-transform: translate(-50%, -30%);
        -moz-transform: translate(-50%, -30%);
        -webkit-transform: translate(-50%, -30%);
        transform: translate(-50%, -30%); }
        div.gallery .galleryitem .team-article .image .layer .icon img {
          width: 100%;
          max-width: 100%;
          height: auto;
          display: block; }
    div.gallery .galleryitem .team-article:hover .image .layer {
      opacity: 0.7; }
      div.gallery .galleryitem .team-article:hover .image .layer .icon {
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
  div.gallery .galleryitem .product-article .image {
    position: relative;
    overflow: hidden; }
    div.gallery .galleryitem .product-article .image .layer {
      -o-transition: opacity 0.5s ease-out;
      -mx-transition: opacity 0.5s ease-out;
      -moz-transition: opacity 0.5s ease-out;
      -webkit-transition: opacity 0.5s ease-out;
      transition: opacity 0.5s ease-out;
      position: absolute;
      left: 0;
      top: 0;
      height: calc(100% - 20px);
      width: 100%;
      opacity: 0; }
      div.gallery .galleryitem .product-article .image .layer .icon {
        width: 60px;
        height: 60px;
        position: absolute;
        left: 50%;
        top: 50%;
        -o-transition: all 0.5s ease-out;
        -mx-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        -webkit-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
        -o-transform: translate(-50%, -30%);
        -ms-transform: translate(-50%, -30%);
        -moz-transform: translate(-50%, -30%);
        -webkit-transform: translate(-50%, -30%);
        transform: translate(-50%, -30%); }
      div.gallery .galleryitem .product-article .image .layer .icon img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block; }
    div.gallery .galleryitem .product-article:hover .image .layer {
      opacity: 0.7; }
      div.gallery .galleryitem .product-article:hover .image .layer .icon {
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
  div.gallery .galleryitem h3 {
    text-align: center;
    margin-bottom: 0;
    padding: 8px 0; }
  div.gallery .galleryitem .gallerytext .inner {
    padding: 15px;
    background-color: #fff; }
    div.gallery .galleryitem .gallerytext .inner .contactbutton a span {
      display: none; }
  div.gallery .galleryitem .gallerybutton {
    text-align: center; }
    div.gallery .galleryitem .gallerybutton a {
      font-size: 18px;
      font-family: 'Amaranth', sans-serif;
      display: inline-block;
      position: relative;
      color: #393536;
      padding: 8px 0;
      padding-right: 28px; }
    div.gallery .galleryitem .gallerybutton a span.close {
      display: inline; }
    div.gallery .galleryitem .gallerybutton a span.close {
      display: none; }
    div.gallery .galleryitem .gallerybutton a .arrow {
      -o-transition: all 0.5s ease-out;
      -mx-transition: all 0.5s ease-out;
      -moz-transition: all 0.5s ease-out;
      -webkit-transition: all 0.5s ease-out;
      transition: all 0.5s ease-out;
      -webkit-transition-delay: 500ms;
      transition-delay: 500ms;
      z-index: 0;
      width: 20px;
      height: 20px;
      position: absolute;
      right: 0;
      top: 50%;
      z-index: 0;
      -o-transform: translate(0, -50%) rotate(90deg);
      -ms-transform: translate(0, -50%) rotate(90deg);
      -moz-transform: translate(0, -50%) rotate(90deg);
      -webkit-transform: translate(0, -50%) rotate(90deg);
      transform: translate(0, -50%) rotate(90deg); }
  div.gallery .galleryitem[aria-expanded="true"] .gallerybutton {
    text-align: center; }
    div.gallery .galleryitem[aria-expanded="true"] .gallerybutton a span.open {
      display: none; }
      div.gallery .galleryitem[aria-expanded="true"] .gallerybutton a span.close {
        display: inline; }
      div.gallery .galleryitem[aria-expanded="true"] .gallerybutton a .arrow {
        -o-transform: translate(0, -50%) rotate(270deg);
        -ms-transform: translate(0, -50%) rotate(270deg);
        -moz-transform: translate(0, -50%) rotate(270deg);
        -webkit-transform: translate(0, -50%) rotate(270deg);
        transform: translate(0, -50%) rotate(270deg); }

@media screen and (min-width: 768px) {
  div.gallery .newsitem-filtered:nth-of-type(2n+3) {
    clear: left; } }

@media screen and (min-width: 992px) {
  div.gallery .newsitem-filtered:nth-of-type(2n+3) {
    clear: none; }
    div.gallery .newsitem-filtered:nth-of-type(3n+4) {
      clear: left; } }
