


.single-galleries-sub-img img {
    max-width: 100%;
}

/*
* ---------------------------------------------------------------------------
* 10. Galleries area
* ---------------------------------------------------------------------------
*/

.galleries-area {
    overflow: hidden;
}

.gallery-tab-nav {
    padding-top: 80px;
    padding-bottom: 50px;
    text-align: center;
}

.gallery-tab-nav ul {
    border-bottom: 0;
    background-color: #303030;
    border-radius: 40px;
    display: inline-block;
}

.gallery-tab-nav ul li {
    float: none;
    display: inline-block;
    margin-bottom: 0;
}

.gallery-tab-nav ul li a {
    margin-right: 0;
    border-radius: 40px;
    border: 0;
    color: #fff;
    text-transform: uppercase;
    padding: 15px 40px;
}

.gallery-tab-nav ul li a:hover {
    background-color: transparent;
}

.gallery-tab-nav ul li.active a:focus,
.gallery-tab-nav ul li.active a:hover,
.gallery-tab-nav ul li.active a {
    background-color: #ed1c24;
    color: #fff;
    border: 0;
}

.gallery-tab-nav ul li.active a:hover {
    border: 0;
    background-color: #ed1c24;
    color: #fff;
}


/* Gallery carousel */

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 50%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
}

.swiper-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(253, 253, 255, 0.7);
}

.swiper-slide-active {
    position: relative;
    box-shadow: 1px 1px 21px rgba(48, 48, 48, 0.52);
}

.swiper-slide-active:after {
    background-color: rgba(0, 0, 26, 0.07);
}

.swiper-gallery-prev i,
.swiper-gallery-next i {
    background-color: #231f20;
    color: #fff;
    font-size: 40px;
    height: 60px;
    position: absolute;
    width: 60px;
    line-height: 59px;
    text-align: center;
    z-index: 5;
    border-radius: 50%;
    cursor: pointer;
    top: 50%;
    margin-top: -30px;
}

.swiper-gallery-prev i {
    left: 25%;
    margin-left: -30px;
}

.swiper-gallery-next i {
    right: 25%;
    margin-right: -30px;
}

.swiper-gallery-prev i:hover,
.swiper-gallery-next i:hover {
    background-color: #ed1c24;
}


/* Gallery tab text */

.gallery-tab-txt {
    text-align: center;
    padding: 60px 0;
}

.gallery-tab-txt h3 {
    padding-bottom: 22px;
    margin-bottom: 20px;
    position: relative;
}

.gallery-tab-txt h3:after {
    content: '';
    height: 2px;
    width: 70px;
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -35px;
    background-color: #ed1c24;
}

.gallery-tab-txt h5 {
    margin-bottom: 20px;
}

.gallery-tab-txt p {
    margin-bottom: 15px;
}

.swiper-pagination-gallery {
    text-align: center;
    margin-top: 25px;
}

.swiper-pagination-engagment .swiper-pagination-bullet,
.swiper-pagination-wedding .swiper-pagination-bullet,
.swiper-pagination-bridal .swiper-pagination-bullet {
    bottom: 0;
    margin: 0 10px;
    position: relative;
}

.swiper-pagination-engagment .swiper-pagination-bullet:after,
.swiper-pagination-wedding .swiper-pagination-bullet:after,
.swiper-pagination-bridal .swiper-pagination-bullet:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    left: -5px;
    top: 0;
    background-color: #ed1c24;
}

.swiper-pagination-engagment .swiper-pagination-bullet:before,
.swiper-pagination-wedding .swiper-pagination-bullet:before,
.swiper-pagination-bridal .swiper-pagination-bullet:before {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    right: -5px;
    top: 0;
    background-color: #ed1c24;
}

.swiper-pagination-engagment .swiper-pagination-bullet-active,
.swiper-pagination-wedding .swiper-pagination-bullet-active,
.swiper-pagination-bridal .swiper-pagination-bullet-active {
    background-color: #ed1c24;
}


/* Galleries sub area */

.galleries-sub-title {
    text-align: center;
}

.galleries-sub-title h3 {
    font-size: 24px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    position: relative;
}

.galleries-sub-title h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 70px;
    height: 1px;
    left: 50%;
    background-color: #ed1c24;
    transform: translateX(-50%);
}

.galleries-sub-title span {
    margin-bottom: 25px;
    display: block;
}

.galleries-sub-title span i {
    margin-right: 5px;
}

.galleries-sub-title p {
    margin-bottom: 15px;
}

.single-galleries-sub-img {
    position: relative;
    margin-top: 30px;
    overflow: hidden;
        margin-bottom: 30px;
}

.single-galleries-sub-img:hover .galleries-sub-img:after {
    background-color: rgba(0, 0, 26, 0.41);
}

.single-galleries-sub-img:hover .galleries-sub-img-hvr {
    top: 50%;
}

.galleries-sub-img {
    position: relative;
   border: 1px solid #1e24234d;
}

.galleries-sub-img:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 26, 0.07);
    z-index: 1;
    transition: all 0.5s ease;
}

.galleries-sub-img-hvr {
    position: absolute;
    top: -200%;
    left: 50%;
    height: 60px;
    text-align: center;
    line-height: 65px;
    width: 60px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 3;
    transition: all 0.8s ease;
}

.galleries-sub-img-hvr a {
    display: block;
}

.galleries-sub-img-hvr a i {
   color: #a5c756;
    font-size: 24px;
}

