/* 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 */
/* title red */
.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-only {
  display: block !important;
}

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

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

.p-absolute {
  position: absolute;
}

.p-relative {
  position: relative;
}

/*******************************************/
@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-only,
.mobile-flex {
    display: none !important;
  }

  .desktop-only {
    display: block !important;
  }

  .desktop-flex {
    display: flex !important;
  }
}
section.block-top .wrapper .section-content {
  width: 100%;
  padding: 0 0 1rem;
}

.block-top {
  overflow: hidden;
}
.block-top .banner-top {
  padding: 2rem;
}
.block-top .banner-top .banner-bottom {
  padding: 0 1rem;
}
.block-top .figure .image {
  width: 75%;
}
.block-top .picture .copyright-image {
  position: absolute;
  left: 0rem;
  bottom: 4rem;
  font-size: 1.2rem;
}
.block-top .star {
  position: absolute;
  width: 10rem;
}
.block-top .star.mobile-only {
  left: -4rem;
  top: 5rem;
}
.block-top .star.desktop-only {
  right: 3rem;
  bottom: 3rem;
}
.block-top .actions {
  margin: 0 auto 1rem;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  section.block-top .wrapper .section-content {
    width: 100%;
    padding: 0;
  }

  .block-top .banner-top {
    display: flex;
    align-items: center;
    padding: 2rem;
  }
  .block-top .banner-top .col.image {
    flex-basis: 30%;
    margin: 0 auto 0 3rem;
  }
  .block-top .banner-top .col.block-description {
    flex-basis: 70%;
    text-align: left;
    margin: 0 13% 0 3rem;
  }
  .block-top .banner-bottom .block-description .text-left {
    text-align: center;
  }
  .block-top .banner-bottom .block-description .text {
    flex-basis: 83%;
  }
  .block-top .figure .image {
    width: auto;
  }
  .block-top .picture .copyright-image {
    bottom: -0.8rem;
  }
  .block-top .picture .copyright-image .rotate-neg-90 {
    transform: inherit;
  }
  .block-top .star {
    width: auto;
  }
  .block-top .actions {
    margin: 0 auto 3rem;
  }
}
.for-good-customer .items .item {
  margin: 0 auto 3.2rem;
}
.for-good-customer .decor-bottom {
  width: 100%;
  height: 58vw;
  max-width: 38rem;
}
.for-good-customer .decor-bottom .img {
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
}
.for-good-customer .product-logo img {
  max-width: 20rem;
  width: 100%;
}
.for-good-customer .product-picture img {
  max-width: 29rem;
  width: 100%;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  .for-good-customer .decor-bottom {
    max-width: inherit;
    height: auto;
  }
  .for-good-customer .decor-bottom .img {
    top: -5rem;
  }
  .for-good-customer .block-description.big {
    font-size: 1.9rem;
    text-align: left;
  }
  .for-good-customer .block-description.big .small {
    font-size: 1.7rem;
  }
  .for-good-customer .block-description .text-left {
    text-align: center;
  }
  .for-good-customer .block-title {
    display: block;
    margin: 0 auto 1.6rem;
    text-align: left;
  }
  .for-good-customer .block-box .col {
    flex-basis: 60%;
    text-align: left;
  }
  .for-good-customer .block-box .picture {
    flex-basis: 40%;
  }
  .for-good-customer .block-box .row-top {
    display: flex;
    justify-content: space-around;
    align-items: start;
  }
  .for-good-customer .block-box .row-bottom {
    margin: 3rem auto 0;
  }
  .for-good-customer .block-box .items {
    display: flex;
    justify-content: space-around;
    align-items: start;
  }
  .for-good-customer .block-box .items .item {
    flex-basis: 40%;
    margin: 0 auto 0.8rem;
  }
  .for-good-customer .block-box .items .item:first-child:after {
    display: block;
    content: "ou";
    position: absolute;
    top: 45%;
    right: -13%;
    font-size: 2.5rem;
  }
  .for-good-customer .block-box .product-baseline {
    font-size: 1.3rem;
    display: inline-block;
    width: 18rem;
    line-height: 1;
  }
  .for-good-customer .block-box .product-picture {
    display: block;
    margin: 0 auto 2rem;
  }
  .for-good-customer .block-box .product-desc {
    margin: 0 auto 3rem;
  }
}
.lmda .logo-lmda {
  max-width: 29rem;
}
.lmda a:hover.action.primary {
  background: white;
  color: #E37135;
}
.lmda a.action.primary {
  background: #E37135;
  border: 0.2rem solid #E37135;
  color: white;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  .lmda .box-sub {
    width: 83%;
    margin: 0 auto;
  }
}
.advantage .block-description {
  margin: 0 auto 3rem;
}
.advantage .block-box .picture .img {
  max-width: 20rem;
  width: auto;
}
.advantage .actions {
  margin: 3rem auto 0;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  .advantage .block-description.top {
    width: 83%;
  }
  .advantage .block-description.top .text {
    text-align: center;
  }
  .advantage .block-box .picture.bottom, .advantage .block-box .picture.middle {
    position: absolute;
    right: 5rem;
    max-width: 25rem;
  }
  .advantage .block-box .picture.bottom {
    bottom: -5rem;
  }
  .advantage .block-box .picture .img {
    max-width: 100%;
  }
  .advantage .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .advantage .row .block-title {
    display: block;
  }
  .advantage .row .text {
    flex-basis: 70%;
  }
  .advantage .row .picture {
    flex-basis: 25%;
  }
  .advantage .actions {
    margin: 0 auto 0;
  }
}
.magazine .products {
  padding: 2rem 1rem;
}
.magazine .products .items {
  margin: 0 auto;
  padding: 0;
}
.magazine .products .items .item {
  flex-basis: 48%;
}
.magazine .actions {
  clear: both;
}

