/*------------------------------------------------------------------------
  RMS - Restaurant Management System
  ------------------------------------------------------------------------
  @Author    Solidres Team
  @Website   http://www.solidres.com
  @Copyright Copyright (C) 2013 - 2019 Solidres. All rights reserved.
  @License   GNU General Public License version 3, or later
------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Caveat+Brush');
@import url('https://fonts.googleapis.com/css?family=Playball');

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

.overflow-auto {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.w-100 {
    width: 100%;
    margin-left: -15px;
    margin-right: -15px;
}

.w-100:after,
.w-100:before {
    display: table;
    content: "";
}

.w-100:after {
    clear: both;
}

.w-50 {
    box-sizing: border-box;
    width: 50%;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
}

.w-50 input,
.w-50 textarea {
    max-width: 100%;
}

#order-form .form-horizontal .controls {
    margin-left: 110px;
}

.rms-field-calendar .uk-flex > * {
    height: 28px;
    box-sizing: border-box;
}

.rms-field-calendar .uk-flex > input {
    border-radius: 3px 0 0 3px;
}

.rms-field-calendar .uk-flex > button {
    border-radius: 0 3px 3px 0;
    min-height: inherit;
}

.rms-module-booking .rms-field-calendar .uk-flex > input {
    width: 100%;
}

#reservation-form legend,
#order-form legend {
    border: none;
    position: relative;
    padding-left: 5px;
    text-transform: uppercase;
    color: #378137;
    font-size: 16px;
}

#reservation-form legend:before,
#order-form legend:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 29%;
    width: 2px;
    height: 40%;
    background: #378137;
}

@media (min-width: 768px) AND (max-width: 1365px) {
    #order-item-form .list-items,
    #order-item-form .selected-items {
        width: 49%;
    }

    #order-item-form .list-items {
        float: left;
    }

    #order-item-form .selected-items {
        float: right;
    }

}

@media (max-width: 479px) {
    .w-50 {
        width: 100%;
        float: none;
    }

    #menuTabTabs > li > a {
        padding: 3px;
    }
}

@media (min-width: 992px) {
    #order-item-form .list-items .tab-pane .list li {
        width: 25%;
        float: left;
    }
}

@media (min-width: 1200px) {
    #order-item-form .list-items .tab-pane .list li {
        width: 20%
    }

    #order-item-form .list-items {
        width: 65%;
        float: left;
    }

    #order-item-form .selected-items {
        width: 35%;
        float: right;
    }

    #order-item-form .tab-content .list-items .list {
        padding-right: 20px;
        min-height: 55px;
    }

    #order-item-form:after,
    #order-item-form .list-items .tab-pane ul:after {
        content: "";
        display: table;
        clear: both;
    }

    #order-item-form .list-items {
        float: left;
    }

}

#order-item-form .selected-items:after {
    content: "";
    display: block;
    height: 55px;
    visibility: hidden;
    clear: both;
}

#order-item-form .list {
    list-style: none;
    margin: 0;
}

#order-item-form .list-items .tab-content .list li > div {
    font-size: 13px;
    height: 65px;
    padding: 18px 5px 5px 5px;
    overflow: hidden;
    position: relative;
    margin: 2px;
    background-repeat: no-repeat;
    background-size: cover;
}

#order-item-form .list-items .tab-content .list li > div > .btn-add {
    position: absolute;
    box-shadow: none;
    background: transparent;
    text-shadow: none;
    border-radius: 0;
    border-width: 0;
    color: #fff;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    font-size: 0;
    z-index: 100;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}

#order-item-form .list-items .tab-content .list li > div:hover > .btn-add {
    font-size: 20px;
}

#order-item-form .list-items .tab-content .list li > div:hover:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: transparent;
    z-index: 50;
}

#order-item-form .list-items .tab-content .list li > div:hover:before {
    background: rgba(34, 34, 34, 0.6);
}

#order-item-form li[data-item-id] {
    cursor: pointer;
}

#order-item-form .item-price,
#order-item-form .item-description {
    color: #351c13;
    position: absolute;
    right: 0;
}

#order-item-form .tab-content .item-price,
#order-item-form .tab-content .item-description {
    background: rgba(255, 255, 255, 0.75);
}

#order-item-form .tab-content .item-description {
    margin-top: 8px;
    bottom: 0;
    padding: 0 5px;
    font-weight: bold;
    width: 100%;
    height: 35px;
    box-sizing: border-box;
}

#order-item-form .item-description .item-caption {
    font-size: 12px;
    font-weight: normal;
    font-style: italic;
}

#order-item-form .item-price {
    top: 0;
    padding: 0 5px;
    font-size: 13px;
    line-height: 16px;
}

#order-item-form .item-price > del {
    padding-right: 4px;
}

#order-item-form .selected-items .list {
    margin-bottom: 10px;
}

#order-item-form .selected-items li > div {
    background: #fff !important;
    border-bottom: 1px dotted #ddd;
}

#order-item-form .selected-items li > div > table {
    width: 100%;
}

#order-item-form .selected-items li td > .remove {
    text-decoration: none !important;
    font-size: 8px;
    color: #F44336;
}

#order-item-form .selected-items li tr > td:nth-child(1) {
    width: 1%;
}

#order-item-form .selected-items li tr > td:nth-child(4),
#order-item-form .selected-items li tr > td:nth-child(5),
#order-item-form .selected-items .item-price {
    text-align: right;
}

#order-item-form .selected-items li tr > td:nth-child(3),
#order-item-form .selected-items li tr > td:nth-child(4) {
    width: 110px;
}

#order-item-form .selected-items li tr > td:nth-child(5) {
    font-size: 14px;
    color: #000;
    width: 50px;
}

#order-item-form .selected-items .item-description,
#order-item-form .selected-items .item-price {
    position: static;
}

#order-item-form .selected-items .item-price > del,
#order-item-form .selected-items .item-price > small {
    display: none;
}

#order-item-form .selected-items .item-description {
    position: relative;
}

#order-item-form .selected-items .item-description .note {
    display: none;
    position: absolute;
    z-index: 500;
}

#order-item-form .selected-items .item-description .note-hint {
    font-size: 12px;
    font-style: italic;
    color: #666;
}

#order-item-form .selected-items .item-description .open {
    display: block;
}

#order-item-form .selected-items .item-price > input {
    display: inline-block;
    width: 60px;
    border-color: #ddd;
    margin: 0;
    background-color: #fff;
}

#order-item-form .selected-items .item-price > input.error {
    border-color: #F44336;
}

#order-item-form .selected-items li:last-child > div {
    border-color: transparent;
}

#order-item-form .selected-items .ctrl input {
    width: 18px;
    height: 20px;
    margin: 0;
    box-shadow: none !important;
    outline: 0;
    border: 1px solid #ddd;
    display: inline-block;
}

#order-item-form .selected-items .ctrl .icon-arrow-up-3,
#order-item-form .selected-items .ctrl .icon-arrow-down-3 {
    background: #fff;
    width: 25px;
    height: 28px;
    text-align: center;
    border: 1px solid #ddd;
    margin: 1px;
    font-size: 16px;
    line-height: 20px;
    border-radius: 3px;
}

#order-item-form .selected-items [data-modifier="1"] > div {
    padding-left: 35px;
}

#wrap-jform_table_ids .dropdown-menu,
#rms-merge-order .dropdown-menu {
    border-radius: 0;
    border: 1px solid #ddd;
    box-shadow: none;
    margin: 0;
    top: 28px;
}

#wrap-jform_table_ids .dropdown-menu {
    left: 3px;
}

#rms-merge-order .dropdown-menu {
    float: none;
    left: auto;
    right: 0;
}

#wrap-jform_table_ids .btn-group > .btn {
    border-radius: 0;
    background: #fff;
    border-color: #ddd;
    margin-left: 3px;
}

#wrap-jform_table_ids .btn-group > .btn:hover {
    background: #00BCD4;
    color: #fff;
}

#wrap-jform_table_ids .btn-group i:before {
    color: #444;
}

#wrap-jform_table_ids .btn-group > .btn:hover i:before {
    color: #fff;
}

#wrap-jform_table_ids .btn-group a.close {
    float: none;
    position: absolute;
    top: -15px;
    right: -17px;
    opacity: 1;
    color: #F44336;
    font-size: 10px;
}

#menuTabTabs,
#menuTabTabs > li > a {
    border: none;
}

#menuTabTabs > li > a {
    color: #555;
    text-transform: capitalize;
    border-bottom: 1px solid transparent;
}

#menuTabTabs > .active > a {
    border-bottom-color: #38aadc;
}

@media (min-width: 767px) and (max-width: 991px) {
    #order-item-form .ui-droppable-dragging {
        width: 50%;
    }

    #order-item-form .selected-items {
        width: 60%;
    }

    #order-item-form .list-items {
        width: 40%;
    }

    #selected-tables fieldset {
        padding: 0;
    }

    #order-item-form .list-items,
    #order-item-form .selected-items {
        float: left;
    }

    #order-item-form .list-items .list li > div {
        height: auto;
        padding: 5px;
    }
}

@media (min-width: 479px) and (max-width: 991px) {
    #order-item-form .list-items .tab-pane .list li {
        width: 50%;
        float: left;
    }
}

#cashier {
    clear: both;
}

#cashier input {
    text-align: right;
}

#cashier fieldset {
    padding: 5px 0 5px 15px;
    background-color: #fff;
    border: 1px solid #ddd;
}

#cashier fieldset > legend {
    width: auto;
    text-transform: uppercase;
}

#cashier .form-horizontal .controls {
    margin-left: 0;
    float: right;
    margin-right: 10px;
}

#cashier .control-label label {
    display: inline-block;
}

#cashier .control-group {
    position: relative;
    margin-bottom: 8px;
}

#cashier .control-group:after {
    display: table;
    content: "";
    clear: both;
}

#cashier textarea {
    display: none;
    width: 320px;
    height: 78px;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 100;
    box-sizing: border-box;
}

#cashier textarea.active {
    display: block;
}

#grand-total,
#order-table {
    font-size: 24px;
    padding: 15px;
    text-align: center;
    display: inline-block;
}

#grand-total {
    color: #00BCD4;
    font-weight: 300;
    background: #f2f2f2;
    margin: 5px 10px 5px 15px;
    float: right;
}

#order-table {
    background: #f2f2f2;
    color: #333;
}

.selected-items .item-description .item-caption {
    display: none;
}

#adminForm .item-image {
    width: 45px;
    float: left;
    padding-right: 3px;
    overflow: hidden;
}

#order-button,
#rms-merge-order,
#rms-order-info,
#rms-invoice-copy {
    border: 1px solid #ddd;
    padding: 4px 8px;
    color: #444;
    background: #fff;
    text-transform: capitalize;
    text-decoration: none;
    display: inline-block;
    float: right;
    margin-left: 5px;
    margin-bottom: 5px;
    position: relative;
    z-index: 100;
}

#rms-invoice-copy {
    width: 25px;
    margin-right: -5px;
    border-right: none;
    border-radius: 0;
}

#rms-search {
    float: right;
    width: 313px;
    max-width: 100%;
    border-radius: 0;
    border: 1px solid #ddd;
}

#order-button.rms-ajax-loader,
#item-form.rms-ajax-loader,
.rms-book-form.rms-ajax-loader {
    position: relative;
    opacity: .7;
}

.rms-ajax-loader:before {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4) url("../images/ajax-loader.gif") center no-repeat;
    z-index: 9999;
}

#order-button.rms-ajax-loader:before,
#rms-tables .rms-ajax-loader:before,
#rms-merge-order.rms-ajax-loader:before {
    -webkit-background-size: contain;
    background-size: contain;
}

#wrap-jform_table_ids > .btn {
    border-radius: 0;
    background: #fff;
    border-color: #ddd;
    box-shadow: none;
    padding: 4px 25px;
    position: absolute;
    top: 0;
}

#wrap-jform_table_ids > .btn:hover,
#order-button:hover,
#rms-merge-order:hover,
#rms-merge-order:hover li > a:hover,
#rms-order-info:hover {
    background: #00BCD4;
    color: #fff;
}

#rms-merge-order:hover li > a {
    color: #444;
}

#order-item-form .selected-items {
    position: relative;
}

@media (max-width: 375px) {
    #order-item-form .list-items {
        overflow: auto;
    }

    #order-item-form .selected-items li > div > table {
        min-width: 400px;
    }

    #selected-tables fieldset {
        overflow-x: auto;
    }
}

@media (max-width: 494px) {
    #order-item-form .selected-items li tr > td:nth-child(3),
    #order-item-form .selected-items li tr > td:nth-child(4) {
        width: 90px;
    }

    #wrap-jform_table_ids > .btn {
        position: relative;
    }

    #order-button,
    #rms-invoice-copy {
        float: none;
        margin-left: 0;
    }

    #rms-merge-order,
    #rms-order-info {
        display: block;
        width: 50%;
        float: left;
        margin-left: 0;
        margin-right: 5px;
    }

    #rms-merge-order {
        z-index: 150;
    }

    #rms-invoice-copy {
        border-right: 1px solid #ddd;
        border-left: none;
        margin: -1px 0 0 -3px;
    }

    #rms-merge-order .dropdown-menu {
        left: 0;
        right: auto;
    }

    #order-form {
        clear: both;
        margin-top: 5px !important;
        padding: 5px !important;
    }
}

@media (min-width: 495px) and (max-width: 767px) {
    #order-item-form .list-items {
        overflow: hidden;
    }
}

#rms-main-chart .nav > li > a {
    outline: 0;
}

#rms-main-chart .nav > li > a:hover {
    color: inherit;
}

/* Order table UI*/
#rms-order-tables {
    margin-top: 30px;
}

