@font-face {
  font-family: 'NotoSans';
  src: url('NotoSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'NotoSans';
  src: url('NotoSans-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'NotoSans';
  src: url('NotoSans-Light.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}


:root{
  --font-size: 13px;
  --font-size-big: 16px;
  --font-size-small: 11px;

  --def-line-height: 130%;

  --highlight-color: #8cc;
  --highlight-color-opposite: #fff;
  --primary-color: #0bb;
  --primary-color-opposite: #fff;
  --secondary-color: #fc5;
  --secondary-color-opposite: #000;
  --lines-color: rgba(128,128,128,0.25);

  --overlay-fadeout: rgba(255, 255, 255, 0.8);

  --selecting-color: #0af;
  --group-color: #a0f;
  --variableObject-color: #f0a;
  --activeLED: #0dc;
  --warningLED: #fa0;
  --passiveLED: #aaa;
  --activeUndercolor: #ffc;

  --dropFileActiveColor: #8cc8;

  --warning: #a00;

  --gray-0: #000;
  --gray-1: #111;
  --gray-2: #222;
  --gray-3: #333;
  --gray-4: #444;
  --gray-5: #555;
  --gray-6: #666;
  --gray-7: #777;
  --gray-8: #888;
  --gray-9: #999;
  --gray-a: #aaa;
  --gray-b: #bbb;
  --gray-c: #ccc;
  --gray-d: #ddd;
  --gray-e8: #e8e8e8;
  --gray-e: #eee;
  --gray-f8: #f8f8f8;
  --gray-f: #fff;

  --gray-0-50: #0008;
  --gray-0-25: #0004;
  --gray-a-50: #aaa8;
  --gray-f-50: #fff8;
}

#desktop.darkTheme {
  --gray-0: #fff;
  --gray-1: #eee;
  --gray-2: #ddd;
  --gray-3: #ccc;
  --gray-4: #bbb;
  --gray-5: #aaa;
  --gray-6: #999;
  --gray-7: #888;
  --gray-8: #777;
  --gray-9: #666;
  --gray-a: #555;
  --gray-b: #444;
  --gray-c: #333;
  --gray-d: #222;
  --gray-e8: #181818;
  --gray-e: #111;
  --gray-f8: #080808;
  --gray-f: #000;

  --gray-0-50: #fff8;
  --gray-a-50: #4448;
  --gray-f-50: #0008;
}

#desktop.fotbalTheme {
  --gray-0: #fefcf5;
  --gray-1: #fcfaeb;
  --gray-2: #f9f7e1;
  --gray-3: #f4f2d7;
  --gray-4: #eeebcd;
  --gray-5: #e7e4c3;
  --gray-6: #e0ddba;
  --gray-7: #d8d6b0;
  --gray-8: #d0cea6;
  --gray-9: #c7c79c;
  --gray-a: #bfc093;
  --gray-b: #b7b98a;
  --gray-c: #afb280;
  --gray-d: #a7ab76;
  --gray-e8: #a0a871;
  --gray-e: #9fa46c;
  --gray-f8: #979d63;
  --gray-f: #90965a;

  --gray-0-50: #0008;
  --gray-a-50: #bfc09388;
  --gray-f-50: #fff8;
}

#desktop.mokaTheme {
  --gray-0: #2a1b0d;
  --gray-1: #3a2615;
  --gray-2: #4a301d;
  --gray-3: #5a3a25;
  --gray-4: #6a452e;
  --gray-5: #7a5037;
  --gray-6: #8a5b41;
  --gray-7: #9a674c;
  --gray-8: #aa7357;
  --gray-9: #bb7f63;
  --gray-a: #cc8b6f;
  --gray-b: #d9977c;
  --gray-c: #e5a48a;
  --gray-d: #f0b198;
  --gray-e8: #f4b8a3;
  --gray-e: #f7c0a7;
  --gray-f8: #fcd4c0;
  --gray-f: #ffead8;

  --gray-0-50: #0008;
  --gray-a-50: #cc8b6f88;
  --gray-f-50: #fff8;
}

#desktop.darkNightTheme {
  --gray-0: #ede8ff;
  --gray-1: #d9d3ff;
  --gray-2: #c5bfff;
  --gray-3: #b0aaf0;
  --gray-4: #9b95e0;
  --gray-5: #877fcf;
  --gray-6: #736abf;
  --gray-7: #6055af;
  --gray-8: #4e4699;
  --gray-9: #3c387d;
  --gray-a: #2b2b66;
  --gray-b: #1f1f50;
  --gray-c: #16163d;
  --gray-d: #0e0e2c;
  --gray-e8: #0b0b23;
  --gray-e: #08081c;
  --gray-f8: #07071b;
  --gray-f: #03030f;  /* Nejtmavší noc */

  --gray-0-50: #fff8;
  --gray-a-50: #2b2b6688;
  --gray-f-50: #0008;
}


body {
  line-height:1.2;
  vertical-align: baseline;
  font-family: NotoSans, Helvetica, Arial, sans;
  font-weight: normal;
  font-size: var(--font-size);
  -webkit-text-size-adjust: none;
  -webkit-transform-style:flat;
  -webkit-backface-visibility: hidden;
  -webkit-user-select: none;
  user-select: none;
  overflow-x: hidden;
}

