﻿/* css for check code shortcode */
.woo-vou-fields-wrapper {
  display: inline-block;
  margin-top: 10px;
  width: 100%;
}
.woo-vou-check-code {
  border: 1px solid #ededed !important;
}
.woo-vou-check-code td {
  border-top: none !important;
  padding: 10px 10px 10px 0 !important;
}
.woo-vou-check-code label {
  padding-left: 10px;
}
.woo-vou-check-code {
  padding-left: 10px;
}
.woo-vou-check-code th {
  font-weight: 600 !important;
  line-height: 1.3 !important;
  padding: 20px 10px 20px 0 !important;
  text-align: left !important;
  vertical-align: top !important;
  width: 120px !important;
  text-transform: none !important;
}
tr.woo-vou-used-codes-row-body td,
tr.woo-vou-unused-codes-row-body td,
tr.woo-vou-purchased-codes-row-body td {
  width: 10%;
  word-break: break-all;
}

@media only screen and (max-width: 769px) {
  .woo-vou-check-code th {
    border-bottom: 0 none;
    padding-bottom: 0;
    padding-top: 10px;
  }
  .woo-vou-check-code td,
  .woo-vou-check-code th {
    display: block;
    vertical-align: middle;
    width: auto;
  }
  .woo-vou-check-code td input[type="text"] {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    max-width: none;
    padding: 7px 10px;
    width: 92%;
  }
}
.woo-vou-fields-wrapper-variation {
  display: none;
  position: relative;
}
.woo-vou-fields-wrapper {
  clear: both;
}

/*************** Expired/Upcoming Product CSS ****************/
.woo-vou-product-expired {
  color: #ff0000;
  font-size: 30px;
  opacity: 0.7;
  position: absolute;
  transform: rotate(-45deg);
  z-index: 9999;
}
/*************** Voucher Selection CSS End ****************/
/*************** Custom CSS for Used Voucher Code Listing Table Start ****************/
tr.woo-vou-used-codes-table-row-head,
tr.woo-vou-used-codes-row-foot,
tr.woo-vou-unused-codes-table-row-head,
tr.woo-vou-unused-codes-row-foot,
tr.woo-vou-purchased-codes-table-row-head,
tr.woo-vou-purchased-codes-row-foot {
  background-color: #f5f5f5;
}
table.woo-vou-used-codes-table,
table.woo-vou-unused-codes-table,
table.woo-vou-purchased-codes-table {
  width: 100%;
}
.woo-vou-used-codes-table th,
.woo-vou-unused-codes-table th,
.woo-vou-purchased-codes-table th {
  padding: 8px 0px;
}
.woo-vou-used-codes-table td,
.woo-vou-used-codes-table th,
.woo-vou-unused-codes-table td,
.woo-vou-unused-codes-table th,
.woo-vou-purchased-codes-table td,
.woo-vou-purchased-codes-table th {
  vertical-align: middle;
}
tr.woo-vou-used-codes-row-body td,
tr.woo-vou-unused-codes-row-body td,
tr.woo-vou-purchased-codes-row-body td {
  vertical-align: top;
  text-align: justify;
}
.woo-vou-clear {
  clear: both;
}
.woo-vou-no-record-message {
  background-color: white;
  margin-top: 40px;
  clear: both;
  padding: 9px 9px !important;
}
tr.woo-vou-used-codes-row-body table,
tr.woo-vou-used-codes-row-body table td,
tr.woo-vou-unused-codes-row-body table,
tr.woo-vou-unused-codes-row-body table td,
tr.woo-vou-purchased-codes-row-body table,
tr.woo-vou-purchased-codes-row-body table td {
  border: none !important;
}
td.woo-vou-used-code-list-codes,
td.woo-vou-unused-code-list-codes,
td.woo-vou-purchased-code-list-codes {
  padding-top: 12px !important;
  font-weight: bold;
}

.woo-vou-used-codes-table.wp-list-table.fixed.widefat th.sortable,
.woo-vou-unused-codes-table.wp-list-table.fixed.widefat th.sortable,
.woo-vou-purchased-codes-table.wp-list-table.fixed.widefat th.sortable,
.widefat th.sorted {
  padding: 6px 10px;
}
.product_info.column-product_info {
  padding: 4px 5px;
}

