@import url(fonts.css);

textarea {
    resize: none;
}

/* Elementos do site */

.toast-success {
    background-color: #51A351 !important;
}

.toast-info {
    background-color: #2f96b4 !important;
}

.toast-warning {
    background-color: #f89406 !important;
}

.toast-error {
    background-color: #bd362f !important;
}

.btn {
    height: 37px;
}
.btn-app {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: .9rem;
}
.btn-icon {
    padding: 0;
    height: unset;
}
img {
    object-fit: cover;
}

.alert.alert-dismissible {
    display: flex;
}

.alert.alert-dismissible p {
    display: flex;
    margin-bottom: -5px;
}

.alert.alert-dismissible i {
    margin: 4px;
}


#app {
    min-height: 640px;
}

label {
    margin-bottom: 0px;
    color: #040F1F;
    font-size: 12px;
    line-height: 12px;
}

ul {
    margin-bottom: 0rem;
}

h4 {
    color: #040F1F;
}

h4 div i {
    float: right;
}

.form-control {
    padding: 4px;
}

.btn.btn-primary {
    margin-top: 5px;
    width: 100%;
}

.collapse .btn.btn-primary {
    margin-top: 24px;
}

.btn.disabled, .btn:disabled {
    cursor: not-allowed;
}

.orcamento {
    width: 150px !important;
    float: right !important;
    margin: 25px 0px !important;
    background: #0e3267 !important;
    border: #040F1F !important;
}

.orcamento:hover {
    width: 150px !important;
    float: right !important;
    margin: 25px 0px !important;
    background: #0e3267;
    border: #0e3267;
}

/* #compartilhar-pedido .form-group:first-child {
    margin: -22px 0px;
    z-index: 100;
} */

/* #compartilhar-pedido .orcamento {
    margin: 0px !important;
} */

.div-principal {
    margin: -50px 50px;
}

.local {
    float: left !important;
    margin: 30px;
    border: #040F1F;
}

.login-mobile {
    display: none;
    cursor: pointer;
}

#navbar-toggler {
    position: absolute;
    top: 20px;
    right: 20px;
}

.dados_login{
    cursor: pointer;
    margin-right: -15px;
}

.dados_login i {
    right: 20px;
    font-size: 13px;
    top: 16px;
    padding: 0px;
    border-radius: 1.25rem;
    position: relative;
    color: black;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
}

#quantidade_mensagem {
    position: absolute !important;
    right: 50px;
    top: 28px;
    border-radius: 1.25rem;
    background: yellow;
}

.nav-bar-btn {
    color: #0e3267;
    text-align: center;
    border: 1px solid #0e3267;
    font-size: 15px;
    border-radius: 9px;
    margin: 0px 5px;
    cursor: pointer;
    width: 45px;
}

.nav-bar-btn i {
    font-size: 22px;
}

#perfil-logado {
    align-self: center;
}

.img-circle {
    margin: 5px;
    width: 45px;
    height: 45px;
    margin-top: -30px;
    border-radius: 50% !important;
    margin-bottom: -25px;
}

.mensagens {
    width: 100%;
    padding: 0px 5%;
    color: red;
    font-size: 16px;
    justify-content: space-between;
    display: flex;
    align-self: flex-end;
}


#sub-menu .dropdown-menu {
    inset-inline-start: revert;
    margin-left: -285px;
    margin-top: -10px;
}

.dropdown-menu {
    left: 75px;
}

.local a {
    width: 40%;

}

.local-orcamento {
    padding: 0px 30px; width: 100%;
}

.li-selected {
    background: #0e3267;
    color: white;
}

.row .form-group {
    padding-right: 5px;
    padding-left: 5px;
}

.form .form-group button.btn {
    background: #EA5C11;
    font-weight: 500;
    border: white;
}

#busca_historico, #busca_historico_ultima {
    margin-top: 24px;
    background: #EA5C11;
    border-color: #EA5C11;
}

#selecao-produto_historico {
    top: auto !important;
}

#ultima_compra {
    margin-top: 24px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 15px;
}

.btn-list-client {
    margin: 8px 15px;
}

.info-orcamento {
    text-align: center;
    margin: 5px;
    background: #0e3267;
    color: #ffffff;
    border-radius: 5px;
    padding: 5px;
}

.logo-header {
    background-color: white;
    /* padding: 5px;
    margin: 7px; */
    border-radius: 8px;
    max-width: 100%;
    /* min-width: 120px; */
    max-height: 75px;
}