p {
  margin: 2px 0;
}

::-webkit-scrollbar {
  background:transparent;
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
   border-radius: 3px;
   background-color:var(--gray-a);
}
::-webkit-scrollbar-thumb:hover {
   background-color:var(--primary-color);
}
::-webkit-scrollbar-corner {
  background-color:transparent;
}

#desktop {
  box-sizing: border-box;
  border-top: 4px solid var(--primary-color);
}


@font-face {
  font-family: 'FontAwesome';
  src: url('fontawesome-webfont.ttf?v=4.7.0') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 14px;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}
.fa-pulse {
  -webkit-animation: fa-spin 1s infinite steps(8);
  animation: fa-spin 1s infinite steps(8);
}
.fa-red {
  color: #d00;
}
.fa-green {
  color: #0d0;
}
.fa-faded {
  opacity:0.2;
}
@-webkit-keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes fa-spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

.fa-times:before {
  content: "\f00d";
}
.fa-mouse-pointer:before {
  content: "\f245";
}
.fa-hand-pointer-o:before {
  content: "\f25a";
}
.fa-object-group:before {
  content: "\f247";
}
.fa-object-ungroup:before {
  content: "\f248";
}
.fa-font:before {
  content: "\f031";
}
.fa-text-height:before {
  content: "\f034";
}
.fa-paragraph:before {
  content: "\f1dd";
}
.fa-paint-brush:before {
  content: "\f1fc";
}
.fa-picture-o:before {
  content: "\f03e";
}
.fa-video-camera:before {
  content: "\f03d";
}
.fa-film:before {
  content: "\f008";
}
.fa-music:before {
  content: "\f001";
}
.fa-calendar-times-o:before {
  content: "\f273";
}
.fa-angle-down:before {
  content: "\f107";
}
.fa-angle-double-left:before {
  content: "\f100";
}
.fa-angle-double-right:before {
  content: "\f101";
}
.fa-angle-double-down:before {
  content: "\f103";
}
.fa-angle-double-up:before {
  content: "\f102";
}
.fa-mobile:before {
  content: "\f10b";
}
.fa-tablet:before {
  content: "\f10a";
}
.fa-laptop:before {
  content: "\f109";
}
.fa-align-justify:before {
  content: "\f039";
}
.fa-history:before {
  content: "\f1da";
}
.fa-undo:before {
  content: "\f0e2";
}
.fa-repeat:before {
  content: "\f01e";
}
.fa-align-left:before {
  content: "\f036";
}
.fa-align-center:before {
  content: "\f037";
}
.fa-align-right:before {
  content: "\f038";
}
.fa-align-justify:before {
  content: "\f039";
}
.fa-bars:before {
  content: "\f0c9";
}
.fa-arrows-h:before {
  content: "\f07e";
}
.fa-arrows-v:before {
  content: "\f07d";
}
.fa-arrow-down:before {
  content: "\f063";
}
.fa-arrow-right:before {
  content: "\f061";
}
.fa-long-arrow-right:before {
  content: "\f178";
}
.fa-arrow-circle-o-left:before {
  content: "\f190";
}
.fa-arrow-circle-o-right:before {
  content: "\f18e";
}
.fa-files-o:before {
  content: "\f0c5";
}
.fa-caret-up:before {
  content: "\f0d8";
}
.fa-caret-down:before {
  content: "\f0d7";
}
.fa-level-down:before {
  content: "\f149";
}
.fa-level-up:before {
  content: "\f148";
}
.fa-pencil:before {
  content: "\f040";
}
.fa-ellipsis-h:before {
  content: "\f141";
}
.fa-ellipsis-v:before {
  content: "\f142";
}
.fa-arrows:before {
  content: "\f047";
}
.fa-th:before {
  content: "\f00a";
}
.fa-th-large:before {
  content: "\f009";
}
.fa-th-list:before {
  content: "\f00b";
}
.fa-sign-out:before {
  content: "\f08b";
}
.fa-question:before {
  content: "\f128";
}
.fa-circle-o-notch:before {
  content: "\f1ce";
}
.fa-spinner:before {
  content: "\f110";
}
.fa-clone:before {
  content: "\f24d";
}
.fa-scissors:before {
  content: "\f0c4";
}
.fa-clipboard:before {
  content: "\f0ea";
}
.fa-long-arrow-right:before {
  content: "\f178";
}
.fa-long-arrow-down:before {
  content: "\f175";
}
.fa-sort:before {
  content: "\f0dc";
}
.fa-chevron-left:before {
  content: "\f053";
}
.fa-chevron-right:before {
  content: "\f054";
}
.fa-chevron-up:before {
  content: "\f077";
}
.fa-chevron-down:before {
  content: "\f078";
}
.fa-chevron-circle-up:before {
  content: "\f139";
}
.fa-exclamation:before {
  content: "\f12a";
}
.fa-exclamation-triangle:before {
  content: "\f071";
}
.fa-exclamation-circle:before {
  content: "\f06a";
}
.fa-question-circle:before {
  content: "\f059";
}
.fa-refresh:before {
  content: "\f021";
}
.fa-check-square-o:before {
  content: "\f046";
}
.fa-check-circle-o:before {
  content: "\f05d";
}
.fa-square:before {
  content: "\f0c8";
}
.fa-square-o:before {
  content: "\f096";
}
.fa-lock:before {
  content: "\f023";
}
.fa-unlock:before {
  content: "\f09c";
}
.fa-youtube-play:before {
  content: "\f16a";
}
.fa-youtube-square:before {
  content: "\f166";
}
.fa-vimeo-square:before {
  content: "\f194";
}
.fa-eye:before {
  content: "\f06e";
}
.fa-eye-slash:before {
  content: "\f070";
}
.fa-stop-circle-o:before {
  content: "\f28e";
}
.fa-ban:before {
  content: "\f05e";
}
.fa-film:before {
  content: "\f008";
}
.fa-expand:before {
  content: "\f065";
}
.fa-share-alt:before {
  content: "\f1e0";
}
.fa-play:before {
  content: "\f04b";
}
.fa-pause:before {
  content: "\f04c";
}
.fa-backward:before {
  content: "\f04a";
}
.fa-forward:before {
  content: "\f04e";
}
.fa-users:before {
  content: "\f0c0";
}
.fa-user:before {
  content: "\f007";
}
.fa-user-o:before {
  content: "\f2c0";
}
.fa-user-circle:before {
  content: "\f2bd";
}
.fa-user-circle-o:before {
  content: "\f2be";
}
.fa-question:before {
  content: "\f128";
}
.fa-address-card:before {
  content: "\f2bb";
}
.fa-line-chart:before {
  content: "\f201";
}
.fa-area-chart:before {
  content: "\f1fe";
}
.fa-envelope:before {
  content: "\f0e0";
}
.fa-envelope-o:before {
  content: "\f003";
}
.fa-bell:before {
  content: "\f0f3";
}
.fa-bell-o:before {
  content: "\f0a2";
}
.fa-phone:before {
  content: "\f095";
}
.fa-money:before {
  content: "\f0d6";
}
.fa-university:before {
  content: "\f19c";
}
.fa-file-text:before {
  content: "\f15c";
}
.fa-ticket-alt:before {
  content: "\f3ff";
}
.fa-warning:before {
  content: "\f071";
}
.fa-plus:before {
  content: "\f067";
}
.fa-plus-square:before {
  content: "\f0fe";
}
.fa-plus-circle:before {
  content: "\f055";
}
.fa-minus:before {
  content: "\f068";
}
.fa-check:before {
  content: "\f00c";
}
.fa-caret-up:before {
  content: "\f0d8";
}
.fa-caret-down:before {
  content: "\f0d7";
}
.fa-id-badge:before {
  content: "\f2c1";
}
.fa-edit:before {
  content: "\f044";
}
.fa-upload:before {
  content: "\f093";
}
.fa-shopping-cart:before {
  content: "\f07a";
}
.fa-shopping-basket:before {
  content: "\f291";
}
.fa-shopping-bag:before {
  content: "\f290";
}
.fa-list:before {
  content: "\f03a";
}
.fa-list-ol:before {
  content: "\f0cb";
}
.fa-trophy:before {
  content: "\f091";
}
.fa-times:before {
  content: "\f00d";
}
.fa-question:before {
  content: "\f128";
}
.fa-trash:before {
  content: "\f1f8";
}
.fa-home:before {
  content: "\f015";
}
.fa-tag:before {
  content: "\f02b";
}
.fa-tags:before {
  content: "\f02c";
}
.fa-file:before {
  content: "\f15b";
}
.fa-file-o:before {
  content: "\f016";
}
.fa-file-text-o:before {
  content: "\f0f6";
}
.fa-file-pdf-o:before {
  content: "\f1c1";
}
.fa-file-word-o:before {
  content: "\f1c2";
}
.fa-file-excel-o:before {
  content: "\f1c3";
}
.fa-file-powerpoint-o:before {
  content: "\f1c4";
}
.fa-file-archive-o:before {
  content: "\f1c6";
}
.fa-file-audio-o:before {
  content: "\f1c7";
}
.fa-file-video-o:before {
  content: "\f1c8";
}
.fa-file-code-o:before {
  content: "\f1c9";
}

