/*NUOVA GALLERY*/

    .asyncGallery {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      opacity: 0;
      z-index: 1000;
      visibility: hidden;
      background-color: rgba(0, 0, 0, 0.95);
      transition: opacity 200ms, visibility 200ms;
    }

    .asyncGallery.is-visible {
      opacity: 1;
      visibility: visible;
      z-index:9999;
    }

    .asyncGallery__Item {
      position: absolute;
      top: 50%;
      left: 50%;
      opacity: 0;
      visibility: hidden;
      overflow: hidden;
      transform: translate(-50%, -50%);
      transition: opacity 200ms, visibility 200ms;
      width:100%;
    }

    .asyncGallery__Item.is-visible {
      opacity: 1;
      visibility: visible;
    }

    .asyncGallery__ItemImage img {
      max-height: 80vh;
      display: block;
    }

    .asyncGallery__ItemDescription,
    .asyncGallery__Loader {
      color: #dadada;
      font-size:25px;
    }

    .asyncGallery__Loader {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: none;
      color: #fff;
      z-index: 100;
    }

    .asyncGallery__Loader.is-visible {
      display: block;
    }

    .asyncGallery button {
      background-color: transparent;
      border: 0;
      outline: 0;
      padding: 0;
      font-size: 0;
      cursor: pointer;
    }

    .asyncGallery__Close {
      position: absolute;
      top: 40px;
      right: 40px;
      width: 30px;
      height: 30px;
      z-index: 1000;
      background-repeat: no-repeat;
      background-size: 30px 30px;
      background-image: url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNTEycHgiIHZlcnNpb249IjEuMSIgaGVpZ2h0PSI1MTJweCIgdmlld0JveD0iMCAwIDY0IDY0IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA2NCA2NCI+CiAgPGc+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjguOTQxLDMxLjc4NkwwLjYxMyw2MC4xMTRjLTAuNzg3LDAuNzg3LTAuNzg3LDIuMDYyLDAsMi44NDljMC4zOTMsMC4zOTQsMC45MDksMC41OSwxLjQyNCwwLjU5ICAgYzAuNTE2LDAsMS4wMzEtMC4xOTYsMS40MjQtMC41OWwyOC41NDEtMjguNTQxbDI4LjU0MSwyOC41NDFjMC4zOTQsMC4zOTQsMC45MDksMC41OSwxLjQyNCwwLjU5YzAuNTE1LDAsMS4wMzEtMC4xOTYsMS40MjQtMC41OSAgIGMwLjc4Ny0wLjc4NywwLjc4Ny0yLjA2MiwwLTIuODQ5TDM1LjA2NCwzMS43ODZMNjMuNDEsMy40MzhjMC43ODctMC43ODcsMC43ODctMi4wNjIsMC0yLjg0OWMtMC43ODctMC43ODYtMi4wNjItMC43ODYtMi44NDgsMCAgIEwzMi4wMDMsMjkuMTVMMy40NDEsMC41OWMtMC43ODctMC43ODYtMi4wNjEtMC43ODYtMi44NDgsMGMtMC43ODcsMC43ODctMC43ODcsMi4wNjIsMCwyLjg0OUwyOC45NDEsMzEuNzg2eiIvPgogIDwvZz4KPC9zdmc+Cg==");
    }

    .asyncGallery__Counter {
      position: absolute;
      font-size: 20px;
      font-weight: bold;
      color: #fff;
      right: 40px;
      bottom: 40px;
    }

    .asyncGallery__Dots {
      position: absolute;
      left: 50%;
      bottom: 40px;
      display: flex;
      margin: 0;
      padding: 0;
      transform: translateX(-50%);
      list-style-type: none;
      z-index: 1000;
    }

    .asyncGallery__Dots button {
      padding: 0;
      width: 10px;
      height: 10px;
      background-color: #fff;
      border: 0;
      outline: 0;
      border-radius: 50%;
    }

    .asyncGallery__Dots li {
      opacity: 0.2;
      transition: opacity 200ms;
    }

    .asyncGallery__Dots li + li {
      margin-left: 10px;
    }

    .asyncGallery__Dots li.is-active {
      opacity: 1;
    }

    .asyncGallery__Next,
    .asyncGallery__Prev {
      position: absolute;
      top: 50%;
      width: 30px;
      height: 30px;
      z-index: 1000;
      transition: transform 200ms, opacity 200ms;
      transform: translateY(-50%);
    }

    .asyncGallery__Next:disabled,
    .asyncGallery__Prev:disabled {
      opacity: 0.2;
      cursor: default;
    }

    .asyncGallery__Next:before,
    .asyncGallery__Prev:before {
      position: absolute;
      content: "";
      top: 50%;
      left: 50%;
      background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 129 129' xmlns:xlink='http://www.w3.org/1999/xlink' enable-background='new 0 0 129 129'%3E%3Cg%3E%3Cpath d='m40.4,121.3c-0.8,0.8-1.8,1.2-2.9,1.2s-2.1-0.4-2.9-1.2c-1.6-1.6-1.6-4.2 0-5.8l51-51-51-51c-1.6-1.6-1.6-4.2 0-5.8 1.6-1.6 4.2-1.6 5.8,0l53.9,53.9c1.6,1.6 1.6,4.2 0,5.8l-53.9,53.9z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E%0A");
      width: 30px;
      height: 30px;
      background-repeat: no-repeat;
      background-size: 30px 30px;
    }

    .asyncGallery__Next {
      right: 40px;
    }

    .asyncGallery__Next:hover {
      transform: translateX(2px) translateY(-50%);
    }

    .asyncGallery__Next:before {
      transform: translate3d(-50%, -50%, 0);
    }

    .asyncGallery__Prev {
      left: 40px;
    }

    .asyncGallery__Prev:hover {
      transform: translateX(-2px) translateY(-50%);
    }

    .asyncGallery__Prev:before {
      transform: translate3d(-50%, -50%, 0) scale(-1);
    }

    /* DEMO */

    .griglia {
      max-width: 1200px;
      margin: 0 auto;
    }

    .gallery {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }

    .gallery div {
      /*max-width: calc(33.333% - 40px);*/
      margin: 20px;
      transition: opacity 200ms;
      cursor: pointer;
    }

    .gallery div:hover {
      opacity: 0.8;
    }

    .gallery div img {
      max-width: 100%;
    }


