/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

#modal_first_time h3 {
    padding: 0 !important;
    width: 33%;
}
label+a, label {
    vertical-align: unset;
}
#modal_first_time h3 {
    color: #2271b1;
    position: relative;
    text-align: center;
    padding: 0 20px;
    display: inline-block;
}
.title {
    display: unset;
}
#modal_first_time h3:before,
#modal_first_time h3:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50%;
    height: 2px;
    background-color: #2271b1;
}
#modal_first_time h3:before {
    right: 100%;
    margin-right: 10px;
}

#modal_first_time h3:after {
    left: 100%;
    margin-left: 10px;
}
#tables-filter .alignleft {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.filter_blocks_wrapper {
    display: flex;
    width: 100%;
}
.select_order_status_automation{
    width: 1200px;
}
.filter_block {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
}
.apply_btn {
    text-align: center;
}
.btn_order {
    text-align: right !important;
}
.filter_blocks_wrapper .select2-container--default .select2-selection--single {
    border: 1px solid rgb(140, 143, 148);
    border-radius: 3px;
}
.filter_blocks_wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #2c3338;
    font-size: 14px;
}
.filter_blocks_wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 30px;

}
.tablenav .filter_block input {
    line-height: 28px;
    margin-right: 15px;
}
.tablenav .filter_block label {
    margin-bottom: 0;
    margin-right: 25px;
}
.message_for_automation_fix
{
    padding-left: 100px;
}
.tablenav .left_wrap .filter_block label {
    width: 45px;
}
.tablenav .filter_block select {
    float: none;
    max-width: 230px;
    width: 100%;
}
.tablenav .left_wrap .filter_block select {
    max-width: 192px;
}
.tablenav .right_wrap .filter_block label {
    width: 116px;
}

.filter_blocks_wrapper .left_wrap, .filter_blocks_wrapper .right_wrap {
    max-width: 600px;
    width: 100%;
}
#primer_order_table .filter_blocks_wrapper .right_wrap {
    max-width: 380px;
    width: 100%;
}
#primer_order_table .apply_btn {
    margin-right: 10px;
}
#primer_receipt_table .apply_btn {
    margin-right: -10px;
}

.tablenav .left_wrap .filter_block label[for=order_date_to] {
    width: auto;
}

#tables-filter .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    max-width: 230px;
    width: 100%;
}

#primer_receipt_table .filter_blocks_wrapper .right_wrap {
    min-width: 350px;
}

.bootstrap-select .btn-light {
    background-color: transparent;
    border: 1px solid #8c8f94;
    color: #2c3338;
    font-size: 14px;
}
#tables-filter .bootstrap-select>.dropdown-toggle.bs-placeholder {
    color: #2c3338;
}
#tables-filter .bootstrap-select .btn {
    padding: 0 12px 0 8px;
    line-height: 28px;
}
#tables-filter .bootstrap-select .btn:hover {
    background-color: transparent;
    border: 1px solid #8c8f94;
    color: #2271b1;
}
#tables-filter .show>.btn-light.dropdown-toggle {
    background-color: transparent;
}
#tables-filter .dropdown-menu {
    font-size: 14px;
}

/*#tables-filter .tablenav.bottom {
    display: none;
}*/

.submit.convert_orders {
    display: flex;
    justify-content: flex-end;
}

.submit{
    margin: 15px 0 !important;
}

.ui-datepicker-calendar thead {
    display: none;
}

.submit.convert_orders.convert_receipts .button.download-btn.hide, .button-primary.download-btn.hide {
    display: none;
}
.button-primary.download-btn {
    margin-left: 10px;
}

.primer_options .cmb-form form {
    margin: 0;
    padding: 0 20px;
}
.primer_options .cmb-form .metabox-holder h3.title {
    font-size: 18px;
    font-weight: 600;
    padding: 20px 0 0 20px;
}

.primer_options .cmb-form form .button-primary {
    font-size: 16px;
    height: 32px;
    line-height: 16px;
    margin: 20px 0;
    padding: 0 15px 2px;
}


