html {
    width: 100%;
    height: 100%;
}

body {
    padding: 0;
    margin: 0;
    background: #fff min-height: 100%;
    position: relative;
    width: 100%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.modal-backdrop {
    background: #fff;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #666;
    color: #fff;
    text-align: center;
    font-size: 10pt;
    padding: 5px;
    z-index: 999999;
}

    footer a {
        color: #fff;
    }

.loading-modal {
    background: rgba(255, 255, 255, 0.7);
    background: none;
    z-index: 999999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

    .loading-modal .loading-box {
        background: #fff;
        border: 5px solid rgba(204, 204, 204, 0.7);
        border-radius: 15px;
        width: 100px;
        height: 100px;
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -50px;
        margin-top: -50px;
        padding: 10px;
    }

        .loading-modal .loading-box .loading-icon {
            background: url(/Content/img/spin.gif) no-repeat center;
            width: 70px;
            height: 70px;
        }

.text-exit {
    color: #b94a48 !important;
}

.text-enter {
    color: #468847 !important;
}

.btn:not(.btn-date) {
    padding: 10px 30px;
    font-size: 18pt;
    min-width: 150px;
}


.boxDisplayNumber {
    width: 360px;
    margin: 0 auto;
}

    .boxDisplayNumber #txtPhone {
        padding: 0;
        margin: 5px;
        width: calc(100% - 90px);
        height: 70px;
        border: 1px solid #ccc;
        border-radius: 5px;
        line-height: 70px;
        text-align: center;
        font-size: 27pt;
        font-weight: 400;
        float: left;
    }

    .boxDisplayNumber button.btn {
        padding: 0;
        margin: 5px;
        width: 70px;
        height: 70px;
        text-align: center;
        font-size: 15pt;
        min-width: 0;
    }

.boxCellNumber {
    width: 360px;
    margin: 0 auto;
}

    .boxCellNumber button {
        padding: 0;
        margin: 5px;
        width: 110px;
        height: 110px;
        text-align: center;
        line-height: 90px;
        font-size: 15pt;
        min-width: 0;
    }

        .boxCellNumber button.btn-cell-number {
            font-size: 5em;
        }

.form-group .form-control {
    height: 40px;
    font-size: 16pt;
}

.boxOrderCategory {
    padding: 10px;
}

    .boxOrderCategory .row {
        margin: 0 -5px;
        position: relative;
    }

        .boxOrderCategory .row .col {
            padding: 0 5px 10px;
            position: absolute;
            top: 0;
            left: 0;
        }

        .boxOrderCategory .row .col-1 {
            left: 33.33333333333333%;
        }

        .boxOrderCategory .row .col-2 {
            left: 66.66666666666666%;
        }

    .boxOrderCategory a {
        display: block;
        background: #fff;
        border: 1px solid #ccc;
        box-shadow: 1px 1px 2px #ccc;
        border-radius: 5px;
        width: 100%;
        height: 110px;
        float: left;
        padding: 0 5px;
        text-align: center;
        position: relative;
        text-decoration: none;
        overflow: hidden;
    }

        .boxOrderCategory a .bgColor {
            top: 0;
            left: 0;
            position: absolute;
            display: block;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .boxOrderCategory a h3 {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 110px;
            display: table;
            font-size: 15pt;
            font-weight: bold;
            color: #333;
            position: relative;
            z-index: 10;
        }

        .boxOrderCategory a span {
            display: table-cell;
            vertical-align: middle;
        }

        .boxOrderCategory a:hover {
            border-color: #ddd;
            box-shadow: 1px 1px 2px #ddd;
            color: #000;
            background: rgba(255,255,255,1);
            background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
            background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(217,213,213,1)));
            background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
            background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
            background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
            background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d9d5d5', GradientType=0 );
        }