#rms-tables:after {
    display: table;
    content: "";
    clear: both;
}

#rms-tables .flex-box {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

#rms-tables .rms-table {
    width: 100px;
    height: 55px;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    font-weight: bold;
    background: #46a546;
    cursor: pointer;
    margin: 5px 2px;
}

#rms-tables .tip {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

#rms-tables .tip > div {
    position: relative;
    height: 12px;
    padding-left: 15px;
    margin-bottom: 15px;
    color: #555;
    line-height: 18px;
    padding-right: 10px;
}

#rms-tables .tip > div:before {
    display: block;
    content: "";
    position: absolute;
    width: 12px;
    height: 100%;
    left: 0;
    top: 2px;
}

#rms-tables .tip > div:nth-child(1):before {
    background: #46a546;
}

#orderList .order-status,
#orderList .order-status > a,
#reservationList .reservation-status,
#reservationList .reservation-status > a {
    color: #fff;
    text-decoration: none;
}

#orderList .order-status,
#reservationList .reservation-status {
    padding: 2px 5px;
    display: inline-block;
    min-width: 65px;
    border-radius: 4px;
    text-align: center;
}

#reservationList .reservation-status-trash {
    background: #b94a48;
}

#reservationList .reservation-status0 {
    background: #efef00;
}

#reservationList .reservation-status0,
#reservationList .reservation-status0 > a {
    color: #888;
}

