body {
    background-color: #0d1f43;
    font-family: "Montserrat", "Roboto", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #FFF;
    letter-spacing: 1px;
}

body .body-static {
    background-color: #FFFFFF;
    font-family: "Montserrat", "Roboto", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    letter-spacing: 1px;
}

h1 {
    font-size: 28px;
    font-weight: 600;
}

p {
    margin: 15px 0;
}

header {
    margin: 25px auto 40px;
    clear: both;
}

header a#back-button {
    display: block;
    height: 33px;
    width: 33px;
    position: relative;
    text-align: left;
    margin:0 -33px -33px 0;
}

header a#back-button span {
    font-weight: normal;
    font-size: 33px;
    color: #4e7bbe;
}

header h1 {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

header, footer, .main-container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

input, button, textarea {
    outline: none !important;
}

textarea {
    background-color: transparent;
    border: 1px solid #697281;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    color: #FFF;
    padding: 5px;
}

div.banner {
    background-color: #ee3555;
    font-size: 28px;
    font-weight: bold;
}

.main-content, .main-content-static {
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    text-align: center;
    overflow: hidden;
}

.main-content-static {
    background: #FFFFFF;
    color: #000000;
}

.main-content.pin *,
.main-content.custom-amount *,
.main-content.custom-tip * {
    touch-action: manipulation;
    -ms-touch-action: manipulation;
    -webkit-text-size-adjust: none;
}

.main-content.receipt img.signature {
    clear: both;
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

p.warning {
    color: #f1e05a;
}

.total span {
    font-size: 32px;
}

.total span.small,
.total span#tip-display {
    font-size: 20px;
}

.total p {
    font-size: 50px;
    letter-spacing: 0px;
    margin: 0 0 15px;
}

.big-buttons {
    margin: 75px 0 0;
}

.big-buttons p {
    margin: 0 0 30px;
    font-weight: bold !important;
}

.pin .big-buttons {
    margin: 50px auto 250px;
    width: 75%;
}

.big-buttons a, button {
    background-color: #49c1b9;
    display: block;
    margin:0 auto 7px;
    padding: 15px;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #FFF;
    border: none;
    font-weight: bold;
    width: 100%;
    text-decoration: none;
}

.big-buttons a:active,
.big-buttons button:active {
    background-color: #697281;
}

.big-buttons button.disabled {
    cursor: default;
    background-color: #697281;
}

.pin .big-buttons a {
    width: 50%;
}

.tip .big-buttons {
    margin: 40px 0 0;
}

.tip .big-buttons button {
    width: 75%;
}

.check-details {
    margin: 45px 0;
}

.check-details h2 {
    font-weight: bold;
}

.check-details a {
    display: block;
    font-weight: normal;
    cursor: pointer;
}

.check-details table {
    font-weight: normal;
}

.check-items-table {
    margin: 25px 0;
}

.check-items-table.payment {
    margin: 50px 0;
}

.check-items-table thead {
    border-bottom: 2px dashed #AAA;
}

.check-items-table thead tr td {
    padding: 0 0 10px;
}

.check-items-table tbody tr:first-child td {
    padding: 10px 0 0;
}

.check-items-table tbody tr td.child1 {
    padding-left: 30px;
}

.check-items-table tbody tr td.child2 {
    padding-left: 60px;
}

.pin-instructions {
    margin: 0 0 10px;
}

.pin-instructions p {
    font-size: 20px;
}

.key-entry input, .key-entry input:focus {
    background-color: #0d1f43;
    width: 96%;
    border-image: none;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #697281;
    color: #FFF;
    -webkit-tap-highlight-color: #0d1f43;
    outline: none;
    text-align: center;
    font-size: 40px;
    letter-spacing: 0px;
    margin:0 0 25px;
}

.key-entry table {
    border-collapse: separate;
}

.key-entry .key {
    background-color: #4e7bbe;
    border: 1px solid #697281;
    padding: 8px;
    width: 33%;
    font-size: 40px;
    font-weight: normal;
    cursor: pointer;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

.key-entry .key:active {
    background-color: #697281;
}

.key-entry .key .fa-chevron-left {
    font-weight: normal;
    font-size: 35px;
}

.tip .total,
.tip .total-ticket {
    margin: 0 0 30px;
}

.tip-entry {
    float: left;
    clear: both;
    width: 100%;
    padding: 0 1%;
}

.tip-button {
    color: #FFF;
    background-color: #4e7bbe;
    border: 1px solid #697281;
    padding: 15px 10px;
    font-size: 25px;
    font-weight: normal;
    letter-spacing: 0px;
    width: 100%;
    float: left;
    margin: 0 0 8px 0;
    cursor: pointer;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    text-decoration: none;
}

a.tip-button:hover,
a.tip-button:active {
    color: #FFF;
    text-decoration: none;
}

.tip-button.small {
    width: 32.666%;
    margin: 0 0 8px 1%;
    float: left;
}

.tip-button.small.first {
    margin: 0 0 8px;
}

.tip-button.active,
a.tip-button:active {
    border: 5px solid #49c1b9;
    padding: 11px 10px;
}

.tip-button span {
    font-size: 14px;
    display: block;
    margin-top: -5px;
}

#declined {
    position: fixed;
    top: 10%;
    z-index: 9999;
    width: 100%;
    margin: 0 -15px;
    overflow: hidden;
    opacity: 1.0 !important;
}

#declined .content {
    width: 96%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    background-color: #0d1f43;
    padding: 2%;
    border: 1px solid #FFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

#declined span {
    font-size: 32px;
}

