* {
	outline:none !important;
	-moz-outline: none !important;
}
html, body{height:91%}
/* Main */

/*Bootstrap-overlay*/

body {
	overflow-x: hidden;
	margin-top: -10px; font-family: 'Open Sans', sans-serif; font-size:12px; color:#666;
}
a{color:#666;}
a:hover, a:focus {
	text-decoration: none; color:#28b779;
}

/*Need to clean this a litte bit */
.dropdown-menu .divider{ margin:4px 0px;}
.dropdown-menu{ min-width:180px;}
.dropdown-menu > li > a{ padding:3px 10px; color:#666; font-size:12px;}
.dropdown-menu > li > a i{ padding-right:3px;}
.userphoto img{ width:19px; height:19px;}
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input, .label, .dropdown-menu, .btn, .well, .progress, .table-bordered, .btn-group > .btn:first-child, .btn-group > .btn:last-child, .btn-group > .btn:last-child, .btn-group > .dropdown-toggle, .alert{ border-radius:0px;}
.btn, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{ box-shadow:none;}
.progress, .progress-success .bar, .progress .bar-success, .progress-warning .bar, .progress .bar-warning, .progress-danger .bar, .progress .bar-danger, .progress-info .bar, .progress .bar-info, .btn, .btn-primary{background-image:none;}
.accordion-heading h5{ width:70%; }
.form-horizontal .form-actions{ padding-left:20px; }
#footer{ padding:10px; text-align:center;}
hr{ border-top-color:#dadada;}
.carousel{ margin-bottom:0px;}
.fl { float:left}
.fr {float:right}
.label-important, .badge-important{ background:#f74d4d;}



/* Header */
#header {
	height: 77px;
	position: relative;
	width: 100%;
}
#header h1 {
	background: url("../img/logo.png") no-repeat scroll 0 0 transparent;
	height: 31px;
	left: 20px;
	line-height: 600px;
	overflow: hidden;
	position: relative;
	top: 26px;
	width: 191px;
}
#header h1 a {
	display: block;
}

#logout {
	position: absolute;
	z-index: 25;
	top: 20px;
	right:10px;
} 

/* Top user navigation */
#user-nav {
	position: absolute;
	left: 220px;
	top:0px;
	z-index: 20;
	margin: 0;
}
#user-nav > ul {
	margin: 0;
	padding: 0;
	list-style: none; border-right: 1px solid #2e363f;border-left: 1px solid #000;
}
#user-nav > ul > li {
	float: left;
	list-style-type: none;
	margin: 0;
	position: relative;
	padding: 0; border-left: 1px solid #2e363f; border-right: 1px solid #000;
}
#user-nav > ul > li > a {
	padding:9px 10px;
	display: block;
	font-size: 11px;
}
#user-nav > ul > li > a:hover, #user-nav > ul > li.open > a {
	color: #ffffff;  background:#000;
}
#user-nav > ul > li > a > i, #sidebar li a span {
    opacity: .8;
    font-weight: 500;
}

.submenu {
	font-size: 1.5em; 
}

.submenu li {
	font-size: 0.8em;
}

#user-nav > ul > li > a:hover > i, #user-nav > ul > li.open > a > i {
	opacity: 1;
}
#user-nav > ul > li > a > .label {
	vertical-align: middle;
	padding: 1px 4px 1px;
	margin: -2px 4px 0;
	display: inline-block;
}
#user-nav > ul ul > li > a {
	text-align: left;
}

/* Sidebar Navigation */
#sidebar {
	width: 200px;
    height: 100%;
    float: left;
    background-color: #d9eef4 !important;
	z-index: 16;
}

#sidebar > ul {
	list-style: none;
	margin: 0px 0 0;
	padding: 0;
	position: absolute;
}
#sidebar > ul > li {
	display: block;
	position: relative;
}
#sidebar > ul > li > a {
	padding: 10px 15px;
	display: block;
    color: #418ca2;
}
#sidebar > ul > li.open > a {
    background: #418ca2;
    color: #fff;
}
#sidebar > ul > li > a > i {
	margin-right: 10px;
}
#sidebar > ul li ul li a { 
	color:#555;
}
#sidebar > ul li ul {
	background-color: none;
}
#sidebar > ul > li.active > a {
	background: url("../img/menu-active.png") no-repeat scroll right center transparent !important;
	text-decoration:none;
}
#sidebar > ul > li > a > .label {
	margin: 0 20px 0 0;
	float: right;
	padding: 3px 5px 2px;
}
#sidebar > ul li ul {
	display: none;
	margin: 0;
	padding: 0;
}
#sidebar > ul li.open ul {
	display: block;
}
#sidebar > ul li ul li a {
	padding: 10px 0 10px 25px;
	display: block;
	color: #777777;
}

#sidebar > ul li ul li:first-child a {
	border-top: 0;
}
#sidebar > ul li ul li:last-child a {
	border-bottom: 0;
}

