﻿/*primary = #84A98C
primary rgba = rgba(132, 169, 140, 1)
primary radial linear = #84A98C

accent = #FFCB47
accent rgba = rgba(255, 203, 71, 1);
accent radial linear = #FFCB47*/


.form-control:focus {
    border-color: #FFCB47 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 203, 71, 0.6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(255, 203, 71, 0.6) !important;
}

.activeBtn {
    background-color: #FFCB47 !important;
}

.mat-primary {
    background-color: #84A98C !important;
}

.mat-primary-chip {
    background-image: linear-gradient(to bottom right, #84A98C, #84A98C);
}

.mat-accent-chip {
    background-image: linear-gradient(to bottom right, #FFCB47, #FFCB47);
    color: black;
}

.mat-primary-navbar {
    background-image: radial-gradient(#84A98C, #84A98C);
}

.mat-primary-sub {
    background-color: rgba(132, 169, 140, 0.81) !important;
}

.mat-primary-no-imp {
    background-color: #84A98C;
}

.mat-primary-selected-border {
    border-bottom-color: #84A98C !important;
    color: rgba(0, 0, 0, .87) !important;
    font-weight: 600;
}

.mat-card-order-min-disabled.newheader {
    background-color: rgba(132, 169, 140, .7);
    color: white;
}

.mat-accent {
    color: black !important;
    background-color: #FFCB47 !important;
}

.mat-accent-selected-border {
    border-bottom-color: #FFCB47 !important;
    color: rgba(255, 255, 255, .87) !important;
    font-weight: 500;
}

.mat-accent-selected-fab {
    background-color: #FFCB47 !important;
    color: rgba(255, 255, 255, .87) !important;
    font-weight: 500;
}

.mat-accent-hover-fab:hover {
    text-decoration: none;
    background-color: rgba(255, 203, 71, 0.5);
    color: rgba(255, 255, 255, .87) !important;
}

.mat-primary-trans {
    background-color: rgba(132, 169, 140, .2) !important;
}

.mat-accent-trans {
    background-color: rgba(255, 203, 71, .05) !important;
}

.mat-primary-font {
    color: #84A98C !important;
}

    .mat-primary-font > a {
        color: #84A98C !important;
        text-decoration: none;
    }

.mat-accent-font {
    color: #FFCB47 !important;
}

    .mat-accent-font > a {
        color: #FFCB47 !important;
        text-decoration: none;
    }

.mat-bill-active {
    background-color: #FFCB47 !important;
    color: white;
}

    .mat-bill-active > div > span {
        color: white !important;
    }

    .mat-bill-active:hover {
        background: #FFCB47 radial-gradient(circle, transparent 1%, #FFCB47 1%) center/15000%;
    }

.mat-day-button-mobile {
    font-size: 16px;
    padding: 5px 16px;
    background-color: rgba(132, 169, 140, .2);
    color: rgba(0, 0, 0, 1);
    border-radius: 8px;
    width: 165px;
    margin: 0 5px;
}

    .mat-day-button-mobile.active {
        font-weight: bold;
        background-color: rgba(132, 169, 140, .5);
    }

.mat-section-bg {
    background-color: rgb(198, 211, 202);
}

/* active state */
.mat-input:focus ~ .mat-label, .mat-input:valid ~ .mat-label {
    top: -20px;
    font-size: 13px;
    color: #84A98C;
}

.mat-input:focus ~ .mat-label, .mat-input:valid ~ .mat-label, input:-webkit-autofill ~ label {
    top: -20px;
    font-size: 13px;
    color: #84A98C;
}

.mat-input-bar:before, .mat-input-bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #84A98C;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.mat-meal-ordered {
    background-image: linear-gradient(to bottom right, #84A98C, #84A98C);
    color: white;
}

.bill:hover {
    background-color: rgba(255, 203, 71, 0.5);
    margin-left: 20px;
}

.terminal-category-selected {
    background-color: #84A98C !important;
    color: white !important;
}

.terminal-category-item {
    background-color: #FFCB47;
    color: black;
}

.mat-chip-icon.chip_selected > img {
    -webkit-filter: brightness(0) invert(0);
    filter: brightness(0) invert(0);
}

.mat-chip-icon > img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 1024px) {
    .bill:hover {
        margin-left: 0;
    }
}

@media screen and (max-width: 1020px) {
    .bill:hover {
        margin-left: auto;
    }
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #FFCB47;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #FFCB47;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #FFCB47;
    }

    to {
        width: 0;
        background: transparent;
    }
}

/**

    MATERIAL SPINNER

*/

@-webkit-keyframes colors {
    0% {
        stroke: #84A98C;
    }

    25% {
        stroke: #FFCB47;
    }

    50% {
        stroke: #84A98C;
    }

    75% {
        stroke: #FFCB47;
    }

    100% {
        stroke: #84A98C;
    }
}

@keyframes colors {
    0% {
        stroke: #84A98C;
    }

    25% {
        stroke: #FFCB47;
    }

    50% {
        stroke: #84A98C;
    }

    75% {
        stroke: #FFCB47;
    }

    100% {
        stroke: #84A98C;
    }
}
