/**
 *
 * Voucher design
 *
 **/

/* hide data contaniner */

ul#vouchers div#voucher-data { display: none; }

/* no border around content (vouchers) */

#vouchers
{
  margin: 15px 0 30px 0;
  padding: 0 0 0 0;

  border: none;
  border-bottom: 1px solid #dddddd !important;
  box-shadow: none;
}

ul#vouchers .button-box,
ul#vouchers .code-box
{
  display: inline-block;
  vertical-align: middle;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  box-sizing: border-box;
  height: 34px;
  min-height: 1px;
  padding-right: 0;
  padding-left: 15px;
}

/* code button */
ul#vouchers .code-box
{
  padding: 0 0 0 20px;
  margin: 0;
}

/* button */
ul#vouchers div.button-box-a
{
  font-family: "Ubuntu",Arial,Helvetica,sans-serif;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: inline-block;

  padding: 4px 15px 1px 15px;

  text-align: center;
  text-decoration: none;

  color: #ffffff;
  border-width: 0;
  border-style: solid;
  border-color: #3bafda;
  border-radius: 5px;
  background-color: #3bafda;
  background-repeat: no-repeat;
  background-position: 0 0;
}

ul#vouchers .clickables
{
  /* both button and code box */
  box-sizing: border-box;
  _width: 500px;
  height: 34px;
  margin: 10px -15px;
}

@media only screen and (max-width: 678px) {
  ul#vouchers .clickables {
    height: 72px;
  }
}

/* Advanced Checkbox Hack: http://codepen.io/TimPietrusky/pen/fHmiI */

ul#vouchers div.more > div
{
  display: none;
}

input[type=checkbox].more-hidden:checked ~ div
{
  display: block !important;
}

ul#vouchers .more-clickable
{
  font-size: 11px;

  padding: 0 0 0 0;

  cursor: pointer;
  letter-spacing: 0.5px;
}

ul#vouchers > li
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;

  width: 660px;
  padding: 10px 0 10px 0;

  text-decoration: none;

  color: #7c7c7c;
  border-color: #d4d4d4 #7c7c7c #7c7c7c;
  border-top: 1px solid #d4d4d4;

  list-style: none;
}

/* v-sticker */

.geschenk-img {
  width:80px;
  height: 72px;
  background-image: url('poklon.png');
  background-position: center;
  background-repeat: no-repeat;
}

/*ul#vouchers.styling_grid a.promo-text .geschenk-img{display: none;}*/
.styling_grid .v-sticker .geschenk-img{
    width: 85px;
    height: 27px;
    background-size: contain;
}

a.promo-text:hover .geschenk-img {background-image: url('poklon_black.png');}

ul#vouchers > li > div
{
  margin: 0 0 0 0;
}

ul#vouchers > li div.v-sticker
{
  display: inline-block;

  vertical-align: top;

  _float: left;

  box-sizing: border-box;
  margin: 0 0 0 0;
  padding: 0 15px 0 15px;
}

ul#vouchers > li div.v-sticker > div
{
  width: 120px;
}

ul#vouchers > li div.v-desc > h2
{
  font-size: 18px;
  font-weight: 400;

  width: 100%;
  padding: 0;
  margin: 0;

  text-decoration: none;

  color: #454545;
  border-color: #454545;
}

#vouchers .voucher-info
{
  _position: relative;

  display: inline-block;

  top: 0;
  left: 0;

  _float: right;

  box-sizing: border-box;
  width: 470px;
  padding: 0 15px 0 0px;

  _border-left: 1px solid #d4d4d4;
}

#vouchers .voucher-excerpt
{
  font-weight: normal;

  position: relative;
  top: 0;
  right: 0;
  left: 0;

  min-height: 1px;
  padding: 0 0 0 0;
}

#vouchers .voucher-details
{
  margin-top: 0;
  margin-bottom: 10px;
}

ul#vouchers div.coupon
{
  font-size: 16px;
  font-weight: 700;
  line-height: 22.85px;

  display: block;

  box-sizing: border-box;
  height: 34px;
  min-height: 34px;
  padding: 10px 30px 0 30px;

  cursor: pointer;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;

  color: #f07d1e;
  border-color: #f07d1e;
  border-radius: 5px;
  background-color: #e8e8e8;
  background-repeat: no-repeat;
  background-position: 0 0;
}

ul#vouchers > li div.v-desc
{
  display: inline-block;

  box-sizing: border-box;
  width: 470px;
  min-height: 1px;
  padding: 0 15px 0 15px;

  border-left: 1px solid #d4d4d4;
}

.clickable
{
  cursor: pointer;
}

