.label-important,
.label-important[href] {
  background-color: #d1686a;
}

.label-success,
.label-success[href] {
  background-color: #2faf6f;
}

.editable-empty,
.editable-empty:hover,
.editable-empty:focus {
  color: #ccc;
}

@media print {
  a[href]:after {
    content: none !important;
  }

  .noPrint {
    display: none;
  }
}

body {
  margin-bottom: 20px;
}

hr.empty {
  border-top: 0;
  margin: 15px 0;
}

hr.fat {
  border: solid 1px #ddd;
}

hr.little_margin {
  margin: 5px 0;
}

hr.dashed {
  border-style: dashed;
}

.no-margin {
  margin-bottom: 0px !important;
}

.controls .help-block {
  color: #999;
  font-size: 11px;
  margin-top: 0px;
}

.alert .boolean,
.alert .help-block {
  margin-bottom: 0;
}

.alert.alert-danger .help-block {
  color: #b94a48;
}

.label-slategray {
  background-color: #708090;
}

.label-royalblue {
  background-color: #2a37d4;
}

.well.site h4,
.well.visit h4 {
  margin-top: 0;
}

.well.site .btn-toolbar,
.well.visit .btn-toolbar {
  margin: 0;
}

.btn-droppable {
  border-style: dashed;
  border-color: #aaa;
  background-image: none;
  background-color: white;
  cursor: default;
}

.btn-droppable:hover {
  background-color: white;
  cursor: default;
}

.btn-droppable.in {
  background-color: #feef8a;
}

.shadowbox {
  background-color: rgba(255, 255, 255, 0.95);
  border: solid 1px #ccc;
  border-radius: 3px;
  padding: 0 5px;
  box-shadow: 1px 1px;
}

/* should be renamed into squared_bracketed or so*/
a.small {
  font-size: 11px;
  font-weight: normal;
  vertical-align: top;
}

a.small:before {
  content: "[";
  vertical-align: top;
}

a.small:after {
  content: "]";
  vertical-align: top;
}

/* depreciated... */
a.highlight {
  background-color: #ffc;
}

a.danger {
  color: #b94a48;
}

.link-button {
  background: none;
  border: 0;
  color: #08c;
  font-size: 11px;
  line-height: 11px;
  padding: 0;
}

.link-button:hover {
  text-decoration: underline;
}

ul.condensed {
  color: #444;
  font-size: 13px;
  line-height: 1.4em;
}

ul.condensed i {
  color: #aaa;
}

ul.two_cols {
  flex-wrap: wrap;
  display: flex;
}

ul.two_cols li {
  flex: 1 0 50%;
}

ul.no-bullets {
  margin: 0;
}

ul.no-bullets>li {
  list-style-type: none;
}

ul.nested-no-bullets>li {
  list-style-type: none;
}

ul.striped li {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.display-inline {
  display: inline;
}

.display-none {
  display: none;
}

.hides .hidden {
  visibility: hidden;
}

.hides:hover .hidden {
  visibility: visible;
}

.hides2 .hidden2 {
  visibility: hidden;
}

.hides2:hover .hidden2 {
  visibility: visible;
}

.underliner_handler:hover .underliner_element {
  text-decoration: underline;
}

.display_handler .hidden_element {
  display: none;
}

.display_handler:hover .hidden_element {
  display: inline;
}

.handle {
  cursor: move;
}

.sortable {
  cursor: move;
}

.sortable:hover,
.sortable:hover td {
  background-color: #ffc !important;
}

.nav-pills li .badge {
  background-color: #bbb;
  font-size: 11px;
  padding: 0 4px;
  text-shadow: none;
  font-weight: normal;
}

.nav-pills li.active .badge {
  background-color: #fff;
  color: #08c;
}

.nav-pills>li>a {
  padding-right: 8px;
  padding-left: 8px;
  margin-right: 2px;
  line-height: 14px;
  font-size: 13px;
  background-color: #f7f7f7;
}

.navbar-inverse .divider-vertical {
  border-left-color: #787878;
}

.header-section {
  background-color: #f7f7f7;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.navbar .nav>li>a {
  padding: 10px;
}

.icon-reports {
  background: url("/assets/icon-reports-2d73d2e5.png") no-repeat 0 1px;
}

.underlined {
  text-decoration: underline;
}

.account-alert {
  background-color: #fcf8e3;
  border-bottom: 1px solid #ccc;
  color: #c09853;
  margin: -20px 0 20px 0;
  padding: 8px 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

input.search-query {
  width: 190px;
}

#language_menu {
  padding: 0px 10px;
}

#language_menu a {
  color: #999;
  text-decoration: none;
}

#language_menu a:hover {
  color: #fff;
}

#modal-window,
#modal-window .modal-body {
  width: auto;
  height: auto;
  min-width: 500px;
  max-height: 100%;
}

#modal-window form,
#modal-window .modal-body form,
#modal-window .form-actions,
#modal-window .modal-body .form-actions {
  margin-bottom: 0;
}

.ui-sortable li {
  cursor: move;
}

.sortable-placeholder-drag-area {
  height: 1em;
  line-height: 1em;
  background-color: Gold;
}

.sortable-placeholder-drag-area2 {
  height: 5em;
  line-height: 5em;
  background-color: #fffee0;
}