/*******************************************/
@media only screen and (min-width: 576px) {
  .magazine .products .items .item {
    flex-basis: 32%;
  }
}
/*******************************************/
@media only screen and (min-width: 768px) {
  .magazine .bg-B:after, .magazine .bg-B:before {
    display: block;
    content: " ";
    max-height: 25.4rem;
    height: 17vw;
    float: left;
  }
  .magazine .bg-B:before {
    background: transparent url("../img/bg-B-start.png") no-repeat center right;
    background-size: contain;
    width: 5rem;
  }
  .magazine .bg-B:after {
    background: transparent url("../img/bg-B-end.png") no-repeat center left;
    background-size: contain;
    width: 10.5rem;
  }
  .magazine .bg-B .content {
    background: transparent url("../img/bg-B-mid.png") repeat-x center left;
    background-size: contain;
    width: calc(100% - 17rem);
    float: left;
  }
  .magazine .products {
    max-height: 25.4rem;
    height: 17vw;
    padding: 0 0 0 1rem;
    border-radius: 0 !important;
  }
  .magazine .products-wrapper {
    height: 98%;
  }
  .magazine .products .items {
    position: absolute;
    flex-wrap: nowrap;
    align-items: end;
    justify-content: space-between;
  }
  .magazine .products .items .item {
    flex-basis: inherit;
    bottom: -3.5rem;
  }
  .magazine .products .items .item:hover {
    transform: translateY(-2rem);
  }
  .magazine .actions {
    margin: 3rem auto 0;
  }
}
/*******************************************/
@media only screen and (min-width: 768px) {
  .newsletter .box-sub {
    width: 83%;
    margin: 0 auto;
  }
  .newsletter .box-sub .text-left {
    text-align: center;
  }
}
.code-promo .box-main {
  padding: 0;
}
.code-promo .box-sub {
  padding: 0;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  .code-promo .box-sub {
    padding: 2rem;
  }
  .code-promo .row {
    display: flex;
    justify-content: space-between;
  }
  .code-promo .row .block-description {
    flex-basis: 70%;
  }
  .code-promo .row .picture {
    flex-basis: 25%;
  }
}
.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.underline-primary {
  text-decoration: underline;
  text-decoration-color: #FFEC00;
  text-decoration-thickness: 0.3rem;
}

a.underline-primary {
  text-decoration: underline;
  text-decoration-color: #FFEC00;
  text-decoration-thickness: 0.3rem;
}

