/* 
Theme Name: Inresa - Matériel Médical
Theme URI: https://github.com/elementor/hello-theme/
Description: Theme pour l'entreprise Inresa
Author: Boite à oeufs
Author URI: https://www.boite-a-oeufs.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: inresa
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
*/

/**
*
* INRESA
*
*/

/* DIVERS */
.inresa-color-primary {
  color: var(--e-global-color-primary);
}

.inresa-column-nowrap .elementor-widget-wrap {
  flex-wrap: nowrap;
}

@media screen and (max-width: 767px) {
  .inresa-mobile-hidden {
    display: none;
  }
}

/* HEADER */
.inresa-top-banner p {
  margin-bottom: 0;
}

.inresa-search-form .elementor-search-form .elementor-search-form__submit {
  border-radius: 100%;
}

.inresa-search-form .elementor-search-form .elementor-search-form__submit:hover {
  border-radius: 100%;
}

@media screen and (min-width: 768px) {

  .inresa-menu ul:not(.elementskit-submenu-panel)>li.current-menu-item>a,
  .inresa-menu ul:not(.elementskit-submenu-panel)>li.menu-item>a {
    border-radius: 20px 0 20px 0;
  }

  .inresa-menu ul:not(.elementskit-submenu-panel)>li.menu-item:not(:last-child) {
    margin-right: 10px;
  }

  .inresa-menu .inresa-menu-catalog>a::before {
    content: "";
    background-image: url(./assets/lister.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 5px;
  }
}

.inresa-menu .elementskit-navbar-nav .elementskit-dropdown-has>a .elementskit-submenu-indicator {
  padding: 4px;
}

.inresa-menu .elementskit-submenu-panel {
  overflow: hidden;
}

.inresa-menu .elementskit-navbar-nav>li.menu-item>a {
  font-weight: 600;
}

@media screen and (min-width: 766px) and (max-width: 1024px) {
  .inresa-menu .ekit_menu_responsive_mobile .elementskit-dropdown-menu-full_width.top_position .elementskit-megamenu-panel {
    left: 0;
    right: 0;
    top: 46px !important;
    margin: 0;

  }
}

.inresa-megamenu .inresa-megamenu-categories .products .product-category a {
  display: flex;
  align-items: center;
  gap: 20px;
}

.inresa-megamenu .inresa-megamenu-categories .products .product-category picture {
  width: 60px;
}

.inresa-megamenu .inresa-megamenu-categories .products .product-category img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 0;

}

.inresa-medigreen-button {
  padding-left: 80px;
}

