
/* Fuerza ancho fijo de 200px solo para select2 dentro de la tabla #excel-table */
#excel-table .select2-container {
    width: 200px !important;
    min-width: 200px !important;
}

#excel-table .select2-container .select2-selection {
    width: 200px !important;
    min-width: 200px !important;
}

#excel-table .select2-container .select2-selection__rendered {
    width: 180px; /* deja espacio para el padding del ícono validador */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.page-logo .page-logo-link {
	background-color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 2px;
    display: block !important;
}
.page-logo img{
	width:initial !important;
    height:35px;
}
.footer-function-fixed .page-content.statuscontainer{
	padding-bottom:0 !important;
}
.statuscontainer .alert {
    margin-bottom: 0.5rem !important;
}
.fs-30{
    font-size:30px;
}
.fw-bold{
    font-weight:bold;
}
.fs-15{
    font-size:15px;
}
.mb-60{
    margin-bottom:60px !important;
}
.bg-blue{
    /*background-color: #83a1bb !important;*/
    background-color: #205ba6 !important;
}
.bg-info {
    background-color: #2196f3 !important;
}
.text-hover-black:hover{
    color:black !important;
}
.alert-info {
    color: #0a6ebd !important;
    background-color: #e3f2fd !important;
    border-color: #82c4f8 !important;
}
.multiple-creation-items .item-line:first-child .remove-item-line {
    display:none !important;
}   
.form-group-mb-0 .form-group{
    margin-bottom:0!important;
}
.bg-secondary-100{
    background-color:#33333322 !important;
}
.page-breadcrumb {
    margin: 0 0 0.5rem !important;
}
.subheader:not(:empty) {
    margin-bottom: 0.5rem !important;
}
.page-content {
    padding: 0.5rem 2rem !important;
}
.panel-hdr {
    min-height: 2rem !important;
    /*background: #185ea3b0 !important;*/
    background: #205ba6 !important;
}
.panel-hdr h2 {
    line-height: 2.15rem;
    color: white;
    font-size: 1rem;
}
.table td, .table th {
    padding: 0.25rem .75rem;
}
.table thead tr:not(:first-child) th{
    border-top:none !important;
    border-bottom:1px solid #e9e9e9 !important;
}
table.dataTable {
    margin-bottom: 0.5rem!important;
}
.panel .panel-container .panel-content {
    padding: 0.5rem 0.5rem !important;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.47em + 0.5rem + 2px);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 0.5rem + 2px);
}
.select2-container .select2-selection--single {
    min-height: calc(1.5em + 0.5rem + 2px);
}
.table-bordered thead td, .table-bordered thead th, .table-bordered tbody th {
    background-color: #ececec;
}
.custom-select{
    line-height:1 !important;
}
.accordion .card .card-header .card-title {
    padding: 0.5rem 0.5rem;
}
.card-body {
    padding: 0.5rem;
}
.barcodeicon{
    position: relative;
}
.barcodeicon > i:first-child{
    top: 0;
    position: absolute;
    left: 5px;
    font-size: 24px;
}
.instalados .titulo{
    background-color: #83bb9c; 
    padding: 5px 10px; 
    color: white;
}
.instalados .fa-angle-right{
    width: 20px;
    font-size: 24px;
    color: #83bb9c !important;
}
.instalados .add_orderitem{
    border:1px solid #83bb9c;
}
.instalados .createitemfromorder{
    border:2px solid #83bb9c;
}
.instalados .add_orderitem i, 
.instalados .createitemfromorder i{
    color: #83bb9c !important;
    font-size: 20px;
    line-height: 10px;
    margin-right: 3px;
    top: 3px;
    position: relative;
}


.desmontados .titulo{
    background-color: #bb8383; 
    padding: 5px 10px; 
    color: white;
}
.desmontados .fa-angle-right{
    width: 20px;
    font-size: 24px;
    color: #bb8383 !important;
}
.desmontados .add_orderitem{
    border:1px solid #bb8383;
}
.desmontados .createitemfromorder{
    border:2px solid #bb8383;
}
.desmontados .add_orderitem i, 
.desmontados .createitemfromorder i{
    color: #bb8383 !important;
    font-size: 20px;
    line-height: 10px;
    margin-right: 3px;
    top: 3px;
    position: relative;
}