.fa-cart-arrow-down:before {
  content: "\f218";
}
.fa-cog:before {
  content: "\f013";
}
.fa-cogs:before {
  content: "\f085";
}
.fa-sort-alpha-asc:before {
  content: "\f15d";
}
.fa-sort-alpha-desc:before {
  content: "\f15e";
}
.fa-filter:before {
  content: "\f0b0";
}
.fa-apple:before {
  content: "\f179";
}
.fa-android:before {
  content: "\f17b";
}
.fa-external-link:before {
  content: "\f08e";
}
.fa-external-link-square:before {
  content: "\f14c";
}
.fa-building-o:before {
  content: "\f0f7";
}
.fa-bar-chart:before {
  content: "\f080";
}
.fa-globe:before {
  content: "\f0ac";
}
.fa-list-alt:before {
  content: "\f022";
}
.fa-caret-square-o-down:before {
  content: "\f150";
}
.fa-archive:before {
  content: "\f187";
}
.fa-ticket:before {
  content: "\f145";
}
.fa-credit-card:before {
  content: "\f09d";
}
.fa-caret-left:before {
  content: "\f0d9";
}
.fa-caret-right:before {
  content: "\f0da";
}
.fa-chain-broken:before {
  content: "\f127";
}
.fa-dot-circle-o:before {
  content: "\f192";
}
.fa-bullseye:before {
  content: "\f140";
}
.fa-sliders:before {
  content: "\f1de";
}
.fa-sign-in:before {
  content: "\f090";
}
.fa-anchor:before {
  content: "\f13d";
}
.fa-wrench:before {
  content: "\f0ad";
}
.fa-check-square:before {
  content: "\f14a";
}
.fa-download:before {
  content: "\f019";
}
.fa-id-badge:before {
  content: "\f2c1";
}
.fa-search:before {
  content: "\f002";
}
.fa-search-plus:before {
  content: "\f00e";
}
.fa-usd:before {
  content: "\f155";
}
.fa-times-circle:before {
  content: "\f057";
}
.fa-pencil-square:before {
  content: "\f14b";
}
.fa-folder:before {
  content: "\f07b";
}
.fa-folder-o:before {
  content: "\f114";
}
.fa-arrows-alt:before {
  content: "\f0b2";
}
.fa-columns:before {
  content: "\f0db";
}
.fa-pencil-square-o:before {
  content: "\f044";
}
.fa-plus-square-o:before {
  content: "\f196";
}
.fa-minus-square-o:before {
  content: "\f147";
}
.fa-sticky-note:before {
  content: "\f249";
}
.fa-flag:before {
  content: "\f024";
}
.fa-flag-o:before {
  content: "\f11d";
}
.fa-flag-checkered:before {
  content: "\f11e";
}
.fa-thumb-tack:before {
  content: "\f08d";
}
.fa-cube:before {
  content: "\f1b2";
}
.fa-youtube:before {
  content: "\f167";
}
.fa-vimeo:before {
  content: "\f27d";
}
.fa-table:before {
  content: "\f0ce";
}
.fa-code:before {
  content: "\f121";
}
.fa-spotify:before {
  content: "\f1bc";
}
.fa-map-o:before {
  content: "\f278";
}
.fa-podcast:before {
  content: "\f2ce";
}
.fa-headphones:before {
  content: "\f025";
}
.fa-book:before {
  content: "\f02d";
}
.fa-link:before {
  content: "\f0c1";
}
.fa-long-arrow-left:before {
  content: "\f177";
}
.fa-puzzle-piece:before {
  content: "\f12e";
}
.fa-language:before {
  content: "\f1ab";
}
.fa-indent:before {
  content: "\f03c";
}
.fa-outdent:before {
  content: "\f03b";
}
.fa-bold:before {
  content: "\f032";
}
.fa-italic:before {
  content: "\f033";
}
.fa-underline:before {
  content: "\f0cd";
}
.fa-list-ul:before {
  content: "\f0ca";
}
.fa-list-ol:before {
  content: "\f0cb";
}
.fa-circle:before {
  content: "\f111";
}
.fa-circle-o:before {
  content: "\f10c";
}
.fa-star:before {
  content: "\f005";
}
.fa-star-o:before {
  content: "\f006";
}
.fa-cloud-download:before {
  content: "\f0ed";
}
.fa-commenting-o:before {
  content: "\f27b";
}
.fa-clock-o:before {
  content: "\f017";
}
.fa-asterisk:before {
  content: "\f069";
}
.fa-facebook:before {
  content: "\f09a";
}
.fa-facebook-official:before {
  content: "\f230";
}
.fa-instagram:before {
  content: "\f16d";
}
.fa-paper-plane-o:before {
  content: "\f1d9";
}
.fa-thumbs-o-up:before {
  content: "\f087";
}
.fa-bullhorn:before {
  content: "\f0a1";
}
.fa-gift:before {
  content: "\f06b";
}

