/* GENERAL //////////////////////////////////////////////*/
body { background-color:#f6f6f6; }
.page-header { margin-bottom:5px; }
.page-header .page-title { color:#000; font-size:18px; font-weight:700; }
.page-header .page-title img { max-height:30px; margin-right:5px; }
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { background-color:#0080d2; }
.dropdown-item { color:#000; font-size:12px; }
.btn-outline-dark:focus, .btn-outline-dark.focus { box-shadow:none; }
.form-control:focus { border-color:transparent; }
.form-control { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); font-size:14px; }
.card { border-radius:0; border:1px solid #ddd; box-shadow:none; }
.text-muted { color:#8f8f8f !important; }
.avatar { height:2.4rem; width:2.4rem; }


/* HEADER //////////////////////////////////////////////*/
.header { border-bottom:none !important; }
.header-top { background:#0E81B5; padding:7px 0 !important; }
.header-top .header-brand { padding:5px 0; }
.header-top .header-brand-img { height:40px; }
.header-top .header-claim { font-size:12px; line-height:normal; color:#fff; font-weight:normal; padding-top:18px; opacity:.5; }
.header-top .header-claim span { font-weight:500; }
.header-top .header-claim .dropdown a.nav-link { color:#fff; }
.header-top .header-claim .dropdown a.nav-link span { opacity:1; }
.header-top .header-claim .dropdown a.nav-link span small { margin-top:3px !important; color:#fff !important; }
.header-top .header-user { padding-top:10px; }
.header-top .header-user .header-user-alert a.nav-link i { font-size:24px; color:#fff; }
.header-top .header-user .header-user-alert a.nav-link .badge-danger { background-color:#fff; color:#0E81B5; }
.header-top .header-user .header-user-alert .dropdown-menu div, .header-top .header-user .header-user-alert .dropdown-menu .text-center { color:#000; font-size:12px; }
.header-top .header-user .header-user-alert .dropdown-menu small { color:#999; font-size:10px; }
.header-top .header-user .profile .avatar { border:2px solid #fff; }
.header-top .header-user .profile .text-default { font-size:12px; color:#fff !important; font-weight:900; }
.header-top .header-user .profile .text-muted { font-size:12px; color:#fff !important; font-weight:400; }

#headerMenuCollapse {
	background-color:#0D79A8;
	-webkit-box-shadow: 0 5px 10px -3px #999;
	-moz-box-shadow: 0 5px 10px -3px #999;
	-ms-box-shadow: 0 5px 10px -3px #999;
	-o-box-shadow: 0 5px 10px -3px #999;
	box-shadow: 0 5px 10px -3px #999;
}
#headerMenuCollapse .nav-tabs .nav-item { margin-top:-1px; padding:0 .35rem; }
#headerMenuCollapse .nav-tabs .nav-item .nav-link { text-transform:uppercase; font-size:12px; color:#fff; opacity:1; font-weight:800; padding:1rem .4rem; }
#headerMenuCollapse .nav-tabs .nav-item .nav-link img { max-height:20px; }
#headerMenuCollapse .nav-tabs .nav-item .nav-link.active { background:#0E81B5; border:none; border-radius:0;
	-webkit-box-shadow: 1px 3px 5px -3px #000;
	-moz-box-shadow: 1px 3px 5px -3px #000;
	-ms-box-shadow: 1px 3px 5px -3px #000;
	-o-box-shadow: 1px 3px 5px -3px #000;
	box-shadow: 1px 3px 5px -3px #000;
}
#headerMenuCollapse .nav-tabs .nav-item .nav-link:not(.active) {}
#headerMenuCollapse .nav-tabs .nav-item.show .nav-link { border-bottom-color:#13a7ea; background:none; }
#headerMenuCollapse .nav-tabs .nav-item .nav-link:hover { opacity:.6; }
#headerMenuCollapse .nav-tabs .nav-item .nav-link img { padding-right:10px; }
#headerMenuCollapse .btn-outline-dark, #headerMenuCollapse .btn-outline-dark:focus { border-radius:30px; font-size:12px; font-weight:400; text-transform:uppercase; color:#fff; border-color:rgba(255, 255, 255, .3); background: #0E81B5; }
#headerMenuCollapse .btn-outline-dark:hover { background-color:#fff; color:#0E81B5; opacity:1; }


/* FOOTER //////////////////////////////////////////////*/
footer.footer { background:#0D79A8; }
footer.footer div { font-size:12px; color:#fff; }
footer.footer a.btn { color:#fff; border-radius:20px; border-color:#fff; }
footer.footer a.btn:hover { background-color:#fff; color:#0D79A8; }
footer.footer a:not(.btn) { color:#fff; }


/* LOGIN //////////////////////////////////////////////*/
.login { background:#0E81B5; }
.login .login-cabecera { padding:0; margin-bottom:0; }
.login .login-cabecera h2 { color:#fff; padding:20px 0; margin:0; font-size:18px; }
.login .card .card-title { font-size:18px; font-weight:500; color:#0E81B5; }
.login .card .card-title span { display:block; font-weight:700; }
.login .card .form-label { font-size:12px; font-weight:400; color:#000; opacity:.6; }
.login .card .form-control { color:#000; font-size:14px; font-weight:400; }
/* .login .card select.form-control, .card select.form-control, .selectize-control.single .selectize-input::after { background-image:url(../images/flecha.png); background-position:95% center; background-size:auto; background-repeat:no-repeat; } */
.login .card .form-footer .btn { background-color:#0E81B5; border-color:#0E81B5; }
.login .card .form-footer .btn:hover { background-color:#0D79A8; border-color:#0D79A8; }
.login .card .custom-control-label { font-size:12px; font-weight:400; }
.login .text-mensaje { font-size:12px; color:#fff !important; }
.login .text-mensaje a { color:#fff; font-weight:700; }

.login .resumen { font-size:12px; }
.login .resumen li { margin-bottom:5px; }
.login .resumen li.cabecera { margin-bottom:15px; margin-top:15px; font-size:21px; font-weight:700; color:#000; }

.login .botonera {}


/* HOME //////////////////////////////////////////////*/
.home .row-ultimosexpedientes {}
.home .row-ultimosexpedientes .card { color:#000; }
.home .row-ultimosexpedientes .card:hover { text-decoration:none; opacity:.6; }
.home .row-ultimosexpedientes .card .text-right { text-transform:uppercase; font-size:9px; margin-bottom:30px; }
.home .row-ultimosexpedientes .card .h1 { font-size:21px; font-weight:900; padding-bottom:10px; }
.home .row-ultimosexpedientes .card .text-muted { font-size:12px; line-height:normal; margin-bottom:5px !important; min-height:35px; }
.home .row-accesos .card { background:#0E81B5; }
.home .row-accesos .card:hover { text-decoration:none; opacity:.6; }
.home .row-accesos .card .card-header { padding:20px; padding-top:22px; border:none; text-align:left; }
.home .row-accesos .card .card-header img { display:inline-block; max-height:40px; }
.home .row-accesos .card .card-body { padding:20px !important; font-size:12px; text-transform:uppercase; font-weight:400; text-align:right; }
.home .row-accesos .card .card-body h3 { text-transform:uppercase; font-size:16px; text-transform:uppercase; font-weight:700; color:#fff; }
.home .row-deck .card { color:#000; }
.home .row-deck .card:hover { text-decoration:none; opacity:.6; }
.home .row-deck .card .card-aside-column { width:25%; }
.home .row-deck .card .card-aside-column img { padding:30px; }
.home .row-deck .col-lg-3 .card .card-aside-column img { padding:25px; }
.home .row-deck .card .card-body { padding:20px; padding-left:0; }
.home .row-deck .card .card-body h4 { font-weight:700; font-size:18px; margin-bottom:5px; line-height:21px; }
.home .row-deck .card .card-body .text-muted { font-size:12px; }


/* LISTADOS //////////////////////////////////////////////*/
.listados .page-header { margin:1.5rem 0 1.5rem; }
.pantallacompleta footer { display:none; }

.pagination {}
.pagination .page-item { margin:0 -2px; }
.pagination .page-item .page-link { border-radius:5px; font-size:12px; padding:0.5rem 0.75rem; border-color:transparent; background-color:transparent; color:#333; }
.pagination .page-item .page-link:hover { opacity:.3; }
.pagination .page-item.active { margin:0 5px; }
.pagination .page-item.active .page-link { color:#333; background:#e9e9e9; }
.pagination .page-item.active .page-link:hover { opacity:.3; }

.table th { padding:10px !important; }
.table th, .text-wrap table th, .table td, .text-wrap table td { border-color:#edecec; }
.table th, .text-wrap table th { text-transform:none; font-size:12px; color:#000; opacity:.3; }
.table th label.custom-control { margin-bottom:0 !important; }
.card-table tr td:first-child, .card-table tr th:first-child { opacity:1; }
.custom-control-label::before { border-color:#edecec !important; opacity:1 !important; }
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { border:none !important; }
.table td, .text-wrap table td { font-size:12px; color:#000; }
.table td .icon, .text-wrap table td .icon { font-size:18px; }

.supertabla {}
.supertabla .filtros { margin:20px 0; }
.supertabla .filtros .btn-outline-dark { border-radius:5px; font-size:12px; font-weight:400; text-transform:uppercase; color:#fff; border-color:#0E81B5; opacity:1; max-width:100px; background:#0E81B5; border:none; }
.supertabla .filtros .btn-outline-dark:hover { border-color:#0E81B5; background-color:#fff; color:#0E81B5; opacity:1; }
.supertabla .filtros .leyenda { display:block; margin-top:10px; margin-bottom:0; }
.supertabla .filtros .leyenda li { float:left; margin-left:20px; font-size:10px; text-transform:uppercase; line-height: 1.2; }
.supertabla .filtros .pagination { margin-bottom:0; }
.supertabla .row-tablas { overflow:auto; overflow-w:hidden; }
.supertabla .row-tablas .col-lg-12 { padding:0; }
.supertabla .row-tablas .card { margin-bottom:0; height:calc(100vh - 190px); }
.supertabla .form-filtros { margin:0 -15px; }
.supertabla .form-filtros .card { border:none; }
.supertabla .form-filtros .form-group { margin:0; }
.supertabla .form-filtros .boton .form-group { margin-top:23px; }
.supertabla .form-filtros .boton .form-group button { float:right; }
.supertabla .form-filtros .checks .form-group { margin-top:30px; }

.circle-pendiente { width:20px; height:10px; background:#ffffff; display:block; border-radius:5px; float:left; margin-right:5px; margin-top:3px; border:1px solid; }
.circle-iniciado { width:20px; height:10px; background:#dc7b00; display:block; border-radius:5px; float:left; margin-right:5px; margin-top:3px }
.circle-activo { width:20px; height:10px; background:#0086dc; display:block; border-radius:5px; float:left; margin-right:5px; margin-top:3px }
.circle-finalizado { width:20px; height:10px; background:#00bc00; display:block; border-radius:5px; float:left; margin-right:5px; margin-top:3px }
.circle-prioridad { width:20px; height:10px; background:#ef1a19; display:block; border-radius:5px; float:left; margin-right:5px; margin-top:3px }

.detalle {}
.detalle .row-titular { margin-top:50px; margin-bottom:50px; }
.detalle .row-titular .estado { margin-top:9px; }
.detalle .row-titular .estado span, .detalle .row-titular .estado a { display:block; clear:both; }
.detalle .row-titular .estado a { padding:7px 2px; }
.detalle .row-titular h1 { font-size:24px; line-height:36px; border-right:1px solid #0E81B5; margin-bottom:0; }
.detalle .row-titular .descripcion h2 { font-size:18px; }
.detalle .row-titular .descripcion p { font-size:12px; color:#999999; }
.detalle .row-titular .cifras h3 { font-size:18px; text-align:right; }
.detalle .row-titular .cifras p { font-size:16px; color:#999999; margin-bottom:0; font-weight:700; text-align:right; }
.detalle .row-detalle-item {}
.detalle .row-detalle-item .estado { margin-top:44px; font-size:12px; color:#000; }
.detalle .row-detalle-item .estado span { width:14px; height:14px; margin-top:1px; }
.detalle .row-detalle-item .principal .card { margin-bottom:0; margin-top:1.5rem; }
.detalle .row-detalle-item .principal .card-table tr td, .detalle .row-detalle-item .principal .card-table tr th { padding:10px; }
.detalle .row-detalle-item .principal .card-table tr td:first-child, .detalle .row-detalle-item .principal .card-table tr th:first-child { padding:10px; }
.detalle .row-detalle-item .principal .card-table tr td:first-child { padding-left:20px; }
.detalle .row-detalle-item .principal .card-table tr th:first-child { padding-right:20px; }
.detalle .row-detalle-item .principal .btn { font-size:12px; color:#666; font-weight:300; }
.detalle .row-detalle-item .principal .btn:focus { outline:0; }
.detalle .row-detalle-item .editar { margin-top:40px; }
.detalle .row-detalle-item .adjuntos { margin-top:15px; }
.detalle .row-detalle-item .adjuntos .card-table tr th { font-size:8px; opacity:.5; padding-bottom:0 !important; }
.detalle .row-detalle-item .adjuntos .card-table tr.clickable { cursor:pointer; }
.detalle .row-detalle-item .adjuntos .card-table tr.clickable:hover { background:#fff4d1; }
.detalle .row-detalle-item .adjuntos .card-table tr td { padding:5px 10px; font-size:12px; border-bottom:1px solid #ccc; }

.detalle .expedientes-detalle .row-partida { margin-bottom:30px; padding-bottom:30px; background:rgba(255, 255, 255, .4); }
.detalle .expedientes-detalle .row-partida .estado { font-size:12px; text-transform:uppercase; color:#000; padding-top:3px; }
.detalle .expedientes-detalle .row-partida h2 { margin-bottom:0; font-size:14px; line-height:1.4; max-width:90%; color:#000; }
.detalle .expedientes-detalle .row-partida h2 a { text-transform:uppercase; font-size:12px; color:#0080d2; margin-right:10px; }
.detalle .expedientes-detalle .row-titular { margin-bottom:0; }
.detalle .expedientes-detalle .row-titular h1 { margin-right:20px; }
.detalle .expedientes-detalle .row-detalle { margin-bottom:70px; }
.detalle .expedientes-detalle .row-detalle-item .adjuntos .card-table tr td { padding:10px; }


/* TABLA CON CONTENIDO FLUIDO y COLUMNAS FIJAS  //////////////////////////////////////////////*/
.outer-container {
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
}

.inner-container {
    height: 100%;
    overflow: hidden;
}

.inner-container table { table-layout:fixed; }

#tablesticky tbody td.col50px, #tablesticky thead th.col50px { min-width:50px !important; }
#tablesticky tbody td.col100px, #tablesticky thead th.col100px { min-width:100px !important; }
#tablesticky tbody td.col150px, #tablesticky thead th.col150px { min-width:150px !important; }
#tablesticky tbody td.col200px, #tablesticky thead th.col200px { min-width:200px !important; }
#tablesticky tbody td.col250px, #tablesticky thead th.col250px { min-width:250px !important; }
#tablesticky tbody td.col300px, #tablesticky thead th.col300px { min-width:300px !important; }
#tablesticky tbody td.col350px, #tablesticky thead th.col350px { min-width:350px !important; }
#tablesticky tbody td.col400px, #tablesticky thead th.col400px { min-width:400px !important; }
#tablesticky tbody td.col450px, #tablesticky thead th.col450px { min-width:450px !important; }
#tablesticky tbody td.col500px, #tablesticky thead th.col500px { min-width:500px !important; }
#tablesticky tbody td.col550px, #tablesticky thead th.col550px { min-width:550px !important; }
#tablesticky tbody td.col600px, #tablesticky thead th.col600px { min-width:600px !important; }
#tablesticky tbody td.grisspan { background:#fff4d1 !important; }
#tablesticky thead th img { min-height:25px !important; max-height:25px !important; width:auto; }

.tableheader {
    height: 40px;
    position: relative;
	padding-right:250px;
}
.tablebody {
    height: calc(100% - 40px);
    overflow: auto;
}
.tableheader th, .tablebody td { width:160px; z-index:9; position:relative; }

table tr td:last-child { text-align:right; }
table tr td.small { min-width:220px; }
table tr td.small a { font-size:9px; text-transform:uppercase; }

/* Fixed */
#tablefixed table {
	position: relative;
	overflow: hidden;
	border-collapse: collapse;
}

#tablefixed thead {
	position: relative;
	display: block;
	overflow: visible;
	padding-right:15px;
	background:#f8f8f8;
}

#tablefixed thead th:nth-child(1) {
	position: relative;
	display: block;
}

#tablefixed tbody {
	position: relative;
	display: block;
	height: calc(100vh - 267px);
	overflow: scroll;
}

#tablefixed tbody tr td:nth-child(1) {
	position: relative;
	display: block;
}

#tablefixed tr td:first-child, #tablefixed tr th:first-child { padding-left:10px !important; }

#tablefixed table { table-layout:fixed; }
/* #tablefixed table .col1 { width:50px !important; }
#tablefixed table .col2 { width:150px !important; }
#tablefixed table .col3 { width:600px !important; }
#tablefixed table .col4, #tablefixed .table .col5, #tablefixed table .col6, #tablefixed table .col7 { width:150px !important; }
#tablefixed table .col8 { width:300px !important; }
#tablefixed table .col9 { width:250px !important; } */
#tablefixed thead tr th, #tablefixed tbody tr td { min-height:40px; }

#tablefixed .circle-finalizado, #tablefixed .circle-finalizado, #tablefixed .circle-finalizado, #tablefixed .circle-finalizado { width:10px; height:10px; margin:5px; }

/* Fixed sticky */
#tablesticky {
	overflow: scroll;
	position: relative;
}

#tablesticky table {
	position: relative;
	border-collapse: collapse;
}

#tablesticky td, #tablesticky th {
	padding: 10px !important;
}

#tablesticky thead th {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	top: 0;
	background:#fff4d1;
	opacity:1;
}

#tablesticky thead th:last-child {
	right:0;
	z-index: 1;
	background:url(../images/sombralastchild.png) left top repeat-y #fff4d1;
}

#tablesticky tbody td { border:none; border-bottom:1px solid #edecec; }
#tablesticky tbody td:last-child {
	position: -webkit-sticky; /* for Safari */
	position: sticky;
	right: 0;
	background:#fff;
}
#tablesticky tbody tr:nth-of-type(2n) td:last-child { background:url(../images/sombralastchild.png) left top repeat-y #fafafa; }

#tablesticky tbody td { min-width:150px !important; }
/*#tablesticky tbody td:first-child { min-width:50px !important; max-width:50px !important; }*/
#tablesticky tbody .col3 { min-width:600px !important; }
#tablesticky tbody td.small { width:150px !important; min-width:150px !important; background:url(../images/sombralastchild.png) left top repeat-y #fff; }
#tablesticky tbody td.small .fe { font-size:11px; margin-right:3px; }
#tablesticky tbody td.small a:hover { background:#fff4d1; }
/* #tablesticky .circle-finalizado, #tablesticky .circle-finalizado, #tablesticky .circle-finalizado, #tablesticky .circle-finalizado { width:10px; height:10px; margin:5px; } */
#tablesticky tbody td div { margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid #eee; }
#tablesticky tbody td div ul { list-style:none; margin:0; padding:0; display:block; white-space:nowrap; }
#tablesticky tbody td div ul li { display:inline; padding:5px; }
#tablesticky tbody td div ul li:first-child { font-weight:bold; }

/* ORDEN EN LA TABLA  //////////////////////////////////////////////*/
table tr th {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.sorting {
  background-color: #D4D4D4;
}

.asc:after {
  content: ' ↑';
}

.desc:after {
  content: " ↓";
}

/* VEHÍCULO  //////////////////////////////////////////////*/
.vehiculo-detalle {}
.vehiculo-detalle .card-header { background: #fff4d1; }
.vehiculo-detalle .card-header h3 { font-weight: bold; }
.vehiculo-detalle .card-header h3 span { display: block; text-transform: uppercase;; font-weight: normal; font-size: 12px; }
.vehiculo-detalle .card-header .custom-switch { margin-bottom: 0; }
.vehiculo-detalle .card-parrafo { border-top: 1px solid rgba(0, 40, 100, 0.12); margin-top: 30px; padding-top: 20px; }
.vehiculo-detalle .card-body .campoeditado { padding:0.375rem 0.75rem; border: 1px solid rgba(0, 40, 100, 0.12); border-radius: 4px; background: #f6f6f6; display: block; }
.vehiculo-detalle hr { display: block; background: rgba(0, 40, 100, 0.12); width: 100%; }
.necesario-item { padding:20px; border-right:1px solid rgba(0, 40, 100, 0.12);border-bottom:1px solid rgba(0, 40, 100, 0.12); }

.vehiculo-trabajar hr { margin-top: 1em; margin-bottom: 1em; }
.card-trabajar h5 { padding: 20px; background: #0E81B5; color: #fff; margin-bottom: 0; }
.card-trabajar .card-body { padding-top: 0; }
.card-trabajar .card-body .card-trabajar-content { padding-top: 20px; margin: 20px 0; border-top:1px solid rgba(0, 40, 100, 0.12); }
.card-trabajar .card-body .card-trabajar-content h6 { color: #000; margin-bottom: 20px; }
.card-trabajar .card-body .card-trabajar-content .custom-switch-description { font-size: 12px; font-weight: bold; }
.card-trabajar .card-body .card-trabajar-content .form-control { background: #f6f6f6;}
.card-trabajar .card-body .card-trabajar-content ul { padding-left: 10px; margin: 0; }
.card-trabajar .card-body .card-trabajar-content ul li { font-size: 12px; font-weight: bold; color: #6e7687; }
.card-trabajar .card-body .card-trabajar-content ul li .icono { font-weight: bold; color: #0E81B5; }

	/* Botón nuevo */
	.supertabla .filtros .btn-outline-dark { margin-top: 0 !important; }
	.supertabla .filtros .btn-outline-dark.btn-crear { margin-right: 20px; background-color: #00bc00; max-width: 205px; }
	.supertabla .filtros .btn-outline-dark.btn-crear:hover { color:#00bc00; background-color: #fff; }

/* DOBLE HEAD  //////////////////////////////////////////////*/
#tablesticky thead th.colseccion { min-width: 30px !important; }
#tablesticky thead th.colseccion h3 { margin-bottom: 0; text-transform: uppercase; font-size: 10px; font-weight: bold; padding-bottom: 5px; border-bottom: 1px solid #000; }
#tablesticky thead th.colseccion h3 img { max-height: 15px !important; min-height: 15px !important; max-width: 30px !important; /* float: left; margin-right: 10px; */ }
#tablesticky thead th.colseccion h3 span { display: block; }
#tablesticky thead th.colseccion.solouno { width: 30px !important; }
#tablesticky thead th.colseccion.colspan-2 { width: 60px !important; }
#tablesticky thead th.colseccion.colspan-3 { width: 90px !important; }
#tablesticky thead th.colseccion.colspan-4 { width: 120px !important; }
#tablesticky thead th.colseccion.colspan-5 { width: 150px !important; }
#tablesticky thead th.colseccion.colspan-6 { width: 180px !important; }
#tablesticky thead th.colseccion table { height: 120px !important;}
#tablesticky thead th.colseccion table tbody tr td, #tablesticky thead th.colseccion table tbody tr td:last-child { width: 30px !important; min-width: 30px !important; max-width: 30px !important; padding: 0 !important; background: none !important; border: none; vertical-align: bottom; } 
#tablesticky thead th.colseccion table tbody tr td span {
	white-space: nowrap;
	font-weight: normal;
	letter-spacing: 0.5px;
	display: block;
	font-size: 10px;
	text-align: left;
	overflow: hidden;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	text-transform: uppercase;
}
#tablesticky thead th.colseccion.solouno h3 img { margin-bottom: 11px; }
#tablesticky tbody td.colsubseccion, #tablesticky thead th.colseccion ul li, #tablesticky tbody td.bordedcho  { width: 30px !important; min-width: 30px !important; max-width: 30px !important; }
#tablesticky tbody td.seccionppal { background:#000; color:#fff; font-size:11px; display:none; }

/* PLANIFICADOR //////////////////////////////////////////////*/
#tablesticky thead th { z-index: 1; }
/* #tablesticky thead tr:after { background: #000; content: ""; height: 3px; width: 100%; position: absolute; left: 0; top: 0; } */
#tablesticky thead tr:last-child th { border-bottom:6px solid #000; }
#tablesticky thead th.bordedcho:before, #tablesticky thead th.colseccion:before, #tablesticky tbody td.bordedcho:before { background: #000; content: ""; width: 3px; height: calc(100% + 3px); position: absolute; right: 0; top: 0; }
#tablesticky thead th.bordeizq:after, #tablesticky tbody td.bordeizq:after { background: #000; content: ""; width: 3px; height: calc(100% + 3px); position: absolute; left: -3px; top: 0; }
#tablesticky tbody td { position: relative; z-index: 0; }

.supertabla .filtros .leyenda.leyenda-grande { margin: 0; }


.punto-autorizado, .punto-sinautorizacion { width: 10px; height: 10px; display: block; border-radius: 50%; float: left; margin-right: 5px; margin-top: 3px; }
.punto-autorizado { background: #00bc00; }
.punto-sinautorizacion { background: #ffffff; border:1px solid #000000; }

.cuadrado-pendiente, .cuadrado-iniciado, .cuadrado-finalizado, .cuadrado-validado { width: 15px; height: 15px; display: block; border-radius: 2px; float: left; margin-right: 5px; margin-top: 0; color: #fff; font-weight: bold; font-size: 14px; padding: 2px 5px; }
.cuadrado-pendiente { background: #ffffff; border:1px solid #000000; }
.cuadrado-iniciado { background: #dc7b00; }
.cuadrado-finalizado { background: #00bc00; }
.cuadrado-validado { background: #0096d2; }
.cuadrado-pendiente-prioritario, .cuadrado-iniciado-prioritario, .cuadrado-finalizado-prioritario, .cuadrado-validado-prioritario { width: 15px; height: 15px; display: block; border-radius: 2px; float: left; margin-right: 5px; margin-top: 0; color: #fff; font-weight: bold; font-size: 14px; padding: 2px 5px; }
.cuadrado-pendiente-prioritario { background: #ffffff; border:3px solid #ff0000; }
.cuadrado-iniciado-prioritario { background: #dc7b00; border:3px solid #ff0000; }
.cuadrado-finalizado-prioritario { background: #00bc00; border:3px solid #ff0000; }
.cuadrado-validado-prioritario { background: #0096d2; border:3px solid #ff0000; }


.cuadradomp-sinpedido, .cuadradomp-gestionando, .cuadradomp-pedido, .cuadradomp-parcial, .cuadradomp-completo, .cuadradomp-incidencia, .cuadradomp-sinrevisar, .cuadradot-sinenviar, .cuadradot-enviado, .cuadradot-recibido { width: 15px; height: 15px; display: block; border-radius: 5px; float: left; margin-right: 2px; margin-top: 0; color: #fff; font-weight: bold; font-size: 14px; padding: 2px 5px; }
.cuadradomp-sinpedido { background: #E3DAC9; }
.cuadradomp-gestionando { background: #FFFF00; }
.cuadradomp-pedido { background: #FF8000; }
.cuadradomp-parcial { background: #61380B; }
.cuadradomp-completo { background: #0000FF; }
.cuadradomp-incidencia { background: #000000; }
.cuadradomp-sinrevisar { background: #572364; }

.cuadradot-sinenviar { background: #E3DAC9; }
.cuadradot-enviado { background: #ff0000; }
.cuadradot-recibido { background: #00bc00; }

.leyendaoculta { display: block; }
.leyendaoculta .card { padding: 20px; }
.leyendaoculta .card div { margin-bottom:20px; }
.leyendaoculta .card div h5 { font-size:14px; font-weight:700; color:#000; margin-bottom:5px; }
.leyendaoculta .card div .leyenda li { margin-left:0; margin-right:20px; }

.tituloseccion h2 { font-size: 24px; color: #0E81B5; text-transform: uppercase;; font-weight: 700; margin-bottom: 0; }

.btn-file.btnaniadir a, .btn-file.btnborrar a {
	border-radius: 30px;
	padding: 3px 10px;
	font-size: 11px;
	text-transform: uppercase;
	margin-top: 10px;
	color: #000;
}
.btn-file.btnaniadir a { color:#fff; background: #00bc00; margin:20px; display:block; }
.btn-file.btnaniadir a:hover { background:#019401; text-decoration:none; }
.btn-file.btnborrar a { color:#fff; background: #bc0012; }
.btn-file.btnborrar a:hover { background:#95010f0; text-decoration:none; }

/* RESPONSIVE //////////////////////////////////////////////*/
#tablesticky table.table tbody tr td label { display:none; }
#tablesticky h2.mensaje { display:none; }
@media only screen and (max-width: 768px) {
	.header-top .header-claim span { max-width:150px; }
	.header-top .header-claim .dropdown .nav-link { font-size:18px; margin-top:8px; padding-left:0; }
	.header-toggler { margin-top:10px; color:#fff; }
	
	#headerMenuCollapse { padding-top:15px !important; }
	#headerMenuCollapse .nav-tabs .nav-item { display:block; text-align:center; }
	#headerMenuCollapse .nav-tabs .nav-item .nav-link { display:inline-block !important; }
	#headerMenuCollapse .nav-tabs .nav-item .nav-link img { display:none; }
	#headerMenuCollapse .nav-tabs .nav-item .dropdown-menu { width:100%; margin-top:0; border:none; left:5px; }
	#headerMenuCollapse .nav-tabs .nav-item .dropdown-menu.dropdown-menu-arrow::before { left:calc(50% - 6px); }
	#headerMenuCollapse .nav-tabs .nav-item .dropdown-menu.dropdown-menu-arrow::after { left:calc(50% - 6px); }

	.supertabla .row-tablas .card { height: auto; }
	.supertabla .row-tablas .col-lg-12 { padding-left: 15px; padding-right: 15px; }
	#tablesticky table.table { width: 100vw !important; max-width: 100vw !important; }
	#tablesticky table.table thead { display: none; }
	#tablesticky table.table, #tablesticky table.table tbody, #tablesticky table.table tbody tr, #tablesticky table.table tbody tr td { width: calc(100vw - 30px) !important; max-width: 100vw !important; min-width: 50px !important; min-height: 39px !important; }
	#tablesticky table.table tbody td { display: block; }
	#tablesticky table.table tbody td:last-child { position: relative; }
	#tablesticky thead th.bordedcho::before, #tablesticky thead th.colseccion::before, #tablesticky tbody td.bordedcho::before { display: none; }
	#tablesticky tbody td.small, #tablesticky tbody tr:nth-of-type(2n) td:last-child { background: none; }

	.header-top .header-claim { display: none !important; }
	.supertabla .filtros { margin: 10px 0; }
	.supertabla .filtros .w-75 { width: 100% !important; }
	.supertabla .filtros .leyenda { clear: both; padding-top: 5px !important; }
	.supertabla .filtros .d-flex { display: block !important; }
	.supertabla .filtros .btn-outline-dark { width: 30%; float: left; }
	.supertabla .filtros .btn-outline-dark.btn-crear { width: calc(70% - 15px); max-width: 100%; float: left; margin-right: 15px; }
	.supertabla .filtros .leyenda li { padding-bottom: 5px; }
	
	.supertabla .form-filtros { margin:0 !important; }
	.supertabla .form-filtros .row div { margin-bottom:5px; }
	
	.supertabla .filtros .btn-outline-dark { margin-right:10px !important; }
	.supertabla .filtros .btn-outline-dark.btn-crear { display:block; width:100%; margin:0 !important; margin-bottom:10px !important; }
	
	.card { overflow:hidden; }
	.card .table { overflow:auto; width:auto; max-width:none; display:block; min-width:100%; }
	.card .table tbody { min-width:100%; }
	
	#tablesticky table.table tbody tr td label { display:block; float:left; width:40%; font-weight:bold; }
	#tablesticky table.table tbody td.seccionppal { display:block; text-transform:uppercase; padding-top:5px !important; padding-bottom:5px !important; min-height:10px !important; }
	
	.supertabla.planificacion .filtros .d-flex { display:block; width:100%; }
	.supertabla.planificacion .tituloseccion h2 { font-size:18px; padding:10px 0; }
	
	#tablesticky h2.mensaje { display:block; width:100%; margin:0; padding:15px; font-size:24px; color:#000; text-align:center; background:#ddd; }
	
	.necesario-item { border-left:1px solid rgba(0, 40, 100, 0.12); background:rgba(0, 40, 100, 0.05); margin:0 -25px; width:calc(100% + 50px); }
	.necesario-item:first-child { border-top:1px solid rgba(0, 40, 100, 0.12); }
	.nav-tabs { border-bottom:none; margin-bottom:10px; }
	.nav-tabs .nav-item { padding:0; margin-right:10px; }
	.nav-tabs .nav-item .nav-link { padding:10px 0; font-size:11px; text-transform:uppercase; }
	
	#tablesticky tbody td div ul { list-style:none; margin:0; padding:0; display:block; white-space:normal; }
	#tablesticky tbody td div ul li { display:block; }
}

