.fleet {
    position: relative;

    &::after {
        background-color: var(--black-2);
    }
}



/* swiper */
.swiper-container {
		width: 100%;
		height: 300px;
		margin: 20px auto;
}

.swiper-slide-container {
  text-align: center;
	font-size: 18px;
	background: #fff;
  height:100%;
  max-width: 600px;
  width: 100%;
  /* margin:auto; */
		/* Center slide text vertically */
		/* display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center; */
}

.gallery-top .swiper-slide-container { 
    margin: unset;
}

.gallery-thumbs .swiper-slide-container {
    margin: auto;
}

.swiper-container.gallery-top {
/* background: yellow;     */
}

.swiper-container.gallery-thumbs {
/*     background: red; */
}

.fleet__gallery-one-image img {
    border-radius: 20px;
}

.fleet__gallery-one-image {
    width: 50%;
        overflow: hidden;
    /* border: 1px solid red; */
    overflow: hidden;
    display: flex;
    align-items:center;
}


.fleet__gallery-thumbs {
    width: 50%;
    /* background: red; */
    /* border:1px solid; */
    overflow: hidden;
}

/* .fleet__gallery-thumbs .swiper-container.gallery-thumbs .swiper-wrapper .swiper-slide {
    display: flex;
    flex-direction: column;
} */


/* .swiper.gallery-thumbs .swiper-wrapper{
  counter-reset: chapter 0;
}

.swiper.gallery-thumbs .swiper-wrapper .swiper-slide {
  counter-increment: chapter 1;
}

.swiper.gallery-thumbs .swiper-wrapper::before {
  content: "Глава "counter(chapter) ": ";
  position: absolute;
  bottom: 0;
  right: 0;
} */

.fleet__gallery .fleet__gallery-thumbs .counter {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 5;
}





.gallery-top {
		height: 80%;
		width: 100%;
}
.gallery-thumbs {
		height: 100%;
		box-sizing: border-box;
		padding: 10px 0;
}
.gallery-thumbs .swiper-slide {
		/* text-align: center; */
		overflow: hidden;
		border-radius: 20px;
      font-size: 18px;
      /* background: #fff; */
      height: calc((100% - 30px) / 2) !important;

      /* Center slide text vertically */
     /*  display: flex;
     justify-content: center;
     align-items: center; */
}

@media (max-width: 768px) {
    .gallery-thumbs .swiper-slide {
        height: 100px !important;
    }
}

.gallery-thumbs .swiper-slide-active {
		opacity: 1;
}
/* swiper */

.fleet__content {
    padding-bottom: 80px;
    position: relative;
    z-index: 10;
    background-color: var(--black-4);
    border-radius: 41px 41px 0 0;
}


.fleet__gallery {
    display: flex;
    gap: 0 10px;
    overflow: hidden;
    justify-content: space-between;
    height: 500px;
}



.fleet__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fleet__photo,
.fleet__photo-link {
    width: calc(50% - 5px);
    border-radius: 20px;
}


.fleet__photo-link>.fleet__photo {
    width: 100%;
    height: 100%;
}

.fleet__photo-link,
.fleet__slide-link {
    position: relative;

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        background-color: rgb(36, 69, 94, .6);

    }
}


.fleet__slide-link {
    display: block;
}

.fleet__count {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 30px;
    font-weight: 700;
    transform: translate(-50%, -50%);
    color: var(--white);
    z-index: 10;

}

.fleet__descr {
    margin-top: 24px;
    border-radius: 20px;
    padding: 30px;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 40px 0;
}

.fleet__top {
    display: flex;
    justify-content: space-between;
}


.fleet__text {
    margin-top: 20px;
    max-width: 735px;
    line-height: 1.5;
    color: var(--gray-1);
}

.fleet__list {
    padding: 40px 0;
    border-top: 1px solid var(--gray-2);
    border-bottom: 1px solid var(--gray-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fleet__item {
    color: var(--gray-1);
    position: relative;

    &::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -100px;
        transform: translate(-50%, -50%);
        width: 1px;
        height: 34px;
        background-color: var(--gray-2);
    }


}

.fleet__item-l::after {
    display: none;

}

.fleet__value {
    display: block;
    margin-top: 6px;
    color: var(--black-1);
    font-size: 28px;
}




.fleet__descr-link {
    display: flex;
    color: var(--black-1);
    align-items: center;
    margin-top: 20px;
}

.fleet__wrapper {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--bronze);
}

.fleet__contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fleet__person {
    gap: 0 30px;
    display: flex;
}

.fleet__about {
    display: flex;
    flex-direction: column;
}

.fleet__person-name {
    font-size: 20px;
}

.fleet__person-image {
    flex-shrink: 0;
    min-width: 120px;
    max-height: 120px;
}

.fleet__person-post {
    font-size: 12px;
    color: var(--gray-1);
    margin-top: 4px;
}

.fleet__bottom-text {
    max-width: 514px;
}

.fleet__number {
    color: var(--black-1);
    margin-top: 14px;
    font-size: 18px;
    font-weight: 500;
}

.fleet__contacts {
    display: flex;
    gap: 0 10px;
    margin-top: 9px;
}

