$base-spacing-unit: 24px;
$half-spacing-unit: $base-spacing-unit - 4;

$color-alpha: #1772FF;
$color-form-highlight: #EEEEEE;

*,
*:before,
*:after {
    box-sizing: border-box;
}

.table-container {
    /* max-width: 1000px; */
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.table {
    width:100%;
    border:1px solid $color-form-highlight;
    overflow-x: auto;
    white-space: inherit !important;
}

.table-header {
    display: flex;
    width: 100%;
    background: #000;
    padding: ($half-spacing-unit * 1.5) 0;
}

.table-row {
    display: flex;
    width: 100%;
    padding: ($half-spacing-unit * 1.5) 0;

    &:nth-of-type(odd) {
        background: $color-form-highlight;
    }
}

.table-content {
    height: 50%;
    max-height: 60vh;
}

.table-data,
.header__item {
    width: 50px;
    flex: 1 1 20%;
    text-align: center;
    padding: 10px 10px;
}

.header__item {
    text-transform: uppercase;
}

.filter__link {
    color: white;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-left: $base-spacing-unit;
    padding-right: $base-spacing-unit;

    &::after {
        content: '';
        position: absolute;
        right: -($half-spacing-unit * 1.5);
        color: white;
        font-size: 24px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.white-panel {
    position: absolute;
    background: white;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.white-panel h1 {
    font-size: 1em;
}

.white-panel h1 a {
    color: #A92733;
}

.white-panel:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    margin-top: -5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.modal {
    max-height: -webkit-fill-available;
    width: -webkit-fill-available;
    display: block;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.Modal {
    background-color: rgba(0, 0, 0, 0.322) !important;
    max-width: calc(100vw);
    max-height: calc(var(--window-height)) !important;
}

.modal-content {
    border: none;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background-color: unset !important;
}

.modal-body {
    padding: 5%;
    background-color: white;
}

.modal-body img {
    border-radius: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-open {
    position: relative;
}

.close {
    margin: 50px;
    cursor: pointer;
    font-size: 30px;
    color: black !important;
    opacity: unset !important;
}

@media only screen and (max-width: 715px) {
    .table-container {
        position: relative;
    }

    .table {
        width: 100%;
        padding-left: unset;
        padding-right: unset;
    }

    .table-header {
        font-size: 2vw;
    }

    .table-content {
        font-size: 2vw;
    }
}

.ProductForm__AddToCart{
    display: inline-block !important;
}
.Button--half {
    width: 49%;
}
.spiff-spinner-outer {
    animation: rotator 1s linear infinite;
}

.spiff-spinner-inner {
    stroke-dasharray: 45 180;
}

@keyframes rotator {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 640px) {
    #shopify-section-product-template+.shopify-section--bordered {
        border-top: 0;
    }

    #shopify-section-product-template+.shopify-section--bordered>.Section {
        padding-top: 0;
    }
}
