.ui-dialog {
  position: relative;
  top: inherit;
  border: none;
}
.ui-dialog .ui-dialog-content {
  position: absolute;
  border: 0.1rem solid #e7e7e7;
  padding: 2rem;
  background: #FFFFFF;
  /* overflow: inherit; remove for the scroll from menu */
}

.ui-widget {
  font-family: "Museo Sans";
}

.ui-widget.ui-widget-content {
  border: inherit;
}

.page-wrapper > .breadcrumbs {
  /* margin-bottom: 0; fait bugger la fiche produit */
}

.columns {
  display: block;
}
.columns .column.main {
  padding-bottom: 0rem;
}

.clearfix {
  *zoom: 1;
}

.clearfix:before,
.clearfix:after {
  line-height: 0;
  content: "";
  display: block;
  height: 0;
}

.clearfix:after {
  clear: both;
}

/** popin */
.modal-popup.modal-slide._inner-scroll .modal-inner-wrap {
  /* max-height: inherit; fait bugger la popin d ajout au panier */
}

/*******************************************/
@media only screen and (max-width: 767px) {
  .ui-dialog {
    position: absolute;
    width: 100%;
    left: 0;
  }
  .ui-dialog .ui-dialog-content {
    position: absolute;
    border: none;
    padding: 0;
  }

  .header .block-customer-login-content {
    border: 0.1rem solid #e7e7e7;
    padding: 2rem;
  }

  .breadcrumbs + .page-main {
    padding-top: 0;
  }

  /** popin */
  .modal-popup.modal-slide._inner-scroll .modal-inner-wrap {
    height: auto;
  }
}
/* red */
/* green */
/* button */
/* body font color */
/* field required */
/* grey */
/* cta pink */
/* cta white */
/* light blue */
/* grey */
.d-none {
  display: none;
}

@keyframes shake {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  40% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  80% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(10deg);
  }
}
@keyframes fadeOutLeft {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}
@keyframes fadeOutRight {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}
/* Variables */
/* Animation */
@keyframes ssc-loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
/* Animation partial */
.ssc-square, .ssc-head-line, .ssc-line, .ssc-circle {
  position: relative;
  overflow: hidden;
}
.ssc-square:after, .ssc-head-line:after, .ssc-line:after, .ssc-circle:after {
  content: "";
  animation: ssc-loading 1.3s infinite;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(-100%);
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/** Main class */
.ssc {
  cursor: progress;
  user-select: none;
}

/** Helpers classes */
.ssc .mb {
  margin-bottom: 16px;
}
.ssc .mt {
  margin-top: 16px;
}
.ssc .mr {
  margin-right: 16px;
}
.ssc .ml {
  margin-left: 16px;
}
.ssc .mbs {
  margin-bottom: 8px;
}
.ssc .mts {
  margin-top: 8px;
}
.ssc .mrs {
  margin-right: 8px;
}
.ssc .mls {
  margin-left: 8px;
}
.ssc .w-10 {
  width: 10%;
}
.ssc .w-20 {
  width: 20%;
}
.ssc .w-30 {
  width: 30%;
}
.ssc .w-40 {
  width: 40%;
}
.ssc .w-50 {
  width: 50%;
}
.ssc .w-60 {
  width: 60%;
}
.ssc .w-70 {
  width: 70%;
}
.ssc .w-80 {
  width: 80%;
}
.ssc .w-90 {
  width: 90%;
}
.ssc .w-100 {
  width: 100%;
}
.ssc .flex {
  display: flex;
}
.ssc .inline-flex {
  display: inline-flex;
}
.ssc .align-center {
  align-items: center;
}
.ssc .align-start {
  align-items: flex-start;
}
.ssc .align-end {
  align-items: flex-end;
}
.ssc .align-stretch {
  align-items: stretch;
}
.ssc .justify-start {
  justify-content: start;
}
.ssc .justify-end {
  justify-content: end;
}
.ssc .justify-between {
  justify-content: space-between;
}
.ssc .justify-center {
  justify-content: center;
}
.ssc .justify-around {
  justify-content: space-around;
}

/** Wrapper class */
.ssc-wrapper {
  padding: 16px;
}

/* Figures, Objects */
.ssc-card {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.17);
  background-color: #ffffff;
}

