body {
	background-color: #EFEFEF;
	font-family: Calibri, "Trebuchet MS", Verdana, Arial;
}

.mb-lg {
	margin-bottom: 10px;
}
.mb-none {
	margin-bottom: 0;
}

h1, h2, h3, h4, h5 {
	color: #421F62;
}

.well h1, .well .h2, .well .h3, .well h4, .well h5 {
	margin-top: 0;
}
.well-nav {
	padding: 8px 0;
}

a img {
	border: 0;
}

#layout-header {
	padding: 5px 0;
}
#layout-header img {
	margin-right: 20px;
}

#page-header {
	color: #525252;
	font-size: 1.6em;
	font-weight: bold;
	border-bottom: 1px dotted grey;
	padding-top: 20px;
}

#authcontainer {
	float: right;
}
#authcontainer span.user {
	font-weight: bold;
}
#authcontainer a {
	margin: 0 0 4px 5px;
}

#page-navigation {
	background-color: white;
	padding: 0 20px;
	border: 1px solid #BEC2C8;
	border-top: 5px solid #dddddd;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
	margin-bottom: 10px;
}
#page-navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	margin-top: -5px;
}
#page-navigation li {
	display: inline-block;
	margin-right: 24px;
}
#page-navigation li a {
	border-top: 5px solid #dddddd;
}
#page-navigation li.active a {
	border-top: 5px solid #A9CA60;
	color: #444;
}
#page-navigation a {
	display: inline-block;
	padding: 10px 0;
	
	/*font-weight: bold;*/
	/*font-size: 1.1em;*/
	color: #444;
}

#page-content {
	background-color: #FBFBFB;
	padding: 20px;
	margin-bottom: 20px;
	
	border: 1px solid #BEC2C8;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15), 0 4px 0 -3px #FFFFFF, 0 4px 0 -2px #BEC2C8, 0 8px 0 -5px #FFFFFF, 0 8px 0 -4px #BEC2C8;
	color: #525252;
}

a.grey {
	color: grey !important;
}

hr {
	border: 1px solid #DEDEDE;
	height: 1px;
	padding: 0;
	margin: 5px 0;
}

li.feedbackPanelINFO {
	margin: 0;
	padding: 10px;
	background-color: #FFF6BF;
	border: 1px solid #FFD324;
	color: #514721 !important;
	margin-bottom: 10px;
}

div.wicket-modal div.w_content_3 {
	padding: 10px !important;
}

#layout-body {
	clear: left;
	margin-top: -1px;
	background-color: #FBFBFB;
	border: 1px solid #D9D8DD;
	padding: 20px;
}

#body-content {
	overflow: hidden;
}
#body-content > header, #body-content > div.row > div > header {
	border-bottom: 1px solid #DEDEDE;
	padding-bottom: 10px;
	margin-bottom: 20px;
}
#body-content > header h1, #body-content > div.row > div > header h1 {
	display: inline-block;
	margin: 0;
	padding: 0;
	font-size: 20px;
	line-height: normal;
}
#body-content > header a {
	float: right;
	margin-left: 10px;
}
#body-content h2 {
	font-size: 1.5em;
	padding: 0;
	margin: 15px 0 5px 0;
}

input.search {
	border: 1px solid lightgrey;
	background-color: white;
	padding-left: 25px;
}

div.wicket-aa ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	border: 1px solid #888;
}
div.wicket-aa li {
	margin: 0px;
	padding: 3px;
	background-color: #fff;
}
div.wicket-aa li.selected {
	background-color: #ffb;
}

/* Widgets */
div.widget { 
	border-radius: 1ex 1ex 0 0;
}
div.widget .widget-header {
	background-color: #6b9b20;
	padding: 5px 10px;
	border-radius: 1ex 1ex 0 0;
}
div.widget .widget-header h5 {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: 1.2em;
	color: white;
}
div.widget .widget-header select {
	font-size: 0.8em;
}
div.widget .widget-body {
	padding: 5px;
	border: 1px solid lightgrey;
	border-top: 0;
}