.button-danger,
.button-danger:hover {
    font-size: 13px;
    height: 32px;
    line-height: 16px;
    margin: 20px 0;
    padding: 0 15px 2px;
    background-color: #c92020; /* Change the color to red */
    border: none; /* Remove border if any */
    color: #fff; /* Text color, adjust as needed */
    cursor: pointer;
    height: 30px;
    border-radius: 3px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.button-danger:hover {
    background-color: #b1223c; /* Darker red on hover */
}

input.subsidiary-radio:checked::before {
    content: "✔";
    color: white;
    font-size: 0.8rem;
    line-height: 0.8rem;
    border-radius: 0;
    width: 0.8rem;
    height: 0.8rem;
    margin: 0.1875rem;
    background-color: #3582c4;
    position: relative;
    top: 50%;
    transform: translateY(-72%) translateX(-7%);
    display: inline-block;
}





.primer_options .cmb-row.cmb-type-select.cmb2-id-invoice-type {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.primer_options .cmb-form .send_tested_email {
    margin-top: 5px;
    margin-bottom: 25px;
}

.cmb2-wrap .regular-text.input_title {
    border: none;
    background-color: transparent;
    font-weight: 600;
    font-size: 14px;
}
.cmb2-wrap .regular-text.input_title:focus {
    box-shadow: none;
}

#primer_conditions_repeat .inside.cmb-td.cmb-nested.cmb-field-list {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
}
#primer_conditions_repeat .inside.cmb-td.cmb-nested.cmb-field-list .cmb-row .cmb-th, #primer_conditions_repeat .inside.cmb-td.cmb-nested.cmb-field-list .cmb-row .cmb-td {
    width: auto;
}
#primer_conditions_repeat .inside.cmb-td.cmb-nested.cmb-field-list .cmb-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex: 1;
}
#primer_conditions_repeat .inside.cmb-td.cmb-nested.cmb-field-list .cmb-row[data-fieldtype=checkbox] {
    margin-bottom: 2px;
    margin-left: 5%;
}
#primer_conditions_repeat .cmb-th label {
    white-space: nowrap;
}

#primer_automation .cmb2-id-send-email-to-admin .cmb-td, #primer_automation .cmb2-id-send-successful-log .cmb-td, #primer_automation .cmb2-id-send-failed-log .cmb-td {
    padding-top: 22px;
}

#primer_automation .cmb2-id-log-button {
    float: left;
}
#primer_automation .cmb2-id-log-button .cmb-td {
    padding-left: 0;
}

#primer_mydata .cmb2-id-company-logo .cmb-td {
    display: flex;
    flex-direction: column;
}

#primer_mydata .cmb2-id-company-logo .cmb-td h3 {
    order: 0;
}
#primer_mydata .cmb2-id-company-logo .cmb-td .company_img {
    order: 1;
}

#primer_mydata .cmb2-id-company-logo .cmb-td .cmb2-metabox-description {
    order: 2;
}
.send_receipts_wrap {
    margin-right: 30px;
}

.primer_popup {
    background: rgba(100, 100, 100, 0.5);
    position: fixed;
    display: none;
    z-index: 5000;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.divider{
    width:5px;
    height:auto;
    display:inline-block;
}
.left_detail{
    float: left;
}
.right_detail{
    float:right;
}
.mid_detail{

    bottom: 0;
    left: 40%;
    padding-top:17%;

}
.mid_detail_step2{
    bottom: 0;
    left: 40%;
   padding-top:36%;

}
.mid_detail_step3{
    bottom: 0;
    left: 40%;
    float:right;
}
.mid_detail_step3{
    bottom: 0;
    left: 40%;

}
.company_activity{


    font-size: 15px;
    font-weight: bold;
}
.cp_sname{

    font-size: 15px;
    font-weight: bold;
}

.cp_adress{

    font-size: 15px;
    font-weight: bold;
}
.detail_cp{
    font-size: 15px;
    font-weight: bold;
    text-align: justify;
}
.cp_name{

    font-size: 15px;
    font-weight: bold;
}
.company_input{

    float: left;
    font-size: 15px;
    font-weight: bold;
}
.cp_input{
    width: 175px;
    padding-bottom: 40px;

}

.primer_popup > div {
    max-width: 700px;
    width: 60%;
    max-height: 70vh;
    overflow-y: auto;
    position: fixed;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    background: #FFFFFF;
    padding: 1% 2% 1% 2%;
    z-index: 5001;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
    /*display: inline-block;*/
}


.primer_popup > div button.popup_ok {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.primer_popup.popup_error > div {
    border: 5px solid #d63638;
}
.primer_popup.popup_success > div {
    border: 5px solid #00a32a;
}

#primer_receipt_log_table .tablenav .actions {
    width: 100%;
}
#primer_receipt_log_table .filter_blocks_wrapper {
    margin-top: 30px;
}