.ssc-circle {
  display: block;
  background-color: rgba(0, 0, 0, 0.17);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.ssc-hr {
  display: block;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.17);
  height: 2px;
}

.ssc-line {
  display: block;
  background-color: rgba(0, 0, 0, 0.17);
  border-radius: 15px;
  margin-bottom: 8px;
  width: 100%;
  height: 12px;
}
.ssc-line:last-child {
  margin-bottom: unset;
}

.ssc-head-line {
  display: block;
  background-color: rgba(0, 0, 0, 0.17);
  border-radius: 15px;
  width: 100%;
  height: 24px;
}

.ssc-square {
  display: block;
  background-color: rgba(0, 0, 0, 0.17);
  width: 100%;
  height: 150px;
}

.rating[data-rating="5.5"] .rating__item:nth-child(-n+5)::after, .rating[data-rating="5"] .rating__item:nth-child(-n+5)::after, .rating[data-rating="4.5"] .rating__item:nth-child(-n+4)::after, .rating[data-rating="4"] .rating__item:nth-child(-n+4)::after, .rating[data-rating="3.5"] .rating__item:nth-child(-n+3)::after, .rating[data-rating="3"] .rating__item:nth-child(-n+3)::after, .rating[data-rating="2.5"] .rating__item:nth-child(-n+2)::after, .rating[data-rating="2"] .rating__item:nth-child(-n+2)::after, .rating[data-rating="1.5"] .rating__item:nth-child(-n+1)::after, .rating[data-rating="1"] .rating__item:nth-child(-n+1)::after, .rating[data-rating="0.5"] .rating__item:nth-child(-n+0)::after, .rating[data-rating="0"] .rating__item:nth-child(-n+0)::after {
  content: " ";
  background-position: 0px 0;
}

.rating[data-rating="5.5"] .rating__item:nth-child(6)::after, .rating[data-rating="4.5"] .rating__item:nth-child(5)::after, .rating[data-rating="3.5"] .rating__item:nth-child(4)::after, .rating[data-rating="2.5"] .rating__item:nth-child(3)::after, .rating[data-rating="1.5"] .rating__item:nth-child(2)::after, .rating[data-rating="0.5"] .rating__item:nth-child(1)::after {
  background-position: -46px 0;
  content: " ";
}

.rating {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #900;
}
.rating__item {
  display: block;
}
.rating__item::after {
  background-repeat: no-repeat;
  background-position: -25px 0;
  content: " ";
  display: block;
  width: 2.3rem;
  height: 2rem;
  background-size: cover;
}
.rating-square {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  width: 8rem;
  height: 2.5rem;
}

.end {
  display: block;
  width: 100%;
  max-height: 10rem;
}

.cta {
  background-color: #E40413;
  border: 3px solid #E40413;
  border-radius: 40px;
  color: #FFFFFF !important;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  min-width: 10rem;
  padding: 12px 35px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
}

.cta:hover, .cta.on {
  background-color: #C0000D;
  border-color: #C0000D;
  color: #FFFFFF !important;
}

.cta {
  padding: 8px 35px;
}
.cta.disabled {
  background: #606060;
  border-color: #606060;
  color: #FFFFFF !important;
  opacity: 0.3;
  visibility: hidden;
}
.cta.see-more {
  border-color: #787676;
  background: #787676;
  color: #FFFFFF !important;
  box-shadow: none;
}
.cta.see-more:hover {
  background: #FFFFFF;
  color: #787676 !important;
}

.fix-to-scroll {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  text-align: center;
}