span.large {
  font-size: 16px;
}

.page-center {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

#change-layout {
  font-size: 12px;
  height: 26px;
  line-height: 26px;
  margin: 0;
  margin-top: 6px;
  padding: 4px;
}

.navbar-inverse .nav>li>a.lighter-gray {
  color: #eee;
}

.navbar-inverse .nav>li>a.lighter-gray:hover {
  color: #fff;
  text-shadow: #999 0px 0px 1px;
}

.help-block.contact_detail_id {
  font-size: 13px;
  margin-top: 1px;
}

.contact-header {
  margin-bottom: 20px;
}

.table-nomargin {
  margin-bottom: 0px;
}

.table-noborder th,
.table-noborder td {
  border: none;
}

.table-fat-border tr:last-child td {
  border-bottom: solid 3px #ccc;
}

.table-fat-border tr td:only-child {
  border-left: solid 3px #ccc;
  border-right: solid 3px #ccc;
}

.table-fat-border tr td:first-child {
  border-left: solid 3px #ccc;
}

.table-fat-border tr td:last-child {
  border-right: solid 3px #ccc;
}

.table-fat-border tr th:first-child {
  border-left: solid 3px #ccc;
}

.table-fat-border tr th:last-child {
  border-right: solid 3px #ccc;
}

.table-fat-border tbody:first-child tr:first-child th,
.table-fat-border tbody:first-child tr:first-child td {
  border-top: solid 3px #ccc;
}

.table-fat-border tr th,
.table-fat-border tr td {
  border-top: solid 3px #ccc;
}

.glyphicons_image {
  width: 12px;
}

.spinner {
  display: none;
  width: 0;
}

.has-spinner.active {
  cursor: progress;
}

.has-spinner.active .spinner {
  display: inline-block;
  width: auto;
  /* This doesn't work, just fix for unkown width elements */
}

.icon-refresh-animate {
  animation-name: rotateThis;
  animation-duration: 0.9s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotateThis {
  from {
    transform: scale(1) rotate(0deg);
  }

  to {
    transform: scale(1) rotate(360deg);
  }
}

.alert-fixed {
  position: fixed;
  left: 15%;
  width: 65%;
  top: 50px;
  z-index: 9999;
  border-radius: 0px;
  text-align: center;
}

input.search-spinner {
  background-image: url("/assets/spinner-55984d34.gif");
  background-position: right 7px center;
  background-repeat: no-repeat;
}

.report_pdf_borders {
  outline-offset: 20px;
  outline: solid 10px #ddd;
}

.fake-report-content {
  background: url("/assets/faux-report-content-58b40e7c.png") no-repeat;
  height: 127px;
  margin-top: 6px;
  text-align: center;
}

.fake-report-content h4 {
  background-color: #777;
  border-bottom: 0;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-weight: normal;
  margin-top: 45px;
  padding: 9px;
  text-shadow: none;
}

.input-big {
  font-size: 20px !important;
  font-weight: bold;
  height: 40px !important;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
  border: 1px solid #aaa;
  outline: 0;
  background-image: url("/assets/select2-e0735125.png") !important;
  background-repeat: no-repeat !important;
  background-size: 60px 40px !important;
  height: auto !important;
  background-position: 100% -21px !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.select2-results__option[aria-selected="true"] {
  display: none;
}

#selectable .ui-selected {
  background: #9ad372;
}

.icon-green {
  color: green;
}

.icon-red {
  color: red;
}

#chat-form textarea {
  width: 95%;
}

.nav-tabs.nav-stacked>li.active>a {
  border-left: solid 2px #ccc;
  background-color: #f0f0f0;
}

.collaborator_or_user_photo {
  width: 12px;
  height: 12px;
}

.internal_collaborator_photo {
  border: solid 2px #53f5b5;
}

.external_collaborator_photo {
  border: solid 2px #ebeb50;
}

.no_collaborator_photo {
  border: solid 2px #eee;
}

.badge_or_label_multiline {
  white-space: normal;
  margin-bottom: 2px;
}

.progress {
  box-shadow: inset 0 0px 6px rgba(0, 0, 0, 0.2);
}

.sortable-table thead th {
  cursor: pointer;
}

.sortable-table thead th:after {
  padding-left: 7px;
}

.sortable-table thead th[data-sort-direction="0"]:after {
  content: "\21D5";
}

.sortable-table thead th[data-sort-direction="1"]:after {
  content: "\25B4";
}

.sortable-table thead th[data-sort-direction="-1"]:after {
  content: "\25BE";
}

.sortable-table.sortable-fa-icons thead th:after {
  font-family: FontAwesome;
}

.sortable-table.sortable-fa-icons thead th[data-sort-direction="0"]:after {
  content: "\f0dc";
}

.sortable-table.sortable-fa-icons thead th[data-sort-direction="1"]:after {
  content: "\f0de";
}

.sortable-table.sortable-fa-icons thead th[data-sort-direction="-1"]:after {
  content: "\f0dd";
}

#visor-apryse {
  all: initial;
}

.collapsible-item {
  cursor: pointer;
  user-select: none;
  color: #08c;
}

.datepicker {
  z-index: 2000 !important;
}