﻿/* 3d slider */

.portfolio-title.gradient-text-color {
	background-image: linear-gradient(293deg,#fff -15.38%,#fff 57.43%,#fff 94.88%);
}

.portfolio-container.style-one .swiper-slide {
    position: relative;
    background-position: center;
    background-size: cover;
    height: 650px;
}

.portfolio-container .swiper-slide img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.portfolio-container.swiper-3d {
    perspective: 1200px;
}

.portfolio-container .swiper-slide.swiper-slide-prev {
    padding-right: 18%;
}

.portfolio-container.style-one .swiper-pagination {
    position: absolute;
    width: auto;
    top: 0;
    bottom: inherit;
    left: 0;
}

.portfolio-container.style-one .portfolio-title {
    margin-bottom: 32px;
}

.portfolio-container.style-one .swiper-pagination-bullet {
    display: block;
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.portfolio-container.style-one .swiper-pagination-bullet {
    opacity: 1;
}

.portfolio-container.style-one.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 22px 0 0;
    padding-left: 34px;
    position: relative;
}

.portfolio-container.style-one.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet.swiper-pagination-bullet-active {
    padding-left: 64px;
}

.portfolio-container.style-one .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
}

.portfolio-container.style-one .swiper-pagination-bullet:after,
.portfolio-container.style-one .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    content: "";
    position: absolute;
    left: 0;
    width: 23px;
    height: 1px;
    background-image: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    top: 11px;
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.portfolio-container.style-one .swiper-pagination-bullet:after {
    background: var(--border-color-light);
}

.portfolio-container.style-one .swiper-pagination-bullet.swiper-pagination-bullet-active:after {
    width: 50px;
}

.portfolio-container.style-one .swiper-pagination-bullet {
    background: transparent;
}

.portfolio-container.style-one .swiper-button-next,
.portfolio-container.style-one .swiper-button-prev {
    top: inherit;
}

.portfolio-container.style-one .swiper-button-prev,
.portfolio-container.style-one .swiper-container-rtl .swiper-button-next {
    left: inherit;
    right: 30px;
}

.portfolio-container.swiper-3d .swiper-slide-shadow-left,
.portfolio-container.swiper-3d .swiper-slide-shadow-right {
    background-image: none;
}

.portfolio-container.style-one .portfolio-detail-main {
    position: absolute;
    bottom: 20%;
    width: 440px;
    left: -18%;
    word-break: break-word;
}

.portfolio-container .portfolio-detail-main,
.portfolio-container.style-four .portfolio-img {
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    -webkit-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    -o-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    transition: 1.2s cubic-bezier(.63, .25, .25, 1);
}

