/* Minimificador http://cssminifier.com/ */
@import url('https://fonts.googleapis.com/css2?family=Cabin+Condensed&display=swap');

/*
Testar esse azul
#0171d3
*/
body {
    font: 8pt 'PT Sans', Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
}

table {
    border: none;
}

*:focus {
    outline: none;
}

input,
select {
    border: 1px solid #b1b1b1;
    border-radius: 2px;
}

label,
input.form {
    float: left;
}

label {
    text-align: right;
    width: 110px;
    padding-right: 10px;
    padding-bottom: 10px;
}

label.est1 {
    width: 35%;
    font-weight: bold;
}

.box {
    box-shadow: rgb(35 68 101 / 5%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
    background-color: white;
}

br {
    clear: left;
}

label.error {
    float: none;
    color: red;
    margin: 0 .5em 0 0;
    vertical-align: top;
    font-size: 15px
}

p {
    clear: both;
}

.submit {
    margin-top: 1em;
}

em {
    font-weight: bold;
    padding-right: 1em;
    vertical-align: top;
}

.validation_error {
    border: red 1px solid
}

a {
    color: black;
    text-decoration: none;
}


h3 {
    background-color: #e8eef5;
    font-size: 14px;
}

.botao {
    background: #DDDDDD;
    color: #1976D2;
    border: 1px solid #1976D2;
}

.short_action {

    color: #777777;
    height: 50px;
}

.short_action div {
    margin: 0 5px;
}

.short_action input {
    width: 99%;
    height: 1.3em;
    font-size: 1.2em;
}

.ui-autocomplete-loading {
    background: white url('/common/imagens/ajax-loader.gif') right center no-repeat;
}

@media print {
    .noprint {
        display: none
    }
}

/*
CSS da barra de navega��o dos GRIDS do sistema
*/
textarea {
    font: 1em 'PT Sans', Verdana, Arial, Helvetica, sans-serif;
}

.header {
    background: #FFFFFF;
    box-shadow: 0 4px 7px 0 rgb(0 0 0 / 20%);
    margin-bottom: 15px;
    padding: 5px 2%;
}

.topo {
    margin: 5px;
}

.topo span {
    margin-left: 20px;
    padding-bottom: 2px;
    font-size: 1.5em;
}

.logo {
    display: table-cell;
    vertical-align: bottom;
}

.logo img {
    margin: 5px 5px;
    height: 45px;
}

nav {
    margin: 5px 2%;
}

.conteudo {
    margin: 5px 2%;
    min-height: 500px;
}

.conteudo>center {
    display: block;
    margin: 10px;
}

.page-title {
    font-size: 1.2em;
    margin: 10px;
    font-weight: bolder;
}

body.main {
    background: #F9FBFD;
    margin: 0;
}


thead tr th {
    text-align: center;
    border-bottom: 1px solid #000;
    border-left: 2px solid #000;
}


tfoot tr td {
    text-align: center;
    border-top: 2px solid #000;
}

.form-separador {
    background-color: #1d4694;
    color: #FFF;
    font-size: 16pt;
    padding: 2px;
    margin: 5px 0;
    line-height: 20pt;
}

.button img {
    vertical-align: middle;
    margin-left: 4px;
}

.button-img-only img {
    margin-left: -3px;
    margin-right: -3px;
}

#pedido-itens {
    border: 1px solid;
}

#pedido-itens tr:nth-child(even) {
    background: #EEEEEE
}

.pedido-botoes {
    padding: 3px;
    margin-bottom: 5px
}

.pedido-botoes div {
    border: 1px solid #c5dbec;
    margin: 3px;
    padding: 3px;
    text-align: center;
    border-radius: 5px;
    color: #2e6e9e;
}

.hr-representantes div {
    float: left;
    margin-right: 10px;
}

.vid-container {
    width: 800px;
    height: 451px;
    margin: auto
}

.vid-container iframe,
.vid-container object,
.vid-container embed {
    width: 100%;
    height: 100%;
}

.vid-list {
    width: 800px;
    margin: auto;
    padding: 50px 0;


}

.vid-item {
    display: block;
    width: 148px;
    height: 190px;
    float: left;
    margin: 0;
    padding: 6px;
    cursor: pointer;
}

.thumb img {
    width: 100%;
}

.vid-item .desc {
    color: #1d4694;
    font-size: 9pt;
    margin-top: 5px;
    font-weight: bold;
}

#bt-novo-hr {
    width: 130px;
    text-align: left;
    background-image: url("../imagens/icones/plus-white-blue-16.png");
    background-repeat: no-repeat;
    background-position: 90px 5px;
    appearance: none;
}

#bt-novo-hr>option {
    background-color: white;
    color: #000000;
}