#declined p.submessage1 {
    font-weight: normal;
}

#declined p.submessage2 {
    font-weight: bold;
}

#declined .big-buttons {
    margin: 30px 0 0;
}

.payment .total p {
    font-size: 32px;
}

.payment .input-container {
    width: 100%;
    text-align: left;
    margin:0 0 15px;
}

.payment .input-container.card-type {
    position: relative;
}

.payment .input-container.terms {
    margin:60px auto 0;
    clear: both;
    width: auto;
    min-width: 400px;
    display: inline-block;
}

.payment .input-container label {
    display: block;
    font-size: 16px;
}

.payment .one-by-four-container .input-container label {
    display: block;
    font-size: 13px;
}

.payment .input-container.terms label {
    font-size:16px;
    font-weight: normal;
}

.payment .input-container.terms label a,
.payment .input-container.terms label a:link,
.payment .input-container.terms label a:visited,
.payment .input-container.terms label a:hover,
.payment .input-container.terms label a:active,
.payment .input-container.terms label a:focus {
    color: #FFF;
    text-decoration: underline;
    font-size: 12px;
}

.payment .input-container input {
    width: 100%;
    outline: none;
    padding: 5px;
    color: rgba(0,0,0,0.75);
    font-weight: bold;
}

.payment .input-container input::placeholder {
    color: #CCC;
}

.payment .input-container input::-ms-input-placeholder {
    color: #CCC;
}

.payment .input-container input:-ms-input-placeholder {
    color: #CCC;
}

.payment .input-container input::-moz-placeholder {
    color: #CCC;
}

.payment .input-container input:-moz-placeholder {
    color: #CCC;
}

.payment .input-container input::-webkit-input-placeholder {
    color: #CCC;
}

.payment .input-container input.terms {
    width: 25px;
    height: 25px;
    float: left;
    margin: 0 20px 0 0;
}

.payment .input-container input.terms:checked {
    color: green;
}

.payment .input-container input#card_number {
    width: 92%;
    margin: 0 1% 0 0;
    display: inline-block;
}

.payment .input-container div.cc-icon {
    border-radius: .25rem;
    -webkit-border-radius: .25rem;
    -moz-border-radius: .25rem;
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    width: 60px;
    height: 38px;
    background-color: #FFF !important;
    background-image: none;
    background-repeat: no-repeat !important;
    background-position: 0% 0% !important;
    background-size: 60px 38px !important;
}

.one-by-four-container {
    clear: both;
}

.one-by-four-container .input-container {
    clear: none;
    float: left;
    width: 24%;
    margin: 0 1.3333% 0 0;
}

.one-by-four-container .input-container:last-child {
    margin: 0;
}

