html {
	background-color: #ecf0f5;
}
body {
	font-size: 14px;
	color: #000;
}
h1 {
	color: #555;
	font-size: 22px !important;
	text-transform: uppercase;
}
h1 i {
	font-size: 18px !important;
}
ul {
	list-style-type: circle;
	margin-left: -20px;
}
i {
	margin-right: 7px;
}
textarea {
	resize: none;
}

/* Login */
.login-page {
	background-color: #eee;
}
.login-box {
	max-width: 460px;
	margin: 60px auto;
}
.login-logo {
	color: #555;
}
.login-logo img {
	height: 70px;
}
.login-box-body {
	box-shadow: 0 1px 1px rgba(0,0,0,0.1);
	border-radius: 2px;
	background: #fff;
	padding: 30px;
}
.login-box-msg {
	padding: 0 0 10px;
}
.login-page .callout {
	padding: 10px 30px 10px 15px !important;
}

/* Header */
.main-header {
	position: fixed;
	width: 100%;
	/*box-shadow: 0 1px 5px rgba(0,0,0,0.3);*/
}
.main-header .navbar .nav > li > a {
	color: #fff !important;
}
.main-header .navbar .nav > li > a > .badge {
	position: absolute;
	top: 9px;
	right: 5px;
	text-align: center;
	font-size: 12px;
	padding: 2px 5px;
	line-height: 1;
}
.navbar-collapse {
	border-top: 0;
	box-shadow: none;
}

/* Dropdown menu */
.dropdown-menu {
	padding-bottom: 7px;
}
.dropdown-menu > li > a {
	color: #000;
	padding: 5px 20px 5px 15px;
}
.dropdown-menu > li > a:hover {
	background: #f8f8f8;
}
.dropdown-menu.with-icons > li > a > i {
	font-size: 14px;
	margin-right: 7px;
}

/* Navigation */
.navbar-logo > img {
	height: 40px;
}
.navbar-nav .user-image {
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255,255,255,0.2);
	border-radius: 50%;
	margin: -10px 7px -7px 0;
}
.navbar-logo {
	background: #eee;
	padding: 5px 25px 5px 15px;
}

/* Content */
.content-wrapper {
	background: #eee;
	padding-top: 50px;
	padding-bottom: 20px;
}
.content-header {
	padding: 30px 0 5px;
	border-bottom: 1px solid #ddd;
}
.content {
	padding: 15px 0 5px;
}

/* Accordion boxes */
#accordion > .box {
	margin-bottom: 10px;
}

/* Table */
.table {
	margin-bottom: 0;
}
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td,
.table > thead > tr > th,
.table > thead > tr > td {
	border-top-color: #eee;
	padding: 7px 10px;
}
.table > tbody > tr > th a {
	color: #333;
}
.table > tbody > tr > th a:hover {
	color: #555;
}
.table > tbody > tr > th i {
	margin-left: 2px;
}
.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
	padding: 4px 10px;
}
.table-ultra-condensed > tbody > tr > td,
.table-ultra-condensed > tfoot > tr > td,
.table-ultra-condensed > thead > tr > td {
	padding: 1px 10px;
}
.table-ultra-condensed > tbody > tr > th,
.table-ultra-condensed > tfoot > tr > th,
.table-ultra-condensed > thead > tr > th {
	padding: 3px 10px;
}
.table-striped > tbody > tr:nth-of-type(even) {
	background-color: #fff;
}
.table-hover > tbody > tr:hover {
	background-color: #f0f0f0 !important;
}

/* Form */
.form-group:last-child {
	margin-bottom: 0;
}
.form-group > label {
	display: block;
	font-size: 0.8em;
	color: #aaa;
	margin-bottom: -1px;
	text-transform: uppercase;
}
.form-control {
	padding: 0 7px;
	font-size: 14px;
	height: 26px;
	color: #000;
}
.form-control.inline {
  width: auto;
  display: inline-block;
}
.form-control.input-sm {
	height: 24px;
	font-size: 14px;
}
.form-control-feedback {
	width: 26px;
	height: 26px;
	line-height: 26px;
}
form .callout {
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 0;
	display: none;
}

/* Button */
.btn {
	font-size: 12px;
	padding: 7px 12px;
	text-transform: uppercase;
	font-weight: bold;
}
.btn.btn-icon-only i {
	margin-right: 0;
}
.btn-group-sm > .btn, .btn-sm {
	padding: 1px 7px 2px;
	font-size: 14px;
}
.btn.btn-st2 {
	font-size: 0.85em;
	text-transform: uppercase;
	font-weight: bold;
}
.or-cancel {
	margin-left: 5px;
	vertical-align: middle;
}

/* Pagination */
.pagination-goto {
	padding-top: 1px;
}
.pagination-goto select {
	margin-left: 5px;
}
.pagination-sm > li > a, .pagination-sm > li > span {
	padding: 2px 9px;
}
.pagination i {
	margin-right: 0;
}

/* iCheck */
.icheckbox_square-blue,
.iradio_square-blue {
	margin-top: 3px;
}

