

/* Fonts */
@font-face {
    font-family: 'DontRemoveThis';
    src: url('https://static.nextepsystems.com/fonts/Oswald-Regular.eot');
    src: url('https://static.nextepsystems.com/fonts/Oswald-Regular.eot?#iefix') format('embedded-opentype'), url('https://static.nextepsystems.com/fonts/Oswald-Regular.ttf') format('truetype');
}

/* Green: #536a20 */
/* Built-In Options */
:root {
    --Accent_Color: #536a20;
    --Main_Background: url('../../Other/GKNStandard.jpg') no-repeat center center/cover;
    /* Logo Options */
    --Logo_Image: url('');
    --Logo_Fit: cover;
    --Logo_Width: 100px;
    --Logo_Spacing: 20px;
    /* Header Options */
    --Header_Size: 30px;
    --Description_Size: 18px;
    --Header_Case: none;
    --Header_Weight: bold;
    /* Top Toolbar Options */
    --Top_Toolbar_Background: #536a20;
    --Top_Toolbar_Height: 65px;
    --Top_Toolbar_Font_Color: white;
    --Top_Toolbar_Font_Family: Arial, Helvetica, sans-serif;
    /* Bottom Toolbar Options */
    --Bottom_Toolbar_Background: #536a20;
    --Bottom_Toolbar_Height: 65px;
    --Bottom_Toolbar_Font_Color: white;
    --Bottom_Toolbar_Size: 24px;
    --Bottom_Toolbar_Case: uppercase;
    --Bottom_Toolbar_Font_Family: Arial, Helvetica, sans-serif;
    /* Control Button Options */
    --Control_Button_Background: white;
    --Control_Button_Height: 45px;
    --Control_Button_Font_Color: black;
    --Control_Button_Size: 25px;
    --Control_Button_Outer_Curve: 20px;
    --Control_Button_Inner_Curve: 5px;
    --Control_Button_Left_Clip_Path: 0;
    --Control_Button_Right_Clip_Path: 0;
    --Control_Button_Font_Family: Arial, Helvetica, sans-serif;
    /* Item Options */
    --Item_Background: rgba(255, 255, 255, 0.9);
    --Item_Font_Color: black;
    --Item_Border: 1px solid dimgrey;
    --Item_Curve: 20px;
    --Item_Font_Family: Arial, Helvetica, sans-serif;
    --Image_Button_Size: 20px;
    --Text_Button_Size: 24px;
    --Item_Details_Size: 16px;
    --Item_Case: none;
    --Item_Weight: normal;
    --Controls_Background: #536a20;
    --Controls_Font_Color: white;
    /* DYNAMIC SPLASH SCREEN */
    --Splash_Entrance_Animation: bounceInRight 1s;
    --Splash_Exit_Animation: bounceOutLeft 1s;
    --Splash_Static_Background: none;
    --Splash_Display_Video: block;
    --Splash_Display_Logo: none;
    --Splash_Display_Number: none;
    --Splash_Color: white;
    --Splash_Size: 80px;
    --Splash_Weight: normal;
    /* FEATURE TOGGLES (Use 'block' or 'none') */
    --Special_Instrutions_on_Order_Review: none;
    --Guest_Login: none;
    --Offline_Logo: block;
}

/* OVERRIDES FOR X22 & DT5*/
@media only screen and (width: 1080px) and (height: 1920px) {
    :root {
        --Top_Toolbar_Height: 90px;
        --Image_Button_Size: 24px;
        --Item_Details_Size: 20px;
    }

    #template .image-button {
        width: 50%;
    }

    [data-button-count='1'] .image-button,
    [data-button-count='2'] .image-button,
    [data-button-count='3'] .image-button,
    [data-button-count='4'] .image-button,
    [data-button-count='5'] .image-button {
        margin: 0 1px;
    }

    #template .text-button {
        width: 75%;
        margin: 0 1px;
    }
}

/* OVERRIDES FOR MOBILE DEVICES*/
@media only screen and (max-width: 767px) {
    :root {
        --Header_Size: 18px;
        --Description_Size: 12px;
        --Logo_Width: 30px;
        --Logo_Spacing: 10px;
        --Top_Toolbar_Height: 45px;
    }
}

body {
    background: #222 url('');
    background-position: center center;
}

#wrap {
    background: var(--Main_Background);
    width: 100% !important;
    position: fixed !important;
    left: 0 !important;
}

@media (orientation: landscape) {
    #wrap {
        min-height: 100%;
        top: 0 !important;
    }
}

body[data-language='kvi'] #BGV {
    display: none;
}

.box,
.box:hover,
.box:focus {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--Item_Background);
    border: var(--Item_Border);
    border-radius: var(--Item_Curve);
    font-family: var(--Item_Font_Family);
    font-size: var(--Image_Button_Size);
    text-transform: var(--Item_Case);
    color: var(--Item_Font_Color);
}

*,
*:focus,
*:active,
*:hover,
*:before,
*:after {
    outline: none !important;
    text-decoration: none !important;
}

@font-face {
    font-family: 'FA';
    src: url('https://static.nextepsystems.com/fonts/fa-solid-900.eot');
    src: url('https://static.nextepsystems.com/fonts/fa-solid-900.eot?#iefix') format('embedded-opentype'), url('https://static.nextepsystems.com/fonts/fa-solid-900.ttf') format('truetype');
}

@font-face {
    font-family: 'FAB';
    src: url('https://static.nextepsystems.com/fonts/fa-brands-400.eot');
    src: url('https://static.nextepsystems.com/fonts/fa-brands-400.eot?#iefix') format('embedded-opentype'), url('https://static.nextepsystems.com/fonts/fa-brands-400.ttf') format('truetype');
}

.nex-button,
.nex-button:focus,
.nex-button:hover,
.nex-button:active,
#languageSwitcher,
form .btn {
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    background: var(--Controls_Background);
    color: var(--Controls_Font_Color);
    border: 0;
    text-decoration: none;
}

    .nex-button:before,
    #languageSwitcher:before,
    .fa:before,
    #bicon:before {
        font-family: 'FA';
        display: block;
    }

.previewer-only {
    display: none;
}

#previewer .previewer-only {
    display: block;
}

/* KIOSK */

body,
#wrap,
.kiosk-content,
.kiosk-content #content,
.kiosk-content #targets,
.kiosk-content #targets > div:not(#popups) {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

    .kiosk-content #clip-template,
    .paymentclip,
    .kiosk-content #clip-repeatorders,
    .kiosk-content #clip-orders {
        position: relative;
        height: calc(100% - var(--Top_Toolbar_Height) - var(--Bottom_Toolbar_Height));
    }

    .kiosk-content #template,
    .carousel,
    .carousel-inner,
    .slide,
    .item {
        width: 100%;
        height: 100%;
    }

