
:root {
	--principal:#002776;
	--secundario:#7aa2f4;
	}



.ayuda {
	margin-top:20px;
	margin-bottom:20px;
	padding:15px;
	border-radius:10px;
	border:2px dotted #333;
	font-size:16px;
	text-align:justify;
	}

/* ----------------------- TAGS SETTINGS  ------------------------------ */

a		{color:var(--principal);}
a:hover {color:var(--secundario);}
.bg-danger, .danger {background-color: #fe8f8f !important;}
.bg-warning, .warning {background-color: #face80 !important;}



/* ----------------------- GLOBAL INTERFACE ----------------------- */


.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
    margin-left: 0;
	}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p {
	margin-left: 0;
	white-space:normal;
	}

.main-header .navbar {
  background-color: var(--principal);
}
.main-header .navbar .nav > li > a {
  color: #ffffff;
}
.main-header .navbar .nav > li > a:hover,
.main-header .navbar .nav > li > a:active,
.main-header .navbar .nav > li > a:focus,
.main-header .navbar .nav .open > a,
.main-header .navbar .nav .open > a:hover,
.main-header .navbar .nav .open > a:focus,
.main-header .navbar .nav > .active > a {
  background-color:var(--secundario);
  color: #fff;
}
.main-header .navbar .sidebar-toggle {
  color: #ffffff;
}
.main-header .navbar .sidebar-toggle:hover {
  color: #f6f6f6;
  background: rgba(0, 0, 0, 0.1);
}
.main-header .navbar .sidebar-toggle {
  color: #fff;
}
.main-header .navbar .sidebar-toggle:hover {
  background-color: var(--secundario);
}
@media (max-width: 767px) {
  .main-header .navbar .dropdown-menu li.divider {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .main-header .navbar .dropdown-menu li a {
    color: #fff;
  }
  .main-header .navbar .dropdown-menu li a:hover {
    background: var(--secundario);
  }
}
.main-header .logo {
  background-color: var(--principal);
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.main-header .logo:hover {
  background-color: var(--secundario);
}
.main-header li.user-header {
  background-color: var(--principal);
}
.content-header {
  background: transparent;
}
.wrapper,
.main-sidebar,
.left-side {
  background-color: #f9fafc;
}
.content-wrapper,
.main-footer {
  border-left: 1px solid #d2d6de;
}
.user-panel > .info,
.user-panel > .info > a {
  color: #444444;
}

.sidebar-menu {
	margin-top:30px;
	}

.sidebar-menu > li {
  -webkit-transition: border-left-color 0.3s ease;
  -o-transition: border-left-color 0.3s ease;
  transition: border-left-color 0.3s ease;
}
.sidebar-menu > li.header {
  color: #848484;
  background: #f9fafc;
}
.sidebar-menu > li > a {
	  border-left: 3px solid transparent;
	  font-weight: 600;
	}
.sidebar-menu li a {
	display:block;
	overflow:hidden;
	white-space:nowrap;
	text-overflow: ellipsis;
	}

.sidebar-menu > li > a > i {
	color:var(--principal);
	}

.sidebar-menu > li:hover > a,
.sidebar-menu > li.active > a {
  color: #000000;
  background: #f4f4f5;
  border-left-color:var(--principal);
}
.sidebar-menu > li.active {
  border-left-color: var(--principal);
}
.sidebar-menu > li.active > a {
  font-weight: 600;
}
.sidebar-menu > li.active > a > i {
	color:white;
	}
.sidebar-menu > li > .treeview-menu {
	background: #f4f4f5;
	padding-top:5px;
	padding-bottom:15px;
	box-shadow: inset 0 -7px 9px -7px rgba(0,0,0,0.4);
	}
.sidebar-menu .treeview-menu > li > ul > li > ul > li a{
	padding-top:0;
	padding-bottom:0;
	}
.sidebar-menu .treeview-menu > li > ul > li > ul > li a i{
	font-size:10px;
	}

.sidebar a {
  color: #444444;
}
.sidebar a:hover {
  text-decoration: none;
}
.treeview-menu > li > a {
  color: #777777;
}
.treeview-menu > li.active > a,
.treeview-menu > li > a:hover {
  color: #000000;
}
.treeview-menu > li.active > a {
  font-weight: 600;
}
.sidebar-form {
  border-radius: 3px;
  border: 1px solid #d2d6de;
  margin: 10px 10px;
}
.sidebar-form input[type="text"],
.sidebar-form .btn {
  box-shadow: none;
  background-color: #fff;
  border: 1px solid transparent;
  height: 35px;
}
.sidebar-form input[type="text"] {
  color: #666 !important;
  border-top-left-radius: 2px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 2px;
}
.sidebar-form input[type="text"]:focus,
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
  background-color: #fff;
  color: #666;
}
.sidebar-form input[type="text"]:focus + .input-group-btn .btn {
  border-left-color: #fff;
}
@media (min-width: 768px) {
  .sidebar-mini.sidebar-collapse .sidebar-menu > li > .treeview-menu {
    border-left: 1px solid #d2d6de;
  }
}


/* ---------------------------- LABELS ---------------------------- */

.label	{
	font-weight:normal;
	text-transform:uppercase;
	}
.alert  {
	padding:5px 10px !important;
	}
.alert-dismissable, .alert-dismissible {
    padding-right: 35px;
}
/* ---------------------------- TABLES ---------------------------- */

.table-button {
	width:40px;
	}
.table-responsive {
	border:none;
	}
.table-condensed, table.dataTable {
	margin-top:15px !important;
	}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #ff6600;
	border-color:#ff6600;
	}
.table-bottom-options {
	float:right;
	margin-top:15px;
	}
table.table-double > thead > tr:first-child > th:first-child {
	background-color:#var(--principal);
	color:white;
	text-transform:uppercase;
	text-align:center;
	max-width:300px;
	}
table.table-double > tbody > tr > td:first-child {
	background-color:rgba(255,133,27,0.1);
	}

/* ---------------------------- BUTTONS ---------------------------- */

button.btn {
	background-color: var(--secundario) !important;
	color:white !important;
	}
button.btn:hover {
	background-color: var(--principal) !important;
	color:white !important;
	}	

.sidebar-form button.btn {
	 color: #999;
	 border-top-left-radius: 0;
	 border-top-right-radius: 2px;
	 border-bottom-right-radius: 2px;
	 border-bottom-left-radius: 0;
	 background:white !important;
	}
button.btn-box-tool {
	background:white !important;
	}
button.btn-box-tool:hover {
	color:white !important;
	}

.btn-group  button .caret {
	margin-left:5px;
	}
.btn {
	margin-right:5px;
	text-transform:uppercase;
	}
.btn-group > .btn {
	border-bottom-right-radius:4px !important;
	border-top-right-radius:4px !important;
	}
.btn-switch > .btn:not(:last-child) {
	margin-right:0;
	border-bottom-right-radius:0 !important;
	border-top-right-radius:0 !important;
	}
.btn-switch > .btn[disabled] {
	opacity:1;
	cursor:default;
	}

.dropdown-menu {
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
	}

/* ---------------------------- TABS ---------------------------- */

.nav-tabs-custom > .nav-tabs > li > a:hover {
    background:var(--principal);
	color:white;
	border-bottom:0;
	}
.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: var(--principal);
	}