div.promo-text,
div.promo-text:visited
{
  font: bold 22px "Ubuntu", Arial, Helvetica, sans-serif;
  font-weight: bold;

  display: block;

  box-sizing: content-box;
  line-height: 70px;
  _height: 70px;
  padding: 3px;

  color: #d15d00;
  background-color: #fff;
  border: 1px solid rgba(0,0,0, 0.2);
  
}

a.promo-text:hover
{
  color: black;
  border-color: rgba(0,0,0, 0.4);
}

.promo-text-date
{
  font-size: 0.8em;
  line-height: normal;

  padding-top: 3px;
  text-align: center;
  color: #999999;
}

/* vertical centering */

.promo-text
{
  text-align: center;
}

div.promo-text span
{
  color: #d15d00;
  line-height: 1em;
  display: inline-block;
  vertical-align: middle;
}

div.promo-text:hover span {
  color: black;
}

.promo-text span.huge
{
  font-size: 1.6em;
  letter-spacing: -1px;
}

.promo-text span.gray
{
  letter-spacing: -3px;
  color: #e8e8e8;
}

.promo-text span.chf
{
  font-size: 12px;

  position: relative;
  top: -10px;
  left: 1px;

  letter-spacing: -1px;
  color: #d15d00;
}

.span-17-vot
{
  box-sizing: border-box;
}

.span-18-vot
{
  position: relative;
  top: -3px;
  right: 0;
  bottom: 0;
  left: 0;

  box-sizing: border-box;
  padding-left: 5px;

  border-color: rgb(0, 100, 163);
}

/* box with coupon code*/

.couponcode
{
  width: 200px !important;

  color: black !important;
  border: 1px solid #3bafda !important;
  background-color: white !important;
}
.couponcode:hover
{
  text-decoration: none !important;
}

/* Overrides */

ul#vouchers > li div.v-desc .button-box-a
{
  line-height: 26px;
  height: 34px;
}

ul#vouchers > li div.v-desc div.clickable span
{
  font-size: 24px;
  letter-spacing: 2px;
  padding: 0 10px 0 10px;
}

.code-box a.coupon
{
  font-size: 12px;
  _line-height: 38px;
  padding: 0;
}

/* exclusive vouchers */

.wrapper-exclusive{
  position: relative!important; 
  overflow: hidden!important;
}

.exclusive{
    transform: rotate(33deg);
    color: #ffffff;
    background-color: #d15c00;
    position: absolute;
    text-align: center;
}
.exclusive span{
    font-family: calibri;
  
}

/* exclusive vouchers - grid */

.styling_grid .exclusive{
    width: 100px;
    right: -15px;
    padding: 2px;
}

.styling_grid .exclusive span{
    font-size: 11px;
    padding-left: 26px;
    letter-spacing: 1px;
}

/* exclusive vouchers - default */

.styling_default .exclusive{
    width: 150px;
    right: -22px;
    top: 11px;
    padding: 5px;
}

.styling_default .exclusive span{
    font-size: 15px;
    padding-left: 20px;
    letter-spacing: 3px;
}

/* Additions */

ul#vouchers > li
{
  margin: 20px 0 0px 0;

  /* Interesting inset text effect
  text-shadow: -1px -1px rgba(255,255,255, 0.3);
  */
}

/* Shadow effect */

ul#vouchers > li {
  position: relative;
  z-index: 3;
  border: 0;
  padding: 0;
}

ul#vouchers > li > div {
  position: relative;
  z-index: 0;
  padding: 16px 8px 16px 8px;

  /* gray gradient */
  background-color: hsl(0, 0%, 98%);
  _background-image: linear-gradient(to right bottom, hsl(0, 0%, 95%), white 70%, white);

  /* inner burn */
  box-shadow: 
    0 0 80px rgba(0, 0, 0, 0.1) inset;

  border: 1px solid rgba(0,0,0, 0.15);
  border-radius: 0px;
}

/* Stitching */

ul#vouchers > li > div:before {
  content: '';
  z-index: -1;
  position: absolute;

  border: 1px dashed rgba(0,0,0, 0.1);

  top: 7px;
  bottom: 7px;
  left: 7px;
  right: 7px;

  border-radius: 6px;
  
  box-shadow:
    1px 1px 0 1px rgba(255,255,255,0.2) inset,
    1px 1px 0 1px rgba(255,255,255,0.2);
}

/* Shadow */

/*
ul#vouchers > li:before,
xul#vouchers > li:after
{
  position: absolute;
  z-index: -1;
  bottom: 24px;
  left: 25px;

  width: 70%;
  height: 55%;

  content: "";
  transform: skew(-15deg)rotate(-2deg);

  box-shadow: 0 25px 20px rgba(0,0,0,0.2);
}

ul#vouchers > li:after
{
  right: 25px;
  left: auto;

  transform: skew(15deg)rotate(2deg);
  box-shadow: 0 25px 20px rgba(0,0,0,0.2);
}

*/

