#nin-tools-coupon-user-popup ,
#nin-tools-coupon-fr-popup {
  border: 0;
  display: none;
  background: #094271;
  background: rgba(9, 46, 77, 0.8);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

#nin-tools-coupon-user-popup .content,
#nin-tools-coupon-fr-popup .content {
  margin-top: 100px;
}

.nin-tools-coupon-fr-item {
  cursor: pointer;
}

#nin-tools-coupon-user-popup .content, #nin-tools-coupon-fr-stage-selector-popup .content{
  max-width: 700px;
  padding: 0;
}
#nin-tools-coupon-user-popup .content .popin-title, #nin-tools-coupon-fr-stage-selector-popup .content .popin-title{
  background: #f5953f;
  max-width: 100%;
  padding-right: 30px;
}
#nin-tools-coupon-user-popup .inner, #nin-tools-coupon-fr-stage-selector-popup .inner {
  font-size: 1.6rem;
}
@media (min-width: 501px){
  #nin-tools-coupon-user-popup .inner, #nin-tools-coupon-fr-stage-selector-popup .inner{
    width: 66.02%;
    margin: 0 auto;
  }
}
#nin-tools-coupon-user-popup .inner .text,
#nin-tools-coupon-user-popup .inner .message,
#nin-tools-coupon-fr-stage-selector-popup .inner .text{
  padding: 0 28px;
  margin-top: 35px;
}
#nin-tools-coupon-user-popup .text, #nin-tools-coupon-fr-stage-selector-popup .text{
  color: #999;
}
#nin-tools-coupon-user-popup .message{
  color: #cc3366;
}
#nin-tools-coupon-user-popup .gigya-screen-content label.gg-subtitle{
  display: none!important;
}
#nin-tools-coupon-user-popup .gigya-label{
  margin-bottom: 0;
}
#nin-tools-coupon-user-popup #mbf-edit-profile-coupons form > div:first-child {
  padding-top: 35px;
}
#nin-tools-coupon-user-popup #mbf-edit-profile-coupons form > div:nth-child(2){
  border-bottom: 0;
  margin: 0;
}
#nin-tools-coupon-user-popup .close-fr-popup{
  background: url(../../../../themes/nin/images/button-close.png) no-repeat;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  right: 8px;
  top: 6px;
  text-indent: -9999px;
  cursor: pointer;
}
#nin-tools-coupon-fr-popup .content .popin-head{
  background: #f5953f;
  height: 37px;
}
#nin-tools-coupon-fr-popup .content #coupon-fr-close-btn{
  margin: 0;
  position: absolute;
  right: 7px;
  top: 7px;
  background: url(../../../../themes/nin/images/button-close.png) no-repeat;
  background-size: 16px 16px;
  width: 16px;
  height: 16px;
  display: block;
  padding: 0;
  text-indent: -9999px;
}

/* WEBCOUPONS v2 */

