.tcgelements-map-items{
  &.default{
    .map-main {
      position: relative;
      .img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 100%;
        max-height: 100%;
      }
      .map-item {
        position: absolute;
        &.show {
          cursor: pointer;
          &::after,
          .info {
            opacity: 1;
            visibility: visible;
          }
        }
        &::after {
          position: absolute;
          content: "";
          right: 7px;
          bottom: 7px;
          height: 115px;
          width: 150px;
          border-top: 1px solid var(--color-primary);
          border-right: 1px solid var(--color-primary);
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
        }
        .info {
          background-color: var(--color-primary);
          color: #fff;
          width: 250px;
          opacity: 0;
          visibility: hidden;
          transition: all 0.3s ease;
          .title {
            font-size: 16px;
          }
          .description {
            line-height: 1.5;
            font-size: 16px;
          }
        }
        .dot {
          position: absolute;
          right: 0;
          bottom: 0;
          width: 15px;
          height: 15px;
          border-radius: 50%;
          background-color: var(--color-primary);
          outline: 5px solid #cc000055;
          cursor: pointer;
        }
      }
    }
  }
  &.cards{
    .place-item {
      span,a{
        display: inline-block;
      }
      position: absolute;
      text-align: center;
      z-index: 10;
      cursor: pointer;
      .item-head{
        .title{
          font-size: 14px;
          color: #fff;
          margin-bottom: 15px;
          text-transform: capitalize;
        }
      }
      .item-body {
        position: absolute;
        top: 100%;
        right: 100%;
        padding: 80px;
        background-color: #000000d5;
        border-radius: 15px;
        width: 330px;
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        .img{
          width: 150px;
          height: 150px;
          border-radius: 50%;
          overflow: hidden;
        }
        .location-text{
          font-size: 14px;
          margin-top: 15px;
          color: #fff;
        }
        .description{
          margin: 0;
          margin-top: 30px;
          font-size: 20px;
          color: #fff;
        }
        .butn{
          margin-top: 60px;
          background: var(--color-primary);
          color: #fff;
          padding: 12px 35px;
          text-align: center;
          font-weight: 500;
          text-transform: capitalize;
          font-size: 14px;
          border-radius: 50rem;
          transform : perspective(var(--e-transform-tcgelements-map-items-cards-button-perspective,0)) rotate(var(--e-transform-tcgelements-map-items-cards-button-rotateZ,0)) rotateX(var(--e-transform-tcgelements-map-items-cards-button-rotateX,0)) rotateY(var(--e-transform-tcgelements-map-items-cards-button-rotateY,0)) translate(var(--e-transform-tcgelements-map-items-cards-button-translate,0)) translateX(var(--e-transform-tcgelements-map-items-cards-button-translateX,0)) translateY(var(--e-transform-tcgelements-map-items-cards-button-translateY,0)) scaleX(calc(var(--e-transform-tcgelements-map-items-cards-button-flipX, 1) * var(--e-transform-tcgelements-map-items-cards-button-scaleX, var(--e-transform-tcgelements-map-items-cards-button-scale, 1)))) scaleY(calc(var(--e-transform-tcgelements-map-items-cards-button-flipY, 1) * var(--e-transform-tcgelements-map-items-cards-button-scaleY, var(--e-transform-tcgelements-map-items-cards-button-scale, 1)))) skewX(var(--e-transform-tcgelements-map-items-cards-button-skewX,0)) skewY(var(--e-transform-tcgelements-map-items-cards-button-skewY,0));
          &.tce-hvr-txt-trans {
            position: relative;
            overflow: hidden;
            .hvr-txt {
              position: relative;
              display: inline-block;
              transition: all 0.3s ease;
              &::after {
                content: attr(data-text);
                display: inline-block;
                position: absolute;
                top: 50%;
                left: 50%;
                opacity: 0;
                transform: translate(-50%, 100%);
                transition: opacity .2s, transform .2s;
                transition-timing-function: cubic-bezier(.455, .03, .515, .955);
                white-space: nowrap;
              }
              span {
                transition: all 0.3s ease;
              }
            }
          }
          &:hover {
            .hvr-txt {
              span {
                transform: translateY(-150%);
                opacity: 0;
              }

              &::after {
                transform: translate(-50%, -50%);
                opacity: 1;
              }
            }
          }
        }
      }

      &:hover {
        .marker {
          filter: invert(41%) sepia(70%) saturate(7326%) hue-rotate(241deg) brightness(97%) contrast(89%);
        }
        .item-body {
          transform: translateY(0);
          opacity: 1;
          visibility: visible;
        }
      }

    }
  }
}

@media screen and (max-width: 991px) {
  .tcgelements-map-items {
    &.default{
      .map-main {
        .map-item {
          position: absolute;
        }
      }
    }
  }
}