#ordering {
    background-size: cover;
    background-position: center center;
}

.kiosk-content .slide {
    animation: fadeInRight 0.25s;
}

.item.active,
.item.next,
.item.prev {
    height: 100%;
    display: flex;
    align-items: center;
    transition: 0.25s;
}

.kiosk-content .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
    width: 100%;
    margin: 0;
}

/* HEADER */

#clip-header,
#clip-footer {
    display: flex;
    height: var(--Bottom_Toolbar_Height);
    width: 100%;
    padding: 0 20px;
    background: var(--Top_Toolbar_Background);
    border-bottom: 1px solid dimgrey;
    text-transform: var(--Bottom_Toolbar_Case);
    z-index: 5;
}

#clip-header {
    height: var(--Top_Toolbar_Height);
    font-family: var(--Top_Toolbar_Font_Family);
    color: var(--Top_Toolbar_Font_Color);
}

.logo,
#logoOff {
    background-image: var(--Logo_Image);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.logo {
    height: 100%;
    width: var(--Logo_Width);
    margin-right: var(--Logo_Spacing);
    background-size: var(--Logo_Fit);
}

#logoOff {
    height: 200px;
    width: 200px;
    background-color: var(--Top_Toolbar_Background);
    background-size: 50%;
    border-radius: 50%;
    margin: 20px auto;
    display: var(--Offline_Logo);
}

.header-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
    justify-content: center;
}

.iorderfast-content .header-wrapper {
    max-width: calc(100vw - var(--Logo_Width) - var(--Logo_Spacing) - 425px);
}

#header-text {
    font-size: var(--Header_Size);
    line-height: var(--Header_Size);
    text-transform: var(--Header_Case);
    font-weight: var(--Header_Weight);
    color: white;
}

#menuDescription {
    font-size: var(--Description_Size);
}

/* FOOTER */

#clip-footer {
    background: var(--Bottom_Toolbar_Background);
    border-bottom: 0;
    border-top: 1px solid dimgrey;
    position: fixed;
    bottom: 0;
}

.footer-left,
.footer-right {
    line-height: var(--Bottom_Toolbar_Height);
    width: 25%;
    color: var(--Bottom_Toolbar_Font_Color);
    font-size: var(--Bottom_Toolbar_Size);
}

#controlbuttons {
    display: flex;
    align-items: center;
    width: 50%;
    border-left: 1px solid dimgrey;
    border-right: 1px solid dimgrey;
    padding: 0 10px;
    box-shadow: inset 10px 0 10px -5px rgba(0, 0, 0, 0.25), inset -10px 0 10px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: var(--Control_Button_Font_Family);
    font-size: var(--Control_Button_Size);
}

    #controlbuttons > div {
        width: 33.33%;
        text-align: center;
        padding: 0 5px;
    }

.control-button {
    width: 100%;
    height: var(--Control_Button_Height);
    padding: 0;
    line-height: var(--Control_Button_Height);
    border: 0;
    color: var(--Control_Button_Font_Color);
    background: var(--Control_Button_Background);
    border-radius: var(--Control_Button_Inner_Curve);
    font-family: var(--Control_Button_Font_Family);
}

.control-button-left .control-button {
    border-top-left-radius: var(--Control_Button_Outer_Curve);
    border-bottom-left-radius: var(--Control_Button_Outer_Curve);
    -webkit-clip-path: var(--Control_Button_Left_Clip_Path);
    clip-path: var(--Control_Button_Left_Clip_Path);
    animation: fadeInLeft 0.25s;
}

.control-button-right .control-button {
    border-top-right-radius: var(--Control_Button_Outer_Curve);
    border-bottom-right-radius: var(--Control_Button_Outer_Curve);
    -webkit-clip-path: var(--Control_Button_Right_Clip_Path);
    clip-path: var(--Control_Button_Right_Clip_Path);
    animation: fadeInRight 0.25s;
}

#receipt {
    height: 60px;
    float: right;
    width: 100%;
    text-align: right;
}

/* IMAGE BUTTONS */

.image-button {
    position: relative;
    width: 25%;
    padding: 10px;
}

[data-button-count='1'] .image-button,
[data-button-count='2'] .image-button,
[data-button-count='3'] .image-button,
[data-button-count='4'] .image-button,
[data-button-count='5'] .image-button,
[data-button-count='6'] .image-button {
    width: 33.33%;
}

[data-button-count='4'] .image-button,
[data-button-count='9'] .image-button {
    margin: 0 1px;
}

.image-button #bimage {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 24px 2.5% 0 2.5%;
}

[data-button-count='1'] #bimage,
[data-button-count='2'] #bimage,
[data-button-count='3'] #bimage,
[data-button-count='4'] #bimage,
[data-button-count='5'] #bimage,
[data-button-count='6'] #bimage,
[data-button-count='7'] #bimage,
[data-button-count='8'] #bimage {
    height: 150px;
}

.image-button .caption {
    text-align: center;
}

.image-button #btext {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.5em;
    line-height: 1em;
    padding: 0 10px;
    font-size: var(--Image_Button_Size);
    font-weight: var(--Item_Weight);
}

.details {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    height: 25px;
    width: 100%;
    font-size: var(--Item_Details_Size);
}

.image-button .overlaycontainer,
.image-button #price,
.image-button #nutritionInfo {
    height: 100%;
    line-height: 24px;
    padding: 0 4px;
    flex-grow: 1;
    border-top: var(--Item_Border);
}

.overlaycontainer .overlay {
    display: inline-block;
    position: relative;
    height: 100%;
    width: 20px;
    margin-right: 4px;
}

.overlaycontainer:empty,
#price:empty,
.details:empty,
#calories:empty,
.text-button #textDesc:empty,
.modal-content #descriptionText:empty,
:empty + .dot-leader,
#menuDescription:empty {
    display: none;
}

#price:before {
    content: '$';
}

#calories:after {
    content: ' Cal';
}

#check {
    width: 40px;
    border-radius: 20px;
    visibility: hidden;
}

    #check:before {
        content: '\f00c';
    }

[class*='Quantity'] .lnm,
[class*='Qty'] .lnm,
[class*='LNM'] .qty {
    display: none;
}

#subButtons,
.order-review-quantity {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    width: 200px;
}

    .qty,
    .order-review-quantity > div {
        width: 33.33%;
    }

#minusButton:before,
#quantMinus:before {
    content: '\f068';
}

#plusButton:before,
#quantPlus:before {
    content: '\f067';
}

