



/*--------------------------------------------------------------
# Gallery One
--------------------------------------------------------------*/

.gallery_one {
    position: relative;
    display: block;
    padding: 120px 0 120px;
    border-bottom: 1px solid #f5f0e9;
}

.gallery_one .container-fullwidth {
    position: relative;
    display: block;
    padding: 0 120px;
}

@media (max-width: 1440px) {
    .gallery_one .container-fullwidth {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 1199px) {
    .gallery_one .container-fullwidth {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 575px) {
    .gallery_one .container-fullwidth {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.gallery_one_single {
    position: relative;
    display: block;
    max-width: 315px;
}

.gallery_one_image {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.gallery_one_image img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 500ms ease, -webkit-transform 500ms ease;
    transition: opacity 500ms ease, -webkit-transform 500ms ease;
    transition: transform 500ms ease, opacity 500ms ease;
    transition: transform 500ms ease, opacity 500ms ease, -webkit-transform 500ms ease;
}

.gallery_one_single:hover .gallery_one_image img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery_one_hover_box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    z-index: 1;
}

.gallery_one_hover_box:before {
    position: absolute;
    top: 340px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(91, 140, 81, 0.9);
    content: "";
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: -1;
}

.gallery_one_single:hover .gallery_one_hover_box:before {
    top: 0;
}

.gallery_one_icon {
    position: absolute;
    top: -420px;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.gallery_one_single:hover .gallery_one_icon {
    top: 0px;
}

.gallery_one_icon span {
    height: 80px;
    width: 80px;
    background: var(--thm-base);
    display: inline-block;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    font-size: 22px;
    color: #656a44;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.gallery_one_icon span:hover {
    background: #ffffff;
    color: var(--thm-primary);
}

 



/*--------------------------------------------------------------
# Gallery Two
--------------------------------------------------------------*/

.gallery_two {
    position: relative;
    display: block;
    padding: 120px 0 90px;
}

.gallery_two_single {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.gallery_two_image {
    position: relative;
    overflow: hidden;
}

.gallery_two_image img {
    width: 100%;
    border-radius: 5px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 500ms ease, -webkit-transform 500ms ease;
    transition: opacity 500ms ease, -webkit-transform 500ms ease;
    transition: transform 500ms ease, opacity 500ms ease;
    transition: transform 500ms ease, opacity 500ms ease, -webkit-transform 500ms ease;
}

.gallery_two_single:hover .gallery_two_image img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery_two_hover_box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    z-index: 1;
}

.gallery_two_hover_box:before {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(91, 140, 81, 0.9);
    content: "";
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: -1;
}

.gallery_two_single:hover .gallery_two_hover_box:before {
    top: 0;
}

.gallery_two_icon {
    position: absolute;
    top: -150%;
    left: 0;
    right: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    bottom: 0;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.gallery_two_single:hover .gallery_two_icon {
    top: 0px;
}

.gallery_two_icon span {
    height: 80px;
    width: 80px;
    background: var(--thm-base);
    display: inline-block;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
    font-size: 22px;
    color: #656a44;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.gallery_two_icon span:hover {
    background: #ffffff;
    color: var(--thm-primary);
}