.fleet__demonstration {
    position: absolute;
    left: 0;
    transform: translateX(-100%);
    width: 1;
    height: 1;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;

}

.fleet__item-m {
    display: none;
}

.our-fleet {
    position: relative;

    &::after {
        background-color: var(--black-4);
    }
}

.our-fleet__content {
    padding: 80px 0 100px;
    position: relative;
    z-index: 10;
    background-color: var(--white);
    border-radius: 41px 41px 0 0;
}


.our-fleet__inner {
    display: flex;
    gap: 0 54px;
    margin-top: 20px;

}

.our-fleet__texts {
    width: calc(50% - 27px);
    display: flex;
    flex-direction: column;
    gap: 20px 0;
line-height: 1.5;
}

.specifications {
    padding: 80px 0;
    background-color: var(--gray-3);
}

.specifications__inner {
    margin-top: 40px;
    display: flex;
    gap: 0 53px;
}

.specifications__list {
    width: calc(50% - 26.5px);
    display: flex;
    flex-direction: column;
    gap: 20px 0;
}

.specifications__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-2);
}

.specifications__key {
    font-size: 18px;
    color: var(--gray-1);
}

.specifications__value {
    color: var(--black-1);
    font-size: 24px;
}

.equipment {
    background-color: var(--gray-3);
    margin-bottom: 100px;

}

.equipment__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    position: relative;
    padding-bottom: 286px;
}

.equipment__text {
    max-width: 535px;
}


.equipment__yacht {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
}



@media (max-width: 1200px) {
    .fleet__main-photo {
        width: 500px;
    }
    
    /* .swiper.gallery-thumbs .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    } */

    .fleet__item {
        &::after {
            display: none;
        }

    }


    .specifications__value {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    
    .fleet__gallery-one-image {
    width: 100% !important;
        
        margin-top: 20px;
    }
    
    .fleet__gallery-thumbs {
    width: 100% !important;
    height: 100%;
    }
    
    .gallery-thumbs {
    height: unset !important;
    }
    
    .fleet__gallery { 
        height: unset !important;
    }
    
    .fleet__image {
    /* height: 100% ; */
    height: 150px ;
    width: 100%;
    object-fit: cover;
    }

    .fleet__person {
        gap:  0 20px;
    }
    .fleet__gallery {
        margin-top: 0;
    }

    .fleet__content {
        padding-top: 0;
    }

    .fleet__gallery {
        flex-direction: column;
        gap: 10px;
    }

    .fleet__descr {
        padding: 43px 21px;
    }

    .fleet__title {
        font-size: 32px;
    }

    .fleet__main-photo {
        width: 100%;
    }

    .fleet__top {
        flex-direction: column;
        gap: 30px 0;
    }

    .fleet__descr {
        gap: 20px 0;
        padding: 20px 15px;
    }

    .fleet__descr-button {
        max-width: 100%;
    }

    .fleet__list {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        border-top: 1px solid var(--bronze);
        border-bottom: 1px solid var(--bronze);
        gap: 10px 0;
        margin-top: 20px;
    }

    .fleet__list .fleet__descr-link {
        margin-top: 0;
    }

    .fleet__value {
        font-size: 22px;
    }

    .fleet__item {
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px dashed var(--gray-3);
        flex-grow: 1;

        &:last-child {
            border: none;
            padding-bottom: 0;
        }
    }

    .fleet__text {
        margin-top: 0;
    }

    .fleet__wrapper {
        padding-bottom: 20px;
    }

    .fleet__contact {
        flex-direction: column;
        gap: 20px 0;
        align-items: flex-start;
    }

    .fleet__bottom-text {
        margin-top: 20px;
    }

    .fleet__item-m {
        display: block;
    }

    .our-fleet__inner {
        flex-direction: column;
    }

    .our-fleet__content {
        padding: 30px 0 40px;
    }

    .our-fleet__texts {
        width: 100%;
    }

    .specifications {
        padding: 30px 0 60px;
    }

    .specifications__inner {
        flex-direction: column;
        gap: 20px 0;
    }

    .specifications__list {
        width: 100%;
    }


    .equipment {
        margin-bottom: 200px;
    }

    .equipment__inner {
        padding-bottom: 304px;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px 0;
    }

    .equipment__button {
        max-width: 100%;
    }




}

@media screen and (max-width:1200px) and (min-width:768px) { 
    .fleet__image {
        height: 200px ;
        width: 200px ;
        object-fit:cover;
    }
}

@media (max-width:480px) {

    .fleet__gallery-thumbs {
        height: 200px;
    }
    
    .fleet__gallery-thumbs .swiper-wrapper {
    height: 100%;
    }
    /* .fleet__gallery {
        display: none;
    }
     */
    .fleet__demonstration {
        opacity: 1;
        overflow: visible;
        pointer-events: painted;
        width: 100%;
        height: auto;
        position: static;
        transform: none;
    }

    .fleet__image {
        width: 100%;
    }

    .fleet__pagination {
        margin-top: 4px;
    }

    .fleet__slide {
        max-width: 90px;
    }

    .specifications__key {
        font-size: 14px;
    }

    .specifications__value {
        font-size: 16px;
    }
}

@media (max-width:340px) {
    
    .fleet__number {
        font-size: 14px;
    }
}