.homeMainDiv {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.header {
    position: absolute;
    width: 100%;
    height: 50px;
    background: none !important;
}

.homeMainDiv {
    position: relative;
    box-sizing: border-box;
}

.tableFixHead {
    overflow-y: auto;
    height: 100%;
}

    .tableFixHead th {
        position: sticky;
        top: 0;
    }

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px 16px;
    color: #555;
    vertical-align: middle !important;
    text-align: center
}

.qtyField {
    width: 50px;
}

.b2b-price {
    width: 8%;
}

th {
    background: #B11E3A;
    color: #fff;
    text-align: center;
}

.lds-spinner {
    color: official;
    display: block;
    position: absolute;
    right: 50%;
    top: 50%;
    margin-top: -32px;
    margin-right: 32px;
}

.lds-spinner-data {
    right: 45vw;
}

.lds-spinner-more {
    right: 0;
    left: 5vw;
    top: -2vw;
    position: relative;
}


.lds-spinner div {
    transform-origin: 32px 32px;
    animation: lds-spinner 1.2s linear infinite;
}

    .lds-spinner div:after {
        content: " ";
        display: block;
        position: absolute;
        top: 3px;
        left: 29px;
        width: 5px;
        height: 14px;
        border-radius: 20%;
        background: gray;
    }

    .lds-spinner div:nth-child(1) {
        transform: rotate(0deg);
        animation-delay: -1.1s;
    }

    .lds-spinner div:nth-child(2) {
        transform: rotate(30deg);
        animation-delay: -1s;
    }

    .lds-spinner div:nth-child(3) {
        transform: rotate(60deg);
        animation-delay: -0.9s;
    }

    .lds-spinner div:nth-child(4) {
        transform: rotate(90deg);
        animation-delay: -0.8s;
    }

    .lds-spinner div:nth-child(5) {
        transform: rotate(120deg);
        animation-delay: -0.7s;
    }

    .lds-spinner div:nth-child(6) {
        transform: rotate(150deg);
        animation-delay: -0.6s;
    }

    .lds-spinner div:nth-child(7) {
        transform: rotate(180deg);
        animation-delay: -0.5s;
    }

    .lds-spinner div:nth-child(8) {
        transform: rotate(210deg);
        animation-delay: -0.4s;
    }

    .lds-spinner div:nth-child(9) {
        transform: rotate(240deg);
        animation-delay: -0.3s;
    }

    .lds-spinner div:nth-child(10) {
        transform: rotate(270deg);
        animation-delay: -0.2s;
    }

    .lds-spinner div:nth-child(11) {
        transform: rotate(300deg);
        animation-delay: -0.1s;
    }

    .lds-spinner div:nth-child(12) {
        transform: rotate(330deg);
        animation-delay: 0s;
    }

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.img-responsive {
    margin: 0 auto;
}

.imageBox {
    text-align: center;
    height: 100%;
    border: 1px solid black;
    width: 260px;
    float: right;
    position: relative;
}

.btn-primary {
    background: #B11E3A !important;
    border-color: #B11E3A !important;
}

input[type=number] {
    text-align: center
}

.imgTip {
    position: absolute;
    top: 50%;
    margin-top: -33px;
    padding: 15px;
}

.firstRowHomeB2B {
    z-index: 999;
    display: flex;
    height: 45%;
    padding-top: 50px;
    box-sizing: border-box;
}

.secondRowHomeB2B {
    height: 55%;
    padding-top: 50px;
    box-sizing: border-box;
    padding-bottom: 10px;
}

.rowClient {
    display: flex;
    align-items: center;
}

.form-control:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: 1px solid #B11E3A;
}

@media screen and (max-height: 600px) {
    body, html, .homeMainDiv {
        overflow: auto !important;
    }

    div#homepageProductsDiv {
        position: relative !important;
    }

    .firstRowHomeB2B {
        height: 65% !important;
    }

    .secondRowHomeB2B {
        height: 100% !important;
    }
}

@media screen and (min-height: 1024px) {
    .firstRowHomeB2B {
        height: 25%;
    }

    .secondRowHomeB2B {
        height: 75%;
        margin-top: 80px;
    }
}

@media screen and (min-height: 1200px) {

    .secondRowHomeB2B {
        margin-top: 40px;
    }
}

@media screen and (min-height: 1300px) {
    .firstRowHomeB2B {
        height: 18%;
    }

    .secondRowHomeB2B {
        height: 82%;
    }
}

@media screen and (max-width: 1023px) {

    .img-responsive {
        max-height: 245px;
        margin-top: 0 !important;
    }

    .lds-spinner-more {
        left: 16vw;
        top: -5vh;
    }
}

div#finalCustomerDiv {
    position: absolute;
    width: 100%;
    top: 50%;
    margin-top: -48px;
}

div#homepageProductsDiv {
    height: 100%;
    position: fixed;
    width: 100%;
}

.nice-select, .nice-select.open .list {
    width: 100%;
}

    .nice-select.open > .list {
        width: 100%;
        max-height: 300px;
        overflow-y: scroll;
    }

.form-group > label {
    display: block !important;
    text-align: left !important;
    margin: 10px 0 10px 0 !important;
}

.header-links-wrapper {
    margin: 0;
}


.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.checkout-attributes {
	width: 100%;
}
dd textarea {
	width: 100%;
	resize: none
}