.overflow-hidden {
  overflow: hidden;
}

.line-through {
  text-decoration: line-through;
}

.text-left {
  text-align: left;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.rotate-neg-90 {
  display: inline-block;
  transform: rotate(-90deg);
}

.rounded {
  border-radius: 25px !important;
}
.rounded-bottom {
  border-radius: 0 0 25px 25px !important;
}

.bg-color-primary {
  background: #FFEC00;
}

.bg-color-secondary {
  background: #F3F3F3;
}

.bg-color-ternary {
  background: #B3A5EB;
}

.bg-color-white {
  background: #FFFFFF;
}

.font-color-primary {
  color: #FFEC00;
}
.font-color-secondary {
  color: #FFEC00;
}
.font-color-ternary {
  color: #8719FF;
}

.border-ternary {
  border: 2px solid #B3A5EB;
}

.picture {
  display: inline-block;
}

/*******************************************/
.avantage-promo {
  text-align: center;
  line-height: 1.2;
  font-size: 1.4rem;
}
.avantage-promo .breadcrumbs {
  margin: 0;
}
.avantage-promo ul {
  padding: 0 0 0 3rem;
}
.avantage-promo ul li {
  margin: 0 0 0 0.5rem;
}
.avantage-promo li::marker {
  color: #FFEC00;
}
.avantage-promo .title-main {
  margin: 0 auto 1.6rem;
  width: 75%;
  text-align: center;
}
.avantage-promo .h1 {
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.2;
}
.avantage-promo .h1-big {
  font-size: 2.6rem;
  font-weight: 500;
}
.avantage-promo .big {
  font-size: 2rem;
}
.avantage-promo .h2 {
  font-size: 2.3rem;
  font-weight: 600;
}
.avantage-promo .surlined {
  background: transparent url("../img/box-surline.png") no-repeat 2px 5px;
  padding: 0 1rem 3rem;
  background-size: contain;
}
.avantage-promo .text-margin {
  margin: 0 auto 2rem;
}
.avantage-promo .text {
  flex-basis: 75%;
}
.avantage-promo .float-character {
  flex-basis: 25%;
}
.avantage-promo .picture.left {
  margin: 0 1rem 0 0;
}
.avantage-promo .picture.right {
  margin: 0 0 0 1rem;
}
.avantage-promo .title .m-right {
  margin: 0 1rem 0 0;
}
.avantage-promo .title .m-left {
  margin: 0 0 0 1rem;
}
.avantage-promo .block-title {
  margin: 0 auto 2rem;
}
.avantage-promo .block-box {
  padding: 1rem 2rem;
}
.avantage-promo .block-main {
  padding: 2rem 1rem;
}

/*******************************************/
@media only screen and (min-width: 768px) {
  .breadcrumbs {
    margin: 0 auto 1px;
  }

  section .wrapper .section-content .title {
    margin: 0 auto 4rem;
  }

  .avantage-promo {
    font-size: 1.6rem;
  }
  .avantage-promo ul {
    margin: 0 0 1rem;
  }
  .avantage-promo .big {
    font-size: 2.5rem;
  }
  .avantage-promo .title-main {
    margin: 0 0 1.6rem;
    width: auto;
    text-align: left;
  }
  .avantage-promo .block-title {
    display: inline-block;
  }
  .avantage-promo .block-title .m-right {
    margin: 0 2rem 0 0;
  }
  .avantage-promo .block-title .m-left {
    margin: 0 0 0 2rem;
  }
  .avantage-promo .block-title .with-img {
    display: flex;
  }
  .avantage-promo .block-title .img {
    max-height: 8.5rem;
    max-width: 8.5rem;
  }
  .avantage-promo .h1 {
    font-size: 2.7rem;
  }
  .avantage-promo .h1-big {
    font-size: 3.2rem;
  }
  .avantage-promo .block-main {
    padding: 5rem 7.5rem 5rem;
  }
  .avantage-promo .block-box {
    padding: 3rem 4rem;
  }
  .avantage-promo .box-main {
    padding: 2rem;
  }
  .avantage-promo .box-sub {
    padding: 2rem 0;
  }
}
