
/* ===================================
   PORTFOLIO
====================================== */

.team-classic .item {
    text-align: left;
}

.team-data-img {
    overflow: inherit;
}

.portfolio-content {
    padding: 20px 0;
    background: transparent;
}

.portfolio-content h5 {
    font-size: 28px;
    font-weight: normal;
}

.portfolio-content p {
    font-size: 18px;
    font-weight: normal;
}

.single-work {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
    transition: all .3s ease 0s;
}

.single-work img {
    width: 100%;
    height: auto;
}

.single-work .title {
    width: 80%;
    font-weight: normal;
    color: #fff;
    margin: 0 0 15px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.single-work .overlay-text {
    width: 100%;
    height: 100%;
    font-size: 26px;
    color: #fff;
    background-color: transparent;
    -webkit-transition: opacity .4s;
    transition: opacity .4s;
    text-align: center;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.cases-image-inner {
    position: relative;
    padding: 0 15px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1111;
}
.cases-line {
    position: absolute;
    background: transparent;
}
.top {
    top: 15px;
    right: 15px;
    width: 100px;
    height: 2px;
}
.top-right {
    top: 15px;
    right: 15px;
    height: 100px;
    width: 2px;
}
.bottom {
    top: unset;
    bottom: 15px;
    left: 15px;
    width: 100px;
    height: 2px;
}
.bottom-left {
    top: unset;
    bottom: 15px;
    left: 15px;
    height: 100px;
    width: 2px;
}

.single-work .overlay-text:before, .single-work .overlay-text:after {
    opacity: 0.6;
    position: absolute;
    top: 0;
    content: "";
    width: 0;
    height: 100%;
    background-color: #0F1224;
    -webkit-transition: all 0.45s ease-in-out 0s;
    transition: all 0.45s ease-in-out 0s;
    z-index: -1;
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.single-work .overlay-text:before {
    right: 0;
}

.single-work .overlay-text:after {
    left: 0;
}

.item:hover .overlay-text {
    opacity: 1;
}

.item:hover .overlay-text:before,
.item:hover .overlay-text:after {
    width: 100%;
    transform: skewX(0);
    -webkit-transform: skewX(0);
    -moz-transform: skewX(0);
    -ms-transform: skewX(0);
    -o-transform: skewX(0);
    z-index: 1;
}

.item .img-responsive {
    max-width: 100%;
    transition: all .5s ease 0.2s;
}

.item:hover .img-responsive {
    transform: scale(1.2);
    transition: all .5s ease 0.2s;
}

.circle{
    position: relative;
    z-index: 1111;
    height: 42px;
    width: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.circle i {
    transition: 0.5s ease;
}

.circle:hover , .circle:hover i {
    color: #692bc7;
    border-color: #692bc7;
}

#team-circle-right {
    top: 25%;
    right: -10%;
    transition: .5s ease;
    position: absolute;
}

#team-circle-left{
    top: 25%;
    left: -10%;
    transition: .5s ease;
    position: absolute;
}

.star {
	z-index: -1;
}

.spaceman{
    position: absolute !important;
    z-index: 1;
    top: -60px !important;
}

.spaceman-4{
    position: absolute !important;
    z-index: 1;
    top: -90px !important;
}

.spaceman-relative{
    position: relative !important;
    z-index: 1;
    top: 0px;
    width: 80%;
    left: 0px !important;
    position: relative;
}

.slider-image {
    position: relative;
    margin: 0 auto -80px auto;
    top: 100px;
}

.slider-image img {
    top: -90px;
    width: 80%;
    left: 100px;
    position: relative;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 0;
    padding: 1.1rem 1.15rem !important;
  }

@keyframes floatx {
	0% {
		transform: translatex(-20px);
	}
	50% {
		transform: translatex(40px);
	}
	100% {
		transform: translatex(-20px);
	}
}

@keyframes floaty {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-60px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes ripple {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes floaty1 {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-5px);
	}
	100% {
		transform: translatey(0px);
	}
}

.floating-image {
	transform: translatex(0px);
	animation: floatx 4s ease-in-out infinite;
}

.floating-image-y {
	transform: translatey(0px);
	animation: floaty 4s ease-in-out infinite;
}

.floating-image-ripple {
	-webkit-animation: ripple 4s infinite;
    animation: ripple 4s infinite;
}

.floating-image-y-small {
	-webkit-animation: floaty1 1500ms infinite;
    animation: floaty1 1500ms infinite;
}