/* m redefines */
.mElementsWithLabels-column {
  border-left: 1px solid var(--gray-d);
  padding: 0 8px;
}

.mButton {
  font-family: NotoSans, Helvetica, Arial, sans;
}
.mButton-inDialog {
  border: 1px solid var(--gray-d);
  background-color: var(--gray-f);
  border-radius: 3px;
}
.mButton-inDialog:hover {
  border-color: var(--gray-8);
  background-color: var(--gray-a);
}
.mButton-default {
  border: 1px solid var(--gray-8);
  background-color: var(--gray-4);
  color: var(--gray-f);
}
.mButton-default:hover {
  background-color: var(--gray-5);
}

.mDialog p {
  margin: 4px 0;
}
.mInputWithMenu .mButton {
  padding: 6px 5px;
  border-radius: 0;
  border: 0px none;
}
.mScreen_overlay-fadeout {
  background-color: var(--gray-a-50);
  backdrop-filter: saturate(20%);
}

.mDialog {
  box-shadow: 4px 4px 12px var(--gray-0-25);
  border-color: var(--primary-color);
  border-radius: 3px;
  background-color: var(--gray-e);
}
.darkTheme .mDialog {
  box-shadow: 2px 2px 8px rgb(0, 0, 0, 0.5);
}

.mDialog_overlay {
  background-color: #fff8;
}
.mDialog_overlay:after {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "\f110";
  color: var(--gray-8);
  font: normal normal normal 20px/1 FontAwesome;
  -webkit-animation: fa-spin 2s infinite steps(8);
  animation: fa-spin 2s infinite steps(8);
}