.nin-tools-coupon-fr-item article {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.nin-tools-coupon-fr-item.selected article {

}
.nin-tools-coupon-fr-item article:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  -webkit-box-shadow:inset 0 0 0 4px transparent;
  box-shadow:inset 0 0 0 4px transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  -moz-border-radius-bottomleft: 14px;
  -webkit-border-bottom-left-radius: 14px;
  border-bottom-left-radius: 14px;
  -moz-border-radius-bottomright: 14px;
  -webkit-border-bottom-right-radius: 14px;
  border-bottom-right-radius: 14px;

  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.nin-tools-coupon-fr-item.selected article:before {
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-box-shadow:inset 0 0 0 4px #f5953f;
  box-shadow:inset 0 0 0 4px #f5953f;
}
@media (max-width: 499px){
  .nin-tools-coupon-fr-item.selected article:before {
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
  }
}

/* Single Coupon */

.article-list .flex {
  display: flex;
  margin: 20px 0 100px 0;
}
.article-list .flex > article{
  margin: 0 auto!important;
}

/* Coupons Explanation Block*/

.row.coupons-explanation-block {
  position: relative;
  margin-bottom: 60px;
}
.coupons-explanation-block .utils {
  position: absolute;
  top: 0;
  right: 0;
}
.coupons-explanation-block .info-header {
  margin-bottom: 40px;
}
.coupons-explanation-block .cart {
  background: #FFF;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 10px;
  max-width: 400px;
  margin: 0 auto 40px;
}
.coupons-explanation-block .cart .title {
  font-size: 20px;
  color: #a19999;
  text-align: center;
  padding: 15px 0;
}
.coupons-explanation-block .cart .content {
  padding: 20px 4px;
  background: #fcfcfb;
  border-top: solid 1px #f1f1ed;
  border-bottom: solid 1px #f1f1ed;
  overflow: hidden;
}
.coupons-explanation-block .cart .content > ul{

}
.coupons-explanation-block .cart .content > ul > li {
  width: 25%;
  float: left;
  text-align: center;
}
.coupons-explanation-block .cart .content > ul > li .media {
  margin-bottom: 15px;
  position: relative;
}
.coupons-explanation-block .cart .content > ul > li .media:before {
  content: '';
  display: block;
  width: 15px;
  height: 30px;
  background: url(../img/cart-separator.png) no-repeat center center;
  position: absolute;
  top: 50%;
  right: -7px;

  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.coupons-explanation-block .cart .content > ul > li:last-child .media:before {
  display: none;
}
.coupons-explanation-block .cart .content > ul > li .media img {
  height: 35px;
  width: auto;
}
.coupons-explanation-block .cart .content > ul > li .step-label {
  font-size: 12px;
  line-height: 1.2;
  color: #848484;
  display: block;
  width: 92%;
  margin: 0 auto;
}
.coupons-explanation-block .cart .footer-cart {
  overflow: hidden;
}
.coupons-explanation-block .cart .footer-cart .image{
  width: 35%;
  float: left;
}
.coupons-explanation-block .cart .footer-cart .image .media{
  float: right;
  padding: 10px 20px;
}
.coupons-explanation-block .cart .footer-cart .image .media img{
  height: 35px;
  width: auto;
}
.coupons-explanation-block .cart .footer-cart .text {
  float: left;
  width: 65%;
  line-height: 57px;
  font-size: 12px;
  color: #848484;
}
.coupons-explanation-block .info-footer {
  font-size: 16px;
  color: #848484;
}

/* Tick Image Selected */

.nin-tools-coupon-fr-item.selected article:after {
  content: '';
  display: block;
  background: url("../img/coupon-selected.png") no-repeat center center;
  background-size: 60%;
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 37px;
  height: 37px;
  z-index: 2;
  opacity: 0;
  animation-name: bounceIn;
  animation-duration: 450ms;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
@keyframes bounceIn{
  0%{
    opacity: 0;
    transform: scale(0);
  }
  50%{
    opacity: 0.9;
    transform: scale(1.5);
  }
  80%{
    opacity: 1;
    transform: scale(0.8);
  }
  100%{
    opacity: 1;
    transform: scale(1);
  }
}

/* Print Button */

.pane-nin-tools-coupon-fr-footer-buttons,
.pane-nin-tools-coupon-fr-footer-buttons.hide-footer-buttons,
.pane-nin-tools-coupon-fr-see-more-coupons-button {
  position: fixed!important;
  height: 0;
  bottom: 0;
  width: 100%;
  z-index: 99;
  text-align: center;
  background: #f1f1ed;

  -webkit-transition: height 0.5s ease;
  -moz-transition: height 0.5s ease;
  -ms-transition: height 0.5s ease;
  -o-transition: height 0.5s ease;
  transition: height 0.5s ease;
}
.pane-nin-tools-coupon-fr-footer-buttons.hide-footer-buttons {
  height: 0!important;
  overflow: hidden;
}
.pane-nin-tools-coupon-fr-footer-buttons .pane-bean-fr-coupons-print-button:not(.coupon-fr-single-button),
.pane-nin-tools-coupon-fr-footer-buttons .pane-block-fr-coupons-see-my-basket {
  width: 50%;
  float: left;
}
.pane-nin-tools-coupon-fr-footer-buttons .pane-bean-fr-coupons-print-button:not(.coupon-fr-single-button) {
  text-align: right;
}
.pane-nin-tools-coupon-fr-footer-buttons .pane-block-fr-coupons-see-my-basket {
  text-align: left;
}
.pane-nin-tools-coupon-fr-see-more-coupons-button {
  text-align: center;
  margin: 20px 0 auto;
}
.pane-nin-tools-coupon-fr-footer-buttons.fixed, .pane-nin-tools-coupon-fr-see-more-coupons-button.fixed {
  height: 80px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.pane-nin-tools-coupon-fr-footer-buttons.static-bottom, .pane-nin-tools-coupon-fr-see-more-coupons-button.static-bottom {
  position: static!important;
  height: 80px;
}

.pane-nin-tools-coupon-fr-footer-buttons .field--name-field-print-button-image {
  display: none;
}
.pane-nin-tools-coupon-fr-footer-buttons .button,
.pane-nin-tools-coupon-fr-see-more-coupons-button .button {
  margin-top: 10px;

  line-height: 1.2;
  padding: 20px 50px;
  text-transform: inherit;
  white-space: normal;
  -moz-border-radius: 32px;
  -webkit-border-radius: 32px;
  border-radius: 32px;
  font-size: 1.8rem;
}

#nin-tools-coupon-fr-popup.coupon-fr-desktop .content .mobile + .button {
  display: none;
}

@media (max-width: 399px) {
  .pane-nin-tools-coupon-fr-footer-buttons .button {
    padding: 20px 20px;
  }

}
/*PopUp No Coupons Selected*/

#nin-tools-coupon-fr-popup.no-coupons-selected .popin {
  max-width: 530px;
  position: relative;
}
#nin-tools-coupon-fr-popup.no-coupons-selected .no-selection-message {
  font-size: 26px;
  color: #f5953f;
  padding: 30px 50px 30px 160px;
  text-align: center;
}
#nin-tools-coupon-fr-popup.no-coupons-selected .no-selection-message:before {
  content: url("../img/CTA.png");
  display: block;
  position: absolute;
  top: 15px;
  left: 40px;
}
@media (max-width: 499px){
  #nin-tools-coupon-fr-popup.no-coupons-selected .popin {
    max-width: 100%;
    margin-top:0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
  }
  #nin-tools-coupon-fr-popup.no-coupons-selected .no-selection-message {
    font-size: 16px;
  }
}