.btn-list-client .row div {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.btn-list-client button {
    font-size: 13px;
    padding: 0px !important;
}

.accordion .form-control, #modalExcluir .form-control, #showCadastroCliente .form-control {
    text-transform: uppercase;
}

.btn-icon {
    padding: 0;
    height: calc(2.309375rem + 2px);
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    background: white;
}

.btn-info-cliente {
    color: #040F1F;
    background-color: white;
    border-color: #040F1F;
}

.btn.btn-primary.btn-info-cliente:hover {
    color: #040F1F;
    background-color: white;
    border-color: #040F1F;
}

.btn.btn-primary.btn-info-cliente:disabled {
    color: #040F1F;
    background-color: white;
    border-color: #040F1F;
    opacity: .35;
}

.btn.btn-primary.btn-info-cliente:active, .btn.btn-primary.btn-info-cliente:focus, .btn.btn-primary.orcamento:active, .btn.btn-primary.orcamento:focus {
    color: #040F1F;
    background-color: white !important;
    border-color: #040F1F;
}

.acoes {
    display: flex;
    justify-content: space-around;;
    align-items: center;
}

.acoes .editar-datatable {
    color: #FBBD08;
    cursor: pointer;
}

.acoes .excluir-datatable {
    color: #DB2828;
    cursor: pointer;
}

.acoes .oferta-datatable {
    color: #2daa14;
    cursor: pointer;
}

.acoes .problema-datatable {
    color: #f89406;
    cursor: pointer;
}


#nav-bar-main {
    /* UI Properties */
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 15px #0000005E;
    opacity: 1;
    color: rgb(0, 0, 0);
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Elementos do Painel */

.home-logo {
    max-height: 57px;
}


.form-group {
    margin-bottom: 5px;
}

.box-status {
    display: flex;
    margin-top: 33px;
    margin-left: 10px;
}
.box-status label {
    width: auto;
}
.box-status .radio {
    margin: 0px 0 0 10px;
}

.form-actions a, .form-actions button {
    font-size: 12px;
    font-family: 'lato bold';
    padding: 8px 10px;
    margin: 0px 12px;
    width: 125px;
}



.has-error .help-block.with-errors {
    color: red;
    font-size: 12px;
}

.has-error input, .has-error select, .has-error select {
    border: 1px solid red;
}

.has-error label {
    color: red;
}

.btn-edit {
    text-transform: uppercase;
    border-radius: 4px;
    background: #FBBD08;
    color: white;
    border: 1px solid #FBBD08;
}

.btn-edit:hover {
    color: white;
}

.btn.btn-success:hover {
    background: white;
    color: #21BA45;
    border: 1px solid #21BA45;
}

.icon-menu {
    margin: 10px; width: 45px; margin-top: 0px;
}


@media (max-width: 576px) {

}

@media (min-width: 576px) {
    .home-container {
        max-width: 98%;
    }
}


@media (max-width: 768px) {
    .logo-header{
        max-width: 93%;
        padding: 15px;
        margin: auto;
    }

    .div-principal {
        margin: -28px 10px!important
    }

    .info-orcamento .row div {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .local span:first {
        width: 100%;
    }

    .local {
        margin-top: 15px !important;
        margin: 0px;
    }

    .orcamento {
        width: 100% !important;
        float: unset !important;
        margin: 8px 0px !important;
    }

    .local-orcamento {
        padding: 0px 25px;
        width: 100%;
        margin: auto;
    }

    .float-button {
        font-size: 20px !important;
    }

    .login-mobile {
        display: block;
    }

    #no-mobile-nav {
        display: none;
    }

    #navbarSupportedContent {
        position: absolute;
        top: 73px;
        right: 0;
        width: 40%;
        float: right;
        text-align: left;
        padding: 0px 10px;
        background: white;
        z-index: 1;
        min-width: 250px;
        border-bottom-left-radius: 4px;
        border: 1px solid #00000030;
    }
}

@media (max-width: 991px) {
    /* #compartilhar-pedido .orcamento{
        width: 100% !important;
    } */

}

@media (max-width: 1200px) {

    #gerar-pedido, #aplica-desc-geral{
        margin-top: 0px !important;
    }

}

@media (min-width: 1200px) and (max-width: 1393px) {
    /* .form-group.saldo {
        margin-top: -5px;
    } */

    #cotar-frete {
        font-size: 13px;
    }
}

@media (min-width: 990px) and (max-width: 1199px) {

    #incluir-pedido {
        font-size: 12px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    #nav-bar-main .home-container {
        max-width: 100% !important;
    }

}

