/*
 * GISCE modern application skin.
 *
 * Loaded after the legacy Transifex stylesheets. Keep this as an override
 * layer so the old grid, tables and Django templates can keep working.
 */

* {
  box-sizing: border-box;
}

html {
  background: #f5f7f4;
}

body {
  margin: 0;
  color: #18232f;
  background:
    radial-gradient(circle at 12% 0%, rgba(92, 159, 47, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 6%, rgba(45, 101, 200, 0.12), transparent 26rem),
    linear-gradient(180deg, #fbfcfa 0%, #f2f6ef 42%, #eef3ec 100%);
  font: 14px/1.55 "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body:before {
  display: block;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #2d65c8 0%, #5c9f2f 56%, #f0b83f 100%);
  content: "";
}

a,
a:link,
a:visited,
.linkstyle {
  color: #2867bd;
  text-decoration: none;
}

a:hover,
.linkstyle:hover {
  color: #3f7f24;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #18232f;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.65em;
  font-size: 1.85em;
  font-weight: 700;
}

h3 {
  margin: 1.2em 0 0.75em;
  color: #2c3a35;
  font-size: 1.02em;
  font-weight: 700;
  text-transform: none;
}

p {
  margin: 0.45em 0 0.85em;
}

.wrapper {
  width: auto;
  max-width: 1480px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
  padding-right: 28px;
  padding-left: 28px;
}

.wrapper .wrapper {
  max-width: none;
  min-width: 0;
  padding-right: 0;
  padding-left: 0;
}

div#header,
div#content,
div#footer {
  max-width: none;
  background: transparent;
}

/* Header */

div#header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  height: auto;
  min-height: 96px;
  padding: 24px 0 18px;
}

div#header div#logo {
  float: none;
  margin: 0;
}

div#header div#logo a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #17222c;
  font-weight: 800;
  line-height: 1;
}

div#header div#logo a:after {
  color: #17222c;
  font-size: 24px;
  letter-spacing: 0;
  content: "GISCE";
}

div#header div#logo img {
  display: block;
  width: 44px;
  height: 40px;
  object-fit: contain;
}

div#header div#navmenu {
  display: flex;
  float: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: transparent;
  font-size: 0;
}

div#header div#navmenu a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #405148;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

div#header div#navmenu a:hover {
  border-color: #cfe0c8;
  background: rgba(255, 255, 255, 0.74);
  color: #3f7f24;
}

div#header div#header_secnav {
  display: flex;
  float: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 auto;
  color: #647067;
  font-size: 0.93em;
}

.header-usernav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 4px;
  border: 1px solid rgba(203, 217, 198, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(24, 35, 47, 0.05);
}

.header-usernav a {
  padding: 6px 9px;
  border-radius: 999px;
  color: #2c4c6f;
  font-weight: 700;
}

.header-usernav a:hover {
  background: #edf5e8;
  color: #3f7f24;
}

.header-welcome {
  padding-left: 8px;
  color: #405148;
}

form.microform {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

#notification-container {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 50%;
  display: none;
  width: 20em;
  padding: 12px 14px;
  transform: translateX(-50%);
  border: 1px solid #cbd9c6;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  color: #405148;
  box-shadow: 0 14px 34px rgba(24, 35, 47, 0.12);
}

#global-language-chooser {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

#global-language-chooser:before {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  background: url("../images/icons/language.png") center center no-repeat;
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

#global-language-chooser:after {
  position: absolute;
  right: 10px;
  width: 0;
  height: 0;
  border-top: 5px solid #647067;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  pointer-events: none;
}

#language_switch,
select#language_switch {
  min-width: 74px;
  min-height: 36px;
  margin: 0;
  padding: 7px 28px 7px 32px;
  border: 1px solid #cbd9c6;
  border-radius: 999px;
  background: #ffffff;
  color: #405148;
  font-size: 0.92em;
  font-weight: 700;
  line-height: 1;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 8px 20px rgba(24, 35, 47, 0.06);
}

#global-language-chooser:hover #language_switch,
#global-language-chooser:focus-within #language_switch {
  border-color: #9fca91;
  background-color: #f8fbf6;
  color: #25332d;
}

div#header div#header_trinav {
  display: flex;
  float: none;
  clear: none;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  color: #647067;
}

#header_trinav .searchform_plain {
  margin: 0;
}

#header_trinav .searchform_plain form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

#header_trinav .searchform_plain input {
  float: none;
  margin: 0;
}

#header_trinav .searchform_plain input[type="text"],
#header_trinav .searchform_plain input.query {
  width: 285px;
  height: 40px;
  padding: 9px 14px;
  border: 1px solid #cbd9c6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #18232f;
  font-size: 1em;
  box-shadow: 0 8px 24px rgba(24, 35, 47, 0.05);
}

#header_trinav .searchform_plain input[type="submit"],
#header_trinav .searchform_plain input.submit {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background-color: #5c9f2f;
  background-position: center center;
  box-shadow: 0 10px 22px rgba(92, 159, 47, 0.24);
}

#header_trinav .searchform_plain input[type="submit"]:hover,
#header_trinav .searchform_plain input.submit:hover {
  background-color: #3f7f24;
}

div.searchform input.query,
div.searchform input.query.withbgimage {
  background-image: url("../images/icons/magnifier.png");
  background-repeat: no-repeat;
  background-position: 12px center;
}

div.searchform input.query.withbgimage {
  width: 680px;
  max-width: 100%;
  height: 42px;
  margin: 0;
  padding: 10px 14px 10px 38px;
  color: #18232f;
  font-size: 1em;
  font-weight: 600;
}

#header_trinav .searchform_plain input.query {
  background-image: none;
}

div.searchform.content_header_prim {
  margin: 14px 0 0;
}

div.searchform.content_header_prim form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Main frame */

div#content {
  overflow: hidden;
  min-height: 0;
  margin: 0 0 34px;
  padding: 0;
  border: 1px solid rgba(203, 217, 198, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(24, 35, 47, 0.08);
}

