/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

#home-banner-container {
	padding: 0;
}

#home-banner-container .elementor-widget-container {
  height: var(--min-height);
}

.cta__banner-main-container {
  height: 100%;
}

.cta__banner-container {
  height: 100%;
  overflow: hidden;
}

.cta__banner-slide.swiper-slide {
  display: flex;
  height: 100%;
  align-items: flex-end;
  position: relative;
  background: #151414;
}

.cta__banner-image-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.cta__banner-text-container {
  position: relative;
  z-index: 1;
  width: min(1140px, 100%);
  margin: 0 auto;

  /* Temp Edit */
  -webkit-line-clamp: 1;
  padding: 20px;
  margin-block-end: 60px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px) brightness(100%) opacity(100%);
  border-radius: 15px;
}

.cta__banner-text {
  /*     width: min(770px, 100%); */
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.15em;
  color: #fff;
  font-family: var(--e-global-typography-primary-font-family), sans-serif;
  margin: 0 auto;
  text-align: center;
}

@media (width > 1024px) {
	.cta__banner-text {
		overflow: hidden;
		max-width: 100%;
		text-overflow: ellipsis;
		width: fit-content;
		white-space: nowrap;
	}
}

div[class^="swiper-button-"]::after {
  padding: 10px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px) brightness(100%) opacity(100%);
}

#flip-cards .elementor-icon-box-content {
  position: absolute;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}

#flip-cards .elementor-icon-box-content > * {
  position: absolute;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
  backface-visibility: hidden;
  background-color: transparent;
  margin: 0 !important;
}

#flip-cards .elementor-icon-box-content > .elementor-icon-box-title + p {
  transform: rotateY(180deg);
}

#flip-cards > .e-con-inner > *:hover .elementor-icon-box-content {
  transform: rotateY(180deg);
}

@keyframes zoomInImage {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  to {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }
}

.zoomInImage {
  -webkit-animation: zoomInImage 7000ms infinite forwards linear;
  animation: zoomInImage 7000ms infinite forwards linear;
}

@keyframes zoomOutImage {
  from {
    -webkit-transform: scale3d(1.2, 1.1, 1.1);
    transform: scale3d(1.2, 1.1, 1.1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.zoomOutImage {
  -webkit-animation: zoomOutImage 7000ms infinite forwards linear;
  animation: zoomOutImage 7000ms infinite forwards linear;
}

.acitivity-container {
  display: grid;
}

.acitivity-container.map-only {
  place-items: center;
}

@media screen and (min-width: 1024px) {
  .acitivity-container:not(.map-only) {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(auto, 540px);
  }
}

.acitivity-container:not(.map-only) {
  gap: 30px;
}

.activity-location-list {
  overflow: auto;
  padding-block-end: 20px;
}

.activity-location-list::-webkit-scrollbar {
  width: 12px;
}

.activity-location-list::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.activity-location-list::-webkit-scrollbar-thumb {
  background-color: var(--theme-palette-color-1);
  border-radius: 6px;
}

.activity-location-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--theme-palette-color-2);
}

.activity-location-list details {
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.activity-location-list details + details {
  margin-block-start: 20px;
}

.activity-location-list details summary {
  padding: 10px 20px;
  background: whitesmoke;
  border: 1px solid #eee;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Nova Slim", Sans-serif;
}

.activity-location-list details[open] summary {
  background: var(--theme-palette-color-1);
}

.activity-location-list details .activity-name-list {
  display: block;
  padding: 10px 40px;
  max-height: unset;
}

.activity-location-list details .activity-name-list a {
  color: var(--theme-palette-color-3);
  font-size: 0.875rem;
}

.activity-location-map {
  place-self: center;
}

#map {
  position: relative;
  display: inline-block;
  width: 100%;
}

#map svg path {
  fill: #fff;
  stroke: #eee;
  transform: scale(0.79);
}

.marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #89849b;
  position: absolute;
  transform: rotate(-45deg);
  left: 100%;
  top: -100%;
  margin: -20px 0 0 -20px;
  animation-name: pin-bounce;
  animation-fill-mode: both;
  animation-duration: 1s;
  cursor: pointer;
}

.pin:after {
  content: "";
  width: 14px;
  height: 14px;
  margin: 8px 0 0 8px;
  background: #2f2f2f;
  position: absolute;
  border-radius: 50%;
}

.pulse {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  height: 14px;
  width: 14px;
  position: absolute;
  left: 100%;
  top: -100%;
  margin: 11px 0px 0px -12px;
  transform: rotateX(55deg);
  z-index: -2;
  cursor: pointer;
}

.pulse:after {
  content: "";
  border-radius: 50%;
  height: 40px;
  width: 40px;
  position: absolute;
  margin: -13px 0 0 -13px;
  animation: pulsate 1s ease-out;
  animation-iteration-count: infinite;
  opacity: 0;
  filter: alpha(opacity=0);
  box-shadow: 0 0 1px 2px #89849b;
  animation-delay: 1.1s;
}

.marker:hover {
  z-index: 1;
}

.marker:hover .pin {
  /* 	animation-name: bounce-2;
	animation-timing-function: cubic-bezier(0.280, 0.840, 0.420, 1); */
  background: var(--theme-palette-color-1);
}

.marker:hover .activity-list {
  transform: scale(1);
}

.activity-list {
  position: absolute;
  background: darkgray;
  padding: 10px;
  border-radius: 6px;
  top: 0;
  /*     left: 0; */
  height: auto;
  width: max(200px, 100%);
  background-color: #fff;
  /*     transform-origin: left top; */
  transform: scale(0);
  transition: 150ms linear;
  will-change: transform;
  overflow: hidden;
  box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.map-location-name {
  font-size: 1.25rem;
  text-align: center;
  position: relative;
  margin-block-end: 4px !important;
  /* margin-block-end: 0 !important; */
  font-family: "Nova Slim", Sans-serif;
}

.map-location-name::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  bottom: 0;
  height: 2px;
  background: #eee;
}

.activity-name-list {
  max-height: 200px;
  overflow: auto;
  overflow-x: clip;
  padding: 0 0 0 20px;
  font-size: 0.75rem;
  font-family: "Hind Siliguri", sans-serif;
}

.activity-name-list a {
  color: var(--theme-palette-color-3);
}

.activity-name-list a:hover {
  color: var(--theme-link-initial-color);
}

.activity-name-list::-webkit-scrollbar {
  width: 6px;
}

.activity-name-list::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.activity-name-list::-webkit-scrollbar-thumb {
  background-color: var(--theme-palette-color-1);
  border-radius: 3px;
}

.activity-name-list::-webkit-scrollbar-thumb:hover {
  background-color: var(--theme-palette-color-2);
}

@keyframes pulsate {
  0% {
    transform: scale(0.1, 0.1);
    opacity: 0;
    filter: alpha(opacity=0);
  }
  50% {
    opacity: 1;
    filter: none;
  }
  100% {
    transform: scale(1.2, 1.2);
    opacity: 0;
    filter: alpha(opacity=0);
  }
}

@keyframes pin-bounce {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translateY(-2000px) rotate(-45deg);
  }
  60% {
    opacity: 1;
    filter: none;
    transform: translateY(30px) rotate(-45deg);
  }
  80% {
    transform: translateY(-10px) rotate(-45deg);
  }
  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

@keyframes bounce-2 {
  0% {
    transform: scale(1, 1) translateY(0) rotate(-45deg);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0) rotate(-45deg);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-100px) rotate(-45deg);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0) rotate(-45deg);
  }
  57% {
    transform: scale(1, 1) translateY(-7px) rotate(-45deg);
  }
  64% {
    transform: scale(1, 1) translateY(0) rotate(-45deg);
  }
  100% {
    transform: scale(1, 1) translateY(0) rotate(-45deg);
  }
}

@media screen and (max-width: 679px) {
  #map svg path {
    transform: scale(0.5);
  }
}
