:root {
  --ethics-white: #fff;
  --ethics-green: #00a443;
  --ethics-green-1: #007f33;
  --ethics-sand-7: #3a3735;
  --ethics-sand: #fff5ec;
  --ethics-sand-1: #fffeff;
  --ethics-sand-3: #d8cfc7;
  --ethics-sky: #d8f3ff;
  --ethics-forest: #00402a;
  --ethics-forest-1: #dcebe1;
  --ethics-sunset: #ff9c1a;
}

#ethics {
  width: 100%;
  max-width: 980px;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: var(--ethics-sand);
  padding: 32px 15px;
  margin: 20px auto;
}

#ethics * {
  font-family: "IberPangeaText" !important;
  font-style: normal;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#ethics strong {
  font-family: "IberPangeaText Bold" !important;
  font-weight: normal;
}

#ethics h2 {
  margin-top: 0 !important;
}

#ethics ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#ethics ul li:before {
  content: none !important;
  display: none !important;
}

#ethics img {
  display: block;
  width: 100%;
}

#ethics .swiper-autoheight,
#ethics .swiper-autoheight .swiper-slide {
  height: auto;
}

#ethics .swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}

#ethics .swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out;
}

#ethics .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}

#ethics .swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none;
}

#ethics .swiper-fade .swiper-slide-active,
#ethics .swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto;
}

#ethics .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

#ethics .swiper-android .swiper-slide,
#ethics .swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

#ethics .swiper-pointer-events {
  touch-action: pan-y;
}

#ethics .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  transition-property: transform;
}

#ethics .swiper-slide-invisible-blank {
  visibility: hidden;
}

#ethics .swiper-css-mode > .swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#ethics .swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
  display: none;
}

#ethics .swiper-horizontal.swiper-css-mode > .swiper-wrapper {
  scroll-snap-type: x mandatory;
}

#ethics .swiper-button-lock {
  display: none;
}

#ethics .swiper-slide {
  overflow: hidden;
}

#ethics .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin: 24px auto;
  width: 100%;
}

#ethics .swiper-button-prev,
#ethics .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block !important;
  /*background-size: contain;*/
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent !important;
  border-radius: 100%;
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2;
  outline: none !important;
}

#ethics .swiper-button-prev {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/codigo-conducta/images/ico-prev.svg");
}

#ethics .swiper-button-next {
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/codigo-conducta/images/ico-next.svg");
}

#ethics .swiper-button-prev.swiper-button-disabled,
#ethics .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

#bareas .swiper-button-prev:focus,
#bareas .swiper-button-next:focus {
  background-color: #dcebe1 !important;
  outline: none !important;
}

#ethics .swiper-pagination {
  border-radius: 24px;
  border: 1px solid var(--ethics-forest);
  padding: 5px 16px;
  color: var(--ethics-forest) !important;
  font-size: 14px;
  line-height: 1.3;
  font-style: italic;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 68px;
  margin-right: auto;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background-color: transparent !important;
  gap: 4px;
}

#ethics .swiper-pagination .swiper-pagination-current {
  font-style: italic;
  color: var(--ethics-green-1) !important;
}

#ethics .swiper-pagination .swiper-pagination-total {
  font-style: italic;
}

#ethics .ethics_swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  display: none;
}

#ethics[data-number="1"] .ethics_swiper,
#ethics[data-number="2"] .ethics_swiper,
#ethics[data-number="3"] .ethics_swiper,
#ethics[data-number="4"] .ethics_swiper,
#ethics[data-number="5"] .ethics_swiper,
#ethics[data-number="6"] .ethics_swiper {
  display: flex;
}

#ethics .ethics_title {
  width: 100%;
  color: var(--ethics-green-1) !important;
  font-size: 32px;
  line-height: 1.125;
  font-style: normal;
  font-weight: normal;
  font-family: "IberPangea" !important;
  text-align: left;
  margin-bottom: 24px;
}

#ethics .ethics_title strong {
  font-style: normal;
  font-weight: normal;
  font-family: "IberPangea Bold" !important;
}

#ethics .ethics_media {
  display: flex;
  flex-wrap: wrap;
}

#ethics .ethics_media_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

#ethics[data-number="1"] .ethics_media_nav,
#ethics[data-number="2"] .ethics_media_nav,
#ethics[data-number="3"] .ethics_media_nav,
#ethics[data-number="4"] .ethics_media_nav,
#ethics[data-number="5"] .ethics_media_nav,
#ethics[data-number="6"] .ethics_media_nav {
  display: none;
}