table.grid {
    background-color: #FFF;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 5px;
    box-shadow: rgb(48 69 90 / 42%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
}

table.grid td,
table.grid th {
    border: 1px solid #f1f1f5;
    padding: 2px;
}

table.grid tbody td {
    font-size: 0.9em;
}

table.grid tbody td a {
    font-weight: bolder;
}

table.grid tr:nth-child(even) {
    background: #F9FBFD;
}

table.grid tbody tr:hover {
    background: #e8eef5;
}

table.grid thead {
    background: #e8eef5;
    border-bottom: 1px solid #444444;
}

table.grid thead th {
    font-size: 1.1em;
    color: #1d4694;
    border-left: 1px solid #e8eef5;
}

table.grid thead th:first-child {
    border-left: none;
}

table.grid tfoot {
    font-weight: bold;
    color: #1d4694;
    background: #e8eef5;
    border-top: 1px solid #444444;
}

table.grid tfoot td {
    font-size: 1em;
}

table.grid tfoot .links {
    text-align: right;
}

table.grid tfoot .links a {
    display: inline-block;
    background: #1C6EA4;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 5px;
}

#paginacao {
    width: 420px;
    font-size: 14px;
    font-family: Arial;
}

#paginacao img {
    vertical-align: bottom;
}

.clicktocall {
    background: url(/common/imagens/icones/phone.png) no-repeat right center;
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* Auth */

#auth-page {
    height: 100vh;
    width: 100%;
    display: flex;
}

#auth-left {
    flex-basis: 50%;
    display: grid;
    background-image: url(../imagens/loginBg.png);
    background-size: cover;
    align-items: center;
    justify-content: center;
}

#auth-greetings {
    width: 70%;
    padding: 0 20px;
}

#auth-greetings h1 {
    color: white;
}

#auth-right {
    flex-basis: 50%;
    display: grid;
    align-items: center;
    justify-content: center;
    align-content: center;
}

#auth-brand {
    margin: 20px;
}

#auth-brand legend {
    margin-bottom: 5px;
}


@media only screen and (orientation: portrait) and (max-width: 960px) {
    #auth-page {
        flex-direction: column;
    }

    #auth-right {
        font-size: 14pt;
    }

    #auth-right input[type=text],
    #auth-right input[type=password] {
        font-size: 14pt;
    }

    #auth-left {
        flex-basis: 20%;

    }

    #auth-greetings {
        width: 80%;
    }

    #auth-greetings img {
        width: 100%;
    }
}


/* Dashboard */
#dashboard {
    width: 100%;
    display: flex;
}

#dashboard-left {
    flex-basis: 50%;
}

#dashboard-right {
    flex-basis: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

#dashboard-left>div {
    background-color: #FFF;
    margin: 10px;
    box-shadow: rgb(35 68 101 / 5%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
    border-radius: 3px;
}

#grafico-evolucao-regiao,
#grafico-evolucao,
#grafico-evolucao-peso {
    flex: 2;
    flex-basis: 100%;
    height: 250px;
    margin: 10px;
    box-shadow: rgb(35 68 101 / 5%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
    border-radius: 3px;
}

#grafico-meta-mes,
#grafico-perfil-clientes,
#grafico-pedidos,
#grafico-abc6meses,
#grafico-subfamilias {
    flex: 1;
    flex-basis: 35%;
    height: 300px;
    margin: 10px;
    box-shadow: rgb(35 68 101 / 5%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
    border-radius: 3px;
}

#dashboard .highcharts-container {
    border-radius: 3px;
}

#dashboard-cards {
    flex: 2;
    display: flex;
    flex-direction: row;
}

#dashboard-cards>div {
    flex: 1;
    display: block;
    color: #FFF;
    box-shadow: rgb(48 69 90 / 42%) 0px 4px 16px, rgb(35 68 101 / 5%) 0px 4px 4px;
    margin: 10px;
    padding: 5px;
    position: relative;
    font-size: 12px;
    border-radius: 3px;
}

#dashboard-cards .card-header {
    font-size: 50px;
    line-height: 50px;
    text-shadow: 2px 2px 4px #000000c9;
    text-align: center;
}

#dashboard-cards .card-text {
    padding: 3px 0px;
    text-shadow: 1px 1px 2px #000000;
    text-align: center;
}

#dashboard-cards .card-link {
    text-align: right;
}

#dashboard-cards .card-link a {
    color: #FFF;
    text-shadow: 1px 1px 2px #000000;
}

#alerta-ativo-sem-visita {
    background-color: #4CAF50;
}

#alerta-prospect-sem-visita {
    background-color: #1976D2;
}

#alerta-inativo-sem-visita {
    background-color: #F44336;
}

