/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 /**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .wc_lotery_countdown-rtl {
        direction: rtl;
}
.wc_lotery_countdown-holding span {
        color: #888;
}
.wc_lotery_countdown-row {
        clear: both;
        width: 100%;
        padding: 0px 2px;
        text-align: center;
}
.wc_lotery_countdown-show1 .wc_lotery_countdown-section {
        width: 98%;
}
.wc_lotery_countdown-show2 .wc_lotery_countdown-section {
        width: 48%;
}
.wc_lotery_countdown-show3 .wc_lotery_countdown-section {
        width: 32.5%;
}
.wc_lotery_countdown-show4 .wc_lotery_countdown-section {
        width: 24.5%;
}
.wc_lotery_countdown-show5 .wc_lotery_countdown-section {
        width: 19.5%;
}
.wc_lotery_countdown-show6 .wc_lotery_countdown-section {
        width: 16.25%;
}
.wc_lotery_countdown-show7 .wc_lotery_countdown-section {
        width: 14%;
}
.wc_lotery_countdown-section {
        display: block;
        float: left;
        font-size: 75%;
        text-align: center;
}
.wc_lotery_countdown-amount {
    font-size: 200%;
}
.wc_lotery_countdown-period {
    display: block;
}
.wc_lotery_countdown-descr {
        display: block;
        width: 100%;
}


span.winning {
        min-height: 52px;
        min-width: 32px;
        padding: 4px;
        font-size: 12px;
        font-weight: bold;
        position: absolute;
        text-align: center;
        line-height: 52px;
        top: -16px;
        left: -16px;
        margin: 0;
        -moz-border-radius: 20px;
        border-radius: 40px;
        background: #a2c094;
        background: -webkit-gradient(linear,left top,left bottom,from(#a2c094),to(#85ad74));
        background: -webkit-linear-gradient(#a2c094,#85ad74);
        color:#fff;
}

.widget .hasCountdown{background: none; border:none;}
.widget .wc_lotery_countdown_amount {font-size:120%}
.widget .time-left,.widget  .has-finished{display: block}
.hasCountdown .over {text-align: center; padding:1em;}
.ajax-working {
        background: url(../images/ajax-loader.gif) center center no-repeat; 
        width: 100%; 
        height:50px;
        }
.lottery-bage{
        background: url(../../admin/images/digital-lottery.png) center center no-repeat; 
        background-size: 100%; 
        width:24px; 
        height: 24px; 
        position: absolute; 
        right:10px; 
        top:10px;
        z-index: 55;
        }

.auction_form .ui-spinner-button.ui-spinner-up.ui-corner-tr.ui-button.ui-widget.ui-state-default.ui-button-text-only {
  bottom: 5px;
  right: 5px;
  cursor: pointer;
}
.auction_form .ui-spinner-button {
  position: absolute;
}
.auction_form .ui-spinner-button.ui-spinner-down.ui-corner-br.ui-button.ui-widget.ui-state-default.ui-button-text-only {
  right: 5px;
  top: 0;
  cursor: pointer;
}

.auction_form .ui-spinner {
  height: 16px;
  overflow: hidden;
  padding-right: 20px;
  position: relative;
}

.blink{ color:red !important; }


progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  /* Get rid of default border in Firefox. */
  border: none;

  /* Dimensions */
  width: 100%;
  height: 20px;
}
progress[value]::-webkit-progress-bar {
  background-color: whiteSmoke;
  border-radius: 2px;

}
progress[value]::-webkit-progress-value {
           background-color:#8bcf69;
    border-radius: 2px;


}

.full > progress[value]::-webkit-progress-value{
  background-color: red;
}


.wcl-progress-meter{
        position: relative;
        margin-top: 3em;
  margin-bottom: 2em;
}
.wcl-progress-meter meter {width: 100%; height: 20px;
 -webkit-appearance: none;
  border: 1px solid #ccc;
  border-radius: 3px;
position: relative;}

.wcl-progress-meter meter::-webkit-meter-bar {
  background: none; /* Required to get rid of the default background property */
  background-color: whiteSmoke;

}

.wcl-progress-meter meter::-webkit-meter-optimum-value {
  box-shadow: 0 5px 5px -5px #999 inset;
  background: #8bcf69;

}



