md-input-container {
  margin: 0;
}

.md-button {
  min-width: initial;
}

@media (max-width: 600px) {
  button-group button.group-btn span {
    display: none;
  }
}
#listings_results {
  padding: 8px;
}

#listingSearch {
  border-radius: 15px;
  border: 1px solid silver;
  padding: 0 15px;
}

.listingTypeLabel {
  padding-right: 10px;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > * {
  min-height: 120px;
}

.cb-affiliates > md-checkbox {
  padding: 10px;
}

.cb-affiliate-logos img {
  max-height: 40px;
  padding: 0 15px;
  width: inherit;
}

.cb-calendar-entry {
  padding: 5px !important;
  border-radius: 2px;
  font-size: 85%;
  background-color: #EEEEEE;
  margin-bottom: 3px;
}

.cb-calendar-entry .cb-location {
  font-style: italic;
  padding-top: 3px;
}

calendar-md.vertical .cb-calendar-entry {
  display: inline-block;
}

.cb-calendar-entry,
.cb-calendar-entry a {
  color: rgba(0, 0, 0, 0.87) !important;
  position: relative;
  overflow: visible !important;
}

.cb-calendar-entry .cb-show-org-initials {
  min-height: 20px;
}

.cb-calendar-entry div {
  position: relative;
}

.cb-org-initials {
  border-radius: 4px;
  padding: 3px 4px !important;
  display: inline-block;
  line-height: normal;
  margin-bottom: 12px;
}

.cb-calendar-entry .cb-org-initials {
  padding: 1px 3px !important;
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
}

.cb-calendar-entry img {
  display: none;
  padding: 3px;
  border-radius: 2px;
  width: 100%;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div:hover :last-child .cb-calendar-entry img {
  display: initial;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div:hover :last-child .cb-calendar-entry .cb-org-initials {
  margin: 3px;
}

.group-btn:not(.group-btn-active) {
  opacity: 0.7;
}

.group-btn-active {
  font-weight: bold;
}

calendar-md.vertical md-content > md-content.agenda > * > * :first-child {
  width: auto;
  overflow-x: visible;
}

calendar-md md-toolbar button.md-button {
  font-size: 200%;
}

calendar-md .md-toolbar-tools h2 {
  margin-top: 14px;
}

.cb-listing md-toolbar {
  cursor: pointer;
}

md-card:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 1px 0 rgba(0, 0, 0, 0.34), 0 2px 1px -1px rgba(0, 0, 0, 0.32);
}

.cb-navbar-search md-icon.material-icons {
  fill: grey;
  margin-bottom: 0;
  margin-top: 0;
}

input[type=text].cb-search-query {
  width: 100px;
}

.cb-location-filter {
  height: 26px;
  border-radius: 20px;
  padding: 0 10px 0;
  margin-left: 10px;
}

.cb-tiles-view md-card {
  cursor: pointer;
  min-width: 250px !important;
  max-width: calc(33% - 16px);
  max-height: 500px;
}
.cb-tiles-view md-card md-card-title {
  flex: 0;
  -webkit-flex: 0;
  -ms-flex: 0;
}
.cb-tiles-view md-card md-card-actions {
  margin: 0 !important;
  background-color: #DDDDDD;
}
.cb-tiles-view md-card md-card-actions button {
  width: 100%;
  min-height: 48px;
}

@media screen and (max-width: 550px) {
  .cb-tiles-view md-card {
    min-width: calc(100% - 32px) !important;
  }
}
.cb-md-card-content-wpr {
  overflow: hidden;
  text-overflow: ellipsis;
  content: "";
  position: relative;
}

.cb-md-card-content-wpr:after {
  content: "";
  width: 100%;
  height: 8%;
  position: absolute;
  left: 0;
  bottom: 0px;
  background: linear-gradient(transparent 20px, #DDDDDD);
}

.cb-md-card-content-wpr > img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.cb-listings-toolbar > div {
  margin-bottom: 5px;
}
.cb-listings-toolbar md-checkbox {
  margin-bottom: 10px;
  margin-left: 15px;
}
.cb-listings-toolbar .cb-filter-tags md-select-value {
  border-bottom: none;
}
.cb-listings-toolbar .cb-filter-tags md-select-value:not(.md-select-placeholder) {
  color: white;
}
.cb-listings-toolbar .cb-filter-tags md-select-value:not(.md-select-placeholder) .md-text {
  display: inline-block;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.5);
  padding: 0 8px 3px;
}
.cb-listings-toolbar .cb-tag-match-selector {
  height: 40px;
  max-height: 40px;
  overflow-y: hidden;
  font-size: 75%;
}
.cb-listings-toolbar .cb-tag-match-selector span {
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.1);
  margin: 8px;
  padding: 5px 5px 6px;
  text-align: center;
  line-height: 1em;
  position: relative;
  transition: top 0.3s ease-in-out;
  top: 0;
}
.cb-listings-toolbar .cb-tag-match-selector.match-all span {
  top: -40px;
}

.cb-listing-tag {
  display: inline-block;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.3);
  padding: 0 8px 3px;
  margin: 8px 3px;
  font-size: 80%;
  color: white;
}

