
.woo-vou-loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 00px auto;
    display: block;
    position: absolute;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    transform: translate(-50%, -50%);
    line-height: normal;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.woo_vou_filter_ajax_response{
	min-height: 248px;	
}


#dashboard_widget_voucher_overview .postbox-header .hndle{

}
#dashboard_widget_voucher_overview .postbox-header .hndle{
	justify-content: unset;
}
#dashboard_widget_voucher_overview .postbox-header .hndle span{
	margin-right: 8px;
}

#woo-vou-export-advcsv-btn,#woo-vou-export-csv-btn,#woo-vou-pdf-btn{
	margin-top: 11px;
}

.woo_vou_license-activation-notice {
	position: relative;
}
a.woo-vou-voucher-location-link {
    text-decoration: none;
}
.show_if_variation_downloadable.woo-vou-variation-voucher-options {
    display: none;
}
p.woo-vou-voucher-website-url{
	word-break: break-word;
}
.woo-vou-hide-section{
  display: none;
}
.woo-vou-block-section{
  display: block;
}
.woo-vou-inline-block-section{
  display: inline-block;
}
.woo-voo-order-status-notice-position{
	position: relative;
}
.form-field input.woo-vou-checkbox{
	float: left;
}
.form-field label.woo-vou-cust-checkbox-label,
.form-field label.woo-vou-cust-text-label{
	display: block;
	float: none;
	width: auto !important;
}
.mupload_img_holder > img,
.form-field .mupload_img_holder > img{
	width: 150px;
}
.woo-vou-select-custom-desc{
	padding: 5px;
}
#woo_vou_voucher .woo_vou_custom_select_field label.woo-vou-custom-select-label{
	display: inline-block;
	width: 20%;
}
.woo-vou-meta-repater-block .woo-vou-location-label,
.woo-vou-meta-repater-block .woo-vou-locationlink-label{
	display:inline-block;
	max-width:130px;
	width:100%
}
.woo-vou-meta-field-end{
	clear: both;
}
.woo-vou-color-picker-wrapper{
	position:relative;
}
.woo-vou-color-picker-wrapper .colorpicker{
	z-index:100;
	position:absolute;
	display:none;
}
p.discount-on-desc{
    display: block;
    margin-left: 154px !important;
}
textarea.woo-vou-field-textarea{
	width: 99% !important;
	height:200px;
}
input.woo-vou-filename-input, input.woo-vou-datetime-input, input.woo-vou-field-uploader, input.woo-vou-field-uploader-preview{
	min-width: 300px;
}
table.woo-vou-wrapper.form-table input[type=checkbox], table.woo-vou-wrapper.form-table input[type=radio] {
	margin: 10px 0 !important;
	vertical-align: middle;
}
.woo_vou_tooltip a {
    box-shadow: unset;
}
#woo_vou_partial_used_voucode{
	float: none;
}
.woo-vou-download-qr-img{
	padding: 10px; background-color: #fff;
}
.button.woo-vou-download-qr-btn{
	margin-top:10px;margin-bottom:10px;
}

#locations .woo-vou-cust-description {
    float: unset;
    display: block;
    margin: 10px 0;
}

.woo-vou-recipient-detail .handlediv {
    pointer-events: none;
}

.woocommerce_variable_attributes input.woo_vou_hide_recipient_fields {
    margin: 2px 5px !important;
}

.meta-box-sortables .woo-vou-meta-bg-image-wrap .woo-vou-meta-upload_image_button {
    font-size: 16px;
    font-weight: 500;
    background: #2271B1;
    padding: 6px 25px;
    color: #FFFFFF;
    border-radius: 6px;
    line-height: 30px !important;
    background: #2271B1 url(../images/upalod-icon.png) no-repeat;
    padding-left: 50px;
    background-position: 20px;
}

#mainform .select2-container .select2-selection--multiple .select2-search__field {
    padding: 2px 15px !important;
}


