.panel-primary {
	border-color: #bacc26 !important;
}

.text-primary {
	color: #bacc26 !important;
}

.panel-heading, .btn-success {
	background-color: #bacc26 !important;
  	border-color: #bacc26 !important;
}

.panel-heading {
  	font-size: 18px;
}

legend {
	border-bottom-color: #bacc26 !important;
}

.well {
	background-color: #ffffff !important;
  	border-color: #bacc26 !important;
}

.btn-danger {
	background-color: #cc0000 !important;
  	border-color: #cc0000 !important;
}

.modal-dialog {
  position: relative;
  width: auto;
  max-width: 600px;
  margin: 10px;
  height: auto;
}
.modal-body {
  overflow-y: auto;
}
.modal-sm {
  max-width: 300px;
}
.modal-lg {
  max-width: 1300px;
}
@media (min-width: 768px) {
  .modal-dialog {
    margin: 30px auto;
  }
}
@media (min-width: 320px) {
  .modal-sm {
    margin-right: auto;
    margin-left: auto;
  }
}
@media (min-width: 620px) {
  .modal-dialog {
    margin-right: auto;
    margin-left: auto;
  }
  .modal-lg {
    margin-right: 10px;
    margin-left: 10px;
  }
}
@media (min-width: 920px) {
  .modal-lg {
    margin-right: 10px;
    margin-left: 10px;
  }
}
@media (min-width: 1200px) {
  .modal-lg {
    margin-right: auto;
    margin-left: auto;
  }
}

.centred {
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
}

.angular-ui-tree-handle, .item {
    padding: 5px 5px;
    cursor: pointer !important;
    border: solid 1px #bacc26;
    border-radius: 4px;
    margin-bottom: 5px;
}

.angular-ui-tree-handle:hover {
    color: #438eb9;
    background: #C1E998;
}

.angular-ui-tree-handle.selected, .item.selected {
    color: #3F4500;
    background: #72A83B;
}

.angular-ui-tree-nodes {
    padding-left: 40px !important;
}

.angular-ui-tree-nodes-root, .items-root {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

#catalog-root, #items-root {
	height: 290px;
	overflow-y: scroll;
	overflow-x: hidden;
}

.drop-zone {
	border: dotted 3px lightgray;
	border-radius: 5px;
	padding-top: 15px;
	height: 60px !important;
}

.file-upload-input {
	width: 100%;
	height: 60px !important;
	cursor: pointer;
}

.form-group.required .control-label:after { 
    color: #cc0000;
    content: "*";
    margin-left: 4px;
}

.ng-invalid,
.well.ng-invalid {
    border-color: #961512 !important;
}

input.ng-invalid.ng-dirty,
textarea.ng-invalid.ng-dirty,
select.ng-invalid.ng-dirty
{
    background-color: #cc0000;
    color: #fff !important;
}

#catalogModalButton {
	margin-top: 15px !important;
}

#spinnerModal {
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: hidden;
}

#spinnerModal .modal-header {
    border: none;
}

#spinnerModal .modal-body {
    text-align: center;
}

.spinner {
    display: inline-block;
    text-align: center;
    width: 128px;
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url('../css/images/spinner.gif');
    background-position: center;
    background-repeat: no-repeat;
}

#waitLabel {
    position: absolute;
    z-index: 9999;
    color: #FFF;
    font-size: 12pt;
	font-weight: bold;
    text-align: center;
    width: 100%;
    top: 30px;
}

.warning-text, .warning-text > a {
	color: #cc0000 !important;
}

span.twitter-typeahead {
	width: 100%;
}


.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-menu {
  width: 100%;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}