/* Mobile Print Popup */

#nin-tools-coupon-fr-popup.coupon-fr-mobile .content {
  max-width: 90%;
}
#nin-tools-coupon-fr-popup.coupon-fr-mobile .content .mobile.about-printing {
  padding-left: 120px!important;
}
#nin-tools-coupon-fr-popup.coupon-fr-mobile .content .mobile + .button {
  margin-left: 100px;
  padding: 5px 20px;
  text-align: center;
}


#nin-tools-coupon-fr-popup.coupon-fr-mobile .content .mobile.about-printing {
  padding-left: 100px!important;
  background-size: unset!important;
}

/* Coupons List */

#block-nin-tools-coupon-fr-selected-coupons .row{
  background: #FFF;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 10px;
  overflow: auto;
  padding: 0;
}
#block-nin-tools-coupon-fr-selected-coupons h2 {
  font-size: 34px;
  color: #a19999;
  text-align: center;
  padding: 30px 0;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row {
  background: #fcfcfb;
  border-top: solid 1px #f1f1ed;
  border-bottom: solid 1px #f1f1ed;
  margin-bottom: 15px;
  border-radius: 0;
  opacity: 0;
  max-height: 0;

  -webkit-transition: max-height 0.5s ease;
  -moz-transition: max-height 0.5s ease;
  -ms-transition: max-height 0.5s ease;
  -o-transition: max-height 0.5s ease;
  transition: max-height 0.5s ease;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row:last-child {
  margin-bottom: 70px;
}

#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row.in {
  opacity: 1;
  max-height: 100px;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .price {
  width: 15%;
  float: left;
  font-size: 24px;
  color: #f5953f;
  text-align: right;
  padding: 12px 0;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .price > span {
  padding-right: 20px;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .coupon-description {
  width: 70%;
  float: left;
  font-size: 16px;
  padding: 16px 0;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .coupon-description > span {
  padding-left: 55px;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .remove-button {
  font-size: 0;
  width: 10%;
  float: left;
  text-align: right;
  padding: 5px 0;
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .remove-button:before {
  content: '+';
  display: inline-block;
  font-size: 38px;
  color: #d6d3d3;
  cursor: pointer;

  -webkit-transition: color 0.2s ease;
  -moz-transition: color 0.2s ease;
  -ms-transition: color 0.2s ease;
  -o-transition: color 0.2s ease;
  transition: color 0.2s ease;

  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .remove-button:hover:before {
  color: #a19999;
}
@media (max-width: 499px){
  #block-nin-tools-coupon-fr-selected-coupons .row {
    border-radius: 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons h2 {
    font-size: 18px;
    padding: 20px 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row {
    display: table;
    width: 100%;
    margin-bottom: 5px;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .price {
    font-size: 16px;
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
    float: none;
    text-align: inherit;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .price > span {
    padding-right: 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .coupon-description {
    font-size: 12px;
    display: table-cell;
    vertical-align: middle;
    float: none;
    padding: 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .coupon-description > span {
    padding-left: 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row .remove-button {
    display: table-cell;
    padding-left: 10px;
    float: none;
    padding: 0;
  }
  #block-nin-tools-coupon-fr-selected-coupons .coupon-list .row:last-child {
    margin-bottom: 20px;
  }
}

/* Unlogged */

#nin-tools-coupon-fr-stage-selector-popup {
  max-width: 530px;
  margin: 0 auto;
  position: relative;
}
#nin-tools-coupon-fr-stage-selector-popup .popin-title {
  padding: 16px;
}
#nin-tools-coupon-fr-stage-selector-popup .picto-image,
#nin-tools-coupon-fr-popup.coupon-fr-unlogged .picto-image{
  position: absolute;
  top: 10px;
  left: 30px;
}
#nin-tools-coupon-fr-stage-selector-popup .big-text,
#nin-tools-coupon-fr-popup.coupon-fr-unlogged .big-text {
  font-size: 24px;
  color: #f5953f;
  padding: 20px 0 40px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}
#nin-tools-coupon-fr-stage-selector-popup #stages {
  width: 430px;
  display: block;
  overflow: hidden;
  margin: 0 auto 42px;
}
#nin-tools-coupon-fr-stage-selector-popup #stages .stage-option {
  float: left;
  padding: 0 10px;
  border-right: solid 1px #929292;
  color: #929292;
  cursor: pointer;
}
#nin-tools-coupon-fr-stage-selector-popup #stages .stage-option:hover {
  color: #f5953f;
}
#nin-tools-coupon-fr-stage-selector-popup #stages .stage-option:last-child {
  border: none;
}
#nin-tools-coupon-fr-stage-selector-popup #stages .stage-option .step {
  font-size: 24px;
  width: 100%;
  display: block;
  text-align: center;
}
#nin-tools-coupon-fr-stage-selector-popup #stages .stage-option .unit {
  font-size: 14px;
  width: 100%;
  display: block;
  text-align: center;
}
#nin-tools-coupon-fr-stage-selector-popup .bean-buttons,
#nin-tools-coupon-fr-popup.coupon-fr-unlogged .bean-buttons{
  margin-bottom: 24px;
}
#nin-tools-coupon-fr-stage-selector-popup .bean-buttons .button,
#nin-tools-coupon-fr-popup.coupon-fr-unlogged .bean-buttons .button{
  margin: 0 50px 10px;
}