#reservationList .reservation-status1 {
    background: #3a87ad;
}

#reservationList .reservation-status2 {
    background: #333333;
}

#reservationList .reservation-status3 {
    background: #999999;
}

#reservationList .reservation-status4 {
    background: #f89406;
}

#reservationList .reservation-status5 {
    background: #468847;
}

#rms-tables:after {
    content: "";
    display: table;
    clear: both;
}

#rms-tables .tip > div:nth-child(2):before,
#rms-tables .order-status0,
#orderList .order-status0 {
    background: #d01041;
}

#rms-tables .tip > div:nth-child(3):before,
#rms-tables .order-status2,
#orderList .order-status2 {
    background: #f89406;
}

#rms-tables .tip > div:nth-child(4):before,
#rms-tables .order-status1,
#orderList .order-status1 {
    background: #2384d3;
}

#rms-tables .order-status3,
#orderList .order-status3 {
    background: #333333;
}

#rms-tables .table-area {
    background: #eee;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    width: 49.5%;
}

#rms-tables .table-area:nth-child(even) {
    clear: left;
    float: left;
}

#rms-tables .table-area:nth-child(odd) {
    float: right;
}

#rms-tables .area-name {
    color: #333;
    font-size: 13px;
    text-transform: uppercase;
    padding: 5px 0;
    text-align: center;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
    font-weight: bold;
}