.wcl-progress-meter meter::-webkit-meter-suboptimum-value {
  box-shadow: 0 5px 5px -5px #999 inset;
  background: #e6d450;

}


.wcl-progress-meter .zero {
  display: block;
  position: absolute;
  top: -100%;

}

.wcl-progress-meter .min {
  display: block;
  position: absolute;
  top: -100%;
}

.wcl-progress-meter .max {
  display: block;
  position: absolute;
  top: -100%;
  right: 0;
}
.lottery-question{
        display:block!important;
        font-size:22px!important;
        font-weight:900!important;
        padding-top:20px!important;
}
.lottery-ajax-change {
    margin-top: 40px;
    display: block;
}
.lottery-time:after{
  content: "";
  clear: both;
  display: table;
}
span.sold {
  position: absolute;
  bottom: 30px;
  left: 35%;
}
/*========================================================*/
ul.tickets_numbers {margin: 0 0 1em 0; padding-top: 0; clear: both;}
ul.tickets_numbers::after { content: ""; clear: both; display: table;}
ul.tickets_numbers li.tn{ 
        display: block; 
        list-style: none; 
        border: 1px solid #000; 
        padding: 15px 0; 
        float: left; 
        width: 60px; 
        height:60px; 
        text-align: center; 
        margin: 0.5em; 
        cursor: pointer; 
        font-size: 1em; 
        font-weight: 700; 
        white-space: nowrap;
}
ul.tickets_numbers.working, ul.tickets_numbers.working li{ cursor: wait; }
ul.tickets_numbers li.taken{ background: #ed6363; background: #ed636380; cursor: not-allowed;}
ul.tickets_numbers li.working{ opacity: 0.4; }
ul.tickets_numbers li.in_cart{ background: #f2c84c; background: #f2c84cbd; cursor: not-allowed;}
ul.tickets_numbers li.reserved{ background: #FCE7E7; background: #FCE7E7; cursor: not-allowed;}
ul.tickets_numbers li.selected{ background: #8bcf69 !important}
ul.tickets_numbers li:hover{ background: #8bcf69; background: #8bcf697a;}
ul.tickets_numbers li.taken:hover{ background: #8bcf69;background: #8bcf698f;}

ul.digital-lottery-answers{margin: 0 0 1em 0; padding-top: 0; clear: both; width: 100%}
ul.digital-lottery-answers li{ display: block; list-style: none; border: 1px solid #000; padding:1em;  width: 100%;  margin: 0 0 4px 0; cursor: pointer; font-size: 1em; font-weight: 700;}
ul.digital-lottery-answers li.selected{background: #8bcf69}
ul.digital-lottery-answers li.selected.false{background: #ed6363}

.ticket-tab-bar{ width: 100%; overflow: hidden; }
.ticket-tab-bar .ticket-tab-bar-item {
        padding: 8px 16px; 
        float: left; 
        width: auto; 
        border: none; 
        display: block; 
        outline: 0; 
        opacity: 0.6;
        margin: 1px;
}
.ticket-tab-bar .ticket-tab-bar-item.ticket-tab-active{opacity: 1}
.ticketnumber-tab-container{margin:0; padding: 0; list-style: none; display: block;}
.ticketnumber-tab-container > ul {margin:0; padding: 0;}

.cart.pick-number.hidden-qty .quantity{ display: none; }
.cart.pick-number.hidden-qty .lucky_dip .quantity{ display: inline-block; }
div.lucky_dip{ margin-bottom: 10px; }
div.lucky_dip button:disabled { opacity: 0.5 !important;  cursor: not-allowed !important; }

.lucky-dip-button-second {margin-right: 10px;}
.lucky-dip-text{margin-bottom: 10px;}
.alertable .gtc{float: right}
.alertable-buttons {clear: both; margin-top: 10px;}
#lottery_answer_drop{width: 100%; padding: 10px}

/**
 * Elementor support
 */
 .woocommerce div.product.elementor .elementor-lucky-dip {
        margin: 0;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
 }
.elementor-lucky-dip--align-right .elementor-lucky-dip {
        -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.elementor-lucky-dip--align-left .elementor-lucky-dip {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start; }
.elementor-lucky-dip--align-center .elementor-lucky-dip {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center; }

.elementor-lucky-dip--align-justify .elementor-lucky-dip button{
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
}
.woocommerce div.product.elementor .elementor-elementor-lucky-dip--align-justify .lucky_dip {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
}

.woocommerce div.elementor-widget-woocommerce-product-lucky-dip .lucky_dip  {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
}

th.woocommerce-orders-table__header.woocommerce-orders-table__header {min-width: 160px;}
h4.woocommerce-products-header__title.page-title.mytickets {
                display: inline-table; 
                margin: 0 15px 0 15px; 
                padding: 5px 25px 5px 25px;
                font-size: 16px;
        }
header.woocommerce-products-header {margin-bottom: 15px}
h4.woocommerce-products-header__title.page-title.mytickets a {text-decoration: none;}
h4.woocommerce-products-header__title.page-title.mytickets.active, 
h4.woocommerce-products-header__title.page-title.mytickets.active, 
h4.woocommerce-products-header__title.page-title.mytickets:hover
{background: #eee}

.loop-product-countdown {
                margin-bottom: 15px;
                width: 100%;
        }
.loop-lottery-time-countdown .wc_lotery_countdown-section{
        padding: 0px 5px
}
.loop-lottery-time-countdown .wc_lotery_countdown-section .wc_lotery_countdown-period{
        line-height: 0px;
}
#data tr {  
  display: none;  
}  
#table-lottery {  
  font-family: Arial, Helvetica, sans-serif;  
  border-collapse: collapse;  
  width: 100%;  
}  
#table-lottery td, #table-lottery th {  
  border: 1px solid #ddd;  
  padding: 8px;  
}  
#table-lottery tr:nth-child(even){ background-color: #f2f2f2; }  
  
#table-lottery tr:hover {  
background-color: #ddd;  
}  
#table-lottery th {  
  padding-top: 12px;  
  padding-bottom: 12px;  
  text-align: left;  
  background-color: #4CAF50;  
  color: white;  
}  

.simple-pagination ul {
        margin: 0 0 20px;
        padding: 0;
        list-style: none;
        text-align: center;
}

.simple-pagination li {
        display: inline-block;
        margin-right: 5px;
}

.simple-pagination li a,
.simple-pagination li span {
        color: #666;
        padding: 5px 10px;
        text-decoration: none;
        border: 1px solid #EEE;
        background-color: #FFF;
        box-shadow: 0px 0px 10px 0px #EEE;
}
.simple-pagination li a{
        padding: 5px 10px !important;
}

.simple-pagination .current {
        color: #FFF;
        background-color: #4CAF50;
        border-color: #4CAF50;
}

.simple-pagination .prev.current,
.simple-pagination .next.current {
        background: #4CAF50;
}
/*Registration form style*/
* {
  box-sizing: border-box;
}
.registration-container{
        max-width: 800px;
        margin: auto;
}
.registration-container input, .registration-container select, .registration-container textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.registration-container label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

.registration-container button[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

.registration-container button[type=submit]:hover {
  background-color: #45a049;
}
.registration-container{
        border-radius: 5px;
        background-color: #f2f2f2;
        padding: 20px;
}
.registration-container .col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

.registration-container .col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.registration-container .row:after {
  content: "";
  display: table;
  clear: both;
}
.required{
  color: #f73636;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
        .registration-container .col-25, .registration-container .col-75, .registration-container button[type=submit] {
                width: 100%;
                margin-top: 0;
        }
        .registration-container{
                width: 100%;
                margin: auto;
        }
}
.digital-lottery-signup-form input.error,
.digital-lottery-signup-form select.error{
        border: 1px solid #ec1212 !important
}
.finish-lottery-single{
        max-width: 800px;
    margin: auto;
}
.finish-lottery-single{
        max-width: 800px;
    margin: auto;
}
.finish-lottery-single table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

.finish-lottery-single table td, 
.finish-lottery-single table th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

.finish-lottery-single table tr:nth-child(even) {
  background-color: #dddddd;
}
.first-page, .last-page, .prev-page, .next-page {
    padding: 5px;
    font-size: 28px;
    line-height: 20px;
}
.woocommerce .quantity .qty {
    width: 100% !important;
}
.woocommerce div.product form.cart .button {
    padding: 10px !important;
}
#digital-lottery h3{
        width: 100%;
    overflow: hidden;
}
.ticketnumber-tab-container{
        display: none
}
.alertable .gtc{float: right}
.alertable-buttons {clear: both; margin-top: 10px;}
.woocommerce ul.products li.product .button {
        display: inline-block;
        margin-top: 1em !important;
}
#proof-bank-payment{
        display: none
}
.canvas-ticket{
        position: relative
}
.downloadCanvas{
        padding: 0px !important;
    margin: 0px !important;
    background: transparent !important;
    color: #3e3d3e !important;
    border: none !important;
    cursor: pointer !important;
}
@import url('https://fonts.googleapis.com/css2?family=Play:wght@700&display=swap');
.lottery-tickets{
        background: #fff;
        padding: 20px 0;
}
#lottery-ticket{
        padding: 20px 0;
}
.ticket-wrapper {
    display: flex;
    flex-direction: column;
    width: 350px;
    height: auto;
    min-height: 500px;
    overflow: hidden;
    border: 4px dashed #e56f0a;
    font-family: 'Play';
    margin: 20px auto;
}       
                .ticket-left {
                        width: 100%;
                        border-right: none;
                        border-bottom: 2px dotted #000;
                        margin-right: 0;
                        margin-bottom: 10px;
                        position: relative;
                        padding: 15px;
                        order: 2;
                }
        .ticket-left .name, 
        .ticket-left .phone, 
        .ticket-left .email, 
        .ticket-left .ticket-numsmall,
        .ticket-left .address {
                font-size: 14px;
                line-height: 30px;
                display: flex;
        }
.ticket-left span {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #cccc;
    margin-left: 10px;
}
                .ticket-url {
                        font-size: 12px;
                        position: absolute;
                        bottom: 3px;
                }
                .ticket-right{
                        width: 100%;
                        height: 200px;
                        position: relative;
                        order: 1;
                }
                .ticket-banner{
                        width: 100%;
                        height: 100%
                }
                .ticket-banner img{
                        width: 100%;
                        height: 100%
                }
.ticket-number {
        position: absolute;
        top: 4px;
        right: 4px;
        z-index: 55;
        background: #e56f0a;
        overflow: hidden;
        padding: 2px 10px;
        border-radius: 50%;
        font-size: 22px;
        color: #fff !important;
        min-width: 70px;
        text-align: center;
}
.ticket-number  p,
.ticket-numsmall p{
        margin: 0px !important; 
        padding: 0px !important; 
        color: #fff;
}
.ticket-numsmall span {
        border-bottom: none;
        background: #e56f0a;
        padding: 0px !important;
        display: initial;
        width: auto;
        border-radius: 50%;
        color: #fff;
        min-width: 40px;
        text-align: center;
}
/* Mobile responsive styles */
@media screen and (max-width: 480px) {
        .ticket-wrapper {
                width: 95%;
                max-width: 320px;
                min-height: 450px;
                margin: 10px auto;
                border-width: 2px;
        }
        .ticket-left {
                padding: 10px;
        }
        .ticket-left .name, 
        .ticket-left .phone, 
        .ticket-left .email, 
        .ticket-left .ticket-numsmall,
        .ticket-left .address {
                font-size: 12px;
                line-height: 25px;
        }
        .ticket-right {
                height: 150px;
        }
        .ticket-number {
                font-size: 18px;
                min-width: 60px;
                padding: 1px 8px;
        }
        .ticket-url {
                font-size: 10px;
        }
}

@media print {
  body {
    visibility: hidden;
  }
        #lottery-ticket{
                visibility: visible;
                position: absolute;
                left: 0;
                top: 0;
        }
}
#lottery-canvas-ticket{
        text-align: center;
}
.download-button{
        width: 100px;
        margin: auto
}
.print-button {
  width: 100%;
  text-align: center
}
.print-button a {
        width: 30px;
        height: 30px;
        display: block;
        color: #000;
}
.woocommerce-orders-table .woocommerce-orders-table__cell a,
.woocommerce-orders-table .woocommerce-orders-table__cell p{
        font-size: 16px;
        text-align: center;
}
.woocommerce-orders-table .woocommerce-orders-table__cell img{
        width: 70px !important;
        height: auto !important;
}
