.sidebar[data-color="orange"]:after,
.bootstrap-navbar[data-color="orange"]:after {
    background: #051e60 !important;
    background: -moz-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #051e60), color-stop(100%, 'white')) !important;
    background: -webkit-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -o-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -ms-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: linear-gradient(to bottom, #051e60 0%, 'white' 100%) !important;
    background-size: 150% 150%;
}

.full-page[data-color="orange"]:after {
    background: #051e60 !important;
    background: -moz-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #051e60), color-stop(100%, 'white')) !important;
    background: -webkit-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -o-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: -ms-linear-gradient(top, #051e60 0%, 'white' 100%) !important;
    background: linear-gradient(to bottom, #051e60 0%, 'white' 100%) !important;
    background-size: 150% 150%;
}

/* Login */
.full-page[data-color="ws-green"]::after {
    background: #051e60 !important;
    background: -moz-linear-gradient(top, #051e60 0%, #092e90 100%) !important;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #051e60), color-stop(100%, #092e90)) !important;
    background: -webkit-linear-gradient(top, #051e60 0%, #092e90 100%) !important;
    background: -o-linear-gradient(top, #051e60 0%, #092e90 100%) !important;
    background: -ms-linear-gradient(top, #051e60 0%, #092e90 100%) !important;
    background: linear-gradient(to bottom, #051e60 0%, #092e90 100%) !important;
    background-size: 150% 150% !important;
}
:disabled{
    cursor: not-allowed;
    opacity: 0.8;
}
.btn-minimizer{
    background: #051e60;
    border: 1px solid #051e60;
}
.btn-minimizer:hover{  background: #092e90;}
.btn-minimizer:active, .btn-minimizer:focus{ background: #092e90 !important; }
.sidebar .nav .nav-item .nav-link i { font-size: 1.4rem; }
.sidebar .sidebar-wrapper .nav .nav-link p { font-size: 0.75rem; } 
.sidebar .nav .nav-item .nav-link {padding: 6px 2px !important;}
.sidebar .nav .nav-item .nav-link .nav-item-title{margin-left: 15px;}
.sidebar-wrapper{
    background: url(/assets/images/bg-menu_blue2.png);
    background-size: 363px 890px;
}
.sidebar{background-image: linear-gradient(to top, #18664e 0%, #104233 100%);}
.sidebar .nav .nav-item .nav-link i {margin-right: 0px;}

/* SIDE MENU */
.sidebar .sidebar-wrapper .nav .nav-item [data-toggle="collapse"]~div .nav .nav-item:hover .nav-link,
.sidebar .sidebar-wrapper .nav .nav-item [data-toggle="collapse"]~div .nav .nav-item:focus .nav-link,
.sidebar .sidebar-wrapper .nav .nav-item [data-toggle="collapse"]~div .nav .nav-item.active .nav-link {
    background: initial;
}
.nav .nav-item .nav-link:hover,
.nav .nav-item .nav-link:focus,
.nav .nav-item.active .nav-link{
    background: rgba(255, 255, 255, 0.13) !important;
}

.nav-link{
    display: flex;
    align-items: center;
}
.nav-item-title{
    width: 100%;
}

.select2-container{
    width: 100% !important;
}

.nav-item-pos{
    display: flex;
    align-items: center;
    margin-left: 20px !important;
}
.btn-grid{ padding: 6px 12px; }


/* PRIMARY BUTTON */
.btn-primary-ws{
    background-color: #051e60 !important;
    border: 1px solid #051e60 !important;
    color: white !important;
    cursor: pointer;
}
.btn-primary-ws:hover, .btn-primary-ws:focus, .btn-primary-ws:active{background-color: #092e90 !important;}

.footer .copyright {float: initial;}

/* FILESTYLE */
.btn-file{
    width: 7rem !important;
    font-size: 0.75rem !important;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-file:before{
    content: '\f07c';
    font-family: 'FontAwesome'
}
.input-file{height: 2.5rem;}

/* BUTTON EXCEL */
.btn-import-excel{
    width: 7rem !important;
    font-size: 0.75rem !important;
    background-color: #051e60 !important;
    border: 1px solid #051e60 !important;
    color: white !important;
    cursor: pointer;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-import-excel:hover, .btn-import-excel:focus, .btn-import-excel:active{background-color: #092e90 !important;}

.form-import-excel .bootstrap-filestyle input{
    width: 0px !important;
    padding: 0px !important;
}

.form-import-excel .bootstrap-filestyle label.btn-import-excel{
    border-radius: 0.25rem !important;
}

/* PARSLEY */
.parsley-errors-list{
    list-style: none;
    padding-left: 3px;
    font-size: 0.8rem;
    color: #d85050;
    margin-bottom: 0.5rem;
}

/* DATA TABLES */
.pagination .page-item.active .page-link {
    background-color: #051e60;
    border: 0;
    color: #FFFFFF !important;
    padding: 7px 13px;
}
.table-general {border-spacing: 1px;}
.table-general thead{ background: #051e60; }
.table-general thead tr th{color: white;}
.table-general tbody tr td{font-size: 0.8rem;}
.table-general thead tr th{font-size: 0.7rem;}

.modal label{
    font-size: 0.75rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 400;
    color: #9A9A9A;    
}

/* ALERT MESSAGES */
.alert button.close {
    right: 35px !important;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.alert .msgs-container{
    display: flex;
    align-items: center;
}
.alert .msgs-container ul{
    margin-bottom: 0px;
    padding: 0px;
    padding-left: 20px;
}
.alert-success {
    background-color: #9ecf4e !important;
}
.alert-general{
    border-radius: 4px;
}

#facturas-table thead tr th:nth-child(1){width: 12% !important;}
#facturas-table thead tr th:nth-child(2){width: 12% !important;}
#facturas-table thead tr th:nth-child(3){width: 12% !important;}
#facturas-table thead tr th:nth-child(4){width: 49% !important;}
#facturas-table thead tr th:nth-child(5){width: 15% !important;display: inline-flex;}

#placas-table thead tr th:nth-child(1){width: 12% !important;}
#placas-table thead tr th:nth-child(2){width: 12% !important;}
#placas-table thead tr th:nth-child(3){width: 16% !important;}
#placas-table thead tr th:nth-child(4){width: 43% !important;}
#placas-table thead tr th:nth-child(5){width: 17% !important;display: inline-flex;}

#polizas-table thead tr th:nth-child(1){width: 16.6% !important;}
#polizas-table thead tr th:nth-child(2){width: 16.6% !important;}
#polizas-table thead tr th:nth-child(3){width: 16.6% !important;}
#polizas-table thead tr th:nth-child(4){width: 16.6% !important;}
#polizas-table thead tr th:nth-child(5){width: 16.6% !important;}
#polizas-table thead tr th:nth-child(6){width: 16.6% !important;display: inline-flex;}

#verificaciones-table thead tr th:nth-child(1){width: 16.6% !important;}
#verificaciones-table thead tr th:nth-child(2){width: 16.6% !important;}
#verificaciones-table thead tr th:nth-child(3){width: 16.6% !important;}
#verificaciones-table thead tr th:nth-child(4){width: 16.6% !important;}
#verificaciones-table thead tr th:nth-child(5){width: 16.6% !important;}
#verificaciones-table thead tr th:nth-child(6){width: 16.6% !important;display: inline-flex;}

.json-box{
    background-color: whitesmoke;
    border: 1px solid #e1e1e1;
    padding: 1rem;
    margin-bottom: 0 !important;
}

.inactive-branch{
    width: 10px;
    height: 10px;
    background-color: #f60606;
    display: inline-block;
    border-radius: 5px;
}

/* Arregla el popup del datetimepicker */
.bootstrap-datetimepicker-widget.dropdown-menu.open{
    top: inherit !important;
    width: 19rem;
}

.product-item{
    color: green;
    font-weight: bold;
}

.complement-item{ color: #ffc258; }

.product-price{
    font-size: 13px;
    color: #cfcfcf;
}

.nav-item-title .item-title{
    margin-left: 7px;
}

.card-header-title{
    font-size: 18px;
    color: white;
}
#facturas-table .btn{
    padding: 5px 7px !important;
}
.foto-item{
    margin-left: 1rem;
    padding: 0.5rem;
    font-size: 12px;
    margin-top: 0.5rem;
    cursor: pointer;
    border: 1px solid #f5f2f2;
    min-width: 180px;
    min-height: 160px;
    position: relative;
    display: flex;
}
.foto-container{
    text-align: center;
    min-width: 140px;
}

.foto-control{
    margin-top: 0.3rem;
    font-size: 1rem;
}
.foto-mostrar{
    color: #447DF7;
}
.foto-agregar-container{
    position: relative;
    min-height: 21px;
}
.foto-agregar{
    color: #1EC548;
    cursor: pointer;
    position: absolute;
    z-index: 10;
}
.foto-agregar-input{
    position: absolute;
    width: 17px;
    z-index: 20;
    opacity: 0;
    cursor: pointer;
}
.foto-eliminar{
    color: #e37676;
}
.foto-controls-container{
    display: flex;
    flex-direction: column;  
}

.card .table tbody td:last-child, .card .table thead th:last-child{
    display: revert;
}

#reparaciones-table td:nth-child(4){ text-align: right; }


.select2-selection__placeholder{color: #514f4f !important;}
.tbl-prices{border-spacing: 1px;}
.tbl-prices thead{
    background: #045FB4;
    /* border-radius: 4px 4px 0px 0px; */
}
.tbl-prices thead tr th{color: white;}
.tbl-prices input{
    max-height: 1.5rem;
    max-width: 2.8rem;
    padding: 0.3rem;
}

.tbl-prices thead tr th{font-size: 0.7rem;}
.tbl-prices tbody tr td{font-size: 0.8rem;}

.prices-top-card{
    margin-bottom: 0px;
    box-shadow: 0px 4px 3px -1px #e4e4e4;
    background-color: #f8f8f8;
}

.adjustment-tab{
    width: 97%;
    text-align: center;
    border: 1px solid #d8d7d7;
    border-radius: 0px 0px 4px 4px;
    background-color: #eaf4ff;
}

.adjustment-tab .card{
    border: none;
    padding: 1rem;
    margin-bottom: 0px;
    background-color: #eaf4ff;
}

.adjustment-tab .card .card-body{
    padding: 0px;
    text-align: initial;
}

.bg-default-blue{
    background: #045FB4;
}

/* FILESTYLE */
.btn-file{
    width: 7rem !important;
    font-size: 0.75rem !important;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-file:before{
    content: '\f07c';
    font-family: 'FontAwesome'
}
.input-file{height: 2.5rem;}

/* Autoservicio Tab */
#pr-tbl-autoservice thead th:nth-child(1) { width: 8% !important; }
#pr-tbl-autoservice thead th:nth-child(2){ width: 15.5% !important; }
#pr-tbl-autoservice thead th:nth-child(3) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(4) { width: 8% !important; }
#pr-tbl-autoservice thead th:nth-child(5) { width: 8% !important; }
#pr-tbl-autoservice thead th:nth-child(6) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(7) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(8) { width: 8% !important; }
#pr-tbl-autoservice thead th:nth-child(9) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(10) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(11) { width: 7.5% !important; }
#pr-tbl-autoservice thead th:nth-child(12) { width: 8% !important; }
#pr-tbl-autoservice_wrapper{
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#pr-tbl-autoservice_wrapper .tbl-prices-top-tab{ width: 53.1%; }

/* Lavandería Tab */
#pr-tbl-laundry thead th:nth-child(1) { width: 8% !important; }
#pr-tbl-laundry thead th:nth-child(2){ width: 15.5% !important; }
#pr-tbl-laundry thead th:nth-child(3) { width: 8% !important; }
#pr-tbl-laundry thead th:nth-child(4) { width: 8% !important; }
#pr-tbl-laundry thead th:nth-child(5) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(6) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(7) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(8) { width: 8% !important; }
#pr-tbl-laundry thead th:nth-child(9) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(10) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(11) { width: 7.5% !important; }
#pr-tbl-laundry thead th:nth-child(12) { width: 7.5% !important; }
#pr-tbl-laundry_wrapper{
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#pr-tbl-laundry_wrapper .tbl-prices-top-tab{ width: 53%; }

/* Tintorería Tab */
#pr-tbl-drycleaning thead th:nth-child(1) { width: 11.7% !important; }
#pr-tbl-drycleaning thead th:nth-child(2){ width: 11.7% !important; }
#pr-tbl-drycleaning thead th:nth-child(3) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(4) { width: 8% !important; }
#pr-tbl-drycleaning thead th:nth-child(5) { width: 8% !important; }
#pr-tbl-drycleaning thead th:nth-child(6) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(7) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(8) { width: 8% !important; }
#pr-tbl-drycleaning thead th:nth-child(9) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(10) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(11) { width: 7.5% !important; }
#pr-tbl-drycleaning thead th:nth-child(12) { width: 7.5% !important; }
#pr-tbl-drycleaning_wrapper{
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#pr-tbl-drycleaning_wrapper .tbl-prices-top-tab{ width: 53.1%; }

/* Vendimia Tab */
#pr-tbl-appetizers thead th:nth-child(1) { width: 8% !important; }
#pr-tbl-appetizers thead th:nth-child(2){ width: 15.5% !important; }
#pr-tbl-appetizers thead th:nth-child(3) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(4) { width: 8% !important; }
#pr-tbl-appetizers thead th:nth-child(5) { width: 8% !important; }
#pr-tbl-appetizers thead th:nth-child(6) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(7) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(8) { width: 8% !important; }
#pr-tbl-appetizers thead th:nth-child(9) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(10) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(11) { width: 7.5% !important; }
#pr-tbl-appetizers thead th:nth-child(12) { width: 8% !important; }
#pr-tbl-appetizers_wrapper{
    padding-right: 0px !important;
    padding-left: 0px !important;
}
#pr-tbl-appetizers_wrapper .tbl-prices-top-tab{ width: 53.1%; }

.tbl-prices td { padding: 0.2rem !important; }
.tbl-prices-top-tab{
    width: 53.8%;
    text-align: center;
    background: #eaf4ff; 
    position: absolute;
    border-radius: 4px 4px 0px 0px;
    color: #3a68ae; 
    margin-right: 1px;
    border: 1px solid #d8d7d7;
}

.machine-panel .select2{ width: 100%; }

.select2
{
    width: 100% !important;
}

.select2-subtext{
    font-size:12px;
    color:gray;
}

.select2-selection {
    /*height: 41px;*/
    border: 1px solid #E3E3E3 !important;
}

.select2-selection__arrow, .select2-selection__rendered{
    font-size: 14px;
    margin-top: 5px !important;
}

#cobroMensual-table td:nth-child(3){ text-align: right; }
#cobroMensual-table td:nth-child(4){ text-align: right; }
#cobroMensual-table td:nth-child(5){ text-align: right; }
#cobroMensual-table td:nth-child(6){ text-align: right; }
#cobroMensual-table td:nth-child(7){ text-align: right; }
#cobroMensual-table td:nth-child(8){ text-align: right; }
#cobroMensual-table td:nth-child(9){ text-align: right; }
#cobroMensual-table td:nth-child(10){ text-align: right; }
#cobroMensual-table td:nth-child(11){ text-align: right; }
#cobroMensual-table td:nth-child(12){ text-align: right; }

#montos-arrendatarios_wrapper{
    padding: 0px;
}

#activos-table td:nth-child(4){ text-align: right; }
#activos-table td:nth-child(5){ text-align: right; }
#activos-table td:nth-child(6){ text-align: right; }
#activos-table td:nth-child(7){ text-align: right; }
#activos-table td:nth-child(9){ text-align: right; }
#activos-table td:nth-child(10){ text-align: right; }
#activos-table td:nth-child(11){ text-align: right; }
#activos-table td:nth-child(12){ text-align: right; }
#activos-table td:nth-child(13){ text-align: right; }

/* Ajusta la altura de Select2 para que coincida con Bootstrap form-control */
.select2-container .select2-selection--single {
    height: 38px; /* la misma altura que form-control normal */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px; /* alinea el texto verticalmente */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px; /* para que la flecha se vea centrada */
}