/* LINK */

a.link-form {
  text-decoration: none;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
  color: #fff;
  font-family: "$_GET[0]", sans serif;
  font-size:18px;
  -webkit-animation: neon1 1.5s ease-in-out infinite alternate;
  -moz-animation: neon1 1.5s ease-in-out infinite alternate;
  animation: neon1 1.5s ease-in-out infinite alternate;
}

a.link-form:hover {
  color: #e1e6ed;
  -webkit-animation: none;
  -moz-animation: none;
  animation: none;
}

@-webkit-keyframes neon1 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #e1e6ed, 0 0 70px #e1e6ed, 0 0 80px #e1e6ed, 0 0 100px #e1e6ed, 0 0 150px #e1e6ed;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #e1e6ed, 0 0 35px #e1e6ed, 0 0 40px #e1e6ed, 0 0 50px #e1e6ed, 0 0 75px #e1e6ed;
  }
}

@-moz-keyframes neon1 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #e1e6ed, 0 0 70px #e1e6ed, 0 0 80px #e1e6ed, 0 0 100px #e1e6ed, 0 0 150px #e1e6ed;
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #e1e6ed, 0 0 35px #e1e6ed, 0 0 40px #e1e6ed, 0 0 50px #e1e6ed, 0 0 75px #e1e6ed;
  }
}

@keyframes neon1 {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #e1e6ed, 0 0 70px #e1e6ed, 0 0 80px #e1e6ed, 0 0 100px #e1e6ed, 0 0 150px #e1e6ed;
  }"$_GET[0]"
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #e1e6ed, 0 0 35px #e1e6ed, 0 0 40px #e1e6ed, 0 0 50px #e1e6ed, 0 0 75px #e1e6ed;
  }
}

@media screen and (max-width: 500px){
  .asyncGallery__Prev,.asyncGallery__Next{
    display:none;
  }
  .asyncGallery__Dots{
    bottom:10px !important;
  }
}