/* JR - Cores ícone  de ajuda no formulário */
[class^="tip-help"],
[class*=" tip-help"] {
    color: #0d638f;
    vertical-align: -1px;
}

/* JR - form - Form stripped without form-bordered */
form .control-group {
    padding: 9px 0;
    margin: 0 !important;
}

form.form-striped .control-group:nth-child(odd) {
    background-color: #f9f9f9;
}

form.form-stripped .control-group:nth-child(even) {
    background-color: #ffffff;
}

form.form-bordered .control-group:nth-child(odd) {
    border-bottom: 1px solid #eee !important;
}

/* JR - form - end */

/* JR -  Logotipo - Menu lateral */
.page-sidebar div.logo {
    text-align: center;
    width: 90%;
    margin: 15px auto;
}

/* FRP - Correção ícone pesquisa */
.page-sidebar .sidebar-search i {
    color: #eee;
}

/* JR -  Barra de ações - Menu interno */
.well.well-mini {
    padding: 7px;
    margin-bottom: 5px;
}

/* JR - Toggle sidebar */
.sidebar-toggler {
    background-image: none;
    text-align: center;
    line-height: 29px;
    vertical-align: middle;
    height: 29px;
}

/* JR - Divisor Menu Dropdown */
.dropdown-menu .divider {
    height: 1px;
    margin: 0;
    overflow: hidden;
    background-color: #e5e5e5;
    border-bottom: none;
}

/* JR - cabecalho - Cabecalho dos modulos */
div.cabecalho {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 5px;
}

div.cabecalho .page-title {
    margin: 20px 0px 5px 0px;
}

/* JR - cabecalho - end */

/* FRP - Alinhamento ícone Menu Rápido no menu lateral */
.page-sidebar .fa.fa-bolt {
    margin-left: 4px
}

/* JR - buttons - Coloração Bootstrap */
/* - danger */
.btn-danger {
    color: white;
    text-shadow: none;
    background-color: #d84a38;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
    background-color: #bb2413 !important;
    color: #fff !important;
}

/* - primary */
.btn-primary {
    color: white;
    text-shadow: none;
    background-color: #4d90fe;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary[disabled], .btn-primary.disabled {
    background-color: #0362fd !important;
    color: #fff !important;
}

