.hover-box:hover .box-icon img {
  filter: brightness(100%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
}
.animation-box-wrapper {
  position: relative;
}
.animation-box {
  position: absolute;
  right: 0;
  left: 0;
  height: 100%;
}

.html-hover:hover .elementor-shape .elementor-shape-fill {
  fill: #fc490b !important;
}

.xd-hover:hover .elementor-shape .elementor-shape-fill {
  fill: #470137 !important;
}
.figma-hover:hover .elementor-shape .elementor-shape-fill {
  fill: #00cf7f !important;
}
.acf-hover:hover .elementor-shape .elementor-shape-fill {
  fill: #09a8d5 !important;
}
.site__header--full .elementor-nav-menu--main li.menu-item .elementor-nav-menu--dropdown {
  padding: 15px !important;
}
.site__header--full .elementor-nav-menu--main li.menu-item .elementor-nav-menu--dropdown li a {
  margin: 10px 0px;
}
.site__header--full .elementor-nav-menu--main li.menu-item a {
  display: inline-flex !important;
  position: relative !important;
  text-decoration: none !important;
}
.site__header--full .elementor-nav-menu--main li.menu-item a::after {
  content: "" !important;
  position: absolute !important;
  display: inline-block !important;
  height: 1px !important;
  bottom: -1px !important;
  width: 0% !important;
  margin-top: 5px !important;
  right: 0 !important;
  transition: width 0.5s ease !important;
  background-color:  #3858e9 !important;
  opacity: 1 !important;
}
.site__header--full .elementor-nav-menu--main li.menu-item a:hover::after {
  width: 100% !important;
  left: 0 !important;
  background:  #3858e9 !important;
}

@media screen and (max-width: 991px) {
  body:has(.elementor-menu-toggle.elementor-active) {
    overflow: hidden;
  }
  .site__header--full:has(.elementor-menu-toggle.elementor-active) {
    transform: none;
    background-color: #000 !important;
  }

  .site__header--full.header-sticky {
    background-color: #000 !important;
  }
  .site__header--full {
    .site__header--box {
      .elementor-nav-menu {
        li > a {
          margin: 10px 20px;
          border-radius: 10px !important;
          justify-content: space-between;
          color: #fff !important;

          &.highlighted {
            svg {
              transform: rotate(180deg);
            }
          }
          &:hover {
            background: linear-gradient(#2a2a2a, #1c1c1c);
            box-shadow: 0px 1px 2px 0px #686464;
            color: #fff !important;
            .sub-arrow svg {
              fill: #fff !important;
            }
          }
          svg {
            fill: #fff !important;
          }
        }
      }
      .current_page_item > a,
      .current-page-parent > a {
        margin: 10px 20px;
        border-radius: 10px !important;
        justify-content: space-between;

        color: #fff !important;
      }
      .current_page_item > a {
        background: linear-gradient(#4a4a4a, #7288aa33);
        box-shadow: 0px 1px 2px 0px #0d6efd;
        color: #fff !important;
      }
    }
  }
  .html-hover .elementor-shape .elementor-shape-fill {
    fill: #fc490b !important;
  }

  .xd-hover .elementor-shape .elementor-shape-fill {
    fill: #470137 !important;
  }
  .figma-hover .elementor-shape .elementor-shape-fill {
    fill: #00cf7f !important;
  }
  .acf-hover .elementor-shape .elementor-shape-fill {
    fill: #09a8d5 !important;
  }
}
/* why chosse page   */
@-webkit-keyframes inactiveImageAnimation1 {
  0% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes inactiveImageAnimation1 {
  0% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
  100% {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
  }
}

@-webkit-keyframes activeImageAnimation1 {
  0% {
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
  }
  100% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes activeImageAnimation1 {
  0% {
    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);
  }
  100% {
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}
.image-change-box .image-change-box-wrapper {
  position: relative;
  padding-left: 550px;
  @media (max-width: 1200px) {
    padding-left: 400px;
  }
  .image-box-item {
    position: initial;
    .box-image {
      pointer-events: none;
      position: absolute;
      left: 0;
      top: 25px;
      z-index: 2;
      max-width: 416px;
      width: 100%;
      height: 500px;
      @media (max-width: 1201px) {
        max-width: 330px;
        height: 400px;
      }
      img {
        height: 100%;
        width: 100%;
        -webkit-clip-path: inset(0 100% 0 0);
        clip-path: inset(0 100% 0 0);
        -webkit-animation: inactiveImageAnimation1 0.6s forwards ease;
        animation: inactiveImageAnimation1 0.6s forwards ease;
        z-index: 3;
        position: relative;
        object-fit: cover;
      }
      &::after {
        content: "";
        position: absolute;
        height: 100%;
        width: 100%;
        right: -20px;
        bottom: -20px;
        border-width: 0px 36px 21px 0px;
        border-style: solid;
        border-radius: 15px;
        border-color: #3858e9;
        border-radius: 15px;
        z-index: 1;
      }
    }
  }
  .image-box-item.active {
    .box-image {
      z-index: 4;

      img {
        -webkit-animation: activeImageAnimation1 0.6s forwards ease;
        animation: activeImageAnimation1 0.6s forwards ease;
      }
    }
    .right-icon {
      border: 2px solid #3858e9;
      background-color: #3858e9;
    }
  }
}

/*--------------------------------- scroll ----------------------------------- */
.on--totop#totop {
  right: 10px;
  opacity: 1;
}

.u-trans-all-2s {
  transition: all 0s ease-out;
}

#totop {
  height: 9px;
  opacity: 0;
  position: fixed;
  right: -70px;
  width: 49px;
  z-index: 999;
  top: 80%;
  background-repeat: no-repeat;
  background-position: center 15px;
  background-color: #131313;
  font-size: 9px;
  font-weight: 900;
  color: #3858e9;
  text-align: center;
  line-height: 1;
  border-radius: 50%;
  padding: 28px 0px 21px 0px;
  top: auto !important;
  bottom: 20px !important;
}

#totop:before {
  position: absolute;
  content: "\f106";
  top: 14px;
  left: 50%;
  margin-left: -6px;
  font-size: 21px;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

#totop:hover {
  background-color: #3858e9;
  color: #fff;
}

/* -----------------------   latest-blog-slider-box    --------------------*/
.latest-blog-slider-wrapper {
  @media (min-width: 1201px) {
    position: unset;
  }
  .latest-blog-slider-row {
    position: unset;

    .latest-blog-slider-box {
      @media (min-width: 1201px) {
        position: absolute;
        right: 0;
      }
      .ecs-posts {
        padding-bottom: 30px;

        .slick-list {
          padding-right: 50px;
          .slick-slide {
            margin: 0px 20px;
            @media (max-width: 767px) {
              margin: 0px 10px;
            }
          }
        }
      }
      .slick-dots li {
        height: 16px;
        width: 16px;
        background-color: #1d1d1d;
        border: 1px solid #1d1d1d;
        border-radius: 50%;
        margin: 0 8px;
        cursor: pointer;
        position: relative;
        -webkit-transition: all 0.3s ease;

        &.slick-active {
          background-color: transparent;
          border: 1px solid #3858e9;
          &::before {
            content: "";
            position: absolute;
            height: 5px;
            width: 5px;
            border-radius: 50%;
            left: 50%;
            top: 50%;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            background-color: #3858e9;
            border: 1px solid #3858e9;
          }
        }
        button {
          display: none;
        }
      }
    }
  }
}
@media screen and (max-width: 991px) {
  .all-post-category {
    width: 100% !important;
  }
}
.post-pagination .elementor-pagination {
  padding-top: 40px;

  .page-numbers {
    height: 32px;
    width: 32px;
    display: inline-block;
    position: relative;
    line-height: 32px;
    &.current {
      color: #fff !important;
      background-color: #565050;
      border-radius: 50%;
    }
    &.prev {
      position: absolute;
      left: 0;
    }
    &.next {
      position: absolute;
      right: 0;
    }
  }
}
.loop-box-item {
  .image-box {
    transition: all 0.5s;
  }
  .content-box {
    @media (min-width: 768px) {
      transition: all 0.4s;
      width: calc(100% - 150px) !important;
      position: absolute;
      top: 50%;
      transform: translate(0, -50%);
      right: 0;
    }
    .post-title .elementor-heading-title {
      text-overflow: ellipsis;
      width: 100%;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      /* height: 72px; */
    }
  }
  &:hover {
    @media (min-width: 768px) {
      .image-box {
        transform: scale(1.1);
        img {
          filter: none;
        }
      }
      .content-box {
        transform: translate(20px, -50%);
      }
    }
  }
  .wpulike-heart .wp_ulike_put_image.wp_ulike_btn_is_active:after {
    background: url("../images/love-blue.png") no-repeat;
    filter: none;
  }
  .wpulike-heart .wp_ulike_btn:hover {
    border: 0px !important;
  }
}

.not-found-page {
  height: 100vh;
}

/* home our service box */
.img-filp-box-wrapper .img-col {
  z-index: inherit !important;
}
.img-filp-box-wrapper .img-col .img-box {
  z-index: inherit;
  width: 100%;
}
.img-filp-box-wrapper .img-col .img-box img {
  width: 100%;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  -webkit-animation: inactiveImageAnimation1 0.6s forwards ease;
  animation: inactiveImageAnimation1 0.6s forwards ease;
  object-fit: cover;
  z-index: 1;
  position: relative;
}
.img-filp-box-wrapper .img-col .img-box.active img {
  -webkit-animation: activeImageAnimation1 0.6s forwards ease;
  animation: activeImageAnimation1 0.6s forwards ease;
}
.img-filp-box-wrapper .icon-box-item.active .right-icon {
  border: 2px solid #3858e9;
  background-color: #3858e9;
}
.img-filp-box-wrapper .img-col .img-box::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  right: -20px;
  bottom: -20px;
  border-width: 0px 36px 21px 0px;
  border-style: solid;
  border-radius: 15px;
  border-color: #3858e9;
  border-radius: 15px;
  z-index: -2;
}

.img-filp-box-wrapper .icon-box-item.active .item-name .elementor-heading-title {
  color: #3858e9;
}
.service-mb-wrapper .service-mb-title-col:hover .elementor-heading-title {
  color: #3858e9;
}

.service-mb-wrapper .service-mb-title-col:hover .e-lottie__animation svg path {
  fill: #3858e9;
}

/* post like hover */
.post__like--hover {
  .wp_ulike_general_class:hover {
    button::after {
      filter: brightness(3.5);
    }
  }
}
.related-post-slider .ecs-posts {
  /* display: flex; */
  .slick-slide {
    margin: 0px 20px;
  }
  .slick-arrow {
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: 0px;
    font-size: 40px;
    &:hover {
      background-color: transparent !important;
    }
  }
  .slick-prev {
    position: absolute;
    right: 60px;
    top: -40px;
    left: unset;
    &::before {
      font-size: 40px;
    }
  }
  .slick-next {
    position: absolute;
    right: 0;
    top: -40px;
    &::before {
      font-size: 40px;
    }
  }
}

.related-post-slider .ecs-posts .slick-prev:hover,
.related-post-slider .ecs-posts .slick-next:hover {
  background-color: #555;
}

body:has(.related-post-slider .elementor-posts-nothing-found) .related-post-slider .elementor-widget-container {
  padding: 0px !important;
}
body .related-box-wrapper:has( .elementor-posts-nothing-found) >.e-con-inner
{
  padding: 0px !important;
}
body:has(.related-post-slider .elementor-posts-nothing-found) .related-post-title {
  display: none;
}
.related-box-wrapper:has(.related-post-slider .ecs-posts > article:nth-child(1)),
body:has(.related-box-wrapper .related-post-slider .ecs-posts > article:nth-child(1)) .related-post-title {
  display: none;
}

.related-box-wrapper:has(.related-post-slider .ecs-posts > article:nth-child(n + 2)),
body:has(.related-box-wrapper .related-post-slider .ecs-posts > article:nth-child(n + 2)) .related-post-title {
  display: block;
}
.not-result {
  width: 350px;
  filter: blur(0px) !important;
}
.related-post-slider:has(.slick-slide) .ecs-posts {
  display: grid;
}
.related-post-slider .ecs-posts {
  display: flex;
}
.related-post-slider .ecs-posts > article {
  width: 33.33%;
}

@media screen and (max-width: 1200px) {
  .related-post-slider .ecs-posts > article {
    width: 50%;
  }
}