.instalados-cliente .titulo{
    background-color: #83a1bb; 
    padding: 5px 10px; 
    color: white;
}
.instalados-cliente .fa-angle-right{
    width: 20px;
    font-size: 24px;
    color: #83a1bb !important;
}
.instalados-cliente .add_orderitem{
    border:1px solid #83a1bb;
} 
.instalados-cliente .createitemfromorder{
    border:2px solid #83a1bb;
}
.instalados-cliente .add_orderitem i, 
.instalados-cliente .createitemfromorder i{
    color: #83a1bb !important;
    font-size: 20px;
    line-height: 10px;
    margin-right: 3px;
    top: 3px;
    position: relative;
}
.instalados-cliente .titulo{
    background-color: #83a1bb; 
    padding: 5px 10px; 
    color: white;
}
.instalados-cliente .fa-angle-right{
    width: 20px;
    font-size: 24px;
    color: #83a1bb !important;
}
.instalados-cliente .add_orderitem{
    border:1px solid #83a1bb;
} 
.instalados-cliente .createitemfromorder{
    border:2px solid #83a1bb;
}
.instalados-cliente .add_orderitem i, 
.instalados-cliente .createitemfromorder i{
    color: #83a1bb !important;
    font-size: 20px;
    line-height: 10px;
    margin-right: 3px;
    top: 3px;
    position: relative;
}
.assignbutton .add_item_to_assign i{
    color: #83a1bb !important;
    font-size: 20px;
    line-height: 10px;
    margin-right: 3px;
    top: 3px;
    position: relative;
}
.assignbutton .fa-angle-right{
    width: 20px;
    font-size: 24px;
    color: #83a1bb !important;
}
.assignbutton .add_item_to_assign{
    border:1px solid #83a1bb;
} 
.form-control[type=file]{
    padding: 1px .5rem;
}
.input-group-text {
    padding: 0rem .875rem;
}
.dt-buttons button{
    color: #fff;
    background-color: #545b62;
    border-color: #4e555b;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    -webkit-box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(0 0 0 / 8%);
    padding: 1px .844rem;
    font-size: .7rem;
    line-height: 1.5;
    border-radius: .25rem;
    margin-bottom:0.5rem;
}
@media (min-width: 992px){
	.nav-function-top .page-sidebar .primary-nav .nav-menu>li>a {
	    padding: .75rem 1.5rem .75rem 2rem;
	}
    .nav-function-top .page-header {
        height: 3.125rem;
    }
    .page-logo {
        height: 3.125rem;
    }
    .nav-function-top .page-sidebar {
        height: 2.25rem;
    }
    .nav-function-top .page-content-wrapper {
        margin-top: 5.625rem;
    }
    .nav-function-top .page-sidebar {
        top: 3.125rem;
    }
    .nav-function-top .page-sidebar .primary-nav .nav-menu>li.active>a:before {
        top: calc(50% + 9px);
    }
    .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul {
        top: 1.5rem;
        padding: 1rem 0;
    }
    .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul li a {
        padding: 0.25rem 1.25rem;
    }
    .nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul {
        padding: 0.5rem 0;
    }
}
@media (min-width: 768px){
    .select2-custom {
        max-width: calc(100% - 130px);
    }
}
@media (min-width: 1200px){
    .border-right-xl-1{
        border-right: 1px solid rgba(21,23,26,.07);
    }
}
@media (max-width: 1200px) and (min-width:991px){
    .border-right-lg-1{
        border-right: 1px solid rgba(21,23,26,.07);
    }
}
@media (max-width: 991px) and (min-width:768px){
    .border-right-md-1{
        border-right: 1px solid rgba(21,23,26,.07);
    }
}
@media (max-width: 480px) and (min-width:576px){
    .border-right-sm-1{
        border-right: 1px solid rgba(21,23,26,.07);
    }
}
@media (max-width: 480px){
    .border-right-xs-1{
        border-right: 1px solid rgba(21,23,26,.07);
    }
}