.button-down-state #plusButton,
#quantPlus {
    visibility: visible !important;
}

    #plusButton[style='visibility: hidden;']:before,
    #quantPlus[style='visibility: hidden;']:before {
        opacity: 0.5;
    }

#txtQuantity,
#quantity {
    border-left: 1px solid var(--Controls_Font_Color);
    border-right: 1px solid var(--Controls_Font_Color);
    box-sizing: content-box;
}

[class*='LNM'] .image-button #subButtons {
    width: 66.66%;
    flex-direction: column;
    border: 4px solid var(--Controls_Background);
    background: var(--Controls_Background);
}

.lnm.sub-button-down-state {
    border-radius: 18px;
}

.lnm,
.lnm:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    font-size: var(--Image_Button_Size);
    font-weight: bold;
}

.button-down-state #check,
.button-down-state #subButtons {
    visibility: visible;
    animation: zoomIn -0.25s 0.5s;
}

.gray-out {
    pointer-events: none;
    opacity: 0.5;
}

/* TEXT BUTTONS */

.text-button {
    position: relative;
    width: 33.33%;
    padding: 10px;
}

[data-button-count='1'] .text-button,
[data-button-count='2'] .text-button,
[data-button-count='3'] .text-button,
[data-button-count='4'] .text-button,
[data-button-count='5'] .text-button,
[data-button-count='6'] .text-button,
[data-button-count='7'] .text-button,
[data-button-count='8'] .text-button,
[data-button-count='9'] .text-button,
[data-button-count='10'] .text-button {
    width: 50%;
    max-width: 50%;
}

[data-button-count='1'] .text-button,
[data-button-count='2'] .text-button,
[data-button-count='3'] .text-button,
[data-button-count='4'] .text-button,
[data-button-count='5'] .text-button {
    margin: 0 1px;
}

.text-button .box {
    padding: var(--Text_Button_Size) 15px 0 15px;
    font-size: var(--Text_Button_Size);
}

.text-button .caption {
    display: flex;
    align-items: center;
    justify-content: space-between !important;
    height: calc(2 * var(--Text_Button_Size));
}

.text-button #btext {
    flex-grow: 1;
    font-weight: var(--Item_Weight);
    line-height: var(--Text_Button_Size);
    text-align: left;
}

.text-button {
    top: calc(50% - 20px);
    right: 10px;
}

    .text-button #check {
        position: absolute;
        right: 10px;
        top: calc(50% - 20px);
        background: transparent;
        color: var(--Item_Font_Color);
    }

.checkbutton-text.button-down-state .caption {
    margin-right: 40px;
    transition: 0.15s;
}

.text-button .details {
    align-items: flex-start;
    justify-content: space-between;
    height: var(--Text_Button_Size);
    font-size: var(--Item_Details_Size);
}

.text-button #nutritionInfo {
    flex-grow: 0;
    padding-right: 0px;
    border-top: 0;
    max-width: 60px;
}

.text-button #nutritionButton,
.text-button #addButton {
    scale: 0.8;
    bottom: -20px;
}

.text-button #subButtons {
    position: absolute;
    left: calc(50% - 100px)
}

.text-button #textDesc {
    white-space: nowrap;
    /* overflow: hidden;
  text-overflow: ellipsis; */
    max-width: calc(100% - 60px);
}

.text-button .overlaycontainer {
    flex-shrink: 0;
    margin-left: 10px;
    height: 1em;
}

    .text-button .overlaycontainer .overlay {
        height: 1em;
    }

/* POPOVERS */

.ibutton {
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 20px;
    width: 40px;
    z-index: 2;
    animation: zoomIn 0.5s;
}

    .ibutton:before {
        content: '\f129';
    }

.ibutton-showing,
.sub-button-down-state {
    background: var(--Controls_Font_Color) !important;
    color: var(--Controls_Background) !important;
}

    .ibutton-showing:before {
        content: '\f00d';
    }

.text-button .ibutton {
    height: 32px;
    line-height: 30px;
    width: 32px;
    font-size: 14px;
}

    .text-button .ibutton:after {
        content: '';
        display: block;
        position: absolute;
        top: -5px;
        right: -5px;
        width: 45px;
        height: 45px;
    }

.popover.top {
    position: absolute;
    top: 10px !important;
    left: initial !important;
    right: 10px;
    margin: 0;
    padding: 10px;
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: var(--Controls_Background);
    color: var(--Controls_Font_Color);
    font-size: var(--Item_Details_Size);
    line-height: calc(var(--Item_Details_Size) + 2px);
    font-family: var(--Item_Font_Family);
    border-radius: var(--Item_Curve);
    transition: none;
    z-index: 1;
    animation: popover 0.25s ease;
}

    .popover.top div {
        padding: 0;
        margin: 0;
    }

    .popover.top .popover-content {
        padding-right: 30px;
    }

.popover .arrow {
    display: none;
}

.popover.top .nex-button {
    position: absolute;
    bottom: 15px;
    width: calc(100% - 20px);
    color: var(--Controls_Background);
    background: var(--Controls_Font_Color);
    padding: 0 10px;
    border-radius: 20px;
}

/* SCAN */

#scanItems {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scan-current-item-prompt {
    display: none;
}

.scan-total {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    border-top: 1px solid dimgrey;
}

.scan-items-wrapper {
    height: 350px;
    width: 45vw;
    padding: 20px;
    overflow-y: scroll;
}

#scan-items {
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
}

    #scan-items:empty {
        align-items: center;
        justify-content: center;
    }

        #scan-items:empty:before {
            content: '\f02a';
            font-family: FA;
            font-size: 150px;
        }

.scan-item-wrapper {
    display: flex;
    margin-bottom: 0.25em;
    font-size: var(--Text_Button_Size);
}

#scan-item-description {
    flex-grow: 1;
}

.running-total {
    border-radius: 20px;
    width: 50%;
    position: relative;
}

#fakeScan {
    position: relative;
    top: -100%;
    width: 20vw;
    opacity: 0;
}

/* WEIGH */

#weighItem {
    height: 100%;
    width: 100%;
    background: url('../images/scale.png') center center no-repeat;
    filter: drop-shadow(0 0 10px black);
}

.WeighItems #buttons {
    height: 100%;
}

/* ORDER REVIEW */

