﻿body.CMS div.FancyBoxGallery .Images {
  display: flex;
  flex-wrap: wrap;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem {
  margin-bottom: 5px;
  margin-right: 5px;
  position: relative;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem.GalleryItem--Offline div.Image {
  position: relative;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem.GalleryItem--Offline div.Image::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
}
body.CMS div.FancyBoxGallery .Images .GalleryItem.GalleryItem--Offline .ActionBar a.Hide i::before {
  content: "\f06e";
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .ActionBar {
  font-size: 12px;
  margin-bottom: 5px;
  text-align: right;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .ActionBar a {
  color: var(--cms-color-regular);
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .ActionBar a:hover {
  color: var(--cms-color-dark);
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .SettingsPanel {
  position: relative;
  display: inline-block;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .SettingsPanel .Panel {
  display: none;
  position: absolute;
  z-index: 40;
  background-color: white;
  bottom: 30px;
  border: 1px solid black;
  padding: 20px;
  min-width: 400px;
  text-align: left;
  left: 0;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .SettingsPanel .Panel img {
  max-width: 142px !important;
  max-height: 106px !important;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .SettingsPanel .Panel a.Close {
  padding: 10px 10px 10px 0;
  margin-top: 15px;
  display: inline-block;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .Image {
  border: 1px solid #ccc;
  min-width: 142px;
  max-width: 142px;
  padding: 0 5px;
  height: 106px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .Image div[data-cms], body.CMS div.FancyBoxGallery .Images .GalleryItem .Image img {
  max-width: 142px;
  max-height: 106px;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem .Image img {
  width: unset !important;
  height: unset !important;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem.Add {
  border: 1px solid #ccc;
  display: inline-block;
  line-height: 106px;
  flex-basis: 106px;
  font-size: 3em;
  height: 106px;
  min-width: 142px;
  max-width: 142px;
  text-align: center;
  margin-top: 18px;
  background-color: white;
  color: var(--cms-color-regular) !important;
}
body.CMS div.FancyBoxGallery .Images .GalleryItem.Add:hover {
  color: var(--cms-color-dark) !important;
}

#Content div.FancyBoxGallery ul.Gallery {
  font-size: 0;
  box-sizing: content-box;
  margin-bottom: -10px;
  margin-left: -10px;
}
#Content div.FancyBoxGallery ul.Gallery li.Gallery-Item {
  font-size: 0;
  display: inline-block;
  margin-bottom: 10px;
  margin-left: 10px;
  padding: 0;
  position: relative;
  overflow: hidden;
  /*a.Video:after {
      left: calc(50% - 64px/2);
      top: calc(50% - 64px/2);
      position: absolute;
      display: block;
      content: $font-Flaticon-freccia-su;
      width: 64px;
      height: 64px;
      opacity: 0.7;
      color: #fff;
      border-radius: 50%;
      background-color: #000;
      font-size: 26px;
      font-family: "Flaticon";
      font-style: normal;
      font-weight: normal;
      font-variant: normal;
      line-height: 64px;
      text-align: center;
      text-decoration: inherit;
      text-rendering: optimizeLegibility;
      text-transform: none;
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      font-smoothing: antialiased;
      transform: rotate(90deg);
      text-decoration: none;

      &:hover {
          text-decoration: none;
      }
  }*/
}
#Content div.FancyBoxGallery ul.Gallery li.Gallery-Item img {
  width: 100%;
  height: 100%;
  transition: transform 300ms linear;
}
#Content div.FancyBoxGallery ul.Gallery li.Gallery-Item:hover img {
  transform: scale(1.2);
}
#Content div.FancyBoxGallery ul.Gallery li.Gallery-Item:hover a.Video:after {
  opacity: 1;
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///C:/Progetti/Magicland/FrontEnd/Content/Theme/FancyBoxGallery.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AAGI;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAGI;EACI;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIR;EACI;;AAIR;EACI;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAKZ;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;EACA;;AAKZ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;EACA;;AAIR;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACI;;;AAQhB;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;AAiBA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;;AAfA;EACI;EACA;EACA;;AAIA;EACI;;AAGJ;EACI%22%7D */