#alerta-proposta-abertas {
    background-color: #FF9800;
}

.bt_destaque_laranja {
    font-size: 14px;
    color: #ffffff;
    padding: 10px 20px;
    background: -moz-linear-gradient(top,
            #ff9900 0%,
            #ff9900 70%,
            #ff9900);
    background: -webkit-gradient(linear, left top, left bottom,
            from(#ff9900),
            color-stop(0.70, #ff9900),
            to(#ff9900));
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    border: 1px solid #ff9900;
    -moz-box-shadow:
        0px 1px 3px rgba(255, 255, 255, 0.5),
        inset 0px 0px 1px rgba(255, 255, 255, 0);
    -webkit-box-shadow:
        0px 1px 3px rgba(255, 255, 255, 0.5),
        inset 0px 0px 1px rgba(255, 255, 255, 0);
    box-shadow:
        0px 1px 3px rgba(255, 255, 255, 0.5),
        inset 0px 0px 1px rgba(255, 255, 255, 0);
    text-shadow:
        0px -1px 0px rgba(179, 179, 179, 1),
        0px 1px 0px rgba(255, 255, 255, 0.3);
}

/* Copiado de css_relatorios 16/09/2019*/
.flash-message {
    border: 1px solid;
    border-radius: 5px;
    width: 400px;
    font-size: 12px;
    margin: 10px auto;
    padding: 5px;
    text-align: center;
}

.flash-message.success {
    border-color: #0a0;
    background-color: #d0e9c6;
}

.flash-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.flash-message.info {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.importar-como option {
    font-weight: bold;
}

.importar-como {
    width: 130px;
    text-align: left;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.flash-messages {
    width: 100%;
    -moz-border-radius: 4px;
    border-radius: 4px;
    display: block;
    padding: 10px 0;
    margin: 10px auto 10px;
    clear: both;
}

.flash-messages a.closeMessage {
    margin: -14px -8px 0 0;
    display: none;
    width: 16px;
    height: 16px;
    float: right;
    background: url(/assets/images/messages/close.png) no-repeat;
}

/*.messages:hover a.closeMessage { visibility:visible; }*/
.flash-messages p {
    margin: 3px 0 3px 10px !important;
    padding: 0 10px 0 23px !important;
    font-size: 14px;
    line-height: 16px;
}

.flash-messages.error {
    border: 1px solid #C42608;
    color: #c00 !important;
    background: #FFF0EF;
}

.flash-messages.error p {
    background: url(/assets/images/messages/cross.png ) no-repeat 0px 50%;
    color: #c00 !important;
}

.flash-messages.success {
    background: #E0FBCC;
    border: 1px solid #6DC70C;
}

.flash-messages.success p {
    background: url(/assets/images/messages/tick.png) no-repeat 0px 50%;
    color: #2B6301 !important;
}

.flash-messages.warning {
    background: #FFFCD3;
    border: 1px solid #EBCD41;
    color: #000;
}

.flash-messages.warning p {
    background: url(/assets/images/messages/warning.png ) no-repeat 0px 50%;
    color: #5F4E01;
}

.flash-messages.information,
.flash-messages.info {
    background: #DFEBFB;
    border: 1px solid #82AEE7;
}

.flash-messages.information p,
.flash-messages.info p {
    background: url(/assets/images/messages/help.png ) no-repeat 0px 50%;
    color: #064393;
}

.flash-messages.information a {
    text-decoration: underline;
}

/* Chosen rewrite rules */
.chosen-container-single .chosen-single {
    background: white;
    border: 1px solid #b1b1b1;
    border-radius: 2px;
}

.chosen-container-multi .chosen-choices {
    background: white;
    border: 1px solid #b1b1b1;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    background: white;
    border: 1px solid #b1b1b1;
}

.chosen-container-multi .chosen-choices li.search-choice-disabled {
    background: white;
    border: 1px solid #b1b1b1;
}

.chosen-container .chosen-results li.highlighted {
    background: #1D4694;
}

.chosen-container .chosen-drop {
    border: 1px solid #b1b1b1;
}

/*emotes jivo*/
img.emoji {
    height: 1.5em;
    width: 1.5em;
    margin: 0;
    vertical-align: middle
}

.whatsapp-message {
    margin: 5px 0;
    padding: 8px;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    background: #f9f9f9;
}

.whatsapp-message:hover {
    background: #f0f8ff;
}

.whatsapp-attachment {
    margin: 5px 0;
    padding: 5px;
    background: #e8f4fd;
    border-left: 3px solid #1da1f2;
    border-radius: 3px;
}

.whatsapp-attachment img {
    transition: transform 0.2s;
}

.whatsapp-attachment img:hover {
    transform: scale(1.02);
}


.whatsapp-message input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2);
}