.nav-tabs-custom > .tab-content {
	padding:20px;
	}
.nav-tabs > li.pull-right > a, .nav-tabs-custom > .nav-tabs > li.pull-right a:hover  {
	background:var(--principal);
	color:white !important;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	margin-right:25px;
	padding:5px 10px;
	margin-top:8px;
	}
/*.nav-tabs-custom > .nav-tabs > li.pull-right > a:hover {
    background:#ff4200;
	}*/
.nav-stacked li a {
	padding-left:0;
	}
.nav-stacked li a i {
	font-size:18px;
	margin-right:10px;
	}

/* ---------------------------- FORMS ---------------------------- */

@media (max-width:1199px) {
	.form2cols .control-label {
		text-align:left;
		}
	}
.has-error .form-control {
    background: #eec8c8 none repeat scroll 0 0;
}
.radio {
	margin-top:0;
	}
.options-grid {
	background-color:#eee;
	padding:10px 20px;
	line-height:25px;
	border-radius:5px;
	margin-top:10px;
	}

/* ---------------------------- BOXES ---------------------------- */

div.small-box {
	background-color:var(--secundario) !important;
	}

.box {
    border:1px solid #eee;
	box-shadow: 3px 3px 6px  rgba(0, 0, 0, 0.1);
	}
.box-header {
	padding:7px 10px;
	}
.box-header.bg-gray {
	background-color:#fafafa !important;
	border-bottom:1px solid #ddd;
	}
.box-footer.bg-gray {
	background-color:#fafafa !important;
	border-top:1px solid #ddd;
	}
.collapsed-box .box-header.bg-gray {
	border-bottom:none;
	}
.box-header.bg-red a {
	color:white;
	}
.box-title {
	font-size:16px !important;
	}
.box-body {
	padding:20px;
	}