.woo-vou-used-code-list-codes.code.column-code.has-row-actions.column-primary,
.woo-vou-unused-code-list-codes.code.column-code.has-row-actions.column-primary,
.woo-vou-purchased-code-list-codes.code.column-code.has-row-actions.column-primary {
  padding-left: 10px;
}

.product_info.column-product_info td {
  text-align: left;
}

.woo-vou-used-codes-table td,
.woo-vou-used-codes-table th,
.woo-vou-unused-codes-table td,
.woo-vou-unused-codes-table th,
.woo-vou-purchased-codes-table td,
.woo-vou-purchased-codes-table th {
  color: #555555 !important;
}

.woo-vou-used-codes-table td,
.woo-vou-used-codes-table td ol,
.woo-vou-used-codes-table td p,
.woo-vou-used-codes-table td ul,
.woo-vou-unused-codes-table td,
.woo-vou-unused-codes-table td ol,
.woo-vou-unused-codes-table td p,
.woo-vou-unused-codes-table td ul,
.woo-vou-purchased-codes-table td,
.woo-vou-purchased-codes-table td ol,
.woo-vou-purchased-codes-table td p,
.woo-vou-purchased-codes-table td ul {
  font-size: 13px;
  line-height: 1.5em;
}

.woo-vou-used-code-list-codes.code.column-code.has-row-actions.column-primary,
.woo-vou-unused-code-list-codes.code.column-code.has-row-actions.column-primary,
.woo-vou-purchased-code-list-codes.code.column-code.has-row-actions.column-primary {
  font-size: 11px;
}

.woo-vou-btn-front {
  background: #f7f7f7 none repeat scroll 0 0 !important;
  border-color: #ccc !important;
  box-shadow: 0 1px 0 #ccc !important;
  color: #555 !important;
  vertical-align: top !important;
  border-radius: 3px !important;
  border-style: solid !important;
  border-width: 1px !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  display: inline-block !important;
  font-size: 13px !important;
  height: 28px !important;
  line-height: 26px !important;
  margin: 0 !important;
  padding: 0 10px 1px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  margin-bottom: 15px !important;
}
.woo-vou-apply-btn {
  margin-top: -1px;
}
.woo_vou_multi_select {
  line-height: 2.2em;
  width: 220px !important;
}
.select2-container {
  display: inline-block !important;
}

@media only screen and (max-width: 950px) {
}

@media only screen and (max-width: 781px) {
  .woo-vou-used-codes-row-foot .no-rs-th,
  .woo-vou-unused-codes-row-foot .no-rs-th {
    display: none;
  }

  .woo-vou-used-codes-row-foot .rs-th,
  .woo-vou-unused-codes-row-foot .rs-th {
    padding-left: 10px !important;
    text-align: left;
  }

  .product_info.column-product_info td {
    padding: 2px 10px;
  }
  .woo-vou-apply-btn {
    display: inline-block;
  }
  form.search-form input {
    display: inline-block;
  }
}

@media only screen and (max-width: 500px) {
  .woo-vou-used-codes-row-foot .no-rs-th,
  .woo-vou-unused-codes-row-foot .no-rs-th {
    display: none;
  }

  .woo-vou-used-codes-row-foot .rs-th,
  .woo-vou-unused-codes-row-foot .rs-th {
    padding-left: 10px !important;
    text-align: left;
  }

  .product_info.column-product_info td {
    padding: 2px 10px;
  }
  .woo-vou-apply-btn {
    display: inline-block;
  }
  form.search-form input {
    display: inline-block;
  }
  form.search-form .woo-vou-meta-datetime {
    margin-bottom: 15px;
    width: 100%;
  }
}

