/*
NAVBAR
*/
.navbar-inner {
	background-color: #a40808;
}

.navbar .brand {
	padding: 9px 10px;
	margin-left: 0;
}

.container {
	width: 98%;
}

/**AJUSTE DE FORM DE BUSQUEDAS */
#form-filter-results input,
#form-filter-results select {
	margin-right: 10px;
	margin-left: 10px;
}

#form-filter-results .submit input {}

#form-filter-results label {
	width: 120px;
	text-align: right;
	text-wrap: wrap;
    vertical-align: middle;
}

form.form-search > div.submit {
	text-align: right;
	width: 100%;
}

form.form-search > div.submit input {
	margin-right: 30px !important;
}

/** AJUSTE DE INLINE EDITOR 
.inplaceedit form {
padding:0; margin:0;
}
.inplaceedit form > * {
margin: 0px 5px;
}
*/
/** AJUSTE DE INLINE EDITOR XEDITABLE */
.editable-click,
a.editable-click,
a.editable-click:hover {
	text-decoration: none;
	border-bottom: none;
}

.editable-empty,
.editable-empty:hover,
.editable-empty:focus {
	font-style: italic;
	font-size: small;
	color: #a0a0a0;
	text-decoration: none;
}

/*Header de docs sticky*/
.doc-header {
	position: sticky;
	top: 0px;
}

/*VISUALIZACION DE DOCS INLINE*/
.documents.view .table.narrow {
	width: 48%;
	float: left;
	margin-right: 20px;
}

#document {
	width: 50%;
	float: left;
	height: 600px;
}

.related {
	clear: both;
}

.box, form.form-search > div {
	display: inline-block;
	white-space: nowrap;
	margin: 5px 0px;
	min-height: 40px;
	min-width: 360px;
}

div.box div.input {
    display: inline;
}

div#filter-form form {
	background: #eee;
	padding: 10px;
}

.short {
	width: 80px;
}

form.well {
	overflow: auto;
}

.table th,
.table td,
.table td .editable {
	white-space: nowrap;
}

td.moneda, td.moneda .editable {
    white-space: nowrap !important;
}

.consulta .table th,
.consulta .table td,
.consulta .table td .editable {
	white-space: nowrap;
	max-width: 200px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.consulta td.actions {
	overflow: initial;
}

.documents.view .table th,
.documents.view .table td,
.documents .table td .editable {
	white-space: normal;
}

.docframe {
	height: 850px;
	width: 600px;
}

#notas {
	margin-top: 10px;
	border: 2px inset;
	padding: 10px;
	width: 50%;
}

.note.texto {
	border-top: 1px solid #dddddd;
	padding-top: 10px;
	margin-bottom: 0;
}

.note.autor {
	font-size: 80%;
	font-style: italic;
	margin-bottom: 10px;
}

.inactive {
	background: #eee;
}

.inactive td {
	color: #ccc;
}

.processes tr.inactive {
	display: none;
}

li.optgroup-label {
	padding-left: 20px;
}

#control h3 {
	line-height: 0px;
}

#control a:hover {
	text-decoration: none !important;
}

#control small {
	font-size: 70%;
}


.remitos.print {
	width: 21cm;
	position: relative;
}

.gridtable {
	width: 100%;
}

.gridtable td {
	padding: 6px;
	vertical-align: top;
	border-top: 1px solid #ccc;
	font-size: 75%
}

.gridtable th {
	background: #007090;
	color: #fff;
	text-align: left;
	padding-left: 5px;
	font-size: 18px;
	height: 30px;
}

.remitos.print .header td {
	border: 1px solid #ccc;
}

.remitos.form #filter-table thead {
	background: #eee;
}

.remitos.form #filter-table td {
	max-width: 250px;
	text-overflow: ellipsis;
	overflow: hidden;
}

.remitos p.subtitle {
	padding: 15px;
}

.popover-content {
	color: #555555;
}

.DocumentStatusLogisticoFecha input {
	line-height: 20px;
	border: 1px solid #ccc;
	width: 120px;
	padding: 5px;
}

button.btn.btn-transparent {
	background-color: transparent;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

/*PAG*/
.pagination .dropdown-menu a {
	border: none;
	float: none;
}

.pagination .btn {}

.pagination .btn {
	color: #5192fb;
	height: 36px;
	background-color: #ffffff;
	border: 1px solid #ddd;
	border-left-width: 0;
}

.pagination .btn:hover,
.pagination .btn:active {
	color: #1f73fa;
	background-color: #f5f5f5;
}

.pagination .btn:active,
.pagination .btn.active {
	background-color: #ffffff \9;
}

.pagination .btn .caret {
	margin-left: 5px;
}

.pagination div.select {
	margin-left: 10px;
	float: left;
	line-height: 34px;
}

.pagination div.select select {
	margin: 0 0 0 10px;
}

.pagination label {
	display: inline;
}

.paginator p {
	clear: both;
}

#dirlist,
#dirlistret {
	height: 250px;
	overflow: auto;
}

#dirlist a,
#dirlistret a {
	display: block;
}

li.selected {
	background: #5192fb;
}

li.selected a {
	color: #fff;
}

select.selectpicker {
	height: 28px;
}

.col-md-6 {
	float: left;
	width: 50%;
}

.clearfix {
	clear: both;
}

.dropdown-menu li>a {
	color: #000;
}

.row {
	min-height: 25px;
}

.row.head-title {
	color: #999;
	font-size: 16px;
	background-color: #eee;
	padding: 5px;
}

.row.head-data {
	color: #000;
	font-size: 22px;
	font-weight: bold;
	background-color: #ccc;
	margin-bottom: 15px;
	padding: 5px;
}

.imputaciones .editable {
	white-space: normal !important;
}

.bootstrap-select-searchbox input.input-block-level.form-control {
	margin: 0 !important;
}

div.processes.view .accordion-inner {
	padding: 9px 15px 66px 15px;
}

.table.imputaciones h4 {
	font-style: italic;
	font-weight: bold;
}

.table.imputaciones td {
	white-space: normal;
}


tr.subtotal td,
tr.total td {
	font-style: italic;
}

tr.subtotal .texto {
	text-align: right;
}

tr.total .texto {
	text-align: right;
}

tr.subtotal {
	background: rgb(237, 237, 237);
}

tr.total {
	background: rgb(219, 219, 219);
}

.modal {
	left: 40%;
	width: 60%;
}

.modal-backdrop,
.modal-backdrop.fade.in {
	opacity: 0.4;
}

#fill {
	left: 55%;
}

td span.numero {
	font-size: 80%;
	font-style: italic;
}

.print h3 {
	font-size: 18px;
}

.print th {
	font-size: 16px;
	background-color: #ccc;
}

tr.header td {
	border: none;
}

.factdetalle.print {
	font-size: 75%;
	width: 297mm;
}

.factdetalle.print h2,
.factdetalle.print h3,
.factdetalle.print h4 {
	padding: 0;
	margin: 0;
}

.factdetalle.print td,
.factdetalle.print th {
	line-height: initial;
	padding: 6px;
}

.factdetalle .header p {
	font-size: 14px;
	line-height: 8px;
}

table.borderless td {
	border: none;
}

td.wide {
	max-width: initial !important;
}

.has-error {
	border: 1px solid red !important;
}

/*Modulo de auditoria*/
table.audit {
	background: #eee;
}

/*Fix para tablas de datepicker*/
.table-condensed {
    width: 100%;
    margin-bottom: 20px;
}

.file-input-name {
	display: none;
}

.formsmg form {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background: #ccc;
  	padding: 14px;
}