#rms-tables .rms-table:hover:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
}

#rms-tables .rms-table > .table-code {
    text-align: center;
    position: absolute;
    height: 20px;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #fff;
}

#rms-tables .rms-table > .payment-info {
    font-size: .8em;
    color: #e8e8e8;
}

#rms-tables .rms-table > .seats {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: .8em;
    color: rgba(0, 0, 0, 0.4);
}

#rms-tables .rms-table > .payment-info,
#rms-tables .rms-table > .seats {
    padding-left: 3px;
}

#rms-modal-quick-edit {
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
}

#rms-modal-quick-edit,
#rms-modal-quick-edit iframe {
    height: 100vh;
}

#selected-tables ol.list-items {
    float: none !important;
    width: 100%;
    list-style: none;
    margin: 0;
}

#selected-tables ol.list-items li {
    font-size: 0;
    position: relative;
    clear: both;
    width: 100%;
}

#selected-tables ol.list-items li > div {
    font-size: 13px;
}

#selected-tables ol.list-items > li > .remove {
    font-size: 9px;
    position: absolute;
    top: 27px;
    right: 16px;
    width: 22px;
    height: 20px;
    padding: 2px 4px;
    background-color: #00BCD4;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
}

#selected-tables fieldset {
    min-height: 35px;
    background-color: #fff;
    padding: 0 15px;
    border: 1px solid #ddd;
    font-size: 14px;
}