/*********************** Custom CSS for Used Voucher Code Listing Table END ************************/
/************************************** Pagination CSS Start *****************************************/
.woo-vou-paging {
  clear: both;
  margin-top: 10px;
  text-align: center;
}
.woo-vou-paging .woo-vou-tablenav-pages {
  color: #636363;
}
.woo-vou-paging .woo-vou-tablenav-pages .dots {
  color: #636363 !important;
  font-weight: bold !important;
}
.woo-vou-paging .woo-vou-tablenav-pages {
  cursor: default;
  display: block;
  line-height: 10px;
}
.woo-vou-paging .woo-vou-tablenav-pages a,
.woo-vou-tablenav-pages span.disabled {
  color: #636363 !important;
  background-color: #f5f5f5;
}
.woo-vou-paging .woo-vou-tablenav-pages a,
.woo-vou-tablenav-pages span.current,
.woo-vou-tablenav-pages span.disabled {
  padding: 3px 6px;
  text-decoration: none;
  margin: 0px 2.5px;
  border: 1px solid #e7e7e7;
  border-radius: 4px;
  box-shadow: 0px 2px 2px 0px #cccccc;
  background: linear-gradient(
    to bottom,
    #f9f9f9 0%,
    #efefef 44%,
    #e7e7e7 100%
  ); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#e7e7e7',GradientType=0 ); /* IE6-9 */
}
.woo-vou-paging .woo-vou-tablenav-pages .current {
  font-weight: bold;
  background-color: #f5f5f5;
}
.woo-vou-tablenav-pages a {
  font-weight: normal;
  padding: 0px 2px;
}
.woo-vou-used-codes-loader,
.woo-vou-unused-codes-loader,
.woo-vou-purchased-codes-loader {
  line-height: 31px;
  display: none;
  margin-top: 10px;
  text-align: center;
}
.woo-vou-paging .woo-vou-tablenav-pages a:hover,
.woo-vou-tablenav-pages span.current:hover,
.woo-vou-tablenav-pages span.disabled:hover {
  background: #e7e7e7;
}

.woo-vou-used-codes-table,
.woo-vou-unused-codes-table,
.woo-vou-purchased-codes-table {
  border: 1px solid #e5e5e5;
}

.woo-vou-used-codes-table > tbody > *:nth-child(2n + 1),
ul.striped > *:nth-child(2n + 1),
.woo-vou-unused-codes-table > tbody > *:nth-child(2n + 1),
ul.striped > *:nth-child(2n + 1),
.woo-vou-purchased-codes-table > tbody > *:nth-child(2n + 1),
ul.striped > *:nth-child(2n + 1) {
  background-color: #f9f9f9;
}/************************************** Pagination CSS End *****************************************/

#woo-vou-voucher-details a.edit_history_details,
#woo-vou-voucher-extra-note a.edit_extra_note {
  border: 0 none;
  color: #999;
  float: right;
  margin: 0 0 0 6px;
  padding: 0 25px 0;
  position: relative;
  font-size: 11px;
}
.widefat td {
  vertical-align: top;
}
.widefat td,
.widefat th {
  padding: 8px 10px !important;
}
#woo-vou-voucher-details a.edit_history_details::after,
#woo-vou-voucher-extra-note a.edit_extra_note::after {
  font-family: WooCommerce;
  font-size: 14px;
  font-weight: 400;
  right: 0;
  line-height: 14px;
  position: absolute;
  text-align: center;
  top: 2px;
  vertical-align: top;
}
#woo-vou-voucher-details a.edit_history_details::after,
#woo-vou-voucher-extra-note a.edit_extra_note::after {
  content: "\f464";
  font-family: Dashicons;
}
.woocommerce-help-tip {
  color: #666;
  display: inline-block;
  font-size: 1.1em;
  font-style: normal;
  height: 16px;
  line-height: 16px;
  position: relative;
  vertical-align: middle;
  width: 16px;
}
.woocommerce-help-tip::after {
  font-family: Dashicons;
  speak: none;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  content: "";
  cursor: help;
}
#tiptip_holder.tip_bottom {
  padding-top: 5px;
}
#tiptip_holder {
  display: none;
  z-index: 8675309;
  position: absolute;
  top: 0;
  left: 0;
}
#tiptip_arrow,
#tiptip_arrow_inner {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
  height: 0;
  width: 0;
}
#tiptip_content {
  color: #fff;
  font-size: 0.8em;
  max-width: 150px;
  background: #333;
  text-align: center;
  border-radius: 3px;
  padding: 0.618em 1em;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-top: -5px;
  margin-left: -6px;
  border-bottom-color: #333;
}
/*********************** Custom CSS for Voucher Code Details Page START ************************/
.postbox {
  min-width: 255px;
  border: 1px solid #e5e5e5;
  background: #fff;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  margin-bottom: 20px;
  padding: 0;
  line-height: 1;
}
.metabox-holder h2.hndle {
  font-size: 14px;
  padding: 8px 12px;
  margin: 0;
  line-height: 1.4;
}
.postbox .inside {
  padding: 0 12px 12px;
  line-height: 1.4em;
  font-size: 13px;
  overflow-x: auto;
}
.postbox table.widefat {
  box-shadow: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-spacing: 0;
  width: 100%;
  clear: both;
  margin: 0;
  display: block;
  min-width: 800px;
}
.postbox table.widefat td,
.postbox table.widefat th {
  color: #555;
  font-weight: 400;
  text-align: left;
  line-height: 1.3em;
  font-size: 14px;
  padding: 8px 10px;
  word-wrap: break-word;
}
.postbox table.widefat th {
  text-transform: capitalize;
  width: 10%;
}
.postbox table.widefat td {
  width: 10%;
}
.widefat a,
.widefat button.button-link {
  text-decoration: none;
  color: #0073aa !important;
}
.postbox table.widefat textarea,
.postbox table.widefat input[type="text"],
.postbox table.widefat input[type="email"] {
  padding: 2px 6px;
  line-height: 1.4;
  resize: vertical;
  width: calc(100% - 20px);
  margin: 0;
}
.postbox table.widefat textarea:focus,
.postbox table.widefat input[type="text"]:focus,
.postbox table.widefat input[type="email"]:focus {
  border-color: #5b9dd9;
  box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
}

