/**** GENERAL *****/

::-webkit-scrollbar {display: none;}
body {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	background-color: #f5f5f5;
}
a {
	cursor: pointer;
}
.main-tabla, .main-index {
	padding-right: 20px;
}
.main-index a {
	color: #4f4f4f;
}
.sc_metricas .card {
	background: #374BD12E;
}
.sc_kpis .card {
	background: #ddf9de;
}
.sc_actividades .card {
	background-color: #762fde1a;
}
.sc_registro .card {
	background: #e9e9e9;
}

.titulo_header {
	display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ENCARGOS */
.itemDocumentos{
	display: inline-flex;
	margin-bottom: 15px;
}
.textoSpanDocumento{
	white-space: initial;
	max-width: 120px;
	text-decoration: none;
    font-weight: 500;
    font-family: monospace;
    color: black;
    background-color: #d7d7d7a1;
    position: relative;
	top: 0px;
    left: 0px;
    text-align: center;
    border-radius: 5px;
}

.textoSpanDocumentoAlert{
	white-space: initial;
	max-width: 100%;
	text-decoration: none;
    font-weight: 500;
    font-family: monospace;
    color: black;
    background-color: #d7d7d7a1;
    position: relative;
	top: 0px;
    left: 0px;
    text-align: center;
    border-radius: 5px;
}

.gridDocumentos-iconoPapelera{
    color: #2779ff;
    position: relative;
    left: -20px;
    top: -10px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    background-color: #f0f0f0;
    border-radius: 20px;
}

.gridFotografías-iconoPapelera{
	color: #2779ff;
    position: relative;
	left: -20px;
    top: -20px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: gray;
    background-color: #f0f0f0;
    border-radius: 20px;
}


#usuariosTable_wrapper .dt-buttons .dt-button, #clientesTable_wrapper .dt-buttons .dt-button, #facturasTable_wrapper .dt-buttons .dt-button {
    margin-right: 10px;
}

.dataTables_paginate .fg-button {
	color: #4181f2;
}
#accionesTable_wrapper .dt-button, #solicitudesTable_wrapper .dt-button, #registroTable_wrapper .dt-button {
	border: 1px solid #000;
    padding: 2px 20px;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 15px 10px !important;
}
.modal-title {
	font-weight: 700;
}
table.dataTable thead th div.DataTables_sort_wrapper {
	padding-top: 15px;
}

table.dataTable thead th.ui-state-default:first-child, table.dataTable tfoot th.ui-state-default:first-child {
    border-left-width: 0 !important;
}
.dataTables_scrollBody {
	overflow: auto !important;
}
table.dataTable.stripe tbody tr.odd {
	background-color: #e7e7e7 !important;
}
table.dataTable.row-border tbody td {
	border-bottom: 1px solid #999999;
}
table.dataTable.row-border tbody tr:last-child td{
	border-bottom: none;
}

.accionesTable {
	width: 100% !important;
}
#accionesTable_wrapper .dataTables_scrollHeadInner {
	width: 100% !important;
}



/*

.dataTables_sizing {
	height: 60px !important;
}

*/

.acciones_facturas .dropdown-menu.show {
    display: flex;
}
.acciones_facturas.dropstart .dropdown-toggle:before {
    display: none;
}

.modal {
	padding-top: 60px;
}

/***** Navbar ****/
.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 8px 20px;
    text-transform: uppercase;
}
.navbar-light .navbar-nav .nav-link.active {
	color: #ccc5c7;
	background-color: transparent;
    border-radius: 5px;
}
.navbar-light .navbar-nav .nav-link:hover {
	color: #fff;
	opacity: 0.8;
}




/***** Sidebar ****/
#sidenav-slim {
	top: 77px !important;
}
#sidenav-slim .sidenav-link.active, #sidenav-slim .sidenav-link:hover {
	color: #925c6a;
	background-color: rgba(146, 92, 106, .3);
}
#sidenav-slim .sidenav-link {
	font-weight: 600;
}
#sidenav-slim .sidenav-item {
	margin-bottom: 10px;
}




.inputSelectorFichero{
	width: calc(100% - 65px);
}

.login_resRecov,.login_resLogin{
	text-align: center;
    font-size: smaller;
    font-style: italic;
}

