.content-wrapper>.content {
    padding-top: 2em;
    padding-bottom: 2em;
}
.custom-file-input {
    cursor: pointer;
}
.custom-file-label::after {
    content: "Subir";
}

/** LOGO  **/
.brand-link {
    display: inline-block;
    width: 100%;
}

.brand-link img {
    float: none;
}
.brand-image{
    max-height: 49.3px;
}

    /**ASIDE  MENU LEFT **/

/* active parent  navigation item  and active  sub navigation  item */
.nav-treeview>.nav-item>.nav-link.active, .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active {
    background:#E09B28!important;
    color:black!important;
}

/*Parent Navigation with sub  item active*/
.nav-item.has-treeview.menu-open>.nav-link.active {
    background: #505056!important;
    color:white!important;
}

.sidebar .nav-link p {
    font-size:18px;

}

body:not(.sidebar-collapse) .sidebar .nav-item a{
    text-overflow: ellipsis;
}

.nav-sidebar .nav-treeview{
    padding-left: 15px;
}

/**ASIDE  MENU RIGHT HELP **/

aside.help:before {
    background-color: #c2c7d0;
}

aside.help a{
    color: #373c43;
}

aside.help a:hover{
    color: #373c43;
}

aside.help .nav-pills .nav-link:not(.active):hover {
    color: #373c43;
}

/* active parent  navigation item  and active  sub navigation  item */
aside.help .nav-pills .nav-link.active, aside.help .nav-pills .show>.nav-link {
    background:#E09B28!important;
    color:black!important;
}




/*Login*/
.login-content{
    background-color: #403f3f;
}

.row.login-error{
    color: #fffcf0;
    margin-top: 2em;
    text-align: left;
}
label.login-logo{
    margin-bottom: 2em;
    background-color: transparent;
    width:360px;
}

.login-logo img{
    background: transparent;
}

.login-content input.btn-erp{
    background-color: #df9c41;
}
.login-content input.btn-erp:hover, .login-content .btn-primary:not(:disabled):not(.disabled):active{
    background-color: #df9c41;
    color: black;
    -webkit-box-shadow: 11px 15px 219px -9px rgba(223,156,65,1);
    -moz-box-shadow: 11px 15px 219px -9px rgba(223,156,65,1);
    box-shadow: 11px 15px 219px -9px rgba(223,156,65,1);
    border-color: #df9c41;
}
/*Archivos form styles*/
.buttons_row{
   display: inline-block;
}

.form-control div button{
    width: 80px;
    margin-right: 6px;
}

/* MODAL */

.fa-exclamation-triangle {
    color:red;
}
div.card-primary:not(.card-outline) .card-header.gold{
    background-color:#E09B28;
}
div.card-primary:not(.card-outline) .card-header.gold p{
    color: #000;
    font-size: 1em;
}
/*table modal*/
.modal-content td{
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    padding: 0.8em;
}

.modal-content .card-title{
    margin-bottom: 0;
}

.modal-content thead{
    border: solid;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-left: 0px;
    border-color: #E09B28;
}

.modal-content tbody tr.odd{
    background-color: #f5f5f5;
}
.modal-content tbody td.featured{
    background-color: #ffecce;
    font-weight: bold;
}
.modal-content .total{
    font-weight: bold;
}

/*Search form*/
.search_form input.form-control{
    width: 100%;
}
.form-inline.search_form label{
    justify-content: left;
    font-weight:100;
}
.action-box{
    padding-top: 1.46rem;
}

/* Datables */
table.dataTable > tbody > tr.selected, table.dataTable > tbody > tr:hover{
    background-color: #fff8e3;
}

table.table-bordered.dataTable td  {
    font-size: 14px;
    line-height: 19px;
}
table.table-bordered.dataTable th {
   font-size: 12px;
    vertical-align: middle;
    line-height: 16px;
    border-bottom: 1px;
    border-top: 1px;
}

td.actions {
    display: table-cell;
    text-align: -moz-center;
}

td.actions .act_box{
    display: inline-block;
    width: 320px;
}

td.actions a {
   margin-right: 8px ;
   margin-bottom: 8px;
}

.card-header > h3{
    display: inline;
}
.toggle_actions{
    display: inline-block;
}
.toggle_actions_closed{
    display: none;
}

