/**
 * TODO: Adicionar fontes localmente
 */

 .novo-lightbox select {
    width: 75% !important;
    display: inline-block;
    margin-right: 5px;
    height: 34px;
 }

.novo-lightbox a {
    margin-top: -4px;
    padding: 5px 8px !important;
}

body {
    background-color: #fff;
    font-family: 'Titillium Web', sans-serif;
    -webkit-print-color-adjust:exact;
}

#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

.navbar-static-top {
    background: #0a5388;
    margin-bottom: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search {
    padding: 15px;
}

.sidebar ul li.sidebar-separator div {
    padding-top: 10px;
    margin: 0 20px 10px;
    border-bottom: 1px solid #d7d7d7;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level {
    background: #ffffff;
    border-bottom: 1px solid #E8E8E8;
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
    font-size: 13px;
    font-weight: 500;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

.btn {
    font-weight: 700;
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

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

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .panel-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

@media(min-width:992px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 220px;
        padding: 0 30px 100px;
        border-left: 1px solid #e7e7e7;
    }

    .sidebar {
        z-index: 1;
        position: absolute;
        width: 220px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

/*----------------------------- CUSTOM CSS -----------------------------*/

.navbar-brand {
    padding-top: 9px;
}

.navbar-top-links>li>a {
    color: #ffffff;
}

.navbar-top-links>li>a:hover,
.navbar-top-links>li>a:focus,
.navbar-top-links .open>a,
.navbar-top-links .open>a:hover,
.navbar-top-links .open>a:focus {
    background-color: #888888;
}

.control-label,
.checkbox label {
    color: #666;
}

.control-label {
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 17px;
}

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

.form-control {
    height: auto;
    border-radius: 2px;
}

/*.form-control:focus {
    border-color: #FFA0A0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 5px rgba(255, 160, 160, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 5px rgba(255, 160, 160, 0.6);
}

select.form-control {
    background-image: -webkit-linear-gradient(top,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0));
    background-image: linear-gradient(top,transparent,transparent);
    box-shadow: none;
    outline: none;
    cursor: pointer;
}

select.form-control:hover,
select.form-control:focus {
    background-image: -webkit-linear-gradient(top,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0));
    background-image: linear-gradient(top,transparent,transparent);
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-color: #B8B8B8;
}*/

.radio, .checkbox {
    margin-top: 5px;
}

.help-block {
    margin: 3px 2px;
    line-height: 1.2em;
}

form hr {
    margin-top: 15px;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
input[type=file]:focus,
input[type=radio]:focus,
input[type=checkbox]:focus {
    outline-color: #FFA0A0;
}

.btn-primary {
    color: #0059B2;
    border-color: #CCC;
    background: #ffffff;
    background: -moz-linear-gradient(top,  #ffffff 94%, #0059b2 98%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(94%,#ffffff), color-stop(98%,#0059b2));
    background: -webkit-linear-gradient(top,  #ffffff 94%,#0059b2 98%);
    background: -o-linear-gradient(top,  #ffffff 94%,#0059b2 98%);
    background: -ms-linear-gradient(top,  #ffffff 94%,#0059b2 98%);
    background: linear-gradient(to bottom,  #ffffff 94%,#0059b2 98%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#0059b2',GradientType=0 );
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    background-image: none;
    background-color: #0059b2;
    border-color: #CCC;
}

.btn-default {
    border-color: #eee;
}

.btn-success {
    color: #FFF;
    border-color: transparent;
    border-radius: 0;
    /*border-color: #CCC;*/
    background: #0A5388;
    text-transform: uppercase;
    padding: 8px 20px;
    /*background: -moz-linear-gradient(top,  #ffffff 94%, #006600 98%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(94%,#ffffff), color-stop(98%,#006600));
    background: -webkit-linear-gradient(top,  #ffffff 94%,#006600 98%);
    background: -o-linear-gradient(top,  #ffffff 94%,#006600 98%);
    background: -ms-linear-gradient(top,  #ffffff 94%,#006600 98%);
    background: linear-gradient(to bottom,  #ffffff 94%,#006600 98%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#006600',GradientType=0 );
*/}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active {
    background-image: none;
    background-color: #0A5388;
    color: #fff;
    /*border-color: #CCC;*/
}

.input-group-btn>.btn {
    padding: 6.7px 10px;
}

.input-group-addon {
    color: #777;
}

#main-sidebar .nav>li.active {
    text-decoration: none;
    background-color: #DDD;
}

#main-sidebar .nav>li>a {
    color: #595959;
    outline: none;
}

#main-sidebar .nav>li>a>i {
    margin-right: 5px;
    font-size: 16px;
}

.page-header {
    color: #636363;
    font-size: 25px;
    margin-top: 20px;
}

.page-header i {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.page-header-buttons {
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
    margin-top: -2px;
}

.page-header-buttons .btn {
    padding: 4px 25px;
    font-size: 13px;
}

.panel-default {
    border-radius: 0;
}

.panel-default .panel-heading {
    background: #EEE;
    color: #888;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    padding: 8px 12px;
}

.panel-danger .panel-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    padding: 8px 12px;
}

.panel-default .panel-body {
    max-width: 800px;
}

.panel-fullwidth .panel-body {
    max-width: none !important;
}

.panel-default .action-cancel {
    display: inline-block;
    line-height: 34px;
    vertical-align: middle;
}

.form-2-columns {
    margin: 0 330px 0 0;
}

.form-2-columns .form-body {
    float: left;
    width: 100%;
}

.form-2-columns .form-sidebar {
    float: right;
    width: 300px;
    margin-right: -330px;
}




/*----- LOGIN -----*/

.form-login {
    margin-top: 60px;
}

.form-login h2 {
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 20px;
}

/*.menu {
  list-style: none;
  border-bottom: 0.1em solid black;
  margin-bottom: 2em;
  padding: 0 0 0.5em;
}

.menu:before {
  content: "[";
}

.menu:after {
  content: "]";
}

.menu > li {
  display: inline;
}

.menu > li:before {
  content: "|";
  padding-right: 0.3em;
}

.menu > li:nth-child(1):before {
  content: "";
  padding: 0;
}*/




/*----- ENDEREÇO -----*/

.btn-buscacep {
    position: absolute;
    top: 25px;
    right: 0;
    z-index: 2;
    display: block;
    padding: 0;
    border: 0;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    color: #999;
    cursor: pointer;
}

.btn-buscacep:hover {
    color: #555;
}


/*----- BLOCKS -----*/

.panel-block {
    border-color: #E6E6E6;
    border-radius: 0;
}

.panel-block .panel-body {
    background: #F7F7F7;
    padding-top: 10px;
    padding-bottom: 10px;
}

.panel-block.empty-block .panel-body label {
    margin: 0;
}

.panel-block .btn-add,
.panel-block .btn-remove {
    font-size: 13px;
    text-decoration: none;
}

.panel-block .btn-add {
    display: none;
    margin-right: 8px;
}

.panel-block:last-child .btn-add {
    display: inline-block;
}

.panel-block:first-child .btn-remove {
    display: none;
}


/** TABELAS
====================================================*/
.table>thead>tr>th {
    border-top: 2px solid #DDD !important;
    background: #DDD;
    font-size: 15px;
}

.table .col-id {
    text-align: center;
    width: 70px;
}

.table .col-nome {
    width: 300px;
}

.table .col-cidade {
    width: 250px;
    white-space: nowrap;
}

.table .col-opcoes {
    width: 50px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
    white-space: nowrap;
}

.table .col-opcoes .btn {
    display: inline-block;
    vertical-align: top;
    padding: 3px 0;
    width: 28px;
    /*margin: 0 4px;*/
    opacity: 0.5;
}

.table tr:hover .col-opcoes .btn {
    opacity: 1.0;
}

.table .col-input {
    padding-top: 4px;
    padding-bottom: 4px;
}

.table .col-input .form-group {
    margin-bottom: 0;
}

.table .col-input .form-control {
    height: 28px;
}

.table .col-input .has-feedback .form-control-feedback {
    width: 28px;
    height: 28px;
    line-height: 28px;
}

.table-produtos>tbody>tr>td {
    border-top: 0;
}


/** LABELS
====================================================*/
.label-pessoa,
.label-produto {
    display: inline-block;
    vertical-align: top;
    margin-top: 1px;
    line-height: 18px;
    width: 18px;
    padding: 0;
    font-size: 12px;
    cursor: default;
}

.label-pessoa-fisica {
    background-color: #1D7186;
}

.label-pessoa-juridica {
    background-color: #CE5F42;
}

.label-produto {
    background-color: #CE8D42;
}

.label-servico {
    background-color: #2C8A69;
}

.label-shortcut {
    background-color: #888;
    letter-spacing: 1px;
    margin-left: 5px;
}


/** GROUPS
====================================================*/

.group-field .row {
    margin-bottom: 5px;
}

.group-field .btn-link:active {
    outline: 0;
}


/** DATEPICKER
====================================================*/
.input-datepicker .input-group-btn .btn {
    padding-top: 5px;
    padding-bottom: 5px;
}

.input-datepicker .dropdown-menu {
    padding: 10px;
}

.input-datepicker .dropdown-menu table {
    outline: 0 !important;
}

.input-datepicker table thead .btn.pull-left,
.input-datepicker table thead .btn.pull-right {
    border: 0;
}

.input-datepicker table thead .btn {
    margin-bottom: 5px;
}

.input-datepicker table tbody .btn {
    border: 0;
    padding: 4px 8px;
}


/** FILTROS
====================================================*/
.filters-container {
    margin-bottom: 10px;
}

.filters-container .input-group-label {
    font-weight: 700;
    font-size: 11px;
    padding-left: 8px;
    padding-right: 8px;
}

.filters-container .btn {
    padding: 5px 10px;
    border-radius: 3px;
}


/** MODAL
====================================================*/
.modal-backdrop {
    background: #FFF;
}

.modal-backdrop.in {
    filter: alpha(opacity=70);
    opacity: .7;
}

.modal-quick {
    top: 25%;
}

.modal-quick.fade .modal-dialog, .modal-quick.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
}


/** LOADING
================================ */
.loader-wrapper {
    display: block;
    background: #000;
    opacity: 0.6;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
}

.loader-content {
    display: table;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.loader-content > span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #FFFFFF;
}

/*********** IMPRIMIR MANUTENCAO **********/
@media print {
    @page {
        size: 240mm 169mm; /* landscape */
        /* you can also specify margins here: */
        /*margin: 2mm;*/
        /*margin-right: 45mm;*/ /* for compatibility with both A4 and Letter */
        /*size: 297mm 210mm;
        margin: 0;*/
    }

    .modal-imprimir {
        background-color: white;
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0;
        padding: 15px;
        font-size: 14px;
        line-height: 18px;

    }

    .print {
        /*transform: rotate(90deg);
        margin-top: 300px;*/
        page-break-after: always;
        margin: 0;
        overflow: hidden;
    }

    .hidden-print {
        visibility: hidden !important;
    }

    .show-print {
        visibility: visible !important;
    }

    /*body, html {
        width: 297mm;
        height: 210mm;
        border: 1px solid blue;
    }*/


}

.modal-imprimir .modal-body {
    max-height: 620px;
    overflow-y: scroll;
}

.print {
    position: relative;
    /*width: 1120px !important;
    height: 790px;*/
    width: 842px !important;
    height: 615px;
    /*border: 1px solid red;*/
}

.print > div {
    position: absolute;
    border: 1px solid #333333;
    padding: 10px;
}

.print h4 {
    font-size: 12px;
    margin: 0;
}

.print .rotate h4 {
    margin-top: -1px;
}

.print h3 {
    font-size: 16px;
    margin: 0;
}

.print .rotate {
    transform: rotate(-90deg);
    padding: 0;
    padding-left: 5px;
}

.print .rotate-pos {
    transform: rotate(90deg);
}

.print .informacoes {
    padding: 0 !important;
    padding-left: 1px !important;
    border: none !important;
    float: left;
}

.print .informacoes.first {
    margin-top: 178px;
}

.print .informacoes > div {
    float: left;
    border: 1px solid #333333;
    margin-left: -1px;
    height: 15px;
    margin-top: -1px;
}

.print .informacoes > div h4 {
    text-align: center;
    font-size: 10px !important;
    padding-top: 3px;
}

.print .legenda {
    top: 384px;
    width: 100%;
    padding: 0;
    border: none;
}

.print .legenda > div {
    float: left;
    border: 1px solid #333333;
    padding: 10px;
    min-height: 150px;
}

.print .legenda > div > div {
    float: left;
}

.print .legenda table {
    width: 100%;
}

.print .legenda td {
    font-size: 9px;
    margin: 0;
    border: 1px solid #333333;
    width: 50%;
    padding: 2px;
    text-transform: uppercase;
}

.print .legenda h5 {
    font-size: 9px;
    margin: 4px 0;
    text-transform: uppercase;
}

.print .lista-itens {
    top: 540px;
    width: 100%;
    border: none;
}

.print .lista-itens table {
    width: 100%;
}

.print .lista-itens table td {
    padding: 0 1px;
}

.print .lista-itens table td h4 {
    text-transform: uppercase;
    border-top: 1px solid #333333;
    padding-top: 5px;
    padding-right: 1px;
    text-align: center;
}

.print .assinatura {
    top: 580px;
    border: none;
    width: 100%;
}

.print .assinatura h4 b {
    text-transform: uppercase;
    text-align: center;
    width: 60%;
    display: block;
    border-top: 1px solid #333;
    padding-top: 5px;
    margin: 0 auto;
}

.table-pagamento td.hover {
    display: none;
}

.form-ensaio {
    border: none;
    max-height: 100%;
    padding: 0;
    font-size: 9px;
    text-align: center;
}

.show-print {
    visibility: hidden;
}

.print-comissao > div {
    position: relative;
    border: none;
}

.print-comissao .header {
    text-align: center;
}

.print-comissao .informacoes {
     float: left;
     padding: 0 10px !important;
    clear: both;
 }

.print-comissao .informacoes > div {
    border: none;
    text-align: center;
    margin-left: 0;
    height: auto;
    margin-top: 0;
}

.print-comissao .informacoes.first {
    margin-top: 0px;
}

.inside #main-sidebar, .inside nav {
    display: none;
}

.inside #page-wrapper {
    margin: 0;
    padding: 0 15px;
    border: none;
}

.inside .page-header {
    display: none;
}
.gigante .modal-dialog {
    height: 100%;
    width: 90%;
    padding-bottom: 30px;
}

.gigante .modal-content {
    height: 90%;
}

.gigante .modal-body {
    height: 85%;
}

.produto-typeahead ul {
    overflow-y: scroll;
    max-height: 300px;
}