#selected-tables fieldset:last-child {
    margin-bottom: 10px;
}

#selected-tables fieldset.active {
    border-color: #00BCD4;
}

#selected-tables fieldset > legend,
#cashier fieldset > legend {
    border-bottom: none;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: normal;
    width: auto;
}

#selected-tables fieldset > legend .dropdown-menu > li,
#selected-tables fieldset > legend .dropdown-menu > li > h4 {
    color: #888;
    font-size: 13px;
    margin: 5px;
    font-family: Helvetica, Arial, sans-serif;
}

#order-form {
    margin-top: 60px;
    padding: 15px;
    border: 1px solid #ddd;
}

#order-form .control-group {
    margin-bottom: 3px;
}

/* E-menu */
#rms-e-menus {
    overflow: hidden;
    position: relative;
    padding-bottom: 38px;
}

#rms-e-menus > .uk-grid {
    position: relative;
}

#rms-e-menus .property-info {
    font-family: 'Playball', cursive;
    font-size: 18px;
    text-align: center;
    line-height: 24px;
    font-weight: 400;
    color: #444;
}

#rms-e-menus .property-info .logo {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 15px;
}

#rms-e-menus .property-info .name {
    font-size: 32px;
    font-weight: 700;
    margin: 15px 0;
    text-shadow: 1px 2px 2px rgba(0, 77, 116, 0.38);
}

#rms-e-menus .items {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    width: 100%;
    position: absolute;
    left: 100%;
    top: 38px;
    z-index: 100;
}

