/*!***************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./packages/module-library/card-carousel-child/style.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************/
@charset "UTF-8";
.dsm_card_carousel_child_badge_text {
  position: absolute;
  padding: 7px 15px;
  max-width: 100%;
  border-radius: 50px;
  background-color: #fff;
  font-size: 12px;
  border-style: solid;
  border-width: 0;
  line-height: 1em;
  z-index: 3;
}

.dsm_card_carousel_child_badge_top_right .dsm_card_carousel_child_badge_text {
  top: 1rem;
  right: 1rem;
}

.dsm_card_carousel_child_badge_top_left .dsm_card_carousel_child_badge_text {
  top: 1rem;
  left: 1rem;
}

.dsm_card_carousel_child_badge_top_center .dsm_card_carousel_child_badge_text {
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.dsm_card_carousel_child_badge_bottom_right .dsm_card_carousel_child_badge_text {
  bottom: 1rem;
  right: 1rem;
}

.dsm_card_carousel_child_badge_bottom_left .dsm_card_carousel_child_badge_text {
  bottom: 1rem;
  left: 1rem;
}

.dsm_card_carousel_child_badge_bottom_center .dsm_card_carousel_child_badge_text {
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.dsm_card_carousel_child_badge_center .dsm_card_carousel_child_badge_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dsm_card_carousel_child_badge_center_left {
  display: flex;
  justify-content: left;
  align-items: center;
}

.dsm_card_carousel_child_badge_center_left .dsm_card_carousel_child_badge_text {
  left: 1rem;
}

.dsm_card_carousel_child_badge_center_right {
  display: flex;
  justify-content: right;
  align-items: center;
}

.dsm_card_carousel_child_badge_center_right .dsm_card_carousel_child_badge_text {
  right: 1rem;
}

/*Overlay*/
.dsm_card_carousel_child .et_overlay {
  border-width: 0;
}

.dsm_card_carousel_child_image_wrapper .dsm-card-icon-empty.et_overlay:before {
  display: none;
}

.dsm-card-overlay-off .et_overlay {
  opacity: 1;
  z-index: 0;
}

.dsm-card-overlay-off:hover .et_overlay {
  opacity: 0;
}

.dsm_card_carousel_child_image_wrapper .et_overlay {
  display: flex;
}

.dsm_card_carousel_child_image_wrapper .et_overlay:before {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/*Animation*/
/* Animation classes live on .dsm_card_carousel_child (module root), like D4 — not on the figure. */
.dsm_card_carousel_child_image_animation .dsm_card_carousel_child_image_wrapper {
  overflow: hidden;
}

.dsm_card_carousel_child_image_animation_zoom_in:hover .dsm_card_carousel_child_image_background {
  transform: scale(1.5);
}

.dsm_card_carousel_child_image_animation_zoom_out .dsm_card_carousel_child_image_background {
  transform: scale(1.5);
}

.dsm_card_carousel_child_image_animation_zoom_out:hover .dsm_card_carousel_child_image_background {
  transform: scale(1);
}

.dsm_card_carousel_child_image_animation_zoom_in_n_rotate:hover .dsm_card_carousel_child_image_background {
  transform: scale(1.5) rotate(25deg);
}

.dsm_card_carousel_child_image_animation_zoom_out_n_rotate .dsm_card_carousel_child_image_background {
  transform: scale(1.5) rotate(25deg);
}

.dsm_card_carousel_child_image_animation_zoom_out_n_rotate:hover .dsm_card_carousel_child_image_background {
  transform: scale(1) rotate(0);
}

/* Smooth Scrolling */
.dsm_card_carousel_infinite_scroll .swiper-wrapper {
  transition-timing-function: linear !important;
}

.dsm_card_carousel_infinite_scroll:hover .swiper-wrapper {
  transition-timing-function: linear !important;
}

.dsm_card_carousel_infinite_scroll .swiper-pagination {
  display: none;
}

.dsm_card_carousel .dsm_card_carousel_child_image_wrapper {
  position: relative;
}

.dsm_card_carousel_child_img {
  display: block;
}

.dsm_card_carousel_image_stretch {
  width: 100%;
}

.dsm_card_carousel .dsm_card_carousel_child_image_wrapper .et_overlay.et_pb_inline_icon {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease-in-out;
  z-index: 99 !important;
  background: transparent !important;
}

.dsm_card_carousel .dsm_card_carousel_child .dsm_card_carousel_child_image_wrapper .et_overlay.dsm_show_hover_overlay {
  opacity: 0;
}

.dsm_card_carousel .dsm_card_carousel_child:hover .dsm_card_carousel_child_image_wrapper .et_overlay.dsm_show_hover_overlay {
  opacity: 1;
}

.dsm-card-nestable {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.dsm-card-nestable > .et_pb_module {
  max-width: 100%;
}

/* Child CTA icon (VB + FE when ancestor `.dsm_card_carousel` rule does not apply). */
.dsm_card_carousel_child .et_pb_button {
  display: inline-block;
}

.dsm_card_carousel_child .et_pb_button[data-icon]:not([data-icon=""]):after {
  content: attr(data-icon);
}

.dsm_card_carousel_child .et_pb_button_module_wrapper {
  width: fit-content;
  width: -moz-fit-content;
  max-width: 100%;
}
