.bg-primary {
	background: #99B142 !important;
}

.btn-primary {
	background: #99B142 !important;
	border-color: #99B142;
}

.btn-primary:hover {
	background: #738532 !important;
	border-color: #738532;
}

.text-primary {
	color: #99B142 !important;
}

a,
a:hover,
a.active,
a:focus {
	color: #99B142;
}

.card-primary .card-header {
	background: #99B142 !important;
}

.login-page {
	background-image: url(../img/bg-login.jpg);
	background-repeat: no-repeat;
 	background-size: cover;
}

.login-box .card-primary {
	border-top-color: #99B142;
}

.login-box .card-primary .card-header {
	background: #FFF !important;
}

table .fa {
	font-size: 1.2em;
}

table a {
	color: #343A40;
}

table a:hover {
	color: #99B142;
	text-decoration: underline;
}

table a:hover .fa {
	text-decoration: none;
}

/* VALIDACAO FORMULARIOS */
form .error { 
	border-color: #F00 
}
form div.error, 
form label.error,
form span.error { 
	color: #F00; 
	background: none; 
	font-size: 10px;
	display: block;
	clear: both;
}

[class*='sidebar-dark-'] .nav-sidebar > .nav-item > .nav-link.active {
	background: #99B142;
	color: #fff;
}

[class*='sidebar-dark-'] .nav-treeview > .nav-item > .nav-link.active, 
[class*='sidebar-dark-'] .nav-treeview > .nav-item > .nav-link.active:hover, 
[class*='sidebar-dark-'] .nav-treeview > .nav-item > .nav-link.active:focus {
	background: #666;
	color: #fff;
}

.nav-sidebar .menu-open > .nav-link i.right,
.nav-sidebar .menu-is-opening > .nav-link i.right {
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover,
.select2-container--default .select2-selection__choice {
    background-color: #99B142;
    color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: #99B142;
	border-color: #99B142;
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #99B142;
	border-color: #99B142;
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked:focus ~ .custom-control-label::before {
	box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.custom-switch.custom-switch-on-primary .custom-control-input:checked ~ .custom-control-label::after {
	background-color: #ccc;
}

.direct-chat-primary .right > .direct-chat-text {
  background-color: #CBD8A6;
  border-color: #CBD8A6;
  color: inherit;
}

.direct-chat-primary .right > .direct-chat-text::after, .direct-chat-primary .right > .direct-chat-text::before {
  border-left-color: #CBD8A6;
}