/* common */
.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: Lato;
}

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

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

/** 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;
  }
}
/* yellow */
/* ivory */
/* button */
/* body font color */
/* field required */
/* grey */
/* cta pink */
/* cta white */
/* light blue */
/* orange */
/* title red */
/* title purple */
.d-none {
  display: none !important;
}

section {
  margin: 0 auto;
}
section .wrapper {
  margin: 0 auto;
}
section .wrapper .section-content {
  width: 95%;
  margin: 0 auto;
  padding: 2rem 0rem;
}
section .wrapper .section-content .title {
  margin: 0 auto 2.4rem;
  padding: 0 0rem;
}
section .wrapper .section-content .description {
  margin: 0 auto 3.4rem;
  padding: 0 1rem;
}

.mobile {
  display: block !important;
}

.mobile-flex {
  display: flex !important;
}

.desktop,
.desktop-flex {
  display: none !important;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  section {
    max-width: 128rem;
  }
  section.full-width {
    max-width: inherit;
  }
  section .wrapper {
    max-width: 128rem;
  }
  section .wrapper .section-content {
    padding: 3rem 0rem 3rem;
  }
  section .wrapper .section-content .description {
    padding: 0 0rem;
  }

  .mobile,
.mobile-flex {
    display: none !important;
  }

  .desktop {
    display: block !important;
  }

  .desktop-flex {
    display: flex !important;
  }
}
.the-apps {
  background: #FFFFD5;
  padding: 2rem 0;
}
.the-apps .apps-title-wrapper, .the-apps .apps-items {
  margin: 0 auto;
  max-width: 99rem;
  padding: 0 0.8rem;
}
.the-apps .apps-items .item {
  margin: 0 auto 4rem;
}
.the-apps .apps-items .item:last-child {
  margin: 0 auto 2rem;
}
.the-apps .apps-items .item-logo .picture-logo {
  display: block;
}
.the-apps .apps-items .item-logo .picture-logo img {
  width: 100%;
  max-width: 17rem;
}
.the-apps .apps-items .item-picture {
  position: relative;
  margin: 0 auto 1rem;
}
.the-apps .apps-items .item-picture picture {
  display: block;
}
.the-apps .apps-items .item-picture picture:hover {
  cursor: pointer;
}
.the-apps .apps-items .item-picture picture img {
  width: 100%;
  max-width: 55rem;
}
.the-apps .apps-items .item-picture .age-range {
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3rem;
}
.the-apps .apps-items .item-title {
  margin: 0 auto 1.6rem;
}
.the-apps .apps-items .item-description {
  margin: 0 auto 2rem;
}
.the-apps .apps-items .item-actions {
  margin: 0 auto 1rem;
}

/*******************************************/
@media only screen and (min-width: 810px) {
  .the-apps .apps-items .item {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .the-apps .apps-items .item-logo {
    display: flex;
    align-items: end;
    margin: 0 auto 1.6rem;
  }
  .the-apps .apps-items .item.odd {
    border: 0px solid blue;
  }
  .the-apps .apps-items .item.even {
    border: 0px solid red;
  }
  .the-apps .apps-items .item.even .col-picture {
    order: 2;
  }
  .the-apps .apps-items .item.even .col-content {
    order: 1;
  }
  .the-apps .apps-items .item.even .item-logo {
    justify-content: end;
  }
  .the-apps .apps-items .item.even .item-logo .age-range {
    order: 1;
  }
  .the-apps .apps-items .item.even .item-logo .picture-logo {
    order: 2;
  }
  .the-apps .apps-items .item.even .item-title,
.the-apps .apps-items .item.even .item-description {
    text-align: right;
  }
  .the-apps .apps-items .item .col-picture {
    flex-basis: 45%;
  }
  .the-apps .apps-items .item .col-content {
    flex-basis: 45%;
  }
}
.the-apps-desc {
  background: #FFFFFF;
}
.the-apps-desc .the-apps-desc-wrapper {
  padding: 0 0.8rem;
}
.the-apps-desc .apps-desc-content-wrapper {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto 4rem;
  text-align: left;
}
.the-apps-desc .apps-desc-faq-wrapper {
  width: 100%;
  max-width: 70rem;
  margin: 0 auto 4rem;
  text-align: left;
}
.the-apps-desc .label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #C3C3C3;
  padding: 0 0 1rem;
  margin: 0 auto 2.5rem;
}
.the-apps-desc .label:hover {
  cursor: pointer;
}
.the-apps-desc .label .question {
  margin: 0 0;
  flex-basis: calc(100% - 4rem);
  font-size: 1.7rem;
  font-weight: 600;
}
.the-apps-desc .label .chevron {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  background: transparent url("../img/chevron.png") no-repeat center center;
}
.the-apps-desc .answer {
  display: none;
  padding: 0 0 1.6rem;
}
.the-apps-desc .faq-input {
  display: none;
}
.the-apps-desc .faq-input:checked + .label .chevron {
  transform: rotate(180deg);
}
.the-apps-desc .faq-input:checked + .label + .answer {
  display: block;
}

.picto-digital-app::before {
  background: transparent url("../img/picto_app_numeriques.png") no-repeat 0 0;
  background-size: contain;
}

.page-wrapper > .breadcrumbs {
  margin-bottom: 0;
}

.category-cms {
  display: block;
}

.column.main {
  min-height: inherit;
}

.digital-activities {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.2;
}
.digital-activities .cta {
  background-color: #FFEC00;
  border: 3px solid #FFEC00;
  border-radius: 40px;
  color: #0F0F11 !important;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 15px;
  min-width: 160px;
  padding: 12px 35px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: none;
}
.digital-activities .cta:hover, .digital-activities .cta.on {
  background-color: #ffdf3d;
  border-color: #ffdf3d;
  color: #0F0F11 !important;
}
.digital-activities .mainly {
  color: #E63255;
}
.digital-activities .h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0 auto 2.4rem;
  padding: 0;
}
.digital-activities .h1 .mainly {
  font-size: 3.2rem;
}
.digital-activities .h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 auto 0.8rem;
}
.digital-activities .h3 {
  font-size: 2.2rem;
  font-weight: 600;
  margin: 2rem auto 3rem;
}
.digital-activities .age {
  padding: 0.6rem 1.3rem 0.7rem;
}
.digital-activities .age.bg-1-2 {
  background: #F36201;
}
.digital-activities .age.bg-3-5 {
  background: #F36201;
}
.digital-activities .age.bg-6-8 {
  background: #FF6464;
}
.digital-activities .age.bg-9-10 {
  background: #FF6464;
}
.digital-activities .age.bg-11-14 {
  background: #8DDF34;
}
.digital-activities .age.bg-15-20 {
  background: #8DDF34;
}
