﻿.img-ctn.hover .info-banner, .img-ctn:hover .info-banner {
  display: block;
  opacity: 1;
}

.info-banner {
  background-color: rgba(0, 0, 0, 0.7);
  height: 4rem;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  right: 2.5px;
  display: none;
  text-align: right;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  width: auto;
}
.info-banner .similar-img {
  margin-top: 0;
  border: 1px solid #fff;
  color: #fff;
}
.info-banner.top-of-img {
  max-width: 500px;
  margin: 1rem 0;
}
@media (max-width: 992px) {
  .info-banner.top-of-img {
    margin: 1rem auto;
  }
}
.info-banner.top-of-img .fav-ctn {
  margin-right: 2rem;
}
.info-banner.top-of-img .fav {
  font-size: 2rem;
  opacity: 0.5;
  position: absolute;
  right: 0;
  top: 3px;
  margin: 0;
}
.info-banner.top-of-img .fav:hover {
  background: #fff !important;
  opacity: 1;
  box-shadow: none;
}
.info-banner:not(.top-of-img) {
  opacity: 0;
  transition: opacity 0.3s;
}
.info-banner:not(.top-of-img) .fav-ctn .fav {
  position: absolute;
  right: 0;
  top: 3px;
  margin: 0 !important;
  opacity: 0.5;
  font-size: 22px;
}
.info-banner:not(.top-of-img) .fav-ctn .fav .fa-heart {
  opacity: 1 !important;
}
.info-banner:not(.top-of-img) .fav-ctn .fav:hover {
  opacity: 1 !important;
}
.info-banner .similar-img {
  opacity: 1 !important;
  font-size: 1.4rem;
  display: inline-block !important;
  padding: 0 0.8rem !important;
  background: transparent;
  color: #fff;
  position: relative;
  width: auto;
  transform: none !important;
}
.info-banner .similar-img:hover {
  color: #fff;
}
.info-banner .fav-ctn {
  display: inline-block !important;
  height: 3rem;
  width: 3rem !important;
  margin-left: 0;
}
.info-banner .fav-ctn .fav {
  padding: 0;
  margin-left: 0;
}
.info-banner .fav-ctn .fav .fa-heart {
  color: #f00 !important;
}
.info-banner .fav-ctn i {
  color: #fff !important;
}
.info-banner .img-zoom {
  display: inline-block !important;
  opacity: 0.5;
  color: #fff !important;
  z-index: 10;
  font-size: 22px;
}
.info-banner .img-zoom svg {
  width: 1em;
  height: 1em;
}
.info-banner .img-zoom:hover {
  color: #fff !important;
  opacity: 1 !important;
}
.info-banner .ai-gen {
  position: absolute;
  left: 10px;
  top: 8px;
}

#masonry .img-wrapper {
  margin: 2.5px;
  text-align: center;
}
#masonry .img-zoom {
  cursor: pointer;
  width: 20px;
}
#masonry .img-ctn {
  position: relative;
  display: inline-block;
  /*@media (min-width: 768px) {
          &:before {
              content: '';
              position: absolute;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              z-index: 1;
          }
      }*/
}
#masonry .img-ctn a {
  margin: 0 !important;
}
@media (min-width: 768px) {
  #masonry .img-ctn .btn-ctn {
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 300px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #masonry .img-ctn .btn-ctn .btn {
    font-size: 1.5rem;
  }
}
#masonry .img-ctn .btn-ctn > a {
  display: block;
  width: 100%;
  padding: 10% 25px;
  position: relative;
}
#masonry .img-ctn .btn-ctn > a span {
  margin: 0;
}
#masonry .img-ctn .btn-ctn > a:hover span {
  color: #000;
}
@media (max-width: 767px) {
  #masonry .img-ctn .btn-ctn {
    display: none;
  }
}
@media (min-width: 768px) {
  #masonry .img-ctn:hover .info-banner {
    z-index: 10;
    opacity: 1;
  }
  #masonry .img-ctn:hover .img-zoom,
  #masonry .img-ctn:hover .fav {
    z-index: 15;
    opacity: 0.5;
  }
  #masonry .img-ctn:hover .btn-ctn {
    z-index: 15;
  }
  #masonry .img-ctn:hover .btn-primary {
    z-index: 10;
    opacity: 1;
  }
}
#masonry .img-ctn .btn-primary {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 2px 20px;
}
#masonry .img-ctn .btn-primary:hover {
  background-color: #fff !important;
  border: 1px solid #fff;
  opacity: 1;
}