.portfolio-container .portfolio-detail-main.animated,
.portfolio-container.style-four .portfolio-img.animated {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.portfolio-container .swiper-slide .portfolio-detail-main,
.portfolio-container .swiper-slide .details-box {
    opacity: 0;
    visibility: hidden;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    -webkit-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    -o-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    transition: 1.2s cubic-bezier(.63, .25, .25, 1);

}

.portfolio-container .swiper-slide .portfolio-detail-main .portfolio-cat {
    margin-top: 16px;
    display: inline-block;
    color: var(--global-font-color);
}

.portfolio-container.style-one .swiper-slide.swiper-slide-active .portfolio-detail-main,
.portfolio-container.style-one .swiper-slide.swiper-slide-active .details-box {
    opacity: 1;
    visibility: visible;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.portfolio-container.style-one .portfolio-detail-main .portfolio-category {
    color: var(--global-font-color);
    text-transform: uppercase;
    transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
}

.portfolio-container.style-one .portfolio-detail-main a:hover .portfolio-category {
    color: var(--color-theme-primary);
}

.portfolio-container .swiper-button-next:after,
.portfolio-container .swiper-button-prev:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 1px;
    bottom: 0;
    z-index: -1;
    border-radius: 100%;
    background: var(--global-body-bgcolor);
}

.portfolio-container .swiper-button-next,
.portfolio-container .swiper-button-prev {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 100%;
    border: 1px solid var(--global-font-color);
    text-align: center;
    position: relative;
    display: inline-block;
    margin-top: 50px;
    background: transparent;

}

.portfolio-container .iqonic-navigation {
    text-align: right;
}

.portfolio-container .swiper-button-next i,
.portfolio-container .swiper-button-prev i {
    font-size: 30px;
    display: inline-block;
    vertical-align: middle;
}

.portfolio-container .swiper-button-next:hover i,
.portfolio-container .swiper-button-prev:hover i {
    background-image: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-container .swiper-button-next:hover,
.portfolio-container .swiper-button-prev:hover {
    background: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    border: 1pxsolid;
    border-image: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    border-image-slice: 0;
}

.portfolio-container .details-box {
    margin-top: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*slider style two */
.portfolio-container.style-two .iqonic-navigation {
    text-align: center;
}

.portfolio-container.style-two .swiper-button-prev {
    margin-right: 30px;
}

.portfolio-container.style-two .portfolio-category {
    background: var(--color-theme-white);
    color: var(--global-font-color);
    padding: 4px 8px;
    display: inline-block;
    line-height: normal;
    margin-bottom: 20px;
}

.portfolio-container.style-two .swiper-slide {
    position: relative;
    background-position: center;
    background-size: cover;
}

.portfolio-container.style-two .swiper-slide.swiper-slide-prev {
    padding: 0;
}

.portfolio-container.style-two .swiper-slide {
    margin-right: 30px;
}

.portfolio-container.style-two .swiper-slide img {
    width: 500px;
    height: 500px;
    object-fit: cover;
}

.portfolio-container.style-two .portfolio-detail-main {
    position: absolute;
    bottom: 50px;
    width: 440px;
    word-break: break-word;
    right: 0;
}

.portfolio-container.style-two .swiper-slide .portfolio-detail-main {
    opacity: 0;
    visibility: hidden;
    -webkit-clip-path: inset(0 0 100% 0);
    clip-path: inset(0 0 100% 0);
    -webkit-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    -o-transition: 1.2s cubic-bezier(.63, .25, .25, 1);
    transition: 1.2s cubic-bezier(.63, .25, .25, 1)
}

.portfolio-container.style-two .swiper-slide.swiper-slide-active .portfolio-detail-main {
    opacity: 1;
    visibility: visible;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.portfolio-container.style-two .swiper-pagination-bullet {
    background: transparent;
    width: 10px;
    height: 10px;
    border: 1px solid var(--global-font-color);
    opacity: 1;
}

.portfolio-container.style-two .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-image: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    border: 1px solid transparent;
}

.portfolio-container.style-two .swiper-pagination {
    position: relative;
    margin-top: 80px;
}

/*grid style  */
.portfolio-container.style-four .portfolio-grid {
    margin-bottom: 60px;
}

.portfolio-container.style-four .col-lg-12 .portfolio-grid {
    margin-bottom: 180px;
}

.portfolio-container.style-four .portfolio-grid .portfolio-info-main {
    padding: 45px 0 30px 0;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.portfolio-container.style-four .portfolio-grid .portfolio-info-main a i {
    font-size: 40px;
    color: var(--global-font-color);
}

.portfolio-container.style-four .portfolio-grid .portfolio-info-main a {
    background-size: 0 2px;
    text-decoration: none;
    -webkit-transition: background-size .8s ease-out;
    transition: background-size .8s ease-out;
    -o-transition: background-size .8s ease-out;
}

.portfolio-container.style-four .portfolio-grid:hover .portfolio-info-main a i,
.portfolio-container.style-four .portfolio-grid:hover .portfolio-info-main a
{
    background-size: 100% 2px;
    background-image: linear-gradient(293deg, var(--text-gradient-one) -15.38%, var(--text-gradient-two) 57.43%, var(--text-gradient-three) 94.88%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform 1s ease-in-out;
}

.portfolio-container.style-four .portfolio-grid .portfolio-img {
    position: relative;
    padding-right: 60px;

}

.portfolio-container.style-four .portfolio-detail-main {
    padding-right: 60px;
    clip-path: none;
}

.portfolio-container.style-four .portfolio-info-main .portfolio-title {
    padding-right: 30px;
}

.portfolio-container.style-four .portfolio-grid .portfolio-img-box {
    position: relative;
    overflow: hidden;
}

.portfolio-container.style-four .portfolio-grid .portfolio-img-box img {
    width: 100%;
    -webkit-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.portfolio-container.style-four .portfolio-grid:hover .portfolio-img-box img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.portfolio-container.style-four .portfolio-grid .portfolio-img .portfolio-category {
    writing-mode: vertical-rl;
    transform: scale(-1);
    bottom: 80px;
    position: absolute;
    bottom: 0;
    right: 0;
    color: var(--global-font-color);
    text-transform: uppercase;
}

.portfolio-container.style-four .col-lg-12:last-child .portfolio-grid {
    margin-bottom: 0;
}

.portfolio-container.style-four .col-lg-12 .portfolio-grid .portfolio-img-box img {
    height: 600px;
    object-fit: cover;
}

/* slider style three */
.portfolio-container.swiper.style-three {
    position: relative;
    overflow: hidden;
}

.portfolio-container.style-three .swiper-slide img {
    height: 420px;
    object-fit: cover;
}

.portfolio-container.style-three .swiper-slide.swiper-slide-prev {
    padding: 0;
}

.portfolio-container.style-three .swiper-slide:hover .portfolio-detail-main,
.portfolio-container .swiper-slide .details-box {
    opacity: 1;
    visibility: visible;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.portfolio-container.style-three .iqonic-navigation {
    text-align: center;
}

.portfolio-container.style-three .swiper-button-prev {
    left: 0;
    margin-right: 10px;
}

.portfolio-container.style-three .swiper-button-next {
    right: 0;
}

.portfolio-container.style-three .portfolio-info-box {
    position: relative;
}

.portfolio-container.style-three .portfolio-detail-main {
    position: absolute;
    top: 10px;
    padding: 30px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: var(--global-body-bgcolor);
}

/* Gallery Joined */
.portfolio-container.gallery-joined .iq-grid-five .iq-column,
.portfolio-container.gallery-joined .col-lg-6.col-md-6,
.portfolio-container.gallery-joined .col-lg-4.col-md-6 {
	padding: 0;
}

.portfolio-container.gallery-joined .knost-portfolio-style-2 .box {
	margin: 0;
}

@media(max-width:1024px) {
    .portfolio-container.style-four .col-lg-12 .portfolio-grid .portfolio-img-box img {
        height: auto;
    }

    .portfolio-container.style-four .col-lg-12 .portfolio-grid {
        margin-bottom: 60px;
    }

    .portfolio-container.style-two .swiper-slide img {
        width: auto;
        height: auto;
    }

    .portfolio-container.style-two .portfolio-detail-main {
        position: static;
        width: auto;
        margin-top: 32px;
    }

    .portfolio-container.style-two .portfolio-title {
        font-size: 24px;
    }
}

@media(max-width:991px) {
    .portfolio-container.style-one .portfolio-title {
        margin-bottom: 14px;
    }

    .portfolio-container.style-one .portfolio-detail-main {
        position: static;
        margin-top: 16px;
        width: auto;
    }

    .portfolio-container .details-box {
        margin-top: 20px;
    }

    .portfolio-container.style-one .portfolio-detail-main {
        left: 45px;
    }

    .portfolio-container.style-one .swiper-pagination {
        left: 30px;
    }

    .portfolio-container.style-one .swiper-slide,
    .portfolio-container .swiper-slide img {
        height: auto;
    }

}

@media(max-width:767px) {

    .portfolio-container .iqonic-navigation {
        text-align: center;
    }

    .portfolio-container.style-one .swiper-button-prev,
    .portfolio-container.style-one .swiper-container-rtl .swiper-button-next {
        right: inherit;
        margin-right: 20px;
    }

    .portfolio-container .swiper-button-next,
    .portfolio-container .swiper-button-prev {
        margin-top: 16px;
    }

    .portfolio-container.style-one .swiper-pagination {
        display: none;
    }

    .portfolio-container.style-one .portfolio-title {
        margin-bottom: 16px;
    }

    .portfolio-container .details-box {
        margin-top: 16px;
    }

    .portfolio-container.style-two .swiper-pagination {
        margin-top: 30px
    }
}

/* -----Grid Style 2------ */
.box {
    background: #EEE;
    cursor: pointer;
    float: left;
    margin: 0 0 32px 0;
    overflow: hidden;
    position: relative;
}

.inner {
    background: rgba(0,0,0,0.9);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    -webkit-transform: translate3d(-100%, 0, 0);
    -webkit-animation-duration: 0.15s;
    -webkit-animation-timing-function: ease-out;
    -webkit-animation-fill-mode: forwards;
    -moz-transform: translate3d(-100%, 0, 0);
    -moz-animation-duration: 0.15s;
    -moz-animation-timing-function: ease-out;
    -moz-animation-fill-mode: forwards;
    transform: translate3d(-100%, 0, 0);
    animation-duration: 0.15s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

/* Top */
.box.hover-enter-top .inner {
    -webkit-animation-name: slide_in_top;
    -moz-animation-name: slide_in_top;
    animation-name: slide_in_top;
}

.box.hover-leave-top .inner {
    -webkit-animation-name: slide_out_top;
    -moz-animation-name: slide_out_top;
    animation-name: slide_out_top;
}

/* Right */
.box.hover-enter-right .inner {
    -webkit-animation-name: slide_in_right;
    -moz-animation-name: slide_in_right;
    animation-name: slide_in_right;
}

.box.hover-leave-right .inner {
    -webkit-animation-name: slide_out_right;
    -moz-animation-name: slide_out_right;
    animation-name: slide_out_right;
}

/* Bottom */
.box.hover-enter-bottom .inner {
    -webkit-animation-name: slide_in_bottom;
    -moz-animation-name: slide_in_bottom;
    animation-name: slide_in_bottom;
}

.box.hover-leave-bottom .inner {
    -webkit-animation-name: slide_out_bottom;
    -moz-animation-name: slide_out_bottom;
    animation-name: slide_out_bottom;
}

/* Left */
.box.hover-enter-left .inner {
    -webkit-animation-name: slide_in_left;
    -moz-animation-name: slide_in_left;
    animation-name: slide_in_left;
}

.box.hover-leave-left .inner {
    -webkit-animation-name: slide_out_left;
    -moz-animation-name: slide_out_left;
    animation-name: slide_out_left;
}

.knost-portfolio-style-2 .box img {
    height: 450px;
    object-fit: cover;
}

.elementor-section-boxed .style-four .col-lg-3 .knost-portfolio-style-2 .box img {
    height: 350px;
}

.style-four .col-lg-2 .knost-portfolio-style-2 .box img {
    height: 350px;
}

.portfolio-container .iq-grid-five .iq-column {
	width: 20%;
	padding: 0 16px;
}

.knost-portfolio-style-2 .box img.grid-style-image {
	height: 300px;
}

.knost-portfolio-style-3 .-img-overlay .image-holder .overlay, .card.-img-overlay .image-holder::after {
	background:linear-gradient(270deg, #77B0C1 -15.38%, #A483DC 57.43%, #CD77A3 94.88%); 
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	content: "";
	display: block;
	position: absolute;
	-webkit-transition: opacity cubic-bezier(.645, .045, .355, 1) .4s;
	-o-transition: opacity cubic-bezier(.645, .045, .355, 1) .4s;
	transition: opacity cubic-bezier(.645, .045, .355, 1) .4s;
}
.knost-portfolio-style-3:hover .image-holder::after {
	opacity: 0.7;
}

.knost-portfolio-style-3 .card{
    background: transparent;
    border: none;
    border-radius: 0;
}

.knost-portfolio-style-3 .inner_style3 {
	padding: 20px 0 40px;
}

@media (max-width: 1199px){
    .portfolio-container .iq-grid-five .iq-column {
        width: 25%;
    }   
}
@media (max-width: 992px){
    .portfolio-container .iq-grid-five .iq-column {
        width: 50%;
    }   
}
@media (max-width: 767px){
    .portfolio-container .iq-grid-five .iq-column {
        width: 100%;
    }   
}

/* Top */
@-webkit-keyframes slide_in_top {
    0% {
        -webkit-transform: translate3d(0, -100%, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes slide_out_top {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, -100%, 0);
    }
}

@-moz-keyframes slide_in_top {
    0% {
        -moz-transform: translate3d(0, -100%, 0);
    }

    100% {
        -moz-transform: translate3d(0, 0, 0);
    }
}

@-moz-keyframes slide_out_top {
    0% {
        -moz-transform: translate3d(0, 0, 0);
    }

    100% {
        -moz-transform: translate3d(0, -100%, 0);
    }
}

@keyframes slide_in_top {
    0% {
        transform: translate3d(0, -100%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slide_out_top {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, -100%, 0);
    }
}

/* Right */
@-webkit-keyframes slide_in_right {
    0% {
        -webkit-transform: translate3d(100%, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes slide_out_right {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(100%, 0, 0);
    }
}

@-moz-keyframes slide_in_right {
    0% {
        -moz-transform: translate3d(100%, 0, 0);
    }

    100% {
        -moz-transform: translate3d(0, 0, 0);
    }
}

@-moz-keyframes slide_out_right {
    0% {
        -moz-transform: translate3d(0, 0, 0);
    }

    100% {
        -moz-transform: translate3d(100%, 0, 0);
    }
}

@keyframes slide_in_right {
    0% {
        transform: translate3d(100%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slide_out_right {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(100%, 0, 0);
    }
}

/* Bottom */
@-webkit-keyframes slide_in_bottom {
    0% {
        -webkit-transform: translate3d(0, 100%, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes slide_out_bottom {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 100%, 0);
    }
}

@-moz-keyframes slide_in_bottom {
    0% {
        -moz-transform: translate3d(0, 100%, 0);
    }

    100% {
        -moz-transform: translate3d(0, 0, 0);
    }
}

@-moz-keyframes slide_out_bottom {
    0% {
        -moz-transform: translate3d(0, 0, 0);
    }

    100% {
        -moz-transform: translate3d(0, 100%, 0);
    }
}

@keyframes slide_in_bottom {
    0% {
        transform: translate3d(0, 100%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slide_out_bottom {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, 100%, 0);
    }
}

/* Left */
@-webkit-keyframes slide_in_left {
    0% {
        -webkit-transform: translate3d(-100%, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes slide_out_left {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }

    100% {
        -webkit-transform: translate3d(-100%, 0, 0);
    }
}

@-moz-keyframes slide_in_left {
    0% {
        -moz-transform: translate3d(-100%, 0, 0);
    }

    100% {
        -moz-transform: translate3d(0, 0, 0);
    }
}

@-moz-keyframes slide_out_left {
    0% {
        -moz-transform: translate3d(0, 0, 0);
    }

    100% {
        -moz-transform: translate3d(-100%, 0, 0);
    }
}

@keyframes slide_in_left {
    0% {
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes slide_out_left {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}
