
.gallery-three {
    position: relative;
    display: block;
    padding: 100px 0 80px;
    z-index: 1;
}

.gallery-three__wrap {
    position: relative;
    display: block;
}

.gallery-three__list {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    width: fit-content;
}

.gallery-three__list li {
    position: relative;
    display: block;
    float: left;
    margin-right: 30px;
}

.gallery-three__img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

.gallery-three__img:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: -2px;
    left: 0;
    right: 0;
    background-color: var(--crank-black);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform-origin: top center;
    transform-origin: top center;
    -webkit-transform: scaleY(0) translateZ(100px);
    transform: scaleY(0) translateZ(100px);
    -webkit-transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 700ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 700ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, transform 700ms ease;
    transition: opacity 500ms ease, visibility 500ms ease, transform 700ms ease, -webkit-transform 700ms ease;
    z-index: 2;
}

.gallery-three__list li:hover .gallery-three__img:before {
    opacity: .90;
    visibility: visible;
    -webkit-transform: scaleY(1) translateZ(0px);
    transform: scaleY(1) translateZ(0px);
}

.gallery-three__img img {
    width: 100%;
    border-radius: 10px;
}

.gallery-three__icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 2;
}

.gallery-three__icon a {
    height: 100%;
    width: 100%;
    /*border-radius: 50%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #fff;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0.5;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 2;
}

.gallery-three__list li:hover .gallery-three__icon a {
    -webkit-transform: scale(1);
    transform: scale(1);
    transition-delay: 500ms;
	color: #F7941D;
    opacity: 1;
}

.gallery-three__icon a:hover {
    color: var(--crank-black);
    background-color: var(--crank-white);
}

.gallery-three__list--two {
    margin-top: 30px;
}
