/* 
=============================
Conosta Core CSS 
=============================
*/

/* project Archive page css */

.post-type-archive-project .single-related-project {
  margin-bottom: 60px;
}

/* project Details page css */

.single-project .site-container {
  padding: 0 !important;
}

.conosta-project-details-page {
  padding: 100px 0 !important;
}

.conosta-project-details-title {
  font-weight: 600;
  margin-bottom: 15px;
}

.conosta-project-details h6 {
  margin-bottom: 30px;
  font-size: 14px;
}

.conosta-project-img {
  border-radius: 6px;
}

.conosta-project-category {
  margin-bottom: 0 !important;
}

.conosta-project-details h6 b {
  font-size: 20px !important;
  text-transform: uppercase;
}

.conosta-related-project {
  padding: 100px 0;
  background: #eef3fc;
  padding-bottom: 170px;
}

.conosta-related-project h1 {
  margin-bottom: 40px;
  font-weight: 600;
}

.archive.post-type-archive .site-container {
  padding: 100px 0;
}

.single-related-project {
  position: relative;
}

.single-related-project img {
  border-radius: 6px;
}

.related-project-details {
  background: #fff;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  border-radius: 6px;
  text-align: left;
  padding: 20px 20px;
  box-shadow: 0px 0px 20px 0.5px rgb(0 0 0 / 20%);
}

.related-project-details h4 {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 700;
}

.related-project-details span {
  font-size: 14px;
}