.cb-color-index-0 {
  background-color: #1717e5;
  color: white !important;
}

.cb-color-index-1 {
  background-color: #ff5990;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-2 {
  background-color: #dcff32;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-3 {
  background-color: #9aa0af;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-4 {
  background-color: #803690;
  color: white !important;
}

.cb-color-index-5 {
  background-color: #00ADF9;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-6 {
  background-color: #DCDCDC;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-7 {
  background-color: #46BFBD;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-8 {
  background-color: #FDB45C;
  color: rgba(0, 0, 0, 0.87);
}

.cb-color-index-9 {
  background-color: #949FB1;
  color: rgba(0, 0, 0, 0.87);
}

.cb-listingDescription h1 {
  display: none;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div {
  flex-direction: column;
  padding: 0;
  position: relative;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div > div:first-child {
  padding: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div:hover > :last-child {
  overflow: visible !important;
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > div:hover,
.cb-calendar-entry:hover {
  background-color: #DDDDDD;
}

calendar-md md-content > md-content.calendar > :not(:first-child) > *.disabled .cb-calendar-entry,
calendar-md md-content > md-content.calendar > :not(:first-child) > *.disabled .cb-calendar-entry a {
  color: rgba(0, 0, 0, 0.3) !important;
}

.cb-navbar-search {
  display: none;
}

.cb-category-splitter {
  flex-basis: 100%;
  margin: 40px;
  border: 1px solid #dedede;
  background-color: #EEEEEE;
  height: 2px;
  border-radius: 2px;
}

cb-event-list-item {
  margin: 16px 0;
  padding: 20px 48px;
}

cb-event-list-item {
  background-color: #f6f6f6;
}
@media (max-width: 900px) {
  cb-event-list-item {
    cursor: hand;
    margin: 12px 0;
    padding: 12px 32px;
  }
}
@media (max-width: 600px) {
  cb-event-list-item {
    padding: 12px 16px;
  }
}
cb-event-list-item md-icon {
  margin: 0;
}
cb-event-list-item .cb-listingTypeLabel {
  text-transform: uppercase;
}
cb-event-list-item .cb-registernow {
  font-weight: bold;
  padding: 16px 32px;
  letter-spacing: 0.1em;
}
@media (max-width: 900px) {
  cb-event-list-item .cb-registernow {
    display: none;
  }
}
cb-event-list-item cb-event-content {
  padding-top: 48px;
  margin-top: 48px;
  margin-left: 72px;
  border-top: 1px solid #DDDDDD;
}
@media (max-width: 900px) {
  cb-event-list-item cb-event-content {
    padding-top: 32px;
    margin-top: 32px;
    margin-left: 48px;
  }
}

.cb-list-item md-card-title {
  padding: 0;
}

.cb-text-divider {
  margin: 0 12px;
}

/* Styles for printing event directory */
.cb-event-qrcode,
.cb-upcoming-events-print-heading {
  display: none;
}

@media print {
  #listings_results > div:first-child,
  .cb-registernow,
  .cb-bookedout,
  .cb-md-card-content-wpr:after,
  #footer,
  footer {
    display: none !important;
  }
  /* Copy this to provider template CSS files to enable it where applicable  */
  /* .cb-upcoming-events-print-heading {
     display: block;
     text-align: right;
  } */
  md-toolbar {
    min-height: 86px;
  }
  .cb-list-view,
  .cb-tiles-view {
    display: table;
    width: 100%;
  }
  md-card {
    page-break-inside: avoid;
    position: relative;
  }
  .cb-tiles-view md-card {
    display: inline-block;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12) !important;
    vertical-align: top;
    min-height: 600px;
  }
  .cb-list-view md-card {
    display: block;
    width: 100%;
  }
  .cb-event-qrcode {
    display: block;
    width: 150px;
  }
  md-card-actions {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 !important;
    background: white !important;
  }
  md-card-actions .cb-event-qrcode {
    margin: 0 auto;
  }
  .CBContent {
    max-width: unset !important;
    width: 100%;
    margin: 0 auto;
  }
}