#content > .wrapper {
  padding: 0 30px 32px;
}

#content_header {
  overflow: visible;
  margin: 0 0 24px;
  padding: 24px 30px 18px;
  border-bottom: 1px solid #e3ecdf;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 247, 0.96)),
    linear-gradient(90deg, rgba(92, 159, 47, 0.11), rgba(45, 101, 200, 0.08));
}

#content_header:after {
  display: block;
  clear: both;
  content: "";
}

#content_title.grid_10 {
  width: calc(100% - 300px);
  margin-right: 0;
  margin-left: 0;
}

#content_header_sec.grid_2 {
  display: flex;
  float: right;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  width: 270px;
  margin-right: 0;
}

#content_header_sec p {
  margin: 0;
  text-align: right;
}

#content h2.pagetitle,
div#content h2.pagetitle,
div#content h2.pagesubtitle,
div.obj_bigdetails h2.name,
.pagetitle_wdesc {
  margin: 0;
  color: #18232f !important;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.15em;
  font-weight: 800 !important;
  letter-spacing: 0;
  line-height: 1.12;
}

#content h2.pagetitle.with_description,
div#content h2.pagetitle.with_description {
  display: block;
  padding-bottom: 2px;
  line-height: 1.24;
}

.lastchild-emf {
  display: block;
  overflow: visible;
}

#content h2.pagetitle.with_description span {
  display: inline;
  vertical-align: baseline;
}

#content h2.pagetitle.with_description sup.entry_metalink {
  font-size: 0.52em;
  line-height: 0;
  vertical-align: super;
}

#content_title .description {
  clear: both;
  margin-top: 8px;
}

#content_title .description p {
  margin: 0;
}

#content_main.grid_12,
#header_menu.grid_12 {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

#content_main,
#content .wrapper .grid_12,
#header_menu .tab-wrapper.grid_10,
#header_menu .tab-wrapper.grid_12 {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

#header_menu .tab-wrapper.grid_10,
#header_menu .tab-wrapper.grid_12 {
  float: none;
  overflow: visible;
}

#content .side-menu.grid_3 {
  width: 230px !important;
  margin-right: 24px;
}

#content .psettings-content.grid_9 {
  width: calc(100% - 254px);
  margin-right: 0;
}

#header_menu {
  clear: both;
  margin: 18px 0 0;
  padding-top: 4px;
}

#teamcode-arrow {
  display: inline-flex;
  float: left;
  align-items: center;
  margin: 0 10px 0 0;
}

#teamcode {
  height: 34px;
  max-width: 120px;
  padding: 0 13px;
  border: 1px solid #cfe0c8;
  border-radius: 999px;
  background: #edf5e8;
  color: #3f7f24;
  font-size: 0.92em;
  font-weight: 800;
  line-height: 32px;
  text-shadow: none;
}

#teamcode-arrow span {
  display: none;
}

.project-sign {
  display: inline-flex;
  float: none !important;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 34px;
  margin-left: 8px;
  padding: 7px 10px 7px 34px;
  border: 1px solid #dfe8dc;
  border-radius: 999px;
  background-color: #ffffff !important;
  background-position: 10px center !important;
  background-size: 16px 16px !important;
  background-repeat: no-repeat !important;
  color: #647067;
  box-shadow: 0 8px 18px rgba(24, 35, 47, 0.05);
}

.project-sign p {
  margin: 0;
  color: #405148;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  text-align: left;
}

.description,
div.obj_biglist p.description,
body.search.project_list p.description,
body.search.project_list p.long_description,
div.obj_bigdetails p.description {
  color: #627069;
  line-height: 1.55;
}

.separate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dfe8dc;
  background: none;
}

.separate-header.notopmargin {
  margin-top: 0 !important;
}

.separate-header .sh-label {
  margin: 0;
  color: #25332d;
  font-size: 1.05em;
  font-weight: 800;
}

.separate-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.separate-buttons .nude-button,
.separate-buttons .buttonized {
  margin-top: 0;
}

/* Buttons and forms */

button,
a.button,
.buttonized,
input.buttonized,
span.buttonized,
.microform input[type="submit"],
input[type="submit"] {
  min-height: 34px;
  border: 1px solid #cbd9c6;
  border-radius: 6px;
  background-color: #ffffff;
  color: #25332d;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 6px 16px rgba(24, 35, 47, 0.06);
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

input.buttonized,
.microform input[type="submit"],
input[type="submit"] {
  padding: 8px 14px;
}

button:hover,
a.button:hover,
.buttonized:hover,
input.buttonized:hover,
input.buttonized:focus,
.microform input[type="submit"]:hover,
input[type="submit"]:hover {
  border-color: #9fca91;
  background-color: #edf6e8;
  color: #3f7f24;
  box-shadow: 0 10px 22px rgba(92, 159, 47, 0.15);
}

.header-usernav .microform input[type="submit"] {
  min-height: 30px;
  padding: 6px 10px 6px 26px;
  border-color: transparent;
  border-radius: 999px;
  background-color: transparent;
  background-image: url("../images/icons/logout.png");
  background-position: 7px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
  color: #405148;
  font-size: 0.92em;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
}

.header-usernav .microform input[type="submit"]:hover,
.header-usernav .microform input[type="submit"]:focus {
  background-color: #edf5e8;
  color: #3f7f24;
}

.nude-button {
  min-height: 26px;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  color: #2867bd;
  font-weight: 700;
  line-height: 18px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="url"],
textarea,
select {
  border: 1px solid #cbd9c6;
  border-radius: 6px;
  background-color: #ffffff;
  color: #18232f;
  box-shadow: inset 0 1px 2px rgba(24, 35, 47, 0.04);
}

input[type="email"]:hover,
input[type="password"]:hover,
input[type="text"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
  border-color: #aebfa7;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: #5c9f2f;
  outline: none;
  box-shadow: 0 0 0 3px rgba(92, 159, 47, 0.16);
}

fieldset legend {
  color: #25332d;
  font-weight: 800;
}

div.generic_form table th {
  color: #405148;
  font-weight: 700;
}

div.generic_form table td p.helptext,
p.helptext {
  color: #647067;
}

/* Home */

body.index #content_header {
  margin-bottom: 0;
}