/* Full Parallax Slider */
.creative-parallax--slider .f-slider-layer {
  position: relative;
}
.creative-parallax--slider .swiper-slide.swiper-slide-active:before {
  content: "";
  width: 475px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 3%;
  transform: translateX(-50%) skew(-20deg, 0deg);
  z-index: 1;
  opacity: 0.4;
  background-color: var(--color_primary);
  animation-name: fadeInTwo;
  animation-duration: 2.3s;
  animation-delay: 0s;
}
.creative-parallax--slider .f-slider-layer img {
  width: 100%;
  height: 100vh;
  vertical-align: middle;
	object-fit:cover;
}
.creative-parallax--slider .f-slider-layer:before {
  content: "";
  background: #000;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.5;
}
.creative-parallax--slider .f-slider-layer:after {
  background-color: var(--color_primary);
  content: "";
  width: 280px;
  height: 540px;
  position: absolute;
  top: 60%;
  right: 1.5%;
  transform: translate(-50%, -50%) skew(-20deg, 0deg);
  z-index: 1;
}
.creative-parallax--slider .swiper-slide-active .f-slider-layer:after {
  animation-name: fadeInThree;
  animation-duration: 2.3s;
  animation-delay: 0s;
}
.creative-parallax--slider .f-slider-layer .f-slider-one-data {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 940px;
  z-index: 9;
}
.creative-parallax--slider .f-slider-one-data h1 {
  font-size: 67px;
  line-height: 87px;
  color: #fff;
  margin-bottom: 10px;
  margin-top: 0px;
  opacity: 0;
}
.creative-parallax--slider .swiper-slide-active .f-slider-one-data h1 {
  transition: opacity 0.5s ease, filter 0.5s ease;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1s;
}
.f-slider-layer .f-slider-one-data p {
  font-size: 38px;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 55px;
  width: 95%;
  font-weight: 400;
  opacity: 0;
}
.swiper-slide-active .f-slider-layer .f-slider-one-data p {
  transition: opacity 0.5s ease, filter 0.5s ease;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.5s;
}
.f-slider-layer .slide-btn {
  text-decoration: none;
  background-color: var(--color_primary);
  padding: 18px 70px 18px 50px;
  font-size: 16px;
  font-family: Epilogue, sans-serif;
  color: #000;
  display: inline-flex;
  position: relative;
  border: 2px solid var(--color_primary);
  font-weight: 700;
  transition: 0.3s ease-in-out;
  opacity: 0;
}
.swiper-slide-active .f-slider-layer .slide-btn {
  transition: opacity 0.5s ease, filter 0.5s ease;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 2s;
}
.f-slider-layer .slide-btn:hover {
  background-color: transparent;
  color: #fff;
}
.f-slider-layer .slide-btn:after {
  content: "";
  width: 30px;
  height: 100%;
  position: absolute;
  top: -2px;
  right: -32px;
  background: transparent;
  border-left: 0 solid transparent;
  border-right: 30px solid transparent;
  border-top: 65px solid var(--color_primary);
}
.f-slider-layer .slide-btn i {
  width: 40px;
  height: 100%;
  position: absolute;
  top: 0;
  right: -14px;
  z-index: 1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: 0.5s ease-in-out;
}
.f-slider-layer .slide-btn:hover i {
  color: #000;
  width: 45px;
}
.f-slider-layer .slide-btn i:after {
  content: "";
  background: var(--color_secondary);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  transform: skew(-24deg, 0deg);
  transition: 0.5s ease-in-out;
}
.f-slider-layer .slide-btn:hover i:after {
  background-color: var(--color_primary);
}
.swiper-nav {
  position: absolute;
  bottom: 10%;
  right: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.swiper-nav button {
  width: 80px;
  height: 115px;
  background: transparent;
  color: #fff;
  border: 0;
  position: relative;
  z-index: 0;
  border-color: var(--color_primary);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.swiper-nav button:first-child {
  margin-right: 10px;
}
.swiper-nav button:before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--color_secondary);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border: 2px solid;
  transform: skew(-23deg, 0deg);
  border-color: var(--color_primary);
}
.swiper-nav button:hover:before {
  border-color: #c1c1c1;
}
@keyframes fadeInThree {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInTwo {
  0% {
    opacity: 0;
    transform: translateX(-50%) skew(-20deg, 0deg);
  }

  40% {
    opacity: 0;
    transform: translateX(-30%) skew(-20deg, 0deg);
  }
  100% {
    opacity: 0.4;
    transform: translateX(-50%) skew(-20deg, 0deg);
  }
}

/* ===================== RESPONSIVE IPAD PRO ============================= */
@media (max-width: 1366px) {
  .creative-parallax--slider .f-slider-layer .f-slider-one-data {
    width: 940px;
    left: 5%;
    top: 50%;
  }
  .creative-parallax--slider .swiper-slide.swiper-slide-active:before {
    width: 265px;
  }
  .creative-parallax--slider .f-slider-layer:after {
    width: 185px;
    height: 75%;
    right: 6.5%;
    top: 50%;
  }
  .creative-parallax--slider .f-slider-one-data h1 {
    font-size: 50px;
    line-height: 60px;
  }
	.f-slider-layer .f-slider-one-data p{
		font-size:32px;
		width:100%;
	}
}
/* ===================== RESPONSIVE IPAD ============================= */
@media (max-width: 992px) {
  .creative-parallax--slider .f-slider-layer .f-slider-one-data {
    width: 65%;
  }
  .creative-parallax--slider .f-slider-one-data h1 {
    font-size: 50px;
    line-height: 60px;
  }
	.f-slider-layer .f-slider-one-data p{
		font-size:20px;
	}
	
}

/* ===================== RESPONSIVE IPAD ============================= */
@media (max-width: 767px) {
  .creative-parallax--slider .f-slider-layer .f-slider-one-data {
	  width:100%;
	  max-width: 480px;
	  top: 50%;
	  left: 50%;
	  transform: translate(-50%, -50%);
	  text-align: center;
  }
  .creative-parallax--slider .f-slider-one-data h1 {
    font-size: 30px;
    line-height: 40px;
  }
  .f-slider-layer .f-slider-one-data p {
    font-size: 15px;
    line-height: 1.2;
  }
  .creative-parallax--slider .swiper-slide.swiper-slide-active:before {
    right: -100%;
  }
  .creative-parallax--slider .f-slider-layer:after {
    display: none;
  }
  .f-slider-layer .slide-btn {
    padding: 13px 55px 13px 25px;
  }
  .swiper-nav {
    left: 50%;
    transform: translate(-50%, -50%);
    right: unset;
    bottom: 2%;
  }
  .swiper-nav button {
    width: 50px;
    height: 50px;
    border-width: 1px;
    transform: unset;
  }
  .swiper-nav button:before {
    transform: unset;
  }
}
