input.posturinn_tariff_deleteRow {
    border-radius: 50%;
    border: 1px solid #7e7e7e;
    background-color: #fff;
    padding: 0px 7px 3px 7px !important;
}
input.posturinn_tariff_deleteRow:hover {
    cursor: pointer;
    background-color: red;
    color: #fff;
}
.postis-order-table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2px;
    background-color: transparent;
    border-collapse: collapse;
}

.postis-order-table th,
.postis-order-table .postis-order-tbody td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 2px solid #cececeb0;
    text-align: center;
}

.postis-order-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #e9ecef;
}

.postis-order-table tbody+tbody {
    border-top: 2px solid #e9ecef;
}

.postis-order-table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #e9ecef;
}

.postis-create-shipment-btn-wrap {
    text-align: right;
    display: block;
    margin-top: 22px;
}

.postis-shipment-create-loader img {
    margin-top: 4px;
    width: 25px;
}

/*Form CSS*/

.postis-admin-shipment-options-wrapper .postis-form-group {
    margin-bottom: 15px
}

.postis-admin-shipment-options-wrapper .postis-checkbox-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer
}

.postis-admin-shipment-options-wrapper .postis-form-control {
    display: block;
    width: 100%;
    color: #555;
    background-color: #fff;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.postis-row:after,
.postis-row:before {
    display: table;
    content: " "
}

.postis-row:after {
    clear: both
}

.postis-row {
    margin-right: -15px;
    margin-left: -15px;
    display: -ms-flexbox;
    display: flex;
}

.postis-admin-shipment-options-wrapper .postis-form-group label {
    display: inline-block;
    margin-bottom: .5rem;
    font-size: 14px;
    font-weight: 700;
}

.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px
}

@media (min-width:992px) {
    .col-md-1,
    .col-md-10,
    .col-md-11,
    .col-md-12,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9 {
        float: left
    }
    .col-md-12 {
        width: 100%
    }
    .col-md-11 {
        width: 91.66666667%
    }
    .col-md-10 {
        width: 83.33333333%
    }
    .col-md-9 {
        width: 75%
    }
    .col-md-8 {
        width: 66.66666667%
    }
    .col-md-7 {
        width: 58.33333333%
    }
    .col-md-6 {
        width: 50%
    }
    .col-md-5 {
        width: 41.66666667%
    }
    .col-md-4 {
        width: 33.33333333%
    }
    .col-md-3 {
        width: 25%
    }
    .col-md-2 {
        width: 16.66666667%
    }
    .col-md-1 {
        width: 8.33333333%
    }
}

.postis-create-shipment-again-btn {
    display: block;
    float: right;
}

.postis-admin-created-shipment-wrapper .postis-delete-shipment {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.postis-admin-created-shipment-wrapper .postis-delete-shipment:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.postis-admin-created-shipment-wrapper .postis-delete-shipment:focus,
.postis-admin-created-shipment-wrapper .postis-delete-shipment.focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

/*CSS For Order Edit Page*/

#postis_order_shipment .inside {
    text-align: center;
}

#TB_window {
    width: 630px !important;
    height: auto !important;
}
div#TB_ajaxContent {
    height: auto !important;
}

div#TB_ajaxContent form.postis-submit-shipment-options select {
    padding: 0.5rem 1rem;
    border: 1px solid rgb(152, 152, 152);
    border-radius: 0.5rem;
    width: 100%;
    line-height: 2;
}
div#TB_ajaxContent .select-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);;
    gap: 10px; /* Adjust the gap as needed */
    width: 100%;
    box-sizing: border-box;
}

div#TB_ajaxContent .flex-field {
    width: 100%;
    box-sizing: border-box;
}

div#TB_ajaxContent .select-container label {
    display:block;
    font-size: 1rem;
    margin-bottom: .5em;
}

div#TB_ajaxContent input#postis-phonenumber-valid {
    width: 100%;
    font-size: 1rem;
    height: 2.8rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(152, 152, 152);
    background-color: rgb(255, 255, 255);
    color: rgb(78, 85, 90);
    padding: 0.5rem 1rem;
}

div#TB_ajaxContent input.button.button-primary {
    background-color: rgb(255, 0, 0);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: bold;
}

    .accordion-title {
        cursor: pointer;
        padding: 10px 0;
        width: fit-content;
        text-align: left;
        font-size: 1.7em;
        color: red;
        font-weight: 400;
        margin-top: 1.3em;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .accordion-title:after {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/> </svg>');
        transition: transform 0.2s ease-out;
        margin-left: 1rem;
    }

    .accordion-title.accordion-active:after {
        transform: rotate(180deg); /* Rotate arrow up */
    }

    .form-container {
        display: none;
        overflow: hidden;
        max-width: 800px;
        margin: 0 auto;
        transition: max-height 0.2s ease-out;
    }

    .modern-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
        border: 1px solid rgb(152, 152, 152);
        border-radius: 0.5rem;
        padding: 0.5rem;
        font-size: 16px;
    }

    .modern-label {
        font-size: 16px;
        font-weight: bold;
        color: #333;
        flex: 2;
    }

    .modern-input {
        border: none;
        background: none;
        padding: 0;
        font-size: 16px;
        flex: 1;
        text-align: right;
    }

    input#insuranceAmount, input#reference {
        min-width: 200px;
    }

    .modern-price {
        font-size: 16px;
        color: #333;
        flex: 1;
        text-align: right;
        padding-right: 10px;
    }
    .modern-row label, .modern-row input[type=checkbox] {
        cursor: pointer;
    }
    body .modern-checkbox {
        appearance: none;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 3px;
        width: 1.5rem;
        height: 1.5rem;
        display: inline-block;
        position: relative;
        cursor: pointer;
        transition: border-color 0.3s ease-in-out;
        margin-left: 10px;
        line-height: 20px;
        margin:unset;
    }
    body input[type=checkbox].modern-checkbox:checked::before {
        margin:unset;
    }

    .modern-checkbox:checked {
        background-color: #ff4081;
        border-color: #ff4081;
    }

    .modern-checkbox:checked::after {
        content: '✔';
        color: #fff;
        position: absolute;
        top: 0;
        left: 6px;
    }

    .postis-generic-error-section {
        display: none;
        border-left: 4px solid #ffba00;
        padding: 3px 7px;
        margin: 1em 0;
    }






















.postis-cod-alert-msg {
    color: #f90909;
    padding: 8px;
    background: antiquewhite;
    margin-bottom: 7px;
    display: block;
    border-left: 2px solid #f70404;
}

/*
.option-line-contractAttached, .option-line-recipientPaysPostage {
    display: none;
}
*/

/*Simple Accordions*/

.postis-accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin: 5px 0;
}

.active,
.postis-accordion:hover {
    background-color: #ccc;
}

.postis-accordion-panel {
    padding: 0 18px;
    display: none;
    background-color: white;
    overflow: hidden;
}

.postis-accordion-panel table {
    margin: 10px 0;
}

.postis-accordion-panel table caption {
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 2px solid;
}

.postis-inter-contents-options input#descriptionOfContents {
    width: 200px;
}

.postis-inter-contents-options input#goodsQuantity {
    max-width: 50px;
}

.postis-inter-contents-options input#valueForCustoms {
    max-width: 80px !important;
}

.postis-inter-contents-options input#valueForCustomsCurrency {
    max-width: 50px;
}

.postis-inter-contents-options input#hsTariffNumber {
    max-width: 100px;
}

.postis-inter-contents-options input#countryOfOrigin {
    max-width: 32px;
}

.postis-international-contents h3 {
    margin-bottom: unset !important;
}
