body {
    padding-top: 40px; /* 60px to make the container go all the way to the bottom of the topbar */
}

label {
    width: 80px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    padding: 0px;
    margin-bottom: 2px;
}

select,
input[type="file"] {
    height: 20px;
    *margin-top: 4px;
    line-height: 28px;
}

.well {
    margin-bottom: 5px;
    padding: 5px;
}

.navbar-inner {
    background-color: #49afcd;
    *background-color: #2f96b4;
    background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
    background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
    background-image: linear-gradient(top, #5bc0de, #2f96b4);
    background-repeat: repeat-x;
    color: #ffffff;
}

.navbar .brand,
.navbar .nav > li > a {
    color: inherit;
}

/* app */
#consulta {
    text-transform: uppercase;
    font-family: Tahoma;
    font-weight: bold;
    color: #2997e6;
}

#pedido_cabecalho select {
    width: 100%;
}

.slick-row.active {
    background: #f6ebbc;
}

.mobile .select2-container .select2-results li {
    padding: 20px;
}

#login-form .control-label {
    width: 65px;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    color: #a9a9a9;
    margin-top: -3px;
}

#login-form .controls {
    margin-left: 65px;
}

#login-form .control-group {
    margin-bottom: 10px;
}

.col-center {
    text-align: center;
    display: block;
}

.col-right {
    text-align: right;
    display: block;
}

.navbar-inner .select2-results {
    color: #000;
}

#pedido_cabecalho {
    margin-bottom: 0;
}

.top-digitacao {
    margin-left: 5px;;
}

.consulta.opcoes .radio {
    float: left;
    width: auto;
    margin-right: 5px;
}

.consulta.opcoes .radio span {
    margin-right: 5px;
}

.botoes-faturar .btn {
    margin-left: 0;
    width: 36px;
    height: 49px;
    margin-top: 4px;
    /*line-height: 50px;*/
}

.opcoes input:checked + span {
    color: blue;
}

.bg-azul {
    background-color: rgb(204, 230, 255);
}

#grid-resumo-container {
    padding: 6px;
    border-radius: 15px;
}

.consulta.opcoes {
    height: 61px;
    line-height: 43px;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .botoes-faturar {
        margin-left: 0 !important;
        width: 164px !important;
    }

    .botoes-faturar .btn {
        width: 30px;
    }
}

.descricao-min {
    display: none;
}

.mobile .descricao-min {
    display: inline-block;
}

.mobile .descricao {
    display: none;
}

#grid-desconto .slick-viewport {
    background-color: #fff;
}

.linha-azul .slick-cell {
    color: blue;
}

#grid_produto {
    width: 100%;
    height: 340px;
}

/*PORTAL*/

table .item {
    margin-left: -110px;
    left: 50%;
    position: absolute;
    top: 16px;
    font-family: Verdana, sans-serif;
    font-size: 14px;
    width: 100%;
}

table .lupa {
    position: absolute;
    height: 20%;
    width: 30%;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

table .comprar {
    position: absolute;
    height: 20%;
    width: 70%;
    bottom: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
    background-color: #ffffff;
}

table .desconto {
    font-size: 16px;
    color: red;
    font-weight: bold;
}

table.destaques .item {
    top: 25px;
    font-size: 16px;
}

tab.destaques .desconto {
    font-size: 18px;
}

a img {
    border: none;
}

#myModal.modal {
    /* new custom width */
    width: 90%;
    height: 600px;
    /* must be half of the width, minus scrollbar on the left (30px) */
    margin-left: -45%;
}

.promo #myModal.modal #grid_produto {
    height: 450px;
}

.promo #myModal.modal #produto_info {
    display: none;
}

.promo #myModal.modal {
    height: auto;
}

#modal-tabela.modal,
#modal-novo.modal,
#modal-retorno.modal,
#modal-kits.modal{
    /* new custom width */
    width: 1024px;
    height: 600px;
    /* must be half of the width, minus scrollbar on the left (30px) */
    margin-left: 512px;
}

#modal-tabela.modal.fade.in,
#modal-novo.modal.fade.in,
#modal-retorno.modal.fade.in,
#modal-kits.modal.fade.in{
    top: 40%;
    height: 650px;
}

#modal-kits.modal.fade.in {
    height: 658px;
}

.modal-body {
	/*
    max-height: initial;
	*/
}

#modal-tabela .modal-body,
#modal-novo .modal-body {
    padding: 0;
}

#grid_pedido {
    width: 100%;
    height: 295px;
    overflow: hidden;
    outline: 0px;
    position: relative;
}