#ethics .ethics_media_nav_item {
  width: calc(50% - 4px);
}

#ethics .ethics_media_nav_link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
  background-color: var(--ethics-white);
  padding: 8px 8px 8px 8px;
  min-height: 46px;
  gap: 6px;
  color: var(--ethics-forest) !important;
  font-family: "IberPangea Medium" !important;
  font-size: 12px;
  line-height: 1.22;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

#ethics .ethics_media_nav_link span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  min-width: 25px;
  height: 25px;
  background-color: var(--ethics-green-1);
  border-radius: 100%;
  color: var(--ethics-sand-1) !important;
  font-family: "IberPangea Bold" !important;
  font-size: 14px;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  transition: all 0.15s;
}

#ethics .ethics_media_nav_link:hover,
#ethics .ethics_media_nav_link.active {
  border-color: var(--ethics-green-1);
  background-color: var(--ethics-green-1);
  color: var(--ethics-sand-1) !important;
}

#ethics .ethics_media_nav_link:hover span,
#ethics .ethics_media_nav_link.active span {
  background-color: var(--ethics-sand-1);
  color: var(--ethics-green-1) !important;
}

#ethics .ethics_media_image {
  max-width: 176px;
  margin: 0 auto 16px;
  position: relative;
}

#ethics .ethics_media_image_claim {
  width: 100%;
  max-width: 84px;
  color: var(--ethics-green-1) !important;
  font-family: "IberPangea Bold" !important;
  font-size: 24px;
  line-height: 1.1;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#ethics .ethics_media_icon {
  width: 140px;
  min-width: 140px;
  height: 120px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 13px;
  padding: 7px;
  background-color: var(--ethics-white);
  position: absolute;
  transition: all 0.15s;
  text-decoration: none;
}

#ethics .ethics_media_icon:hover,
#ethics .ethics_media_icon.active {
  background-color: var(--ethics-green-1);
}

#ethics .ethics_media_icon img {
  max-width: 49px;
  transition: all 0.15s;
  margin: 0 auto 5px;
}

#ethics .ethics_media_icon:hover img,
#ethics .ethics_media_icon.active img {
  filter: brightness(0) invert(1);
}

#ethics .ethics_media_icon strong {
  color: var(--ethics-forest) !important;
  font-family: "IberPangea Medium" !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
}

#ethics .ethics_media_icon:hover strong,
#ethics .ethics_media_icon.active strong {
  color: var(--ethics-sand-1) !important;
}

#ethics .ethics_media_icon-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

#ethics .ethics_media_icon-2 {
  right: 0;
  top: 93px;
}

#ethics .ethics_media_icon-3 {
  top: 260px;
  right: 0;
}

#ethics .ethics_media_icon-4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#ethics .ethics_media_icon-5 {
  top: 260px;
  left: 0;
}

#ethics .ethics_media_icon-6 {
  left: 0;
  top: 93px;
}

#ethics .ethics_media_note {
  width: 100%;
  color: var(--ethics-sand-7) !important;
  font-family: "IberPangeaText" !important;
  font-size: 12px;
  line-height: 1.25;
  font-style: italic;
  font-weight: normal;
  text-align: left;
  margin-bottom: 16px;
}

#ethics .ethics_media_note strong {
  font-size: 12px;
  line-height: 1.25;
  font-family: "IberPangeaText" !important;
  font-style: italic;
  font-weight: normal;
}

#ethics .ethics_item_image {
  width: 100%;
  margin-bottom: 15px;
}

#ethics .ethics_item_title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 15px 15px 0 0;
  padding: 8px;
  gap: 8px;
  font-family: "IberPangea Medium" !important;
  font-size: 16px;
  line-height: 1.22;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  background-color: var(--ethics-green-1);
  color: var(--ethics-sand-1) !important;
  background-image: url("/wcorp/gc/prod/es_ES/estaticos/codigo-conducta/images/icono-cerrar.svg");
  background-repeat: no-repeat;
  background-size: 36px auto;
  background-position: calc(100% - 8px) center;
  padding-right: 52px;
  width: 100%;
}

#ethics .ethics_item_title span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  border-radius: 100%;
  background-color: var(--ethics-sand-1);
  color: var(--ethics-green-1) !important;
  font-family: "IberPangea Bold" !important;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
}

#ethics .ethics_item {
  width: 100%;
}
#ethics .ethics_item_content {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 15px 15px;
  background-color: var(--ethics-white);
  gap: 8px;
}

#ethics .ethics_item_icon {
  max-width: 68px;
}

