:root {
    --ct-w: 100%;
}

@media (min-width: 576px) {
    :root {
        --ct-w: 540px;
    }
}

@media (min-width: 768px) {
    :root {
        --ct-w: 720px;
    }
}

@media (min-width: 992px) {
    :root {
        --ct-w: 960px;
    }
}

@media (min-width: 1200px) {
    :root {
        --ct-w: 1140px;
    }
}

@media (min-width: 1400px) {
    :root {
        --ct-w: 1320px;
    }
}

.igall-back-btn button {
    outline: none;
    border: 0;
    color: #050505;
    background-color: transparent;
}

.igall-back-btn button:before {
    content: "";
    /* margin-right: 10px; */
    position: relative;
    top: 2px;
}

.igall-back-btn button:focus {
    text-decoration: underline;
}

.igall-header,
.igall-back-btn {
    color: #fff;
    margin-bottom: 1.5rem;
}

.igall-header>*,
.igall-back-btn>* {
    margin-bottom: 0;
}

.igall.back-btn-show .igall-header,
.igall.back-btn-show .igall-btns {
    display: none;
}

.igall:not(.back-btn-show) .igall-back-btn {
    display: none;
}

.igall-btns>* {
    padding-bottom: 1rem;
}

.igall-btns>.project-block {
    margin-bottom: 10px;
    padding-bottom: 0;
}

.igall-btn {
    outline: none;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    border: 0;
    font-size: 0;
    text-align: left;
    background: transparent;
    padding: 0px 0px 65px;
    border-radius: 0px;
    position: relative;
}

.igall-btn-img {
    display: inline-flex;
    width: 100%;
    height: 250px;
    margin-bottom: 0.25rem;
    border-radius: 0rem;
    overflow: hidden;
}

.igall-btn-img:first-child {
    margin-right: 0rem;
}

.igall-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 366ms cubic-bezier(0.71, 0.05, 0.29, 0.9);
}

.igall-btn-img a {
    width: 100%;
}

.igall-btn:focus h2,
.igall-btn:hover h2 {
    text-decoration: underline;
}

.igall-btn:focus img,
.igall-btn:hover img {
    transform: scale(1);
}

.igall-btn:before,
.mixitup-gallery .project-block .image-box:before {
    content: "";
    height: 95%;
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    display: inline-block;
    position: absolute;
    top: 0;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    transition: var(--trans, opacity .6s ease 0s);
}

.igall-btn:hover:before,
.mixitup-gallery .project-block:hover .image-box:before {
    content: "";
    height: 95%;
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
    opacity: 1;
    display: inline-block;
    position: absolute;
    top: 0;
    z-index: 9;
    pointer-events: none;
    opacity: 1;
    transition: var(--trans, opacity .6s ease 0s);
}

.igall-btn h2 {
    width: 100%;
    color: #fff;
    font-size: 16px;
    margin-bottom: 0.15rem;
}

.igall-btn span {
    text-decoration: none;
    display: block;
    color: #777;
    font-size: 13px;
    line-height: 14px;
}

.igall-content-item:not(.active) {
    display: none;
}

.igall-content-img {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    padding-bottom: calc(var(--ct-w) / 16 * 10);
    overflow: hidden;
    outline: none;
    will-change: box-shadow;
    transition: box-shadow 566ms;
}

.igall-content-img:focus {
    box-shadow: 3px 3px #fff, -3px -3px #fff, -3px 3px #fff, 3px -3px #fff;
}

@media (min-width: 992px) {

    .igall-content-img:focus img,
    .igall-content-img:hover img {
        transform: scale(1.2);
    }

    .igall-content-img:hover:before {
        opacity: 1;
        z-index: 1;
    }
}

.igall-content-img:before {
    z-index: 0;
    opacity: 0;
    will-change: opacity;
    transition: opacity 566ms;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 66px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.66);
    background-image: url("data:image/svg+xml,%3Csvg width='66' height='66' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='33' cy='33' r='32.5' stroke='%23fff'/%3E%3Crect x='27' y='34' width='1' height='13' rx='.5' transform='rotate(-90 27 34)' fill='%23fff'/%3E%3Crect x='33' y='27' width='1' height='13' rx='.5' fill='%23fff'/%3E%3C/svg%3E");
}

.igall-content-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    will-change: transform;
    transition: transform 466ms cubic-bezier(0.71, 0.05, 0.29, 0.9);
}

.igall-lazy {
    will-change: opacity;
    transition: opacity 266ms;
}

.igall-lazy:not(.loaded) {
    opacity: 0;
}

.igall-image-popup .fancybox-bg {
    background: #050505;
}

/*
 sm: 540px,
 md: 720px,
 lg: 960px,
 xl: 1140px,
 xxl: 1320px
 */
@media (min-width: 576px) {
    .igall-content-img {
        padding-bottom: calc((var(--ct-w) / 2) / 16 * 10);
    }
}

@media (min-width: 992px) {
    .igall-content-img {
        padding-bottom: calc((var(--ct-w) / 3) / 16 * 10);
    }
}


