.navbar {
  z-index: 1000;
}
.card-flip {
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.card-flip:hover .flip,
.card-flip.hover .flip {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.card-flip#servizi,
.front,
.back {
  width: 100%;
  height: 280px;
}

.card-flip,
.front,
.back {
  width: 100%;
  height: 450px;
}

.flip {
  transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: relative;
}
.carousel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.front,
.back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.front {
  z-index: 2;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.card-testimonial .card-avatar img {
  border-radius: 3% !important;
}

.carousel .carousel-inner {
  box-shadow: none !important ;
  border-radius: 0 !important;
}
.search-form-locations {
  background-color: #f1f5f8;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
}

.slick-prev::before,
.slick-next::before {
  font-size: 2rem;
  color: #86ceec;
}

.slick-prev,
.slick-next {
  z-index: 10;
  width: 2rem;
  height: 2rem;
}

.video-container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.video-container video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-container svg {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.video-container svg mask rect {
  fill: white;
}

.video-container svg > rect {
  -webkit-mask: url(#mask);
  mask: url(#mask);
}

.video-container svg g path {
  x: 900;
  y: 100;
}
.bg-light-gray {
  background-color: rgba(0, 0, 0, 0.2);
}

.container-full {
  width: 100vw;
  margin: 0 auto;
  padding: 0;
}

.card-img-top {
  width: 100%;
  height: 350px;
  display: block;
  object-fit: cover;
  object-position: center;
}
.team-1 {
  padding: 7rem 0 !important;
}
.modal-full {
  min-width: 100%;
  max-width: 100vw;
  margin: 0;
}

.modal-full .modal-content {
  min-height: 100vh;
}

.modal-header .close {
  padding: 1.5rem 1.5rem;
  margin: -1rem -1rem -1rem auto;
}
.modal .modal-header .close {
  color: #86ceec;
  text-shadow: none;
}
.close {
  float: right;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
}
.carousel-item video {
  max-width: 100%;
}

.grid {
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
  font-size: 0;
}

.cell {
  display: block;
  font-size: 16px;
  font-size: 1rem;
  position: relative;
  min-width: 320px;
  min-height: 320px;
}

.cell:after {
  padding-bottom: 100%;
  display: block;
  content: "";
}

.content {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0rem;
  left: 0rem;
  right: 0rem;
  bottom: 0rem;
  padding: 0rem;
  overflow: hidden;
}
.content p {
  display: table;
  color: #fefefe;
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.2);
}
.content p span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  color: #fefefe;
  padding: 1rem;
}

.content > video {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  max-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 580px) {
  .cell {
    display: inline-block;
    width: 50%;
    width: -webkit-calc(100% / 2);
    width: -moz-calc(100% / 2);
    width: calc(100% / 2);
  }
}

@media (min-width: 769px) {
  .cell {
    width: 33.3333%;
    width: -webkit-calc(100% / 3);
    width: -moz-calc(100% / 3);
    width: calc(100% / 3);
  }
}
.card-location {
  max-height: 230px;
  overflow: hidden;
}
.header-3 {
  max-height: 100vh;
  height: 100vh;
}

.page-header-medium {
  min-height: 75vh;
  max-height: 720px;
}