.box-commands {
	padding:5px;
	border-bottom: 2px dotted #ddd;
	}
.box-commands button {
	text-transform:uppercase;
	width:16%;
	}
.box-footer:not(:last-child) {
	border-top:1px dotted #ddd !important;
	}



/* ----------------------- CONTENT HEADERS ------------------------------- */

.content-header .box {
	margin-bottom:5px;
	}
.main-entity h1 {
	text-transform:uppercase;
	font-size:35px;
	font-weight:400;
	margin:0 0 10px 0;
	line-height:1em;
	}
.main-entity .btn-global  {
	font-size:30px;
	padding:0;
	}
.main-tags {
	margin-bottom:10px;
	}
.main-tags label {
	font-size:100%;
	}
.main-quicklinks a {
	padding:0 10px;
	border-right:1px solid #ddd;
	}
.main-quicklinks a:last-child {
	border-right:none;
	}
@media(max-width:1199px) {
	.main-entity h1 {
		font-size:20px;
		}
	}





 .context-menu .box-body {
	text-transform:uppercase;
	}
.square-thumb {
	max-width:150px;
	max-height:150px;
	}


/* ----------------------- FOLDERS TREE ------------------------------- */


.tree ul {
  list-style: none;
  padding-left: 5px;
}
.tree ul li {
  padding-left: 16px;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.tree ul li:before {
  content: '';
  height: 1px;
  width: 10px;
  background-color: #333;
  position: absolute;
  top: 10px;
  left: 0;
  margin: auto;
}
.tree ul li:after {
  content: '';
  width: 1px;
  height: 100%;
  background-color: #333;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
.tree ul li:last-child:after {
  height: 10px;
}
.tree ul a {
  cursor: pointer;
  color:var(--principal);
}
.tree ul a:hover {
  color: var(--principal);
  text-decoration: none;
}
.tree li.active-branch {
	font-weight:bold;
	}
.tree li.active-branch a {
	color: #var(--principal);
	}
.tree li.active-branch > ul > li {
	font-weight:normal;
	}
.tree li.active-branch > ul > li > a {
	color:#0b87ce;
	}
.tree li.active-branch > ul > li > a:hover {
	color: #var(--principal);
	}
.tree-location {
	background:#f8f8f8;
	padding-left:5px;
	border-bottom:2px solid white;
	}
.tree-location:hover {
	background:#eee;
	}
.tree-action {
	float:right;
	width:40px;
	padding:3px 0;
	border-left:2px solid white;
	background:#eee;
	text-align:center;
	}
.tree-data {
	float:right;
	width:100px;
	}
.tree-plus {
	float:right;
	width:40px;
	text-align:center;
	border-left:2px solid white;
	}
	.tree-plus a, .tree-plus a:hover {
		color:white !important;
		}
	.tree-plus.bg-orange:hover {
		background:black !important;
		}
@media (max-width:1250px) {
	.tree-data {
		display:none;
		}
	.tree-action {
		width:20px;
		}
	}
@media (max-width:600px) {
	.tree-data, .tree-action, .tree-plus {
		display:none;
		}
	}

.inactivo {
    background-color: #ddd !important;
}

.descatalogado {
	display:none;
	}
.descatalogado .tree-location {
	background-color: #ccc !important;
	}

.descatalogado2 {
    display:none;
    background-color: #ccc !important;
}

.listado-100 label {
    width:100%;
    font-weight: normal;
}
.listado-100 label input {
    margin-right:5px;
}

/* ----------------------- INFORMES ------------------------------- */

.portada, .info-previos, .info-break, .salto-anexo {
	page-break-after: always;
	}

.info-logo {
	margin-top:50px;
	margin-bottom:10px;
	}

.info-title {
	font-size:30px;
	}
.info-logo h3 {
	font-size:15px !important;
	}
.info-cliente {
	border:1px solid #ddd;
	padding:20px;
	font-size:16px;
	margin-bottom:20px;
	}

.info-previos {
	font-size:15px;
	}
.info-previos h1 {
	font-size:24px;
	}
.info-img {
	width:150px;
	}
.info-emplazamiento, .info-anexo {
	font-size:24px;
	}
.info-emplazamiento, .info-anexo {
	border-bottom:2px solid black;
	margin-bottom:20px !important;
	padding-bottom:10px !important;
	}
h1.info-anexo {
	display:none;
	}
@page {
    margin-top:1cm;
	margin-bottom: 3cm;
}

@media print {
	td, th {
		font-size:10px !important;
		padding:2px !important;
		}
	img {
		max-width:500px !important;
		}
	h2 {
		font-size:18px !important;
	}
}