.select2multiwidth100 .select2-selection__choice{
    width: 100%;
    display:block !important;
}
.select2multiwidth100 .select2-selection__choice .select2-selection__choice__remove{
    float:right;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #ebecf5 !important;
    border-color: #0f619f !important;
    color: #0f619f !important;
}
.form-group-mb-0 .form-group{
    margin-bottom:0 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #5897fb;
    color: white;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color: #0f619f !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple, .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0f619f !important;
}
.select2-container--open .select2-dropdown--below {
    border-color: #0f619f !important;
}
.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple, .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-color: #0f619f !important;
    border-top-color: #0f619f  !important;
    border-right-color: #0f619f  !important;
    border-bottom-color: #0f619f  !important;
    border-left-color: #0f619f  !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0f619f !important;
}
.select2-container--default .select2-results__option[aria-selected] {
    color:black !important;
}
.select2-container--default .select2-results__option.select2-results__option--highlighted{
    color: white !important;
}
.select2-result-item__avatar {
    float: left;
    width: 50px;
    text-align: center;
    margin-right: 10px;
    margin-left: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    border-radius: 3px;
    color: white;
    background-color: #2198f3;
}
.select2-result-item__avatarmini {
    height: 34px;
    display: flex;
    width: 20px;
    float: left;
    align-items: center;
    justify-content: center;
}
.select2-result-item__avatarmini i {
    text-align: center;
    display:inline-block;
    margin-right: 10px;
    padding-right: 3px;
    padding-left: 3px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 3px;
    color: white;
    background-color: #2198f3;
}
.select2-result-item__avatar i {
    font-size: 37px;
}