@keyframes ldio-drsjmtezgls {
    0% { opacity: 1 }
    100% { opacity: 0 }
}
.ldio-drsjmtezgls div {
    left: 94px;
    top: 48px;
    position: absolute;
    animation: ldio-drsjmtezgls linear 1s infinite;
    background: #675d5d;
    width: 12px;
    height: 24px;
    border-radius: 6px / 12px;
    transform-origin: 6px 52px;
}.ldio-drsjmtezgls div:nth-child(1) {
     transform: rotate(0deg);
     animation-delay: -0.9166666666666666s;
     background: #675d5d;
 }.ldio-drsjmtezgls div:nth-child(2) {
      transform: rotate(30deg);
      animation-delay: -0.8333333333333334s;
      background: #675d5d;
  }.ldio-drsjmtezgls div:nth-child(3) {
       transform: rotate(60deg);
       animation-delay: -0.75s;
       background: #675d5d;
   }.ldio-drsjmtezgls div:nth-child(4) {
        transform: rotate(90deg);
        animation-delay: -0.6666666666666666s;
        background: #675d5d;
    }.ldio-drsjmtezgls div:nth-child(5) {
         transform: rotate(120deg);
         animation-delay: -0.5833333333333334s;
         background: #675d5d;
     }.ldio-drsjmtezgls div:nth-child(6) {
          transform: rotate(150deg);
          animation-delay: -0.5s;
          background: #675d5d;
      }.ldio-drsjmtezgls div:nth-child(7) {
           transform: rotate(180deg);
           animation-delay: -0.4166666666666667s;
           background: #675d5d;
       }.ldio-drsjmtezgls div:nth-child(8) {
            transform: rotate(210deg);
            animation-delay: -0.3333333333333333s;
            background: #675d5d;
        }.ldio-drsjmtezgls div:nth-child(9) {
             transform: rotate(240deg);
             animation-delay: -0.25s;
             background: #675d5d;
         }.ldio-drsjmtezgls div:nth-child(10) {
              transform: rotate(270deg);
              animation-delay: -0.16666666666666666s;
              background: #675d5d;
          }.ldio-drsjmtezgls div:nth-child(11) {
               transform: rotate(300deg);
               animation-delay: -0.08333333333333333s;
               background: #675d5d;
           }.ldio-drsjmtezgls div:nth-child(12) {
                transform: rotate(330deg);
                animation-delay: 0s;
                background: #675d5d;
            }
.loadingio-spinner-spinner-chyosfc7wi6 {
    width: 200px;
    height: 200px;
    display: none;
    overflow: hidden;
    background: transparent;
    position: fixed;
    top: 250px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ldio-drsjmtezgls {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
}
.ldio-drsjmtezgls div { box-sizing: content-box; }

.cmb2-id-system-check .cmb-td {
    display: flex;
}
.cmb2-id-system-check #primer_get_system_info {
    margin-left: 20px;
}
.primer_popup.popup_check_info > div {
    border: 5px solid #2271b1;
}
.primer_popup.popup_check_info p {
    text-align: left;
    font-size: 16px;
}
.primer_popup.popup_check_info .info_wrap {
    background-color: #ebeaea;
    text-align: left;
    font-size: 16px;
    padding: 10px;
}
.primer_popup.popup_check_info .info_wrap .info-row {
    display: flex;
    align-items: center;
}
.primer_popup.popup_check_info .info_wrap .info-label {
    font-weight: 700;
    padding-right: 15px;
    white-space: nowrap;
}
.primer_popup.popup_check_info .info_wrap .info_success {
    color: green;
}
.primer_popup.popup_check_info .info_wrap .info_error {
    color: red;
}