.postbox table.widefat .button,
.postbox table.widefat .button-secondary {
  color: #555;
  border-color: #ccc;
  background: #f7f7f7;
  box-shadow: 0 1px 0 #ccc;
  vertical-align: top;
}
.postbox table.widefat .button-primary {
  background: #0085ba;
  border-color: #0073aa #006799 #006799;
  box-shadow: 0 1px 0 #006799;
  color: #fff;
  text-decoration: none;
  text-shadow:
    0 -1px 1px #006799,
    1px 0 1px #006799,
    0 1px 1px #006799,
    -1px 0 1px #006799;
}
.postbox table.widefat .woo-vou-voucher-detail-msg {
  padding: 0 0 10px 0;
}
.postbox table.widefat .voucher-submit-td {
  text-align: right;
}
.woo-vou-voucher-detail-msg {
  padding-bottom: 10px;
}
.woo-vou-site-url-error {
  color: #f90000;
}
.woo-vou-popup-content.woo-vou-expiry-date-content .woo-vou-popup {
  height: auto;
}
.woo-vou-popup-content.woo-vou-expiry-date-content {
  width: 600px;
  left: 27%;
  position: fixed;
  top: 50px;
}
.woo-vou-popup-content.woo-vou-expiry-date-content
  .woo-vou-popup
  .woo-vou-change-exp-datetime {
  width: auto;
}
.woo-vou-popup-content.woo-vou-expiry-date-content .woo-vou-expiry-errors{
  display: none;
  background-color: #ffebe8;
  border-color: #cc0000;
  border-radius: 3px 3px 3px 3px;
  border-style: solid;
  border-width: 1px;
  padding: 5px;
}
.woo-vou-popup-content.woo-vou-expiry-date-content
  .woo-vou-expiry-errors.woo-vou-expiry-success{
  background-color: #ebffe8;
  border-color: #00cc00;
}
.woo-vou-popup-content .description {
  margin-left: 0px !important;
}
.woo-vou-popup-content .description small {
  margin-left: 5px;
}
.woo-vou-popup-overlay {
  display: none;
  background-color: #000000;
  height: 100%;
  left: 0;
  opacity: 0.75;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
}
.woo-vou-header-title {
  float: left;
  padding: 6px 10px 0;
}
.woo-vou-popup-close {
  float: right;
  padding: 6px 10px 0;
  text-align: right;
}
.woo-vou-header {
  background-color: #0085ba;
  color: #fff;
  height: 35px;
  position: relative;
  width: 100%;
}
.woo-vou-popup table.form-table th {
  font-weight: bold;
  padding: 7px !important;
  font-family: verdana !important;
  font-size: 13px !important;
}
.woo-vou-popup table.form-table td {
  padding: 3px 10px !important;
}
.woo-vou-popup table.form-table {
  margin-bottom: 10px;
}
.woo-vou-popup.used-codes table.form-table td,
.woo-vou-popup.used-codes table.form-table th {
  padding: 3px 10px !important;
  border: 1px solid #000000 !important;
}
.woo-vou-popup.used-codes table.form-table {
  border: 1px solid #000000;
}
.woo-vou-popup table.form-table {
  width: 100% !important;
  font-family: verdana !important;
}
.woo-vou-popup table.form-table input[type="text"],
.woo-vou-popup table.form-table select {
  width: 100px;
}
.woo-vou-loader-wrap .woo-vou-loader {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: -8px auto 0;
}