#ethics .ethics_item_text {
  color: var(--ethics-sand-7) !important;
  font-size: 16px;
  line-height: 1.25;
  font-family: "IberPangeaText" !important;
  text-align: left;
  font-style: normal;
  font-weight: normal;
  margin-bottom: 8px;
}

#ethics .ethics_item_text strong {
  font-size: 16px;
  line-height: 1.25;
  font-family: "IberPangeaText Bold" !important;
  font-style: normal;
  font-weight: normal;
}

#ethics .ethics_item_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#ethics .ethics_item_list_item {
  color: var(--ethics-sand-7) !important;
  font-size: 16px;
  line-height: 1.25;
  font-family: "IberPangeaText" !important;
  text-align: left;
  font-style: normal;
  font-weight: normal;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px !important;
}

#ethics .ethics_item_list_item:after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--ethics-green);
  border-radius: 100%;
  position: absolute;
  top: 6px;
  left: 0;
}

#ethics .ethics_item_list_item strong {
  font-size: 16px;
  line-height: 1.25;
  font-family: "IberPangeaText Bold" !important;
  font-style: normal;
  font-weight: normal;
}

#ethics .ethics_source {
  color: var(--ethics-sand-7) !important;
  font-size: 16px;
  line-height: 1.25;
  font-family: "IberPangeaText" !important;
  font-style: normal;
  font-weight: normal;
  text-align: left;
}

#ethics .ethics_source a {
  color: var(--ethics-green-1) !important;
  text-decoration: underline;
}

#ethics .ethics_media_area {
  display: none;
}

@media (min-width: 700px) {
  #ethics {
    padding: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
  }
  #ethics .ethics_title {
    margin-bottom: 0;
  }
  #ethics .swiper-button-prev:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/codigo-conducta/images/ico-prev-hover.svg");
  }

  #ethics .swiper-button-next:hover {
    background-image: url("/wcorp/gc/prod/es_ES/estaticos/codigo-conducta/images/ico-next-hover.svg");
  }
  #ethics .ethics_media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  #ethics .ethics_media_note {
    display: none;
  }

  #ethics .ethics_media_area {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 120px;
    color: var(--ethics-forest) !important;
    font-family: "IberPangeaText" !important;
    background-color: var(--ethics-white);
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.16;
    text-align: center;
    text-decoration: none;
    margin-bottom: 0;
    opacity: 0;
    cursor: default;
    transition: all 0.5s;
  }

  #ethics .ethics_media_area:hover {
    opacity: 1;
  }
  
  #ethics .ethics_media_image_claim span {
    display: none;
  }
  #ethics .ethics_media_area strong {
    font-family: "IberPangeaText Bold" !important;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.16;
  }

  #ethics .ethics_media_nav {
    display: none;
  }

  #ethics .ethics_media_icon {
    display: flex;
  }

  #ethics .ethics_media_image {
    max-width: 474px;
    margin-bottom: 0;
  }

  #ethics .ethics_swiper {
    display: flex;
  }

  #ethics[data-number="0"] .ethics_media_icon-1 {
    background-color: var(--ethics-green-1);
  }

  #ethics[data-number="0"] .ethics_media_icon-1 img {
    filter: brightness(0) invert(1);
  }

  #ethics[data-number="0"] .ethics_media_icon-1 strong {
    color: var(--ethics-sand-1) !important;
  }

  #ethics .swiper-controls {
    margin-bottom: 0;
  }
  #ethics .ethics_item_title {
    background-image: none;
    cursor: default;
  }
}

@media (min-width: 1000px) {
  #ethics .ethics_media {
    flex: 1;
  }

  #column-2 #ethics .ethics_media {
    flex: auto;
  }

  #ethics .ethics_swiper {
    flex: 1;
    display: flex;
    max-width: 418px;
  }

  #column-2 #ethics .ethics_swiper {
    flex: auto;
    max-width: 100%;
  }

  #ethics .ethics_item_content_inner {
    height: 336px;
    overflow-y: auto;
    padding-right: 10px;
  }

  #ethics .ethics_item_content_inner::-webkit-scrollbar-track {
    height: 8px;
    width: 8px;
    border-radius: 10px;
    border: none;
    background-color: var(--ethics-sand-3);
    box-shadow: none;
  }

  #ethics .ethics_item_content_inner::-webkit-scrollbar {
    height: 8px;
    width: 8px;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }

  #ethics .ethics_item_content_inner::-webkit-scrollbar-thumb {
    height: 8px;
    width: 8px;
    border-radius: 10px;
    box-shadow: none;
    border: none;
    background-color: var(--ethics-green);
  }
}
