:root {
  --c-green: #108a00;
  --c-gray: #c0c0c0;
  --c-white: #f0f0f0;
  --c-white2: #f6f6f6;
  --c-blue: #0000cd;
  --c-red: #f00000;
  --c-dark-gray: #333333;
  --c-black: #000000;
  --c-bg-modal: #ffffff;
}

.login-page, .register-page {
  height: 100vh;
  min-height: 496.797px;
  -ms-flex-align: center;
  align-items: center;
  background-color: #e9ecef;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
}
.login-box, .register-box {
  width: 360px;
}
.fixed-box {
  width: 500px;
}

.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  text-decoration: none;
}
.icon-cross {
  background-image: url(/img/ico/html_10060.png);
}
.icon-crossmark {
  background-image: url(/img/ico/html_10062.png);
}
.icon-checkmark {
  background-image: url(/img/ico/html_128683.png);
}
.icon-prohibited {
  background-image: url(/img/ico/html_9989.png);
}
.icon-warning {
  background-image: url(/img/ico/html_9888.png);
}
.icon-bookmark {
  background-image: url(/img/ico/html_128203.png);
}
.icon-clipboard {
  background-image: url(/img/ico/html_128209.png);
}
.icon-stop {
  background-image: url(/img/ico/html_9940.png);
}
.icon-reload {
  background-image: url(/img/ico/html_128260.png);
}
.icon-gear {
  background-image: url(/img/ico/html_9881.png);
}
.icon-multiply {
  background-image: url(/img/ico/html_10006.png);
}
.icon-plus {
  background-image: url(/img/ico/html_10133.png);
}
.icon-minus {
  background-image: url(/img/ico/html_10134.png);
}
.icon-info {
  background-image: url(/img/ico/html_8505.png);
}
.icon-trash {
  background-image: url(/img/ico/html_128465.png);
}
.icon-recycle {
  background-image: url(/img/ico/html_x2673.png);
}
.icon-script {
  background-image: url(/img/ico/html_x2668.png);
}
.icon-search {
  background-image: url(/img/ico/html_128270);
}
.cell-actions {
  width: 100px;
}
.ml1 {
  margin-left: 8px;
}
.subnav {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.subnav p {
  margin-top: 0;
}
.subnav a.active {
  font-weight: bold;
}
.form input[type="text"] {
  width: 100%;
}
.form textarea {
  width: 100%;
  height: 100px;
}
.form-buttons {
  display: flex;
  justify-content: space-between;
}
.btn-ofs {
  position: relative;
  top: -3px;
}
.btn-ofs-x {
  position: relative;
  top: -22px;
}
.btn-red {
  border-color: var(--c-red) !important;
  color: var(--c-red) !important;
}
.btn-disabled {
  pointer-events: none;
  background-color: var(--c-gray);
}
.block_qa {
  cursor: pointer;
  margin-bottom: 8px;
}
.block_qa:hover {
  background-color: var(--c-white);
}
.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background-color: var(--c-white);
  border: 1px solid var(--c-green);
  border-radius: 8px;
  padding: 8px 12px;
  height: 32px !important;
  width: calc(50% - 42px);
}
.upload-btn-wrapper .btnr {
  border: 1px solid var(--c-green);
  color: var(--c-green);
  background-color: var(--c-gray);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}
.upload-btn-wrapper .btnr + span {
  padding: 5px;
  font-weight: normal;
}
.upload-btn-wrapper input[type=file] {
  font-size: 14px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.links tr {
  color: var(--c-blue);
  padding-bottom: 4px;
  min-height: 24px;
  line-height: 28px;
}
/*.links li:nth-child(n+2){
  border-top: 1px dashed #333;
  margin-top: 4px;
  padding-top: 4px;
}*/
.links tr a {
  text-decoration: none !important;
}
tr.done {
  color: var(--c-green) !important;
}
tr.done span, tr.error span { 
  text-decoration: line-through !important;
}
tr.done a { 
  text-decoration: none !important;
}
tr.error {
  color: var(--c-red);
}
tr.issue {
  color: var(--c-dark-gray);
}
.issue-icon, .error-icon, .alert-icon {
  font-size: 20px;
  color: var(--c-red);
}
.cell-link-status {
  min-width: 120px;
  text-align: center;
}
#btn_clear_q {
  margin-left: 10px;
  text-decoration: none !important;
  font-size: 16px;
  color: var(--c-red);
}
.history-links li {
  padding-bottom: 4px;
  cursor: pointer;
}
.history-links pre {
  font-size: 11px;
  background-color: var(--c-white);
  padding: 10px;
  border: 1px solid var(--c-black);
  border-radius: 8px;
}
#logs {
  max-height: 76vh;
  overflow: auto;
  font-size: 10px;
  padding: 10px;
}
#json_state {
  display: block;
  font-size: 11px;
}
.result {
  width: 100%;
  overflow: auto;
  font-size: 10px;
  background-color: var(--c-white);
  padding: 10px;
  border: 1px solid var(--c-black);
}
#messages, #errors {
  margin-bottom: 1rem;
  text-align: center;
  padding-top: 0.5rem;
}
#messages {
  color: var(--c-green);
}
#errors {
  color: var(--c-red);
}

.c-green {
  color: var(--c-green) !important;
}
.c-red {
  color: var(--c-red) !important;
}
.wrap-break {
  word-wrap: break-word;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modal-fader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 99998;
  background: rgba(0,0,0,0.8);
}
.modal-fader.active {
  display: block;
}
.modal-window {
  display: none;
  position: fixed;
  top: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: var(--c-bg-modal);
  padding: 20px;
  border-radius: 5px;
  font-family: sans-serif;
}
.modal-window.active {
  display: block;
}
.modal-window h1,
.modal-window h2,
.modal-window h3,
.modal-window h4,
.modal-window h5,
.modal-window h6 {
  margin: 0;
}
.modal-wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: stretch;
  height: 100%;
}
.modal-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  overflow: scroll;
  padding-right: 26px;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 12px;
}
.img-bordered {
  border: 1px solid var(--c-gray);
  padding: 10px;
}

.btn-round-icon {
  border-radius: 50%;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
}