:root {
    --hover-color: #ffff0030;
    --notato-main: #e72e58;
}

html {
    scroll-behavior: smooth;
}

a.btn-primary:focus, a.btn-success:focus, a.btn-danger:focus {
    color: #ffffff;
}

a.btn-outline-success:focus {
    color: #31ce36;
}

a.btn-outline-danger:focus {
    color: #dc3545;
}

.navbar .navbar-nav .nav-item {
    margin-right: 5px;
}

.bg-notato {
    background-color: var(--notato-main);
}

.text-notato {
    color: var(--notato-main);
}

.text-bold {
    font-weight: bold;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-40 {
    opacity: 0.4;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-60 {
    opacity: 0.6;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.text-upper {
    text-transform: uppercase;
}

.nowrap {
    white-space: nowrap;
}

.avatar-img {
    border: 2px solid white;
    background-color: white;
}

.badge-notification {
    position: absolute !important;
    top: 0px;
    left: 25px;
    transform: scale(0.6);
}

.main-panel>.container {
    overflow: unset;
}

.card .card-action.card-actions-sticky {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    padding: 15px;
    background-color: #ffffff;
    box-shadow: 0px -6px 12px 0px rgba(69, 65, 78, 0.10);
    -webkit-box-shadow: 0px -6px 12px 0px rgba(69, 65, 78, 0.10);
    border-radius: 0 0 5px 5px;
    z-index: 990;
}

.card .card-header.card-header-sticky {
    position: -webkit-sticky;
    position: sticky !important;
    top: 62px !important;
    padding: 15px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 6px 12px 0px rgba(69, 65, 78, 0.10);
    box-shadow: 0px 6px 12px 0px rgba(69, 65, 78, 0.10);
    border-radius: 5px 5px 0 0;
    z-index: 995;
}

.card.disabled {
    filter: grayscale() blur(1px);
}

.card.card.disabled * {
    color: #00000040 !important;
}

.card-title {
    font-size: 18px;
}

.card-profile .card-header {
    background-size: cover;
    background-position: center bottom;
    background-color: var(--notato-main);
}

.card-profile .avatar img {
    border: 3px solid #fff;
}

.mail-wrapper .mail-content .inbox-body .email-list .email-list-item {
    cursor: initial;
}

.email-compose-fields-min-height {
    min-height: calc(100vh - 335px);
}

.email-action {
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
    box-shadow: 0px -6px 12px 0px rgba(69, 65, 78, 0.10);
    margin: 0 !important;
    padding: 20px;
    text-align: left !important;
}

.dropdown-toggle {
    cursor: pointer;
}

legend {
    font-size: 1.2em;
    border-bottom: 1px solid #00000010;
}

small {
    font-size: 85%;
}

table.table-data>thead>tr>th:last-child, table.table-data>tbody>tr>td:last-child {
    white-space: nowrap;
    width: 1%;
}

table.table-data>thead>tr>th {
    color: #1269db;
}

.table-hover tbody tr:hover {
    background-color: #ffff0030;
}

form.nav-search .input-group {
    background-color: #fff;
}

form.nav-search .input-group>.form-group {
    padding: 0;
}

form.nav-search .dropdown-menu input, form.nav-search .dropdown-menu select {
    border: 1px solid #ebedf2;
}

form.nav-search>.input-group>.form-group>label {
    display: none;
}

.input-group-text.input-group-text-notato {
    color: #ffffff;
    background: var(--notato-main);
}

.input-group-text.input-group-text-instagram {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    background: #f13c0e;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%)
}

.input-group-text.input-group-text-facebook {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    background-color: #3B5998;
}

.input-group-text.input-group-text-whatsapp {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    background-color: #47C757;
}

.input-group-text.input-group-text-google-my-business {
    font-size: 1.5em;
    font-weight: bold;
    color: #ffffff;
    background-color: #4C8EFF;
}

@media screen and (max-width:767px) {
    form.nav-search .form-control {
        min-width: auto !important;
        max-width: 33vw !important;
    }
}

.toggle.btn {
    min-width: 30px !important;
    height: 22px !important;
    margin-left: 0 !important;
}

.toggle.btn~.form-check-sign {
    margin-left: 0.5em;
}

.toggle-on, .toggle-off {
    padding-top: 2px !important;
}

.toggle.btn[disabled] {
    opacity: 0.5 !important;
}

.toggle.btn[disabled] .toggle-group .btn {
    cursor: not-allowed;
}

.form-check [type="checkbox"]:not(:checked)+.form-check-sign:after, .form-check [type="checkbox"]:checked+.form-check-sign:after, .form-check [type="checkbox"]+.form-check-sign:after {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 700;
    color: mediumseagreen;
}

.btn-muted {
    background-color: #ccc;
}

.btn-light {
    color: #333 !important;
    background: transparent !important;
    border-color: #ccc !important;
}

.btn-light.text-danger {
    color: #cc0000 !important;
}

.btn-light.text-success {
    color: #00AA00 !important;
}

.btn-light.disabled {
    color: #33333350;
    cursor: not-allowed;
}

.btn-light:hover, .btn-light:active, .btn-light:focus, .btn-light:disabled {
    color: #333;
    background: #ffffff !important;
    border-color: #ccc !important;
}

.btn-mercado-pago {
    font-weight: bold;
    color: #ffffff;
    background-color: #00aeef;
}

.btn-mercado-pago.disabled {
    opacity: 0.5;
}

.btn-mercado-pago:hover, .btn-mercado-pago:active {
    color: #ffffff;
    background-color: rgb(0, 162, 221);
}

@media screen and (min-width:856px) {
    .page-with-aside .page-aside {
        min-height: calc(100vh - 125px);
    }
}

/***********************************
BUTTONS
************************************/

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    border-color: #25d366;
}

.btn-whatsapp i {
    font-size: 1.3em;
}

.btn-whatsapp:hover, .btn-whatsapp:focus, .btn-whatsapp:active {
    background-color: #25d366;
    color: #fff;
}

.btn-outline-whatsapp {
    background-color: #fff;
    color: #25d366;
    border-color: #25d366;
}

.btn-outline-whatsapp:hover, .btn-outline-whatsapp:focus, .btn-outline-whatsapp:active {
    background-color: #25d366;
    color: #fff;
    border-color: #25d366;
}

/***********************************
TABLES
************************************/

table tbody th {
    color: #1572e8;
}

table.table>tbody>tr>th, table.table>tbody>tr>td {
    height: 50px !important;
}

table.table-sm tbody tr th, table.table-sm tbody tr td {
    height: 40px !important;
}

table.table-sm tbody td input {
    padding: .2rem 1rem;
    ;
}

/***********************************
OVERRIDES
************************************/

.text-dark {
    color: #212529 !important;
}

.text-muted {
    color: rgba(0, 0, 0, 0.3) !important;
}

.text-whatsapp {
    color: #25d366;
}

.messages-notif-box .notif-center a .notif-img, .notif-box .notif-center a .notif-img {
    padding: 0.2em;
    min-width: 40px;
    background: #00000010;
    border-radius: 0.5em;
}

.messages-notif-box .notif-center a .notif-img img, .notif-box .notif-center a .notif-img img {
    border-radius: 0;
    height: auto;
}

.messages-notif-box .notif-center a .notif-icon, .notif-box .notif-center a .notif-icon {
    min-width: 40px;
}

.messages-notif-box .notif-center a .notif-content .block, .notif-box .notif-center a .notif-content .block {
    font: 0.7em;
    color: #bbbbbb;
}

.alert {
    box-shadow: 1px 1px 14px 0 rgb(18 38 63 / 10%);
}

/***********************************
PAGINATION
************************************/

a.asc:after {
    margin-left: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f15d";
    color: #8d9498;
}

a.desc:after {
    margin-left: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f881";
    color: #8d9498;
}

/***********************************
FORMULÁRIOS
************************************/

div.form-check label, .form-group label {
    margin-bottom: 0.2em;
    font-weight: 400;
    white-space: normal;
}

div.form-check .selected {
    font-weight: 600;
}

div.form-group.checkbox div.form-check {
    padding: 10px 0;
}

div.form-check [type=checkbox]:checked+.form-check-sign {
    font-weight: 600;
}

div.form-group.has-error .form-check-label span.form-check-sign {
    color: #f25961 !important;
}

div.form-group.file input[type="file"] {
    display: none;
}

div.form-group.file label {
    background-color: gainsboro;
}

div.form-group.file label:before {
    padding-right: 0.5em;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f574";
}

/***********************************
SUMMERNOTE
************************************/

div.link-dialog input[type=checkbox] {
    position: initial !important;
    left: initial !important;
    margin-left: 0 !important;
}

/***********************************
COLOR INPUT
************************************/
.form-control[type=color] {
    padding: 0;
    width: 2em !important;
    height: 2em !important;
    line-height: normal;
}

/***********************************
PLACEHOLDER
************************************/

.note-placeholder, .note-placeholder p {
    color: inherit;
    opacity: 0.3;
}

.form-control::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.3;
}

/***********************************
PROGRESS BAR
************************************/

.progress {
    border-radius: 3px;
    background-color: #efefef;
}

.progress .progress-bar {
    border-radius: 3px;
}

/***********************************
SORTABLE
************************************/

ul.sortable {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.sortable li {
    min-height: 60px;
    overflow: hidden;
    border: 1px solid #1572E820 !important;
    padding: 0.5rem 0.5rem 0.5rem 3rem;
    position: relative;
}

ul.sortable li img, ul.sortable li>div {
    float: left;
    margin-right: 10px;
}

ul.sortable li::before {
    position: absolute;
    top: 1.3rem;
    left: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    content: "\f58e";
    color: #8d9498;
}

li.ui-sortable-helper {
    background-color: #1572E870 !important;
}

ul.sortable li.list-group-placeholder {
    min-height: 60px;
    background-color: #1572E810 !important;
}

/***********************************
LOGIN
************************************/

.login-wide .wrapper.wrapper-login .container-login {
    width: 600px;
}

/***********************************
SIDEBAR
************************************/

.sidebar .nav-collapse li a .sub-item, .sidebar[data-background-color=white] .nav-collapse li a .sub-item {
    margin-left: 0;
}

.sidebar .nav-collapse li a .sub-item:before, .sidebar[data-background-color="white"] .nav-collapse li a .sub-item:before {
    content: '';
    content: '';
    height: 0;
    width: 0;
    position: initial;
    left: 0;
    top: 0;
    border-radius: 0;
}

.sidebar-content {
    min-height: 100%;
    position: relative;
}

.sidebar .service-status {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.85em;
}

.sidebar_minimize .service-status {
    display: none;
}

/***********************************
CUSTOM COLORS
************************************/

.logo-header[data-background-color=notato], .navbar-header[data-background-color=notato] {
    background-color: #b32344;
}

.logo-header[data-background-color=notato2], .navbar-header[data-background-color=notato2] {
    background-color: var(--notato-main);
}

.bg-primary-gradient {
    background: #000 !important;
    background: linear-gradient(-45deg, #708090, #3b4753) !important;
}

/***********************************
SWITCH PRIVILEGE
************************************/

.btn-switch-profile, .btn-switch-profile i {
    transition: all 0.5s;
}

.btn-switch-profile {
    background-color: #00000020;
    border: none;
}

.btn-switch-profile:hover {
    background-color: #00000050;
}

.btn-switch-profile:hover i {
    transform: rotate(180deg);
}

/***********************************
FADE
************************************/

.fadeIn {
    animation: fadeIn 0.5s ease-in
}

@keyframes fadeOut {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.fadeOut {
    animation: fadeOut 0.5s ease-out
}

@keyframes fadeOut {
    from {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

/***********************************
SWAL-TEXT
************************************/

h2.swal2-title {
    font-size: 1.5em;
    padding: 0 24px;
}

.swal2-html-container {
    margin: 0.3em 1.6em !important;
    font-size: 1em !important;
    text-align: center;
}

/**************************************
LOADER
**************************************/

#atlantis-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: mediumseagreen;
    background: linear-gradient(to right, #ffd600, #ff7a00, #ff0169, #d300cf, #7638fa, #ffd600);
    background-size: 500%;
    z-index: 2000;
}

#atlantis-loader.show {
    animation: loader-show, loader-glow;
    animation-duration: 0.5s, 2s;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards;
}

#atlantis-loader.hide {
    animation: loader-hide;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-delay: 0;
}

@keyframes loader-show {
    from {
        width: 100vw;
        opacity: 0;
    }

    to {
        width: 100vw;
        opacity: 1;
    }
}

@keyframes loader-glow {
    from {
        background-position: 125%;
    }

    to {
        background-position: 0;
    }
}

@keyframes loader-hide {
    from {
        width: 100vw;
        opacity: 1;
    }

    to {
        width: 100vw;
        opacity: 0;
    }
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: auto;
    content: "";
    background-color: rgba(0, 0, 0, 0);
}

.badge {
    margin: 0;
    border: none;
}

.badge-order-new {
    background-color: #3176AA;
}

.badge-order-confirmed {
    background-color: #FFAD46;
}

.badge-order-ready-for-pickup {
    background-color: #29beb7;
}

.badge-order-dispatched {
    background-color: #17837d;
}

.badge-order-concluded {
    background-color: #59BC47;
}

.badge-order-cancelled {
    background-color: #adadad;
    color: #000;
}

/**************************************
OPEN/CLOSED
**************************************/

.glow-success {
    animation: glow-success 1s ease-in-out infinite;
}

@keyframes glow-success {
    0% {
        text-shadow: 0 0 5px #46D34A50;
    }

    50% {
        text-shadow: 0 0 10px #46D34A;
    }

    100% {
        text-shadow: 0 0 5px #46D34A50;
    }
}

.glow-danger {
    animation: glow-danger 1s ease-in-out infinite;
}

@keyframes glow-danger {
    0% {
        text-shadow: 0 0 5px #F36A7150;
    }

    50% {
        text-shadow: 0 0 10px #F36A71;
    }

    100% {
        text-shadow: 0 0 5px #F36A7150;
    }
}

/**************************************
PRODUCT CARD
**************************************/

.product-card:hover {
    background-color: var(--hover-color);
}

.product-card .serves-up {
    position: relative;
    opacity: 0.8;
}

.product-card .serves-up-value {
    position: absolute;
    top: 0;
    right: -0.8em;
    font-size: 0.8em;
    color: var(--notato-main);
}

/**************************************
CODE MIRROR
**************************************/

.CodeMirror {
    border: 1px solid #ebedf2;
    border-radius: 0.25rem;
    padding: 0.6rem 1rem;
    background: #f8f8f8;
}