body.index #content > .wrapper {
  padding-top: 26px;
}

body.index #content_main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

body.index #intro.grid_8 {
  float: none;
  flex: 1 1 auto;
  width: auto;
  margin: 0;
}

#intro .promo {
  position: relative;
  min-height: 148px;
  margin: 0 0 22px;
  padding: 30px 34px 28px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(92, 159, 47, 0.12), rgba(45, 101, 200, 0.08)),
    #fbfdf9;
  color: #18232f;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1.35;
}

#intro .promo:before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 0;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #2d65c8, #5c9f2f);
  content: "";
}

#ip-bottom-quote {
  display: none;
}

#top_lists {
  padding: 22px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #ffffff;
}

#top_projects h3 {
  margin-top: 0;
}

.browse-projects {
  margin: 16px 0 0;
  color: #647067;
  font-weight: 600;
}

body.index #login_index.grid_3 {
  float: none;
  flex: 0 0 310px;
  width: 310px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: #405148;
}

div#login_index fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid #d7e4d2;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(24, 35, 47, 0.08);
}

div#login_index legend {
  padding: 0 0 10px;
  color: #18232f;
  font-size: 1.25em;
  font-weight: 800;
}

div#login_index .form-row {
  margin: 0 0 14px;
  text-align: left;
}

div#login_index label {
  display: block;
  margin: 0 0 5px;
  color: #405148;
  font-size: 0.9em;
  font-weight: 800;
}

div#login_index input[type="text"],
div#login_index input[type="password"] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 11px;
}

div#login_index label[for="id_remember_me"] {
  display: inline-flex;
  align-items: center;
  margin: 0 8px 0 0;
}

div#login_index input[type="checkbox"] {
  width: auto;
  margin: 0;
  vertical-align: middle;
  accent-color: #5c9f2f;
}

div#login_index .submit-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  font-size: 100%;
  text-align: center;
}

div#login_index .submit-row input[type="submit"] {
  width: auto;
  min-width: 176px;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 28px;
  border-color: #5c9f2f;
  border-radius: 999px;
  background-color: #5c9f2f;
  background-image: none !important;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  box-shadow: 0 12px 24px rgba(92, 159, 47, 0.22);
}

div#login_index .submit-row input[type="submit"]:hover,
div#login_index .submit-row input[type="submit"]:focus {
  border-color: #3f7f24;
  background-color: #3f7f24;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(63, 127, 36, 0.25);
}

/* Lists, cards and content blocks */