.mDialog_header {
  font-weight: bold;
  font-size: var(--font-size-big);
  color: var(--primary-color-opposite);
  background-color: var(--primary-color);
}
.mDialog_content {
  font-size: var(--font-size);
}
.mDialog_content b {
  font-weight: bold;
}
.tDialog_color {
  position: relative;
  width: 22px !important;
  height: 22px;
  border: 1px solid var(--gray-a);
  cursor: pointer;
  margin: 2px;
}
.tDialog_color:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-45deg,
    rgba(0,0,0,0),
    rgba(0,0,0,0) 4px,
    rgba(0,0,0,0.1) 4px,
    rgba(0,0,0,0.1) 8px
  );
}
.tDialog_colorSwatch {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}



.mDialog_headerClosingButton {
  background-color: transparent;
  border: 0px none;
  padding: 5px 6px;
  margin: 2px;
  color: var(--primary-color-opposite);
}
.mDialog_headerClosingButton:hover {
  background-color: transparent;
}

.mCheckbox {
  background-color: transparent;
  padding: 0 4px 0 calc(1em + 8px);
}
.mCheckbox_checkbox {
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gray-d);
  border-radius: 0;
  background-color: var(--gray-f);
}
.mCheckbox_checkbox:after {
  background-color: var(--activeLED);
  width: 8px;
  height: 8px;
}
.mCheckbox-indeterminate .mCheckbox_checkbox:after {
  opacity: 1;
  /* width: 2px;
  height: 16px;
  transform: rotate(45deg); */
  width: 100%;
  height: 100%;
  /* background: repeating-linear-gradient(-45deg, #ccc, #ccc 2px, #fff 2px, #fff 4px); */
  background-color: var(--gray-c);
}

.mCheckbox-disabled {
  color: var(--gray-8);
}
.mCheckbox-disabled .mCheckbox_checkbox {
  border-color: var(--gray-d);
  background-color: var(--gray-e);
}
.mCheckbox-inline {
  display: inline-block;
}


.mCheckboxes {
  padding: 0px 2px;
  margin: 0 0 2px 0;
  border: 1px solid var(--gray-d);
  background-color: var(--gray-f);
  box-sizing: border-box;
}
.mCheckboxes-disabled {
  background-color: var(--gray-e);
  color: var(--gray-8);
}

.mRadioButtons {
  padding: 0px 2px;
  margin: 0 0 2px 0;
  border: 1px solid var(--gray-d);
  background-color: var(--gray-f);
  box-sizing: border-box;
}
.mRadioButtons_item {
  color: var(--gray-4);
  font-size: var(--font-size);
  padding: 0 4px 0 calc(1em + 8px);
  width: auto;
}
.mRadioButtons-disabled .mRadioButtons_item {
  color: var(--gray-8);
}
.mRadioButtons_checkbox {
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid var(--gray-d);
  border-radius: 0;
  background-color: var(--gray-f);
}
.mRadioButtons_checkbox:after {
  background-color: var(--activeLED);
  width: 8px;
  height: 8px;
  border-radius: 0;
}

.mRadioButtons-inDialog {
  background-color: transparent;
  padding: 8px;
}

.mRadioRow {
  border-radius: 3px;
  border: 1px solid var(--gray-d);
  background-color: var(--gray-f);
  overflow: hidden;
  font-size: var(--font-size);
  box-sizing: border-box;
}
.mRadioRow .mRadioRow_item {
  box-sizing: border-box;
  padding: 4px;
  border-left: 1px solid var(--gray-d);
}
.mRadioRow .mRadioRow_item:first-child {
  border-left: 0 none;
}
.mRadioRow .mRadioRow_item:hover {
  background-color: var(--gray-a);
}
.mRadioRow .mRadioRow_item-on {
  background-color: var(--gray-4);
  color: var(--gray-f);
}
.mRadioRow .mRadioRow_item-on:hover {
  background-color: var(--gray-5);
}

.mRadioRow_item-disabled,
.mRadioRow-disabled .mRadioRow_item {
  color: var(--gray-8);
}
.mRadioRow_item-disabled:hover,
.mRadioRow-disabled .mRadioRow_item-disabled:hover {
  background-color: transparent;
  border-color: transparent;
}

.mRadioRow-addContentPositionSelector {
  margin: -8px -8px 8px;
  background-color: var(--gray-b);
  font-size: 16px;
}
.mRadioRow-addContentPositionSelector .mRadioRow_item{
  padding: 2px;
}

.mRadioRow-styleTypes {
  padding: 0 10px 2px 0;
}