.payment .big-buttons {
    margin: 40px 0 0;
}

.payment .big-buttons button {
    width: 75%;
    outline: none;
}

.fa.fast-right-spinner {
    -webkit-animation: fa-spin-r 1s infinite linear;
    animation: fa-spin-r 1s infinite linear;
}

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

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

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

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

@-webkit-keyframes fa-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

@keyframes fa-spin-l {
    0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }

    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.split .big-buttons {
    margin: 40px 0 0;
}

.split .big-buttons button {
    background-color: #4e7bbe;
    border: 1px solid #697281;
    display: inline-block;
    width: 30%;
    max-width: 100px;
    margin: 0 1%;
    padding: 15px 0;
}

.custom-tip .total,
.custom-amount .total {
    margin: 0 auto 10px;
}

.custom-tip .total p {
    margin: 0 0 5px;
}

.custom-tip .key-entry,
.custom-amount .key-entry {
    position: relative;
}

.custom-tip .key-entry .overlay-key,
.custom-amount .key-entry .overlay-key {
    position: absolute;
    border: 3px solid #697281;
    height: 40px;
    width: 45px;
    padding: 0;
    margin: 0;
    font-size:20px;
    line-height: 37px;
    top: 30px;
}

.custom-tip .key-entry .overlay-text,
.custom-amount .key-entry .overlay-text {
    position: absolute;
    right:4%;
    top: 20px;
    font-size: 24px;
    font-weight: normal;
}

.custom-tip .key-entry #dollar,
.custom-amount .key-entry #dollar {
    left: 4%;
}

.custom-tip .key-entry #percent,
.custom-amount .key-entry #percent {
    left: 10%;
}

.custom-tip .key-entry .overlay-key.active,
.custom-amount .key-entry .overlay-key.active {
    border: 3px solid #49c1b9;
}

.custom-tip .big-buttons {
    width: 75%;
    margin: 50px auto 0;
}

.select-payment .input-container {
    margin: 0 0 10px;
}

.select-payment .input-container input {
    width: 25px;
    height: 25px;
    margin: 0 20px 0 0;
}

.select-payment .input-container label {
    font-size: 36px;
    font-weight: normal;
}

.select-payment .big-buttons {
    margin: 20px 0 0;
}

.checkout .total p {
    font-size:25px;
    letter-spacing: 1px;
    font-weight: normal;
}

.checkout .total i.fa.fa-times-circle,
#declined i.fa.fa-times-circle {
    display: block;
    margin: 20px auto 25px;
    font-size: 60px;
    color: red;
    background-color: #FFF;
    line-height: 30px;
    border-radius: 50px;
    width: 50px;
}

.checkout form#signature-entry-form {
    position: relative;
}

.checkout #capture-signature {
    position: relative;
}

.checkout #capture-signature canvas {
    position: relative;
    z-index: 2;
    color: #FFF !important;
}

.checkout #capture-signature #signature-placeholder {
    font-family: "Kaushan Script", cursive;
    position: absolute;
    width: 100%;
    font-size: 60px;
    color: #394765;
    bottom: 11%;
    z-index: 1;
}

.checkout .reset-signature {
    position: absolute;
    right: 7.5%;
    cursor: pointer;
    z-index: 999;
    width: 30px;
    height: 30px;
}
.checkout .big-buttons {
    margin: 40px 0 0;
}

.checkout input.btn {
    display: none;
}

.email input {
    width: 100%;
    max-width: 50%;
}

.email .big-buttons {
    margin: 40px 0 0;
}

.sms p {
    font-weight: normal;
}

.sms form {
    margin: 30px auto;
}

.sms input {
    outline: 0;
    width: 100%;
    max-width: 400px;
}

.sms .iti {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #000;
    font-weight: normal;
    font-size: 16px;
}

.sms .big-buttons {
    margin: 40px 0 0;
}

.sms button:first-child,
.email button:first-child {
    margin: 0 auto 30px;
}

.feedback h2 {
    background-color: #FFF;
    color: #0d1f43;
    font-weight: bold;
    font-size: 20px;
    padding: 7px;
}

