body{background-color: #edf4fe;}
.header{
    background: #da8c10;
    width: auto;
    height: 100px;
}
.header p{color: white;text-align: center;font-size: 40px;margin: 0;padding-top: 23px;}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: grey;
    height: 50px;
    color: white;
    text-align: center;
}
.wrapper, .content-wrapper{background:#edf4fe;}
.active a{
    color:#0067a4;
    font-weight: bold;
}
.textoboton{
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
    padding: 5px 8px 5px 8px !important;
    border: 1px solid gray !important;
    margin-bottom: 3px;
    position: relative;
    z-index: 10;
}
#anadir{float:left;}
#anadir.disabled{
    cursor: not-allowed;
}
#btnbusca{
    border: 1px solid #3A3A3A !important;
    box-shadow: 0px 0px 2px 0px #555;
    font-weight: bold;
    font-size: 16px;
    margin-right: 6px;
    margin-left: 15px;
    line-height: 18px;
    margin-bottom: 4px;
}
#limpiar{
    border: 1px solid #3A3A3A !important;
    box-shadow: 0px 0px 2px 0px #555;
    font-weight: bold;
    font-size: 17px;
    margin-right: 6px;
    margin-left: 0px;
    line-height: 16px;
    margin-bottom: 4px;
}
.fecha_min_max{margin-bottom: 10px;margin-right: 5px;margin-bottom: 20px;margin-top: 15px;}
.loader, .loader_completo{display: none;text-align: center;}
.box-title{font-weight: bold;text-shadow: 1px 1px 1px #000;text-transform: uppercase;font-size: 20px;}
.box-header{
    padding:9px 0px 2px 11px;
    margin-top: 10px;
    margin-bottom:15px;
    background: -moz-linear-gradient(center bottom, #2a7baa 0%, #3f90bf 100%) !important;
    background:-webkit-linear-gradient(top, #3F90BE  0%,#2a7baa 100%,#207CCD 51%,#7db9e8 100%);
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.box{background:#f5f5f5;margin-bottom:25px;box-shadow: 0 6px 6px 0px #b4b4b4}

/*VENTANA MODAL*/
.modal-header { cursor: move; border-radius: 5px 5px 0px 0px;padding:14px;}
.modal-title{
    line-height: 1.4;
    color:white;
    font-size:18px;
    font-family: calibri;
    text-shadow:1px 1px 1px #000;
}
.modal-backdrop{ background-color: transparent; }
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal-body{padding:29px 29px 8px 29px;}

.modal-footer{
    margin: 0 auto;
    display: table;
    border-top:0;
}
/*.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}*/

.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    -webkit-transform: translate(0, -25%);
    transform: translate(0, -25%);
}
.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.modal-open {
    overflow: hidden;
}
.fade {
    opacity: 0;
    transition: opacity .15s linear;
}
.fade.show {
    opacity: 1;
}
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
    background: rgba(0,0,0,0.5);
}
/*.modal {
    background: rgba(0,0,0,0.5);
    overflow: auto !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    padding-right:0 !important;
}*/
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}


/*
.fade.in {
    opacity: 1;
}
.modal-open .modal{
    opacity: 1;
    transform: scale(1);
    animation:fadein .3s;
    transition: all .3s linear;
}

.fade:not(.show){
    transform: translate3d(0, 0, 0);
    opacity:0;
    transition: all 120ms linear;

}

.modal.show .modal-dialog {
    transition: ease-in-out .2s linear;
}

@keyframes fadein {
    from {opacity:0;}
    to {opacity:1;}
}*/

/*Botón cierre*/
.botonpri {
    float: right;
    font-weight: 800;
    border-radius: 3px;
    background-color: white;
    box-shadow: 0 0 1px 0 black;
    padding-top: 0px;
    height: 22px;
    font-size: 11px;
    padding-bottom: 20px;
    margin-top: 2px;
    padding-left: 5px;
    padding-right: 6px;
    padding-bottom: 20px;
}
/*Botón enviar*/
#enviar, #enviar_completo, #salir, .botonesmodales{font-weight:bold;font-size:14px;text-shadow:1px 1px 1px #000;border:2px solid #535353;}
/*Formulario*/
.modal-content{ border-radius: 5px; }
input.form-control, select.form-control {padding-top: 4px;}
.form-control, select.chosen-select{border-radius: 4px;padding-top:1px;height: 35px;color:#000;}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
    color:#808080;
}
input{color:black;}
.margen{margin-bottom:20px;}
form label{
    font-size: 15px;
    color: white;
    text-shadow: 1px 1px 1px black;
    font-weight: bold;
}
form .bloque-precio label{
    color: black;
    text-shadow: none;
}
form .bloque-cliente label{
    color: black;
    text-shadow: none;
    font-weight: 600 !important;
}
.fondocheck{
    background: #6C6C6C;
    padding-bottom: 12px;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 3px;
    color: black;
    padding-top: 10px;
    max-height: 450px;
    overflow-y: auto;
}
.recargar{
    width: auto;
    font-size: 14px;
    padding: 4px 10px;
    background-image: linear-gradient(to bottom, #0a67f9,#025ce8);
    display: inline;
    margin-top:25px;
}

/*Mensaje de error*/
.text-danger {
    background-color: #db2a2a;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: white !important;
    padding: 0 5px 0 5px;
    text-shadow: 1px 1px 1px #000;
}

#formproducto label{color:black;text-shadow: none;font-weight: normal;}
.bordes{ border-bottom-left-radius: 5px !important;border-top-left-radius: 5px !important;font-family: Times New Roman;font-weight: bold;}
.margen-boton{margin-bottom: 5px;margin-top:5px;margin-right: 11px;margin-left:6px;}
.boton-editar, .boton-editar2{margin-left:0px;width:32px;font-size:13px;font-weight:bold;padding:2px 0px 2px 2px;background-image:linear-gradient(to bottom, #59b259, #1a9a4e);border:1px solid #000;display:inline}
.boton-productos{margin-left:6px;width:28px;font-size:13px;font-weight:bold;padding:2px 0px 2px 2px;background-image:linear-gradient(to bottom, #3399ff, #0d73d9);border:1px solid #000;display:inline}
.boton-eliminar, .boton-eliminar2{margin-left: 9px;width: 35px;font-size: 13px;font-weight:bold;padding: 2px 0px 2px 0px;border: 1px solid #000;display: inline;background-image: linear-gradient(to bottom, #e40a0a, #9f0202) !important;}
.boton-cancelar{background-image: linear-gradient(to bottom, #ff7ca7, #dd6a90) !important;padding: 2px 0px 2px 2px;width: 35px;}
.boton-factura{background-image: linear-gradient(to bottom, #ee9421, #d27f13) !important;padding: 2px 0px 2px 2px;width: 35px;text-shadow: 1px 1px 1px black;font-size: 12px;}
.boton-email{background-image: linear-gradient(to bottom, #a4a4a4, #555) !important;padding: 2.2px 2px 0px 0px;width: 35px;font-size: 11px;}
.activado{color: #00a10a;}
.desactivado{color: #cc0808;}
td.fondo-off,td.fondo-on{color:white;font-weight: bold;text-shadow: 1px 1px 1px black;}
td.fondo-off{background-color: #cc1e1e;}
td.fondo-on{background-color: green;}

tr.total-row td:nth-child(1) {font-weight: bold;background-color: #c2d5fe !important;border-top:2px solid #000;text-align: left;}
tr.total-row td:not(.fondo-off):not(.fondo-on) {background-color: #c2d5fe;border-top:3px solid #000;text-align: right;padding-right: 8px;}
tr.total-row td.fondo-off{background-color: #cc1e1e;border-top:3px solid #000;text-align: right;padding-right: 8px;}

tr.totalprev-row td {font-weight: bold;background-color: #c2fed7 !important;border-top:2px solid #000;text-align: right;padding-right: 8px;}
tr.totalmarg-row td {font-weight: bold;background-color: #8ff0a3 !important;border-top:2px solid #000;text-align: right;padding-right: 8px;}
tr.totalporc-row td {font-weight: bold;background-color: #9dea81 !important;border-top:2px solid #000;text-align: right;padding-right: 8px;}

.td-centrado{text-align: center !important;padding-right: 8px !important;}

.cancelado{color:#cc0808;font-weight: bold;}
.enviado{color: #767676;font-weight: bold;}
.registro-envio{display: none;}

/*Botones*/
#botones{text-align: center;margin-left: 10px;margin-right: 10px;margin-top: 30px;}
.fa-edit, .fa-trash-alt{
    text-shadow: 1px 1px 1px #000;
    font-size: 17px;
    line-height: 0;
    vertical-align: 0;
    padding: 0;
}
.fa-trash-alt{font-size:17px;padding: 0px;}
.fa-seedling{text-shadow: 1px 1px 1px #000;font-size: 21px;}
.fa-print{text-shadow: 1px 1px 1px #000;font-size: 19px;}

.btn-edit-mini{
    width: 28px;
    font-size: 4px;
    font-weight: bold;
    padding: 2px 0px 0px 2px;
    background-image: linear-gradient(to bottom, #59b259, #1a9a4e);
    border: 1px solid #000;
    display: inline;
}

.fa-edit-mini{
    text-shadow: 1px 1px 1px #000;
    font-size: 15px;
    line-height: 0;
    vertical-align: 0;
    padding: 7px 0 11px 0px;
}

#datatable, #datatable2{background:#ffffff;}
.dataTables_filter, .dataTables_info{margin-left:12px;}
.dataTables_length{margin-right: 12px;}
#datatable_wrapper .dt-buttons{display:inline;}
#datatable_wrapper .dt-buttons .buttons-excel{height: 31px !important; padding: 4px 10px 5px 10px !important;margin-left: 15px !important;border-radius: 3px !important;border:1px solid black !important;}
.buttons-excel{background-image: linear-gradient(to bottom, #59b259, #1a9a4e) !important;color: white !important;text-shadow: 1px 1px 1px black;padding: 4px 8px 4px 8px !important;font-size: 13px !important;font-weight: bold;border-radius: 5px !important;margin-right: 10px !important;border: 1px solid grey !important;}
.buttons-excel:hover{background-image: linear-gradient(top, #36780f, #005900);}
.buttons-print{background-image:linear-gradient(to bottom, #e40a0a, #9f0202) !important;color:white !important;text-shadow: 1px 1px 1px black;padding:4px 8px 4px 8px !important;font-size: 13px !important;font-weight: bold;border-radius: 5px !important;margin-left:10px !important;border:1px solid grey !important;}
.buttons-pdf{background-image:linear-gradient(to bottom, #f39c12, #d98200) !important;color:white !important;text-shadow: 1px 1px 1px black;padding:4px 8px 4px 8px !important;font-size: 13px !important;font-weight: bold;border-radius: 5px !important;margin-left:10px !important;margin-right:10px !important;border:1px solid grey !important;}
.buttons-pdf:hover{background-image:linear-gradient(top, #f62b2b, #d20202);}
.buttons-colvis{background-image: linear-gradient(to bottom, #b55959, #8c4949) !important;color: white !important;text-shadow: 1px 1px 1px black;font-size: 13px !important;font-weight: bold;border-radius: 5px !important;margin-right: 10px !important;border: 1px solid #424242 !important;padding: 4px 8px 2px 8px !important;}
.buttons-eliminar-todos{background-image: linear-gradient(to bottom, #e40a0a, #9f0202) !important;color: white !important;text-shadow: 1px 1px 1px black;font-size: 13px !important;font-weight: bold;border-radius: 5px !important;margin-right: 10px !important;border: 1px solid #424242 !important;padding: 2px 8px 2px 8px !important;}
.buttons-colvis:focus{text-shadow: 1px 1px 1px #000 !important;}
.btn-factura{background-image: linear-gradient(to bottom, #ffc001, #db8529) !important;color: white;width: 33px;font-size: 13px;font-weight: bold;padding: 5px 0px 2px 0px;border: 1px solid #000;display: inline-table;}
.btn-albaran{background-image: linear-gradient(to bottom, #06c6c6, #198080) !important;color: white;width: 33px;font-size: 13px;font-weight: bold;padding: 5px 0px 2px 0px;border: 1px solid #000;display: inline-table;}
/*#datatable tfoot, #datatable2 tfoot {display: table-row-group;}/*ubicar debajo del thead*/
#additionalcontentdatatable{margin-left: 13px;margin-bottom: 30px;}
.fichaDatatable{list-style-type: none;padding: 0;margin: 0;}
.bot_on{background: linear-gradient(to bottom, #d1e2f7 0%, #79ace9 100%) !important;}/*Colmunas botón visible*/
/*Datepicker inside datatables*/
/*.dataTable .bootstrap-datetimepicker-widget{width: 200% !important;}*/
.datepicker-days {
    max-width: 100%;
}
.datepicker-days table.table-sm {
    background:#fff;
}
.capital{text-transform: capitalize;font-weight: bold;}
div.dt-buttons{float:none !important;display: inline;}
/*Login*/
.icheck-primary label{color:#575757;text-shadow:none; }

.table-slim{width: 80%;border: 1px solid #dee2e6;margin-bottom: 0;}
.table-slim th,.table-general th{padding:2px;font-weight: bold;}
.table-slim td,.table-general td{padding:1px 0 1px 0;font-weight: 600;}
.table-slim th:not(:first-child), .table-slim td:not(:first-child){width: 100px;}
.table-slim th:first-child, .table-slim td:first-child {width: 15px;}

/*Caja registradora*/
.total, .precio-caja{
    text-align: center;
    font-size: 43px;
    font-weight: bold;
    font-family: Arial;
    color: powderblue;
    margin-top:5px;
    margin-bottom: 5px;
}
.desglose-caja{
    background-color:#fafafa;
    border: 1px solid silver;
    margin-bottom: 7px;
}
.elementos-caja{
    font-size: 18px;color:#000;
}
/*Toast*/
/*#toast-container > .toast {
    background-image: none !important;
}*/

#toast-container > .toast:before {
    position: relative;
    font-size: 24px;
    line-height: 18px;
    float: left;
    margin-left: -1em;
    color: #FFF;
    padding-right: 0.5em;
    margin-right: 0.5em;

}
#toast-container > .toast-success{background-color: #266daa;}
#toast-container > .toast-info{background-color: #138B3C;}
#toast-container > .toast-warning{background-color: #d46700;}
#toast-container > .toast-error{background-color: #b10303;}
.toast-message{font-family: Calibri;}


/*
#toast-container .toast{
    background-color: #1b75bc !important;
}
#toast-container> .fa-check , .toast {
    background: linear-gradient(to bottom, #3399ff, #0d73d9);
}
#toast-container> .fa-trash , .toast  {
    background: linear-gradient(to bottom, #e40a0a, #9f0202) !important;
}
#toast-container> .fa-info , .toast  {
    background: linear-gradient(to bottom, #59b259, #1a9a4e) !important;
}
#toast-container> .fa-warning , .toast {
    background: linear-gradient(to bottom, #f78a1d, #d36613) !important
}*/

/*Modificar ancho sidebar - Por defecto 250px cambiado a 230px*/

/*Datatables*/
/*table.dataTable thead th, table.dataTable thead td{padding:7px 17px 10px 7px !important;}*/
.text-right{padding-right: 8px;}
table#datatableproyecto_nuevo #footbuscador th, table#datatableproyecto #footbuscador td{padding:0 !important;}
#datatablevisitas tr td:last-child {width: 10% ! important;padding: 9px 0px 0px;}
.bordes{ border-bottom-left-radius: 5px !important;border-top-left-radius: 5px !important;font-family: Times New Roman;font-weight: bold;}
#footproductos,#footbuscador{display: table-header-group;}/*mostrar cabeceras datatables*/
#footbuscador select{height:27px;width:100%;}/*Altura select buscador encabezado*/
#footproductos th input, #footbuscador th input{width: 100%;height:27px;}
.box{border-top-color: #1daa5e;}
/*Checkbox datatable*/
th.coldelete {
    padding-bottom: 0 !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    width: 20px !important;
}
table.dataTable tbody th.dt-body-center, table.dataTable tbody td.dt-body-center{vertical-align: middle;}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td{vertical-align: middle;}
#datatable tr td{cursor: pointer;}

/*Poner buscador en la izquierda y paginacion en la derecha*/
.dataTables_wrapper .dataTables_filter{float:left !important;}
.dataTables_wrapper .dataTables_length{float:right !important;}

.dataTables_wrapper > .row:first-child div:nth-child(1){order: 2;}
.dataTables_wrapper > .row:first-child div:nth-child(2){order: 1;}
/*Compact*/
table.compact th, table.compact td{padding-left:10px;padding-right: 10px;}
/*table.compact .tbodyadd tr td:last-child.accion-td{padding-left:0;display: flex;justify-content: center;}*/
table.dataTable.hover tbody tr:hover.selected, table.dataTable.display tbody tr.selected {
    background-color: #aab7d1;
}
.numeric-column {
    text-align: right !important;
    padding-right: 10px;
}
.date-colum{padding-left:0 !important; text-align: center;}
/*fin datatables*/
.box-euro{
    border-bottom-left-radius: 5px !important;
    border-top-left-radius: 5px !important;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    white-space: nowrap;
}
/*NAVBAR*/
.compra-navbar{background-color: #47975A !important;}
.compra-navbar + .nav-treeview{background-color: #326834 !important;}
.venta-navbar {background-color: #488acf !important;;}
.venta-navbar + .nav-treeview{background-color: rgb(45, 91, 138) !important;;}

/*sidebar width*/
.nav-sidebar>.nav-item .nav-icon {
    margin-left: 0rem!important;
    font-size: 1.2rem;
    margin-right: 0rem!important;
    text-align: center;
    width: 0.6rem!important;
}

.sidebar-mini .main-sidebar .nav-link,
.sidebar-mini-md .main-sidebar .nav-link,
.sidebar-mini-xs .main-sidebar .nav-link {
    width: calc(230px - .5rem * 2)!important;
}

.sidebar-collapse.sidebar-mini .main-sidebar .sidebar {
    width: calc(230px - .5rem * 2)!important;
}


aside {width: 230px!important;}
.sidebar-collapse aside{width:73px !important;}
/*content margin-left*/
.sidebar-mini-md .content-wrapper, .sidebar-mini-md .main-footer, .sidebar-mini-md .main-header{margin-left: 230px !important;}

/*body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper,
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    transition: margin-left .3s ease-in-out;
    margin-left: 230px!important;
}*/
/*body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header{margin-left:230px;}*/

.layout-navbar-fixed .wrapper .brand-link {
    width: 230px!important;
}

.layout-fixed .brand-link{
    width:230px !important;
}
.navbar-nav>.navbar-item>.navbar-link {
    display: none!important;
}
.sidebar-mini-md.sidebar-collapse .main-sidebar.sidebar-focused, .sidebar-mini-md.sidebar-collapse .main-sidebar:hover{width: 230px !important;}
/*fin modificar el ancho sidebar*/

/*chosen*/
.chosen-container .chosen-results li{font-size: 14px;}
.chosen-container .chosen-results li.disabled-result{display: none;}
.chosen-container-single .chosen-single span{
    color: #000;
    font-size: 16px !important;
    margin-left: 9px !important;
    margin-top: 1px !important;
}
.form-body .chosen-container.chosen-container-single, .chosen-container-single {
    width: 100% !important; /* or any value that fits your needs */
}
.chosen-container-single .chosen-single{
    height: 35px;/* altura select */
    padding-top: 2px;
}
.chosen-container-single .chosen-single div{
    top: 4px;
}
/*fin chosen */
.cname{text-transform: capitalize;}
.centrado{display: table;margin:0 auto;}

.switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 23px;
}

.form-group label, .form-group .col-md-8{float:left;}
.elem-center{display: table; margin: 0 auto;margin-bottom: 24px; padding-top: 20px;}
#completartransacion{margin-top: 12px;margin-bottom: 10px;}
.peso-select{
    padding-left: 10px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    height: 35px;
    display: block;
    background-color: #E4E4E4;
    border: 1px solid #ced4da;
}
/*añadido bloque inicio*/
.bg-azulclaro{background-color: #69b2ff !important;color:#fff;}
.bg-turquesa{background-color: #19bdce !important;color:#fff;}
.bg-manzana{background-color:#43d025 !important;color:#fff;}
.bg-naranja{background-color: #f7981e !important;color:#fff;}
.bg-morado{background-color: #6b35e3 !important;color:#fff;}
.bg-morado-claro{background-color: #897ed9 !important;color:#fff;}
.bg-violeta{background-color: #ba1bd0 !important;color:#fff;}
.bg-violetaclaro{background-color: #ce83d9 !important;color:#fff;}
.bg-gris{background-color: #847c7c !important;color:#fff;}
.bg-grisclaro{background-color: #b3adad !important;color:#fff;}
.bg-marron{background-color: #714f00 !important;color:#fff;}

.ico-home{margin-top: 6px; font-size: 35px;}

.small{background-color: rgba(0, 0, 0, 0);padding-top: 0px; margin-bottom: 0px;}
.small:hover{background-color: rgba(0, 0, 0, 0.18);text-decoration: none !important;}
.small-box > .inner{
    background-color:rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 90px;
    padding-top: 10px;
}
.small:hover .inner{background-color:rgba(0, 0, 0, 0);}
.small:hover h3{font-size:21px !important;}
.small h3{
    -webkit-transition: all 0.3s ease !important;
    -moz-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    -ms-transition: all 0.3s ease !important;
    transition-delay: 0s !important;
    transition-duration: 0.3s !important;
    transition-property: all !important;
    transition-timing-function: linear !important;
    font-size:18px !important;
    text-shadow:1px 1px 1px black;
}
.small-box > .small-box-footer{background-color:rgba(0, 0, 0, 0.20);}
.small-box > .small-box-footer:hover{background-color:rgba(0, 0, 0, 0.20);}
.textmasinfo{color:white !important; text-shadow: 1px 1px 1px black;font-size:15px;}
.bg-yellow h3, .bg-yellow i{color:white !important;}
.small-box > .inner > i{text-shadow: 1px 1px 1px #000;}
/*fin bloque inicio*/
/*factura - albarán*/
.marglef{margin:10px 12px 0 12px;}
.boton-check{margin: -2px 27px 2px 8px;}
#impuesto{
    display: contents;
    margin-bottom: 18px;
    margin-top: 14px;
}
.margtel{padding-bottom: 0;}
.switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 23px;
}
/*Ocultar datatable2 cuando carga la página*/
.bloque-tabla{display: none;}
.fact{
    font-size: 22px;
    text-shadow: 1px 1px 1px black;
    font-family: Tahoma;
}

/*Custom Datatables */
table.dataTable thead tr > .dtfc-fixed-left, table.dataTable thead tr > .dtfc-fixed-right{background-color: inherit !important;}
table.dataTable thead tr > th.col-comercial{background-color: green !important;}
table.dataTable thead tr > th.col-orange{background-color: #d28c07 !important;}
table.dataTable thead tr > th.col-width{padding-left:30px !important;padding-right:30px !important;}
table.dataTable thead tr > th.col-width-220{padding-left:220px !important;padding-right:220px !important;}/*Establece el ancho de la columna*/
table.dataTable thead tr > th.col-width-210{padding-left:210px !important;padding-right:210px !important;}
table.dataTable thead tr > th.col-width-200{padding-left:200px !important;padding-right:200px !important;}
table.dataTable thead tr > th.col-width-180{padding-left:180px !important;padding-right:180px !important;}
table.dataTable thead tr > th.col-width-100{padding-left:100px !important;padding-right:100px !important;}
table.dataTable thead tr > th.col-width-90{padding-left:90px !important;padding-right:90px !important;}
table.dataTable thead tr > th.col-width-80{padding-left:80px !important;padding-right:80px !important;}
table.dataTable thead tr > th.col-width-70{padding-left:70px !important;padding-right:70px !important;}
table.dataTable thead tr > th.col-width-60{padding-left:60px !important;padding-right:60px !important;}
table.dataTable thead tr > th.col-width-50{padding-left:50px !important;padding-right:50px !important;}
table.dataTable thead tr > th.col-width-40{padding-left:40px !important;padding-right:40px !important;}
table.dataTable thead tr > th.col-width-30{padding-left:30px !important;padding-right:30px !important;}

/*table.dataTable .titulos-datatable > tr > th{padding: 10px !important;} padding fallo*/
table#datatable .titulos-datatable > tr > th{height: 42px !important;}/*altura thead datatable espaciado*/
.dataTables_scroll table#datatable .titulos-datatable > tr > th{height: 0px !important;}/*se elimina cuando tiene scroll altura thead datatable espaciado*/
.dataTables_scrollHead table.dataTable .titulos-datatable > tr > th {height: 42px !important;}
.dataTables_scrollBody > table.dataTable .titulos-datatable > tr > th{padding-top: 0px !important;padding-bottom: 0px !important;}
.col-comercial {text-align: left !important;}/*Alinear columnas tipo texto a la izquierda*/
div.dataTables_wrapper div.dataTables_processing{margin-top:20px;z-index: 1000}

.ok{color:#007a00;}
.fallo, .canelado{color:#cc1e1e;}
.verificado, .pendiente{color:#0010ff;}
.dtfh-floatingparenthead{height:fit-content !important;}/*height:113.467px*/
.dtfh-floatingparenthead > table.dataTable{margin-bottom: 0 !important;}
.bootstrap-datetimepicker-widget .picker-switch td span{text-align: center;}
.rango-fecha{
    background-color: #fcfcfc;
    border: 0 solid rgba(0,0,0,.125);
    border-radius: 5px;
    box-shadow: 0 1px 3px #a8a7a7;
    padding-right: 20px;
    padding-left: 20px;
    display: table;
    margin: 0 auto;
    margin-left: 17px;
    margin-right: 17px;
}
.rango-fecha .form-control-sm{
    border-radius: .2rem;
    background-clip: padding-box;
    border: 1px solid #a6a6a6;
    width: 150px;
}
.popover-header{text-align: center;}

/* Hide default HTML checkbox */
.switch input {display:none;}
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 20px;
    left: 4px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}
input:checked + .slider {
    background-color: #337AB7;
}
input#fijo:checked + .slider{
    background-color:#00a65a;
    box-shadow: 0 0 1px 0 #fff;
}
input:focus + .slider {
    box-shadow: 0 0 1px #337AB7;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
.botoncheck{
    margin: 0px 8px 2px 8px;
}
.fondocheck {
    background: #6C6C6C;
    padding-bottom: 10px;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 3px;
    color: black;
    padding-top: 10px;
    display: flex;
    align-items: center;
}
.fondocheck2{
    background: white ;
    padding-bottom: 12px;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 14px;
}
.fondocheck2 label{
    font-size: 15px;
    color: #575757;
    font-weight: normal;
    text-shadow: none;
}
.switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 23px;
    margin-top: 9px;
    margin-left: 12px;
}
/*fin botón checkbox*/
.select2.select2-container {
    width: 180px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice{
    color: black;
    font-size: 14px;
}

.popover p{
    margin-bottom: 2px;
}
.popover h5{
    margin-top: 8px;
}

td.accion-td {
    vertical-align: middle !important;
    text-align: center;
    padding: 0 !important;
}

.botones-acciones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}
/*Media queries*/
@media only screen and (min-width: 1280px){
    .modal-dialog{max-width:48% !important;}
    .ventas-page .modal-dialog {
        max-width: 48% !important;
    }
}

@media only screen and (max-width: 768px) {
    .modal-dialog{max-width:100%;}
    /*.sidebar-mini-md .content-wrapper, .sidebar-mini-md .main-footer, .sidebar-mini-md .main-header{margin-left: 0 !important;}*/
    /*body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header{margin-left: 0 !important;}*/
    table.compact tr td:last-child{padding-left:15px;padding-top:15px;display: table-cell;justify-content: none;}
}
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    transition: margin-left .3s ease-in-out;
    margin-left: 230px;
}
.sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand).sidebar-focused, .sidebar-mini.sidebar-collapse .main-sidebar:not(.sidebar-no-expand):hover{
    width: 230px !important;
}
/*Nuevos*/
@media (max-width: 992px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 0px;
    }
}
@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 4.6rem !important;
    }
}
/*
@media (min-width: 768px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header{margin-left: 0 !important;}
}
@media (min-width: 992px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header{margin-left:230px !important;}
}
@media (max-width: 991.98px) {
    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
        margin-left: 0;
    }
}*/

@media (min-width: 576px){
    .modal-dialog {max-width: 80%;}
}