.primer_popup.popup_check_info .info_wrap .info_wordpress_version_not_latest{
    color: orange;
}

.plugin_caption_version {
    font-style: italic;
    font-size: 12px;
    color: #838383;
    border-bottom: 1px solid #838383;
}

#primer_licenses .cmb2-id-license-key .cmb-td {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#primer_licenses .cmb2-id-license-key .cmb-td p {
    margin-left: 10px;
}

#primer_automation .cmb2-id-disable-title {
    padding-bottom: 40px;
}

.disable_functionality {
    padding-bottom: 20px;
    text-align: center;
}
.seriesclass{
display: inline;
}
.testing2{
    float:left;
}
.usertouppercase{
    text-transform:uppercase;
}
#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-gr-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-gi-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-within-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-outside-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-credit-receipt-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-credit-invoice-series .cmb-th{
        width:100px;
}
#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-gr-test-api-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-gi-test-api-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-within-test-api-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-invoice-numbering-outside-test-api-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-credit-receipt-test-api-series .cmb-th,#cmb2-metabox-primer_mydata .cmb2-id-credit-invoice-test-api-series .cmb-th{
    width:100px;
}
#cmb2-metabox-primer_export .cmb2-id-mydata-export-from .cmb-th{
    width: 60px;
}
#cmb2-metabox-primer_export .cmb2-id-mydata-export-to .cmb-th{
    width: 60px;
}

#primer_export .export_columns {
    display: flex;
    justify-content: space-between;
}
#primer_export .export_column {
    width: calc(25% - 10px);
}
#primer_export .type_wrap {
    display: flex;
    align-items: center;
}
#primer_export .type_wrap div[data-fieldtype="checkbox"] .cmb-th {
    width: 15px;
}
#primer_export .type_wrap div[data-fieldtype="checkbox"] .cmb-th, #primer_export .type_wrap div[data-fieldtype="checkbox"] .cmb-td {
    padding-bottom: 20px;
}
#primer_export .cmb-th+.cmb-td {
    min-width: 120px;
}
#primer_export .cmb2-wrap select {
    width: 100%;
}

#primer_export .primer_popup > div {
    height: auto;
}

#primer_export .title_field .cmb-th, #primer_export .title_field .cmb-td {
    padding-bottom: 0;
}
#primer_export .title_field label {
    font-weight: 400;
    pointer-events:none;
}
#primer_export .title_field input {
    border: none;
    pointer-events:none;
    background-color: transparent;
}

.primer_product_types .wc-radios {
    display: flex !important;
    margin-left: -20px !important;
}

.primer_product_types .wc-radios li {
    padding-left: 20px !important;
}

/* Payments */
#refund-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
}

#refund-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 90%;
}

#refund-modal h3 {
    margin: 0;
}

#refund-amount-input {
    flex-grow: 1;
    padding: 8px;
    font-size: 16px;
}

#refund-error-message {
    color: red;
    margin-top: 10px;
    display: none;
}

.payments-enter-amount {
    margin-top: 15px;
    font-weight: bold;
}

.filters-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: row;
}

.payments-button-filters {
    margin-left: 10px;
}

.payments-button-filters #filter_action {
    padding: 0 40px;
}

.payment-filers-labels {
    font-weight: 600;
    margin-left: 10px;
}

.payment-filers-labels-no-margin {
    font-weight: 600;
    margin-left: 0;
}

.payments-links {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.refund-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.refund-amount-input-div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-payments-head {
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    font-size: 42px !important;
    padding: 10px 0 30px !important;
}
.payment-weight-500 {
    font-weight: 500 !important;
}
.payment-weight-400 {
    font-weight: 400 !important;
}

h3[id^="subsidiary_"], h3.title {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}


input.locked-by-qty,
input.locked-by-amount {
    background-color: #fef2f2;
    color: #666;
    opacity: 0.75;
    cursor: not-allowed;
    border-color: #fda4af;
}

input.locked-by-qty:hover,
input.locked-by-amount:hover {
    background-color: #fee2e2;
}