@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd Book.otf') format('otf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd Light.otf') format('otf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd-Black.otf') format('otf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd-Heavy.otf') format('otf');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd-Medium.otf') format('otf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'gt_walsheimmedium';
  src: url('../fonts/GT-Walsheim-Medium.otf') format('otf'),
  url('../fonts/gt-walsheim-medium-webfont.woff2') format('woff2'),
  url('../fonts/gt-walsheim-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'gt_walsheimbold';
  src: url('../fonts/GT-Walsheim-Bold.otf') format('otf'),
  url('../fonts/gt-walsheim-bold-webfont.woff2') format('woff2'),
  url('../fonts/gt-walsheim-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir LT Std';
  src: url('../fonts/AvenirLTStd-Roman.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Minion Pro';
  src: url('../fonts/MinionPro-Regular.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'myriad';
  src: url('https://mdp.docker.devhost/profiles/mdp_profile/modules/custom/mdp_oney/assets/fonts/MyriadPro-Regular.otf') format('otf');
  font-weight: normal;
  font-style: normal;
}

.oney-logotype {
  color: #fff;
  background: #55585C;
  padding-top: 8px;
  height: 32px;
  width: 32px;
  border-radius: 100%;
  box-sizing: border-box;
  display: inline-block;
  /*border: 2px solid #55585C;*/
  line-height: 1;
  text-align: center;
}
.oney-logotype-empty {
  display: inline-block;
  vertical-align: bottom;
  width: 35px;
  height: 35px;
  box-sizing: border-box;
  border-radius: 100%;
  border: 5px solid #55585C;
  margin-left: 5px;
}

.payment-method .oney-payment-link {
  display: none;
}

/* product node page */
#product-presentation-desc .product-btn {
  position: relative;
}

#product-presentation-desc .product-btn button#edit-submit {
  width: 48%;
  float: left;
}

#product-presentation-desc .product-btn .oney-product_popin_button {
  width: 48%;
  font-size: 20px;
  text-align: center;
  float: right;
  height: 47px;
}

#product-presentation-desc .product-btn .oney-product_popin_button a {
  display: block;
  text-decoration: none;
  padding-top: 6px;
}

#product-presentation-desc .product-btn .oney-product_popin_button img {
  margin-top: 4px;
  height: 24px;
}

/* Product node popin */

.oney-product_popin {
  max-width: 100%;
  cursor: pointer;
}

/* Product node :hover*/

#oney-rollover {
  position: absolute;
  background: #fff;
  z-index: 2;
  width: 350px;
  left: -32%;
  top: 23px; /*half the height of the container, approximatively*/
  transform: translateY(-50%);
  text-align: justify;
  color: #57595d;
  border: 2px solid #57595d;
  display: none;
}

#oney-rollover::after{
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 30px solid #57595d;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
}

aside#oney-rollover {
  color: #55585c;
  padding: 10px;
}

#oney-rollover .rollover-body {
  padding: 16px 0 5px;
}

#oney-rollover .oney-sous-titre {
  line-height: 1.2;
}

#oney-rollover .rollover-body .oney-logotype {
  color: white;
  background: #55585c;
  font-size: 20px;
  width: 35px;
  height: 35px;
}

#oney-rollover .rollover-body .rollover-content {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.2;
}

/*FIXME : don't use "div" as a selector (nor "p")*/
#oney-rollover .rollover-body .rollover-content div {
  width: 16%;
}

#oney-rollover .rollover-body .rollover-content > p {
  max-width: 82%;
}

#oney-rollover .rollover-body span.intersitiel {
  display: block;
  text-align: center;
  font-size: 1.8rem;
  position: relative;
  margin-bottom: 10px;
}

#oney-rollover footer {
  text-align: justify;
  padding: 5px;
  padding-bottom: 0;
}

#oney-rollover a,
#oney-rollover footer {
  color: #7d7d7c;
  font-size: 11px;
}

/*#oney-rollover .rollover-body span.intersitiel::after {*/
/*content: '';*/
/*position: absolute;*/
/*height: 1px;*/
/*width: 40%;*/
/*background: #fff;*/
/*top:42%;*/
/*right: 57%;*/
/*}*/