table.reviews tr td{
    width: 50%;
    font-weight: normal;
}

table.reviews tr td:first-child{
    width: 50%;
}

table.reviews span.star {
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    overflow: hidden;
    top: 2px;
    color: #49c1b9;
    margin: 0 6px;
}

table.reviews span.star a {
    cursor: pointer;
    position: absolute;
    width: 50%;
    height: 100%;
}

table.reviews span.star a.left {
    left: 0;
    top: 0;
}

table.reviews span.star a.right {
    top: 0;
    right: 0;
}

table.reviews span.star a.right i {
    position: relative;
    left: -10px;
}

table.reviews span.star a i {
    display: none;
}

table.reviews span.star.low {
    color: #ef3655;
}

table.reviews span.star.medium {
    color: #ffcd03;
}

table.reviews span.star.high {
    color: #5ebb47;
}

table.reviews span.star.low.fa-star-o,
table.reviews span.star.medium.fa-star-o,
table.reviews span.star.high.fa-star-o {
    color: #49c1b9;
}

table.reviews textarea {
    width: 100%;
    max-width: 500px;
}

.confirmation h2 {
    font-weight: bold;
}

.confirmation p {
    font-weight: normal;
}

.confirmation p a {
    color: #FFF;
    text-decoration: underline !important;
    cursor: pointer;
}

.confirmation div.check-details div.check-items,
.receipt div.check-details div.check-items {
    display: block !important;
}

.confirmation div.check-details a.closed,
.receipt div.check-details a.closed {
    display: none;
}

.receipt table.check-items-table.payment {
    font-weight: normal;
}

.confirmation img.signature {
    width: 100%;
    max-width: 800px;
}

.feedback form .big-buttons {
    margin: 50px 0 0;
}

.feedback .big-buttons {
    margin: 0;
}

.feedback .big-buttons a,
.feedback .big-buttons a:hover,
.feedback .big-buttons a:active,
.thank-you .big-buttons a,
.thank-you .big-buttons a:hover,
.thank-you .big-buttons a:active {
    background-color: transparent;
    border: 1px solid #697281;
}

footer {
    float: left;
    margin: 100px 0 15px;
    width: 100%;
    text-align: center;
    clear: both;
}

#check-details-modal-icon {
    font-size: 32px;
    cursor: pointer;
}

#check-details-modal {
    position: fixed;
    top: 10%;
    z-index: 9999;
    width: 100%;
    margin: 0 -15px;
    overflow: hidden;
    opacity: 1.0 !important;
    height: 80%;
}

#check-details-modal .content {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
}

#check-details-modal .check-details-modal-body {
    width: 100%;
    flex: 1 1 auto;
    overflow-y: auto;
    margin: 10px 0;
}

#check-details-modal .check-detail-modal-header,
#check-details-modal .check-detail-modal-footer {
    width: 100%;
    flex: 0 1;
    height: auto;
}

#check-details-modal .check-items-table .check-items-table-body tr {
    width: 200%;
    display: flex;
    justify-content: space-between;
}

#check-details-modal .check-items-table .check-items-table-body td.left {
    flex: 1 0 auto;
}

#check-details-modal .check-items-table .check-items-table-body td.right {
    flex: 0 1 auto;
}

#check-details-modal .check-item-table-footer,
#check-details-modal .big-buttons {
    margin: 0 !important;
}

#check-details-modal-ticket-total-caption {
    margin-top: 3em;
    font-size: 70%;
    font-weight: 400;
}

#check-details-modal .content {
    width: 96%;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
    background-color: #0d1f43;
    padding: 2%;
    border: 1px solid #FFF;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

@media only screen and (max-width : 1000px) {
    .payment .input-container label,
    .payment .one-by-four-container .input-container label {
        font-size: 16px;
    }
    .one-by-four-container .input-container {
        width: 49%;
        margin: 0 1% 10px 0;
    }
    
    .one-by-four-container .input-container:nth-child(2),
    .one-by-four-container .input-container:last-child {
        margin: 0 0 10px 0;
        width: 50%;
    }
    
    .payment .input-container input#card_number {
        width: 90%;
    }

    .payment .input-container.terms {
        margin: 25px auto 0;
    }
    
    .checkout #capture-signature #signature-placeholder {
        bottom: 9%;
    }
}