ul.simple {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.simple li {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #edf2ea;
  color: #405148;
}

ul.simple li:last-child {
  border-bottom: 0;
}

.browse-entry,
div.obj_biglist div.entry,
body.search.project_list div.info {
  margin-bottom: 14px;
  padding: 18px 20px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 35, 47, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.browse-entry:hover,
div.obj_biglist div.entry:hover,
body.search.project_list div.info:hover {
  border-color: #b9d6ae;
  box-shadow: 0 14px 34px rgba(24, 35, 47, 0.08);
  transform: translateY(-1px);
}

div.obj_biglist .name,
body.search.project_list p.name {
  margin: 0 0 5px;
  color: #18232f;
  font-size: 1.3em;
  font-weight: 800;
}

.compact {
  color: #647067;
}

.entry_metalink,
.entry_metalink a {
  color: #647067;
}

dl.definition {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #fbfdf9;
}

dl.definition dt,
dl.definition dd {
  margin: 0;
  min-height: 24px;
  line-height: 1.5;
}

dl.definition dt {
  color: #405148;
  font-weight: 800;
}

dl.definition dd {
  color: #18232f;
}

div.obj_bigdetails div.long_description {
  float: none;
  width: auto;
  margin: 0 0 22px;
  padding: 18px 20px;
  border-left: 4px solid #5c9f2f;
  border-radius: 0 8px 8px 0;
  background: #f6faf3;
  color: #405148;
  font-size: 1em;
}

.datalist {
  margin-bottom: 26px;
}

.datalist ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.datalist ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  height: auto;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #ffffff;
}

.datalist ul li:hover {
  border-color: #bdd8b3;
  background: #fbfdf9;
}

.datalist .tt-details {
  display: flex;
  float: none;
  align-items: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  margin: 0;
  line-height: 1.25;
}

.datalist .tt-details img.border {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

.datalist .tt-details a {
  overflow: hidden;
  color: #25332d;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.datalist .tt-details .fullname {
  order: 2;
  overflow: hidden;
  color: #647067;
  font-size: 0.88em;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.datalist ul li form {
  flex: 0 0 auto;
  float: none;
  margin: 0;
}

.languages_list.multicolumn3 {
  column-count: auto;
}

.languages_list ul.simple {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.languages_list ul.simple li.grid_5 {
  float: none;
  width: auto;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #ffffff;
}

/* Tables and progress */

.stats-table {
  border-top: 1px solid #dfe8dc;
  font-size: 13px;
}

.stats-table thead {
  display: block;
  position: sticky;
  z-index: 20;
  top: 0;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(24, 35, 47, 0.07);
}

.stats-table tbody {
  display: block;
}

.stats-table tr {
  display: block;
  clear: both;
}

.stats-table tbody tr {
  height: 40px;
  overflow: hidden;
}

.stats-table tr:after {
  display: block;
  clear: both;
  content: "";
}

.stats-table td,
.stats-table th {
  height: 40px;
  line-height: 40px;
}

.stats-table td {
  display: flex;
  align-items: center;
  line-height: 1.35;
}

.stats-table th {
  color: #647067;
  font-size: 0.86em;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-table th.onlyarrow,
table.stats-table thead tr th.onlyarrow.header {
  height: 30px;
  line-height: 30px;
}

.stats-table th.onlyarrow a {
  display: block;
  height: 30px;
  line-height: 30px;
}

.stats-table th.onlyarrow.header {
  background-position: calc(100% - 6px) center;
}

.stats-table td {
  border-bottom-color: #edf2ea;
}

.stats-table td img {
  padding-top: 0;
  vertical-align: middle;
}

.stats-table tbody tr:hover td {
  background-color: #f9fbf7;
}

.stats-table td:not(.priority_level)::before,
.fadecontent::before {
  right: 28px;
  background: linear-gradient(90deg, rgba(249, 251, 247, 0), #f9fbf7);
}

.stats-table td:not(.priority_level)::after,
.fadecontent::after {
  width: 28px;
  background: #f9fbf7;
}

.stats-table td.tablecompletion > div {
  margin-top: 0;
}

td.tablecompletion .stats {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 100%;
  line-height: 1;
}

td.tablecompletion .stats_string_resource {
  float: none;
  flex: 0 0 34px;
  height: auto;
  padding-left: 0;
  color: #25332d;
  font-size: 0.9em;
  font-weight: 800;
  line-height: 1;
  text-align: right;
}

table.stats-table td.priority_level {
  width: 50px;
  justify-content: center;
}

table.stats-table th.priority_level {
  width: 46px;
}

table.stats-table td.priority_level span,
table.stats-table td.priority_level a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
}

table.stats-table td.priority_level img {
  display: block;
  max-height: 16px;
  margin: 0;
  padding-top: 0 !important;
}

table.stats-table td.tablelastupd span.i16 {
  display: inline-flex;
  align-items: center;
  height: auto;
  min-height: 20px;
  border: 0;
  background-position: 0 center;
  line-height: 1.2;
}

div.graph,
div.graph_comp,
div.graph_resource,
div.graph_resource_compact {
  overflow: hidden;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: #e8eee8;
  box-shadow:
    inset 0 0 0 1px rgba(64, 81, 72, 0.08),
    inset 0 1px 2px rgba(24, 35, 47, 0.08);
}

td.tablecompletion div.graph_resource {
  flex: 0 0 auto;
  margin: 0;
}

div.stats_string,
div.stats_string_comp,
div.stats_string_resource,
div.stats_string_resource_compact {
  color: #18232f;
  font-weight: 800;
}

div.translated,
div.translated_comp {
  background: linear-gradient(90deg, #4e9a45, #6fbd5a);
}

div.fuzzy,
div.fuzzy_comp {
  background: linear-gradient(90deg, #e0aa33, #f2c95b);
}

div.untranslated,
div.untranslated_comp {
  background: linear-gradient(90deg, #d7dfd5, #c8d3c7);
}

div.translated,
div.translated_comp,
div.fuzzy,
div.fuzzy_comp,
div.untranslated,
div.untranslated_comp {
  top: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
}

table.resources td.tableobject,
table.langdetail td.tableobject,
table.resdetail td.tableobject,
table.reldetail td.tableobject,
table.rltemplate td.tableobject,
table.rltemplate1 td.tableobject,
table.teamlist td.tableobject {
  padding-left: 8px;
  font-size: 1.02em;
}

table.resources td.tableobject {
  width: calc(100% - 520px);
  min-width: 280px;
}

table.resources th.tableobject {
  width: calc(100% - 564px);
  min-width: 301px;
}

table.resources td.category_td_class {
  width: 160px;
}

table.resources th.category_td_class {
  width: 176px;
}

table.resources td.res-size {
  width: 160px;
}

table.resources th.res-size {
  width: 176px;
}

table.langdetail td.tableobject {
  width: calc(100% - 490px);
  min-width: 280px;
}

table.langdetail th.tableobject {
  width: calc(100% - 498px);
  min-width: 301px;
}

table.resdetail td.tableobject {
  width: calc(100% - 490px);
  min-width: 280px;
}

table.resdetail th.tableobject {
  width: calc(100% - 498px);
  min-width: 301px;
}

table.reldetail td.tableobject {
  width: calc(100% - 490px);
  min-width: 280px;
}

table.reldetail th.tableobject {
  width: calc(100% - 498px);
  min-width: 301px;
}

table.rltemplate td.tableobject {
  width: calc(100% - 660px);
  min-width: 250px;
}

table.rltemplate th.tableobject {
  width: calc(100% - 684px);
  min-width: 271px;
}

table.rltemplate1 td.tableobject {
  width: calc(100% - 580px);
  min-width: 220px;
}

table.rltemplate1 th.tableobject {
  width: calc(100% - 604px);
  min-width: 241px;
}

table.rltemplate1 td.priority_level {
  width: 40px;
}

table.rltemplate1 th.priority_level {
  width: 36px;
}

table.stats-table.teamlist {
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #dfe8dc;
  border-top: 1px solid #dfe8dc;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(24, 35, 47, 0.05);
}

table.stats-table.teamlist thead,
table.stats-table.teamlist tbody {
  display: block;
  position: static;
  background: transparent;
  box-shadow: none;
}

table.stats-table.teamlist tr {
  display: flex;
  clear: none;
  align-items: center;
  width: 100%;
  height: 46px;
  margin: 0;
  border-bottom: 1px solid #e6eee2;
}

table.stats-table.teamlist thead tr:first-child {
  height: 38px;
  border-bottom-color: #dfe8dc;
  background: #f7faf5;
}

table.stats-table.teamlist thead tr:first-child th,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.header,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.header:hover,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.header.headerSortDown,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.header.headerSortUp {
  border: 0;
  background-color: transparent !important;
  background-image: none;
  color: #657469;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow {
  cursor: pointer;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow:after {
  color: #657469;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 38px;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown:after,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp:after {
  color: #25332d;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp {
  box-shadow: inset 0 -2px 0 #5c9f2f;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown:before,
table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp:before {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown:before {
  border-top: 5px solid #5c9f2f;
}

table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp:before {
  margin-top: -3px;
  border-bottom: 5px solid #5c9f2f;
}

table.stats-table.teamlist thead tr:not(:first-child) {
  height: 48px;
  border-bottom-color: #e6eee2;
  background: #ffffff;
}

table.stats-table.teamlist tr:after {
  display: none;
}

table.stats-table.teamlist td,
table.stats-table.teamlist th {
  display: flex;
  float: none;
  align-items: center;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border-bottom: 0;
  line-height: 1.35;
}

table.stats-table.teamlist th.onlyarrow {
  position: relative;
  height: 100%;
  line-height: 1.35;
}

table.stats-table.teamlist th.onlyarrow a {
  position: absolute;
  inset: 0;
  height: auto;
  line-height: inherit;
}

table.stats-table.teamlist th.onlyarrow:after {
  position: static;
  line-height: 1;
}

table.stats-table.teamlist td.tableobject,
table.stats-table.teamlist th.tableobject {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

table.stats-table.teamlist td.tablecompletion,
table.stats-table.teamlist th.tablecompletion {
  flex: 0 0 260px;
  width: 260px;
}

table.stats-table.teamlist td.tablelastupd,
table.stats-table.teamlist th.tablelastupd {
  flex: 0 0 176px;
  width: 176px;
  padding-right: 12px;
}

table.stats-table.teamlist td.tableobject a {
  overflow: hidden;
  color: #25332d;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.stats-table.teamlist td.tableobject span {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #7d897f !important;
  font-weight: 700;
}

table.stats-table.teamlist tr.sourcelang,
table.stats-table.teamlist thead tr:not(:first-child) {
  height: 48px;
  background: #fbfdf9;
}

table.stats-table.teamlist tr.sourcelang td,
table.stats-table.teamlist thead tr:not(:first-child) td {
  border-bottom: 0;
}

table.stats-table.teamlist th.tableobject:after {
  content: "Language";
}

table.stats-table.teamlist th.tablelastupd:after {
  content: "Last update";
}

.stats-table th.onlyarrow:after {
  position: absolute;
  top: 0;
  left: 0;
  color: #647067;
  line-height: 30px;
}

table.stats-table th.tableobject:after {
  content: "Name";
}

table.stats-table th.category_td_class:after {
  content: "Category";
}

table.resources th.res-size:after {
  content: "Size";
}

table.stats-table th.tablecompletion:after {
  content: "Progress";
}

table.stats-table th.tablelastupd:after {
  content: "Last activity";
}

table.stats-table th.priority_level:after {
  content: "Priority";
}

/* Tabs */

.tabbed-header {
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #f5f9f2;
}

.tab-wrapper,
.tabbed-header .tab-wrapper {
  height: auto;
  margin: 0;
  border: 0;
}

.tab-wrapper ul {
  margin: 0;
}

.tabs {
  display: flex;
  float: none;
  flex-wrap: wrap;
  gap: 6px;
  color: #647067;
}

.tabs > li {
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 6px;
}

.tabs > li.selected {
  border: 0;
}

.tabs a {
  padding: 8px 13px;
  color: #526058;
  font-weight: 700;
  line-height: 1.35;
}

.tabs a:hover {
  color: #3f7f24;
}

.tabs > .selected,
.tabs li:hover {
  background: #ffffff;
  color: #18232f;
  box-shadow: 0 8px 20px rgba(24, 35, 47, 0.07);
}

.tabs > .selected > a {
  margin-bottom: 0;
  border-bottom: 0;
  color: #3f7f24;
}

/* Messages, popups and footer */

.messages {
  margin: 18px 26px 0;
}

.message,
.message_info,
.message_success,
.message_warning,
.message_error {
  display: block;
  margin-bottom: 10px;
  padding: 11px 14px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
  background: #ffffff;
  color: #405148;
}

.message_success {
  border-color: #bbd9ad;
  background: #f0f8ec;
  color: #3f7f24;
}

.message_warning {
  border-color: #ead69b;
  background: #fff8df;
  color: #765a12;
}

.message_error {
  border-color: #e4b4b4;
  background: #fff2f2;
  color: #9c3c3c;
}

div.actions_popup,
div.facebox-content {
  width: 720px;
  min-width: 0;
  max-width: calc(100vw - 96px);
  padding: 20px 24px 14px;
}

div.actions_popup h4 {
  color: #18232f;
  font-size: 1.15em;
}

div.actions_popup .first_level {
  padding: 1.2em 0 0.8em;
  border-top-color: #dfe8dc;
}

div.actions_popup div.stats_details_string,
div.actions_popup #action-tmbreakdown {
  width: auto;
  border-bottom-color: #e6eee2;
  color: #25332d;
}

div.actions_popup div.stats_wrapper {
  width: auto;
  max-width: 520px;
  padding-right: 0;
}

div.actions_popup div.more_actions ul {
  width: 320px;
}

#facebox {
  z-index: 10001;
}

#facebox_overlay {
  z-index: 10000;
}

#facebox .content {
  border-radius: 8px;
}

div#footer {
  width: auto;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px 34px;
  color: #647067;
  background: transparent;
}

div#footer .center,
div#footer .powered,
div#footer .version {
  color: #647067;
}

div#footer a {
  color: #405148;
  font-weight: 700;
}

/* Responsive */

@media screen and (max-width: 1100px) {
  .wrapper {
    padding-right: 16px;
    padding-left: 16px;
  }

  div#header {
    gap: 12px 16px;
  }

  div#header div#header_secnav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  div#header div#header_trinav {
    justify-content: flex-start;
  }

  #content > .wrapper,
  #content_header {
    padding-right: 18px;
    padding-left: 18px;
  }

  #content_title.grid_10,
  #content_header_sec.grid_2 {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #content_header_sec {
    margin-top: 12px;
  }

  #content_header_sec p {
    text-align: left;
  }

  body.index #content_main {
    display: block;
  }

  body.index #login_index.grid_3 {
    width: auto;
    margin-top: 24px;
  }

  div.actions_popup,
  div.facebox-content {
    width: auto;
    max-width: calc(100vw - 48px);
  }

  table.resources td.tableobject {
    width: 360px;
  }

  table.resources th.tableobject {
    width: 381px;
  }

  table.resources td.category_td_class {
    width: 160px;
  }

  table.resources th.category_td_class {
    width: 176px;
  }

  table.resources td.res-size {
    width: 190px;
  }

  table.resources th.res-size {
    width: 206px;
  }

  table.resources td.tablelastupd {
    width: 140px;
  }

  table.resources th.tablelastupd {
    width: 156px;
  }

  table.resources td.priority_level {
    width: 50px;
  }

  table.resources th.priority_level {
    width: 46px;
  }
}

