/********** CSS Buttons *********/
a.css-button {
  display: inline-block;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  padding: 0.6em 1.2em;
  background: #666666;
  border: 0 none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-appearance: none;
}

a.css-button:hover,
a.css-button:focus {
  text-decoration: none;
  color: #ffffff;
  background: #444444;
  outline:0;
  cursor: pointer;
}

/******* Views *******/
.views-exposed-form .views-filter-region {
  clear: both;
  padding: 10px;
  background: #efefef;
  border: 1px solid #C9C9C9;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.views-exposed-form .views-exposed-widget {
  float: left;
  padding: 0.5em 0;
  margin-right: 5px;
}

.views-exposed-form .advanced-filter-link a {
  float: left;
  display: block;
  padding: 4px 22px 35px 8px;
  margin-top: 1.6em;
  margin-bottom: -1px;
  margin-right: 5px;

  background-repeat: no-repeat;
  background-position: right 3px;
  -webkit-border-top-left-radius: 3px;
  -webkit-border-top-right-radius: 3px;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.views-exposed-form .advanced-filter-link a:focus {
  outline: none;
}

.views-exposed-form .advanced-filter-link .filter-hidden {
  background-image: url("../images/advanced-filter-show.png");
}

.views-exposed-form .advanced-filter-link .filter-showing {
  background-image: url("../images/advanced-filter-hide.png");
  border: 1px solid #C9C9C9;
  border-bottom-color: #efefef;
  background-color: #efefef;
}

/************* Dashboard *******/
.block-wrapper.crm-snapshots {
  background: #999999;
  overflow: hidden;
  margin-bottom: 1em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

table.crm-dashboard-snapshots {
  width: auto;
  border: 1px solid #c9c9c9;
  margin: 0;
}

table.crm-dashboard-snapshots th,
table.crm-dashboard-snapshots td {
  width: 50px;
  text-align: left;
  background: #ffffff;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

table.crm-dashboard-snapshots th:first-child,
table.crm-dashboard-snapshots td:first-child {
  border-left: 0px;
}

table.crm-dashboard-snapshots th {
  font-weight: bold;
}

table.crm-dashboard-snapshots .crm-snapshot-title .title-wrapper {
  float:left;
}

table.crm-dashboard-snapshots .crm-snapshot-title .title-wrapper img {
  padding-right: 6px;
  float: left;
}

table.crm-dashboard-snapshots .crm-snapshot-title .title-wrapper .type-name {
  font-size:0.85em;
  font-weight:normal;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-count {
  float: left;
  width: 100%;
  text-align: center;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-count a {
  display: block;
  text-decoration: none;
  font-weight: bold;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-count .count,
table.crm-dashboard-snapshots .crm-snapshot .snapshot-count .label {
  display: block;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-count .count {
  font-size: 22px;
  line-height: 1em;
  color: #b0b0b0;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-count .label {
  text-transform: uppercase;
  font-size: 9px;
  line-height: 1em;
  color: #999999;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-new a .count {
  color: #f9b706;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-new a .label {
  color: #d29a02;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-open a .count {
  color: #b0b0b0;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-open a .label {
  color: #999999;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-empty a .count {
  color: #d6d6d5;
}

table.crm-dashboard-snapshots .crm-snapshot .snapshot-empty a .label {
  color: #c3c3c3;
}

/******** Views Empty Text *********/
.view-empty {
  margin: 1em;
}

.moderation-queue a {
  text-decoration: underline;
}

/*** Inputs ***/
textarea, input {
  max-width: 100%;
}

/**** Admin Actions ******/
.admin-actions-wrapper {
  margin-bottom: 1em;
}

.admin-actions-wrapper .admin-action {
  display: inline-block;
  margin-right: 1em;
}