.main-tabla .card-header {
	display: flex;
    justify-content: space-between;
	align-items: center;
}

.acciones {
	text-align: center;
}
.acciones i {
	font-size: 1.2em;
}
.toast-header {
	font-size: 20px;
}
.new_observacion {
	background-color: #f4f4f4;
    padding: 15px;
}

/* Sidebar */
.list-group-item.active {
    z-index: 2;
    color: #925c6a!important;
    background-color: transparent;
	border: none !important;
	box-shadow: none !important;
}
#sidebarMenu .list-group-item-action {
	color: #4181f2;
}

.text-brand {
	color: #6a8523;
}
.btn-brand_outline {
	border: 1px solid #4181f2;
	color: #4181f2;
	background: #fff;
}
.btn-brand, .bg-brand {
	color: #fff;
	background-color: #762FDE;
}
.btn-brand:hover {
	color: #fff;
}
.btn-pdf {
	background-color: #ff2116;
	color: #fff;
}
.btn-word {
	background-color: #2a5699;
	color: #fff;
}
#sidebarMenu .list-group-flush>.list-group-item {
	margin: 10px 0;
	border: none;
}
.link-login {
	text-decoration:underline;
	color: #6a8523;
	font-size: 0.9em;
}
.link-login_footer {
	color: #676767;
    font-size: 0.9em;
}

.alertaRoja {
	background: rgb(230,50,50);
background: linear-gradient(90deg, rgba(230,50,50,1) 0%, rgba(255,255,255,1) 47%);
  /*color: #e61919;*/
}

.alertaNaranja {
  background-color: orange !important;
  color: #fff;
}

/********** RESPONSIVE ************/
@media (max-width: 1367px) { 
	.main-tabla {
		padding-left: 0 !important;
		padding-right: 0 !important;
	} 
	.main-tabla > .container-fluid {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.main-tabla .card {
		padding: 0 !important;
	} 
	.dataTables_wrapper {
		font-size: 13px !important;
	}
	.titulo_header {
		padding-left: 20px;
		padding-right: 20px;
	}
}



@media (min-width: 991.98px) {
  /* main {
	padding-left: 20px;
  } */
  .navbar-brand img {
    width: 90px;
    margin-right: 30px;
    margin-left: 20px
  }
  .toggler-sm {
	  display: none;
  }
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 80px 0 0; /* Height of navbar */
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
  width: 240px;
  z-index: 0;
}

@media (max-width: 991.98px) {
  .sidebar {
	width: 100%;
  }
}
.sidebar .active {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

ul{
  list-style-type: none;
}


@media (max-width: 992px) {
	.main-index {
		padding-right: 0;
	}
	.toggler-xl {
		display: none;
	}
	.navbar {
		z-index: 9999;
	}
	#sidenav-slim {
		top: 45px !important;
	}
	.navbar-brand img {
		width: 50px;
	}
	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: .5rem;
		padding-left: .5rem;
	}
	.main-tabla {
		padding-right: 0;
	}
	.main-tabla .card-header {
		display: block;
	}
	.main-tabla .card-header .btn-brand {
		margin-top: 15px;
	}
	.main-tabla .card-header .year-expediente {
		margin-top: 15px;
	}
	#sidebarMenu .list-group-flush>.list-group-item {
		margin: 5px 0;
		border: none;
    }
	.col-logo {
		height: auto !important;
		margin-bottom: 50px;
	}
	.logo-login {
		width: 100%;
	}
	.col-form {
		padding-right: 0;
		margin-bottom: 50px;
	}
	.row-form {
		width: 90%;
	}
	.row-form #formularioLogin {
		padding: 1rem !important;
	}
}
@media (max-width: 768px) {
	.w-sm {
		width: 100% !important;
	}
	.img_sm {
		width: 70px !important;
	}
	.sc_metricas .col {
		flex: 1 0 100%;
	}
}
@media (max-width: 640px) {
	.dataTables_wrapper .dataTables_filter {
		margin-top: 1.5em !important;
		margin-bottom: 1.2em !important;
	}
	.long-title {
		display: block;
	}
	.long-title h4 {
		margin-bottom: 10px !important;
	}
}

/*.dataTables_scrollBody {
  overflow: visible !important;
}
*/