.kiosk-content #buttons.order-review-buttons {
    display: block;
    margin: 0 calc(15% - 80px) 0 15%;
    padding: 30px 0px;
    height: 100%;
    overflow-y: scroll !important;
    background: transparent;
}

    .kiosk-content #buttons.order-review-buttons::-webkit-scrollbar {
        width: 70px;
    }

    .kiosk-content #buttons.order-review-buttons::-webkit-scrollbar-track {
        box-shadow: inset 0 0 10px 10px rgba(0, 0, 0, 0.33);
        border: solid 30px transparent;
        border-radius: 5px;
        border-radius: 10px;
    }

    .kiosk-content #buttons.order-review-buttons::-webkit-scrollbar-thumb {
        box-shadow: inset 0 0 10px 10px rgba(0, 0, 0, 0.75);
        border: solid 30px transparent;
    }

#orderreview {
    width: 100%;
    padding: 10px;
}

    #orderreview:not(:last-of-type) {
        margin-bottom: 20px;
    }

.order-review-row {
    display: flex;
    height: 40px;
    align-items: center;
    font-size: var(--Text_Button_Size);
}

#receipttext {
    flex-grow: 1;
    font-weight: var(--Item_Weight);
}

#receipt:after {
    font-family: FA;
    content: '\f543';
    margin-left: 5px;
}

#amountdue,
.order-review-quantity {
    margin-left: 10px;
}

#modtext {
    font-size: var(--Item_Details_Size);
    padding-top: 5px;
}

.order-review-modtext:empty {
    display: none;
}

.order-review-special-instructions #comment {
    width: 100%;
    padding: 5px 10px;
    border-radius: 20px;
    border: var(--Item_Border);
    font-size: var(--Item_Details_Size);
    display: var(--Special_Instrutions_on_Order_Review);
}

/* PAGINATION */

.kiosk-content .row {
    padding: 0 60px;
}

.carousel-control-prev,
.carousel-control-next {
    position: fixed;
    top: calc(50% - 20px);
    right: 15px;
    width: 40px;
    border-radius: 20px;
}

.carousel-control-prev {
    left: 15px;
}

    .carousel-control-prev:before {
        content: '\f060';
    }

.carousel-control-next:before {
    content: '\f061';
}

#template[data-button-count='1'] .row,
#template[data-button-count='2'] .row,
#template[data-button-count='3'] .row,
#template[data-button-count='4'] .row,
#template[data-button-count='5'] .row,
#template[data-button-count='6'] .row,
#template[data-button-count='7'] .row,
#template[data-button-count='8'] .row,
#template[data-button-count='9'] .row,
#template[data-button-count='10'] .row,
#template[data-button-count='11'] .row,
#template[data-button-count='12'] .row {
    padding: 0 20px;
}

#template[data-button-count='1'] + .carousel-buttons > a,
#template[data-button-count='2'] + .carousel-buttons > a,
#template[data-button-count='3'] + .carousel-buttons > a,
#template[data-button-count='4'] + .carousel-buttons > a,
#template[data-button-count='5'] + .carousel-buttons > a,
#template[data-button-count='6'] + .carousel-buttons > a,
#template[data-button-count='7'] + .carousel-buttons > a,
#template[data-button-count='8'] + .carousel-buttons > a,
#template[data-button-count='9'] + .carousel-buttons > a,
#template[data-button-count='10'] + .carousel-buttons > a,
#template[data-button-count='11'] + .carousel-buttons > a,
#template[data-button-count='12'] + .carousel-buttons > a,
.order-review .carousel-buttons,
.scanitems + .carousel-buttons,
[class*='weigh'] + .carousel-buttons {
    display: none;
}

/* UTILITY SCREENS */

.paymentclip,
#repeatOrderPhase,
#previousorders-form,
#orders,
#greenreceipt,
#complete-hitarea,
#clip-offline-kiosk {
    display: flex;
    justify-content: center;
    align-items: center;
}

#clip-choices,
#previousorders-form,
#clip-offline-kiosk {
    width: 100%;
    height: 100%;
}

#paymentclip-select .row {
    height: auto;
    display: flex !important;
    animation: fadeInRight 0.25s;
}

#repeatOrderPrompt,
#repeatOrderOptions {
    display: flex;
    animation: fadeInRight 0.25s;
}

#repeatOrderPhase {
    height: 100%;
}

.payment-button,
.payment-button:hover,
.repeatOrderPromptButton,
.repeatOrderPromptButton:hover,
.repeatOrderButton,
.repeatOrderButton:hover {
    display: inline-block;
    border: var(--Item_Border);
    margin: 10px;
    overflow: hidden;
    width: 200px;
}

    .payment-button #btext,
    .repeatOrderPromptButton #btext,
    .repeatOrderButton #btext {
        border-top: var(--Item_Border);
        height: 2em;
        line-height: 2em;
        font-size: var(--Image_Button_Size);
        text-align: center;
    }

.payment-media-wrapper {
    position: relative;
    z-index: 1;
}

    .payment-media-wrapper #bicon {
        z-index: -1;
        font-family: 'fa';
    }

.payment-button #bimage,
#bicon {
    display: flex;
    height: 126px;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 75px;
}

.payment-button #bimage {
    position: absolute;
    top: 0;
}

#btnTenderGeneric1 #bicon:before,
#btnTenderCredit #bicon:before,
#btnTenderLoyalty #bicon:before {
    content: '\f09d';
}

#btnTenderCounter #bicon:before {
    content: '\f3d1';
}

#btnTenderEmployee #bicon:before {
    content: '\f2bb';
}

#btnTenderCoupon #bicon:before {
    content: '\f3ff';
}

[id*='newOrder'] #bicon:before {
    content: '\f067';
}

[id*='repeatButton'] #bicon:before {
    content: '\f2f9';
}

[id*='pin'] #bicon:before {
    content: '\f00a';
}

[id*='cancel'] #bicon:before,
.cancel #bicon:before {
    content: '\f00d';
}

.phone #bicon:before {
    content: '\f10b';
}

.payment-container,
.payment-container:hover,
#ordercomplete,
#ordercomplete:hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 450px;
    width: 600px;
    animation: fadeInRight 0.25s;
}

.payment-message {
    font-size: var(--Text_Button_Size);
}

.payment-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 200px;
    border: 4px solid var(--Item_Font_Color);
    border-radius: 50%;
    margin-bottom: 30px;
}

#swipeImage {
    background: url('../images/tenders/-IG_Chip.gif');
    background-position: center center;
    background-size: cover;
}

#credit-form .payment-message {
    margin-bottom: 30px;
}

.card-image {
    display: inline;
    font-family: FAB;
    font-size: 40px;
    margin: 0 5px;
}

.visa:before {
    content: '\f1f0';
}

.mastercard:before {
    content: '\f1f1';
}

.amex:before {
    content: '\f1f3';
}

.discover:before {
    content: '\f1f2';
}

.diners:before {
    content: '\f24c';
}

