details.ebp-read-more {
  border: none;
  margin-top: 0;
}

/* No border when expanded .... */
details.ebp-read-more[open] {
  /* border: 1px solid rgb(216, 219, 221); */
}

details.ebp-read-more[open] p {
  padding-left: 0.8em;
}

.ebp-read-more summary {
  padding: 0;
  display: list-item;
  cursor: pointer;
  color: #f39c12;
  background-color: white;
}

details.ebp-read-more[open] summary {
  display: list-item;
}

.ebp-read-more summary:hover {
  text-decoration: underline;
}

.ebp-tab {
  display: inline-block;
  /* padding: 0.5em 1.4em; */ /* Was 0.5em 1.8em before family tab additions */
  /* margin: 1em 0.25em 0 0; */
  border-radius: 10px 10px 0 0;
  padding: 0.5em 35.4px;
  margin: 1em 7px 0 0;
  font-size: 24px !important;
  font-family: 'Roboto Slab', sans-serif;
  background-color: rgb(216, 219, 221);
  cursor: pointer;
}

.ebp-tab.tab-last {
  margin-right: 0;
}

.ebp-tab:hover {
  background-color: rgb(51, 85, 146);
  color: white;
}

.ebp-tab:focus {
  outline: none !important;
}

.ebp-tab.active {
  color: white;
  background-color: rgb(51, 85, 146);
  pointer-events: none;
}

.ebp-tab.active:hover {
  color: white;
}

.ebp-section {
  display: none;
}

.ebp-section.active {
  display: block;
}

.ebp-search-wrapper {
  margin-top: 1em;
  text-align: right;
}

.ebp-search-wrapper label {
  display: inline-block;
}

#ebp-search-count {
  cursor: pointer;
  color: #F39C12;
}

#ebp-search-count:hover {
  text-decoration: underline;
}

mark {
  background-color: #fae057 !important;
  display: inline-block;
}

#ebp-clear-btn {
  display: none;
}

.ebp-row {
  margin-top: 1em;
  cursor: pointer;
  padding: 2em;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: rgb(234, 234, 234);
  box-shadow: 00 2px 12px rgba(176, 173, 198, -21);
  border: 1px solid rgb(234, 234, 234);
}

.ebp-row:focus {
  outline: none !important;
}

.ebp-row.ebp-other {
  margin-top: 0;
  cursor: inherit;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  border: none;
}

.ebp-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ebp-row-bottom {
  max-height: 0;
  overflow: hidden;
  transition: max-height .2s ease-in-out;
}

.ebp-row-bottom.expand {
  max-height: 1500px; /* needs to fit longest content (list of programs) */
}

.ebp-container h3 {
  text-transform: none !important;
}

.ebp-row-bottom h4 {
  margin-bottom: 0;
  line-height: 1.1;
}

.ebp-row-bottom h4:first-child {
  margin-top: 2em;
}

.ebp-row-bottom p {
  margin-top: 0;
  line-height: 1.5;
}

.ebp-row-bottom cite {
  font-style: italic;
}

.ebp-row-bottom p:last-child {
  margin-bottom: 0;
}

.ebp-row ul li {
  list-style: none;
}

.ebp-col {
  display: flex;
  align-items: center;
}

.ebp-col.left {
  width: 630px;
  justify-content: space-between;
}

.ebp-title {
  margin: 0;
  line-height: 1.1;
  text-transform: none !important;
}

.ebp-component {
  margin-left: 1.4em;
  padding: 0.5em;
  height: 56px;
  min-width: 196px;
  max-width: 196px;
  display: inline-block;
  line-height: 1.1;
  color: white;
  background-color: rgb(51, 85, 146);
}

.ebp-rating {
  margin-right: 2em;
  font-size: 1.3em;
  font-weight: 400;
  line-height: 1.1;
}

.ebp-rating span {
  display: block;
}

.ebp-rating-stars {
  font-size: 24px;
}

.ebp-rating-label {
  font-size: 20px;
  max-width: 150px;
  margin-top: 0.5em;
}

.ebp-rating-label:hover {
  text-decoration: underline;
  color: #f39c12;
  cursor: pointer;
}

.no-effects .ebp-rating-label:hover {
  text-decoration: none;
  color: black;
  cursor: none;
}

.ebp-expandable {
  margin-top: 2em;
  cursor: pointer;
}

button.collapsible span.ebp-expandable {
  float: right;
  display: inline-block;
  margin-top: 0;
  font-size: 14px;
}

.ebp-expandable::after {
  content: url(/themes/gavias_tico/images/x.svg);
}

.ebp-expandable.expand::after {
  content: url(/themes/gavias_tico/images/plus.svg);
}

.ebp-hr {
  border: 4px solid #f39c12;
  margin-top: 2em;
}

.ebp-more-info {
  margin-top: 2em;
}

img.ebp-coming-soon {
  width: 70%;
}

ul.program-list {
  margin-top: 2em;
}

.tippy-template {
  display: none;
}

.light-theme {
  padding: .4em 1.3em !important;
  box-shadow: 2px 3px 5px #999;
  background-color: #fff !important;
  font-size: 18px !important;
  font-family: 'Roboto', sans-serif;
  text-align: left;
  color: #000;
}

.tippy-tooltip .close {
  position: absolute;
  top: 2px;
  right: 5px;
  display: inline-block;
  background: #fff;
  color: #928e8e;
  font-weight: bold;
  cursor: pointer;
}

.tippy-tooltip .close:hover {
  color: #000;
}

.light-theme .tippy-title {
  margin: 0 0 10px;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #666;
  font-size: 1.1em !important;
}

.light-theme h4 {
  font-size: 18px;
  margin-bottom: 0;
}

.light-theme li {
  margin-bottom: 0.4em;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #eee;
  color: #444;
  font-weight: bold;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  margin-bottom: 1em;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.collapsible:hover {
  background-color: #ccc;
}

/* Style the collapsible content. Note: hidden by default */
.table-content {
  padding: 0 18px;
  display: none;
  overflow: hidden;
  /* background-color: #f1f1f1; */
}


/* Responsive for desktops */
@media only screen and (min-width: 1200.1px) {
  .ebp-tabs,
  .ebp-search-wrapper,
  .ebp-section,
  .ebp-row {
    width: 1170px;
  }
} 

/* Responsive for mobile devices */
@media only screen and (max-width: 1200px) {
  .ebp-tabs,
  .ebp-search-wrapper,
  .ebp-section,
  .ebp-row {
    width: 100%;
  }

  .ebp-tab {
    display: block;
    padding: 1em;
    margin: 0 0 0.2em;
    border-radius: 0;
  }

  .ebp-search-wrapper {
    margin-bottom: 1em;
  }

  #ebp-search-btn {
    margin-left: 5px;
  }

  .ebp-col.left {
    flex-direction: column;
    width: 100%;
  }

  /* Make sure the title is centered when it wraps */
  .ebp-title {
    text-align: center;
  }

  .ebp-component {
    margin-top: 1em;
    margin-left: 0;
  }

  .ebp-rating {
    margin-left: 1em;
    margin-right: 1em;
  }

  .ebp-expandable {
    margin-top: 1em;
    cursor: pointer;
  }

  img.ebp-coming-soon {
    width: 100%;
  }
}

@media only screen and (max-width: 800px) {
  .ebp-row {
    padding: 1em;
  }

  .ebp-row-top {
    display: flex;
    flex-direction: column;
  }

  .ebp-rating {
    margin-top: 1em;
    margin-left: 0;
    margin-right: 0;
  }
}