﻿/*.text-md-left {
    margin-left: 20px;
}*/

.text-center-duasColunas {
    margin-left: 0px;
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.container {
    padding-top: 5px;
    padding-bottom: 20px;
    border-radius: 17px;
}

.btn-round {
    border-radius: 17px;
}

.btn-round-categoria {
    border-radius: 10px;
    height: 40px;
}

    .btn-round-categoria.collapsed {
        background-color: #ff9c1b;
    }

    .btn-round-categoria:not(.collapsed) {
        color: #fff;
        background-color: #f24122;
    }

    .btn-round-categoria.active {
        background-color: #ff9c1b;
    }

    .btn-round-categoria:not(.active) {
        color: #fff;
        background-color: #f24122;
    }

.accordion .card-header:after {
    font-family: 'FontAwesome';
    content: "\f068";
    float: right;
}

.accordion .card-header.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\f067";
}

.card {
    border: 0px
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a {
    color: white;
}

.navbar {
    background-color: #ff9c1b;
    color: white;
    border-bottom-color: #ff9c1b !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-black {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    height: 100%;
}

body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-color: #ff9c1b;
    margin-bottom: 80px;
}

.header {
    border-bottom-color: transparent !important;
    background-color: #ff9c1b;
}

.footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    background-color: #ff9c1b;
    overflow: hidden;
    border-top-color: transparent !important
}

.navbar-brand,
.navbar-nav li a {
    line-height: 25px;
    height: 25px;
    padding-top: 0px;
    vertical-align: central;
}

.table-wrap {
    height: 370px;
    overflow-y: auto;
}

.table td {
    vertical-align: middle;
}

.navbar-right li a {
    line-height: 20px;
}

.navbar-toggle {
    float: left !important;
}

.custom-toggler.navbar-toggler {
    border-color: white;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

.border-md-right {
    border-right: 1px solid white;
}

.border-md-left {
    border-left: 1px solid white;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.left.carousel-control,
.right.carousel-control {
    background-image: none;
    margin-top: 100px;
    margin-bottom: 100px;
}


.carousel-control-prev {
    width: 20px;
}

.carousel-control-next {
    width: 20px;
}

.carousel-control-prev-icon {
    filter: brightness(0);
    margin-left: -20px;
    bottom: 10%;
}

.carousel-control-next-icon {
    filter: brightness(0);
    margin-right: -20px;
}

.btn-addtobasket::before {
    content: "\f07a";
    font-family: "FontAwesome";
}

.btn-search::before {
    content: "\f002";
    font-family: "FontAwesome";
}

.row-center {
    display: flex;
    align-items: center;
}

.card-body {
    height: 180px;
}


.panel-group .panel {
    border-radius: 0;
    box-shadow: none;
    border-color: #EEEEEE;
}

.panel-default > .panel-heading {
    padding: 0;
    border-radius: 0;
    color: #212121;
    background-color: #FAFAFA;
    border-color: #EEEEEE;
}

.panel-title {
    font-size: 14px;
}

    .panel-title > a {
        display: block;
        padding: 15px;
        text-decoration: none;
    }

.more-less {
    float: right;
    color: #212121;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #EEEEEE;
}

@media (min-width: 768px) {
    .min-width-460-md {
        min-width: 460px;
    }
}

[contenteditable] {
    border: solid 1px lightgreen;
    padding: 5px;
    border-radius: 3px;
}

[data-toggle="collapse"] .fa:before {
    content: "\f139";
}

[data-toggle="collapse"].collapsed .fa:before {
    content: "\f13a";
}


nav > .nav.nav-tabs {
    border: none;
    color: #fff;
    border-radius: 0;
}

nav > div a.nav-item.nav-link {
    border: none;
    /*padding: 18px 25px;*/
    color: #fff;
    background: #ff9c1b;
    border-radius: 0;
}

    nav > div a.nav-item.nav-link.active {
        border: none;
        /*padding: 18px 25px;*/
        color: #fff;
        background: #ff9c1b;
        border-radius: 0;
    }

        nav > div a.nav-item.nav-link.active:after {
            content: "";
            position: absolute;
            bottom: -60px;
            left: -10%;
            border: 15px solid transparent;
        }

    nav > div a.nav-item.nav-link:hover,
    nav > div a.nav-item.nav-link:focus {
        border: none;
        background: white;
        color: #212121;
        border-radius: 0;
        transition: background 0.20s linear;
    }

/*
.nav-item-footer {
    width: 20%;
}
    */

#loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgb(249,249,249);
    color: #ff9c1b;
    flex: 0 0 120px;
}

#btnAcima, #btnAbaixo, #valTotalMercadoria {
    display: none;
    position: fixed;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    bottom: 65px;
}

    #btnAcima:hover, #btnAbaixo:hover {
        background-color: #555;
    }

.open-chat-button {
    background-color: transparent;
    /* padding: 16px 20px;*/
    border: none;
    cursor: pointer;
    opacity: 1.0;
    position: fixed;
    bottom: 65px;
    right: 15px;
}

/* The popup chat - hidden by default */
.chat-popup {
    display: none;
    position: fixed;
    right: 14px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    bottom: 62px;
}

.chat-balloon {
    display: none;
    position: fixed;
    right: 14px;
    z-index: 9;
    bottom: 62px;
    outline: none;
}

/* Add styles to the form container */
.form-container {
    max-width: 300px;
    padding: 10px;
    background-color: white;
}

    /* Full-width textarea */
    .form-container textarea {
        width: 100%;
        padding: 5px;
        margin: 5px 0 5px 0;
        border: none;
        background: #f1f1f1;
        resize: none;
    }

        /* When the textarea gets focus, do something */
        .form-container textarea:focus {
            background-color: #ddd;
            outline: none;
        }

    /* Set a style for the submit/send button */
    .form-container .btn-send {
        background-color: #4CAF50;
        color: white;
        padding: 5px 5px;
        border: none;
        cursor: pointer;
        width: 100%;
        margin-bottom: 10px;
    }

    .form-container .btn-finish {
        background-color: red;
        color: white;
        padding: 5px 5px;
        border: none;
        cursor: pointer;
        width: 100%;
        margin-bottom: 10px;
    }

    /* Add some hover effects to buttons */
    .form-container .btn:hover, .open-button:hover {
        opacity: 1;
    }

.navbar-nav li:hover > ul.dropdown-menu {
    display: block;
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
    }

.groupbox {
    border-style: solid;
    border-width: 1px;
    border-color: #716161;
    border-radius: 3px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
}

.checkbox-groupbox {
    margin-top: -23px;
    padding-right: 1px;
    background-color: white;
    width: fit-content !important;
    user-select: none;
}

.col-categoria-nav {
    position: inherit !important;
    display: block !important;
    margin: 0px !important;
}

.owl-categoria {
    position: inherit !important;
    display: block !important;
    margin-top: 12px !important;
}

.col-auto-categoria {
    padding: 0px !important;
    margin: 0px !important;
}

.load-item {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ff9c1b;
}



.float-button-qrcode {
    padding-top: 10px;
    display: flow;
    position: fixed;
    bottom: 10vh;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 115px;
}

@media (min-width: 990px) {
    footer {
        /*height: 4vh !important;*/
    }
}

.footer-conteudo {
    margin-left: 100px;
    margin-right: 100px;
    height: 500px;
    vertical-align: text-top !important;
    margin-top: 0px !important;
}

.texto-rodape {
    color: white;
    font-size: 16px;
}

/* Adiciona uma transição suave para a exibição das mercadorias */
.mercadoria-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

    .mercadoria-container.visible {
        opacity: 1;
        transform: translateY(0);
    }

