/**
 * Theme Name:     Distrizone7 Enfold
 * Author:         MansWeb
 * Template:       themeforest-LPMyEBIx-enfold-responsive-multipurpose-theme-wordpress-theme/enfold
 * Text Domain:	   distrizone7-enfold
 * Description:    Thème enfant personnalisé pour Distrizone7 basé sur Enfold.
 * Version:        1.0.0
 */

@view-transition {
  navigation: auto;
}

.woocommerce-button,
.woocommerce-Input {
  font-size: 14px !important;
}

.woocommerce-button {
  font-weight: 900 !important;
}

#scroll-top-link {
  display: none;
}

.button {
  background-color: var(--background-tertiary) !important;
  color: var(--color-primary) !important;
  border-radius: 5px !important;
}

/*! ********** Container ********** */
#main .container_wrap .container {
  padding: 0 20px !important;
  width: 100% !important;
}

.responsive #top #wrap_all .container {
  max-width: none !important;
}

/*! ********** Layout ********** */
@media (min-width: 768px) {
  body:not(.page-template-template-blank) #main {
    margin-top: 64px !important;
    margin-left: 240px !important;
  }

  body.page-template-template-blank #main {
    margin-top: 0 !important;
    margin-left: 0 !important;
  }
}

input {
  border: none !important;
  background-color: white !important;
  border-radius: 5px !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/*! Woocommerce Message*/
.woocommerce-error,
.woocommerce-message {
  position: fixed !important;
  z-index: 99999;
  bottom: 0;
  max-width: 550px;
  padding: 20px 35px 20px 20px !important;
  text-align: left;
  margin: 0 23px 23px 0 !important;
  right: 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  border-radius: 5px !important;
}

.woocommerce-error {
  background-color: red !important;
}

.woocommerce-error li {
  color: white !important;
}

.woocommerce-message li {
  color: green !important;
}

.woocommerce-error:focus-visible,
.woocommerce-message:focus-visible {
  outline: none !important;
}

.woocommerce-error a {
  display: none !important;
  text-decoration: underline !important;
}

.woocommerce-error li strong,
.woocommerce-message li strong {
  font-weight: 900 !important;
}

.woocommerce-error li {
  color: white !important;
}

.woocommerce-message li strong {
  color: green !important;
}

.woocommerce-error .wc-close-notice {
  color: white !important;
}

.woocommerce-message .wc-close-notice {
  color: #073503 !important;
}

.wc-close-notice {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.wc-close-notice:hover {
  opacity: 1;
}

#password_strength.short {
  color: red !important;
}

#password_strength.bad {
  color: orange !important;
}

#password_strength.good,
#password_strength.strong {
  color: green !important;
}

.woocommerce-password-hint {
  color: var(--color-semi-border) !important;
}

/*! Custom notification */

.added_to_cart_notification {
  opacity: 1 !important;
}

.distrizone-notification {
  position: fixed;
  background-color: var(--background-primary);
  border: 1px solid var(--color-border);
  padding: 20px;
  top: 55px;
  right: 70px;
  z-index: 999999;
}

body.admin-bar .distrizone-notification {
  top: 87px !important;
}

.distrizone-notification .range-success {
  color: white;
}

.distrizone-notification .range-error {
  color: orange;
}

.distrizone-notification p {
  margin: 0;
}
