/*
** XP Slider Module
*/

.xp_slider_container {
    background: var(--xp-secondary-color);
}
.xp_slider_container .swiper-slide {
    height: calc(100vh - 132px);
    position: relative;
    width: 100%;
    object-fit: cover;
}

body.admin-bar .xp_slider_container .swiper-slide {
    height: calc(100vh - 164px);
}

.xp_slider_container .xp_slider_text_container {
    margin-bottom: 60px;
}

.xp_slider_container .swiper-slide {
    transition: all 1s;
    background-size: 80%;
}
.xp_slider_container .swiper-slide.swiper-slide-active {
    background-size: 100%;
}
.xp_slider_content_container {
    display: flex;
    position: relative;
    width: var(--xp-container-width);
    height: 100%;
    position: relative;
    top: 0;
    margin: 0 auto;
    align-items: center;
    color: white;
}
.xp_slider_content_container p {
    color: white;
}

.xp_button.xp_slider_button {
    margin-top: 15px;
    position: absolute;
}

.xp_slider_content {
    font-size: 18px;
    line-height: 30px;
}

.xp_slider_container .swiper-slide:before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, rgb(0 0 0 /70%) 50%, transparent 60%);
}

@media (min-width: 768px) {
    .xp_slider_container .xp_slider_text_container {
        width: 45%;
    }
    .xp_slider_title {
        font-size: 72px;
        line-height: 87px;
    }

}



/* P Section Title */

/* X Section Title */

/* P Counters */


/* X Counters */


/* P Gallery */
.gallery_slider_ul li {
    position: relative;
    padding: 5px;
    overflow: hidden;
}

.gallery_slider_ul li .main_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery_slider_ul li figcaption {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    position: absolute;
    top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    overflow: hidden;
    background: rgb(0 0 0 / 50%);
    transition: all 0.2s ease;
    -webkit-transform: scale(0);
      -ms-transform: scale(0);
      transform: scale(0);
      -webkit-transition: .3s ease;
  /*   background:
      linear-gradient(135deg, var(--xp-primary-color) 50%, transparent 0) right /250% 100% no-repeat,
      linear-gradient(135deg, transparent 50%, var(--xp-secondary-color) 0) left /250% 100% no-repeat;
    transition: .6s; */
}
.gallery_slider_ul li figure.photos:hover figcaption {
    opacity: 1;
    background-position: center;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);

}
.gallery_slider_ul li figcaption>a {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.gallery_slider_ul li figure.photos {
    margin-bottom: 0;
    width: 100%;
    height: 100%;
}

/* X Gallery */


/* XP POSTS - SERVICES */
/* 
.xp_container_link {
    position: relative;
    display: block;
}

.xp_container_link:hover:after {
    width: 100%;
    height: 100%;
    background: var(--xp-primary-color);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    opacity: 0.9;
    background: black;
}

.post_info_container {
    position: absolute;
    bottom: 0;
    padding: 40px;
    opacity: 0;
    z-index: 1;
    color: white;
}

.xp_post_excerpt {
    color: white;
}

.xp_container_link:hover .post_info_container {
    opacity: 1;
} */

.xp_container_link_service .post_image_link {
    padding: 30px 0 0 30px;
    position: relative;
    transition: all 0.3s ease;

}

.xp_container_link_service .post_image_link:before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 3px solid var(--xp-primary-color);
    z-index: -1;
    margin-top: -30px;
    margin-left: -30px;
    transition: all 0.3s ease;
}

.xp_container_link_service h3.xp_post_title {
    padding: 20px 30px;
    text-align: left;
    width: calc(100% - 30px);
    right: 0;
    position: absolute;
    bottom: -2px;
    font-weight: 400;
    font-size: 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    left: 30px;
    background: linear-gradient(0deg, black 60px , transparent);
    color: white;
    padding-top: 100px;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.xp_container_link_service p.xp_post_excerpt {
    display: none;
}

.xp_container_link_service:hover .post_image_link {
    padding: 3px !important;
}

.xp_container_link_service:hover .post_image_link:before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100%);
    height: calc(100%);
    border: 3px solid var(--xp-primary-color);
    z-index: -1;
    margin-top: -3px;
    margin-left: -3px;
}

.xp_container_link_service:hover h3.xp_post_title {
    width: calc(100% - 6px);
    left: 3px;
    bottom: 3px;
}

.xp-btn-transparent-primary.xp_button {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 9px;
    padding-bottom: 9px;
    background: var(--xp-primary-color);
    padding-top: 14px;
    padding-right: 48px;
    padding-bottom: 14px;
    padding-left: 48px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--xp-primary-color);
}

.xp-btn-transparent-primary.xp_button:hover {
    background: transparent;
    padding: 24px 60px;
    display: inline-block;
    font-weight: 600;
    border: 2px solid var(--xp-primary-color);
    transition: all 0.2s linear;
    color: var(--xp-secondary-color);
}