#oney-rollover .rollover-body span.intersitiel::before {
  content: '';
  position: absolute;
  display: block;
  height: 1px;
  width: 100%;
  background: #55585c;
  top: 0;
  left: 0;
}
/* Product node image */
.oney-product_popin_button:hover ~ #oney-rollover {
  display: block;
}

/* Cart review page */

.oney-cart-review p {
  padding-bottom: 5px;
  margin-bottom: 0;
}
.oney-cart-review strong  {
  color: #55585C;
}

.oney-cart-review time {
  padding: 0 20px 0 0;
}

.oney-cart-review ul {
  list-style:none;
  padding-left: 0;
}
.oney-cart-review h3 {
  color: #55585C;
  font-weight: normal;
}

/* Cart page */

aside.oney-simulation-cart {
  display: flex;
  width: 370px; /* approximately =  the container right above */
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

aside.oney-simulation-cart p {
  padding: 0;
  margin: 0;
}

aside.oney-simulation-cart p.sub {
  font-size: 13px;
}

aside.oney-simulation-cart strong {
  color: #55585c;
  font-weight: bold !important;
}

aside.oney-simulation-cart .oney-logotype {
  font-weight: bold;
  font-size: 18px;
  width: 35px;
  height: 35px;
  padding-top: 10px;
}

aside.oney-simulation-cart a.oney-help {
  text-decoration: none;
  display: inline-block;
  border: 2px solid #55585c;
  width: 27px;
  height: 27px;
  border-radius: 100%;
  text-align: center;
  vertical-align: super;
}

/* Oney simulation popin */

#oney-simulation-popin strong {
  font-weight: 900;
}

#oney-simulation-popin .modal-dialog {
  color: #55585c;
  width: 90%;
  max-width: 800px;
  z-index: 1050;
  border: 2px solid #8bbd06;
}

#oney-simulation-popin .modal-header {
  padding: 10px;
  color: #8bbd06;
  font-size: 20px;
}

#oney-simulation-popin .modal-header .logo-oney {
  margin-left: 10px;
  margin-top: 5px;
}

#oney-simulation-popin .modal-header span {
  padding-left: 20px;
  font-size: 2rem;
}

#oney-simulation-popin .modal-header strong {
  font-weight: 900;
}

#oney-simulation-popin .modal-body .oney-logotype {
  background: #8bbd06;
  font-weight: 900;
  color: #fff;
  padding-top: 9px;
}

#oney-simulation-popin .modal-body .modal-section {
  text-align: center;
  display: flex;
  justify-content: space-between;
}

#oney-simulation-popin .modal-body .oney-step-description {
  text-align: center;
  border: 2px solid #8bbd06;
  padding: 15px 10px;
  box-sizing: border-box;
  width: 31%;
  border-radius: 20px;
  -webkit-border-radius: 20px;
}

#oney-simulation-popin .modal-body .oney-step-description .oney-titre-description {
  text-transform: uppercase;
  font-size: 18px;
  color: #8bbd06;
}

#oney-simulation-popin .modal-body .payment-step {
  width: 33%;
  position: relative;
  height: 40px;
  margin-bottom: 30px;
}

#oney-simulation-popin .modal-body .modal-section .payment-step:nth-child(2):after,
#oney-simulation-popin .modal-body .modal-section .payment-step:nth-child(2):before {
  content: '';
  height: 2px;
  width: 97%;
  display: block;
  position: absolute;
  top: 50%;
  background-color: #8bbd06;
}

#oney-simulation-popin .modal-body .modal-section .payment-step:nth-child(2):after {
  left: 53%;
}

#oney-simulation-popin .modal-body .modal-section .payment-step:nth-child(2):before {
  left: -50%;
}

#oney-simulation-popin .modal-body .payment-step span {
  position: relative;
  color: white;
  background-color: #8bbd06;
  display: inline-block;
  padding: 1px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

#oney-simulation-popin .modal-body .col-sm-4:nth-of-type(2) {
  position: relative;
}

#oney-simulation-popin .modal-body .col-sm-4:nth-of-type(2) .payment-step::before {
  content: '';
  position: absolute;
  height: 4px;
  width: 252px;
  top: 50%;
  right: 100%;
  background: #fff;
}

