/* Sidebar - Single Post */
aside#secondary {
  background-color: #f8f4f1;
  margin-top: 0;
}

aside#secondary,
aside#secondary section.border-bottom {
  border: 0 !important;
}

aside#secondary section#rpwe_widget-2 h5.widget-title {
  text-transform: uppercase;
  color: #7e8184;
  font-weight: bolder;
  margin-bottom: 35px;
}

aside#secondary h5.widget-title {
  text-transform: uppercase;
  color: #7e8184;
  font-weight: bolder;
  margin-bottom: 15px;
}

section#rpwe_widget-2 .sidebar-recentposts ul li {
  list-style: none;
  border: 0;
}

section#rpwe_widget-2 .sidebar-recentposts ul li h3.rpwe-title {
  margin-bottom: 10px !important;
}

section#rpwe_widget-2 .sidebar-recentposts ul li h3 a {
  color: black;
  font-weight: bolder;
  font-size: 18px;
}

section#rpwe_widget-2 .sidebar-recentposts ul li h3 a:hover {
  color: #16ceea;
}

section#rpwe_widget-2 .sidebar-recentposts ul li .rpwe-summary {
  color: black;
  font-size: 14px;
  margin-bottom: 15px;
}

section#rpwe_widget-2 .sidebar-recentposts ul li .rpwe-summary a.more-link {
  color: #16ceea;
  font-weight: bolder;
  font-size: 14px;
  padding-left: 0.5rem;
}

/* Sidebar - Blog Home */

aside#secondary section#block-4,
aside#secondary section#block-8 {
  padding-bottom: 0;
  padding-top: 15px;
}

aside#secondary section#block-7,
aside#secondary section#block-3 {
  padding-bottom: 15px;
  padding-top: 0;
}

aside#secondary section#block-3 p,
aside#secondary section#block-7 p {
  display: none;
}

aside#secondary section#block-3 form.searchandfilter ul {
  padding-left: 0;
  width: 100%;
}

aside#secondary section#block-3 form.searchandfilter ul li {
  padding: 0;
}

aside#secondary section#block-3 form.searchandfilter ul li label {
  font-size: 14px;
  width: 100%;
  display: block;
  overflow: auto;
  margin: 0;
  padding: 8px 0;
  /* position: relative; */
  /* left: 35px;
    top: -1.5em;
    height: 2em; */
}

aside#secondary section#block-3 form.searchandfilter ul li label input {
  margin-right: 10px;
  /* float: left; */
}

/* aside#secondary section#block-3 form.searchandfilter ul li label span {
    float: left;
    margin-left: 10px;
  } */

/* Checkbox styles adapted from https://moderncss.dev/pure-css-custom-checkbox-style/ */
aside#secondary section#block-3 form.searchandfilter ul li label {
  /* font-family: system-ui, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.1; */
  display: grid;
  grid-template-columns: 1em auto;
  gap: 1em;
}

aside#secondary
  section#block-3
  form.searchandfilter
  ul
  li
  label
  input[type="checkbox"] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  appearance: none;
  /* For iOS < 15 */
  background-color: var(--form-background);
  /* Not removed via appearance */
  margin: 0;

  font: inherit;
  background-color: white;
  width: 1.5em;
  height: 1.5em;
  border: 1px solid #7e8184;
  border-radius: 0.15em;
  /* transform: translateY(-0.075em); */

  display: grid;
  place-content: center;
  /* position: relative;
    left: -35px;
    top: 1.5em; */
}

aside#secondary
  section#block-3
  form.searchandfilter
  ul
  li
  label
  input[type="checkbox"]::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  /* clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); */

  border: 1px solid #7e8184;
  border-radius: 0.15em;
  transform: scale(0);
  /* transform-origin: bottom left; */
  transform-origin: center center;
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
  /* Windows High Contrast Mode */
  background-color: #16ceea;
}

aside#secondary
  section#block-3
  form.searchandfilter
  ul
  li
  label
  input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* aside#secondary section#block-3 form.searchandfilter ul li label input[type="checkbox"]:focus {
    outline: max(2px, 0.15em) solid #7e8184;
    outline-offset: max(2px, 0.15em);
  } */

/* aside#secondary section#block-3 form.searchandfilter ul li label input[type="checkbox"]:disabled {
    --form-control-color: var(--form-control-disabled);
  
    color: var(--form-control-disabled);
    cursor: not-allowed;
  } */

aside#secondary
  section#block-3
  form.searchandfilter
  ul
  li
  input[type="submit"] {
  margin-top: 10px;
  border-radius: 0;
  padding: 8px 12px;
}
