.gallery {
  margin-top: 70px;
}
.gallery__title {
  padding: 0;
  margin: 0;
  width: 100%;
}
.gallery__toggles {
  display: flex;
  justify-content: space-between;
}
.gallery__toggles-item {
  display: flex;
}
.gallery__toggles-link {
  display: block;
  padding: 0.2551020408vw 2.5510204082vw;
  color: #000000;
  font-size: 0.9183673469vw;
  font-weight: 700;
  text-transform: uppercase;
}
.gallery__toggles-link:not(:first-child) {
  border-left: 1px solid #357dc1;
}
.gallery__toggles-link.active {
  background: #357dc1;
  color: #fff;
}
.gallery__toggles-link.active:hover {
  color: #fff;
}
.gallery__toggles-link:hover {
  color: #357dc1;
  text-decoration: none;
}
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row: 1fr 1fr 1fr;
  grid-gap: 2.2959183673vw;
  padding-top: 0;
}
.gallery__grid-item {
  display: block;
  transition: 300ms;
  transition-delay: 100ms;
  max-height: 300px;
  height: 100%;
}
.gallery__grid-item:hover {
  box-shadow: 0 0 9px 9px rgba(0, 0, 0, 0.34);
}
.gallery__grid-img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
}
.gallery__carusel {
  max-width: 960px;
  width: 100%;
  margin: auto;
  position: absolute !important;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.gallery__carusel-btn {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
}
.gallery__carusel-icon {
  width: 100%;
  object-fit: contain;
}
.gallery__carusel.home-gallery__carusel-img {
  max-height: none;
}

.dialog-carusel {
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: flex;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  bottom: 50%;
}
.dialog-carusel__close {
  width: 30px;
  height: 30px;
  position: absolute;
  margin: auto;
  left: 50%;
  right: 0;
  top: 0;
  bottom: 50%;
  z-index: 1;
  cursor: pointer;
}

@media screen and (max-width: 1254px) {
  .gallery__toggles-link {
    padding: 5px 25px;
    font-size: 16px;
  }
  .gallery__grid {
    grid-gap: 20px;
  }
}
@media screen and (max-width: 960px) {
  .gallery__carusel-layout {
    display: none;
  }
  .gallery__toggles {
    padding-top: 0;
    flex-direction: column;
  }
  .gallery__toggles-item {
    margin: 10px 0;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
}
@media screen and (max-width: 600px) {
  .gallery__toggles-item {
    flex-direction: column;
    border: 1px solid #357dc1;
  }
  .gallery__toggles-link:not(:first-child) {
    border: none;
    border-top: 1px solid #357dc1;
  }
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=gallery.css.map */