/* Content */
#content {
	background-color:#fff;
	margin-right: 0;
	padding-bottom: 25px;
	position: relative;
	min-height:87%;
	width: auto;
}
#content-header {
	position: absolute;
	width: 100%;
	margin-top: -38px;
	z-index: 20;
}
#content-header h1 {
	color: #555555;
	font-size: 28px;
	font-weight: normal;
	float: none;
	text-shadow: 0 1px 0 #ffffff;
	margin-left: 20px;
	position: relative;
}
#content-header{
	float: right;
	right: 20px;
	position: absolute;
}
#content-header h1, #content-header {
	margin-top: 20px;
}
#content-header {
	padding: 11px 14px 9px;
}
#content-header {
	position: absolute;
	top: -7px;
}
.container-fluid .row-fluid:first-child {
	margin-top: 20px;
} 

#content-body {
	padding: 0px 10px;
	height: 100%;
	overflow: scroll;
}

#content.sidebar_inactive{
	margin-left: -185px;
	transition: all .4s ease 0s;
} 

#content {
	padding: 15px;
	padding-left: 0px;
	transition: all .4s ease 0s;
	height: 100%;
}
.well {
    background-color: #d9eef4;
    margin-bottom: 10px;
	padding: 0px 10px;
}
.well label {
    display: inline-block;
	margin:0px;
}
.well .badge-primary {
    color: #000;
    font-weight: 400;
    background-color: transparent;
}
a.btn.pull-right {
    COLOR: #d9eef4;
    vertical-align: middle;
    background-color: #418ca2;
    margin: 5px;
}
.fa-file-excel-o:before {
    content: "\f1c3";
    margin-right: 8px;
}
.submenu > a > i {
	margin-left: 10px;
	vertical-align: middle;
}

.input-errors-hints{
	text-align: center;
}
h1 .badge-primary {
    color: #418ca2;
    background-color: transparent;
}
h2 .badge-primary {
    color: #418ca2;
    background-color: transparent;
}
/* busqueda n historial */
.bushistorial button.btn.btn-success {
    color: #fff;
    background-color: #418ca2;
    height: 100%;
    border-color: none;
    margin-left: 10px;
}
.bushistorial .form-group {
    height: 100%;
}
/* TABLAS*/

div#table_filter {
    padding: 3px;
    margin-left: 20px !important;
}
div#table_length {
    padding: 5px;
}
.dt-buttons button.dt-button {
    background-color: #418ca2 !important;
	margin-top: 3px;
	color: #fff;
    background-image: none;
    border: none;
    border-radius: 0px;
    height: 24px;
    padding: 4px 10px;
    margin-left: 5px;
}
.dataTable.no-footer tbody div {
    background: #d9eef4 !important;
    padding: 10px 0px;
}
.dataTable.no-footer tbody div i {
    padding: 10px 0px 0px 10px;
}
.dataTable.no-footer tbody td {
    padding: 0px;
}
table.dataTable tbody tr {
    background-color: transparent;
}
table.dataTable.stripe tbody tr.odd.selected, table.dataTable.display tbody tr.odd.selected {
    background-color: #d9eef4 !important;
}
table.dataTable.display tbody tr.odd.selected>.sorting_1, table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1 {
    background-color: #d9eef4!important;
}
table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #418ca2 !important;
}
table.dataTable tbody tr {
    background-color: transparent !important;
}
table.dataTable tbody tr.selected {
    background-color: #d9eef4 !important;
}
table.dataTable.display tbody tr.even.selected>.sorting_1, table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1 {
    background-color: #d9eef4 !important;
}
h4 span.badge.badge-dark {
    background-color: #418ca2;
    border-radius: 0px;
    font-size: 14px;
}
/* page new invoice */
.gnew {
    width: 100%;
    height: 100%;
    background: url(/img/fondo-sames.jpg);
    background-position:center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.gnew form#submitInfoForm {
    width: 60%;
    background-color: #d9eef4;
    padding: 15px;
	float: left;
	margin-right: 15px !important;
}
.gnewsub .row {
    margin: 0px;
}
.gnewsub {
    background-color: #d9eef4;
    width: 38%;
    float: left;
    padding: 15px;
}
.badge-secondary {
    color: #fff;
    background-color: #418ca2 !important;
    border-radius: 0px;
}
button#saveChangesNew {
    width: 90%;
    background-color: #418ca2;
    border: none;
}
button#saveChangesNew:hover {
    background-color: #d9eef4;
    border: 2px solid #418ca2;
    color: #418ca2;
}
#back {
    width: 100%;
    height: 70px;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
}
#back i.material-icons {
    vertical-align: middle;
    font-size: 40px;
}
h4 .badge-primary {
    color: #fff;
    background-color: #418ca2 !important;
    border-radius: 0px;
}
/* scroll */
.dataTables_wrapper .justify-content-between {
    justify-content: normal !important;
    margin: 10px 15px;
}
div#datatableJS_filter {
    margin-left: 20px;
}
body #content *::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
	border-radius: 3px;
}

body #content *::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
}

body #content *::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-image: -webkit-gradient(linear,
									   left bottom,
									   left top,
									   color-stop(0.44, #17a2b8),
									   color-stop(0.72, rgb(77, 164, 189)),
									   color-stop(0.86, rgb(65, 140, 162)));
}



.popover {
	display: initial;
	position: initial;
	margin: initial;
	border: initial;
	background: initial;
	padding: initial;
	width: initial;
	height: initial;
	overflow: initial;
	color: initial;
}