.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;
}
#anadir{float:left;}
#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:15px 0px 8px 18px;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; }
.form-control{border-radius: 4px;padding-top:4px;height: 34px;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;
}
.fondocheck{
    background: #6C6C6C;
    padding-bottom: 12px;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 3px;
    color: black;
    padding-top: 10px;
}

/*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;}
.boton-editar{margin-left:12px;width:40px;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-eliminar{margin-left: 5px;width: 40px;font-size: 13px;font-weight:bold;padding: 2px 0px 2px 2px;border: 1px solid #000;display: inline;background-image: linear-gradient(to bottom, #e40a0a, #9f0202) !important;}

/*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: 18px;
    line-height: 0;
    vertical-align: 0;
    padding: 12px 0 15px 3px;
}
.fa-trash-alt{
    font-size:17px;
    padding: 12px 2px 15px 0px;
}

#datatable{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-pdf{background-image:linear-gradient(to bottom, #e40a0a, #9f0202) !important;color:white !important;text-shadow: 1px 1px 1px black  !important;padding:4px 8px 4px 8px !important;font-size: 13px !important;font-weight: bold !important;border-radius: 5px !important;margin-left:10px !important; margin-right: 18px !important;border:1px solid grey  !important;}
.buttons-pdf:hover{background-image:linear-gradient(top, #e40a0a, #9f0202) !important;}
.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;}
#datatable tfoot {display: table-row-group;}/*ubicar debajo del thead*/
.bot_on{background: linear-gradient(to bottom, #d1e2f7 0%, #79ace9 100%) !important;}/*Colmunas botón visible*/

div.dt-buttons{float:none !important;display: inline;}
/*Login*/
.icheck-primary label{color:#575757;text-shadow:none; }

/*MODAL CARGANDO*/
.modal .modal-dialog.centrado {
  top: 10%;
  position: relative;
  margin: 0 auto;
  display: table;
}

/*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;}
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: 0px !important;
    padding-left: 10px !important;
    padding-right: 0px !important;
    padding-top: 0 !important;
    width: 0 !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;}
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;
}
/*fin datatables*/

/*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;
}

.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*/
.chosen-container-single .chosen-single span{
    color: #000;
    font-size: 14px !important;
    margin-left: 9px !important;
    margin-top: 1px !important;
}
.form-body .chosen-container.chosen-container-single {
    width: 100% !important; /* or any value that fits your needs */
}
.chosen-container-single .chosen-single{
    height: 30px;/* altura select */
}
/*fin chosen */
.cname{text-transform: capitalize;}
.centrado{display: table;margin:0 auto;}

div.dataTables_wrapper div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 1em 0;
  background-color: #438ac7 !important;
  color: white !important;
  font-weight: bold;
  text-shadow: 1px 1px 1px black !important;
  box-shadow: 0px 0px 17px 5px grey !important;
}

#tabla2{display: none;}
.activado{color: #00a10a;}
.desactivado{color: #cc0808;}
.negrita{font-weight: bold;}
/*Media queries*/
@media only screen and (min-width: 1280px){
    .modal-dialog{max-width:42% !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;}
    table.compact tr td:last-child{padding-left:15px;padding-top:15px;display: table-cell;justify-content: none;}
}