#rms-e-menus .items .box {
    height: 155px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    box-sizing: border-box;
    margin: 3px;
    position: relative;
    overflow: hidden;
}

#rms-e-menus .items .item-description {
    background: rgba(34, 34, 34, 0.55);
    color: #fff;
    padding: 0 5px;
    position: absolute;
    width: 100%;
    bottom: 0;
}

#rms-e-menus .menus > ol,
#rms-e-menus > ul {
    margin: 0;
}

#rms-e-menus .menus > ol > li,
#rms-e-menus > ul > li {
    cursor: pointer;
    text-align: center;
}

#rms-e-menus .menus > ol > li {
    text-transform: uppercase;
    display: block;
    background: #005e8d;
    margin: 5px auto;
    padding: 12px 0;
    color: #fff;
    font-weight: 300;
    font-family: 'Caveat Brush', cursive;
    font-size: 18px;
    width: 100%;
}

#rms-e-menus .menus > ol > li:hover {
    background: #62c462;
    color: #f5f5f5;
}

#rms-e-menus > ul {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 150;
    margin-top: 5px;
    visibility: hidden;
}

#rms-e-menus > ul.open {
    visibility: visible;
}

#rms-e-menus > ul > li {
    display: inline-block;
    font-size: 20px;
    font-family: 'Caveat Brush', cursive;
}

#rms-e-menus > ul > .back {
    color: #005e8d;
}

@media (min-width: 992px) {

    #rms-e-menus > ul > li {
        padding: 6px 12px;
    }
}

@media (max-width: 991px) {
    #rms-e-menus > ul > li {
        padding: 6px;
    }
}

@media (min-width: 640px) {
    #rms-e-menus .items .item {
        width: 33.3333%;
    }
}

@media (min-width: 321px) and (max-width: 639px) {
    #rms-e-menus .items .item {
        width: 50%;
    }
}

@media (max-width: 320px) {
    #rms-e-menus .w-100,
    #rms-e-menus .w-50 {
        margin: 0;
        float: none;
    }

    #rms-e-menus .items .item {
        width: 100%;
    }
}

/* Dashboard */
#rms-dashboard td {
    position: relative;
    overflow: visible;
}

#rms-dashboard [data-reservation] {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    left: 0;
    top: 0;
    background-color: #F44336;
    cursor: pointer;
    color: #FFEB3B;
    padding: 2px 2px 2px 3px;
    box-sizing: border-box;
}

#rms-card {
    margin: 15px -5px;
}

#rms-card .rms-card {
    float: left;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    #rms-card .rms-card {
        width: 16.66666666%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #rms-card .rms-card {
        width: 33.3333333%;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #rms-card .rms-card {
        width: 50%;
    }
}

@media (max-width: 479px) {
    #rms-card .rms-card {
        width: 100%;
        float: none;
    }
}

#rms-time-refresh {
    margin-right: 15px;
    margin-top: 5px;
}

#rms-card .rms-card > div {
    color: #333;
    text-transform: uppercase;
    text-align: center;
    border-radius: 3px;
    font-size: 13px;
    display: flex;
}

#rms-card .rms-card .rms-value {
    font-size: 16px;
    font-weight: bold;
    margin: 5px auto;
}

#rms-card .rms-card .rms-cart-icon {
    width: 40%;
    background-size: 80%;
    background: #EEE;
}

#rms-card .rms-card .rms-cart-icon i {
    font-size: 30px;
    margin-top: 30px;
}

#rms-card .rms-card .rms-card-content {
    width: 70%;
    padding: 15px 5px;
}

#rms-card .rms-card-body {
    background: #fff;
    width: 100%;
    border-radius: 2px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.rms-tip-spacer {
    border-bottom: 1px dotted #888;
    font-weight: bold;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

#rms-dashboard [data-reservation] i {
    margin-right: 1px;
}