.mRadioRow-layoutSelector {
  border: 0 none;
}
.mRadioRow-layoutSelector .mRadioRow_item i {
  font-size: 16px;
}
.mRadioRow_item-withStatus {
  padding: 2px 2px 6px;
  position: relative;
}
.mRadioRow_item-withStatus:after {
  position: absolute;
  content: "";
  bottom: 4px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 10px;
  height: 4px;
  background-color: var(--passiveLED);
  box-shadow: inset 0 0 1px rgba(0,0,0,0.5);
}
.mRadioRow_item-withStatusOn:after {
  background-color: var(--activeLED);
}
.mRadioRow-layoutSelector .mRadioRow_item-withStatus {
  flex-grow: 0;
  flex-basis: 32px;
}
.mRadioRow-onTapTypeSelector {
  margin: 0;
  padding: 0;
  background-color: var(--gray-b);
}
.mRadioRow-onTapTypeSelector .mRadioRow_item-withStatus {
  padding: 2px 2px 8px;
}

.mRadioRow-frameTypeSelector {
  margin: 0;
  padding: 0;
  background-color: var(--gray-b);
}
.mRadioRow-frameTypeSelector .mRadioRow_item {
  padding: 2px;
}
.mRadioRow.mElementsWithLabels_element-withLabel {
  display: inline-flex;
  padding: 0px;
  margin: 1px 0;
}
.mRadioRow.mElementsWithLabels_element-withLabel .mRadioRow_item {
  padding: 2px;
}

.mInput, .mTextarea {
  box-sizing: border-box;
  border: 1px solid var(--gray-d);
  color: var(--gray-0);
  background-color: var(--gray-f);
  padding: 4px 4px;
  outline: 0px none transparent;
  font-family: NotoSans, Helvetica, Arial, sans;
  font-weight: normal;
  font-size: var(--font-size);
  vertical-align: baseline;
  line-height: 150%;
}
.mInput:focus, .mTextarea:focus, .mInputWithMenu-focused {
  border-color: var(--activeLED);
}
.mInput:disabled, .mTextarea:disabled {
  background-color: var(--gray-e);
  color: var(--gray-8);
}
.mDialog .mInput {
  margin: 0 0 2px 0;
}
.mDialog .mTextarea {
  resize: vertical;
}
.mInput-highlighted {
  background-color: var(--activeUndercolor);
}
.mInput-quickFilter {
  padding: 2px 4px;
}
.mLocalizedElement_row {
  position: relative;
}
.mLocalizedElement_row-hidden {
  display: none;
}
.mLocalizedElement_flag {
  position: absolute;
  left: -24px;
  top: 3px;
}
.mLocalizedElement_row-onlyOne .mLocalizedElement_flag {
  display: none;
}
.mLocalizedElement_row .mInput, .mLocalizedElement_row .mTextarea, .mLocalizedElement_row .mFile {
  width: 100%;
}
.mSelect, .mDropdown {
  border-radius: 0;
  border: 1px solid var(--gray-d);
  color: var(--gray-0);
  background-color: var(--gray-f);
  margin: 0 0 2px 0;
  padding: 4px 20px 4px 4px;
  font-size: var(--font-size);
  line-height: 150%;
  vertical-align: bottom;
  background-position-y: -1px;
}
.mDropdown {
  padding-right: 20px;
}
.mDropdown-inline {
  display: inline-block;
}
.mSelect:disabled, .mDropdown-disabled {
  background-color: var(--gray-e);
  color: var(--gray-8);
}
.mDialog_buttons {
  background-color: var(--gray-e);
}
.mDialog_localizatorSwitch {
  float: right;
  margin: -5px -8px 0 0;
}
.mDialog_localizatorSwitch-hidden {
  display: none;
}
.mDialog .mDialog_localizatorSwitchButton {
  margin: 0 0 0 -1px;
  padding: 5px 6px 3px;
  border-radius: 0;
}
.mDialog_localizatorSwitchButton:not(.mDialog_localizatorSwitchButton-selected) {
  filter: saturate(0%);
}

.dropdownAsDialog {
  background-color: var(--gray-f);
  background-image: url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjYmJiJyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48cGF0aCBkPSdNNyAxMGw1IDUgNS01eicvPjxwYXRoIGQ9J00wIDBoMjR2MjRIMHonIGZpbGw9J25vbmUnLz48L3N2Zz4=");
  /* <svg fill='#bbb' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg> */
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: -3px;
  box-sizing: border-box;
  padding: 4px 8px;
  box-shadow: none;

  border-radius: 0;
  border: 1px solid var(--gray-d);
  color: var(--gray-0);
  margin: 0 0 2px 0;
  padding: 2px 4px;
  font-size: var(--font-size);
  cursor: pointer;
}
.dropdownAsDialog-disabled {
  background-color: var(--gray-e);
  color: var(--gray-8);
}

.mFile {
  background-color: var(--gray-f);
  border: 1px solid var(--gray-d);
  color: var(--gray-4);
  border-radius: 0;
  padding: 0;
  margin: 0 0 2px 0;
}
.mFile-activeDragAndDrop {
  outline: 4px dashed var(--activeLED);
}
.mFile_buttonDelete {
  border-radius: 0;
  background-color: var(--gray-f-50);
  color: var(--gray-a);
  right: 0px;
  top: 0px;
  font-size: 20px;
}
.mFile_progressBar div {
  background-color: var(--activeLED);
}

.mFile-transparentBg {
  background: repeating-linear-gradient(-45deg,
    rgba(0,0,0,0),
    rgba(0,0,0,0) 4px,
    rgba(0,0,0,0.1) 4px,
    rgba(0,0,0,0.1) 8px
  );
}