.boxOrderProduct {
    padding: 10px;
}

    .boxOrderProduct .row {
        margin: 0 -5px;
        position: relative;
    }

        .boxOrderProduct .row .col {
            padding: 0 5px 10px;
            position: absolute;
            top: 0;
            left: 0;
        }

        .boxOrderProduct .row .col-1 {
            left: 33.33333333333333%;
        }

        .boxOrderProduct .row .col-2 {
            left: 66.66666666666666%;
        }

        .boxOrderProduct .row a {
            display: block;
            background: #fff;
            border: 1px solid #ccc;
            box-shadow: 1px 1px 2px #ccc;
            border-radius: 5px;
            width: 100%;
            height: 110px;
            float: left;
            padding: 5px;
            text-align: left;
            position: relative;
            text-decoration: none;
            color: #333;
            overflow: hidden;
            background-repeat: no-repeat;
            background-size: cover;
            background-position: center;
        }

            .boxOrderProduct .row a .bgColor {
                top: 0;
                left: 0;
                position: absolute;
                display: block;
                width: 100%;
                height: 100%;
                z-index: 0;
            }

            .boxOrderProduct .row a .bgImage {
                top: 0;
                left: 0;
                position: absolute;
                display: block;
                width: 100%;
                height: 100%;
                z-index: 5;
                background-repeat: no-repeat !important;
                background-size: cover !important;
                background-position: center !important;
            }

            .boxOrderProduct .row a h3 {
                margin: 0;
                padding: 0;
                width: 100%;
                height: 40px;
                display: table;
                font-size: 9pt;
                font-weight: bold;
                color: #333;
            }

            .boxOrderProduct .row a .img {
                width: 58px;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                background-position: center;
                background-size: cover;
                background-repeat: no-repeat;
            }

            .boxOrderProduct .row a span.name,
            .boxOrderProduct .row a .price,
            .boxOrderProduct .row a .time {
                position: absolute;
                top: 3px;
                left: 3px;
                height: 24px;
                line-height: 20px;
                font-size: 13pt;
                background: none; /*rgba(0, 0, 0, 0.5);*/
                display: block;
                padding: 2px 5px;
                color: #000;
                border-radius: 4px;
                z-index: 20;
            }

            .boxOrderProduct .row a .time {
                top: 3px;
                right: 3px;
                left: auto;
            }

            .boxOrderProduct .row a span.name {
                top: auto;
                bottom: 0;
                left: 0;
                width: 100%;
                height: auto;
                font-size: 16pt;
                font-weight: bold;
                padding: 5px;
                text-align: center;
                border-radius: 0;
            }

            .boxOrderProduct .row a:hover {
                box-shadow: 1px 1px 2px #ddd;
                /*color: #000;
                background: rgba(255,255,255,1);
                background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
                background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,1)), color-stop(100%, rgba(217,213,213,1)));
                background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
                background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
                background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
                background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(217,213,213,1) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d9d5d5', GradientType=0 );*/
            }

            .boxOrderProduct .row a.active {
                border-left: 1px solid #4cae4c !important;
                border-color: #4cae4c !important;
            }

        .boxOrderProduct .row .col.active {
            display: none;
        }

.boxEmployee .info {
    padding: 10px 10px 0;
}

    .boxEmployee .info .row {
        margin: 0 -5px;
    }

        .boxEmployee .info .row .col-lg-2 {
            padding: 0 5px;
        }

.panel {
    margin: 0;
}

    .panel .panel-heading {
        font-size: 15pt;
        padding: 7px 15px;
    }

#modalCustomer {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    margin: 0 0 40px -295px;
    height: auto;
    width: 590px;
    padding: 0 0 100px;
    background: #fff;
    z-index: 99;
}

    #modalCustomer .input-group select.form-control {
        padding: 0px 4px;
        font-size: 13pt !important;
        text-align: center;
    }

    #modalCustomer .panel-footer {
        padding: 5px;
    }

#modalPhoneNumber {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    margin: 0 0 40px -185px;
    height: 620px;
    width: 370px;
    padding: 0;
    background: #fff;
    z-index: 99;
    height: 260px;
    margin: 0 0 40px -185px;
}

    #modalPhoneNumber .panel-body {
        padding: 5px;
    }

#modalService {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 9999;
    overflow: hidden;
}

    #modalService .boxBody {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 63px);
        background: #fff;
        overflow: auto;
    }

    #modalService .boxButton {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 63px;
        background: #f5f5f5;
        padding: 3px 10px;
        border-top: 1px solid #ddd;
    }

        #modalService .boxButton .btn {
            margin-bottom: 5px;
        }

        #modalService .boxButton .row {
            margin: 0 -5px;
        }

            #modalService .boxButton .row .col-sm-3 {
                padding: 0 5px;
            }

