/* SRI STREAMS */
.sri-streams-header {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 350px;
  padding: 30px;
  background-size: cover;
  background-position: top -150px center;
  background-repeat: no-repeat;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  z-index: 1;
  text-align: center;
}
.sri-streams-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .3);
  z-index: 2;
}
.sri-streams-header h1 {
  position: relative;
  color: #FFF;
  z-index: 3;
}
.sri-stream-search-container {
  box-sizing: border-box;
  background-color: #FFF;
  padding: 5px 10px;
  border-radius: 8px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  margin: 10px auto;
  z-index: 3;
}
.sri-stream-search-field {
  position: relative;
  flex: 1 1 80%;
  width: 100%;
  box-sizing: border-box;
  border: 0px;
  border-radius: 4px;
  background-color: #FFF;
  padding: 10px;
  margin: 0px 5px 0px 0px;
}
.sri-stream-search-btn, .sri-stream-search-btn:visited {
  flex: 1 1 20%;
  box-sizing: border-box;
  background-color: #CC0000;
  color: #FFF;
  border: 0px;
  border-radius: 4px;
}
.sri-stream-search-btn:hover, .sri-stream-search-btn:focus {
  background-color: #750000 !important;
  color: #FFF !important;
}

.sri-stream-search-results-container {
  box-sizing: border-box;
  display: flex;
  /* flex-flow: row wrap; */
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 1000px;
  padding: 30px;
  margin: 0px auto;
}
.sri-stream-search-results-filters {
  flex: 0 1 30%;
  margin-bottom: 30px;
}
.sri-stream-search-results-filters-title {
  margin-bottom: 15px;
}

.sri-stream-search-results {
  flex: 0 1 70%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start; 
  gap: 15px;
}

/* SRI SEARCH RESULT ITEMS */
.sri-stream-item {
  box-sizing: border-box;
  flex: 1 1 calc(100% - 15px);
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  background-color: #FFF;
  color: #333;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #FFF;
  box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 5%);
  transition: all .3s;
  gap: 15px;
}
.sri-stream-item:hover {
  border: 1px solid #CC0000;
}
.sri-stream-item-img {
  flex: 0 0 125px;
  height: 125px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 8px;
}
.sri-stream-item-disciplines {
  font-size: 11px;
  color: #666;
}
.sri-stream-item-title {
  font-size: 21px;
  line-height: 1.2;
  font-weight: bold;
  margin: 5px 0px;
  color: #333;
}
.sri-stream-item-desc {
  font-size: 15px;
  line-height: 1.3;
  padding-right: 15px;
  color: #666;
}
.sri-stream-item-desc p {
  margin-bottom: 0px;
}


/* SRI STREAM FILTER CHECKBOXES */
.sri-stream-filter-checkbox {
  display: block;
  position: relative;
  margin-bottom: 12px;
  font-size: 12px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.sri-stream-filter-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.sri-stream-filter-checkbox label {
  cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 2px;
  cursor: pointer;
}

/* On mouse-over, add a grey background color */
.sri-stream-filter-checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.sri-stream-filter-checkbox input:checked ~ .checkmark {
  background-color: #CC0000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.sri-stream-filter-checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.sri-stream-filter-checkbox .checkmark:after {
  left: 10px;
  top: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#sri_stream_filter_btn:hover, #sri_stream_filter_btn:focus {
  background-color: #750000 !important;
  color: #FFFFFF !important;
}

@media only screen and (max-width: 900px) {
  .sri-streams-header {
    background-position: top center;
  }
  .sri-stream-search-results-filters, .sri-stream-search-results {
    flex: 1 1 100%;
  }
  .sri-stream-filter-checkbox {
    display: inline-block;
    margin-right: 10px;
  }
  .sri-stream-item-disciplines {
    font-size: 10px;
  }
  .sri-stream-item-title {
    font-size: 18px;
  }
  .sri-stream-item-desc {
    font-size: 13px;
  }
}


/* SINGLE STREAM PAGE */
.sri-stream-single-container {
  padding: 15px 30px;
}
.sri-stream-back-btn {
  margin: 10px 0px;
}
.sri-stream-title h1 {
  margin: 5px 0px;
  line-height: 1.2;
}
.sri-stream-desc {
  padding-bottom: 15px;
  border-bottom: 1px solid #f2f2f2;
}
.sri-stream-img {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 15px;
  border-radius: 8px;
}
.sri-stream-desc {
  margin: 15px 0px;
}
.sri-stream-leader {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  margin: 15px 0px;
  gap: 15px;
}
.sri-stream-leader .leader-img {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
}
.sri-stream-leader .leader-img img {
  width: 50px;
  height: 50px;
}
.sri-stream-leader .leader-info {
  font-size: 15px;
}
.sri-stream-leader .leader-name {
  font-weight: bold;
}
.sri-stream-stories {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 15px;
}
.sri-stream-stories .card {
  flex: 0 1 calc(33.333% - 15px);
}
@media only screen and (max-width: 900px) {
  .sri-stream-stories .card {
    flex: 1 1 100%;
  }
}

/* LOADER */
#uu_sri_stream_search_loader {
  flex: 0 1 70%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start; 
  gap: 15px;
}