@media only screen and (max-width : 700px) {
    header h1 {
        font-size: 24px;
    }

    .custom-tip .key-entry .overlay-text,
    .custom-amount .key-entry .overlay-text {
        font-size: 14px;
    }
    
    .payment .input-container input#card_number {
        width: 88%;
    }
    
    .email input {
        max-width: none;
    }
    
    .checkout #capture-signature #signature-placeholder {
        bottom: 5%;
    }
}

@media only screen and (max-width : 600px) {
    .payment .input-container input#card_number {
        width: 86%;
    }

    .payment .input-container.terms label {
        font-size: 14px;
    }
    
    .payment .big-buttons {
        margin: 20px 0 0;
    }

    table.reviews tr td,
    table.reviews tr td:first-child {
        width: auto;
    }

    table.reviews span.star {
        margin: 0 2px;
    }
    
    .checkout #capture-signature #signature-placeholder {
        bottom: 3%;
    }
}

@media only screen and (max-height : 800px) and (max-width: 600px) {
    header {
        margin: 15px auto 20px;
    }
    
    header h1 {
        font-size: 20px;
    }
    
    .big-buttons {
        margin: 25px auto 0 !important;
    }
    
    .big-buttons button,
    .big-buttons a {
        padding: 10px;
    }
    
    .total span {
        font-size: 25px;
    }
    
    .total p {
        font-size: 32px;
        margin: 0;
    }
    
    .index .big-buttons {
        margin: 40px 0 0;
    }
    
    .pin p {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .key-entry .key,
    .key-entry .key .fa-chevron-left {
        font-size: 30px;
    }

    .tip .total {
        margin: 0 0 15px;
    }
    
    .tip .tip-button {
        font-size: 20px;
    }
    
    .tip .big-buttons {
        margin: 20px 0 0;
    }
    
    .select-payment p {
        margin: 5px 0;
    }
    
    .select-payment .input-container {
        margin: 0 0 5px;
    }
    
    .select-payment .input-container input {
        position: relative;
        top: 5px;
    }
    
    .select-payment .input-container label {
        font-size: 25px;
        line-height: 25px;
        margin-top: -5px;
        margin-bottom: 0;
    }
    
    p.instructions {
        font-size: 14px;
        margin: 5px 0;
    }
    
    .payment .input-container {
        margin: 0 0 5px;
    }
    
    .payment .input-container label,
    .payment .one-by-four-container .input-container label {
        font-size: 13px;
        margin-bottom: 0;
    }
    
    .payment .total {
        margin-bottom: 5px;
    }
    
    .payment .input-container.terms {
        margin: 10px auto 0;
    }
    
    .payment .big-buttons {
        margin: 15px auto 0 !important;
    }
    
    .checkout .total i.fa.fa-times-circle,
    #declined i.fa.fa-times-circle {
        width: 45px;
    }
    
    div.banner {
        font-size: 25px;
    }
    
    #thank-you-pre-submit p,
    #thank-you-post-submit p {
        margin: 10px 0 0;
    }
    
    .feedback .big-buttons.second {
        margin: 0 auto !important;
    }
}

@media only screen and (max-height : 800px) and (min-width: 1000px) {
    .payment .input-container {
        margin: 0 1.3333% 5px 0;
    }
}

@media only screen and (max-width : 600px) {
    .one-by-four-container .input-container {
        width: 100%;
    }
    
    .one-by-four-container .input-container:nth-child(2),
    .one-by-four-container .input-container:last-child {
        width: 100%;
    }
}

@media only screen and (max-width : 480px) {
    .key-entry input, .key-entry input:focus {
        font-size: 28px;
    }

    .custom-tip .key-entry .overlay-text,
    .custom-amount .key-entry .overlay-text {
        font-size: 12px;
        top: 15px;
    }

    .tip-button {
        width: 100%;
    }

    .payment .input-container input#card_number {
        width: 80%;
    }
    
    .checkout #capture-signature #signature-placeholder {
        bottom: -1%;
    }
}
