/*!
 * application style overrides and customizations
 */

/* note that this gets overridden by bootstrap-responsive.min.css when screen size changes */
body {
	padding-top: 60px;
	padding-bottom: 40px;
}

h1 {
	margin-bottom: 8px;
}

hr {
	margin: 10px 0px 10px 0px;
}

p.buttonContainer {

}

table.collection tr:hover {
    cursor: default;
}

.table>tbody>tr.active>td, .table>tbody>tr.active>th, .table>tbody>tr>td.active, .table>tbody>tr>th.active, .table>tfoot>tr.active>td, .table>tfoot>tr.active>th, .table>tfoot>tr>td.active, .table>tfoot>tr>th.active, .table>thead>tr.active>td, .table>thead>tr.active>th, .table>thead>tr>td.active, .table>thead>tr>th.active {
	background-color: #BEEAFF!important;
	color: #000;
}

table.collection th:hover {
    cursor: pointer;
    opacity: 0.5;
}

.date-picker input
{
	width: 80px;
}

.date-picker i
{
	color: #999;
	margin-top: 2px;
	margin-left: -1px;
}

.bootstrap-timepicker-component input
{
	width: 70px;
}

.bootstrap-timepicker-component i
{
	color: #999;
	margin-top: 3px;
	margin-left: 0px;
}

.searchContainer input, searchContainer button
{
	margin-top: 8px;
}

.searchContainer input
{
	margin-top: 8px;
}

/* search filter button */
.input-append button.add-on {
    height: inherit !important;
    color: #999999;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 8px;
}

span.loader {
	margin: 0px;
	display: inline-block;
	width: 150px;
}

span.loader .bar {
	display: inline-block;
	width: 100%;
	height: 30px;
}

/* form controls */
span.help-inline {
	font-size: .9em;
	font-style: italic;
	padding-top: 5px;
	color: #999;
}

/* fixes spacing glitch with combo-box followed by an empty inline help */
span.help-inline:empty {
	display: none;
}

.error .help-inline {
	color: #F44336;
}

tr.tr-inativo td {
	background: #f1f1f1!important;
	color:#777;
}
tr.tr-inativo:hover td {
	background: #f5f5f5!important;
}

.sem-margin { margin:0; }
.sem-margin-bottom { margin-bottom:0; }
.sem-margin-top { margin-top:0; }
.sem-margin-left { margin-top:0; }
.sem-margin-right { margin-top:0; }
.sem-margin-horizontal { margin-left:0; margin-right:0; }

.margin-left-10px { margin-left:10px!important; }
.margin-right-10px { margin-right:10px!important; }
.margin-left-5px { margin-left:5px; }
.margin-right-5px { margin-right:5px!important; }
.margin-right-20px { margin-right:20px!important; }

.margin-top-5px { margin-top:5px; }
.margin-top-10px { margin-top:10px; }
.margin-top-15px { margin-top:15px; }
.margin-top-20px { margin-top:20px; }
.margin-top-30px { margin-top:30px; }

.margin-bottom-10px { margin-bottom:10px; }
.margin-top-10px { margin-top:10px!important; }
.margin-top-13px { margin-top:13px!important; }
.margin-bottom-13px { margin-bottom:13px!important; }
.margin-bottom-15px { margin-bottom:15px!important; }
.margin-bottom-20px { margin-bottom:20px!important; }

.margin-10px { margin:10px; }

/** CUSTOM CHECKBOX **/
.checkbox-custom, .radio-custom {
	opacity: 0;
	position: absolute;
}

.checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	cursor: pointer;
}

.checkbox-custom-label, .radio-custom-label {
	position: relative;
	outline:none!important;
}

.checkbox-custom + .checkbox-custom-label:before, .radio-custom + .radio-custom-label:before {
	content: '';
	background: #fff;
	border: none;
	display: inline-block;
	vertical-align: middle;
	width: 20px;
	height: 20px;
	padding: 2px;
	text-align: center;
	content: "\f00c";
	font-family: 'FontAwesome';
	background: #ccc;
	color: #fff;
	transition:all 300ms ease-in-out;
	transform: rotate(0) scale(0.8);
}

.checkbox-custom:checked + .checkbox-custom-label:before {
	content: "\f00c";
	font-family: 'FontAwesome';
	background: #5bb75b;
	color: #fff;
	transform: rotate(360deg) scale(1);
}

.radio-custom + .radio-custom-label:before {
	border-radius: 50%;
}

.radio-custom:checked + .radio-custom-label:before {
	content: "\f00c";
	font-family: 'FontAwesome';
	color: #bbb;
}

.checkbox-custom:focus + .checkbox-custom-label, .radio-custom:focus + .radio-custom-label {
	outline: 1px solid #ddd; /* focus style */
}




/*
 * jQuery UI Autocomplete 1.8.7
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Autocomplete#theming
 */
.ui-autocomplete { position: absolute; cursor: default; }

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

/*
 * jQuery UI Menu 1.8.7
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Menu#theming
 */
.ui-menu {
	list-style:none;
	padding: 2px;
	margin: 0;
	display:block;
	float: left;
}
.ui-menu .ui-menu {
	margin-top: -3px;
}
.ui-menu .ui-menu-item {
	margin:0;
	padding: 0;
	zoom: 1;
	float: left;
	clear: left;
	width: 100%;
}
.ui-menu .ui-menu-item a {
	text-decoration:none;
	display:block;
	padding:.2em .4em;
	line-height:1.5;
	zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
}