.jcb:before {
    content: '\f24b';
}

#testpayment {
    display: none;
}

.previous-order,
.previous-order:hover {
    margin: 10px;
    width: 225px;
    height: 450px;
    overflow: hidden;
    border: var(--Item_Border);
    padding: 0 5px;
}

.thumbnail {
    background: transparent;
    border: 0;
}

#loadOrder > div {
    color: var(--Item_Font_Color);
    width: 100%;
    text-align: center;
}

.previous-order #modtext {
    padding-top: 0;
}

#orderdate {
    margin: 20px;
}

.previous-order {
    animation: stack3d 3s ease;
}

    .previous-order:nth-child(n + 6) {
        display: none;
    }

.previous-orders {
    perspective: 2000px;
    animation: fadeInUp 3s;
}

#clip-complete,
#complete-hitarea {
    height: 100%;
}

#ordercomplete > div:not(:empty) {
    font-size: var(--Header_Size);
    text-align: center;
    margin: 10px 0;
}

#ordercomplete > #ordernumber:not(:empty) {
    font-size: 5em;
    line-height: 1em;
}

#splash {
    background: var(--Splash_Static_Background);
}

#dynamicsplashvideo {
    display: var(--Splash_Display_Video);
    position: absolute;
    top: 0;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
}

#splashGuestVideoTarget {
    position: fixed;
    top: calc(100% - 30px - 240px);
    left: calc(100% - 15px - 340px);
    border-radius: 30px;
    overflow: hidden;
    border: 3px solid var(--Accent_Color);
    background: dimgray;
    box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.66);
}

    #splashGuestVideoTarget > img {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        border: none;
        background-color: transparent;
    }

#splashInstructionsContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
}

#splashLogo {
    display: var(--Splash_Display_Logo);
    height: 200px;
    width: 200px;
    background: var(--Logo_Image) no-repeat center center;
    background-size: contain;
    margin-bottom: 20px;
}

#splashInstructionHeader {
    display: none;
}

#splashInstructions {
    width: 100%;
    height: calc(2 * var(--Splash_Size));
}

.splashInstruction {
    width: 100%;
    opacity: 0;
    position: absolute;
    line-height: 1em;
    padding: 0 15%;
    text-align: center;
    color: var(--Splash_Color);
    font-size: var(--Splash_Size);
    font-weight: var(--Splash_Weight);
}

.splashMessage {
    display: inline-block;
}

.splashSequence {
    display: var(--Splash_Display_Number);
}

    .splashSequence:after {
        content: '.';
    }

.splash-in {
    animation: var(--Splash_Entrance_Animation);
    opacity: 1;
}

.splash-out {
    animation: var(--Splash_Exit_Animation);
    opacity: 0;
}

#languageSwitcher {
    position: absolute;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    font-size: 30px;
}

.splash-language-wrapper {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.alternateLanguageToStart {
    position: initial;
    bottom: initial;
    left: initial;
    width: initial;
    padding: 0 20px;
    margin-left: initial;
    height: 60px;
    line-height: 60px;
    background: black;
    font-size: 24px;
    font-weight: bold;
    border: initial;
    border-top-left-radius: var(--Item_Curve);
    border-top-right-radius: var(--Item_Curve);
}

    .alternateLanguageToStart:before {
        content: none;
    }

.lang-icon:before {
    font-family: 'FA';
    content: '\f06e';
    font-weight: 400;
    margin-right: 15px;
}

#splashvideo {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

#languageSwitcher:before {
    content: '\f0ac';
}

#statusMessageContainer {
    position: relative;
    color: var(--Item_Font_Color);
}

    #statusMessageContainer > div {
        line-height: 2em;
        padding: 0 1em;
        text-align: center;
    }

#splashGuestVideoTarget {
    position: fixed;
    top: 30px;
    left: 30px;
}

    #splashGuestVideoTarget > img {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        border: none;
        background-color: transparent;
    }

/* MODALS */

.modal-backdrop {
    display: none;
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100% !important;
    width: 100% !important;
    zoom: initial !important;
    margin: 0;
    background: rgba(0, 0, 0, 0.75);
}

.modal-content {
    background: rgba(0, 0, 0, 0.75);
    border: var(--Item_Border);
    border-radius: var(--Control_Button_Outer_Curve);
    font-family: var(--Item_Font_Family);
    color: white;
    min-width: 33%;
    animation: zoomIn -0.25s 0.5s;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .modal-content {
        animation: none;
    }
}

.modal-content > *:nth-child(1) {
    border-top: 0;
}

#messageText,
#receiptText {
    margin: 0;
    text-align: center;
    font-size: var(--Text_Button_Size);
}

.modal-content #descriptionText {
    max-width: 350px;
    margin: 0 auto 30px auto;
    padding: 0;
    text-align: center;
}

.popup-button,
.popup-button:hover,
.popup-button:active,
.popup-button:focus,
.btn-default[disabled] {
    background: white;
    color: black;
    margin: 0 0;
    font-size: var(--Text_Button_Size);
}

    .popup-button[disabled] {
        background: white !important;
    }

.modal-footer .btn + .btn {
    margin: 15px 0 0 0;
}

.modal-footer {
    display: flex;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid dimgrey;
}

div.numpadOutput,
div.phonepadOutput {
    overflow: hidden;
    width: 60%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    div.phonepadOutput > * {
        text-align: center;
    }

    div.phonepadOutput > span {
        font-family: arial;
        position: relative;
        top: -1px;
        margin: 0 -4px;
    }

.numpadTextOut,
.phonepadTextOut,
.pagerpadTextOut {
    width: 100%;
    text-align: center;
    height: calc(2 * var(--Text_Button_Size));
    border: 0;
    margin: 0;
}

ul.numpadInput,
ul.phonepadInput {
    width: 216px !important;
    padding: 0;
    margin-bottom: 20px;
}

    ul.numpadInput li,
    ul.phonepadInput li {
        margin: 6px !important;
        height: 60px !important;
        width: 60px !important;
        line-height: 60px !important;
        text-align: center;
        border-radius: 30px !important;
        border: 0 !important;
        font-size: 30px;
    }

.delete:before {
    content: '\f060';
    font-family: FA;
    font-size: 30px;
}

.tip-wrapper {
    display: flex;
    padding: 10px;
}

    .tip-wrapper .btn {
        margin: 10px;
        width: 25%;
    }

#popup-tip-other .numpadOutput {
    position: relative;
}

    #popup-tip-other .numpadOutput:before {
        content: '$';
        position: absolute;
        left: 10px;
    }