#employeeList button {
    display: block;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 2px #ccc;
    border-radius: 5px;
    width: 100%;
    height: 110px;
    float: left;
    padding: 5px;
    text-align: left;
    position: relative;
    text-decoration: none;
    color: #333;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 0 15px;
}

    #employeeList button .bgColor {
        top: 0;
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    #employeeList button .bgImage {
        top: 0;
        left: 0;
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        z-index: 5;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
    }

        #employeeList button .bgImage.nosize {
            background-size: auto !important;
            background-position: center 8px !important;
        }

    #employeeList button span.name {
        position: absolute;
        line-height: 20px;
        background: none; /*rgba(0, 0, 0, 0.5);*/
        display: block;
        color: #000;
        z-index: 20;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        font-size: 16pt;
        font-weight: bold;
        padding: 5px;
        text-align: center;
        border-radius: 0;
    }



#modalEmployeeClock {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    margin: 0 0 40px -295px;
    height: auto;
    width: 590px;
    padding: 0;
    background: #fff;
    z-index: 99;
}

    #modalEmployeeClock .panel-footer {
        padding: 5px;
    }


.popover {
    width: 100%;
    max-width: 500px;
}

.popover-content {
    padding: 5px;
    max-height: 500px;
    overflow: auto;
}

    .popover-content .list-group {
        margin: 0;
    }

        .popover-content .list-group li {
            position: relative;
            padding: 10px 45px 10px 15px;
        }

            .popover-content .list-group li button.btn-xs {
                position: absolute;
                padding: 0;
                top: 3px;
                right: 3px;
                min-width: 0;
                width: 33px;
                height: 33px;
                font-size: 13pt;
                border-radius: 100%;
            }

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none; /* This makes sure that we can still click outside of the modal to close it */
}

.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events: none;
}

.modal-content {
    /* Bootstrap sets the size of the modal in the modal-dialog class, we need to inherit it */
    width: inherit;
    max-width: inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height: inherit;
    /* To center horizontally */
    margin: 0 auto;
    pointer-events: all;
}

@media(max-width:981px) {
    .lobibox {
        top: 10px !important;
    }

    #modalCustomer {
        top: 10px;
    }

    #modalPhoneNumber {
        top: 10px;
    }

    #modalCustomer .panel-body .form-group {
        margin-bottom: 5px;
    }

    #modalCustomer .form-group .form-control {
        height: 34px;
        font-size: 12pt;
        padding: 4px 5px;
    }

    #modalCustomer .form-group .control-label {
        padding: 7px 0 0 10px;
        font-size: 10pt;
    }
}

@media(max-width:767px) {
    .lobibox {
        top: 5px !important;
    }

    #modalCustomer {
        top: 5px;
        left: 5px;
        margin: 0 0 40px 0;
        height: auto;
        width: calc(100% - 10px);
    }

        #modalCustomer .panel-body {
            padding: 5px 15px;
        }

            #modalCustomer .panel-body .form-group {
                margin-bottom: 3px;
            }

        #modalCustomer .form-group .form-control {
            height: 34px;
            font-size: 12pt;
            padding: 4px 5px;
        }

        #modalCustomer .form-group select.form-control {
            padding: 0px 2px;
            font-size: 10pt !important;
            text-align: center;
        }

        #modalCustomer .form-group .form-control#State {
            margin-left: 3px;
        }

        #modalCustomer .form-group .input-group-addon {
            padding: 6px 3px;
        }

        #modalCustomer .form-group .control-label {
            padding: 7px 0 0 10px;
            font-size: 10pt;
        }

    #modalPhoneNumber {
        width: 340px;
        height: 249px;
        margin: 0 0 40px -170px;
        top: 10px;
    }

        #modalPhoneNumber .panel-body {
            padding: 4px;
        }

    .boxDisplayNumber,
    .boxCellNumber {
        width: 330px;
        margin: 0 auto;
    }

        .boxDisplayNumber label {
            font-size: 25pt;
        }

        .boxCellNumber button {
            width: 100px;
            height: 100px;
        }

    #modalService .boxBody {
        height: calc(100% - 105px);
    }

    #modalService .boxButton {
        height: 105px;
    }

        #modalService .boxButton .btn {
            margin-bottom: 5px;
            min-width: 0;
            white-space: normal;
            font-size: 15pt;
            padding: 8px;
        }

    .popover {
        max-width: 264px;
        right: 5px;
        left: auto !important;
    }

    .popover-content {
        max-width: 260px;
    }
}

