/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@keyframes fadeTranslateBlurIn {
  from {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.fadeTranslateBlurIn {
  animation-name: fadeTranslateBlurIn;
  animation-timing-function: cubic-bezier(.4, 0, .2, 1);

  &.animated {
    animation-duration: .7s;
  }
}

.submenu-hover-blur-fade-in {
  .uael-active-menu + .uael-nav-menu__layout-expandible,
  .uael-nav-menu__layout-horizontal .uael-nav-menu .menu-item-has-children > .sub-menu,
  .uael-nav-menu__layout-horizontal .uael-nav-menu .menu-item-has-children > .sub-menu {
    transition: all cubic-bezier(.4,0,.2,1) .250s !important;
    transition-delay: 50ms !important;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    pointer-events: none;
  }

  .uael-active-menu + .uael-nav-menu__layout-expandible,
  .uael-nav-menu__layout-horizontal .uael-nav-menu .menu-item-has-children:focus > .sub-menu,
  .uael-nav-menu__layout-horizontal .uael-nav-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: all;
  }
}

.uael-dual-color-heading {
  > * {
    margin: 0;
  }
}

.eael-dual-header .eael-dch-title {
  margin: 0;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.show-on-hover-trigger {

  &:before {
    background: linear-gradient(180deg, var(--color-top) 15%, var(--color-bottom) 100%) !important;
    transition: --color-top 0.4s ease, --color-bottom 0.4s ease;
    content: '';
  }

  &:hover:before {
    --color-top: rgba(0, 70, 119, 0.80);
    --color-bottom: #002A3A;
  }

  .show-on-hover {
    grid-template-rows: 0fr;
    opacity: 0;

    transition: grid-template-rows 300ms ease, opacity 300ms linear;
    transition-delay: 0s, 300ms;

    >.show-on-hover-content {
      overflow: hidden;
    }
  }

  &:hover {
    .show-on-hover {
      grid-template-rows: 1fr;
      opacity: 1;
    }
  }
}

@property --color-top {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(0, 70, 119, 0.40);
}

@property --color-bottom {
  syntax: '<color>';
  inherits: false;
  initial-value: #004677;
}

.rcmDataFlowCounter {
  .eael-progressbar-circle {
    display: grid;
    grid-template-columns: var(--circleWidth) 1fr;
    --circleWidth: 50px;
    align-items: center;
    gap: 10px;
    width: auto;
    height: auto;

		@media (max-width: 767px) {
			grid-template-columns: var(--circleWidth) auto;
			grid-template-rows: auto auto;

			.eael-progressbar-circle-inner-content {
				grid-column: 1 / 3;
				grid-row: 2 / -1;
			}
		}

    .eael-progressbar-circle-pie {
      grid-column: 1 / 2;
      width: 100%;
      height: var(--circleWidth);
    }

    .eael-progressbar-circle-inner {
      width: 100%;
      height: var(--circleWidth);
      align-self: flex-start;
    }

    .eael-progressbar-circle-inner-content {
      position: static;
      transform: none;
      display: flex;
      flex-direction: row-reverse;
      flex-wrap: wrap-reverse;
      align-items: baseline;
      justify-content: start;
      gap: 10px;
      text-align: left;

      .eael-progressbar-title,
      .eael-progressbar-count-wrap {
        text-box: trim-both cap text;
      }
    }
  }
}

.anesthesiaAccordion {
  --n-tabs-title-justify-content-toggle: space-between !important;
}

@media all and (min-width: 767px) {
  .homeGridCards {

    .swiper-wrapper {
      transform: none !important;
      flex-wrap: wrap;
      --gapForSlides: 20px;
      gap: var(--gapForSlides);

      > .swiper-slide {
        flex-grow: 1;
        flex-basis: calc(100%/3 - var(--gapForSlides));
        width: auto !important;

        > .elementor-element {
          overflow: hidden;
        }

        &.swiper-slide-duplicate {
          display: none !important;
        }
      }
    }
  }
}

.tabs-menu,
.section-anchor-links.elementor-icon-list--layout-inline > .elementor-icon-list-items {
  --fade-size: 32px;
  --fade-left: 0px;
  --fade-right: 0px;

  mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--fade-left),
    black calc(100% - var(--fade-right)),
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black var(--fade-left),
    black calc(100% - var(--fade-right)),
    transparent 100%
  );
}
.eael-progressbar-count {
  font-variant-numeric: tabular-nums;
}

.elementor-counter {
  .elementor-counter-number {
    font-variant-numeric: tabular-nums;
  }
}

.chosen-container {
	max-width: 100%;
}

.section-anchor-links.elementor-icon-list--layout-inline {
  > .elementor-icon-list-items {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;

    > .elementor-icon-list-item {
      flex-shrink: 0;
    }
  }
}

.show-on-hover-trigger {
  .hide-on-hover {
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 300ms ease, opacity 300ms linear;
    transition-delay: 0s, 300ms;

    .hide-on-hover-content {
      overflow: hidden;
    }
  }

  &:hover {
    .hide-on-hover {
      grid-template-rows: 0fr;
      opacity: 0;
      transition-delay: 0s, 0s;
    }
  }
}

.operating-room-activity-circle-counter {
  .eael-progressbar-circle {
    aspect-ratio: 1 / 1;
    height: auto !important;
    max-width: 100%;
  }
}

.elementor-icon-list-item {
  > a {
    &:hover {
      > .elementor-icon-list-text {
        text-decoration: underline !important;
      }
    }
  }
}

.trim-line-height-white-space {
  text-box: trim-both cap text;
}

@media all and (max-width: 767px) {
  #left-cards,
  #right-cards {
    display: contents;
  }
}

.swiper-pagination-left {
  .swiper-pagination {
    --e-n-carousel-dots-horizontal-position: 0%;
    --direction-multiplier: 0;
  }
}