.offer {
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 0px 10px 0px 45px;
    height: 50px;
    line-height: 50px;
    background: white;
    color: black;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
}

    .offer .check {
        position: relative;
        left: -100px;
    }

    .offer label {
        margin: 0;
    }

    .offer .check:before {
        content: '\f00c';
        font-family: FA;
        display: block;
        position: absolute;
        overflow: hidden;
        padding-top: 40px;
        height: 40px;
        width: 40px;
        left: 60px;
        top: -15px;
        text-align: center;
        line-height: 40px;
        background: var(--Controls_Background);
        color: var(--Controls_Font_Color);
        border-radius: 20px;
        transition: 0.25s;
    }

    .offer .check:checked:before {
        padding-top: 0;
    }

    .offer label:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0px;
        right: 0;
    }

#popup-lookupvideo .modal-content {
    min-width: unset;
}

#popup-keyboard .modal-content,
#popup-email .modal-content,
#popup-name .modal-content {
    width: 800px;
}

div#keyboardContainer {
    padding: 0 20px 20px 20px;
    margin: 0;
    width: 100%;
    height: auto;
}

#keyboardContainer .write {
    padding: 0;
    margin: 0;
    width: 100%;
    height: calc(2 * var(--Text_Button_Size));
    line-height: calc(2 * var(--Text_Button_Size));
    border-radius: var(--Text_Button_Size);
    text-align: center;
    font-family: var(--Item_Font_Family);
}

#keyboard {
    margin-top: 20px !important;
    width: 100%;
}

    #keyboard > div {
        display: flex;
        width: 100%;
    }

    #keyboard li {
        flex-grow: 1;
        padding: 0;
        margin: 3px 3px !important;
        border-radius: 0 !important;
        font-family: var(--Item_Font_Family);
        font-size: 16px;
        height: 45px;
        line-height: 45px;
    }

    #keyboard .delete:before {
        content: '\f55a';
        font-size: 18px;
    }

#keyboardContainer + .modal-footer {
    flex-direction: row;
}

    #keyboardContainer + .modal-footer .btn {
        flex-grow: 1;
    }

        #keyboardContainer + .modal-footer .btn + .btn {
            margin: 0 0 0 20px;
            flex-grow: 1;
        }

#popup-nutrition .modal-content {
    width: 300px;
    min-width: 300px;
    background: white;
    color: black;
    border-radius: 0;
    border: 3px solid black;
    font-family: DontRemoveThis;
    text-transform: initial;
}

.nutrition-header {
    font-weight: bold;
    border-bottom: 1px solid dimgrey;
    padding: 20px;
    text-align: center;
    font-size: 40px;
}

#popup-nutrition .popup-button {
    background: black;
    color: white;
}

.nutrition-info:not(:last-of-type) {
    border-bottom: 2px solid black;
}

.nutrition-info:nth-child(2) {
    font-size: 24px;
}

.nutrition-divider {
    height: 4px;
    background: black;
    margin-bottom: 10px;
}

.nutrition-amount {
    display: flex;
    font-weight: bold;
}

    .nutrition-amount span:first-of-type {
        flex-grow: 1;
    }

.nutrition-info:nth-child(1n + 3) .nutrition-amount span:last-of-type:after {
    content: 'g';
}

#cholesterol:after,
#sodium:after {
    content: 'mg';
}

#serving:empty:after {
    content: 'Unspecified';
}

.nutrition-info span.indent {
    margin-left: 15px;
    font-weight: normal;
}

#receipt + .popover,
#receipt + .popover .popover-content {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    height: 100%;
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0;
    background: rgba(0, 0, 0, 0.5);
}

#receiptContent {
    position: absolute;
    overflow: hidden;
    top: 20%;
    left: 25%;
    height: 60%;
    width: 50%;
    overflow-y: scroll;
    padding: 15px 25px;
    border-radius: var(--Control_Button_Outer_Curve);
    background: white;
    color: black;
    font-family: DontRemoveThis;
    animation: none;
    animation: zoomIn -0.25s 0.5s;
}

.receipt-item,
.receipt-mod {
    display: flex;
    line-height: 1em;
    padding-top: 20px;
}

.dot-leader {
    flex-grow: 1;
    border-bottom: 2px dotted #000;
    margin: 0 3px;
}

.receipt-mod {
    padding: 10px 0 0 15px;
    font-size: 15px;
}

[class*='receipt'][class*='amount'] {
    order: 1;
}

#receiptMurderizer {
    display: none;
    justify-content: center;
    position: fixed;
    top: calc(20% - 25px);
    right: calc(25% - 25px);
    height: 60px;
    width: 60px;
    z-index: 1024;
    border-radius: 50%;
    background: var(--Accent_Color);
    color: var(--Controls_Font_Color);
    font-size: 30px;
    animation: zoomIn 0.5s;
}

    #receiptMurderizer:before {
        content: '\f00d';
    }

.popover + #receiptMurderizer {
    display: flex;
}

/* ANIMATIONS */

@keyframes popover {
    0% {
        transform: scale(0);
        transform-origin: top right;
    }

    100% {
        transform-origin: top right;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
    }

    50% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    to {
        opacity: 100;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes stack3d {
    0% {
        transform: rotate3d(0, 1, 0, 60deg);
        margin: 0 -100px;
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    70% {
        transform: rotate3d(0, 1, 0, 60deg);
        margin: 0 -100px;
    }
}

#popup-need-more-time svg {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    transform: rotate(-90deg);
    left: calc(50% - 125px);
    position: relative;
    margin-top: 30px;
}

#popup-need-more-time circle {
    fill: transparent;
    stroke: yellow;
    stroke-width: 5;
    stroke-dasharray: 0 100;
    animation: border-timer 4s linear;
}

#popup-need-more-time .modal-content {
    display: block;
}

.paused circle {
    animation-play-state: paused;
}

@keyframes border-timer {
    to {
        stroke-dasharray: 101 100;
        stroke: red;
        stroke-width: 1;
    }
}

#popup-need-more-time #messageText:after {
    content: '3';
    display: block;
    position: absolute;
    top: -170px;
    left: calc(50% - 50px);
    width: 100px;
    font-size: 60px;
    text-align: center;
    animation: countdown linear 4s;
}

@keyframes countdown {
    0% {
        content: '3';
    }

    33% {
        content: '2';
    }

    66% {
        content: '1';
    }

    100% {
        content: '0';
    }
}