@media screen and (min-width:768px) and (max-width:1023px) {
	.woo-vou-purchased-codes-popup, .woo-vou-used-codes-popup, .woo-vou-unused-codes-popup, .woo-vou-import-content {
		position: fixed !important;
	    top: 50% !important;
	    left: 50% !important;
	    width: 85% !important;
	    transform: translate(-50%, -50%);
	}
	#woo_vou_voucher .description {
	    clear: both;
	    float: left;
	    margin: 0 0 0 24%;
	    padding: 0;
	        padding-right: 0px;
	    padding-right: 15px;
	    line-height: 24px;
	}
	div#woo_vou_voucher div p.form-field._woo_vou_locations_field span.description {
		margin: 0px !important;
	}
	div#woo_vou_voucher div p.form-field._woo_vou_map_link_field span.description {
		margin: 0px !important;
	}
	#woo_vou_voucher .vou_clearfix{
	    padding: 5px !important;
	    width: 100% !important;
    }	
}
@media screen and (max-width:767px) {
	.woo-vou-purchased-codes-popup, .woo-vou-used-codes-popup, .woo-vou-unused-codes-popup, .woo-vou-import-content {
	    position: fixed !important;
	    top: 50px !important;
	    left: 0 !important;
	    width: 100% !important;
	}
    .auto-fold #wpcontent {
        padding: 0 10px !important
    }
	#woocommerce-product-data .hndle input, #woocommerce-product-data .hndle select {
    	margin: 5px 0 !important;
	}
	#woo_vou_voucher input[type="checkbox"], #woo_vou_voucher input[type="radio"] {
		width: 25px;
		clear: both;
		margin-right: 5px;
		display: inline-block;
	}
	#woo_vou_voucher label.woo-vou-meta-multi-checkbox-label {
    	margin-top: 6px;
	}
	#postcustomstuff .submit input {
    	margin: 5px 0;
	}
    .wrap {
        margin: 0;
    }
	.woo_vou_tooltip  {
		position: unset;
	}
	.woocommerce table.form-table input[type=text].woo-vou-field-uploader
	, .woocommerce table.form-table input[type=text].woo-vou-field-uploader-preview{
		margin-bottom: 10px;
	}
	.woocommerce table.form-table textarea.woo-vou-field-textarea{
		margin-bottom: 4px;
	}
	#woo_vou_voucher {
		padding: 5px;
    } 
	#woo_vou_voucher ._woo_vou_discount_on_tax_type_field .woo-vou-custom-meta-label {
	    width: 60% !important;
	}
	#woo_vou_voucher ._woo_vou_coupon_minimum_spend_amount_field .woo-vou-custom-meta-label, #woo_vou_voucher ._woo_vou_coupon_maximum_spend_amount_field .woo-vou-custom-meta-label{
		width: 70% !important;
	}
	#woo_vou_voucher ._woo_vou_coupon_minimum_spend_amount_field .description, #woo_vou_voucher ._woo_vou_coupon_maximum_spend_amount_field .description{
		margin: 0px !important;
	}
}
@media screen and (max-width:767px) {
	 #woo_vou_voucher ._woo_vou_vendor_user_field span.select2.select2-container.select2-container--default, 
     #woo_vou_voucher ._woo_vou_pdf_template_field span.select2.select2-container.select2-container--default, 
      #woo_vou_voucher ._woo_vou_using_type_field span.select2.select2-container.select2-container--default, 
       #_woo_vou_voucher_delivery_fieldr ._woo_vou_sec_vendor_users_field span.select2.select2-container.select2-container--default,  
       #woo_vou_voucher ._woo_vou_vendor_user_field span.select2.select2-container.select2-container--default,  
       #woo_vou_voucher ._woo_vou_vendor_user_field span.select2.select2-container.select2-container--default, 
       #woo_vou_voucher ._woo_vou_exp_type_field .select2, 
       #woo_vou_voucher ._woo_vou_vendor_user_field span.select2.select2-container.select2-container--default.select2-container--below,
       #woo_vou_voucher ._woo_vou_sec_vendor_users_field span.select2.select2-container.select2-container--default {
    	min-width: 100% !important;
    	width: 100% !important;
	}
	#woo_vou_voucher .woo_vou_custom_select_field label.woo-vou-custom-select-label{
		width: 60% !important;	
	}
	.button.button-small.wp-picker-clear{
		height: 32px !important;
    	line-height: 1;
    	min-height: unset !important;
	}
	.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year{
		width: 50%;
		padding: 5px 22px 5px 8px;
	}
	#woo_vou_voucher .woocommerce_options_panel .select2-container {
        min-width: 100% !important;
    }
    #woo_vou_voucher .vou_clearfix{
    	display: inline-block;
	    margin: 0;
	    padding: 0px !important;
	    width: 100% !important;
    }
    .select2-container {
		width: 100% !important;
		min-width: 100% !important;
	}
	#woo-vou-order-voucher-details .inside{
       padding: 0px;
       margin: 10px;
       overflow-x: auto;
    }
    #woo-vou-order-voucher-details .inside .widefat.woo-vou-history-table{
        width: 200%;
    }
}
.woo_vou_tooltip .woo_vou_main_buttons div {
    margin-top: 10px;
    margin-bottom: 10px;
}

td.woo_vou_ajax_editor iframe {
    height: 100% !important;
}



#woo_vou_voucher {
    padding: 15px 25px;
}