.mFloatingMenu {
  background-color: var(--gray-f8);
  box-shadow: 4px 4px 12px var(--gray-0-25);
  border: 1px solid var(--gray-d);
  overflow-y: scroll;
  padding: 12px;
  border-radius: 3px;
}
.darkTheme .mFloatingMenu {
  box-shadow: 2px 2px 8px rgb(0, 0, 0, 0.5);
}

.mFloatingMenu_item {
  width: 100%;
  background-color: transparent;
  color: var(--gray-4);
  border: 0 none;
  padding: 10px 8px;
  margin: 0;
  text-align: left;
  font-size: var(--font-size);
  cursor: pointer;
}
.mFloatingMenu-hasSelectableItems .mFloatingMenu_item {
  padding-left: 20px;
}
.mFloatingMenu_item-divider {
  display: block;
  width: 100%;
  border-top: 1px solid var(--gray-d);
  margin: 5px 0 4px;
  padding: 0px;
  cursor: default;
}
.mFloatingMenu_item:disabled {
  background-color: var(--gray-e);
  color: var(--gray-a);
  cursor: default;
}
.mFloatingMenu_item:hover:not(.mFloatingMenu_item-divider) {
  background-color: var(--gray-d);
}
.mFloatingMenu_item:disabled:hover {
  background-color: var(--gray-e);
}

.mFloatingMenu_item-checked:before {
  position: absolute;
  top: 10px;
  left: 4px;
  content: "\f00c";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
}
.mFloatingMenu_item-submenu:before {
  position: absolute;
  top: 9px;
  right: 6px;
  content: "\f0da";
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
}
.mFloatingMenu_item i {
  width: 1em;
  text-align: center;
  margin-right: 0.3em;
}
.mFloatingMenu-addContent {
  background-color: var(--gray-c);
  padding: 8px;
  font-size: var(--font-size);
}

.mDropdown_menu {
  box-sizing: border-box;
}
.mDropdown_item-selected {
  background-color: var(--gray-d);
}


.mGroup {
  margin-top: 10px;
  border: 1px solid var(--gray-d);
  padding: 8px 2px 2px;
  position: relative;
}
.tDialog .mGroup {
  border-color: var(--gray-c);
}
.mGroup-isMinimized {
  border-left: none;
  border-right: none;
  border-bottom: none;
}
.mGroup-hidden {
  display: none;
}
.mGroup_title {
  padding: 2px 2px;
  display: inline-block;
  position: absolute;
  top: -10px;
  left: 8px;
  background-color: var(--gray-c);
  font-size: var(--font-size);
}


.mConsole_row-error {
  font-weight: bold;
  color: #d00;
}
.mConsole_row-important {
  color: #048;
  font-weight: bold;
}
.mConsole_row-event {
  color: #f80;
}
.mConsole_row-history {
  color: #084;
  display: none;
}
.mConsole_row-source {
  color: #804;
}
.mConsole_row-container {
  color: #088;
  display: none;
}
.mConsole_row-api {
  color: #480;
}

.mConsole_row-faded {
  opacity: 0.3;
}

.mRadioRow-sidebarStatistics {
  background-color: var(--gray-f);
  width: 10em;
  margin: 0 auto;
  font-size: 10px;
}
.mRadioRow-sidebarStatistics .mRadioRow_item {
  padding: 2px 2px 2px;
}
.mRadioRow-sidebarStatistics .mRadioRow_item p {
  margin: 0;
}

.mFoldersItem {
  position: relative;
  padding: 4px 4px 4px 16px;
  cursor: pointer;
  border: 1px solid transparent;
}
.mFoldersItem:hover {
  border-color: var(--gray-8);
}
.mFoldersItem-selected {
  background-color: var(--gray-e);
}
.mFoldersItem:before {
  content: " ";
  display: block;
  position: absolute;
  left: 6px;
  top: 6px;
  width: 4px;
  height: 10px;
  background-color: var(--passiveLED);
  box-shadow: inset 0 0 1px rgba(0,0,0,0.5);
}
.mFoldersItem-selected:before {
  background-color: var(--activeLED);
}



/* triobo elements */


.tDialog {
  width: 400px;
}
.tDialog a {
  color: var(--primary-color);
}
.tDialog-medium {
  width: 640px;
}
.tDialog-error {
  width: 480px;
}
.tDialog-error pre {
  white-space: pre-line;
  font-family: monospace;
  font-size: 10px;
}
.tDialog-wide {
  width: 900px;
}
.tDialog-wider {
  width: 1300px;
}
.tDialog-proofreadingNote {
  width: 500px;
  vertical-align: bottom;
  margin-bottom: 16px;
}
.tDialog-readersZoneAdmin {
  width: 1200px;
}

.tDialog-login .mDialog_header {
  background-color: transparent;
  padding: 8px;
}
.tDialog-login_footer {
  color: var(--gray-b);
}

.tDialog-resetPassword {
  width: 280px;
}

