/*** Filter by tag checkboxes ***/

@media (min-width:480px) {
  .tag-container-wrapper {
    margin-bottom: 20px;
  }
}
.tag-container-wrapper {
  margin-bottom: 50px;
  margin-left: -10px;
}
.tag-container .tag label {
  margin-bottom: 0px;
  margin-left: 10px;
  font-weight: normal;
}

/* Add chevrons to panel headings in accordion */

.panel-heading .accordion-toggle.collapsed:after {
  /* fa-chevron-right for collapsed panels */
  font-family: FontAwesome;
  content: "\f054";
  float: right;
  color: grey;
}
.panel-heading .accordion-toggle:after {
  /* fa-chevron-down for open panels */
  font-family: FontAwesome;
  content: "\f078";
  float: right;
  color: grey;
}

/*** Scholarship summary cards ***/

.hiddenItem {
  display: none;
}
.shownItem {
  display: inherit;
}
.results-container li.scholarship.layout.boxstyle_ {
  padding: 1em;
}
.results-container li.scholarship.layout.boxstyle_.box2 {
  background-color: #eee;
}

/* Constrain image sizes when dimensions are unknown and variable */


/* extra small screens first and set default */

.results-container li.scholarship.layout img {
  float: right !important;
  margin: 0 0 0 20px !important;
  max-width: 40%;
  max-height: 150px;
}

/* medium screens and above */

@media (min-width: 768px) {
  .results-container li.scholarship.layout img {
    max-width: 275px;
  }
}

/* large screens only */

@media (min-width: 992px) and (max-width: 1199px) {
  .results-container li.scholarship.layout img {
    max-width: 150px;
  }
}

/* Prevent thumbnails breaking out of summary cards */

.results-container li.scholarship.layout {
  min-height: 180px;
}

/* Display 'Edit summaries' to signed-in contributors */

a.edit-link {
  position: relative;
  top: 0px;
  left: 0px;
  background-color: #c0eade;
  padding: 5px;
}