*::-webkit-scrollbar {
  width: 0.5em;
  border-radius: 0.125em;
}
*::-webkit-scrollbar-track {
  background: #4e255d;
  border: 0.25em solid #21142f;
  border-right: none;
}
*::-webkit-scrollbar-thumb {
  background: #f2015b;
  border: 0.25em solid #21142f;
  border-right: none;
  box-sizing: border-box;
}
html {
  overflow: hidden;
  width: 100%;
}
body {
  touch-action: manipulation;
  height: 100%;
  position: fixed;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  overflow: hidden;
  margin: 0;
  background: #21142f;
  color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
@media only screen and (hover: none) and (pointer: coarse) {
  body {
    font-size: 1.125em;
  }
}
body.isMobile,
body.isTablet {
  font-size: 4mm;
}
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 0;
  width: 40em;
  max-width: 60vw;
  animation: fadeIn 1s ease-out;
}
#loader.hidden {
  display: none;
}
#loader img {
  margin: 0 0 5% 4%;
  width: 100%;
}
#loader video {
  width: 100%;
}
@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    display: block;
    opacity: 1;
  }
  99% {
    display: block;
    opacity: 0;
  }
  100% {
    display: none;
    opacity: 0;
  }
}
#tooltip {
  position: absolute;
}
#aphelion {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  grid-template-columns: 1.75fr 4fr 3fr;
  grid-template-rows: auto 4fr 3fr auto;
  background-color: #21142f;
  transition: 0.5s;
}
#aphelion.hidden {
  opacity: 0;
  transition: 1s;
}
#aphelion.hide-map #display-area {
  grid-column: 2 / span 2;
  grid-row: 2 / span 3;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #aphelion.hide-map #display-area {
    grid-column: 1 / span 3;
    grid-row: 2 / span 2;
    border-top: none;
    border-bottom: 1px solid #f2015b;
  }
}
#aphelion.hide-map #map-area {
  display: none;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #aphelion.show-menu #menu-area {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s;
  }
  #aphelion.show-menu #element-menu {
    display: none;
  }
  #aphelion.show-menu #element-exit {
    display: flex;
  }
}
#menu-area {
  grid-column: 1;
  grid-row: 1 / span 4;
  z-index: 1000;
  padding: 0 0.5em;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #menu-area {
    grid-column: 1 / span 3;
    grid-row: 1 / span 3;
  }
}
#tabs-area {
  grid-column: 3;
  grid-row: 1;
  padding: 0.5rem 0 0.4rem 0;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #tabs-area {
    grid-column: 1 / span 3;
    grid-row: 4;
    padding: 0.75rem 0 0.5rem 0;
  }
}
#tabs-area #element-menu {
  display: none;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #tabs-area #element-menu {
    display: flex;
  }
}
#tool-area {
  grid-column: 2;
  grid-row: 1;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #tool-area {
    grid-column: 1 / span 3;
    grid-row: 1;
  }
}
#display-area {
  position: relative;
  grid-column: 3;
  grid-row: 2 / span 3;
  margin: 0;
  overflow: hidden auto;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #display-area {
    grid-column: 1 / span 3;
    grid-row: 2;
    border: none;
    margin: 0;
  }
}
#display-area::before {
  position: absolute;
  top: 0;
  left: 0.5em;
  right: 0.5em;
  content: '';
  border-top: 1px solid #f2015b;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #display-area::before {
    display: none;
  }
}
#display-area .tab-content {
  margin: 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#map-area {
  background: rgba(0, 255, 0, 0.1);
  grid-column: 2;
  grid-row: 1 / span 4;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #map-area {
    grid-column: 1 / span 3;
    grid-row: 3;
  }
}
#element-tabs .el-children {
  justify-content: end;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #element-tabs .el-children {
    justify-content: center;
  }
}
#menu-area {
  opacity: 1;
  visibility: visible;
  display: flex;
  margin: 0;
  background: #21142f;
  color: #2cbbdf;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #menu-area {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s;
    flex: 1 1 auto;
    max-width: none;
    padding: 0.25em;
  }
}
#menu-area #main_menu {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
}
#menu-area.open {
  transform: translateX(0%);
  transition: transform 0.5s;
}
#menu-area #menu-tab {
  position: absolute;
  width: 2.5em;
  height: 2em;
  right: 1px;
  top: 2.7em;
  transform: translateX(100%);
  background: url('../img/ico_menu.svg') no-repeat 0.75em center / 1.25em, #21142f;
  border-radius: 0 0.3em 0.3em 0;
  display: none;
}
#menu-area #menu_top {
  flex: 0 0 auto;
}
#menu-area #menu_top #logo {
  flex: 0 0 10em;
  text-align: center;
}
#menu-area #menu_top #logo img {
  margin: 1em 0;
  width: 63%;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #menu-area #menu_top #logo {
    text-align: center;
  }
  #menu-area #menu_top #logo img {
    margin: 0.5em 0;
    width: 75%;
  }
}
#menu-area #menu_top #search2 {
  display: flex;
  margin: 0.25em 0;
  height: 1.5em;
  background: #291c41;
  border-radius: 0.25em;
  margin: 0 0 1.5em 0;
}
#menu-area #menu_top #search2 > .icon {
  content: '';
  flex: 0 0 1.5em;
  height: 1.5em;
  float: left;
  background: url('../img/ico_search.svg') no-repeat center center / 1em;
}
#menu-area #menu_top #search2 > .searchbox {
  flex: 1 1 auto;
  margin: 0 0.25em;
}
#menu-area #menu_top #search2 > .searchbox input {
  width: 100%;
  border: none;
  outline: none;
  color: white;
  background: none;
  padding: 0;
  margin: 0;
  font-family: 'UniNeueBook';
  font-size: 1em;
}
#menu-area #menu_top #search2 > .closebtn {
  flex: 0 0 1.5em;
  content: '';
  display: block;
  height: 1.5em;
  float: right;
  margin: 0;
  background: url('../img/ico_close_search.svg') no-repeat center center / 1em;
}
#menu-area #menu {
  display: flex;
  flex: 1000 1000 auto;
  flex-direction: column;
  overflow-y: auto;
  user-select: none;
}
#menu-area #menu_bottom {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}
#menu-area #menu_bottom .block {
  flex: 1 1 auto;
}
#menu-area #menu_bottom .block:first-of-type {
  border-top: 1px solid #f2015b;
}
#main {
  grid-column: 2 / span 2;
  grid-row: 1 / span 3;
  background: #21142f;
  border: 0.125em solid #21142f;
  border-left: 1px solid #4e255d;
  margin: 0;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #main {
    flex: 1 1 auto;
    border: none;
  }
}
#main #col1 {
  flex: 1 1 auto;
  min-width: 450px;
}
@media only screen and (hover: none) and (pointer: coarse) {
  #main #col1 {
    min-width: 0;
  }
}
#main #col2 {
  flex: 0 0 66.6%;
}
#main #maps {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  box-sizing: border-box;
}
#main #maps #map_col1,
#main #maps #map_col2 {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 50%;
  flex-direction: column;
}
#main #maps .map_container {
  display: flex;
  flex: 1 1 50%;
  background: black;
  border: 0.125em solid #21142f;
  border-radius: 0.25em;
}
#main #maps .map_container.selected {
  border: 0.125em solid #2cbbdf;
}
#main #maps.single #map2,
#main #maps.single #map3,
#main #maps.single #map4,
#main #maps.single #map_col2 {
  display: none;
}
#main #maps.double #map3,
#main #maps.double #map4 {
  display: none;
}
#main #maps.triple #map3 {
  display: none;
}
#main #info {
  display: flex;
  flex: 0 0 6em;
  flex-direction: column;
  background: black;
  border: 0.125em solid #21142f;
}
#main #timeline {
  display: flex;
  flex: 0 0 5em;
  background: black;
  border: 0.125em solid #21142f;
}
#tab_bar {
  padding: 0.75em 0 0.5em 0;
  grid-column: 1 / span 3;
  grid-row: 4;
}
.info-chart {
  border: 1px solid #39c;
  text-align: center;
  display: flex;
  flex-direction: column;
}
div.block {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  padding-bottom: 1px;
}
div.block:not(:last-child) {
  background: url('../img/border_px.png') no-repeat 1.75em bottom;
  background-size: 100% 1px;
}
div.block .header {
  display: flex;
  line-height: 1.5em;
  vertical-align: middle;
  overflow: hidden;
  cursor: pointer;
}
div.block .header:hover {
  background: #291c41;
  transition: 0s;
}
div.block .header span {
  display: flex;
  flex: 1 1 auto;
  padding: 0.25em 0.25em;
}
div.block .header:before,
div.block .header.toggle:after {
  overflow: hidden;
  content: '';
  display: flex;
  flex: 0 0 1.5em;
}
div.block .header:before {
  background: url('../img/ico_arrow_down.svg') no-repeat center center / 1em;
}
div.block .header.toggle:after {
  background: url('../img/ico_arrow_down.svg') no-repeat center center / 1em;
  width: 1em;
  transition: transform 0.25s;
}
div.block.open > .header:after {
  transform: rotate(-180deg);
  transition: transform 0.25s;
}
div#search {
  margin: 0 0 1.5em 0;
}
div#search > .header {
  display: flex;
  margin: 0.25em 0;
  height: 1.5em;
  background: #291c41;
  border-radius: 0.25em;
}
div#search > .header input {
  border: none;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  outline: none;
  color: white;
  background: none;
  padding: 0.25em 0.25em;
  margin: 0;
  font-family: 'UniNeueBook';
  font-size: 1em;
}
div#search > .header .closebutton {
  overflow: hidden;
  display: flex;
  flex: 0 0 1.5em;
  background: url('../img/ico_close_search.svg') no-repeat center center / 1em;
  width: 1em;
}
div#search > .header .closebutton.hidden {
  display: none;
}
div#search > .header:before {
  background: url('../img/ico_search.svg') no-repeat center center / 1em;
}
div#sites > .header:before {
  background: url('../img/ico_sites.svg') no-repeat center center / 1em;
}
div#presets > .header:before {
  background: url('../img/ico_presets.svg') no-repeat center center / 1em;
}
div#layouts > .header:before {
  background: url('../img/ico_layouts.svg') no-repeat center center / 1em;
}
div#events > .header:before {
  background: url('../img/ico_events.svg') no-repeat center center / 1em;
}
div#user > .header:before {
  background: url('../img/ico_user.svg') no-repeat center center / 1em;
}
div#solute > .header:before {
  background: url('../img/ico_copyright.svg') no-repeat center center / 1em;
}
div#meteogram > .header:before {
  background: url('../img/ico_meteogram.svg') no-repeat center center / 1em;
}
.function {
  order: 9999;
}
.block ul,
.rightBar ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding: 0 0 0.25em 0;
  padding-inline-start: 0;
  padding-inline-end: 0;
  overflow: hidden;
}
.block li,
.rightBar li {
  margin-left: 1.75em;
  display: flex;
  flex: 1 1 auto;
  height: 1.5em;
  line-height: 1.5em;
  vertical-align: middle;
  list-style-type: none;
  transition: 0.1s;
  cursor: pointer;
  /* The animation code */
}
.block li:hover,
.rightBar li:hover {
  background: #291c41;
  transition: 0s;
}
.block li .marquee,
.rightBar li .marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.block li .marquee:before,
.rightBar li .marquee:before {
  content: '';
  width: 100%;
  height: 1.5em;
  position: absolute;
  right: 0;
  background: linear-gradient(to right, #21142f 0%, transparent 8px calc(100% - 8px), #21142f 100%);
}
.block li .marquee:hover:before,
.rightBar li .marquee:hover:before {
  background: linear-gradient(to right, #291c41 0%, transparent 8px calc(100% - 8px), #291c41 100%);
}
.block li span,
.rightBar li span {
  margin: 0 0.5em;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.block li .icon,
.rightBar li .icon,
.block li .context,
.rightBar li .context {
  overflow: hidden;
  content: '';
  display: flex;
  flex: 0 0 1em;
  width: 1.5em;
  height: 1.5em;
}
.block li .context,
.rightBar li .context {
  float: right;
}
.block li:hover .context,
.rightBar li:hover .context {
  background: url('../img/ico_context.svg') no-repeat center center / 1em;
}
ul.checklist > li .icon {
  background: url('../img/ico_check.svg') no-repeat center center / 1em;
}
ul.checklist > li.checking .icon {
  filter: brightness(125%);
}
ul.checklist > li.checked .icon {
  background: url('../img/ico_check_selected.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon {
  background: url('../img/ico_radio.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon.country {
  background: url('../img/ico_country.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon.region {
  background: url('../img/ico_region.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon.locality,
ul.radiolist > li .icon.neighborhood {
  background: url('../img/ico_locality.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon.place {
  background: url('../img/ico_place.svg') no-repeat center center / 1em;
}
ul.radiolist > li .icon.address {
  background: url('../img/ico_address.svg') no-repeat center center / 1em;
}
ul.radiolist > li.selecting .icon {
  filter: brightness(125%);
}
ul.radiolist > li.selected .icon {
  background: url('../img/ico_radio_selected.svg') no-repeat center center / 1em;
}
ul > li.add .icon {
  background: url('../img/ico_add.svg') no-repeat center center / 1em;
}
#layouts li:nth-child(1) .icon {
  background-image: url('../img/ico_layout1.svg');
}
#layouts li:nth-child(2) .icon {
  background-image: url('../img/ico_layout2.svg');
}
#layouts li:nth-child(3) .icon {
  background-image: url('../img/ico_layout3.svg');
}
#layouts li:nth-child(4) .icon {
  background-image: url('../img/ico_layout4.svg');
}
#layouts li:nth-child(1).selected .icon {
  background-image: url('../img/ico_layout1_selected.svg');
}
#layouts li:nth-child(2).selected .icon {
  background-image: url('../img/ico_layout2_selected.svg');
}
#layouts li:nth-child(3).selected .icon {
  background-image: url('../img/ico_layout3_selected.svg');
}
#layouts li:nth-child(4).selected .icon {
  background-image: url('../img/ico_layout4_selected.svg');
}
.text {
  font-size: 0.8em;
  font-family: 'UniNeueBook';
  color: #2cbbdf;
  font-weight: 500;
  vertical-align: baseline;
  text-align: center center;
  position: relative;
  font-variant-numeric: tabular-nums;
  flex: none;
}
.text .content-area {
  overflow: hidden;
}
.text span {
  overflow: hidden;
}
#meteogramContainer {
  overflow: hidden;
  background-color: #21142f;
}
#meteogramContainer div:first-child {
  margin-top: 10px;
}
#login-dialog #logo {
  padding: 0.5em;
}
#login-dialog #logo img {
  width: 100%;
}
.entity_icon img {
  width: 24px;
  filter: drop-shadow(0 0 1px #0000007f);
  transform: translateY(-14px);
}