/* Huraga Green (Generic) */
a {
  color: #6b9b20;
  text-decoration: none;
}
a:hover {
  color: #31460f;
  text-decoration: underline;
}
.pagination a:hover {
	text-decoration: none;
}
.btn-primary {
  background-color: #5f9b20;
  background-image: -moz-linear-gradient(top, #6b9b20, #4c9b20);
  background-image: -ms-linear-gradient(top, #6b9b20, #4c9b20);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#6b9b20), to(#4c9b20));
  background-image: -webkit-linear-gradient(top, #6b9b20, #4c9b20);
  background-image: -o-linear-gradient(top, #6b9b20, #4c9b20);
  background-image: linear-gradient(top, #6b9b20, #4c9b20);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9b20', endColorstr='#4c9b20', GradientType=0);
  border-color: #4c9b20 #4c9b20 #2d5c13;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #4c9b20;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */

  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary.disabled,
.btn-primary[disabled] {
  background-color: #4c9b20;
  *background-color: #42861c;
}
.btn-primary:active,
.btn-primary.active {
  background-color: #377117 \9;
}

/* Huraga Green (Tables) */
.table {
  margin-bottom: 20px;
}
.table th,
.table td {
  border-top: 1px dotted #dedede;
}
.table thead th {
  border-bottom: 2px solid #bec2c8;
}
.table tbody th {
  border-top: none;
  border-right: 2px solid #bec2c8;
}
.table .btn-group {
  float: right;
  margin: 0;
}
.table.table-striped {
  border-bottom: 1px dotted #dedede;
}
.table.table-striped tbody tr:nth-child(2n+1) td,
.table.table-striped tbody tr:nth-child(2n+1) th {
  background-color: #f8f8f8;
}
.table.table-bordered {
  border-bottom: 1px solid #dedede;
}
.table.table-bordered th,
.table.table-bordered td {
  border-top: 1px solid #dedede;
}
.table.table-bordered thead th {
  border-bottom: none;
}
.table [class*="span"] {
  margin-left: 0;
  float: none;
}
.table td.toolbar,
.table th.toolbar {
  text-align: right;
  padding: 4px;
}
.table td.toolbar .btn-flat,
.table th.toolbar .btn-flat {
  padding: 4px 8px;
}
.table td.toolbar  > a span,
.table th.toolbar  > a span {
  margin-top: 4px;
}

/* Huraga Green (Labels & Badges) */
.label-success, .badge-success {
	background-color: #5F9B20;
}
.label-error, .badge-error {
	background-color: #E74949;
}

/* Huraga Green (Forms) */
form {
  margin-bottom: 20px;
}
form label.required:after {
	padding-left: 5px;
    content: "*";
}
legend {
  padding: 0 15px 0;
  margin: 0;
  /*border-bottom: 1px solid #dedede;*/
  border: 0;
  width: auto;
  font-size: 18px;
  
  position: absolute;
  top: 7px;
  left: 0;
}
form fieldset {
  position: relative;

  background: #f5f5f5;
  border: 1px solid #dedede;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.05) inset;
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.05) inset;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.05) inset;
}
form fieldset + fieldset {
	margin-top: 20px;
}
form fieldset legend + * {
  margin-top: 40px !important;
  border-top: 1px dashed #dedede !important;
}
form fieldset > .alert {
  border-radius: 0;
  border-bottom: 1px dashed #dedede !important;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 0;
  border-left: 0;
  border-right: 0;
}
label {
  font-weight: bold;
  color: #525252;
}
label.radio,
label.checkbox {
  font-weight: normal;
  color: #525459;
}
.form-inline .control-label {
  margin: 10px 0;
}
.form-inline .control-label:first-child {
  margin-top: 0;
}
.form-horizontal .control-label {
  text-align: left;
}
.form-search input {
  margin-right: 5px;
}
.form-group,
.form-horizontal .form-group {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px dashed #dedede;
}
.form-group:last-child,
.form-horizontal .form-group:last-child {
  border: none;
}
.form-inline .form-group {
	padding: 0;
	border: none;
}
.form-actions {
  border: none;
  background-color: transparent;
  margin: 0;
  margin-top: 10px;
}
.form-horizontal .form-actions {
}

form .input-group-price, form .input-group-percentage {
	max-width: 150px;
}

/* Huraga Green (nav lists) */
.nav-list > .active > a,
.nav-list > .active > a:hover,
.nav-list > .active > a:focus {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background-color: #6b9b20;
}
.nav-list > li > a {
	padding: 3px 15px;
}
/* Bootstrap overrides */
.nav-header {
	font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 15px;
    color: #999;
    margin-top: 9px;
}
.nav-header:first-child {
	margin-top: 0;
}

.inline-uploader-button {
	display: inline-block;
	border-radius: .3rem;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	padding: .375rem .75rem;
	margin-bottom: 10px;
	
	color: #fff;
	background-color: #6c757d;
	border: 1px solid 6c757d;
}
.inline-uploader-button:hover {
	background-color: #000;
	border-color: #000;
}