table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
th, td {
    padding: 15px;
    width: 20%;
}
table {
    border-spacing: 5px;
}

table.noborder {
    border-spacing: 5px;
    border: 0px solid black;

}

th.noborder, td.noborder {
    padding: 5px;
    border: 0px solid black;

}

table.centertable {
    width:90%;
    margin-left:5%;
    margin-right:5%;
}

.centertext {
    text-align:center;
}

.loader {
    margin-left: 45%;
    margin-right: 55%;
    border: 16px solid gold; /* Light grey #f3f3f3 */
    border-top: 16px solid darkblue; /* Blue #3498db */
    border-bottom: 16px solid darkblue; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

input, textarea {

    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    text-align:center;
    width:50%;
}

input.expander:focus {
    width: 75%;
}

input.smallinput {
    width: 15em;
}

input[type=button], input[type=submit], input[type=reset], button {
    background-color: darkblue;
    border: none;
    color: white;
    padding: 10px 32px;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    font-weight: bold;
}

.redtext {
    color: red;
}

.greentext {
    color: green;
}

h4.lessspace, h3.lessspace, h2.lessspace, h1.lessspace {
    margin: 0px;
}

button.large {
    font-size: large;
}

.row {
    display: flex;
}
.cell {
    background: #000000;
    color: #ffffff;
    width: 90px;
    height: 60px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.screen {
    background: #000000;
    color: #ffffff;
    width: 1000px;
    height: 10px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.frontspace {
    background: #ffffff;
    color: black;
    width: 1700px;
    height: 20px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.roadspace {
    background: #ffffff;
    color: black;
    width: 1500px;
    height: 5px;
    flex: 0 0 auto;
    text-align: center;
    padding: 0px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.screenspace {
    background: #ffffff;
    color: black;
    width: 350px;
    height: 10px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.carstd {
    background: #000000;
    color: #ffffff;
    width: 45px;
    height: 60px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 0px solid #fff;
    border-bottom: 3px solid #fff;
    margin-right: 5px;
}

.carstdspace {
    background: #ffffff;
    color: #000000;
    width: 45px;
    height: 60px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 0px solid #fff;
    border-bottom: 3px solid #fff;
    margin-right: 1px;
}

.carwide {
    background: #000000;
    color: #ffffff;
    width: 60px;
    height: 80px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 0px solid #fff;
    border-bottom: 3px solid #fff;
    margin-right: 5px;
}

.carwidespace {
    background: #ffffff;
    color: #000000;
    width: 60px;
    height: 80px;
    flex: 0 0 auto;
    text-align: center;
    padding: 12px;
    border-right: 0px solid #fff;
    border-bottom: 3px solid #fff;
    margin-right: 1px;
}

.available {
    background: black;
}

.taken {
    background: lightgrey;
}

.selected {
    background: dodgerblue;
}

.enteremail {
    height: 56px;
    box-sizing: border-box;
    border: 1px solid #E0E2E3;
    background-color: white;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    text-align: left;
    padding-left: 15px;
    margin-bottom: 5px;
}

.enteremail:focus {
    border: 1px solid #4A90E2;
}

/*.gobackbutton {
    height: 56px;
    margin-top: 10px;
    background: #4A90E2;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -ms-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
    position: absolute;
    left: 50%;
}*/

#backtoseats {
    color: #4A90E2;
    font-weight: bold;
    font-size: 16px;
}

#backtoseats:hover {
    color: #4281CB;
}

/* Square Stuff */

#form-container {
    position: relative;
    width: 380px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
}

.third {
    float: left;
    width: calc((100% - 32px) / 3);
    padding: 0;
    margin: 0 16px 16px 0;
}

.third:last-of-type {
    margin-right: 0;
}

/* Define how SqPaymentForm iframes should look */
.sq-input {
    height: 56px;
    box-sizing: border-box;
    border: 1px solid #E0E2E3;
    background-color: white;
    border-radius: 6px;
    display: inline-block;
    -webkit-transition: border-color .2s ease-in-out;
    -moz-transition: border-color .2s ease-in-out;
    -ms-transition: border-color .2s ease-in-out;
    transition: border-color .2s ease-in-out;
}

/* Define how SqPaymentForm iframes should look when they have focus */
.sq-input--focus {
    border: 1px solid #4A90E2;
}

/* Define how SqPaymentForm iframes should look when they contain invalid values */
.sq-input--error {
    border: 1px solid #E02F2F;
}

#sq-card-number {
    margin-bottom: 16px;
}

/* Customize the "Pay with Credit Card" button */
.button-credit-card {
    width: 100%;
    height: 56px;
    margin-top: 10px;
    background: #4A90E2;
    border-radius: 6px;
    cursor: pointer;
    display: block;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -ms-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}

.button-credit-card:hover {
    background-color: #4281CB;
}

/* Customize the Apple Pay on the Web button */
/* CSS */
@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
    }
    .apple-pay-button-black {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line {
        -apple-pay-button-style: white-outline;
    }
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
}