/* Curl effect */

ul#vouchers .code-box
{
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0,0,0,0);
  backface-visibility: hidden;
  _position: relative;
}

#vouchers .code-box:before {
  pointer-events: none;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  bottom: 0;
  right: 0;

  background: linear-gradient(315deg, white 45%, #aaaaaa 50%, #cccccc 56%, white 80%);
  box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4);
  transition-duration: 0.3s;
  transition-property: width, height;
}

#vouchers .code-box:hover:before {
  width: 25px;
  height: 25px;
}






/* Voucher Styling with Shop Logo */

ul#vouchers.styling_logo > li div.v-sticker > div
{
  width: 190px;
}

ul#vouchers.styling_logo > li div.v-sticker > div img
{
  width: 150px;
  height: 60px;
  padding: 10px 0 3px 0;
}

ul#vouchers.styling_logo > li div.v-desc
{
  max-width: 350px;
  height: 145px;
  padding-top: 10px;
}

ul#vouchers.styling_logo > li div.v-desc a.clickable span
{
  padding: 0 15px 0 15px;
}

ul#vouchers.styling_logo a.promo-text
{
  line-height: 10px;
  padding-bottom: 6px;
}

ul#vouchers.styling_logo a.promo-text span
{
  _margin-top: -0.5em;
  vertical-align: initial;
  line-height: initial;
  _padding: 0px;
  font-size: 18px;
}

ul#vouchers.styling_logo a.promo-text span.chf
{
  font-size: 12px;
  top: -6px;
}


ul#vouchers.styling_logo a.promo-text span.huge
{
  _font-size: 1.2em;
  _margin-top: -0.25em;
}




/* Voucher Styling in popular format */

ul#vouchers.styling_popular {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 4px;
  margin: 0;
  border-bottom: none !important;
}

ul#vouchers.styling_popular::after {
  content: ""; display: block; clear: both;
}

ul#vouchers.styling_popular .exclusive{
    width: 100px;
    right: -15px;
    padding: 2px;
}

ul#vouchers.styling_popular .exclusive span{
    font-size: 11px;
    padding-left: 26px;
    letter-spacing: 1px;
}

ul#vouchers.styling_popular > li {
  width: 100%;
  margin: 0;
}

ul#vouchers.styling_popular > li > div {
  padding: 0px; 
  margin: 0;
  border: 1px solid rgba(0,0,0, 0.15);
}

ul#vouchers.styling_popular > li > div, 
ul#vouchers.styling_popular > li > div:before {
  all: initial;
}

ul#vouchers.styling_popular > li div.v-sticker {
  padding: 0 0 0 0;
}

.styling_popular .v-sticker .geschenk-img {
    width: 85px;
    height: 27px;
    background-size: contain;
}

ul#vouchers.styling_popular > li div.v-sticker > div {
  all:  initial;
}

ul#vouchers.styling_popular > li div.v-sticker > div img { width: 110px; height: 44px; padding: 5px 0 3px 0; margin: 0 auto;}
ul#vouchers.styling_popular .clickables { box-sizing: border-box; width: 100%; height: auto; margin: 0; }
ul#vouchers.styling_popular .clickables .button-box { width: 100%; height: auto; padding: 0; margin: 0 0 0 0; }

ul#vouchers.styling_popular > li div.v-desc a.clickable span { padding: 0 15px 0 15px; }

ul#vouchers.styling_popular div.promo-text {
  font: bold 18px "Ubuntu", Arial, Helvetica, sans-serif;
  display: block;
  border: none;
  box-sizing: content-box;
  /*_height: 70px;*/
  background-color: #fff;
}
ul#vouchers.styling_popular a.promo-text { line-height: 10px; padding-bottom: 6px; }
ul#vouchers.styling_popular a.promo-text span { vertical-align: initial; line-height: initial; }
ul#vouchers.styling_popular a.promo-text span.chf { font-size: 12px; top: -6px; }


.styling_popular .v-sticker {
border: 1px solid rgba(0,0,0, 0.2);
}

ul#vouchers.styling_popular .v-sticker .promo-text {
  padding: 0;
}

.styling_popular .v-sticker .promo-text span {
  /*color: #5E5E5E;*/
  color: #d15d00;
  line-height: 1em;
  display: inline-block;
  vertical-align: middle;
  max-height: 4em;
  overflow: hidden;
}

ul#vouchers.styling_popular .clickables .button-box {
  text-align: center;
  margin: 4px 0;
  padding-left: 0;
}