@media(max-width:320px) {
    .btn {
        min-width: 100px;
    }

    #modalCustomer {
        /*top: 20px;
        margin: 0 0 40px -150px;
        height: auto;
        width: 300px;*/
    }

        #modalCustomer .form-group .control-label {
            padding: 7px 0 0 5px;
            font-size: 9pt;
        }

        #modalCustomer .form-group .form-control {
            height: 30px;
            font-size: 10pt;
            padding: 4px 5px;
            line-height: 22px;
        }

    #modalPhoneNumber {
        top: 5px;
        left: 5px;
        margin: 0 0 40px 0;
        height: auto;
        width: calc(100% - 10px);
    }

        #modalPhoneNumber .panel-body {
            padding: 0;
        }

    .boxDisplayNumber #txtPhone {
        font-size: 21pt;
    }

    #modalCustomer .input-group select.form-control {
        padding: 0px 0px;
        font-size: 11pt !important;
    }

    .boxDisplayNumber,
    .boxCellNumber {
        width: calc(100% - 10px) !important;
        margin: 0 auto;
    }

        .boxDisplayNumber label {
            font-size: 18pt;
        }

        .boxCellNumber button {
            width: 29.6%;
            height: 86px;
        }

    #modalService .boxBody {
        height: calc(100% - 125px);
    }

    #modalService .boxButton {
        height: 125px;
    }

        #modalService .boxButton .btn {
            margin-bottom: 5px;
            min-width: 0;
            white-space: normal;
            font-size: 13pt;
            padding: 15px 10px;
        }
}



#step1 {
    width: 100%;
    max-width: 100%;
    padding: 50px 15px;
    margin: 0 auto;
}

    #step1 .lobibox {
        width: 600px;
        position: relative;
        top: 0 !important;
        background: #fff;
        left: 50% !important;
        margin-left: -300px;
        /*border: none;
        box-shadow: none;*/
    }

#step .lobibox-title a {
    color: #fff;
}

#step1 .lobibox .lobibox-body {
    padding: 15px;
    border: none;
    line-height: 36px;
    font-size: 20pt;
}

    #step1 .lobibox .lobibox-body a {
        color: #000 !important;
    }

#step1 .lobibox .lobibox-footer {
    /*background: #fff !important;*/
}

#boxAds {
    margin: 0 0 0;
    width: 100%;
    font-size: 14pt;
    position: relative;
}

    #boxAds img {
        max-width: 100% !important;
        height: auto !important;
    }

    #boxAds #btnSignIn {
        width: 190px;
        height: 100px;
        position: absolute;
        top: 15px;
        left: 50%;
        margin-left: -85px;
        border-radius: 70px;
        padding: 0;
    }

        #boxAds #btnSignIn span {
            position: relative;
            z-index: 10;
            display: block;
            width: 190px;
            height: 100px;
            border: 5px solid #fff;
            text-shadow: 1px 2px 4px #000;
            border-radius: 70px;
            background: #2E79B4;
            /*background: radial-gradient(circle, rgba(64,46,180,1) 0%, rgba(46,121,180,1) 100%);*/
        }

        #boxAds #btnSignIn:before {
            content: "";
            position: absolute;
            top: 8px;
            left: 2px;
            z-index: 1;
            border-radius: 70px;
            width: 100%;
            height: 100%;
            background: rgba(204, 204, 204, 0.7);
        }


.btn-date {
    width: 100%;
    padding: 11px 2px;
    font-weight: 600;
    font-size: 8pt;
}

.row-sm {
    margin-left: -5px;
    margin-right: -5px;
}

    .row-sm div[class^="col"] {
        padding-left: 5px;
        padding-right: 5px;
    }

.box-date-range {
    padding: 10px 0 0 0;
    display: none;
}

    .box-date-range label {
        font-weight: 600;
        font-size: 8pt;
    }

@media(max-width:815px) {
    body {
        padding-bottom: 29px !important;
    }

    #step1 {
        padding: 10px 15px;
    }

        #step1 .lobibox {
            top: 0 !important;
        }
}

@media(max-width:767px) {

    #step1 .lobibox {
        width: 100%;
        top: 0 !important;
        left: 0 !important;
        margin-left: 0;
    }

        #step1 .lobibox .lobibox-body p {
            font-size: 18pt !important;
        }

    footer {
        font-size: 8pt;
        white-space: nowrap;
    }
}
