/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/*--------------------------------------------------------------
Search and Filter
--------------------------------------------------------------*/
/*
@media (max-width: 992px) {
  .publications .searchandfilter {
    margin: 0;
    padding-top: 1rem; } }
    */

.uds-section.overflow-visible {
  overflow: visible !important;
}
.publications .searchandfilter > ul {
  display: table;
  padding-left: 0;
  width: 100%;
  table-layout: fixed;
  /* border-spacing: 30px 10px;
  margin-left: -30px;*/
}
@media (max-width: 992px) {
  .publications .searchandfilter > ul {
    display: grid;
  }
}

.publications .searchandfilter > ul > li {
  display: table-cell;
  padding: 30px 30px 30px 0;
  position: relative;
}

.publications .searchandfilter > ul > li h4 {
  padding: 15px;
  width: 100%;
  background: #fff;
  border: 1px solid #bfbfbf;
  position: relative;
  pointer-events: none;
  margin-top: 0 !important;
  font-size: 1rem;
}
.publications .searchandfilter > ul > li h4::after {
  content: "+";
  font-weight: 900;
  font-size: 1.5rem;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.publications .searchandfilter > ul > li h4 + ul {
  position: absolute;
  width: 100%;
  z-index: 99;
  display: grid;
  background: #fff;
  border: 1px solid #bfbfbf;
  padding: 1rem;
  margin-left: 0;
  display: none;
}

.publications .searchandfilter > ul > li h4 + ul li {
  margin-bottom: 1.5rem !important;
}
.publications .searchandfilter > ul > li h4 + ul li input[type="checkbox"] {
  display: contents;
}

.publications
  .searchandfilter
  > ul
  > li
  h4
  + ul
  li
  input[type="checkbox"]
  + label {
  font-weight: 700;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-left: 40px !important;
}

.publications
  .searchandfilter
  > ul
  > li
  h4
  + ul
  li
  input[type="checkbox"]
  + label::before {
  top: 0;
  content: "";
  position: absolute;
  display: inline-block;
  left: -2.25rem;
  border: 1px solid #747474;
  width: 1.5rem;
  height: 1.5rem;
  background: #fff;
}
.publications
  .searchandfilter
  > ul
  > li
  h4
  + ul
  li
  input[type="checkbox"]
  + label::after {
  left: -2rem;
  content: "";
  position: absolute;
  display: inline-block;
  left: -1.875rem;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
}

.publications
  .searchandfilter
  > ul
  > li
  h4
  + ul
  li
  input[type="checkbox"]:checked
  + label::after {
  background: 0 0;
  background-image: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='check' class='svg-inline--fa fa-check fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z'%3E%3C/path%3E%3C/svg%3E");
  height: 1rem;
  width: 1rem;
  left: -2rem;
}

.publications .searchandfilter > ul > li label {
  margin-top: 0 !important;
  width: 100%;
  font-size: 1.09em;
}

.publications .searchandfilter .sf-field-search label input {
  padding: 15px;
  width: 100%;
  background: #fff;
  border: 1px solid #bfbfbf;
  position: relative;
}

.publications .searchandfilter .sf-field-submit input[type="submit"] {
  width: 100%;
  color: #fff;
  background-color: #8c1d40;
  border-color: #8c1d40;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 1rem 2rem !important;
  font-size: 1rem;
  line-height: 1rem;
  border-radius: 400rem;
  transition: 0.03s ease-in-out;
}

.searchandfilter.search-filter-disabled ul {
  opacity: 0.5;
}

li.minus-icon > h4:after {
  content: "-" !important;
}

.publication-citation {
  margin-bottom: 1rem;
}

.publication-citation p {
  display: inline !important;
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .publications .searchandfilter ul li {
    padding: 10px 0 !important;
  }
}