.styling_popular .v-sticker .promo-text .clickables {
  padding: 20px;
  font-size: 18px;  
}

.styling_popular .v-sticker .promo-text .clickables .button-box span{
  color: white;
}

.styling_popular .v-sticker .button-box-a {
  border-radius: 0!important;
  padding: 4px 15px 4px 15px!important;
}




/* Voucher Styling in grid format */

ul#vouchers.styling_grid
{
  border: none !important;

}

ul#vouchers.styling_grid::after {
  content: ""; display: block; clear: both;
}

ul#vouchers.styling_grid > li > div ,
ul#vouchers.styling_grid > li > div:before {
  all: initial;
}

ul#vouchers.styling_grid > li > div {
  float: left;
  padding: 0px; 
  margin: 0 5px 15px 10px;
  
}

ul#vouchers.styling_grid > li div.v-sticker
{
  padding: 0 0 0 0;
}

ul#vouchers.styling_grid > li div.v-sticker > div {
  width: 195px;
}

ul#vouchers.styling_grid > li div.v-sticker > div img { width: 150px; height: 60px; padding: 5px 0 3px 0; }

ul#vouchers.styling_grid > li div.v-desc {  }

ul#vouchers.styling_grid .clickables { box-sizing: border-box; width: 100%; height: auto; margin: 0; }
ul#vouchers.styling_grid .clickables .button-box { width: 100%; height: auto; padding: 0; margin: 0 0 0 0; }

ul#vouchers.styling_grid .clickables .button-box a.button-box-a
{
  width: 100%; display: inline-block;

  padding: 8px 0 6px 0;

  text-align: center;
  text-transform: uppercase; font-weight: normal; font-size: 13px; letter-spacing: 1px;

  color: #ffffff;
  border-width: 0;
  border-style: solid;
  border-color: #3bafda;
  border-radius: 0px;
  background-color: #3bafda;
  background-repeat: no-repeat;
  background-position: 0 0;
}

ul#vouchers.styling_grid > li div.v-desc a.clickable span { padding: 0 15px 0 15px; }
ul#vouchers.styling_grid a.promo-text { line-height: 10px; padding-bottom: 6px; }

ul#vouchers.styling_grid a.promo-text span { vertical-align: initial; line-height: initial; font-size: 18px; }
ul#vouchers.styling_grid a.promo-text span.chf { font-size: 12px; top: -6px; }
ul#vouchers.styling_grid a.promo-text span.huge {  }



/* Tooltips @see: https://chrisbracco.com/a-simple-css-tooltip/ */

[data-tooltip] { position: relative; }
[data-tooltip]:before, [data-tooltip]:after { position: absolute; visibility: hidden; opacity: 0; transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24); transform: translate3d(0, 0, 0); pointer-events: none; }
[data-tooltip]:hover:before, [data-tooltip]:hover:after, [data-tooltip]:focus:before, [data-tooltip]:focus:after { visibility: visible; opacity: 1; }
[data-tooltip]:before { z-index: 1001; border: 6px solid transparent; background: transparent; content: ""; }
[data-tooltip]:after { font-size: 11px; letter-spacing: 0px; text-transform: none; line-height: 1.2; z-index: 1000; padding: 8px; width: 160px; background-color: #000; background-color: hsla(0, 0%, 20%, 0.9); color: #fff; content: attr(data-tooltip); }
[data-tooltip]:before, [data-tooltip]:after { bottom: 100%; left: 50%; }
[data-tooltip]:before { margin-left: -6px; margin-bottom: -12px; border-top-color: #000; border-top-color: hsla(0, 0%, 20%, 0.9); }
[data-tooltip]:after { margin-left: -80px; } /* Horizontally align top/bottom tooltips */
[data-tooltip]:hover:before, [data-tooltip]:hover:after, [data-tooltip]:focus:before, [data-tooltip]:focus:after { transform: translateY(-12px); }

/* style grid changes */
.styling_grid .v-sticker {
    border: 1px solid rgba(0,0,0, 0.2);
}

.styling_grid .v-sticker .huge {
    font-size: 22px;
}

.styling_grid .v-sticker .promo-text {
    line-height: 30px;
    border: none;
}

ul#vouchers.styling_grid .clickables .button-box {
    text-align: center;
    margin: 10px 0;
    padding-left: 0;
}

.styling_grid .v-sticker .promo-text span {
    color: #333333;
}

.styling_grid .v-sticker .promo-text .clickables {
    padding: 20px;
    font-size: 18px;	
}

.styling_grid .v-sticker .promo-text .clickables .button-box span{
    color: white;
}

.styling_grid .v-sticker .button-box-a {
    border-radius: 0!important;
    padding: 4px 15px 4px 15px!important;
}
