/* modules list */
.da-list .da-themes div, .da-list .da-plugins div {
  text-align: center;
  display: inline;
  float: left;
  padding: 0.5em 0.5em;
  margin: 0 1em 1em 0;
  border: 1px solid light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  width: 17em;
  height: 20em;
}
.da-list .da-themes div p, .da-list .da-themes div p {
  margin: 0;
}
.da-list .da-themes div p img {
  width: 15em;
  height: 13em;
}
.da-list .da-plugins div p img {
  width: 2em;
  height: 2em;
  text-align: center;
}
.da-list .clear {
  clear: left;
}

/* module detail */
.da-post .post-excerpt {
  color: light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  background-color: light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  border-radius: 0.5em;
  padding: 1em;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  & * {
    margin-top: initial;
    margin-bottom: initial;
  }
}
.da-post .post-excerpt p {
  color: light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  background-color: light-dark(#f3f3f3, var(--main-color, #4b4b4b));
}
.da-post .post-excerpt-icon {
  width: 1.5em;
  height: 1.5em;
}
.da-post .da-post-meta h3,
.da-post .da-post-content h3,
.da-post .da-post-attachments h3 {
  margin: 1em 0;
  clear: right;
}
.da-post .da-post-content,
.widget.modulechangelog {
  h3 ~ h1 {
    font-size: 1em;
    margin-top: 1em;
  }
  h3 ~ h2 {
    font-size: 0.95em;
    margin-top: 1em;
  }
  h3 ~ h3 {
    font-size: 0.9em;
    margin-top: 1em;
  }
}
.da-post .screenshot {
  float: right;
  margin: 0 0 1em 1em;
  width: 320px;
  height: 280px;
}
.da-post .da-post-info .widget {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.da-post .li-title {
  font-weight: bold;
  margin-right: 0.2em;
}
.da-post .download {
  clear: both;
  margin: 4em 0;
  text-align: center;
}
/* js toggle */
.da-post .hide {
  display: none;
}

/* contrib list */
.da-contrib .addons-list tbody td.a_status {
  border-right: none;
  text-align: center;
  padding: 0.2em 0.2em;
  img {
    width: 1.25em;
    height: auto;
    vertical-align: middle;
  }
}
.da-contrib .addons-list tbody tr:hover {
  color: light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  background-color: light-dark(var(--main-color, #4b4b4b), #f3f3f3);
}
.da-contrib .addons-list {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 1em 0;
  padding: 0;
  border: 1px solid light-dark(var(--main-color, #4b4b4b), #f3f3f3);
}
.da-contrib .addons-list th {
  border: 1px solid #ccc;
  border-bottom: 1px solid light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  background-color: light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  color: light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  padding: 0.2em 0.4em;
  font-weight: bolder;
}
.da-contrib .addons-list tbody td {
  border: 1px solid #ccc;
  padding: 0.2em 0.4em;
}
.da-contrib {
  .sorted-asc:after {
    content: ' ↑';
  }
  .sorted-desc:after {
    content: ' ↓';
  }
}

/* contrib form */
.da-contrib .step #add-tags li {
  border: 2px solid rgba(0, 0, 0, 0);
  white-space: nowrap;
  display: inline;
  margin: 0 0.2em 0 0;
  padding: 0.5em;
  line-height: 2.7em;
  cursor: pointer;
}
.da-contrib .step #add-tags li:hover {
  color: light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  background-color: light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  border: 2px solid light-dark(#f3f3f3, var(--main-color, #4b4b4b));
  border-radius: 8px;
  margin: 0 0.2em 0 0;
}
.da-contrib .step #add-tags .tag-check {
  border: 2px solid light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  border-radius: 8px;
}
.contrib-form input:not([type='checkbox'], [type='radio'], [type='submit']), .contrib-form select {
  display: block;
  width: 75%;
}
.contrib-form textarea {
  min-width: 80%;
  min-height: 6em;
}
.contrib-form .inputfield {
  margin: 1em 0;
}
.contrib-form .note {
  margin-top: 0.2em;
  font-style: italic;
  font-size: 0.90em;
}
.content-inner .contrib-form {
  padding-bottom: 2em;
}

/* commons */
.module-warning {
  color: var(--main-color, red);
  font-weight: bold;
}
#sidebar .module-current,
#sidebar .category-current,
#sidebar .tag-current {
  border-left: 0.4em solid light-dark(var(--main-color, #4b4b4b), #f3f3f3);
  padding-left: 1.125em;
  list-style-type: none;
  border-top: none;
}
#sidebar #modulesearch input[type='search'] {
  width: 75%;
  margin-right: 0.5em;
  background-color: field;
  box-sizing: border-box;
}
