.woo-epo-discounts-product-in-offer.fancybox-content .offer-description {
    margin-top: 10px;
}

.woo-epo-discounts-product-in-offer.fancybox-content .offer-product-wrapper {
    text-align:center;
}

.woo-epo-discounts-product-in-offer.fancybox-content button {
    width: 33px;
    height: 33px;
    padding: 0;
    transition: background 0.3s ease;
}

.woo-epo-discounts-product-in-offer.fancybox-content button:hover {
    color: white;
    background: #a6a6a6;
}

.woo-epo-discounts-product-in-offer.fancybox-content .offer-rule-description {
    text-transform: lowercase;
    font-size: 0.8em;
}

.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper {
    max-width: 600px;
}

.woo-epo-discounts-product-in-offer.fancybox-content .offer-product-wrapper a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.woo-epo-discounts-product-in-offer.fancybox-content .offer-product-wrapper a:hover {
    opacity: 0.7;
}

.woo-epo-discounts-product-in-offer .radio-group{
    margin-bottom: 10px;
}

.woo-epo-discounts-product-in-offer .radio-group.hidden{
    display: none;
}

.woo-epo-discounts-product-in-offer .radio-group p{
    margin: 0;
    margin-bottom: 10px;
}

.woo-epo-discounts-product-in-offer .radio-group .gift-radio {
    display: inline-block;
    margin: 10px 5px;
}

.woo-epo-discounts-product-in-offer .radio-group .gift-radio label{
    cursor: pointer;
    padding: 5px 10px;
    background: #eeeeee;
    transition: background 0.3s ease;
    border: 1px solid transparent;
}

.woo-epo-discounts-product-in-offer .radio-group .gift-radio label:hover{
    background: white;
}

.woo-epo-discounts-product-in-offer .radio-group .gift-radio input:checked + label {
    background-color: white;
    border-color: pink;
}

.woo-epo-discounts-product-in-offer .radio-group .gift-radio input.hidden{
    display: none;
}

.woo-epo-discounts-product-in-offer .disable-price-selector{
    width: 58px;
    display: inline-block;
    text-align: center;
}
dd#custom-discount-price.woo-epo-discounts{
    display: none;
}
dd#custom-discount-price.woo-epo-discounts.active{
    display: block;
}
dd#custom-discount-price.woo-epo-discounts.active .price{
    color: black!important;
    border-bottom: 7px solid #f6c4d1;
    padding-bottom: 7px;
    font-size: 37px;
}
dd#custom-discount-price.woo-epo-discounts.active ~ dd.tm-final-totals{
    margin-top: 10px!important;
    font-size: 16px!important;
}
dd#custom-discount-price.woo-epo-discounts.active ~ dd.tm-final-totals .price{
    text-decoration: line-through;
    border-bottom: 0!important;
    padding-bottom: 0!important;
}



/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper {
	position:relative;
}
.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper .prev, 
.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper .next {
  cursor: pointer;
  position: absolute;
  bottom: 110px;
  top: unset;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper .prev {
	left:20%;
}
.woo-epo-discounts-product-in-offer.fancybox-content .offer-popup-content-wrapper .next {
  right: 20%;
  border-radius: 3px 0 0 3px;
}

.offer-product-description p {
	padding:0 40px;
}

.wait-for-gift {
	position: absolute;
    top: 0;
	left: 0;
    width: 100%;
	height: 100%;
    background: #1e1e1e;
    opacity: 0.87;
    z-index: 100;
}

.wait-for-gift .gift-icon {
	background: url('package-creations-gift.png');
	position:absolute;
	width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
	-webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.multiple-gifts {
	display:none;
}
.multiple-gifts.active {
	display:block;
}
.multiple-gifts .mySlides {
	display:none;
}
.multiple-gifts.active .mySlides:nth-of-type(1) {
	display:block;
}


.woo-epo-discounts-product-in-offer .radio-group {display:none;}