/* Nav tabs */
.nav-tabs-custom {
	margin-bottom: 0;
	background: transparent;
}
.nav-tabs-custom > .nav-tabs > li {
	border-top-color: #ddd;
	margin-right: 8px;
	margin-bottom: -1px;
	background: #f4f4f4;
	border-radius: 3px 3px 0 0;
}
.nav-tabs-custom > .nav-tabs > li > a {
	padding: 3px 10px 4px;
	border-left-color: #f4f4f4;
	border-right-color: #f4f4f4;
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: bold;
	color: #888;
	display: inline-block;
}
.nav-tabs-custom > .nav-tabs > li.closeable > a:first-child {
	border-right: 0;
	padding-right: 8px;
}
.nav-tabs-custom > .nav-tabs > li.closeable > a:last-child {
	border-left: 0;
	padding-left: 0;
	color: #999;
}
.nav-tabs-custom > .nav-tabs > li.closeable > a:last-child:hover {
	color: #aaa;
}
.nav-tabs-custom > .nav-tabs > li.closeable > a:last-child > i {
	margin-right: 0;
}
.nav-tabs-custom > .nav-tabs > li.closeable.active > a:last-child {
	cursor: pointer;
}
.nav-tabs-custom > .tab-content {
	padding: 15px;
}
.nav-tabs-custom > .tab-content.tab-content-user textarea {
	height: 122px;
	resize: none;
	padding: 4px 8px;
	line-height: 1.2;
	border-color: #e4e4e4;
}

/* Checkbox */
input[type=checkbox], input[type=radio] {
}

/* Box */
.box {
	margin-bottom: 0;
}
.box-body {
	padding: 15px;
	background: #f4f4f4;
}
.box-header, .box-footer {
	padding: 5px 15px;
}
.box-header .box-title {
	font-size: 1em;
}
.box-header .box-title.box-subtitle {
	font-size: 14px;
	vertical-align: middle;
	color: #333;
}
.box-header .box-title.box-title-sm {
	font-size: 0.9em;
	display: block;
	margin: 2px 0;
	text-transform: uppercase;
	font-weight: bold;
}
.box-header > .box-tools {
	position: relative;
	display: inline-block;
	float: right;
	right: auto;
	top: auto;
}
.box-footer {
	border-top-color: #eee;
}
.box-footer .pull-right {
	margin-left: 15px;
}
.box.box-in-another-box {
	box-shadow: none;
	border: 1px solid #e4e4e4;
	border-radius: 0;
	padding: 0px;
	height: 122px;
}
.box.box-in-another-box.box-trataminvas {
	height: 154px;
}
.box.box-in-another-box .box-body {
	height: 100%;
	background: #fff;
	padding: 4px 8px;
	overflow-y: auto;
}
.box.box-slim .box-header,
.box.box-slim .box-footer {
	padding-left: 10px;
	padding-right: 10px;
}

/* Checkbox list */
.checkbox-list {
	padding: 0;
}
.checkbox-list > div {
	width: 100%;
	position: relative;
}
.checkbox-list > table {
	margin-bottom: 0;
}
.checkbox-list > table > tbody > tr > td {
	border-width: 0;
	padding: 0 0 0 5px;
	line-height: 1.1;
	vertical-align: middle;
	height: 22px;
}
.checkbox-list > table > tbody > tr > td:last-child {
	padding-right: 5px;
}
.checkbox-list td.cell-text {
	padding-top: 3px;
	padding-bottom: 3px;
}
.checkbox-list td.cell-text.cell-text-dim {
	font-size: 0.75em;
	text-transform: uppercase;
	font-weight: bold;
	color: #aaa;
}
.checkbox-list td.cell-textfield {
	padding-top: 1px;
	padding-bottom: 1px;
}
.checkbox-list input[type=checkbox] {
	margin: 4px 0;
}
.checkbox-list input[type=text] {
	width: 140px;
	height: 20px;
	padding: 0 3px;
	border-color: #e4e4e4;
}
.checkbox-list input[type=text].narrow {
	width: 80px;
}

/* Popover */
.popover {
	z-index: 1000001;
}
.popover-content {
	padding: 5px 10px 7px;
	font-family: 'Source Sans Pro', sans-serif;
	line-height: 1.2;
	color: #777;
}

/* Search box */
.search-box {
	border-radius: 12px !important;
	padding-left: 10px;
	padding-right: 10px;
	width: 180px !important;
}
.search-box-addon {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 9999;
}
a.search-box-clear i {
	vertical-align: middle;
}

/* Fecha trataminvas (very particular case) */
.fecha-trataminvas {
	margin-top: 7px;
}
.fecha-trataminvas label {
	font-weight: normal;
	margin-right: 7px;
	margin-bottom: 0;
	padding-top: 3px;
}
.fecha-trataminvas input {
	width: 120px;
}

#infoLayer1 {
	height: 356px;
	background: #fff;
	padding: 8px 12px;
}
.infoLayer2, .info-layer-short {
	height: 120px;
}
.info-layer-short > textarea {
	height: 100% !important;
}

/*
.row > div {
	padding-right: 0;
}
.row > div:last-child {
	padding-right: 15px;
}
*/

/* Hacks */
.nowrap { white-space: nowrap !important; }
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mt25 { margin-top: 25px !important; }
.mb0 { margin-bottom: 0 !important; }
.text-condensed { line-height: 1.2; }
.no-border { border: 0 !important; }

/* Responsive */
@media (max-width: 767px) {
	.navbar-nav {
		float: none;
	}
	.table-responsive {
		margin-bottom: 0;
		border: none;
	}
}
@media (min-width: 768px) {
	.navbar-nav a {
		font-weight: bold;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-nav {
		float: right;
	}
	.navbar-nav .logout a span {
		display: none;
	}
	.navbar-nav .logout a i {
		margin-right: 0;
	}
}
@media (max-width: 991px) {
	.main-header .navbar {
		width: 100%;
		float: none;
	}
	.navbar-custom-menu .user {
		display: none !important;
	}
	.navbar-logo {
		display: inline-block;
	}
	.nav-tabs-custom {
		margin-bottom: 15px;
	}
}
@media (min-width: 992px) {
	.navbar-nav .logout {
		display: none;
	}
}