/* SORT ARROWS */
table.dataTable thead th.sorting:before,table.dataTable thead th.sorting:after,table.dataTable thead th.sorting_asc:before,table.dataTable thead th.sorting_asc:after,table.dataTable thead th.sorting_desc:before,table.dataTable thead th.sorting_desc:after,table.dataTable thead th.sorting_asc_disabled:before,table.dataTable thead th.sorting_asc_disabled:after,table.dataTable thead th.sorting_desc_disabled:before,table.dataTable thead th.sorting_desc_disabled:after
{
    bottom:1.9em;
}

.table-bordered td {
    border: 0!important;
}
.table td, .table th{
    vertical-align: middle!important;
}

/*DataTable Pagination*/
a.page-link, a.page-link:hover {
    color: #c69500;
}

/* Estilos cabeceras con search de fechas (responsive) */

.search-by-date {
    margin-left:25px;
}
.search-by-date .input {width:220px;}
.input {margin-right:20px;}

@media screen and (max-width:780px ) {
    .search-by-date .input {width:160px}
}
@media screen and (max-width:630px ) {
    .search-by-date .input {width:180px}
    .search-by-date .form-inline {display:flex;flex-flow:column;height:160px;}
    .new-object {padding-top:0px !important;position:relative;top:23px;}
    .input {margin-bottom:20px;}
    .search-by-date .action-box {position:relative;top :-81px;left:120px;}
}
@media screen and (max-width:602px ) {
    .search-by-date .input {width:180px}
    .search-by-date .form-inline {display:flex;flex-flow:column;height:180px;}
    .new-object {padding-top:0px !important;position:relative;top:33px;}
    .input {margin-bottom:20px;}
    .search-by-date .action-box {position:relative;top :-81px;left:120px;}
}
@media screen and (max-width:460px ) {
    .search-by-date .input {width:180px}
    .search-by-date .form-inline {display:flex;flex-flow:column;height:240px;}
    .new-object {padding-top:0px !important;position:relative;top:33px;}
    .input {margin-bottom:20px;}
    .search-by-date .action-box {position : relative; top: -20px; left: -81px;}
}
@media screen and (max-width:378px) {
    .d-flex {
        flex-flow: column;
        justify-content: space-between;
    }

    .new-object {
        position: relative;
        top: 0px;
    }

    .search-by-date .form-inline {
        float: left;
    }
    .search-by-date {margin-left:0px;height:180px;}
    .search-by-date .action-box {position:relative;top :-81px;left:120px;}
}

/* Buttons */
.btn.btn-erp {
    border-color:#E09B28 ;
    color: #000;
    background: transparent;
}

.btn-erp:hover {
    background:#E09B28;
}

.btn.style-button-delete  {
    border-color: #dc3545;
    color: #000;
}
.style-button-delete:hover {
    background:#dc3545;
}
button.btn-primary, button.btn-primary:hover, button.btn-primary:not(:disabled):not(.disabled):active , button.btn-primary:focus{
    background-color: #df9c41;
    color: #fff;
    border-color: #df9c41 ;
}

.btn.btn-primary:focus,.btn.btn-primary:active{
    box-shadow: 0 0 0 0.2rem rgba(255, 150, 16, 0.5)!important;
}

/* ERP nav */
.nav-erp a.nav-link {
    color: #fff;
}
.nav-erp a.nav-link:not(.active):hover {
    color: #fff;
    border: solid 1px #E09B28;
    padding: 7px 13px;
    margin: 0px 2px;
}
.nav-erp a.nav-link.active {
    background-color: #E09B28;
    color: #fff;
}

/*Override Bootstrap pagination styles*/
li.page-item.active .page-link {
    color: #000;
    background-color: #E09B28;
    border-color: #E09B28;
}


div.card-header, div.card-primary:not(.card-outline) .card-header {
    background:#343a40;
    color:white;
    padding-top:20px;
    border-radius: 0;

}

div.card.col-12 {
    padding:0px;
}

/*FORCE MODAL Z-INDEX  (avoid menu overlay on modal in small viewports)*/
div.modal {
    z-index:9999
}


/* BARRA DE PROGRESO */

.table tr>td .progress{
    height:25px;
    background-color:#d0d0d0d0;
}

.progress-group {
    margin-bottom: 0 !important;
}

.ml--5 {
    margin-left: -3rem;
}

.progress-bar b{
    padding-left: 8px;
}

/* TAB CONTENT */
.card .card-body{
    line-height: 2em;
    padding-top: 3em;
}

.card .card-body ul > li {
    font-weight: normal;
    color: black;
}
.card .card-body ul > li.title {
    font-weight: bold;
}

/* HELP  */
.fa-question-circle-o.medium{
    font-size: 1.4em;
    color: #716e6e;
}

.user-panel .image {
    padding-top: 5px;
}