:root {
    /* FastSpring theme colours */
    --fs-midnight: #1D224D;
    --fs-black: #2C282A;
    --fs-deep-purple: #3A3AA3;
    --fs-periwinkle: #5D7EF4;
    --fs-blue: #008AFF;
    --fs-periwinkle-lightest: #EBF3FF;
    --fs-purple-lightest: #EAEBF7;
    --fs-blue-lightest: #EBF6FF;
    --fs-aqua-lightest: #EEFBFE;
    --fs-green-lightest: #F1FCFB;
    --fs-border: #404040;
    --fs-orange: #FC8258;
    --fs-dark-orange: #C8661A;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: proxima-nova, sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: white;
    background-image: url("./images/page-bg.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

brand {
    width: 320px;
    margin: 0 auto;	
}
brand a {
    display: block;
    width: 320px;
    height: 162px;
    margin-bottom: 25px;
    background: url('../images/royalrender-logo-black.jpg') 0 0 no-repeat;
}
brand a span {
    display: none;
}
    
h1,
h2 {
    text-align: center;
}

h1 {
    color: #404040;
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    margin-bottom: 30px;
}

h2 {
    font-weight: 800;
    font-size: 30px;
    line-height: 1.25;
    color: #fc8258;
}

h3 {
    font-weight: 800;
    font-size: 20;
    line-height: 1.25;
    color: #404040;
}


div.container {
    display: flex;
    flex-direction: row;

}

div.leftColumn {
    flex-direction: column;
    width: 60%;
}

div.rightColumn {
    flex-direction: column;
    width: 40%;
}

div.item {
    border-radius: 3px;
    border: 1px solid var(--fs-border);
    background-color: white;

    padding: 30px;
    margin: 30px;

    vertical-align: top;
}

div.orderSummary {
    display: flex;
    flex-direction: column;
}

div.itemList {
    display: flex;
    flex-direction: column;
}

div.itemLine {
    display: flex;
    flex-direction: row;
}

div.productInfo {
    flex: 1;
    width: 50%;
    align-items: left;
    vertical-align: top;
}

div.productPricing {
    flex: 1;
    width: 50%;
    text-align: right;
}

img.infoImage {
    max-width: 60px;
    max-height: 60px;
    vertical-align: middle;
}

img.cartImageCheckout {
    max-width: 60px;
    max-height: 60px;
    vertical-align: middle;
}

img.productImage {
    max-width: 100px;
    max-height: 100px;
    vertical-align: top;
}

.productName {
    font-weight: bold;
    font-size: 100%;
    white-space: nowrap;
}

.orderName {
    font-weight: bold;
    font-size: 22px;
    width: 50%;
    flex: 1
}

.cartItemTotal {
    color: var(--fs-blue);
    font-weight: bold;
    font-size: 100%;
}

.cartItemTotalOriginalPrice {
    color: #999999;
    font-size: 85%;
    text-decoration: line-through;
}

.orderTotal {
    font-weight: bold;
    color: var(--fs-blue);
    font-size: 100%;
    flex: 1;
    width: 50%;
    text-align: right;
}

.orderTotalOriginal {
    color: #999999;
    font-size: 85%;
    text-decoration: line-through;
}

.discountSavings {
    font-weight: bold;
    color: var(--fs-blue);
    font-size: 100%;
    text-align: left;
    flex: 1;
    width: 100%;
    margin-bottom: 5px;
}

span.infoHeader {
    margin-left: 20px;
    font-weight: bold;
    font-size: 100%;
}

/* -- quantity box -- */

.quantity {
    display: inline-block;
}

.quantity .input-text.qty {
    width: 35px;
    height: 35px;
    padding: 0 5px;
    text-align: center;
    background-color: transparent;
    border: 2px solid #404040;
}

.quantity.buttons_added {
    text-align: left;
    position: relative;
    white-space: nowrap;
    vertical-align: top;
    max-width: fit-content;
    flex: 1;
    flex-direction: row;
    margin-right: 20px;
    margin-left: 20px;
}

.quantity.buttons_added input {
    display: inline-block;
    margin: 0;
    vertical-align: top;
    box-shadow: none;
}

.quantity.buttons_added .minus,
.quantity.buttons_added .plus {
    /*padding: 2px 10px 8px;*/
    height: 35px;
    background-color: #ffffff;
    border: 0px ;
    cursor: pointer;
}

.quantity.buttons_added .minus:hover,
.quantity.buttons_added .plus:hover {
    background: #3382CC;
}


.quantity.buttons_added .minus:focus,
.quantity.buttons_added .plus:focus {
    outline: none;
}

#fastspring_spinner {
    width: 100%;
    height: 100%;
    z-index: 99999998;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
}

#fastspring_spinner img {
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    -webkit-animation-name: fsb-fadeIn;
    animation-name: fsb-fadeIn;
    position: fixed;
    top: 50%;
    margin-top: -50px;
    left: 50%;
    margin-left: -50px;
    z-index: 99999999;
}

div.couponCode {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

input.couponInput {
    flex: 2;
    margin-right: 20px;
    width: auto;
    padding-left: 20px;
    height: 40px;
    border: 2px solid #404040;
    box-shadow: 4px 4px 0 #404040;
}

button.applyCoupon {
    flex: 1;
    margin-top: 0;
    height: 40px;
    background-color: white;
    box-shadow: 4px 4px 0 #404040;
    align-self: right;
}

.discountCodeText { 
    margin-bottom: 5px;
}

#subtotal {
    margin-top: 20px;
}

.subtotalAmount {
    text-align: right;
    width: 50%;
    flex: 1
}