/* - info */
.btn-info {
    color: white;
    text-shadow: none;
    background-color: #49afcd;
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .btn-info[disabled], .btn-info.disabled {
    background-color: #2f96b4 !important;
    color: #fff !important;
}

/* - inverse */
.btn-inverse {
    color: white;
    text-shadow: none;
    background-color: #555555;
}

.btn-inverse:hover, .btn-inverse:focus, .btn-inverse:active, .btn-inverse.active, .btn-inverse[disabled], .btn-inverse.disabled {
    background-color: #222222 !important;
    color: #fff !important;
}

/* - success */
.btn-success {
    color: white;
    text-shadow: none;
    background-color: #35aa47;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .btn-success[disabled], .btn-success.disabled {
    background-color: #1d943b !important;
    color: #fff !important;
}

/* - warning */
.btn-warning {
    color: white;
    text-shadow: none;
    background-color: #faa732;
}

.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .btn-warning[disabled], .btn-warning.disabled {
    background-color: #f89406 !important;
    color: #fff !important;
}

/* - link */
.btn-link {
    color: #0088cc;
    text-shadow: none;
    background-color: #ffffff;
}

.btn-link:hover, .btn-link:focus, .btn-link:active, .btn-link.active, .btn-link[disabled], .btn-link.disabled {
    background-color: #ffffff !important;
    color: #0088cc !important;
}

/* JR - buttons */

/* JR - close  - Sem imagem */
.close {
    background-image: none !important;
}

/* JR - datatables - Head menor */
.dataTables_wrapper .row-fluid {
    height: 20px;
}

/* JR - datatables - Processando */
.dataTables_processing {
    text-align: center;
}

/* JR - btn-small */
.btn-small {
    padding: 2px 10px;
}

/* FRP - Tables */
table thead, table tfoot {
    background-color: #f0f0f0;
}

/* JR - table-rows */
.table th, .table td {
    padding: 4px;
}

/* JR - alert */
.alert {
    margin-bottom: 5px;
}

/* JR - alert.legenda */
.alert.legenda {
    padding: 5px;
    font-size: .9em;
}

/* JR - h1,h2,h3,h4,h5,h6 - Underline */
h1.underline,
h2.underline,
h3.underline,
h4.underline,
h5.underline,
h6.underline {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 5px;
}

/* JR - h1,h2,h3,h4,h5,h6 - Underline - end */

/* JR - h1,h2,h3,h4,h5,h6 - Overline */
h1.overline,
h2.overline,
h3.overline,
h4.overline,
h5.overline,
h6.overline {
    border-top: 1px solid #e5e5e5;
    margin-top: 5px;
}

/* JR - h1,h2,h3,h4,h5,h6 - Overline - end */

/* JR - outline */
* {
    outline: none;
}

/* FRP - Form dentro da modal */
.modal form {
    margin: 0px;
}

/* FRP - Botão close do modal */
.modal .close {
    width: auto !important;
    height: auto !important;
}

/* JR - label */
label {
    font-size: .9em;
}

/* FRP - ajuste cabeçalho */
.header .dropdown-menu.extended li:last-child a {
    border: none !important;
}

.header .nav > li.dropdown {
    padding-left: 0px;
    padding-right: 0px;
}

.header .nav > li.dropdown.user {
    line-height: 29px;
}

.header .nav > li.dropdown.user .fa.fa-angle-down {
    vertical-align: -1px;
    margin: 0px 2px !important;
}

/* FRP - ajuste cabeçalho - end */

/* FRP - Estilização de tables para formulário de permissões */
.form-permissao table thead tr th:not(:first-child) {
    border-left: none
}

.form-permissao table tbody tr td:nth-child(even) {
    border-left: none
}

.form-permissao label {
    margin-top: 7px;
    font-weight: bold;
    text-align: right;
}

/* FRP - Estilização de tables para formulário de permissões - end */

/* FRP - Grupo de botões (alinhado com o titulo e abaixo do titulo) */
.db-btn-group {
    float: right;
    display: block;
    margin-top: -42px;
}

.db-btn-group-bottom {
    float: left;
    width: 100%;
    margin: 0 0 5px;
    display: block;
}

/* FRP - Grupo de botões (alinhado com o titulo e abaixo do titulo) - end */

/* FRP - Remove o underline dos botões do IntroJS */
.introjs-tooltip a {
    text-decoration: none;
}

/* FRP - Nestable, botão de excluir */
.nestable .dd-item .remover {
    float: right;
    font-size: 1.2em;
}

.nestable .dd-item .remover:hover {
    font-weight: bold;
    cursor: pointer;
}

.dd-dragel .remover {
    display: none
}

/* FRP - Nestable, botão de excluir - end */

/* FRP - Ajuste do responsivo */
@media (max-width: 480px) {
    .header .nav {
        margin-top: -1px !important;
    }

    .header .nav > li:not(.dropdown) {
        margin-top: 3px;
        line-height: 22px;
    }

    .header .nav > li.dropdown.user {
        margin-right: -12px;
    }

    .modal-header .close {
        margin-top: -5px !important;
    }
}

/* FRP - Ajuste do responsivo - end */

/* FRP - Ajuste do redactor em fullscreen */
.redactor_box_fullscreen .redactor_toolbar {
    margin-top: 40px !important;
}

/* FRP - Input add-on */
.control-group .controls .add-on {
    display: inline-block;
    width: auto;
    min-width: 18px;
    height: 28px;
    line-height: 24px;
    padding: 0px 5px 0px;
    font-size: 13px;
    font-weight: normal;
    text-align: center;
    text-shadow: 0 1px 0 #ffffff;
    background-color: #e5e5e5;
    border: 1px solid #e5e5e5;
}

.control-group .controls .add-on :first-child {
    vertical-align: -2px;
}

.input-append.color .add-on :first-child {
    margin-top: 5px;
}

/* FRP - Input add-on */

/* FRP - Tabs */
.tabbable-custom .nav-tabs > li.active {
    border-top: 3px solid #28b779;
}

.tabs-left.tabbable-custom .nav-tabs > li.active {
    border-left: 3px solid #28b779;
}

.tabs-right.tabbable-custom .nav-tabs > li.active {
    border-right: 3px solid #28b779;
}

.tabs-left .form-actions, .tabs-right .form-actions {
    margin: 10px -10px -10px;
}

/* FRP - Tabs */

/* FRP - Alinhamento de icones quando estão dentro de <li> */
#ajuda .ver-inline-menu li.active:after {
    border-left: 6px solid #f0f0f0;
}