@media screen and (max-width: 700px) {
  .wrapper {
    padding-right: 12px;
    padding-left: 12px;
  }

  .wrapper .grid_1,
  .wrapper .grid_2,
  .wrapper .grid_3,
  .wrapper .grid_4,
  .wrapper .grid_5,
  .wrapper .grid_6,
  .wrapper .grid_7,
  .wrapper .grid_8,
  .wrapper .grid_9,
  .wrapper .grid_10,
  .wrapper .grid_11,
  .wrapper .grid_12 {
    float: none;
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  div#header {
    padding-top: 18px;
  }

  div#header div#navmenu,
  .header-usernav {
    width: 100%;
  }

  .header-usernav {
    justify-content: flex-start;
    flex-wrap: wrap;
    border-radius: 8px;
  }

  #header_trinav .searchform_plain,
  #header_trinav .searchform_plain form,
  #header_trinav .searchform_plain input[type="text"],
  #header_trinav .searchform_plain input.query {
    width: 100%;
  }

  #content h2.pagetitle,
  div#content h2.pagetitle,
  div#content h2.pagesubtitle,
  div.obj_bigdetails h2.name,
  .pagetitle_wdesc {
    font-size: 1.75em;
  }

  #intro .promo {
    min-height: 0;
    padding: 24px 24px 22px;
    font-size: 1.25em;
  }

  dl.definition {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .separate-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Theme toggle and dark mode */

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  min-height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd9c6;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(24, 35, 47, 0.08);
}