.js-masonry {
  margin-top: 5px;
}

.item {
  /*width: -moz-calc((100% - 32px) / 6);
    width: -webkit-calc((100% - 32px) / 6);
    width: -o-calc((100% - 32px) / 6);*/
  width: calc((100% - 32px) / 3);
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*margin-bottom: 5px;*/
}

.item .img-ctn {
  width: 100%;
}

.item a {
  display: block;
  text-align: center;
  /*border: 1px solid #DDDDDD;*/
  width: 100%;
}

.item a img {
  width: 100%;
}

.item .title {
  padding: 15px 15px 35px 15px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.item .title::first-letter {
  text-transform: capitalize;
}

.item.fav-removed {
  -ms-opacity: 0.2;
  opacity: 0.2;
}

* {
  box-sizing: border-box;
}

.grid:after {
  content: "";
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 100%;
}
@media (min-width: 772px) {
  .grid-sizer,
  .grid-item {
    width: 48%;
  }
}
@media (min-width: 992px) {
  .grid-sizer,
  .grid-item {
    width: 33%;
  }
}

.gutter-sizer {
  width: 0.33%;
}

.grid-item {
  float: left;
  margin-bottom: 0.33%;
}
.grid-item:hover {
  cursor: pointer;
}

.grid-item img {
  display: block;
  max-width: 100%;
  width: 100%;
}

.grid-item.grid-item__expanded {
  width: 66.66%;
  z-index: 2;
}

.modal:not(#promo-pop) {
  width: 100%;
  overflow: hidden;
}
.modal:not(#promo-pop) .backdrop {
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.modal:not(#promo-pop) .img-ctn {
  position: relative;
  display: inline-block;
  width: auto;
  height: 90vh;
  width: 80vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.modal:not(#promo-pop) .btn {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.modal:not(#promo-pop) .modal-dialog {
  width: 100%;
}
@media (max-width: 767px) {
  .modal:not(#promo-pop) .modal-dialog {
    margin: 0;
  }
}
.modal:not(#promo-pop) .modal-content {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  /*background: #000;*/
  padding-bottom: 84px;
}
.modal:not(#promo-pop) .modal-img {
  width: 100%;
  height: auto;
}
.modal:not(#promo-pop) .modal-body {
  text-align: center;
  height: 90vh;
}

.custom-mural-modal .modal-dialog {
  display: inline-block;
  vertical-align: middle;
  max-width: 680px;
  width: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  background-color: #fff;
}
.custom-mural-modal .close {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 40px;
  margin: 0;
}
.custom-mural-modal h2 {
  font-size: 40px;
}
.custom-mural-modal .modal-header {
  padding: 70px 90px 60px 90px;
  border: none;
}
.custom-mural-modal .modal-content {
  border-radius: 0;
  border: none;
}
.custom-mural-modal .modal-body {
  height: auto !important;
}
.custom-mural-modal .modal-body .btn {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
}

/*.categories {
  margin-bottom: 50px;

  li {
    height: 50px;



    a {
      border: 2px solid #000;
      background: #fff;

      &:hover {
        border-color: #f00;
        color: #000 !important;
        background: #fff !important;
      }
    }

    .total {
      color: #f00 !important;
    }
  }
}*/
.categories ul {
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .categories ul {
    display: none;
  }
  .categories ul li {
    margin: 5px;
    display: block;
  }
}
.categories ul li {
  background: none;
  padding: 0 5px;
}
.categories ul li a {
  padding: 5px 10px;
}
.categories ul a {
  border: 2px solid #000;
  background: #fff;
  display: block;
  border-radius: 25px;
}
.categories ul a:hover {
  border-color: #f00;
  color: #000 !important;
  background: #fff !important;
}
.categories ul > li ul {
  display: none;
}
.categories ul > li ul li a {
  font-size: 0.8em;
}
.categories ul > li.active {
  position: relative;
}
.categories ul > li.active > a {
  border: 3px solid #f00;
  color: #f00 !important;
  background: #fff !important;
}
.categories ul > li.active > ul {
  display: block;
  width: 80%;
  margin: auto;
}
@media (min-width: 768px) {
  .categories ul > li.active > ul {
    position: absolute;
    top: 100%;
    display: block;
    max-width: 700px;
    width: 90vw;
    margin-top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.categories ul > li.active > ul li {
  display: inline-block;
}
@media (max-width: 767px) {
  .categories ul > li.active > ul li {
    display: block;
  }
}
.categories ul > li.active > ul li a {
  font-size: 0.8em;
}
.categories ul > li.active > ul li.active {
  position: relative;
}
.categories ul > li.active > ul li.active > a {
  border: 3px solid #f00;
  color: #f00 !important;
  background: #fff !important;
}

.floating-btn-ctn {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  z-index: 99999;
}
.floating-btn-ctn.show-always {
  display: block !important;
}
.blog .floating-btn-ctn {
  bottom: 27px;
}
.blog .floating-btn-ctn .share-btn {
  left: 49%;
  font-size: 18px !important;
}
@media (max-width: 797px) {
  .blog .floating-btn-ctn .share-btn {
    bottom: 5px;
  }
}
@media (max-width: 400px) {
  .blog .floating-btn-ctn .share-btn {
    bottom: 75px;
    left: 50%;
  }
}
.floating-btn-ctn.show {
  display: block;
}
.floating-btn-ctn.show .show-filters {
  display: block;
  margin: auto;
  background-color: #000;
  color: #fff;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.floating-btn-ctn .categories ul {
  display: none;
  margin-top: 25px;
}
.floating-btn-ctn .categories ul li {
  background: none;
  display: inline-block;
  padding-left: 0;
  /*
          border: 2px solid #000;
          */
}
.floating-btn-ctn .categories ul li a {
  background: #fff;
  border-radius: 30px;
  padding: 2px 20px !important;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}
.floating-btn-ctn .categories ul li a span {
  color: #f00;
}
.floating-btn-ctn .categories ul li ul {
  top: auto;
  bottom: 100%;
}
.floating-btn-ctn .categories ul li ul li {
  margin-bottom: 10px;
}

.commercial-listing .realisations.listing {
  max-width: 1920px;
  margin: 50px auto;
}
.commercial-listing .realisations.listing .img-wrapper .img-ctn {
  margin-bottom: 60px;
}
.commercial-listing .realisations.listing .tapestry-name {
  margin-top: 5px;
  font-size: 20px;
  display: block;
}
@media (min-width: 768px) {
  .commercial-listing .realisations.listing .img-desktop {
    display: block;
  }
  .commercial-listing .realisations.listing .img-mobile {
    display: none;
  }
}
@media (max-width: 767px) {
  .commercial-listing .realisations.listing .img-desktop {
    display: none;
  }
  .commercial-listing .realisations.listing .img-mobile {
    display: blocks;
  }
}
.commercial-listing .realisations.listing .intro-text {
  max-width: 1100px;
  margin: 0 auto 50px;
}
.commercial-listing .realisations.listing .intro-text .ql-block {
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  #imageModal .modal-footer {
    height: auto;
    margin-top: 0;
  }
  #imageModal .modal-footer .ambiance-overlay-selector-ctn .ambiance-overlay-selector {
    width: 40px;
  }
  #imageModal .extra-actions-ctn {
    font-size: 12px;
    justify-content: space-between;
    align-content: center;
    align-items: center;
  }
  #imageModal .extra-actions-ctn button span {
    font-size: 26px;
  }
  #imageModal .modal-footer {
    margin-bottom: 100px;
  }
  #imageModal .extra-actions {
    padding-bottom: 0 !important;
  }
}