#ajuda .ver-inline-menu li.active a {
    background-color: #f0f0f0 !important;
    border-color: #454545 !important;
}

#ajuda .ver-inline-menu li.active i {
    background-color: #454545 !important;
    border-color: #454545 !important;
    color: #e5e5e5 !important;
}

#ajuda .ver-inline-menu li a {
    color: #545454;
    background: #f9f9f9;
    border-color: #e5e5e5;
}

#ajuda .ver-inline-menu li i {
    color: #454545;
    background-color: #e5e5e5 !important;
    display: inline-block;
    width: 1.25em;
    text-align: center;
}

#ajuda .tab-pane {
    border: 1px solid #e5e5e5;
    color: #545454;
    background-color: #f9f9f9;
}

#ajuda .tab-pane .page-title {
    padding: 0 5px 2px !important;
    margin: 0px !important;
    font-size: 25px;
    letter-spacing: -1px;
    display: block;
    color: #454545;
    font-weight: 300;
    font-family: 'Open Sans';
    border-bottom: 1px solid #e5e5e5;
    background-color: #f0f0f0;
}

#ajuda .tab-pane .page-title i {
    margin-left: 10px
}

#ajuda .tab-pane .page-title small {
    font-size: 12px;
    letter-spacing: 0px;
    font-weight: 300;
    color: #656565;
}

#ajuda .tab-pane .modulo-ajuda {
    margin: 15px 25px 0px;
    padding-bottom: 5px;
}

/* FRP - Estilização da ajuda - end */

/* FRP - Sair */
.sair {
    background-color: #d84a38 !important;
    color: #fff !important;
}

.sair:hover {
    background-color: #bb2413 !important;
}

.sair .fa.fa-sign-out, .sair .title {
    color: #fff !important;
}

/* FRP - Sair - end*/

/* FRP - Html5 Search */
#box-html5search .fa.fa-search {
    padding: 0 17px 0 8px;
    vertical-align: -2px;
}

#box-html5search #search {
    width: 399px;
    margin-bottom: 0px;
}

#box-html5search #result button {
    width: 44px;
    margin: 3px 3px 0 0;
}

#box-html5search #stats {
    display: none;
    margin-top: 5px;
    padding-top: 2px;
    border-top: 1px solid #eee;
}

/* FRP - Html5 Search - end */

/* FRP - Bug Select2 nas modais */
.modal .select2 {
    margin: 0px !important;
}

/* FRP - Bug Select2 nas modais - end */

/* Corrige forms dentro de editable */
.editableform .control-group {
    background-color: #fff !important;
}

/* Corrige forms dentro de editable - end */

/* FRP - Arruma o form para visualização */
form .controls.texto {
    margin-top: 7px;
}

form .controls img {
    max-width: 200px;
    max-height: 200px;
}

/* FRP - Arruma o form para visualização - end */

/* JR - Select2 dentro de um tfoot */
table tfoot tr th .select2-container {
    width: 100%;
}

/* JR - Select2 dentro de um tfoot - end */

/* FRP - Cores dentro de warnings */
.alert a {
    font-weight: 600;
}

.alert.alert-danger a {
    color: #b94a48;
}

.alert.alert-warning a {
    color: #c09853;
}

.alert.alert-info a {
    color: #3a87ad;
}

.alert.alert-success a {
    color: #468847;
}

/* FRP - Cores dentro de warnings - end */

/* JR - Label - Forms */
form label {
    font-weight: bold;
}

/* JR - Icons -zoom */
.fa.fa--1x {
    font-size: .75em;
}

.fa.fa--2x {
    font-size: .5em;
}

.fa.fa--3x {
    font-size: .3em;
}

/* Input Append */
.controls.input-append {
    margin-left: 20px;
}