.main-image {
  text-align: center;
}
.main-image .content {
  border: 1px solid #FFFFFF;
  background: #FFFFFF;
  box-shadow: 0px 0px 20px #D0D0D0;
}
.main-image .content .frame {
  position: relative;
  margin: 15%;
  background: #FFFFFF;
}
.main-image .content .frame .product-img {
  max-height: 21rem;
}
.main-image .content .frame .heart {
  display: none;
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 2.2rem;
  height: 2.5rem;
  background: transparent url("../img/heart-sm.png") no-repeat 0 0;
  background-size: cover;
}

.comparator-product-view .cms-loader {
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparator-product-view .cms-loader .content {
  text-align: center;
}
.comparator-product-view .title {
  text-align: center;
  margin: 0 auto 2rem;
}
.comparator-product-view .title .content {
  z-index: 2;
  position: relative;
  display: inline-block;
  margin: 2rem auto;
  /*
  @include quote-left($baseUrl + "/quote/pic-quote-black-2.png", 3.5rem, 3.5rem, 0, 0);
  @include quote-right($baseUrl + "/quote/pic-quote-black-2.png", 4.5rem, 3.5rem, -35px, 0);
   */
}
.comparator-product-view .title .content::before {
  top: -2rem;
  left: -3rem;
}
.comparator-product-view .title .content::after {
  bottom: -2rem;
  right: -4rem;
}
.comparator-product-view .table {
  display: block;
  box-shadow: 0 18px 15px #c4c4c4;
}
.comparator-product-view .table .same-attribute {
  margin: 6rem 6rem 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 20rem;
  line-height: 1.1;
  color: #777777;
}
.comparator-product-view .table .same-attribute .checkbox-block .label {
  margin: 0 0 0.8rem 0;
}
.comparator-product-view .table .same-attribute .checkbox-block .input-same-attribute:checked + .checkbox::after {
  display: block;
}
.comparator-product-view .table .same-attribute .checkbox-block .checkbox {
  position: relative;
  background: transparent;
}
.comparator-product-view .table .same-attribute .checkbox-block .checkbox img {
  max-width: 5.5rem;
}
.comparator-product-view .table .same-attribute .checkbox-block .checkbox::after {
  display: none;
  content: " ";
  position: absolute;
  top: 0;
  bottom: 2rem;
  right: 0;
  left: 0.5rem;
  transform: rotate(45deg);
  height: 25px;
  width: 12px;
  margin: auto;
  border-bottom: 7px solid #CAD422;
  border-right: 7px solid #CAD422;
}
.comparator-product-view .table .body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.comparator-product-view .table .body .header {
  height: 30rem;
}
.comparator-product-view .table .body .sidebar {
  flex-basis: 30%;
}
.comparator-product-view .table .body .sidebar .attributes .attribute {
  justify-content: end;
}
.comparator-product-view .table .body .cols {
  display: flex;
  flex-basis: 70%;
}
.comparator-product-view .table .body .cols .col {
  flex-basis: 33%;
  margin: 0;
}
.comparator-product-view .table .body .cols .col.x2 {
  flex-basis: 50%;
}
.comparator-product-view .table .body .cols .col.x2:last-child {
  flex-basis: 49%;
}
.comparator-product-view .table .body .cols .col:last-child {
  flex-basis: 34%;
}
.comparator-product-view .table .body .cols .col .content {
  position: relative;
}
.comparator-product-view .table .body .cols .col .content .over {
  background: #FFFFFF;
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  max-width: 22rem;
  height: 100%;
  z-index: 1;
  margin: auto;
  box-shadow: 0px 0px 20px #D0D0D0;
}
.comparator-product-view .table .body .cols .col .content:hover .over {
  display: block;
}
.comparator-product-view .table .body .cols .col .content:hover .main-image .content {
  box-shadow: none;
}
.comparator-product-view .table .body .cols .col .content:hover .main-image .content .frame .heart {
  background-position: -25px 0px;
}
.comparator-product-view .table .body .actions {
  position: relative;
  z-index: 2;
  height: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.comparator-product-view .table .body .actions.disabled {
  display: none;
}
.comparator-product-view .table .body .attribute.header, .comparator-product-view .table .body .col {
  background: transparent url("../img/comparator-bg-top.png") repeat-x 0 -40px;
}
.comparator-product-view .table .attribute, .comparator-product-view .table .data {
  border-bottom: 1px solid #3D3D3D;
  height: 3.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparator-product-view .table .attribute span, .comparator-product-view .table .data span {
  color: #777777;
}
.comparator-product-view .table .data {
  position: relative;
  z-index: 2;
  color: #777777;
}
.comparator-product-view .table .data.boolean .check, .comparator-product-view .table .data.boolean .cross {
  width: 2.5rem;
  height: 2.5rem;
  background: transparent url("https://imagine.bayard.io/unsafe/bayard-static/e-bayard-jeunesse.com/2022/landing-page/comparator-product-view/img/cross.png") no-repeat center center;
  background-size: contain;
}
.comparator-product-view .table .data.boolean .check {
  background-image: url("https://imagine.bayard.io/unsafe/bayard-static/e-bayard-jeunesse.com/2022/landing-page/comparator-product-view/img/check.png");
}
.comparator-product-view .table .data.image img {
  width: 3rem;
  margin: 0 0.2rem;
}
.comparator-product-view .table .rating__item::after {
  background-image: url("../img/stars-00.png");
}
.comparator-product-view .table .rating-square {
  background-image: url("../img/rating-square-00.png");
}
.comparator-product-view .table .rating-square[data-rating="0"] {
  background-image: url("../img/rating-square-00.png");
}
.comparator-product-view .table .rating-square[data-rating="1"] {
  background-image: url("../img/rating-square-01.png");
}
.comparator-product-view .table .rating-square[data-rating="2"] {
  background-image: url("../img/rating-square-02.png");
}
.comparator-product-view .table .rating-square[data-rating="3"] {
  background-image: url("../img/rating-square-03.png");
}
.comparator-product-view .table .body-mobile {
  display: none;
}
.comparator-product-view .table .see-more-hidden {
  display: none;
}
.comparator-product-view .table .tfooter {
  text-align: center;
  padding: 1.5rem 0 1.5rem;
}

/*******************************************/
@media only screen and (max-width: 992px) {
  .cta {
    padding: 8px 10px;
    font-size: 1.2rem;
    min-width: auto;
  }

  .main-image .content .frame {
    margin: 0.8rem;
  }
  .main-image .content .frame .product-img {
    max-height: 30vw;
    max-width: 100%;
  }

  .pictures {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
  }

  .comparator-product-view .table {
    box-shadow: none;
  }
  .comparator-product-view .table .body {
    display: none;
  }
  .comparator-product-view .table .body-mobile {
    display: block;
  }
  .comparator-product-view .table .body-mobile .header {
    margin: 0 auto 2rem;
    flex-basis: 32%;
  }
  .comparator-product-view .table .same-attribute {
    margin: auto;
  }
  .comparator-product-view .table .attribute {
    height: auto;
    flex-direction: column;
    padding: 2rem 0rem;
  }
  .comparator-product-view .table .attribute.x-2 .data {
    flex-basis: 50%;
  }
  .comparator-product-view .table .attribute .name {
    margin: 0 auto 1rem;
    text-align: center;
  }
  .comparator-product-view .table .data {
    flex-basis: 33%;
    height: 5rem;
    border-right: 1px solid #3D3D3D;
    border-bottom: none;
    text-align: center;
  }
  .comparator-product-view .table .data:last-child {
    border-right: none;
  }
  .comparator-product-view .table .data.main-image {
    height: auto;
    border: none;
  }
  .comparator-product-view .table .wrapper-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .comparator-product-view .table .tr {
    width: 96%;
    margin: 0 auto;
    box-shadow: 0px 0px 20px #D0D0D0;
  }
}
/*******************************************/
@media only screen and (max-width: 768px) {
  .comparator-product-view .table .tr {
    width: 100%;
  }
}
/*******************************************/
@media only screen and (max-width: 576px) {
  .cta {
    padding: 8px 5px;
    font-size: 1.1rem;
  }
}