@media (min-width: 768px) and (max-width: 1200px) {
    #nav-bar-main .nav-link {
        margin-left: 0px;
    }
}


@media (min-width: 1400px) {

}


@media (min-width: 1200px) {

    .col-xl-0-5 {
        flex: 0 0 4.166666%;
        max-width: 4.166666%;
    }

    .col-xl-1-4 {
        flex: 0 0 11.66662%;
        max-width: 11.66662%;
    }

    .col-xl-1-5 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }

    .col-xl-1-6 {
        flex: 0 0 13.833333%;
        max-width: 13.833333%;
    }

    .col-xl-1-7 {
        flex: 0 0 14.2857%;
        max-width: 14.2857%;
    }

    .col-xl-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .col-xl-2-5 {
        flex: 0 0 20.83%;
        max-width: 20.83%;
    }

    .col-valor_unitario {
        flex: 0 0 12.9%;
        max-width: 12.9%;
    }

    .col-desc-cliente-tabela {
        flex: 0 0 22%;
        max-width: 21.9%;
    }

}
@media (min-width: 992px) {

    .col-lg-0-5 {
        flex: 0 0 4.166666%;
        max-width: 4.166666%;
    }

    .col-lg-1-5 {
        flex: 0 0 12.5%;
        max-width: 12.5%;
    }

    .col-lg-1-6 {
        flex: 0 0 13.833333%;
        max-width: 13.833333%;
    }

    .col-lg-1-7 {
        flex: 0 0 14.2857%;
        max-width: 14.2857%;
    }

    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .col-lg-2-5 {
        flex: 0 0 20.83%;
        max-width: 20.83%;
    }

    #itens_carrinho .btn-div{
        min-width: 158px;
        max-width: 158px;
    }

    /* #compartilhar-pedido .form-group:first-child {
        margin: -22px 0px;
        z-index: 100;
    } */

}

@media screen and (max-width: 576px) {

}



@media (max-width: 1400px) {

}
hr {
    background-color: lightgray;
}


/* Botao flutuante */

.float-button {
    position:fixed;
    box-sizing: border-box;
    margin: auto;
    border: solid 1px #fff;
    border-radius: 50%;
    width: 65px; height: 65px;
    color: #fff;
    font-size: 30px;
    line-height: 65px;
    text-align: center;
    user-select: none;
    transition: all .4s ease-in-out;
    transform: scale(1);
    box-shadow: 0 0 20px rgb(0 0 0 / 75%);
}

.float-button.pedido-btn {
    right: 12px;
    bottom: 12px;
    background: #EA5C11;
}

#showDetalhesProduto .itens-pedido {
    width: 100%;
    overflow-x: hidden;
}

#showDetalhesProduto .itens-pedido td {
    padding: 2px;
}

#showDataTableModal, #showDetalhesProduto, #showImportProdutos {
    padding: 0px 10px !important;
}

.float-button.itens-btn {
    right: 12px;
    bottom: 90px;
    background: #0e3267;
}

.float-button:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, .6);
    transform: scale(.99);
}


#form-carteira-orcamento .form-control, #form-preco-consulta .form-control, #form-carteira_cliente .form-control,
#form-carteira_titulo .form-control {
    text-transform: uppercase !important;
}

#showDetalhesProduto .quantidades-detalhes label {
    width: inherit;
    text-align: center;
}

.div-principal button.swal2-styled{
    width: 60px;
}

.swal2-styled {
    width: 87px;
    text-align: center;
    padding: 0.375rem 0rem !important;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    display: flex;
    z-index: 10000;
}

.loading > div {
    margin: auto;
}

.fw-bold {
    font-weight: 700;
}

#showMensagens .checkbox {
    align-self: flex-end;
}

#modal-perfil-usuario p {
    margin-bottom: 6px;
}

#modal-perfil-usuario img {
    margin: 5px;
    width: 90px;
    height: 90px;
    margin-top: 0px;
    border-radius: 50% !important;
}

#modal-perfil-usuario .buttons-action button {
    width: 100px;
    margin: 10px 3px !important;
    background: #0e3267;
    font-size: 12px;
    border: #040F1F !important;
    height: 30px;
}

#mensagens_table_mensagem td {
    padding: 2px;
}

.border-cadastro {
    margin: 0px;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
}

.subtitulo {
    font-weight: 700;
    margin-top: -6px;
    position: absolute;
    padding: 0px 5px;
    background: white;
}