@keyframes tada {
    from {
        transform: scale3d(1, 1, 1);
    }

    10%, 20% {
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    to {
        transform: scale3d(1, 1, 1);
    }
}

.nudge {
    animation: tada 1s !important;
}

/* DT5 */

@media only screen and (width: 768px) and (height: 1366px) {
    #wrap {
        height: 50% !important;
    }

    #moveUp,
    #moveDown {
        position: relative;
        top: -60px;
        height: 60px;
        background: black;
        color: white;
        text-align: center;
        line-height: 60px;
        font-size: var(--Header_Size);
    }

    #moveDown {
        top: calc(100% - 60px);
    }

        #moveUp:before,
        #moveDown:before {
            content: 'MOVE ';
        }

        #moveUp:after,
        #moveDown:after {
            font-family: FA;
            content: '\f0aa';
        }

        #moveDown:after {
            content: '\f0ab';
        }
}

/*------------
	MOBILE
------------*/

.iorderfast-content .carousel-buttons,
.iorderfast-content #clip-header {
    display: none;
}

.iorderfast-content {
    /* margin: var(--Top_Toolbar_Height) 0 0 0; */
    position: absolute;
    left: 0;
    top: var(--Top_Toolbar_Height);
    bottom: 0px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

    .iorderfast-content #template {
        margin: auto;
        max-width: 1200px;
    }

    .iorderfast-content #buttons:not(.order-review-buttons) {
        text-align: center;
    }

    .iorderfast-content #buttons .row,
    .iorderfast-content .order-review-buttons {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        padding: 15px;
        margin: 0;
    }

    .iorderfast-content .image-button {
        width: 25%;
        display: inline-flex;
    }

    .iorderfast-content .text-button {
        width: 33.33%;
        display: inline-flex;
    }

        .iorderfast-content .image-button .box,
        .iorderfast-content .text-button .box {
            width: 100%;
        }

    .iorderfast-content .details {
        justify-content: flex-start;
    }

    .iorderfast-content .image-button .details {
        padding-bottom: 5px;
    }

    .iorderfast-content .details > div {
        padding: 0 0 !important;
        flex-grow: 0 !important;
        border-top: none !important;
    }

    .iorderfast-content #calories:after {
        margin-right: 12px;
    }

    .iorderfast-content .overlaycontainer {
        margin-right: 8px;
    }

/* NAV */

.navbar {
    display: flex;
    height: var(--Top_Toolbar_Height);
    background: var(--Top_Toolbar_Background);
    padding: 0 20px;
    border-bottom: 1px solid dimgrey;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar-fixed-top {
    position: absolute !important;
    -webkit-backface-visibility: 0;
    backface-visibility: 0;
}

.navbar-fixed-top {
    position: absolute;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 200px;
    position: absolute;
    right: 20px;
    height: var(--Top_Toolbar_Height);
    flex-shrink: 0;
}

.navbar-toggle {
    margin: 0;
    background: transparent !important;
    border: 0;
    padding: 0;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: var(--Top_Toolbar_Font_Color);
    height: 3px;
}

.navbar-collapse {
    padding: 0;
}

#navDesktop .navbar-nav {
    display: flex;
}

.navbar-default .navbar-nav > li > a,
.dropdown:nth-child(1) {
    color: var(--Top_Toolbar_Font_Color);
    font-size: 16px;
    height: 60px;
    line-height: 60px;
    padding: 0 0 0 20px;
}

.dropdown .fa:before {
    font-size: 24px;
    display: inline-block !important;
    width: 30px !important;
}

#navChangeAccount .fa:before {
    content: '\f2bd';
}

#navChangePassword:before {
    content: '\f084';
    font-size: 22px;
}

#navLogout:before {
    content: '\f2f5';
    font-size: 28px;
}

#header-text,
#menuDescription {
    /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
    width: 100%;
    color: white;
}

.nav-label {
    display: none;
}

.iorderfast-content #clip-receipt {
    pointer-events: none;
}

/* FORMS */

.form.container {
    margin-top: 60px;
}

.form.box {
    width: 550px;
    max-width: calc(100vw - 60px);
    margin: 0 auto 30px auto;
    padding: 20px;
    text-align: center;
}

.form-header {
    width: 100%;
    text-align: center;
    font-size: var(--Header_Size);
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #536a20;
}

form a {
    color: var(--Item_Font_Color);
}

.form .btn:not(.popup-button):not(.control-button) {
    border-radius: 20px;
    padding: 0 20px;
    border: 0;
    line-height: 40px;
    text-align: center;
    background: var(--Controls_Background) !important;
}

#btnLogin {
    float: left;
}

#guestLogin {
    display: var(--Guest_Login);
}

input,
select,
textarea {
    margin-bottom: 10px;
}

.submit-form {
    line-height: 40px;
}

.remember-wrapper {
    float: right;
}

#customerCreate {
    display: none;
}

.forgot-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
    top: 0.75em;
}

label {
    font-weight: normal;
}

.file-preview-frame {
    border-radius: 50%;
    overflow: hidden;
    padding: 0;
    margin: 0 0 20px 0;
}

.avatar-container {
    width: auto !important;
    display: flex;
    justify-content: center;
}

.file-input {
    margin: 0 auto;
}

#preferredDate:after {
    content: 'Order Date';
}

#copyright {
    display: none;
}

hr {
    border-top: 1px solid dimgrey;
}

.amount-due {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.payment-totals-label {
    float: left;
}

.payment-totals {
    float: right;
}

.iorderfast-content #ordercomplete {
    height: auto;
    margin: 60px 20px 0 20px;
    padding: 0 10px;
}

.glyphicon:before {
    font-family: FA;
    position: relative;
    top: -2px;
}

#local-guest-accounts .form.box {
    width: 750px;
    font-weight: bold;
    text-transform: uppercase;
    color: #536a20;
}

#local-guest-accounts .account-footer .btn {
    margin-right: 5px;
}

#local-guest-accounts .account-footer .nex-button {
    width: 200px;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

.account-row,
.account-footer {
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    margin: 5px auto;
}

    .account-row span:first-of-type {
        font-weight: bold;
    }

.account-footer,
.add-credit-card {
    margin-top: 20px;
}

.account-limit span:nth-child(2):before,
.account-balance span:nth-child(2):before {
    content: '$';
}

.auto-funding-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/*  AUTO FUNDING  */
#removeCard, #addCard {
    color: var(--Accent_Color);
}

#auto-funding-form .toggle-component {
    display: flex;
    justify-content: center;
    padding: 10px 25px;
}

#auto-funding-form .toggle-wrapper {
    padding-right: 10px;
}

span.fa.fa-minus:before {
    content: "\f068";
    font-family: 'FA';
}

span.fa.fa-plus:before {
    content: "\f067";
    font-family: 'FA';
}


#enabled[type='checkbox'] {
    margin-right: 5px;
}