.inresa-medigreen-button .elementor-button-link::before {
  content: "";
  background-image: url(./assets/Medigreen.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  width: 50px;
  height: 50px;
  padding-right: 80px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 1024px) {
  .inresa-medigreen-button {
    padding-left: 55px;
  }

}

@media screen and (max-width: 767px) {
  .inresa-medigreen-button {
    padding-left: 35px;
  }

  .inresa-medigreen-button .elementor-button-link::before {
    width: 30px;
    height: 30px;
  }
}

/* HOME */
.inresa-slider .inresa-slider-subtitle {
  font-size: 26px;
}

.inresa-slider .elementor-main-swiper {
  border-radius: 20px;
}

.inresa-slider .elementor-swiper-button {
  background-color: var(--e-global-color-primary);
  border-radius: 50%;
  padding: 15px;
  transition: background-color 0.3s;
}

.inresa-slider .elementor-swiper-button:hover {
  background-color: var(--e-global-color-secondary);
}

.inresa-slider .elementor-swiper-button-prev {
  left: -27px;
}

.inresa-slider .elementor-swiper-button-next {
  right: -27px;
}

.inresa-slider .swiper-slide-inner {
  z-index: 2;
}

.inresa-slider .elementor-slide-description {
  padding-right: 200px;
}

.inresa-slider .elementor-slides .swiper-slide-bg {
  background-position: right center;
  background-size: 70% !important;
  z-index: 0;
}

.inresa-slider .elementor-background-overlay {
  background-image: linear-gradient(to right, #d8e3e9 70%, transparent);
  background-size: 50%;
  background-position: left center;
  background-repeat: no-repeat;
  z-index: 1;
}

.inresa-slider .inresa-slider-text {
  padding-right: 60%;
}

.inresa-slider .inresa-slider-btn-group {
  margin-top: 60px;
}

.inresa-slider .elementor-button:last-child {
  margin-left: 20px;
  background-color: #f5faf2;
  color: #3fa535;
}

.inresa-slider .elementor-button:last-child:hover {
  background-color: var(--e-global-color-secondary);
  color: var(--e-global-color-text);
}

@media screen and (max-width: 1200px) {
  .inresa-slider .elementor-slides .swiper-slide-bg {
    background-size: 100% !important;
  }
}

@media screen and (max-width: 1024px) {
  .inresa-slider .elementor-background-overlay {
    background-size: 70%;
  }

  .inresa-slider .elementor-slide-description {
    padding-right: 20px;
  }

  .inresa-slider .inresa-slider-text {
    padding-right: 50%;
  }

  .inresa-slider .inresa-slider-btn-group {
    margin-top: 40px;
  }

  .inresa-slider .inresa-slider-btn-group .elementor-button {
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .inresa-slider .elementor-slides .swiper-slide-bg {
    background-size: cover !important;
  }

  .inresa-slider .inresa-slider-text {
    padding-right: 25%;
  }

  .inresa-slider .inresa-slider-btn-group {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    margin-top: 20px;
  }

  .inresa-slider .elementor-button:last-child {
    margin-left: 0;
  }

  .inresa-slider .elementor-swiper-button {
    padding: 10px;
    font-size: 20px !important;
  }
}

.inresa-cta .elementor-cta .elementor-cta__content {
  position: absolute;
  bottom: 20px;
  left: 30px;
  width: 60%;
  border-radius: 20px 0 20px 0;
}

@media screen and (max-width: 767px) {
  .inresa-cta .elementor-cta .elementor-cta__content {
    right: 30px;
    width: auto;
  }
}

.inresa-cta .elementor-cta .elementor-cta__title {
  color: var(--e-global-color-primary);
}

.inresa-cta .elementor-cta .elementor-cta__button {
  padding: 0;
}

.inresa-right-column-border-radius {
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}

.inresa-left-column-border-radius {
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .inresa-left-column-border-radius {
    border-radius: 20px 20px 0 0;
  }

  .inresa-left-column-border-radius .elementor-widget-wrap {
    background-image: none !important;

  }
}

.inresa-banner-title {
  font-size: 42px;
  border-bottom: 1px solid #3ca336;
  padding-bottom: 5px;
}

.inresa-products-recents .product:not(:last-child)::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 20%;
  right: 0;
  width: 1px;
  height: 60%;
  background-color: #bed2e6;
}

.inresa-products-recents .product .attachment-woocommerce_thumbnail img {
  aspect-ratio: 1;
  object-fit: contain;
}

.inresa-products-recents .inresa-products-tags {
  font-size: 12px;
  color: var(--e-global-color-text);
}

.inresa-products-categories .inresa-products-categories-parent .product-category a {
  display: flex;
  flex-direction: row-reverse;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.inresa-products-categories .inresa-products-categories-parent .product-category img {
  width: 60px !important;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

.inresa-products-categories .inresa-products-categories-enfants .product-category img {
  width: 120px !important;
  margin: 0 auto !important;
  aspect-ratio: 1;
  object-fit: contain;
}

/* CATALOGUE */
.inresa-products .inresa-products-tags {
  font-size: 12px;
  color: var(--e-global-color-text);
}

.inresa-products .product {
  border-radius: 20px 0 20px 0;
  overflow: hidden;
}

.inresa-products .woof_products_top_panel button {
  padding: 5px 10px;
  border: none;
  font-size: 14px;
}

/* filters */
.inresa-products-filters h4 {
  margin-bottom: 10px;
  margin-top: 20px;
}

.inresa-products-filters button.woof_reset_search_form {
  border-radius: 20px 0 20px 0;
  background-color: var(--e-global-color-primary);
  color: white;
  font-weight: normal;
}

.inresa-products-filters button.woof_reset_search_form:hover {
  background-color: var(--e-global-color-secondary);
}

.inresa-products-filters .woof_list_checkbox {
  padding-left: 10px;
}

.inresa-products-filters .woof_list_checkbox .woof_childs_list {
  padding-left: 0;
}

.inresa-products-filters .irs .irs-bar,
.inresa-products-filters .irs .irs-from,
.inresa-products-filters .irs .irs-from::before,
.inresa-products-filters .irs .irs-to,
.inresa-products-filters .irs .irs-to::before {
  background-color: var(--e-global-color-primary);
}

.inresa-products-filters .irs .irs-handle {
  border-color: var(--e-global-color-primary);
}

/**
*
* MEDIGREEN
*
*/

/* HEADER */
.medigreen-inresa-button {
  padding-left: 100px;
}

.medigreen-inresa-button .elementor-button-link::before {
  content: "";
  background-image: url(./assets/Inresa.png);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 80px;
  width: 100px;
  height: 80px;
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 1024px) {
  .medigreen-inresa-button {
    padding-left: 55px;
  }

}

@media screen and (max-width: 767px) {
  .medigreen-inresa-button {
    padding-left: 40px;
  }

  .medigreen-inresa-button .elementor-button-link::before {
    width: 35px;
    height: 30px;
    background-size: 35px;
  }
}

.inresa-menu-catalog.medigreen-menu-catalog>a::before {
  background-image: url(./assets/lister-green.png);
}

/* HOME */
.medigreen-banner-title {
  font-size: 42px;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}