/* new css */
.woo-vou-preview-pdf-wrap .woo_vou_preview_pdf {
  display: block;
  margin-bottom: 20px;
}

.woo-vou-table-filter-wrap {
  display: inline-block;
  vertical-align: top;
}
.woo-vou-table-filter-wrap > input {
  background-color: #fff !important;
  border: 1px solid #aaa !important;
  border-radius: 4px !important;
  color: #444 !important;
  line-height: 28px !important;
  height: 28px !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  margin-bottom: 10px !important;
}
.woo-vou-table-filter-wrap > input[type="checkbox"] {
  margin-left: 10px !important;
}
.woo-vou-table-filter-wrap select + span {
  margin-bottom: 10px;
}
table td.order-deleted-column {
  text-align: center;
  font-weight: bold;
  color: #e62525 !important;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .woo-vou-check-code .col-3 {
    float: left;
    width: 29%;
    padding: 0 5px;
  }
  .woo-vou-check-code .col-4 {
    width: 46% !important;
    padding: 0 5px;
  }
  .woo_pdf_res_buyer,
  .woo_pdf_res_order {
    margin: 0px 10px 0 0 !important;
  }
  .inside {
    overflow: scroll;
  }
  .woo-vou-popup-content .woo-vou-header {
    position: absolute;
  }
  .woo_pdf_vou_pro_lst .woo_pdf_res_vou {
    float: unset !important;
    margin: 0 !important;
  }
  .woo_vou_product_details h2 {
    padding: 0 10px;
  }
}
.woo-vou-hide-section {
  display: none;
}
/*** START: Redeem popup **/
.woo-vou-popup-content {
  margin: 0 auto 10px;
  height: auto;
  display: none;
  position: absolute;
  border: 1px solid #555555;
  top: 60px;
  text-align: left;
  left: 10%;
  width: 800px;
  background: none repeat scroll 0 0 #ffffff;
  z-index: 1002;
  overflow: hidden;
  font:
    14px "Lucida Grande",
    Verdana,
    Arial,
    sans-serif;
  box-shadow: 0 4px 30px #000000;
  color: #000000;
}
.woo-vou-loader {
  display: none;
  position: relative;
}
.woo-vou-popup-content.woo-vou-voucher-redeem-content .woo-vou-popup {
  height: auto;
}
.woo-vou-popup-content.woo-vou-voucher-redeem-content {
  width: 800px;
  position: fixed;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}
.woo-vou-popup {
  overflow: auto;
  padding: 25px;
}
.woo-vou-popup
  table.form-table.woo-vou-voucher-voucher-redeem-table
  td:first-child {
  width: 19%;
}
.woo-vou-popup table.form-table.woo-vou-voucher-voucher-redeem-table td {
  padding-bottom: 10px !important;
  vertical-align: top;
}
.woo-vou-popup table.form-table.woo-vou-voucher-voucher-redeem-table td {
  padding-bottom: 10px !important;
  vertical-align: top;
}/*** END: Redeem popup **/


.woo-loder-wrap {
  background-color: rgba(255, 255, 255, 0.5);
  height: 100%;
  position: absolute;
  width: 100%;
  display: none;
  z-index: 99;
}
.woo-loder-wrap img {
  top: 50%;
  bottom: 50%;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}