.amarelo {
    background-color: yellow;
}

/*
 * Bootstrap Grid System without space
 *
 * Overwrite Bootstrap grid system, removing margin
 * Usage :
 * Simple add no-space class with row-fluid
 * <ul class="row-fluid no-space"> ... </ul>
 */
.row-fluid.no-space [class*="span"] {
    margin-left: 0%;
    *margin-left: -0.06944%;
}

.row-fluid.no-space [class*="span"]:first-child {
    margin-left: 0;
}

.row-fluid.no-space .controls-row [class*="span"] + [class*="span"] {
    margin-left: 0%;
}

.row-fluid.no-space .span12 {
    width: 99.99999999999999%;
    *width: 99.93055555555554%;
}

.row-fluid.no-space .span11 {
    width: 91.66666666666666%;
    *width: 91.59722222222221%;
}

.row-fluid.no-space .span10 {
    width: 83.33333333333331%;
    *width: 83.26388888888887%;
}

.row-fluid.no-space .span9 {
    width: 74.99999999999999%;
    *width: 74.93055555555554%;
}

.row-fluid.no-space .span8 {
    width: 66.66666666666666%;
    *width: 66.59722222222221%;
}

.row-fluid.no-space .span7 {
    width: 58.33333333333333%;
    *width: 58.263888888888886%;
}

.row-fluid.no-space .span6 {
    width: 49.99999999999999%;
    *width: 49.93055555555555%;
}

.row-fluid.no-space .span5 {
    width: 41.66666666666666%;
    *width: 41.597222222222214%;
}

.row-fluid.no-space .span4 {
    width: 33.33333333333333%;
    *width: 33.263888888888886%;
}

.row-fluid.no-space .span3 {
    width: 24.999999999999996%;
    *width: 24.930555555555554%;
}

.row-fluid.no-space .span2 {
    width: 16.666666666666664%;
    *width: 16.59722222222222%;
}

.row-fluid.no-space .span1 {
    width: 8.333333333333332%;
    *width: 8.263888888888888%;
}

.row-fluid.no-space .offset12 {
    margin-left: 99.99999999999999%;
    *margin-left: 99.8611111111111%;
}

.row-fluid.no-space .offset12:first-child {
    margin-left: 99.99999999999999%;
    *margin-left: 99.8611111111111%;
}

.row-fluid.no-space .offset11 {
    margin-left: 91.66666666666666%;
    *margin-left: 91.52777777777777%;
}

.row-fluid.no-space .offset11:first-child {
    margin-left: 91.66666666666666%;
    *margin-left: 91.52777777777777%;
}

.row-fluid.no-space .offset10 {
    margin-left: 83.33333333333331%;
    *margin-left: 83.19444444444443%;
}

.row-fluid.no-space .offset10:first-child {
    margin-left: 83.33333333333331%;
    *margin-left: 83.19444444444443%;
}

.row-fluid.no-space .offset9 {
    margin-left: 74.99999999999999%;
    *margin-left: 74.8611111111111%;
}

.row-fluid.no-space .offset9:first-child {
    margin-left: 74.99999999999999%;
    *margin-left: 74.8611111111111%;
}

.row-fluid.no-space .offset8 {
    margin-left: 66.66666666666666%;
    *margin-left: 66.52777777777777%;
}

.row-fluid.no-space .offset8:first-child {
    margin-left: 66.66666666666666%;
    *margin-left: 66.52777777777777%;
}

.row-fluid.no-space .offset7 {
    margin-left: 58.33333333333333%;
    *margin-left: 58.19444444444444%;
}

.row-fluid.no-space .offset7:first-child {
    margin-left: 58.33333333333333%;
    *margin-left: 58.19444444444444%;
}

.row-fluid.no-space .offset6 {
    margin-left: 49.99999999999999%;
    *margin-left: 49.86111111111111%;
}

.row-fluid.no-space .offset6:first-child {
    margin-left: 49.99999999999999%;
    *margin-left: 49.86111111111111%;
}

.row-fluid.no-space .offset5 {
    margin-left: 41.66666666666666%;
    *margin-left: 41.52777777777777%;
}

.row-fluid.no-space .offset5:first-child {
    margin-left: 41.66666666666666%;
    *margin-left: 41.52777777777777%;
}

.row-fluid.no-space .offset4 {
    margin-left: 33.33333333333333%;
    *margin-left: 33.19444444444444%;
}

.row-fluid.no-space .offset4:first-child {
    margin-left: 33.33333333333333%;
    *margin-left: 33.19444444444444%;
}