.theme-toggle:hover,
.theme-toggle:focus {
  border-color: #9fca91;
  background: #edf6e8;
  outline: none;
}

.theme-toggle-icon {
  display: block;
  width: 19px;
  height: 19px;
  color: #25332d;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 0.16s ease, transform 0.16s ease;
}

.theme-toggle-icon-sun {
  display: none;
}

.theme-toggle:hover .theme-toggle-icon,
.theme-toggle:focus .theme-toggle-icon {
  color: #3f7f24;
}

.theme-toggle.is-dark .theme-toggle-icon-moon {
  display: none;
}

.theme-toggle.is-dark .theme-toggle-icon-sun {
  display: block;
  color: #ffd166;
}

html[data-theme="dark"] {
  background: #071014;
  color-scheme: dark;
}

html[data-theme="dark"] body {
  color: #dce8df;
  background:
    radial-gradient(circle at 10% 0%, rgba(103, 185, 82, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(68, 137, 219, 0.2), transparent 30rem),
    linear-gradient(180deg, #071014 0%, #0a1217 42%, #0e171b 100%);
}

html[data-theme="dark"] body:before {
  background: linear-gradient(90deg, #4f8cff 0%, #72d15d 55%, #ffd166 100%);
}

html[data-theme="dark"] a,
html[data-theme="dark"] a:link,
html[data-theme="dark"] a:visited,
html[data-theme="dark"] .linkstyle {
  color: #8fc7ff;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] .linkstyle:hover {
  color: #a7ee83;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] #content h2.pagetitle,
html[data-theme="dark"] div#content h2.pagetitle,
html[data-theme="dark"] div#content h2.pagesubtitle,
html[data-theme="dark"] div.obj_bigdetails h2.name,
html[data-theme="dark"] .pagetitle_wdesc {
  color: #f3f7f2 !important;
}

html[data-theme="dark"] div#header div#logo a,
html[data-theme="dark"] div#header div#logo a:after {
  color: #f5f9f4;
}

html[data-theme="dark"] div#header div#navmenu a {
  color: #c1d0c4;
}

html[data-theme="dark"] div#header div#navmenu a:hover,
html[data-theme="dark"] .header-usernav a:hover {
  border-color: rgba(130, 211, 103, 0.35);
  background: rgba(127, 210, 93, 0.11);
  color: #a7ee83;
}

html[data-theme="dark"] .header-usernav,
html[data-theme="dark"] #language_switch,
html[data-theme="dark"] select#language_switch,
html[data-theme="dark"] .theme-toggle {
  border-color: rgba(169, 200, 174, 0.18);
  background: rgba(17, 29, 35, 0.84);
  color: #dce8df;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] #global-language-chooser:before {
  filter: invert(1) grayscale(1);
  opacity: 0.7;
}

html[data-theme="dark"] #global-language-chooser:after {
  border-top-color: #b8c8bd;
}

html[data-theme="dark"] #global-language-chooser:hover #language_switch,
html[data-theme="dark"] #global-language-chooser:focus-within #language_switch {
  border-color: rgba(130, 211, 103, 0.45);
  background-color: #16262d;
  color: #eef7ed;
}

html[data-theme="dark"] .header-welcome,
html[data-theme="dark"] div#header div#header_secnav {
  color: #b8c8bd;
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus {
  border-color: rgba(130, 211, 103, 0.45);
  background: rgba(24, 45, 35, 0.96);
}

html[data-theme="dark"] #header_trinav .searchform_plain input[type="text"],
html[data-theme="dark"] #header_trinav .searchform_plain input.query,
html[data-theme="dark"] div.searchform input.query.withbgimage,
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="url"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  border-color: rgba(169, 200, 174, 0.2);
  background-color: #111d23;
  color: #edf5ef;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] input[type="email"]:focus,
html[data-theme="dark"] input[type="password"]:focus,
html[data-theme="dark"] input[type="text"]:focus,
html[data-theme="dark"] input[type="url"]:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus {
  border-color: #7bd861;
  box-shadow: 0 0 0 3px rgba(123, 216, 97, 0.18);
}