.tDialog-stop .mDialog_content,
.tDialog-warning .mDialog_content {
  padding: 12px 8px 36px 100px;
  position: relative;
}
.tDialog-stop .mDialog_content:before,
.tDialog-warning .mDialog_content:before {
  position: absolute;
  left: 24px;
  top: 10px;
  font: normal normal normal 64px/1 FontAwesome;
  color: var(--primary-color);
}
.tDialog-stop .mDialog_content:before {
  content: "\f05e";
}
.tDialog-warning .mDialog_content:before {
  content: "\f06a";
}

p.tDialog_subtitle {
  font-weight: 200;
  font-size: var(--font-size-big);
  color: #088;
  margin: 8px 0;
  border-top: 1px solid #088;
  padding-top: 4px;
}
p.tDialog_subtitle:first-child:not(.mBorderOnTop) {
  margin-top: 0;
  padding-top: 0;
  border-top: 0 none;
}
.mElementsWithLabels_row:not(:first-child) p.tDialog_subtitle {
  margin-top: 12px;
  border-top: 1px solid #088;
  padding-top: 4px;
}

.tDialog_note {
  font-size: 80%;
  color: var(--gray-6);
  margin: 2px 0 8px;
}
.tDialog_error {
  color: var(--warning);
}
.tDialog_minibutton {
  background-color: var(--gray-d);
  color: var(--gray-8);
  height: 29.5px;
  margin: 0;
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  padding: 7px 3px 0;
  box-sizing: border-box;
}
.tDialog_minibutton:hover {
  background-color: var(--gray-b);
}
.tDialog_warning {
  background-color: var(--gray-e);
  padding: 8px;
  margin: 8px 0;
}
.tDialog_warning b {
  color: var(--warning);
}

.tDialog_unhidePasswordCheckbox {
  position: absolute;
  right: 4px;
  top: 2px;
  cursor: pointer;
}

.tDialog-notification_remainInfo {
  text-align: center;
  font-size: 80%;
  padding-bottom: 8px;
}
.tDialog-notification_remainInfo span:first-child:after {
  content: " ";
}
.tDialog-notification_remainInfoData-warn {
  color: red;
}
.tDialog-notification_targetedDevices {
  margin: 16px 0;
  padding: 8px;
  border: 1px solid var(--gray-d);
  background-color: var(--gray-e);
}
.mTable-publisherUsers {
  height: 400px;
  max-height: calc(100vh - 100px);
}

.tDialog_infoBox {
  border: 1px solid var(--gray-d);
  background-color: var(--gray-e);
  padding: 4px;
}

.tDialog_recordsButton {
  float: right;
  border: 0 none !important;
  background-color: transparent !important;
  color: var(--gray-a);
  margin: 0;
}
.tDialog_recordsButton:hover {
  color: var(--gray-0);
}
.tDialog .mGroup_title {
  background-color: var(--gray-d);
}

.tDialog_buttonRow .mButton {
  margin: 0 1px 0 0;
  padding: 2px 8px;
  line-height: 15px;
}

.tCookieManager_mainDialog {
  width: 480px;
}
.tCookieManager_mainDialog p {
  margin: 8px 0;
  line-height: 120%;
}
.tCookieManager_serviceIcon {
  float: right;
  margin: 8px 0 0 4px;
}
.tCookieManager_serviceIcon i {
  width: 1.6em;
  height: 1.6em;
  text-align: center;
  font-size: 300%;
  border-radius: 3px;
  padding: 0;
  color: var(--primary-color);
}
.tCookieManager_service {
  border-top: 1px solid var(--gray-d);
}
.tCookieManager_moreInfo a {
  border-color: var(--primary-color);
}
.tCookieManager_serviceOptions {
  margin-left: 0;
  margin-top: 0;
}




.fragmentsList_item {
  background-color: var(--gray-f);
  box-sizing: border-box;
  width: auto;
  padding: 12px;
  margin: 2px 0px 2px;
  border: 1px solid var(--gray-d);
  font-size: var(--font-size);
  color: var(--gray-4);
  line-height: 1;
  cursor: pointer;
}
.fragmentsList_item:hover {
  border-color: var(--gray-8);
  background-color: var(--gray-a);
}


.table {
  border: 1px solid var(--gray-d);
  width: 100%;
  margin: 1px 0;
}
.table tr:nth-child(even) {
  background-color: var(--gray-f8);
}
.table tr:nth-child(odd) {
  background-color: var(--gray-e);
}
.table tr.header {
  font-weight: bold;
  border-bottom: 1px solid var(--gray-d);
  background-color: var(--gray-d);
}
.table tr.total {
  font-weight: bold;
  border-top: 1px solid var(--gray-d);
  background-color: var(--gray-d);
}
.table td.alignRight {
  text-align: right;
}
.table th, .table td {
  padding: 2px 4px;
}

.folderThumbnail {
  box-sizing: border-box;
  border: 1px solid var(--gray-d);
  background-color: var(--gray-c);
  cursor: pointer;
  font-size: 0px;
  position: relative;
  line-height: 0;
  border-radius: 4px;
  border-top-left-radius: 0px;
  padding: 8px;
}
.folderThumbnail:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: -12px;
  left: -1px;
  width: 35%;
  height: 12px;
  border: 1px solid var(--gray-d);
  background-color: var(--after-bg, var(--gray-c));
  border-bottom: 0 none;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
