.gh_cards a {
  font-weight: normal;
}

.gh_cards a:link {
  color: #055f94;
}

.gh_cards a:hover {
  text-decoration-style: dotted;
}

.gh_cards input[type="submit"], #toggleConfirmedActivations {
  display: inline-block;
  border: none;
  padding: 0.5em;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  border-radius: 1em;
}

.gh_cards input[type="submit"] {
  background-color: steelblue;
}

#toggleConfirmedActivations {
  cursor: pointer;
  color: black;
}

#gh-cards-list-by-status-form table, #gh-uc-payment-deliveries-form table, table.gh_cards, .gh_cards table, .gh-cards table {
  width: 100%;
  margin: 0;
}

#main table.gh_cards {
  margin-top: 5px;
  margin-bottom: 5px;
}

table.gh_cards td .node {
  margin: 0;
}

table.gh_cards td .node .title a {
  color: #3399CC;
  font-size: 1em;
}

#gh-cards-list-by-status-form table td, #gh-cards-list-by-status-form table th,
#gh-uc-payment-deliveries-form table td, #gh-uc-payment-deliveries-form table th,
table.gh_cards td, table.gh_cards th, .gh_cards td, .gh_cards th, .gh-cards td, .gh-cards th {
  border: 1px solid #CCCCCC;
}

.gh_cards th.select-all {
  visibility: hidden;
}

.gh_cards tr.odd, .gh_cards tr.even {
  background-color: white;
}

/*table.gh_cards tr.odd td, table.gh_cards tr.even td {
  padding-top: 0.1em;
  padding-bottom: 0.1em;
}*/

.align-right {
  text-align: right;
}

.cell-price {
  text-align: right;
  white-space: nowrap;
}

.total {
  font-weight: bold;
}

.gh_cards .product-options {
  font-size: 0.8em;
}

#gh-cards-activations-list-filter {
  border: 1px solid lightgray;
  padding: 5px;
}

.gh_cards .form-item.container-inline-date .form-item {
  margin: 0;
}

#edit-activation-date-datepicker-popup-0-wrapper, #edit-payment-date-datepicker-popup-0-wrapper {
  clear: left;
}

.gh_cards .form-item-inline {
  display: inline-block;
}

.gh_cards .form-item {
  margin-right: 1em;
}

.gh_cards .form-item label {
  margin-bottom: 0.8em;
  font-size: 1.1em;
  color: gray;
}

.gh_cards .date-clear-block .form-item label {
  display: block;
}

.gh_cards .form-item .description {
  background-color: gainsboro;
  font-size: 0.9em;
  font-style: italic;
  margin: 5px;
  padding: 5px;
  display: table-cell;
  border-radius: 10px;
}

.gh_cards .label-inline .form-item label,
.gh_cards .radios-inline .form-radios,
.gh_cards .radios-inline .form-radios .form-item {
  display: inline;
}

.green-bg, tr.green-bg, .gh_cards tr.green-bg, tr.selected td.green-bg, .green-bg.active {
  background-color: #9ae698;
}

.blue-bg, tr.blue-bg, .gh_cards tr.blue-bg, tr.selected td.blue-bg {
  background-color: #a6dced;
}

.red-bg, tr.red-bg, .gh_cards tr.red-bg, tr.selected td.red-bg {
  background-color: #ff4040;
}

.grey-bg, tr.selected td.grey-bg {
  background-color: #a0a0a0;
}

.yellow-bg, tr.selected td.yellow-bg {
  background-color: #ffff52;
}

.pink-bg, tr.selected td.pink-bg {
  background-color: #fcc !important;
}

.item-list .pager {
  margin-top: 0.5em;
}

.item-list .pager li {
  display: inline-block;
}

.pager-current {
  background-color: LightGrey;
}

tbody {
  border-top: none;
}

.gh_cards th, .gh-cards th {
  text-align: center;
}

.centered {
  text-align:center;
}

.strikethrough {
  text-decoration: line-through;
}

.form-checkboxes {
  height: 200px;
  overflow-y: scroll;
  border: 1px solid #666666;
}

.better-select .form-checkboxes {
  height: auto;
}

#act-list-counter {
  display: inline;
  border: 1px dashed;
  border-right: none;
  font-size: 1.3em;
  font-weight: bold;
  padding: 3px;
  vertical-align: super;
}

#edit-act-list-add-to-payment {
  vertical-align: top;
}

#edit-activation-supplier-wrapper label, #edit-activation-contact-wrapper label, #edit-activation-client-feedback-wrapper label,
#edit-selected-wrapper label, #edit-total-wrapper label, #edit-operation-wrapper label, #edit-show-wrapper label {
  display: inline;
}

.container-inline-date label {
  display: inline;
  float: left;
}

.smaller {
  font-size: 90%;
}

.gh_cards .date-clear-block {
  display: inline-block;
}

.gh_cards .date-clear-block::after {
  clear: none;
}

#card-params td {
  padding-right: 20px;
}

.ahah-info-element input {
  background-color: white;
  border: 0 none;
  color: #222;
  font-size: 1.2em;
  font-weight: bold;
}

/*.gh_cards .messages {
  margin: 1em;
}*/

div.messages.warning.info, div.messages.error.info {
  background-image: url(/sites/all/themes/gifthorse_base/img/attention.png);
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: 5px center;
  padding: 15px 30px;
  font-size: 1.3em;
}

.gh_cards caption {
  font-size: 1.4em;
  margin: 10px;
}

.fancy-links {
  display: inline-block;
}

.fancy-span {
  border-radius: 10px;
  margin: 2px;
  padding: 3px;
  display: inline-block;
  white-space: nowrap;
}

div.fancy-span {
  display: block;
}

/*.fancy-span a {
  color: black;
  font-weight: bold;
}*/

#gh_dashboard .pane-title, #gh_dashboard_year .pane-title {
  background: lightseagreen;
  padding: 0.5em;
  color: white;
  border-radius: 15px;
}

#payment-params {
  float: left;
}

#payment-links {
  float: right;
}

.floatleft {
  float: left;
}

.clearleft {
  clear: left;
}

#gh-supplier-payments-transfer-form table.gh_cards {
  width: 80%;
  float: left;
}

#gh-supplier-payments-transfer-form .transfer-amount {
/*  float: left;
  display: inline-block;*/
}

#gh-supplier-payments-transfer-form #edit-operation-wrapper {
  clear: both;
}

.tooltip {
  position: relative;
  display: inline-block;
  margin: 1em 1em 1em auto;
}

.tooltip button {
  padding: 0.5em;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