.rewards-links {
    display: flex;
    display: none;
    background: black;
    width: 360px;
    position: absolute;
    left: calc(50% - 180px);
    padding: 10px;
    margin-top: -30px;
    justify-content: space-evenly;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

    .rewards-links a {
        color: white;
        font-size: 12px;
    }

form #myModal .btn {
    background: white;
    color: black;
    line-height: initial;
}

.help-block {
    position: relative;
    top: -8px;
}

.save-payment-div,
.save-payment-state {
    text-align: left;
}

.glyphicon-remove:before {
    content: '\f00d';
    color: #bb0000;
}

/* SCROLL MARGIN */

.iorderfast-content #template,
.form.container,
.iorderfast-content #orderreview:last-of-type {
    margin-bottom: 150px !important;
}

@media only screen and (max-width: 1023px) {
    .iorderfast-content .image-button {
        width: 33.33%;
    }

    .iorderfast-content .text-button {
        width: 50%;
    }

    .image-button #btext {
        height: 4em;
    }

    .modal-content {
        min-width: 66%;
    }
}

@media only screen and (max-width: 767px) {
    #header-text,
    #menuDescription {
        width: calc(100vw - var(--Logo_Width) - var(--Logo_Spacing) - 100px);
    }

    .iorderfast-content #buttons .row {
        padding: 0;
        display: block;
    }

    .iorderfast-content .image-button,
    .iorderfast-content .text-button {
        float: left;
        padding: 0;
        width: 50%;
        border-bottom: var(--Item_Border);
        max-width: none;
    }

    .iorderfast-content .text-button {
        width: 100%;
    }

    .image-button .box,
    .text-button .box {
        border: 0px;
        border-radius: 0px;
        overflow: hidden;
    }

    .image-button:nth-child(odd) .box {
        border-right: var(--Item_Border);
    }

    .overlaycontainer {
        display: block;
    }

    .site-nav-collapse {
        position: fixed;
        top: var(--Top_Toolbar_Height);
        left: 0;
        width: 100vw;
        height: 244px !important;
        overflow: hidden;
    }

    .order-review-row {
        flex-direction: column;
        height: auto;
    }

    .order-review-modtext {
        text-align: center;
    }

    #amountdue {
        margin: 10px 0;
    }

    .ibutton:not(.ibutton-showing),
    .ibutton:not(.ibutton-showing):focus,
    .ibutton:not(.ibutton-showing):active,
    .ibutton:not(.ibutton-showing):hover {
        top: 0px;
        right: 0px;
        background: transparent;
        color: var(--Item_Font_Color);
    }

        .ibutton:not(.ibutton-showing):before {
            content: '\f05a';
        }

    .ibutton-showing {
        position: fixed;
        top: calc(25% - 10px);
        right: 5px;
        z-index: 4;
    }

    /* FOOTER */
    #clip-footer {
        flex-direction: column-reverse;
        height: auto;
        padding: 0;
    }

    #controlbuttons {
        width: 100%;
        border: 0;
        box-shadow: none;
        height: 45px;
    }

    .control-button {
        height: 30px;
        line-height: 30px;
        font-size: 15px;
    }

    [class*='footer-'] {
        width: 100%;
        text-align: center;
        line-height: 40px;
    }

    #receipt,
    #nutritionSummary {
        text-align: center;
        pointer-events: none;
        height: 40px !important;
    }

        #receipt[style*='hidden'] {
            display: none;
        }

    .popover.top {
        position: fixed;
        z-index: 3;
        height: 50%;
        top: 25% !important;
        box-shadow: 0 0 0 75vh rgba(0, 0, 0, 0.5);
        transition: 0.5s;
    }

    /* NAV */
    .navbar-nav {
        flex-direction: column;
        background: white;
        margin: 0 0;
    }

    .dropdown {
        border-bottom: 1px solid dimgrey;
    }

    .nav-label {
        display: inline;
        margin-left: 15px;
        line-height: 60px;
    }

    .navbar-default .navbar-nav > li > a {
        color: black !important;
    }

    .dropdown:nth-child(1) {
        color: black !important;
        font-size: var(--Header_Size);
    }
}

/*---------
	CUSTOM
---------*/

/* CUTOUT STYLES */

/* @media (min-width: 768px) {

	.image-button {
		padding: 0;
	}

	.image-button .box * {
		flex-grow: 0 !important;
		border: none !important;
	}

	.image-button .box {
		border: none;
		background: none;
	}

	.image-button .ibutton:not(.ibutton-showing) {
		top: 20px;
		right: 20px;
		transition: .25s;
	}

} */

/* STYLES FOR DEMO REVENUE CENTERS */

[class*='THEME'] .Main-Menu-buttons .image-button:nth-child(n + 9),
[class*='DJH'] .Main-Menu-buttons .image-button:nth-child(n + 9) {
    width: 50% !important;
}

[class*='THEME'] .Main-Menu-buttons .details,
[class*='DJH'] .Main-Menu-buttons .details {
    display: none;
}

[class*='THEME'] .Main-Menu-buttons .image-button:nth-child(n + 9) #bimage,
[class*='DJH'] .Main-Menu-buttons .image-button:nth-child(n + 9) #bimage,
[class*='THEME']
.iorderfast-content
.Main-Menu-buttons
.image-button:nth-child(n + 9),
[class*='DJH']
.iorderfast-content
.Main-Menu-buttons
.image-button:nth-child(n + 9),
[class*='THEME'] .Main-Menu-buttons .image-button:nth-child(n + 9) .details,
[class*='DJH'] .Main-Menu-buttons .image-button:nth-child(n + 9) .details {
    display: none;
}

[class*='THEME'] .Main-Menu-buttons .image-button:nth-child(n + 9) #btext,
[class*='DJH'] .Main-Menu-buttons .image-button:nth-child(n + 9) #btext {
    font-size: 22px;
    padding: 1.75em 0;
}

[class*='THEME'] .Main-Menu-buttons #bimage,
[class*='DJH'] .Main-Menu-buttons #bimage {
    height: 150px;
}

[class*='THEME'] .splashInstruction,
[class*='DJH'] .splashInstruction {
    text-shadow: 2px 2px 3px black;
}

@media only screen and (min-width: 1024px) {
    [class*='THEME'] .logo,
    [class*='DJH'] .logo {
        width: 100px;
    }

    [class*='THEME'] #clip-header,
    [class*='DJH'] #clip-header {
        background-position-x: calc(100% - 15px);
        background-position-y: 8px;
    }
}


    /* =========================================================
         ***     FREEDOM PAY     ***
============================================================ */
#hosted-credit-form, #hpc--card-frame {
    height: 450px;
  }