﻿/*gallery*/
        .gallery-wrapper {
            position: relative;
            z-index: 1;
        }

            .gallery-wrapper .content {
                position: relative;
                overflow: hidden;
                width: 100%;
                /*height: 100vh;*/
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                padding: 3vh 0;
                background: #101014;
                background: linear-gradient(to left, #19191f, #101014);
                /*background: #fff;*/
            }

                .gallery-wrapper .content .gallery.full {
                    position: relative;
                    display: flex;
                    align-items: center;
                }

                    .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
                        display: flex;
                        height: 80vh;
                        align-items: center;
                    }

                        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide {
                            position: relative;
                            height: 50vh;
                            transition: all 0.4s ease-out;
                            box-sizing: border-box;
                            width: auto;
                            opacity: 0.25;
                        }

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-prev, .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-next {
                                width: 20% !important;
                            }

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active {
                                height: auto;
                                width: 60% !important;
                                opacity: 1;
                            }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active:hover .zoom {
                                    opacity: 1;
                                    pointer-events: auto;
                                    visibility: visible;
                                }

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .image {
                                width: 100%;
                                height: 80%;
                            }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .image img {
                                    width: 100%;
                                    height: 100%;
                                    display: block;
                                    object-fit: cover;
                                }

                            /*.gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay {
                                position: absolute;
                                left: 0;
                                bottom: 0;
                                z-index: 2;
                                width: 100%;
                                height: auto;
                                padding: 50px 50px 30px 50px;
                                background: black;
                                background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
                                display: flex;
                                align-items: center;
                                opacity: 0;
                                visibility: hidden;
                                transition: all 0.3s ease-out;
                            }*/

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay.show {
                                opacity: 1;
                                visibility: visible;
                            }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay.show .text-wrap {
                                    opacity: 0;
                                    visibility: visible;
                                    transform: translateY(0);
                                }

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap {
                                display: flex;
                                flex-direction: column;
                                max-width: 600px;
                                opacity: 0;
                                visibility: hidden;
                                transform: translateY(50px);
                                transition: all 0.4s linear;
                            }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .name span {
                                    font-size: 2.2em;
                                    font-weight: 700;
                                }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .caption p {
                                    font-size: 1.16em;
                                    color: #fff;
                                    line-height: 1.7;
                                }

                    .gallery-wrapper .content .gallery.full .swiper-next-button,
                    .gallery-wrapper .content .gallery.full .swiper-prev-button {
                        position: absolute;
                        z-index: 99;
                        outline: none;
                        transition: all 0.2s linear;
                        width: 20%;
                        height: 50vh;
                        display: flex;
                        justify-content: flex-end;
                        align-items: center;
                        cursor: pointer;
                    }

                        .gallery-wrapper .content .gallery.full .swiper-next-button.swiper-button-disabled,
                        .gallery-wrapper .content .gallery.full .swiper-prev-button.swiper-button-disabled {
                            opacity: 0;
                        }

                        .gallery-wrapper .content .gallery.full .swiper-next-button em,
                        .gallery-wrapper .content .gallery.full .swiper-prev-button em {
                            font-size: 68px;
                            color: #fff;
                        }

                    .gallery-wrapper .content .gallery.full .swiper-next-button {
                        right: 0;
                        padding-left: 5vw;
                        justify-content: flex-start;
                    }

                    .gallery-wrapper .content .gallery.full .swiper-prev-button {
                        left: 0;
                        padding-right: 5vw;
                    }

                .gallery-wrapper .content .gallery.thumb {
                    display: none;
                    position: relative;
                    width: 100%;
                    max-width: 1020px;
                    margin: 0 auto;
                    display: flex;
                    align-items: center;
                    padding-left: 12px;
                }

                    .gallery-wrapper .content .gallery.thumb .swiper-container {
                        width: 100%;
                    }

                        .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide {
                            position: relative;
                            height: 10vh;
                            box-sizing: border-box;
                            cursor: pointer;
                        }

                            .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .image {
                                box-shadow: inset 0px 0px 0px 2px #ed1b28;
                                padding: 2px;
                            }

                                .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-thumb-active .image .overlay {
                                    opacity: 0;
                                }

                            .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image {
                                width: 100%;
                                height: 100%;
                                position: relative;
                            }

                                .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image img {
                                    width: 100%;
                                    height: 100%;
                                    display: block;
                                    object-fit: cover;
                                }

                                .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide .image .overlay {
                                    position: absolute;
                                    left: 2px;
                                    top: 2px;
                                    background-color: rgba(43, 44, 54, 0.6);
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    color: #fff;
                                    width: calc(100% - 4px);
                                    height: calc(100% - 4px);
                                    opacity: 0;
                                    transition: all 0.2s linear;
                                }

                    .gallery-wrapper .content .gallery.thumb .swiper-next-button {
                        right: -15px;
                    }

                    .gallery-wrapper .content .gallery.thumb .swiper-prev-button {
                        left: -5px;
                    }

                        .gallery-wrapper .content .gallery.thumb .swiper-prev-button em {
                            transform: rotate(180deg);
                        }

                    .gallery-wrapper .content .gallery.thumb .swiper-next-button,
                    .gallery-wrapper .content .gallery.thumb .swiper-prev-button {
                        position: absolute;
                        z-index: 99;
                        outline: none;
                        transition: all 0.2s linear;
                        width: 0;
                        height: 0;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        background-color: none;
                        cursor: pointer;
                    }

                        .gallery-wrapper .content .gallery.thumb .swiper-next-button:hover,
                        .gallery-wrapper .content .gallery.thumb .swiper-prev-button:hover {
                            background-color: transparent;
                        }

                        .gallery-wrapper .content .gallery.thumb .swiper-next-button.swiper-button-disabled,
                        .gallery-wrapper .content .gallery.thumb .swiper-prev-button.swiper-button-disabled {
                            opacity: 0;
                        }
        /*Mobile*/
        @media only screen and (max-width: 1024px) {
            .gallery-wrapper .content {
                height: 100%;
                padding: 5vh 0;
            }

                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
                    height: 60vh;
                    /*height: 40vh;*/
                }

                    .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide {
                        height: 50vh;
                    }
                    .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .image {
                        height: 50%;
                    }
                        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-prev, .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-next {
                            width: 10% !important;
                        }

                        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active {
                            height: 100vh;
                            width: 80% !important;
                        }
                        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide.swiper-slide-active .image {
                            height: auto;
                        }
                        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay {
                            padding: 20px;
                        }

                            .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap {
                                transform: translateY(0);
                            }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .name span {
                                    font-size: 1.6em;
                                }

                                .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper .swiper-slide .overlay .text-wrap .caption p {
                                    font-size: 1.06em;
                                }

                .gallery-wrapper .content .gallery.full .swiper-next-button,
                .gallery-wrapper .content .gallery.full .swiper-prev-button {
                    width: 10%;
                    height: 50vh;
                    align-items: center;
                    justify-content: center;
                }

                    .gallery-wrapper .content .gallery.full .swiper-next-button em,
                    .gallery-wrapper .content .gallery.full .swiper-prev-button em {
                        font-size: 45px;
                    }

                .gallery-wrapper .content .gallery.full .swiper-next-button {
                    padding-left: 0;
                }

                .gallery-wrapper .content .gallery.full .swiper-prev-button {
                    padding-right: 0;
                }

                .gallery-wrapper .content .gallery.thumb {
                    padding: 0 30px;
                    max-width: 100%;
                }

                    .gallery-wrapper .content .gallery.thumb .swiper-container .swiper-wrapper .swiper-slide {
                        height: 80px;
                    }

                    .gallery-wrapper .content .gallery.thumb .swiper-next-button {
                        right: 10px;
                    }

                    .gallery-wrapper .content .gallery.thumb .swiper-prev-button {
                        left: 10px;
                    }
        }
@media only screen and (max-width: 786px) {
    .gallery-wrapper .content {
        height: 100%;
        padding: 5vh 0;
    }

        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
            
            height: 40vh;
        }
}
@media only screen and (max-width: 576px) {

        .gallery-wrapper .content .gallery.full .swiper-container .swiper-wrapper {
            height: 30vh;
        }
}