#oney-simulation-popin .modal-body .col-sm-4:nth-of-type(2) .payment-step::after {
  content: '';
  position: absolute;
  height: 4px;
  width: 252px;
  top: 50%;
  left: 100%;
  background: #fff;
}

#oney-simulation-popin footer {
  text-align: justify;
}

#oney-simulation-popin a,
#oney-simulation-popin footer {
  color: #7d7d7c;
  font-size: 11px;
}

#checkout-payment-method #oney-3x-zoom-popin.modal .modal-dialog .modal-content,
#checkout-payment-method #oney-4x-zoom-popin.modal .modal-dialog .modal-content {
  padding: 0;
}

#checkout-payment-method #oney-3x-zoom-popin.modal .modal-dialog #oney-simulation-popin .modal-body,
#checkout-payment-method #oney-4x-zoom-popin.modal .modal-dialog #oney-simulation-popin .modal-body {
  padding-top: 20px;
}

#checkout-payment-method #oney-3x-zoom-popin.modal .modal-dialog #oney-simulation-popin .modal-body .modal-section,
#checkout-payment-method #oney-4x-zoom-popin.modal .modal-dialog #oney-simulation-popin .modal-body .modal-section {
  justify-content: space-around;
}

#checkout-payment-method #oney-3x-zoom-popin.modal .modal-dialog .modal-content img.logo-oney,
#checkout-payment-method #oney-4x-zoom-popin.modal .modal-dialog .modal-content img.logo-oney {
  margin: 0;
  margin-top: 8px;
}

#checkout-payment-method #oney-3x-zoom-popin.modal .modal-dialog .modal-content img,
#checkout-payment-method #oney-4x-zoom-popin.modal .modal-dialog .modal-content img {
  margin: 0;
  margin-top: 20px;
}

@media screen and (max-width: 1200px) {
  #product-presentation-desc .product-btn .oney-product_popin_button,
  #product-presentation-desc .product-btn button#edit-submit {
    float: none;
    width: 100%;
  }

  #oney-rollover {
    top: 50px; /*half the height of the container, approximatively*/
    left: -100%;
  }
}

@media screen and (max-width: 1200px) {
  /*Simulation page produit*/
  #product-presentation-desc .product-btn .oney-product_popin_button {
    font-size: 30px;
  }

  #product-presentation-desc .product-btn .oney-product_popin_button img {
    height: 40px;
  }
}

@media screen and (max-width: 992px) {
  .oney-product_popin_button:hover ~ #oney-rollover {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  #oney-simulation-popin div.modal-body span.payment-step {
    display: none;
  }

  /*Simulation page produit*/
  #product-presentation-desc .product-btn .oney-product_popin_button {
    font-size: 28px;
  }

  #product-presentation-desc .product-btn .oney-product_popin_button img {
    height: 28px;
  }
}

@media screen and (max-width: 767px) {

  #oney-simulation-popin .modal-dialog {
    width: auto;
    max-width: 100%;
  }

  #oney-simulation-popin .modal-header {
    text-align: center;
  }

  #oney-simulation-popin .modal-body .payment-step {
    display: none;
  }

  #oney-simulation-popin .modal-body .modal-section {
    flex-direction: column;
    align-items: center;
  }

  #oney-simulation-popin .modal-body .oney-step-description {
    width: 95%;
    max-width: 220px;
    margin-bottom: 20px;
  }

  /*#oney-simulation-popin div.modal-body div.oney-step-description {*/
  /*width: 300px;*/
  /*display: block;*/
  /*margin: 0 auto 20px;*/
  /*}*/

  /*Simulation page produit*/
  #product-presentation-desc .product-btn .oney-product_popin_button {
    font-size: 30px;
  }

  #product-presentation-desc .product-btn .oney-product_popin_button img {
    height: 40px;
  }
}

@media screen and (max-width: 450px) {
  aside.oney-simulation-cart {
    width: auto;
  }

  aside.oney-simulation-cart .oney-logotype-empty {
    display: none;
  }

  aside.oney-simulation-cart .oney-logotype {
    margin-right: 7px;
  }

  /*Simulation page produit*/
  #product-presentation-desc .product-btn .oney-product_popin_button {
    font-size: 28px;
  }

  #product-presentation-desc .product-btn .oney-product_popin_button img {
    height: 28px;
  }
}