#uu_sri_stream_search_loader .uu-loader-card {
  box-sizing: border-box;
  flex: 1 1 calc(100% - 15px);
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: stretch;
  background-color: #FFF;
  color: #333;
  padding: 10px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #FFF;
  box-shadow: 0px 10px 20px 0px rgb(0 0 0 / 5%);
  transition: all .3s;
  gap: 15px;
}

/* LOADER ANIM */
@keyframes placeHolderShimmer{
  0%{
      background-position: -468px 0
  }
  100%{
      background-position: 468px 0
  }
}

.uu-loader-card-img, .uu-loader-card-img::after, .uu-loader-card-title, .uu-loader-card-title::before, .uu-loader-card-excerpt, .uu-loader-card-excerpt::before, .uu-loader-card-excerpt::after, .uu-loader-card-btn {
  animation-duration: 1.25s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: placeHolderShimmer;
  animation-timing-function: linear;
  background: #F6F6F6;
  background: linear-gradient(to right, #F6F6F6 8%, #F0F0F0 18%, #F6F6F6 33%);
  background-size: 800px 104px;
  border-radius: 2px;
}

.uu-loader-card-img {
  flex: 0 0 125px;
  height: 125px;
  border-radius: 8px;
}

.uu-loader-card-body {
  padding: 15px;
  width: 100%;
}
.uu-loader-card-title {
  position: relative;
  height: 10px;
  margin-bottom: 20px;
}
.uu-loader-card-title::after {
  position: absolute;
  bottom: -20px;
  left: 0;
  content: '';
  height: 10px;
  width: 150px;
}

.uu-loader-card-excerpt {
  position: relative;
  height: 10px;
  width: 100%;
  margin-bottom: 60px;
}

.uu-loader-card-excerpt::before {
  position: absolute;
  bottom: -20px;
  left: 0;
  content: '';
  height: 10px;
  width: 100%;
}

.uu-loader-card-excerpt::after {
  position: absolute;
  bottom: -40px;
  left: 0;
  content: '';
  height: 10px;
  width: 65%;
}

.uu-loader-card-btn {
  position: relative;
  height: 30px;
  width: 105px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.sri-stream-filter-checkbox .facetwp-facet {
    margin-bottom: 20px;
}

.facetwp-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px; 
    user-select: none;
    line-height: 25px; 
    color: #333;
    font-size:16px;
}


.facetwp-counter {
    display: none;
}


.facetwp-checkbox::before {
    content: "";
    position: absolute;
    top: 0;
   left: -10px;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 0;
    transition: background-color 0.2s;
    border: none; 
}

.facetwp-checkbox:hover::before {
    background-color: #ccc;
}

.facetwp-checkbox.checked::before {
    background-color: #CC0000;
}

.facetwp-checkbox::after {
    content: "";
    position: absolute;
    display: none; 
    left: -3px;
    top: 3px;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.facetwp-checkbox.checked::after {
    display: block;
}

.sri-stream-search-results-filters {
    padding-right: 20px;
}

