/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.loyalty {
  width: 100%;
}

.loyalty .button {
  min-width: 139px;
  flex: 1 0;
}

.woocommerce-cart table.cart td.actions .loyalty .input-text {
  flex: 1 0;
  max-width: 200px;
}

table.cart td.actions .loyalty {
  padding-bottom: 1em;
  margin-bottom: 1em;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}


.ub-vouchers-cta {
  display: block;
  font-size: 12px;
  padding: 5px;
  position: relative;
}

.ub-cart-loyalty-info {
  font-size: 12px;
  padding: 5px;
}

.ub-cart-loyalty-info span {
  font-weight: 600;
  color: #3d3d3d;
}

.ub-vouchers-cta:focus {
  outline: unset !important;
}

.text-right {
  text-align: right;
}

@media (min-width: 768px) {
  table.cart td.actions .loyalty {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    display: inline-block;
    float: left;
  }
}

.dashicons.spin {
  animation: dashicons-spin 1s infinite;
  animation-timing-function: linear;
}

@keyframes dashicons-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#TB_ajaxContent .spin {
  font-size: 40px;
  line-height: 40px;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.ubVouchers .single {
  padding: 20px 30px;
  display: flex;
  flex-direction: row;
  background: #e9e9e9;
  border-bottom: 1px solid #bbbbbb96;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  align-items: center;
  align-content: flex-start;
  margin-bottom: 10px;
  border-radius: 6px;
}

.ubVouchers .single:last-child {
  border-bottom: 0px solid #E3EBF1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.ubVouchers .icon {
  display: flex;
  margin: 0 30px 0 0;
  height: 100%;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  align-content: center;
  width: 115px;
}

.ubVouchers .icon img {
  max-width: 130px;
}

.ubVouchers .text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  border-left: 1px dashed #d5c8c8;
  padding-left: 10px;
}

.ubVouchers .header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

.ubVouchers .header h3 {
  font-size: 16px;
  margin: 0 0 12px 0;
}

.flex {
  display: flex;
}

.checkout_loyalty {
  margin: 0 auto 30px auto;
}

.mr-2 {
  margin-right: .2rem;
}

.ubVouchers .header .desc {
  height: 80px;
  will-change: height;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.ubVouchers .header h5 {
  font-size: 14px;
  width: 80%;
  line-height: 1.4;
  font-weight: 300;
}

.ubVouchers .desc h2 {
  font-size: 1.3em;
  line-height: 1.4em;
  font-weight: bold;
}

.ubVouchers .functions {
  margin: 10px 0 0 0;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 160px;
  padding: 10px 15px;
  background-color: #5bb0da;
  color: #fff;
}

.ubVouchers .functions span {
  font-size: 14px;
}

.ubVouchers .functions span:first-child {
  color: #577083;
}

.ubVouchers .functions span:last-child {
  color: #ffffff;
}

.ubVouchers .functions span:last-child:hover {
  cursor: pointer;
  text-decoration: underline;
}

.ubVouchers .functions span:last-child svg {
  margin: 0 0 0 9px;
  vertical-align: middle;
}

.ubVouchers .reveal {
  height: 68px;
}

.ubVouchers .cardTitle {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  color: #162D3D;
  padding: 0 30px;
  height: 72px;
  background: white;
  width: 100%;
  display: flex;
  align-content: center;
  align-items: center;
  border-bottom: 1px solid #E3EBF1;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}

.ubVouchers .soon {
  color: #FB7D33 !important;
}

.ubVouchers .claimed {
  background: #FAFBFC;
}

.ubVouchers .claimed .text .desc {
  height: 38px;
}

.ubVouchers .devider {
  background: #F7F9FB;
  width: 100%;
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.ubVouchers .noBd {
  border: 0px solid black;
}

.no-vouchers {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 6em 0;
}

.no-vouchers .message-box {
  text-align: center;
  padding: 30px;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.no-vouchers .message-box h1 {
  font-size: 2rem;
  color: #343a40;
}

.no-vouchers .message-box p {
  font-size: 1.5rem;
  color: #6c757d;
}

form.woocommerce-form-loyalty.checkout_loyalty {
  display: block;
  border: 3px dashed rgba(84, 84, 84, .15);
  padding: 28px;
  width: 695px;
  margin: 0 auto 30px;
  text-align: center;
}

form.woocommerce-form-loyalty.checkout_loyalty p {
  margin: 0;
}

.flex.grow.first>*:first-child {
  flex-grow: 1;
}

form.woocommerce-form-loyalty.checkout_loyalty input {
  line-height: 36px;
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 15px;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

form.woocommerce-form-loyalty.checkout_loyalty input {
  float: left;
  width: 74%;
  margin-right: 2%;
}

form.woocommerce-form-loyalty.checkout_loyalty button {
  float: right;
  width: 25%;
}

@media only screen and (max-width: 959px) {
  form.woocommerce-form-loyalty.checkout_loyalty {
    width: 100%;
    margin-bottom: 20px;
  }

  form.woocommerce-form-loyalty.checkout_loyalty .flex {
    flex-direction: column;
    align-items: center;
  }

  form.woocommerce-form-loyalty.checkout_loyalty input {
    width: 100%;
    margin-right: 0%;
  }

  form.woocommerce-form-loyalty.checkout_loyalty button {
    width: 100%;
    margin: 15px 0 0 0;
  }
}