#rms-dashboard .main > .area {
    padding: 8px 0;
    margin-top: 10px;
}

#rms-dashboard .main > .area > span {
    font-weight: 400;
    font-size: 16px;
    padding: 8px 5px;
}

#property-form .w-100 > div {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

#rms-main-chart {
    min-height: 300px;
    position: relative;
    margin: 0 -5px 15px;
}

#rms-main-chart:after {
    content: "";
    display: table;
    clear: both;
}

#rms-main-chart > div {
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}

#rms-stats-nav {
    margin: 10px 0;
}

#rms-stats-nav li > a,
#rms-stats-nav li > a:hover {
    color: inherit;
    outline: 0;
}

#rms-stats-nav .navbar-inner,
#rms-activity > header {
    background-color: #f2f2f2;
    background-image: none;
    filter: none;
    box-shadow: none;
    border-radius: 3px;
    height: 32px;
    padding: 0 20px;
    border: 1px solid #ddd;
    margin: 10px 0;
    box-sizing: border-box;
}

#rms-activity > header {
    font-size: 17px;
    padding-top: 5px;
}

.rms-stream:not(:last-child) {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #ddd;
}

.rms-stream .summary {
    color: #444;
    font-size: 13px;
}

.rms-stream .time-created {
    display: inline-block;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

@media (min-width: 992px) {

    #property-form .w-100 > div:not(:last-child) {
        width: 50%;
        float: left;
    }

    #property-form .w-100 > div:last-child {
        clear: both;
    }

    #rms-main-chart > div {
        float: left;
    }

    #rms-canvas {
        width: 75%;
    }

    #rms-activity {
        width: 25%;
    }
}

@media (min-width: 1200px) {
    #property-form .w-100 > div:last-child {
        clear: none;
        float: left;
    }

    #property-form .w-100 > div:nth-child(1) {
        width: 30%;
    }

    #property-form .w-100 > div:nth-child(2),
    #property-form .w-100 > div:nth-child(3) {
        width: 35%;
    }
}

.dashboard-heading {
    margin-top: 3px;
}

.rms-modal-map > .uk-modal-dialog > .uk-close {
    z-index: 99999;
    background: #009688;
    color: #fff;
    opacity: 1;
    padding: 5px;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Front-End Menus */
.rms-menu-groups * {
    box-sizing: border-box;
}
.rms-menu-groups .rms-menu-group {
    padding: 5px 10px;
}
.rms-menu-groups .rms-menu-group:not(:last-child) {
    border-bottom: 1px dotted #ddd;
}
.rms-menu-groups .rms-menu-group:after,
.rms-menu-group > .rms-menu-item:after {
    content: "";
    display: table;
    clear: both;
}
.rms-menu-group .rms-menu-group-name {
    text-transform: uppercase;
}
.rms-menu-item .rms-item-description {
    float: left;
    width: 75%;
    margin-bottom: 10px;
}
.rms-menu-item .rms-item-price {
    float: right;
    width: 25%;
    text-align: right;
    white-space: nowrap;
    color: #ff7a20;
    font-weight: bold;
}
.rms-item-description .rms-item-name {
    font-size: 14px;
}
.rms-item-description .rms-item-caption {
    color: #888;
    margin: 5px 0;
}
.item-new .rms-item-name:before, .item-recommended .rms-item-name:before {
    font-family: FontAwesome;
}
.item-new .rms-item-name:before {
    content: '\f005';
}
.item-recommended .rms-item-name:before {
    content: '\f06d';
}

/* Book form */
.rms-module-booking .field > input:not([type="radio"]),
.rms-module-booking .field > input:not([type="checkbox"]),
.rms-module-booking .field > select,
.rms-module-booking .field > textarea {
    display: block;
    width: 100%;
    padding: 4px 6px;
    box-sizing: border-box;
    min-height: 28px;
}
.rms-module-booking .field .input-append,
.rms-module-booking .field .input-prepend {
    width: 100%;
}
.rms-module-booking .field .input-append input,
.rms-module-booking .field .input-prepend input {
    width: 83%;
}

#rms-form-captcha > div {
    margin: auto;
}
#rms-restaurant #rms-form-captcha > div {
    transform: scale(0.65);
    transform-origin: 0 0;
}

