/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
#bru_bulk_container {
    margin-top: 15px;
}

.bru_bulk_form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.bru_bulk_form .price {
    width: 20%;
    flex-grow: 1;
}
.selection_rows .woocommerce-Price-amount {
    width: 20%;
}

.bru_bulk_form .price {
    color: #4a4a4a;
}

.selection_rows .bru_bulk_pa_size,
.bru_bulk_form .size {
    width: 25%;
    flex-grow: 1;
}

.selection_rows .bru_bulk_pa_color,
.bru_bulk_form .color {
    width: 25%;
    flex-grow: 1;
}

.selection_rows .bru_bulk_quantity {
    width: 20%;
}
.bru_bulk_form .bru_quantity {
    width: 10%;
}

.selection_rows button,
.bru_bulk_form .remove {
    min-width: 8%;
}

.bru_bulk_form .titles {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
    border-bottom: 1px solid #003e6d;
}

.bru_bulk_form .selection {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}

.bru_bulk_cart caption{
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #e9e9e9;
}
.bru_bulk_cart td{
    font-weight: inherit;
}
.bru_bulk_cart .primary_product{
    font-weight: bold;
}
.bru_bulk_cart tbody tr:nth-of-type(even) {
    background-color: #009ffc10;
}

#bru_bulk_quantity {
    min-height: 40px;
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
}

#bru_bulk_container p {
    text-align: center;
    margin: 0;
    background-color: #009ffc10;
}

.bru_bulk_container .collapsible {
    width: 100%;
    text-align: left;
    outline: none;
}

.bru_bulk_container .collapsible:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.bru_bulk_container .active:after {
    content: '\2212';
}

.bru_bulk_form.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out, padding 0.1s ease-out;
    background-color: #fbfbfb;
}

.bru_bulk_form.content.open {
    max-height: 1000px;
    padding: 18px;
}

/*button loading*/
#bru_bulk_add,
.bru_bulk_form .selection_rows .woocommerce-Price-amount {
    position: relative;
}

#bru_bulk_add.text {
    font: bold 20px 'Quicksand', san-serif;
    color: #ffffff;
    transition: all 0.2s;
}

.bru_bulk_form .selection_rows .woocommerce-Price-amount bdi {
    color: #57bf6d;
    transition: all 0.2s;
}

#bru_bulk_add.loading .text,
.bru_bulk_form .selection_rows .woocommerce-Price-amount.loading bdi {
    visibility: hidden;
    opacity: 0;
}

#bru_bulk_add.loading::after,
.bru_bulk_form .selection_rows .woocommerce-Price-amount.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

.bru_bulk_form .selection_rows .woocommerce-Price-amount.loading::after {
    border-top-color: #57bf6d;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

/*bulk table*/
.bru_container {
    position: relative;
}

#bru_error_message button {
    color: #ba3939;
    background: #ffe0e0;
    border: 1px solid #a33a3a;
    font-size: 1.1em;
}

#bru_error_message button:hover {
    background: #b74c4c;
    color: #ffe0e0;
}

#bru_table thead tr th {
    font-weight: bold;
}

#bru_table,
#bru_table th,
#bru_table td {
    border: none;
    text-align: center;
    border-collapse: collapse;
}

#bru_table thead tr {
    border-bottom: 2px solid #003e6d;
}

#bru_table tbody tr:nth-of-type(odd) {
    background-color: #009ffc10;
}

#bru_table tbody tr {
    transition: all 0.25s ease;
    cursor: pointer;
}

#bru_table tbody tr:hover {
    transform: scale(1.05);
    background-color: #efefef;
    font-weight: 500;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
    pointer-events: none;
}

.blur {
    filter: blur(5px);
}

.hidden {
    display: none;
    visibility: hidden;
}

/*
 *  https://loading.io/css/
 */
.lds-roller {
    position: absolute;
    width: 75px;
    height: 75px;
    left: 50%;
    top: 15%;
    transform: translate(-50%, -50%);
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: ' ';
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #009ffc;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
    background: red;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
    background: orange;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
    background: yellow;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
    background: green;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
    background: #009ffc;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
    background: blue;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
    background: indigo;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
    background: violet;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