.row-fluid.no-space .offset3 {
    margin-left: 24.999999999999996%;
    *margin-left: 24.86111111111111%;
}

.row-fluid.no-space .offset3:first-child {
    margin-left: 24.999999999999996%;
    *margin-left: 24.86111111111111%;
}

.row-fluid.no-space .offset2 {
    margin-left: 16.666666666666664%;
    *margin-left: 16.52777777777778%;
}

.row-fluid.no-space .offset2:first-child {
    margin-left: 16.666666666666664%;
    *margin-left: 16.52777777777778%;
}

.row-fluid.no-space .offset1 {
    margin-left: 8.333333333333332%;
    *margin-left: 8.194444444444443%;
}

.row-fluid.no-space .offset1:first-child {
    margin-left: 8.333333333333332%;
    *margin-left: 8.194444444444443%;
}

body.promo.nao-logado .bg-topo {
    background-color: #d7e0e7;
}

/*TOPO*/
body.promo .topo {
    /*background-color: #fff;*/
    height: 119px;
    /*padding-bottom: 10px;*/
}

body.promo .topo .imagens {
    float: left;
    width: 65%
}

body.promo .topo > div {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    height: 119px;
    max-height: 119px;
    overflow: hidden;
}

body.promo .topo .logo {
    visibility: hidden;
    height: 1px;
    overflow: hidden;
}

body.promo .login-form form {
    margin: 0;
}

body.promo .login-form .input {
    height: 30px;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

body.promo .container {
    max-width: 1024px;
}

body.promo {
    padding-top: 0;
}

.portal #grid_produto {
    height: 450px;
}

body.promo table tr.spacer:last-child td:first-child {
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-left-radius: 10px;
    border-bottom-left-radius: 10px
}

body.promo table tr.spacer:last-child td:last-child {
    -moz-border-radius-bottomright: 10px;
    -webkit-border-bottom-right-radius: 10px;
    border-bottom-right-radius: 10px
}

.close {
    opacity: 1 !important;
    text-shadow: none !important;
    color: inherit;
}

.close:hover {
    color: inherit;
}

/*#modal-prazo,*/
/*#modal-filial,*/
#fat-modal
,#modal-cliente
{
    width: 800px;
    margin: -300px 0 0 -400px;
}

#modal-prazo .modal-body,
#modal-filial .modal-body,
#fat-modal .modal-body,
#modal-cliente .modal-body {
    max-height: 450px;

}

.navbar-inner.btn-sample li a[disabled] {
    opacity: .3;
}




/* ADM */

body.adm #content {
    min-height: 435px;
    padding: 0 20px 40px 20px;
    margin-bottom: 18px;
    background-color: #f9f9f9;
}
body.adm .portal-navbar.navbar {
    margin-bottom: 0;
    position: relative;
}

.portal-navbar.navbar .nav > li > a,
.portal-navbar.navbar .nav > li,
.portal-navbar.navbar .nav {
    background-image:inherit;
}

.portal-navbar.navbar .nav > li > a:hover {
    background-position: 0 -15px;
    background-repeat: repeat-x;
    -webkit-transition: background-position .1s linear;-moz-transition: background-position .1s linear;-ms-transition: background-position .1s linear;-o-transition: background-position .1s linear;transition: background-position .1s linear;
}

body.adm table {
    font-size: 12px;
}

body.adm .align-center {
    text-align: center !important;
}

body.adm .align-right {
    text-align: right !important;
}

body.adm .modal-body{
    max-height: 450px;
}

body.adm hr{
    margin-bottom: 0;
}

body.adm .red *{
    color: red !important;
}

/* Slick Grid Editor */
.editor-integer {
    text-align: right;
}

#bannertopo {
    overflow: hidden;
}


ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

.mobile #cliente-container td,
.mobile #prazo-container td {
    padding: 20px;
}

a.fancybox-ajax {
    text-decoration: underline;
    font-weight: bold;
    color: #0088cc !important;
}


.popover {
    padding: 0;
    box-shadow: 4px 4px 8px 0px rgba(0,0,0,0.5);
}

.popover .arrow {
    display: none;
}

.popover-title {
    font-size: 1.1em;
    padding: 4px 8px;
}

.popover-content {
    /* width: 520px; */
    padding: 8px;
}

.popover-content .table {
    margin-bottom: 0;
}

.popover-content td {
    font-size: 1.1em !important;
}

.duas-linhas {
    font-size: 10px;
    line-height: 8px;
    text-align: right;
}