/*!*************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/sass-resources-loader/lib/loader.js??ruleSet[1].rules[0].use[3]!./template-parts/block-yacht-gallery/block-yacht-gallery.scss ***!
  \*************************************************************************************************************************************************************************************************************************************/
.page-404 {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; }
  @media screen and (max-width: 980px) {
    .page-404 {
      padding: 0 50px; } }
  @media screen and (max-width: 767px) {
    .page-404 {
      padding: 0 25px; } }

.page-404_number {
  color: #fff; }

.page-404_title {
  max-width: 780px;
  width: 100%;
  text-align: center;
  margin-bottom: 50px; }

.page-404_image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; }

.page-404_button {
  background-color: #fff;
  color: #0165ad;
  border: none; }

@media screen and (min-width: 1921px) {
  .page-404_title {
    max-width: 40.625vw;
    margin-bottom: 2.60417vw; } }

.block-yacht-gallery {
  max-width: 1660px;
  margin: 0 auto;
  padding: 100px 0; }
  @media screen and (max-width: 1750px) {
    .block-yacht-gallery {
      max-width: 100%;
      padding: 100px 50px; } }
  @media screen and (max-width: 1024px) {
    .block-yacht-gallery {
      padding: 50px; } }
  @media screen and (max-width: 768px) {
    .block-yacht-gallery {
      padding: 50px 30px; } }

.byg_title {
  color: #00122d;
  margin: 50px 0; }

.byg_p {
  max-width: 816px;
  width: 100%;
  margin: 0 auto 40px; }
  .byg_p h3 {
    color: #00122d;
    margin-bottom: 24px; }
  .byg_p ul li {
    padding-left: 20px;
    margin-bottom: 10px; }
    .byg_p ul li:last-of-type {
      margin-bottom: 0; }

.byg_container-up {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 35px;
  position: relative; }
  @media screen and (max-width: 1250px) {
    .byg_container-up {
      grid-template-columns: repeat(2, 1fr); } }
  @media screen and (max-width: 768px) {
    .byg_container-up {
      grid-template-columns: repeat(1, 1fr); } }

.byg_button-hover {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(1, 101, 173, 0.7);
  z-index: 1;
  transition: 0.2s; }
  .byg_button-hover.active {
    visibility: visible;
    opacity: 1; }

.byg_button {
  position: relative;
  border: none; }
  .byg_button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00122d;
    opacity: 0.3;
    transition: 0.5s background-color;
    will-change: background-color; }
  .byg_button.active::after {
    background: #0165ad;
    opacity: 0.7; }

.byg_button-title {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff; }

.byg_img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.js-container {
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 3px;
  margin-top: 65px;
  visibility: hidden;
  opacity: 0;
  display: none; }
  @media screen and (max-width: 1550px) {
    .js-container {
      grid-template-columns: repeat(2, 1fr); } }
  @media screen and (max-width: 768px) {
    .js-container {
      grid-template-columns: repeat(1, 1fr); } }
  .js-container.active {
    display: grid;
    opacity: 1;
    visibility: visible; }
  .js-container .byg_image {
    visibility: hidden;
    opacity: 0;
    transition: 0.5s opacity, 0.5s visibility;
    will-change: opacity, visibility;
    cursor: pointer; }
    .js-container .byg_image.show {
      opacity: 1;
      visibility: visible; }

.byg_container-down {
  position: relative; }

.byg_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s opacity, 0.3s visibility;
  z-index: 10;
  user-select: none; }
  .byg_modal.open {
    visibility: visible;
    opacity: 1; }
  @media screen and (max-width: 1750px) {
    .byg_modal {
      padding: 0 50px; } }
  @media screen and (max-width: 768px) {
    .byg_modal {
      padding: 0; } }

.byg_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5); }

.byg_img-slider {
  position: relative;
  top: 130px;
  max-width: 1660px;
  width: 100%;
  height: calc(95vh - 130px);
  user-select: none; }
  @media screen and (max-width: 1430px) {
    .byg_img-slider {
      top: 110px;
      height: calc(95vh - 110px); } }
  @media screen and (max-width: 1024px) {
    .byg_img-slider {
      height: calc(80vh - 110px); } }
  @media screen and (max-width: 768px) {
    .byg_img-slider {
      height: calc(90vh - 85px); } }

.close_btn {
  position: absolute;
  z-index: 10;
  top: 40px;
  right: 40px;
  cursor: pointer;
  transition: 0.3s transform;
  will-change: transform; }
  @media (hover: hover) and (pointer: fine) {
    .close_btn:hover {
      transform: rotate(-90deg); } }

.swiper-button-next,
.swiper-button-prev {
  width: 80px;
  height: 80px; }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    display: none; }
  .swiper-button-next svg,
  .swiper-button-prev svg {
    width: 100%;
    height: 100%; }

.swiper-button-next {
  right: 50px; }

.swiper-button-prev {
  left: 50px; }

.byg_comment {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.705);
  display: flex;
  align-items: center;
  justify-content: center; }
  .byg_comment p {
    color: #00122d;
    text-align: center; }

@media screen and (min-width: 1921px) {
  .block-yacht-gallery {
    max-width: 86.45833vw;
    padding: 5.20833vw 0; }
  .byg_title {
    margin: 2.60417vw 0; }
  .byg_p {
    max-width: 42.5vw;
    margin: 0 auto 2.08333vw; }
    .byg_p h3 {
      margin-bottom: 1.25vw; }
    .byg_p ul li {
      padding-left: 1.04167vw;
      margin-bottom: 0.52083vw; }
  .byg_container-up {
    grid-gap: 1.82292vw; }
  .js-container {
    grid-gap: 0.15625vw;
    margin-top: 3.38542vw; }
  .byg_img-slider {
    top: 6.77083vw;
    max-width: 86.45833vw;
    height: calc(95vh - 6.77083vw); }
  .close_btn {
    top: 2.08333vw;
    right: 2.08333vw; }
    .close_btn svg {
      height: 1.8575851393188854vh;
      width: 0.9375vw; }
  .swiper-button-next,
  .swiper-button-prev {
    width: 4.166666666666667vw !important;
    height: 8.25593395252838vh !important; }
    .swiper-button-next svg,
    .swiper-button-prev svg {
      width: 4.166666666666667vw;
      height: 8.25593395252838vh; }
  .swiper-button-next {
    right: 2.60417vw; }
  .swiper-button-prev {
    left: 2.60417vw; }
  .byg_comment {
    height: 4.16667vw; } }