.igall-btn .overlay-box {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    -webkit-transform: scale(.7);
    -moz-transform: scale(.7);
    -ms-transform: scale(.7);
    -o-transform: scale(.7);
    transform: scale(.7);
    pointer-events: none;
}

.igall-btn .igall-btn-img+.overlay-box {
    background-color: rgba(26, 41, 54, .65);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.igall-btn .overlay-box:before {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 1px solid #ec972c;
    content: "";
    opacity: 0;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    -webkit-transform: scale(.7);
    -moz-transform: scale(.7);
    -ms-transform: scale(.7);
    -o-transform: scale(.7);
    transform: scale(.7);
}

.igall-btn .igall-btn-img+.overlay-box:before {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition-delay: 200ms;
    -moz-transition-delay: 200ms;
    -ms-transition-delay: 200ms;
    -o-transition-delay: 200ms;
    transition-delay: 200ms;
}

.igall-btn .overlay-box .inner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    -webkit-transform: translateY(-20%);
    -moz-transform: translateY(-20%);
    -ms-transform: translateY(-20%);
    -o-transform: translateY(-20%);
    transform: translateY(-20%);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.igall-btn .igall-btn-img+.overlay-box .inner {
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition-delay: 400ms;
    -moz-transition-delay: 400ms;
    -ms-transition-delay: 400ms;
    -o-transition-delay: 400ms;
    transition-delay: 400ms;
    opacity: 1;
}

.igall-btn .overlay-box h4 {
    position: relative;
    display: block;
    font-size: 20px;
    line-height: 1.2em;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 5px;
}

.igall-btn .overlay-box h4 a {
    display: inline-block;
    color: #ffffff;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.igall-btn .overlay-box h3 a:hover {
    color: #1a77ba;
}

.igall-btn .tags {
    position: relative;
}

.igall-btn .tags a {
    position: relative;
    display: inline-block;
    font-size: 12px;
    line-height: 1.2em;
    color: #999999;
    font-weight: 400;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.igall-btn .tags a:hover {
    color: #ffffff;
}

.project-link-box {
    position: relative;
    margin-bottom: 30px;
}

.project-link-box .inner {
    position: relative;
}

.project-link-box a {
    position: relative;
    display: block;
    font-size: 15px;
    line-height: 25px;
    color: #ffffff;
    font-weight: 700;
    padding: 70px 15px;
    text-transform: uppercase;
    text-align: center;
    background-color: #1a77ba;
    text-decoration: underline;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.project-link-box a i {
    position: relative;
    margin-left: 7px;
}

.project-link-box a:hover {
    color: #1a77ba;
    background-color: #1a77ba;
}

.igall-btn .igall-btn-img+.overlay-box {
    bottom: 0px !important;
    top: auto;
    background: #000;
    padding: 35px;
    height: auto;
    z-index: 9;
}

.igall-btn .igall-btn-img+.overlay-box:before {
    display: none;
}

.igall-btns>.project-block a {
    position: relative;
}


.sliderWrapper>.innerWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    flex: 1;
    gap: 20px;
    width: 100%;
}

.slider-galeria-thumbs {
    width: 16%;
}

.slider-galeria {
    width: 84%;
    height: auto;
}

.slider-galeria div,
.slider-galeria-thumbs div {
    outline: 0;
}

.slider-galeria span {
    display: block;
    height: 600px;
    width: 100%;
    line-height: inherit;
    margin: 0px;
    padding: 0%;
    text-align: center;
}

.slider-galeria span img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-galeria-thumbs span {
    display: block;
    margin-bottom: 5px;
    width: 80px;
    height: 45px;
    background: #1a77ba;
    color: #000;
    font-size: 14px;
    text-align: center;
}

.slider-galeria-thumbs span>img {
    object-fit: cover;
    width: 80px;
    height: 45px;
}

.slider-galeria-thumbs .slick-current span {
    background: #000;
    color: #1a77ba;
}

.slider-galeria-thumbs .slick-slide {
    margin-bottom: 10px;
}

.slider-galeria .slick-slide a.igall-content-img {
    padding: 0 !important;
    height: 100%;
}

.slider-galeria .slick-slide a.igall-content-img::before {
    background: transparent;
    content: "";

}

.slider-galeria .slick-slide a.igall-content-img:focus img,
.slider-galeria .slick-slide a.igall-content-img:hover img {
    transform: scale(1);
}


.slick-vertical .slick-slide.is-active img {
    border: 2px solid #1a77ba;
}

.igall-content {
    margin: 40px 0px;
}

.sliderWrapper {
    display: inline-block;
    width: 100%;
}

.sliderWrapper h4 {
    width: 100%;
    display: block;
    margin-bottom: 30px;
    text-align: left;
    font-weight: bold;
    color: #1a77ba;
    position: relative;
    left: 8px;
}

@media screen and (max-width: 990px) {
    .sliderWrapper>.innerWrapper {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
    }

    .slider-galeria-thumbs.slick-initialized .slick-slide {
        /* display: inline-block; */
        margin-right: 0px;
        width: 80px;
    }

    .slider-galeria-thumbs {
        width: 100%;
    }

    .slider-galeria {
        width: 100%;
    }
}