@media (max-width: 499px){
  #nin-tools-coupon-fr-stage-selector-popup {
    max-width: 90%;
  }
  #nin-tools-coupon-fr-stage-selector-popup .picto-image img,
  #nin-tools-coupon-fr-popup.coupon-fr-unlogged .picto-image img {
    width: 80%;
  }
  #nin-tools-coupon-fr-stage-selector-popup .big-text,
  #nin-tools-coupon-fr-popup.coupon-fr-unlogged .big-text {
    font-size: 18px;
    padding: 20px 0;
  }
  #nin-tools-coupon-fr-stage-selector-popup #stages {
    display: table;
    width: inherit;
    margin: 0 auto 20px;
  }
  #nin-tools-coupon-fr-stage-selector-popup #stages .stage-option {
    display: table-cell;
    float: none;
  }
  #nin-tools-coupon-fr-stage-selector-popup #stages .stage-option .step {
    font-size: 16px;
  }
  #nin-tools-coupon-fr-stage-selector-popup #stages .stage-option .unit {
    font-size: 10px;
  }
  #nin-tools-coupon-fr-stage-selector-popup .bean-buttons .button,
  #nin-tools-coupon-fr-popup.coupon-fr-unlogged .bean-buttons .button {
    margin: 0 30px 10px;
    padding: 5px 25px;
  }
}

@media (max-width: 399px){
  #nin-tools-coupon-fr-stage-selector-popup .picto-image,
  #nin-tools-coupon-fr-popup.coupon-fr-unlogged .picto-image{
    left: 8px;
  }
}

@media all and (max-width: 500px) {
  .coupon-fr .article-illu {
    display: table-cell!important;
    width: 32.1%!important;
  }
}