html[data-theme="dark"] #header_trinav .searchform_plain input[type="submit"],
html[data-theme="dark"] #header_trinav .searchform_plain input.submit,
html[data-theme="dark"] div#login_index .submit-row input[type="submit"] {
  border-color: #69bd51;
  background-color: #69bd51;
  color: #071014;
  box-shadow: 0 12px 24px rgba(105, 189, 81, 0.22);
}

html[data-theme="dark"] div#content {
  border-color: rgba(169, 200, 174, 0.18);
  background: rgba(11, 20, 25, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

html[data-theme="dark"] #content_header {
  border-bottom-color: rgba(169, 200, 174, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 31, 37, 0.96), rgba(13, 24, 29, 0.96)),
    linear-gradient(90deg, rgba(112, 202, 85, 0.13), rgba(79, 140, 255, 0.1));
}

html[data-theme="dark"] .description,
html[data-theme="dark"] div.obj_biglist p.description,
html[data-theme="dark"] body.search.project_list p.description,
html[data-theme="dark"] body.search.project_list p.long_description,
html[data-theme="dark"] div.obj_bigdetails p.description,
html[data-theme="dark"] .compact,
html[data-theme="dark"] .entry_metalink,
html[data-theme="dark"] .entry_metalink a {
  color: #aab9ae;
}

html[data-theme="dark"] .separate-header {
  border-bottom-color: rgba(169, 200, 174, 0.16);
}

html[data-theme="dark"] .separate-header .sh-label {
  color: #eef7ed;
}

html[data-theme="dark"] button,
html[data-theme="dark"] a.button,
html[data-theme="dark"] .buttonized,
html[data-theme="dark"] input.buttonized,
html[data-theme="dark"] span.buttonized,
html[data-theme="dark"] .microform input[type="submit"],
html[data-theme="dark"] input[type="submit"] {
  border-color: rgba(169, 200, 174, 0.18);
  background-color: #14252b;
  color: #e4efe7;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] button:hover,
html[data-theme="dark"] a.button:hover,
html[data-theme="dark"] .buttonized:hover,
html[data-theme="dark"] input.buttonized:hover,
html[data-theme="dark"] input.buttonized:focus,
html[data-theme="dark"] .microform input[type="submit"]:hover,
html[data-theme="dark"] input[type="submit"]:hover {
  border-color: rgba(130, 211, 103, 0.45);
  background-color: #183323;
  color: #a7ee83;
}

html[data-theme="dark"] .header-usernav .microform input[type="submit"] {
  background-color: transparent;
  color: #dce8df;
}

html[data-theme="dark"] .header-usernav .microform input[type="submit"]:hover,
html[data-theme="dark"] .header-usernav .microform input[type="submit"]:focus {
  background-color: rgba(112, 202, 85, 0.14);
  color: #a7ee83;
}

html[data-theme="dark"] div#login_index {
  color: #dce8df;
}

