#item-wrapper {
    position: sticky;
    /*float: left;*/
    top: 20px;
    z-index: 10;
    flex-grow: 0;
    /*display: inline-block;*/
    min-width: 230px;
    /*width: 25vw;*/
    width: 340px;
    /*margin-right: 45px;*/
}

#item-builder {
    position: relative;
    /*width: 340px;*/
    height: 435px;
    width: 100%;
    /*height: 31.81vw;*/
    min-height: 310px;
    background-color: white;
    box-shadow: inset -5px -5px 5px #ccc, inset 5px 5px 5px #ccc;
    background-size: cover;
    border-radius: 5px;
    display: inline-block;
}

.displayImg {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

#total {
    display: block;
    min-width: 100px;
    max-width: 200px;
    text-align: center;
    margin: 20px auto;
}

#configuration {
    position: relative;
    display: block;
    /*text-align: right;*/
    /*float: right;*/
    flex-grow: 1;
    flex-basis: 60%;
    min-width: 490px;
    /*max-width: 50%;*/
    padding: 20px;
    box-sizing: border-box;
    background-color: #cccccc;
    border-radius: 10px;
    box-shadow: #333 5px 5px 10px;
    margin-left: 20px;
    z-index: 15;
}

#options {
    position: relative;
    width: 100%;
}

.option {
    position: relative;
    /*display: flex;*/
    /*align-items: center;*/
    width: 100%;
    margin: 5px 0 5px 0;
}

#confirm {
    display: none;
}

button {
    float: right;
    border: 2px solid #77a34f;
    border-radius: 8px;
    padding: 10px;
    font-family: Lato;
    font-size: 20px;
    margin: 5px 0;
    user-select: none;
}

button > p {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    user-select: none;
}

button:focus, .item:focus {
    background-color: rgba(0, 0, 0, 0.06);
    outline: none;
}

button:hover, .item:hover {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

button:active, .item:active {
    background-color: rgba(0, 0, 0, 0.25) !important;
}

#back {
    float: left;
    margin-right: 20px;
}

#next {
    margin-left: 20px;
}

.imgSelect {
    position: relative;
    width: 100%;
    display: flex;
    align-items: normal;
    flex-wrap: wrap;
    text-align: center;
}

.flex-1 {
    flex-basis: 100%;
}

.flex-2 {
    flex-basis: 50%;
}

.flex-3 {
    flex-basis: 33%;
}

.flex-4 {
    flex-basis: 25%;
}

.imgContainer {
    /*flex-grow: 1;*/
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.5s;
    border-radius: 8px;
    min-width: 100px;
}

.optText {
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    flex-direction: column;
    /*justify-content: center;*/
}

.imgContainer:hover {
    cursor: pointer;
    background-color: #aaa;
}

.imgContainer.selected {
    background-color: #999;
}

.img_option {
    display: block;
    width: 100%;
    margin: 5px auto 0 auto !important;
    box-sizing: border-box;
}

#comments {
    height: 200px;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    width: 50%;
    resize: none;
}

/*#familyText, #quoteText {*/
/*    background-color: rgba(255, 0, 0, 0.3);*/
/*}*/

#quoteText, #familyWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#familyWrapper.script {
    font-family: Script !important;
    margin-top: -1.4em;
    width: 40%;
    height: 15%;
}

.script.left {
    left: 3.8%;
}

.script.right {
    right: 3.8%;
}

/*.script > #lineTwo {*/
/*    margin-top: -0.7em;*/
/*}*/

.black {
    color: #000;
    fill: #000;
}

.brown {
    color: #563312;
    fill: #563312;
}

.white {
    color: #fff;
    fill: #fff;
}

#familyWrapper, #quoteText {
    font-family: MType, serif;
    font-size: 1.3vw;
    position: absolute;
    word-wrap: normal;
    height: 10%;
    width: 35%;
    z-index: 10;
    text-align: center;
    /*background-color: #dd9900;*/
}

.chalk#familyWrapper, .chalk#quoteText {
    font-size: 0.9vw;
}

.chalk {
    font-family: Chalk !important;
    color: #fff !important;
    fill: #fff !important;
}

.script #lineTwo {
    font-family: MType;
}

#lineTwo {
    font-size: 0.87em;
}

.left, .right {
    /*background-color: rgba(255, 0, 0, 0.4);*/
    top: 67%;
}

.left.shift, .right.shift {
    top: 55%;
}

.left {
    left: 8%;
}

.right {
    right: 8%;
}

.script.center {
    bottom: 7%;
    left: 30%;
}

.center {
    bottom: 3%;
    left: 32.5%;
}

#centerText {
    bottom: 3%;
    left: 32.5%;
}

.shrink {
    width: 90%;
    height: 80%;
    margin: 0 auto;
}

.displayImg.shrink {
    left: 5%;
}

.img_option.shrink {
    height: 75%;
    padding-bottom: 25%;
}

.shrinkCenter {
    width: 100%;
    height: 95%;
}

.grouping {
    /*flex-grow: 2;*/
    flex-basis: 50%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-top: 10px;
    text-align: center;
    box-sizing: border-box;
    transition: background-color 0.5s;
    border-radius: 8px;
    min-width: 100px;
}

.imgBox {
    position: relative;
}

.secondary {
    position: absolute;
    top: 5%;
}

.error {
    border: 2px solid red;
}

#checkout, #paylater {
    width: 55%;
    text-align: center;
    margin: 0 auto !important;
}

#configuration > p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

input.disabled {
    background-color: #bbb;
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 1em;
    }

    #contentWrapper {
        flex-direction: column;
        min-width: 200px;
    }

    #item-wrapper {
        float: none;
        margin: 0 auto;
    }

    #item-footer {
        text-align: center;
        font-size: 0.9em;
    }

    #configuration {
        margin: 10px;
        min-width: 200px;
    }
}

#item-footer {
    font-size: 0.9em;
}

.hidden {
    display: none;
}

.full-width {
    width: 100%;
}

.textButton {
    background-color: #bbb;
	border: 5px solid #ccc;
	box-sizing: border-box;
	border-radius: 12px;
}

label {
	vertical-align: top;
}

#pageFooter, #pagePreFooter {
    margin: 20px;
}

.footText {
    flex-grow: 0 !important;
}

.dark {
    background-color: #333 !important;
}

#quote, #ground {
    width: 70%;
}

.multi {
    display: inline-block;
    background-color: #999;
    border-left: 4px solid #77a34f;
    margin: 3px;
    flex-direction: row;
    padding: 10px;
}

.multi:hover .delete {
    opacity: 1;
}

.delete {
    opacity: 0;
    display: inline-block;
    transition: 0.3s opacity;
    font-family: 'Chalk';
    float: right;
    margin-left: -12px;
}

.delete:hover {
    cursor: pointer;
    opacity: 1;
}

.summaryPrice {
    float: right;
    margin: 0 20px;
    color: #555;
}

.summaryItem {
    background-color: #bbb;
    border-left: 4px solid #77a34f;
    margin: 3px;
    padding: 10px;
}

span > .summaryItem {
    margin-left: 20px;
}

.cost {
    position: relative;
}

.strike:before {
    position: absolute;
    content: "";
    left: 0;
    top: 45%;
    right: 0;
    border-top: 2px solid;
    border-color: red;
    -webkit-transform: rotate(-15deg);
    -moz-transform: rotate(-15deg);
    -ms-transform: rotate(-15deg);
    -o-transform: rotate(-15deg);
    transform: rotate(-15deg);
}

#roots .imgBox {
    margin-top: -60%;
}

#couponErr {
    color: #ff0000;
    font-weight: bold;
}