/* RMS Single Restaurant */
#rms-restaurant .side-panel > .uk-panel {
    border: 1px solid #ddd;
    padding: 15px;
}
#rms-restaurant .logo img {
    width: 100%;
    max-height: 300px;
}
#rms-restaurant .property-detail {
    background: #f5f5f5;
}
.property-detail .property-name {
    color: green;
}
.rms-inline-map {
    width: 100%;
    height: 100vh;
}

.rms-main-tab > .tab-default {
    border: 1px solid #ddd;
}
.rms-main-tab > .tab-default > .uk-tab {
    border-bottom: 2px solid #07d;
    background: #f5f5f5;
}
.rms-main-tab > .tab-default > .uk-tab > li > a {
    border: none;
    font-weight: bold;
}
.rms-main-tab > .tab-default > .uk-tab > .uk-active > a {
    background: #07d;
    color: #fff;
}

#rms-tab-restaurant {
    padding: 0 15px 15px;
}
#rms-tab-restaurant .uk-tab {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
#rms-tab-restaurant .uk-tab > li > a {
    border: none;
    color: #555;
    font-weight: bold;
}
#rms-tab-restaurant .uk-tab > li.uk-active > a {
    border-bottom: 1px solid #07d;
    color: #333;
}

.rms-book-form input[type="text"],
.rms-book-form input[type="email"],
.rms-book-form input[type="number"],
.rms-book-form select,
.rms-book-form textarea {
    height: 32px;
    padding: 4px 6px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ddd;
    box-sizing: border-box;
    width: 100%;
}

/* Module RMS Search */
.rms-search-form {
    width: 100%;
    box-sizing: border-box;
}
.rms-search-form input,
.rms-search-form select {
    width: 100%;
}
.rms-search-results .timeslot.active {
    background-color: #da3743;
}
@media (max-width: 320px) {
    .timeslots > .timeslot {
        width: 100%;
    }
}

/* Module RMS Locations */
.rms-module-location-item .uk-overlay {
    display: block;
}
.rms-module-location-item img {
    width: 100%;
}
.rms-module-location-item .uk-overlay-background {
    background: rgba(0,0,0,0.25);
}
.rms-module-location-item .location-item-name {
    color: #fff;
}
.rms-module-location-item .uk-overlay-hover:hover .uk-overlay-background {
    background: transparent;
}
.rms-module-location-item .uk-overlay-hover:hover .location-item-name {
    text-decoration: none;
    text-shadow: 2px 2px 1px rgba(0,0,0,0.8);
}
.rms-module-location-item .uk-overlay-background, .rms-module-location-item .location-item-name,
.rms-module-location-item .uk-overlay-hover:hover .uk-overlay-background,
.rms-module-location-item .uk-overlay-hover:hover .location-item-name {
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

/* Module RMS Restaurants */
.rms-module-restaurant-item {
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 15px;
}
.rms-module-restaurant-item img {
    width: 100%;
}
.grid .rms-module-restaurant-item .property-name {
    margin-top: 10px;
}
.list .rms-module-restaurant-item .property-name {
    margin-top: -5px;
}

.heading-menu-group {
    clear: both!important;
    float: none!important;
    padding: 5px;
    margin-left: 2px;
    margin-top: 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    text-transform: uppercase;
    color: #009688;
    font-weight: bold;
}

.item-action-container .quantity,
#take-away-items-modal .quantity{
    box-shadow: none;
    border-radius: 0;
    border: 1px solid #eee;
    height: 20px;
}

.rms-modal-open,
.rms-modal-open .uk-modal-dialog {
    opacity: 1!important;
}

.rms-modal-open .uk-modal-dialog {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}