.select2-result-item__technician_name, 
.select2-result-item__supervisor_name, 
.select2-result-item__orderstate_name {
    display: inline-block;
    color: #aaa;
    font-size: 11px;
}
.select2-result-item__supervisor_name,
.select2-result-item__orderstate_name {
    margin-right: 1em;
}
.select2-result-repository__meta {
    margin-left: 70px;
}
.select2-result-item__ordernum {
    color: black;
    font-weight: 700;
    word-wrap: break-word;
    line-height: 1.1;
    margin-bottom: 4px;
}
/*
.select2-results__option--highlighted .select2-result-item__avatar {
    color: #2198f3;
    background-color: white;
}*/
.select2-results__option--highlighted .select2-result-item__ordernum {
    color: white;
}
.select2-results__option--highlighted .select2-result-item__technician_name, 
.select2-results__option--highlighted .select2-result-item__supervisor_name, 
.select2-results__option--highlighted .select2-result-item__orderstate_name {
    color: #c6dcef;
}
.select2-result-item__meta{
    padding-left:60px;
}
.select2-result-item__metamini{
    padding-left:20px;    
}
.select2-results__option--highlighted .select2-result-item__meta .info > span, 
.select2-results__option--highlighted .select2-result-item__meta .info2 > span {
    color:white !important;
}
.select2-container .select2-selection--single {
    height: initial !important;
    min-height: calc(1.5em + 1rem + 2px);
}
.line-height-initial {
    line-height:initial !important;
}
.select2-result-item {
    white-space: initial !important;
}
.select2-dropdown {
    z-index: 5000 !important;
}
div.sticky h1 {
    background-color: white;
    display: inline-block;
    padding: 0 10px;
    border-radius: 4px;
    flex: initial;
    margin-left:5px;
}
div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;    
  z-index: 99;
}
.nav-function-top .page-sidebar {
    z-index: 9999 !important;
}
.nav-function-top .page-sidebar .primary-nav .nav-menu>li>ul:before {
    max-height: 50px;
}
.dt-buttons{
    float: right;   
}
.page-content-overlay{
    /*display:none;*/
    z-index:99;
}
table.dataTable.dtr-column>tbody>tr>td.control:before, 
table.dataTable.dtr-column>tbody>tr>th.control:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>td:first-child:before, 
table.dataTable.dtr-inline.collapsed>tbody>tr[role=row]>th:first-child:before {
    background-color: #2198f3 !important;
}
.dataTables_wrapper tr.child td.child .dtr-details:after {
    background: #205ba6 !important;
}
.dataTables_wrapper tr.child td.child .dtr-details:before {
    color: #205ba6 !important;
}
.fixedHeader-floating thead tr:nth-child(2) {
    display:none !important;
}
.dataTables_empty {
    color: #2198f3 !important;
    font-size: 1.5rem !important;
}
.badge-primary {
    background-color: #2759a9 !important;
}
.multiple-creation-rateruleapplications .rateruleapplication-line:first-child .remove-rateruleapplication-line,
.multiple-creation-deliverynote-loads .deliverynote-load-line:first-child .remove-deliverynote-load-line,
.multiple-creation-deliverynote-concepts .deliverynote-concept-line:first-child .remove-deliverynote-concept-line,
.multiple-creation-invoice-deliverynotes .invoice-deliverynote-line:first-child .remove-invoice-deliverynote-line,
.multiple-creation-invoice-concepts .invoice-concept-line:first-child .remove-invoice-concept-line {
    display: none !important;
}
#js-primary-nav .info-card .pull-trigger-btn {
    display: none;
}
div.dataTables_wrapper div.dataTables_info {
    white-space: initial !important;
    font-size: 12px;
}
.dataTables_wrapper {
    overflow:hidden;
}
.dataTable .child input{
    display:none;
}
table.dataTable>tbody>tr.child span.dtr-title {
    width: 100%;
}
.header-btn[data-class=mobile-nav-on] {
    border-color: #205ba6;
    background-color: #205ba6;
    background-image: -webkit-gradient(linear,left bottom, left top,from(#2198f3),to(#205ba6));
    background-image: linear-gradient(to top,#2198f3,#205ba6);
    color: #fff;
}
.bg-trans-gradient {
    background: linear-gradient(250deg,#205ba7,#2d96e7);
}
.mini-icon{
    position: relative;
    margin-top: 5px;
    display: block;
    width:17px;
    margin-right: 5px;
    display:inline-block;
}
.mini-icon i, .mini-icon i:hover{
    color: #2198f3 !important;
}
.add-to-print-icon {
    position: relative;
    margin-top: 5px;
    display: block;
    width:17px;
    margin-right: 10px;
    display:inline-block;
}
.add-to-print-icon .fa-plus {
    position: absolute;
    right: -6px;
    top: -5px;
    font-size: 10px;
}
.remove_deliverynote_to_print {
    color:rgb(167, 1, 1);
    border-color:rgb(167, 1, 1);
    margin-left:5px;
    padding:4px;
    line-height:1 !important;
    width:initial !important;
    margin-top: 2px;
}
.remove_deliverynote_to_print:hover {
    background-color: rgb(167, 1, 1);
    border-color: rgb(167, 1, 1);
}
.deliverynote_to_print {
    padding:2px 5px;
    background-color: #ececec;
    font-weight:bold;
    margin-right:5px;
    display:inline-block;
    border-radius:3px
}
#deliverynotes_to_print:not(:empty){
    padding: 10px 15px;
    border: 2px solid #205ba6;
    border-radius: 3px;
    margin-bottom: 15px;
    background-color: white;
}
#deliverynotes_to_print:not(:empty):before {
    content: "Albaranes para imprimir:";
    font-weight:bold;
    display:block;
    margin-bottom:5px;
    color:black;
}
table.dataTable>tbody>tr.child span.dtr-title p{
    display: none !important;
}
@media screen and (max-width:768px){
    .page-content {
        padding: 15px !important;
    }
}
.modal-backdrop {
    background-color: #00000040 !important;
}
table.dataTable tbody>tr.selected, table.dataTable tbody>tr>.selected {
    -webkit-box-shadow: inset 0 0 0 1px inset 0 0 0 1px #6a92b5 !important;
    box-shadow: inset 0 0 0 1px #6a92b5 !important;
    background: rgb(106 143 181 / 10%) !important;
    font-weight: 500;
    color: inherit;
}
.btn-primary.disabled, .btn-primary:disabled {
    opacity: 0.4;
}
.feedback p{
    word-break:break-word;
}
.form-group.is-invalid{
    margin-bottom: 0 !important;
}