ul.woo-vou-add-tabination.woo-vou-inline-block-section {
    border: 1px solid rgb(29 35 39 / 50%);
    border-radius: 6px;
    overflow: hidden;
    padding: 6px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

div#woo_vou_voucher ul.woo-vou-add-tabination li a {
    color: #1D2327;
    font-size: 16px;
    padding: 10px 25px;
    font-weight: 500;
    display: inline-block;
}

div#woo_vou_voucher ul.woo-vou-add-tabination li.woo-vou-tab-active a {
    background: #f2f2f2;
    background: #2271B1;
    padding: 10px 25px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    vertical-align: middle;
}

div#woo_vou_voucher ul.woo-vou-add-tabination li {
    border-bottom: none;
    margin: 0;
    padding: 0;
    border-right: none;
}

#woo_vou_voucher label {
	font-weight: 700;
}

#woo_vou_voucher input[type=text], #woo_vou_voucher input[type=number], #woo_vou_voucher textarea {
    background-color: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: rgb(29 35 39 / 70%) !important;
    padding: 7px 20px !important;
}

#woo_vou_voucher .select2-container--default .select2-selection--single {
    background: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: rgb(29 35 39 / 70%) !important;
    padding: 7px 10px !important;
    height: 44px !important;       
}

#woo_vou_voucher .select2-container .select2-selection--single .select2-selection__arrow
 {
    right: 7px !important;
    height: 40px !important;
    width: 40px !important;
}

#woo_vou_voucher .button-secondary {
    font-size: 16px;
    font-weight: 500;
    background: #2271B1;
    padding:6px 25px;
    color: #FFFFFF;
    border-radius: 6px;
    line-height: 30px !important;
}


.recipient-detail-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin-left: 21%;
}

.recipient-detail-wrap .form-field._woo_vou_recipient_name_is_required_field.woo-vou-inline-block-section, .recipient-detail-wrap .form-field._woo_vou_recipient_email_is_required_field.woo-vou-inline-block-section,
.recipient-detail-wrap .form-field._woo_vou_recipient_message_is_required_field.woo-vou-inline-block-section, .recipient-detail-wrap .form-field._woo_vou_recipient_giftdate_is_required_field.woo-vou-inline-block-section,
.recipient-detail-wrap .form-field._woo_vou_recipient_phone_is_required_field.woo-vou-inline-block-section, .recipient-detail-wrap .form-field._woo_vou_recipient_giftdate_is_required_field.woo-vou-inline-block-section

{
    display: flex !important;
    align-items: center; 
    gap: 10px;
}


.recipient-detail-wrap .form-field._woo_vou_recipient_name_is_required_field.woo-vou-inline-block-section label, .recipient-detail-wrap .form-field._woo_vou_recipient_email_is_required_field.woo-vou-inline-block-section label,
.recipient-detail-wrap .form-field._woo_vou_recipient_message_is_required_field.woo-vou-inline-block-section label, .recipient-detail-wrap .form-field._woo_vou_recipient_giftdate_is_required_field.woo-vou-inline-block-section  label,
.recipient-detail-wrap .form-field._woo_vou_recipient_phone_is_required_field.woo-vou-inline-block-section label, .recipient-detail-wrap .form-field._woo_vou_recipient_giftdate_is_required_field.woo-vou-inline-block-section  label {
	margin-bottom: 0;
}

#woo_vou_voucher .woo-vou-recipient-detail-wraps.ui-sortable {
    border: 1px solid rgb(29 35 39 / 20%);
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
}

#woo_vou_voucher .woo-vou-recipient-detail-wraps.ui-sortable .woo-vou-recipient-label {
	font-size: 18px;
	font-weight: 500;
	line-height: 100%;
	padding-top: 5px;
    display: inline-block;
}

div.woo-vou-recipient-detail div.woo-vou-data {
    padding-bottom: 8px;
    border-top: 1px solid rgb(29 35 39 / 20%);
}

#woo_vou_voucher .wc-metabox .handlediv::before {
    content: "" !important;
    display: inline-block;
    background: url(../images/arrow-down.svg) no-repeat;
    right: 0;
    top: 7px;
}

 

.woo-vou-popup-content {
    left: 0 !important;
    right: 0  !important;
    margin: 0 auto;
    position: fixed;
    max-width: 900px;
    width: 90%;
    z-index: 99999;
    padding: 30px 40px;
    border-radius: 12px;
}

.woo-vou-close-button img {
    max-width: 16px;
}

.woo-vou-popup input[type=text] {
	background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    color: #1D2327;
    opacity: 0.5;
    padding:3px 10px;
}

.woo-vou-popup input[type=file] {
    padding: 3px 0;
    cursor: pointer;
    border: 1px solid #CBD5E1;
    padding: 10px;
    border-radius: 6px;
}