/* FRP - Altura dropdown */
.select2-container .select2-choice {
    height: 28px !important;
}

/* FRP - BR Clear */
br.clear {
    clear: both;
}

/* FRP - Portlet Silver */
.db-portlet.silver {
    border: 1px solid #eee;
}

.db-portlet.silver > .portlet-title {
    padding: 0px 10px;
    line-height: 40px;
    background: #EFEFEF;
    border-bottom: 1px solid #eee;
    color: #333 !important;
    font-size: 22px;
}

.db-portlet.silver > .portlet-title > a,
.db-portlet.silver > .portlet-title > button {
    float: right;
    margin-top: 8px;
}

.db-portlet.silver .portlet-body .form-actions {
    margin: 20px -11px -31px;
}

.db-portlet.silver .portlet-body.no-padding .form-actions {
    margin: 20px 0px 0px;
}

/* Menu lateral */
#menu-lateral-admin .box-icone {
    float: left;
    width: 20px;
    text-align: center;
    margin-right: 5px;
}

#menu-lateral-admin > li > ul.sub-menu > li > a {
    padding-left: 30px !important;
}

.sidebar-closed > .page-sidebar > #menu-lateral-admin > li > a {
    height: 20px;
}

.sidebar-closed .page-sidebar .sidebar-search,
.sidebar-closed .page-sidebar .logo {
    display: none;
}

/* Paginação */
#dbadmin-paginacao {
    height: 32px;
    margin-top: 25px;
    padding: 15px;
    background: #F6F6F6;
    text-align: right;
}

#dbadmin-paginacao .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
}

#dbadmin-paginacao .pagination > li {
    display: inline;
}

#dbadmin-paginacao .pagination > li > a,
#dbadmin-paginacao .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #999;
    background-color: #FFF;
    border: 1px solid #E3E3E3;
    margin-left: -1px;
}

#dbadmin-paginacao .pagination > li > a:hover,
#dbadmin-paginacao .pagination > li > span:hover {
    color: #909090;
    background-color: #F8F8F8;
}

#dbadmin-paginacao .pagination > li > a i,
#dbadmin-paginacao .pagination > li > span i {
    font-size: 0.8em;
    vertical-align: text-top;
    margin-top: 5px;
}

#dbadmin-paginacao .pagination .active a {
    background: #28B779 !important;
    border: 1px solid #23A96F !important;
    color: #fff !important;
}

/* Botões ao lado de Select2 */
.select2-append {
    vertical-align: -6px;
    margin-left: 10px;
}

/* FRP - z-index modal por cima do menu no cabeçalho */
.modal-backdrop {
    z-index: 9997 !important;
}

.modal-scrollable {
    z-index: 9998 !important;
}

.datepicker,
.select2-drop {
    z-index: 9999 !important;
}

/* FRP - correção editable */
.editable-container.editable-popup .editable-buttons {
    margin-top: -2px;
}

/* FRP - correção bootstrap fileupload */
.fileupload.bootstrap-fileupload .fileupload-new.thumbnail {
    width: 100px;
    height: 75px;
    line-height: 75px;
    vertical-align: middle;
    margin-right: 5px;
}

.fileupload.bootstrap-fileupload .fileupload-new.thumbnail img {
    max-width: 100%;
}

.fileupload.bootstrap-fileupload .fileupload-preview.fileupload-exists {
    max-width: 100px;
    max-height: 75px;
    line-height: 20px;
    vertical-align: middle;
    margin-right: 5px;
    padding: 4px;
}

/* FRP - Correção do navbar ficando por cima dos backdrops */
.header.navbar-fixed-top {
    z-index: 1975 !important;
}

/* FRP - Ícones no datepicker */
.datepicker [class^="icon-"],
.bootstrap-timepicker [class^="icon-"] {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.datepicker .icon-angle-left:before {
    content: "\f104";
}

.datepicker .icon-angle-right:before {
    content: "\f105";
}

.bootstrap-timepicker .icon-chevron-up:before {
    content: "\f077";
}

.bootstrap-timepicker .icon-chevron-down:before {
    content: "\f078";
}

.btn-remessa-active {
    background-color: #cb000d !important;
}