html[data-theme="dark"] div#login_index fieldset,
html[data-theme="dark"] .login-block fieldset {
  border-color: rgba(169, 200, 174, 0.2);
  background:
    linear-gradient(180deg, rgba(18, 31, 37, 0.98), rgba(12, 22, 27, 0.98)),
    #111d23;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] div#login_index legend,
html[data-theme="dark"] .login-block legend {
  color: #f4fbf4;
}

html[data-theme="dark"] div#login_index label,
html[data-theme="dark"] .login-block label {
  color: #d5e2d8;
}

html[data-theme="dark"] div#login_index input[type="text"],
html[data-theme="dark"] div#login_index input[type="password"],
html[data-theme="dark"] .login-block input[type="text"],
html[data-theme="dark"] .login-block input[type="password"] {
  border-color: rgba(169, 200, 174, 0.24);
  background-color: #0b151a;
  color: #f3f9f4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] div#login_index input[type="text"]:focus,
html[data-theme="dark"] div#login_index input[type="password"]:focus,
html[data-theme="dark"] .login-block input[type="text"]:focus,
html[data-theme="dark"] .login-block input[type="password"]:focus {
  border-color: #7bd861;
  background-color: #0e1b20;
  box-shadow: 0 0 0 3px rgba(123, 216, 97, 0.2);
}

html[data-theme="dark"] div#login_index input[type="checkbox"],
html[data-theme="dark"] .login-block input[type="checkbox"] {
  accent-color: #7bd861;
}

html[data-theme="dark"] div#login_index .errorlist,
html[data-theme="dark"] .login-block .errorlist {
  color: #ffb4a9;
}

html[data-theme="dark"] div#login_index .submit-row input[type="submit"],
html[data-theme="dark"] .login-block .submit-row input[type="submit"] {
  border-color: #4cae50;
  background:
    linear-gradient(180deg, #35a853, #1f7a3a);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0 16px 30px rgba(31, 122, 58, 0.3);
}

html[data-theme="dark"] div#login_index .submit-row input[type="submit"]:hover,
html[data-theme="dark"] div#login_index .submit-row input[type="submit"]:focus,
html[data-theme="dark"] .login-block .submit-row input[type="submit"]:hover,
html[data-theme="dark"] .login-block .submit-row input[type="submit"]:focus {
  border-color: #67cf72;
  background:
    linear-gradient(180deg, #42bd61, #249246);
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(36, 146, 70, 0.36);
}

html[data-theme="dark"] #intro .promo,
html[data-theme="dark"] #top_lists,
html[data-theme="dark"] .browse-entry,
html[data-theme="dark"] div.obj_biglist div.entry,
html[data-theme="dark"] body.search.project_list div.info,
html[data-theme="dark"] dl.definition,
html[data-theme="dark"] .languages_list ul.simple li.grid_5,
html[data-theme="dark"] .datalist ul li,
html[data-theme="dark"] .project-sign,
html[data-theme="dark"] .tabbed-header,
html[data-theme="dark"] div.obj_bigdetails div.long_description {
  border-color: rgba(169, 200, 174, 0.16);
  background: #111d23;
  color: #dce8df;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] #intro .promo {
  background:
    linear-gradient(135deg, rgba(112, 202, 85, 0.16), rgba(79, 140, 255, 0.12)),
    #111d23;
}

html[data-theme="dark"] #intro .promo:before {
  background: linear-gradient(180deg, #5d9cff, #7bd861);
}

html[data-theme="dark"] .browse-entry:hover,
html[data-theme="dark"] div.obj_biglist div.entry:hover,
html[data-theme="dark"] body.search.project_list div.info:hover,
html[data-theme="dark"] .datalist ul li:hover {
  border-color: rgba(130, 211, 103, 0.38);
  background: #16262d;
}

html[data-theme="dark"] .project-sign p,
html[data-theme="dark"] dl.definition dt,
html[data-theme="dark"] .datalist .tt-details a,
html[data-theme="dark"] div.obj_biglist .name,
html[data-theme="dark"] body.search.project_list p.name {
  color: #eef7ed;
}

html[data-theme="dark"] dl.definition dd,
html[data-theme="dark"] .datalist .tt-details .fullname {
  color: #b8c8bd;
}

html[data-theme="dark"] .tabs a {
  color: #b8c8bd;
}

html[data-theme="dark"] .tabs > .selected,
html[data-theme="dark"] .tabs li:hover {
  background: #16262d;
  color: #eef7ed;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .tabs > .selected > a {
  color: #a7ee83;
}

html[data-theme="dark"] #teamcode {
  border-color: rgba(130, 211, 103, 0.28);
  background: rgba(112, 202, 85, 0.14);
  color: #a7ee83;
}

html[data-theme="dark"] .stats-table {
  border-top-color: rgba(169, 200, 174, 0.16);
}

html[data-theme="dark"] .stats-table thead {
  background: #0f1a20;
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] table.stats-table.teamlist thead,
html[data-theme="dark"] table.stats-table.teamlist tbody {
  background: transparent;
  box-shadow: none;
}

html[data-theme="dark"] table.stats-table.teamlist {
  border-color: rgba(169, 200, 174, 0.16);
  background: #0f1a20;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] table.stats-table.teamlist tr {
  border-bottom-color: rgba(169, 200, 174, 0.12);
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child {
  border-bottom-color: rgba(169, 200, 174, 0.16);
  background: #14232a;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.header,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.header:hover,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.header.headerSortDown,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.header.headerSortUp {
  border: 0;
  background-color: transparent !important;
  background-image: none;
  color: #a9bbb0;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow:after {
  color: #a9bbb0;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown:after,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp:after {
  color: #eef7ed;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown,
html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp {
  box-shadow: inset 0 -2px 0 #7bd861;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortDown:before {
  border-top-color: #7bd861;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:first-child th.onlyarrow.headerSortUp:before {
  border-bottom-color: #7bd861;
}

html[data-theme="dark"] table.stats-table.teamlist thead tr:not(:first-child) {
  border-bottom-color: rgba(169, 200, 174, 0.14);
  background: #101d23;
}

html[data-theme="dark"] table.stats-table.teamlist tr.sourcelang {
  border-color: rgba(130, 211, 103, 0.22);
  background: #111d23;
}

html[data-theme="dark"] table.stats-table.teamlist td.tableobject a {
  color: #eef7ed;
}

html[data-theme="dark"] table.stats-table.teamlist td.tableobject span {
  color: #9fb0a6 !important;
}

html[data-theme="dark"] .stats-table th,
html[data-theme="dark"] .stats-table th.onlyarrow:after {
  color: #92a49a;
}

html[data-theme="dark"] .stats-table td {
  border-bottom-color: rgba(169, 200, 174, 0.12);
}

html[data-theme="dark"] .stats-table tbody tr:hover td {
  background-color: #132229;
}

html[data-theme="dark"] .stats-table td:not(.priority_level)::before,
html[data-theme="dark"] .fadecontent::before {
  background: linear-gradient(90deg, rgba(19, 34, 41, 0), #132229);
}

html[data-theme="dark"] .stats-table td:not(.priority_level)::after,
html[data-theme="dark"] .fadecontent::after {
  background: #132229;
}

html[data-theme="dark"] td.tablecompletion .stats_string_resource,
html[data-theme="dark"] div.stats_string,
html[data-theme="dark"] div.stats_string_comp,
html[data-theme="dark"] div.stats_string_resource,
html[data-theme="dark"] div.stats_string_resource_compact {
  color: #eef7ed;
}

html[data-theme="dark"] div.graph,
html[data-theme="dark"] div.graph_comp,
html[data-theme="dark"] div.graph_resource,
html[data-theme="dark"] div.graph_resource_compact {
  background: #26333a;
  box-shadow:
    inset 0 0 0 1px rgba(220, 232, 223, 0.08),
    inset 0 1px 2px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] div.translated,
html[data-theme="dark"] div.translated_comp {
  background: linear-gradient(90deg, #5ecf6b, #95f06f);
}

html[data-theme="dark"] div.fuzzy,
html[data-theme="dark"] div.fuzzy_comp {
  background: linear-gradient(90deg, #eab84f, #ffd166);
}

html[data-theme="dark"] div.untranslated,
html[data-theme="dark"] div.untranslated_comp {
  background: linear-gradient(90deg, #34434a, #4b5c62);
}

html[data-theme="dark"] .message,
html[data-theme="dark"] .message_info,
html[data-theme="dark"] .message_success,
html[data-theme="dark"] .message_warning,
html[data-theme="dark"] .message_error,
html[data-theme="dark"] #notification-container,
html[data-theme="dark"] div.actions_popup,
html[data-theme="dark"] div.facebox-content,
html[data-theme="dark"] #facebox .content {
  border-color: rgba(169, 200, 174, 0.16);
  background: #111d23;
  color: #dce8df;
}

html[data-theme="dark"] div#footer,
html[data-theme="dark"] div#footer .center,
html[data-theme="dark"] div#footer .powered,
html[data-theme="dark"] div#footer .version {
  color: #92a49a;
}

html[data-theme="dark"] div#footer a {
  color: #dce8df;
}