.woo-vou-popup input[type=file]::file-selector-button {
  padding: 7px 15px;
  border-width: 0;
  border-radius: 6px;
  background: #2271B1;
  color: #FFFFFF;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  margin-right: 1em;
}

 
.woo-vou-popup .button-secondary  {
    font-size: 16px;
    font-weight: 500;
    background: #2271B1;
    padding:6px 25px;
    color: #FFFFFF;
    border-radius: 6px;
    line-height: 30px !important; 
}

 #woo_vou_voucher .woo-vou-load-more-wrap .woo-vou-used-load-more-btn, #woo_vou_voucher .woo-vou-load-more-wrap .button-primary  {
    font-size: 16px !important;
    font-weight: 500 !important;
    background: #2271B1 !important;
    padding:6px 25px !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
    line-height: 30px !important; 
}

.woo-vou-popup .button-secondary:hover {
    background-color: transparent;
    color: #2271B1;
}

.woo-vou-popup select {
	background-color: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    color: #1D2327;
    opacity: 0.5;
    padding:3px 10px;
}

.woo-vou-popup table.form-table th {
    font-weight: bold;
    padding: 7px !important;
    font-size: 14px !important;
    background: rgb(29 35 39 / 8%);
}

.woo-vou-popup.used-codes table.form-table {
    /* border: 1px solid #000000; */
    border: 1px solid #1D23274D;
    border-radius: 6px;
    overflow: auto;
    border-collapse: unset;
    border-spacing: 0;
}

#woo_vou_voucher div.woo-vou-data p {
	display: block;
}


.woo-vou-recipient-detail-wraps .recipient-delivery-method-detail-wrap ._woo_vou_recipient_delivery_label_field {
	margin-left: 21%;
}

td.forminp.forminp-radio ul {
    display: flex;
    gap: 30px;
}

.woo-vou-popup-content  .woo-vou-header {
    color: #2271B1 !important; 
    background: transparent !important;
}



.woo-vou-popup-content .woo-vou-purchased-load-more  .woo-vou-purchased-load-more-btn  {
    font-size: 16px;
    font-weight: 500;
    background: #2271B1;
    padding: 6px 25px;
    color: #FFFFFF;
    border-radius: 6px;
    line-height: 30px !important;
}


@media screen and (min-width:568px) and (max-width:767px) {
    .nav-tab-wrapper, .wrap h2.nav-tab-wrapper {
        margin-bottom: 20px;
    }
	#profile-page .form-table textarea, .form-table span.description, .form-table td input[type=email], .form-table td input[type=password], .form-table td input[type=text], .form-table td select, .form-table td textarea {
    	height: auto;
	}
}
@media screen and (max-width:567px) {
    .woo-vou-content-section .nav-tab-wrapper .nav-tab {
        margin: 0 0 10px 0;
        width: calc(100% - 25px);
    }
	#profile-page .form-table textarea, .form-table span.description, .form-table td input[type=email], .form-table td input[type=password], .form-table td input[type=text], .form-table td select, .form-table td textarea {
    	height: auto;
	}
	.woo-vou-purchased-codes-popup table.form-table th.voucher_code, .woo-vou-used-codes-popup table.form-table th.voucher_code {
    	width: 30%;
	}
	.woo-vou-purchased-codes-popup, .woo-vou-used-codes-popup, .woo-vou-unused-codes-popup, .woo-vou-import-content {
	    position: fixed !important;
	    top: 50px !important;
	    left: 0 !important;
	    width: 100% !important;
	}
	.woo-vou-popup {
		padding: 15px
	}
	.woo-vou-popup table.form-table td {
    	padding: 3px 0 !important;
	}
	#woo_vou_voucher .form-field textarea {
		width: 100%;
	}
	.woocommerce_options_panel fieldset.form-field, .woocommerce_options_panel p.form-field {
    	padding: 5px 5px !important;
	}
	.woocommerce_options_panel input[type=email], .woocommerce_options_panel input[type=number], .woocommerce_options_panel input[type=password], .woocommerce_options_panel input[type=text] {
    	width: 95% !important;
	}

	div.woo-vou-multi-check-box-wrapper {
		width: 98%;
	}

	td.forminp.forminp-radio ul {
	    gap: 10px;
	    flex-wrap: wrap;
	}

	.wc-wp-version-gte-53 .select2-container .select2-selection--single .select2-selection__rendered {
	    line-height: 28px !important;
	}

}

.toggle-switch {
    opacity: 0;
    position: absolute !important;
    left: 0 !important;
    display: none !important;
}

input.toggle-switch {
    position: relative;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #838383;
    transition: 0.4s;
    border-radius: 34px;
    width: 40px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.switch:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .switch {
    background-color: #1958F4;
} 

input:checked + .switch:before {
    transform: translateX(18px);
}

p.form-field._woo_vou_voucher_uses_limit_field.voucher_users_limit.woo-vou-inline-block-section {
    display: block;
}