/**
 * -----------------------------------------------------------------------------
 * @package     smartVISU
 * @author      Martin Gleiss, Stefan Widmer
 * @copyright   2012 - 2023
 * @license     GPL [http://www.gnu.de]
 * -----------------------------------------------------------------------------
 */

@CHARSET "UTF-8";

@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 500;
  src: url('dosis.eot') format('embedded-opentype'), url('dosis.woff') format('woff'), url('dosis.ttf') format('truetype');
}

.visible-phone, .menu-visible-phone, .visible-tablet, .minimum-tablet, .visible-desktop, .minimum-desktop, .menu-visible-smallphone  {
  display: none;
}
.menu-hide-phone, .menu-hide-smallphone {
	display: inline-block;
}
.hide-phone {
   display: block;
}

/* Large desktop */
@media all and (min-width: 980px) {
  .minimum-tablet, .minimum-desktop, .visible-desktop {
    display: block;
  }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
  .minimum-tablet, .visible-tablet {
    display: block;
  }
}
@media (min-width: 768px) {
  .menu-hide-tablet {
    display: none;
  }
}

/* Landscape phone to portrait tablet */
@media all and (max-width: 767px) {
  .visible-phone {
    display: block;
  }
  .menu-visible-phone {
	  display: inline-block;
  }
  .menu-hide-phone, .hide-phone {
	  display: none;
  }
}

/* small phone i.e. iPhone 5, SE */
@media all and (max-width: 360px){
  .menu-visible-smallphone {
	  display: inline-block;
  }
  .menu-hide-smallphone {
	  display: none;
  }
}

/**
 * --- G E N E R A L  ---------------------------------------------------------
 */
 body {
	-youbkit-touch-callout: none; /* iOS Safari */
	-youbkit-user-select: none;   /* Chrome 6.0+, Safari 3.1+, Edge & Opera 15+ */
	-moz-user-select: none;       /* Firefox */
	-ms-user-select: none;        /* IE 10+ and Edge */
	user-select: none;            /* Non-prefixed version,  currently supported by Chrome and Opera */
	-webkit-touch-callout: none;                /* iOS prevent callout to copy image, etc when tap to hold */
	-webkit-user-select: none;                  /* iOS prevent copy paste, to allow, change 'none' to 'text' */
}

h1 {
  font-size: 16pt;
  margin: 20px 0 6px 0;
}

div.primary > h1 {
  margin: 0 0 1px;
}

h1 .icon {
  vertical-align: middle;
  margin: 0 10px 0 10px;
}

h2 {
  font-size: 14pt;
  margin: 19px 0 5px 0;
}

h2 .icon {
  vertical-align: middle;
  margin: 0 10px 0 10px;
}

h3 {
  margin: 18px 0 4px 0;
}

h3 .icon {
  vertical-align: middle;
  margin: 0 10px 0 10px;
}

h3 .ui-collapsible-heading-toggle {
  font-size: .7em;
}

h4 {
  margin: 17px 0 3px 0;
}

hr {
  border: 1px none #999;
  border-top-style: dotted;
}

html body .ui-page .hide {
  display: none;
}

.center {
  width: 100%;
  text-align: center;
}

.unit {
  font-size: 14pt;
  vertical-align: top;
}

.mini {
  font-size: 14px;
}

.blink {
  animation: blink 0.5s step-start 0s infinite;
  -moz-animation: blink 0.5s step-start 0s infinite;
  -webkit-animation: blink 0.5s step-start 0s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.0;
  }
}
@-webkit-keyframes blink {
  50% {
    opacity: 0.0;
  }
}

/**
 * --- j Q u e r y M o b i l e ------------------------------------------------
 */
.ui-page > .ui-header {
  text-align: center;
  height: 62px;
  border-bottom: 1px solid #222;
  min-width: 320px;
}

.ui-page > .ui-header .ui-left {
  margin: 5px 0 0 2px;
  float: left;
}

.ui-page > .ui-header .ui-right {
  max-width: 160px;
  float: right;
  margin: 9px 6px 0 0;
}

/* time, date and version */
.ui-page > .ui-header .ui-right .mini {
  font-size: 13px;
  font-weight: normal;
}

/* min-height for scrollbars and push out url, min-width for smallest device */
.ui-content {
/*	min-height: 850px; */
  min-width: 290px;
}

/* round only top edges */
.ui-corner-top {
  -webkit-border-radius: 0.8em 0.8em 0 0;
  border-radius: 0.8em 0.8em 0 0;
}

/* round only bottom edges */
.ui-corner-bottom {
  -webkit-border-radius: 0 0 0.8em 0.8em;
  border-radius: 0 0 0.8em 0.8em;
}

/* for better readability */
.ui-li-count {
  padding-top: 4px !important;
  font-family: Arial, serif;
  font-size: 11px !important;
}

/* more space for text on flipswitch */
.ui-flipswitch .ui-btn.ui-flipswitch-on {
  text-indent: -3.4em;
}
.ui-flipswitch .ui-flipswitch-off {
  text-indent: 0.1em;
}

/* 'hand' on all links */
a:hover {
  cursor: pointer;
}

/** --------- lists --------- */
.ui-br {
  border: 0;
}

/* listview header */
.ui-listview > .ui-li-has-thumb > .ui-btn,
.ui-listview > .ui-li-static.ui-li-has-thumb {
  min-height: 2.625em;
  padding-left: 4.25em;
}

.ui-listview>li h1,
.ui-listview>li h2,
.ui-listview>li h3,
.ui-listview>li h4,
.ui-listview>li h5,
.ui-listview>li h6 {
  margin: 0.6em 0;
  overflow: visible;
}

.ui-listview .ui-li-has-thumb > svg:first-child,
.ui-listview .ui-li-has-thumb>.ui-btn>svg:first-child,
.ui-listview .ui-btn>svg.icon
{
  position: absolute;
  left: 0;
  top: 0;
  max-height: 5em;
  max-width: 5em;
}

.ui-listview .ui-li-has-thumb > img:first-child,
.ui-listview .ui-li-has-thumb > .ui-btn > img:first-child,
.ui-listview .ui-li-has-thumb .ui-li-thumb,
.ui-listview .ui-li-has-thumb > svg:first-child,
.ui-listview .ui-li-has-thumb>.ui-btn>svg:first-child {
  padding: 0.5em 0 0 0.25em;
}

.ui-listview>li.ui-li-divider>a.ui-btn-inline {
  display: inline-block;
}

.ui-right .mini {
  font-size: 14px;
}

.ui-li-aside {
  font-size: 0.8em; /* 0.875em; */
  right: .6em !important;
}

.ui-li-aside .icon {
  width: 1.7em;
  height: 1.7em;
}

.ui-li-divider > img {
  height: 28px;
  vertical-align: middle;
  margin: -7px 5px -7px 5px;
  position: relative;
  top: -2px;
}

.ui-popup {
  padding: 4px;
}

.ui-popup > span,
.ui-popup > a {
  margin: 0;
  display: block;
}

/* grey background for the symbol in an collapsible set */
.ui-collapsible-heading-toggle.ui-btn-icon-left:after,
.ui-collapsible-heading-toggle.ui-btn-icon-right:after,
.ui-collapsible-heading-toggle.ui-btn-icon-top:after,
.ui-collapsible-heading-toggle.ui-btn-icon-bottom:after,
.ui-collapsible-heading-toggle.ui-btn-icon-notext:after {
  background-color: #b8b8b8;
}

/** --------- button --------- */
.ui-controlgroup {
  display: inline-block;
  vertical-align: middle;
}

.ui-btn-inline {
  margin: 1px;
}

.ui-btn-inline.ui-btn-icon-top .icon {
  display: block;
  margin: 0 auto;
}

.ui-btn.ui-btn-icon-left:after,
.ui-btn.ui-btn-icon-right:after,
.ui-btn.ui-btn-icon-top:after,
.ui-btn.ui-btn-icon-bottom:after,
.ui-btn.ui-btn-icon-notext:after {
  height: 18px;
  width: 18px;
  background-size: 10px;
}

.ui-btn.ui-btn-icon-notext:after,
.ui-btn.ui-btn-icon-left:after,
.ui-btn.ui-btn-icon-right:after {
  margin-top: -9px;
}

.ui-btn.ui-btn-icon-notext:after,
.ui-btn.ui-btn-icon-top:after,
.ui-btn.ui-btn-icon-bottom:after {
  margin-left: -9px;
}

.ui-controlgroup-vertical .ui-controlgroup-controls {
  display: inline-block;
}

.ui-controlgroup-vertical .ui-btn-inline,
.ui-controlgroup-vertical a.switch {
  display: block;
}

/** --------- button: micro --------- */
.ui-btn.ui-btn-inline.ui-micro {
  min-height: 28px;
  min-width: 28px;
  line-height: 25px;
  padding: 0;
  font-size: 0.8em;
}
.ui-btn.ui-btn-inline.ui-micro.absolutepos {
	margin-top: -14px;
	margin-left: -14px;	
} 
.ui-btn.ui-btn-inline.ui-btn-icon-left.ui-micro {
  padding: 0 .5em 0 2em;
}
.ui-btn.ui-btn-inline.ui-btn-icon-right.ui-micro {
  padding: 0 2em 0 .5em;
}
.ui-btn.ui-btn-inline.ui-micro .icon {
  width: 28px;
  height: 28px;
}

/** --------- button: mini --------- */
.ui-btn.ui-btn-inline.ui-mini {
  min-height: 42px;
  min-width: 42px;
  line-height: 40px;
  padding: 0;
  font-size: 0.8em;
}
.ui-btn.ui-btn-inline.ui-mini.absolutepos {
	margin-top: -21px;
	margin-left: -21px;	
} 
.ui-btn.ui-btn-inline.ui-btn-icon-left.ui-mini {
  padding: 0 .5em 0 2em;
}
.ui-btn.ui-btn-inline.ui-btn-icon-right.ui-mini {
  padding: 0 2em 0 .5em;
}

.ui-btn.ui-btn-inline.ui-btn-icon-top.ui-mini,
.ui-btn.ui-btn-inline.ui-btn-icon-bottom.ui-mini {
  padding-top: 22px;
  min-height: 20px;
  line-height: 16px;
}

.ui-btn.ui-btn-inline.ui-mini .icon {
  width: 32px;
  height: 32px;
}

.ui-btn.ui-btn-inline.ui-btn-icon-notext.ui-mini .icon {
  margin-top: 5px;
}

.ui-btn.ui-btn-inline.ui-btn-icon-top.ui-mini .icon,
.ui-btn.ui-btn-inline.ui-btn-icon-bottom.ui-mini .icon {
  margin-top: -22px;
  margin-bottom: -4px;
  width: 28px;
  height: 28px;
}

/** --------- button: midi --------- */
.ui-btn.ui-btn-inline.ui-midi {
  min-height: 56px;
  min-width: 56px;
  line-height: 52px;
  padding: 0;
}
.ui-btn.ui-btn-inline.ui-midi.absolutepos {
	margin-top: -28px;
	margin-left: -28px;	
} 
.ui-btn.ui-btn-inline.ui-btn-icon-left.ui-midi {
  padding: 0 .5em 0 2em;
}
.ui-btn.ui-btn-inline.ui-btn-icon-right.ui-midi {
  padding: 0 2em 0 .5em;
}

.ui-btn.ui-btn-inline.ui-btn-icon-top.ui-midi,
.ui-btn.ui-btn-inline.ui-btn-icon-bottom.ui-midi {
  padding-top: 28px;
  min-height: 28px;
  line-height: 1;
  font-size: 0.8em;
}
.ui-btn.ui-btn-inline.ui-midi .icon {
  width: 40px;
  height: 40px;
}

.ui-btn.ui-btn-inline.ui-btn-icon-notext.ui-midi .icon {
  margin-top: 8px;
}

.ui-btn.ui-btn-inline.ui-btn-icon-top.ui-midi .icon,
.ui-btn.ui-btn-inline.ui-btn-icon-bottom.ui-midi .icon {
  margin-top: -28px;
  margin-bottom: -3px;
}

/** --------- slider --------- */
/* dynamic for more orientations */
div.ui-slider {
  height: auto;
  margin: 0;
}

.ui-slider-switch .ui-slider-label {
  /*top: -0.5px;*/
}

.ui-slider-switch .ui-btn.ui-slider-handle {
  margin: 1px 0 0 -15px;
}

.ui-slider-track-bottomup,
.ui-slider-track-vertical {
  display: inline-block;
  height: 180px;
  padding: 0;
  margin: 0 0 0 10px;
  top: 4px;
  width: 15px;
}

.ui-slider-track-bottomup .ui-btn.ui-slider-handle,
.ui-slider-track-vertical .ui-btn.ui-slider-handle {
  width: 28px;
  height: 24px;
  margin: -12px 0 0 -7.6px;
}

.slider-vertical-scale,
.slider-bottomup-scale {
  position: relative;
  top: 3px;
  margin-right: -10px;
}


.ui-slider-semicircle-box {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.ui-slider-semicircle-box .ui-slider-track.ui-slider-track-semicircle {
  width: 150px;
  height: 75px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: static;
  -moz-border-radius: 10em 10em 0 0;
  -webkit-border-radius: 10em 10em 0 0;
  border-radius: 10em 10em 0 0;
  border-bottom: none;
}

.ui-slider-track.ui-slider-track-semicircle .ui-slider-bg {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.ui-slider-track-semicircle .ui-btn.ui-slider-handle,
a.ui-slider-handle-semicircle {
  position: absolute;
  margin-top: -5px;
  margin-left: -5px;
  top: 50%;
  left: 0;
  -moz-border-radius: 10em 10em 10em 10em;
  -webkit-border-radius: 10em 10em 10em 10em;
  border-radius: 10em 10em 10em 10em;
}

.ui-slider-semicircle-inner {
  position: absolute;
  width: 118px;
  height: 60px;
  margin: 15px 15px 0;
  border: 1px solid #000;
  border-bottom: none;
  -moz-border-radius: inherit;
  -webkit-border-radius: inherit;
  border-radius: inherit;
}

.ui-slider-semicircle-bottom {
  width: 15px;
  height: 8px;
  margin: 0 0 0 -1px;
  position: absolute;
  top: 100%;
  border: 1px solid #000;
  border-top: none;
  background-size: 1000px;
  background-position: left bottom;
  overflow: hidden;
  -moz-border-radius: 0 0 2em 2em;
  -webkit-border-radius: 0 0 2em 2em;
  border-radius: 0 0 2em 2em;
}

.ui-slider-semicircle-bottom .ui-btn-active {
  background-size: inherit;
  background-position: inherit;
}

/* value display type */
.ui-slider-handle-info .ui-slider-track {
    margin: 0 15px 12px;
}
.ui-slider-handle-info.ui-slider-track-bottomup .ui-btn.ui-slider-handle,
.ui-slider-handle-info.ui-slider-track-vertical .ui-btn.ui-slider-handle {
    line-height: 22px;
}


input.ui-slider-input.ui-slider-no-input {
    visibility: hidden;
}
input.ui-slider-input.ui-slider-no-input[data-orientation='semicircle'] {
    display: none;
}
.ui-slider-track.ui-slider-no-input {
    margin-left: 15px;
}

/** --------- flip --------- */
/* corection because ui-slider is now dynamic */
.ui-slider.ui-slider-switch {
  height: 32px;
}

/** --------- grid --------- */
.ui-grid-f {
  overflow: hidden;
}

.ui-block-f, .ui-block-g {
  margin: 0;
  padding: 0;
  border: 0;
  float: left;
  min-height: 1px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.ui-grid-f .ui-block-a, .ui-grid-f .ui-block-b, .ui-grid-f .ui-block-c, .ui-grid-f .ui-block-d, .ui-grid-f .ui-block-e, .ui-grid-f .ui-block-f, .ui-grid-f .ui-block-g {
  width: 14%;
}

.ui-grid-f > :nth-child(n) {
  width: 14%;
}

.ui-grid-f .ui-block-a {
  clear: left;
}


/**
 * ----------------------------------------------------------------------------
 */
.smartvisu {
  padding: 0 0 4px 0;
  font-size: 1.1em;
}

.smartvisu .smart {
  padding: 1px 3px 1px 2px;
  text-shadow: none;
  font-weight: 200;
}

.smartvisu .visu {
  padding: 1px 4px 1px 4px;
  background-color: #fff;
  font-weight: bold;
  text-shadow: none;
  color: #000;
  -moz-border-radius: .2em;
  -webkit-border-radius: .2em;
  border-radius: .2em;
  background: #fff;
  background-image: -webkit-gradient(linear, left, left bottom, from(#fff), to(#ccc));
  background-image: -webkit-linear-gradient(left, #fff, #ccc);
  background-image: -moz-linear-gradient(left, #fff, #ccc);
  background-image: -ms-linear-gradient(left, #fff, #ccc);
  background-image: -o-linear-gradient(left, #fff, #ccc);
  background-image: linear-gradient(left, #fff, #ccc);
}

/* used in ui-content, because we want the color from ui-page */
.page-bg {
  background: no-repeat fixed bottom;
}

.preblock {
  width: 100%;
  text-align: center;
  margin-bottom: 15px;
}

.preblock .ui-btn {
  min-width: 64px;
}

.block {
  width: 100%;
  text-align: center;
}

@media all and (min-width: 900px) {
  .block {
    width: 50%;
    float: left;
  }
}

.block .image {
  margin: 0 6px 13px 3px;
}

.ui-popup-container .image img,
.block .image img {
  width: 100%;
}

.block .image + .mini {
  text-align: left;
  margin: -10px 0 10px 10px;
}

.block .ui-collapsible-set {
  margin: 5px 6px 13px 3px;
}

.block .set-1 .ui-collapsible-content {
  min-height: 14.5em;
  padding: 10px 5px 10px 5px;
}

.block .set-2 .ui-collapsible-content {
  min-height: 12em;
  padding: 10px 5px 11px 5px;
}

.block .set-3 .ui-collapsible-content {
  min-height: 9.5em;
  padding: 10px 5px 12px 5px;
}

.block .ui-collapsible-set .ui-collapsible-caption {
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.block .ui-collapsible-content > .ui-listview {
  margin: -10px -5px -10px -5px;
}

.block h3.ui-collapsible-heading {
  font-size: 1em;
  height: 2.5em;
}
.block .ui-collapsible-heading .ui-collapsible-heading-toggle,
.block > .ui-bar-c.ui-li-divider {
  font-size: 0.819em;
  padding-top: 0;
  padding-bottom: 1px;
  line-height: 2.9;
}
.block > .ui-bar-c.ui-li-divider {
  margin: 5px 6px -1.3px 3px;
  padding-bottom: 0;
  height: 3em;
}

.block .ui-fixed {
  margin: 0 6px 12px 3px;
  padding: 10px 5px 10px 5px;
  min-height: 14.5em;
}

.block .ui-field-contain {
  margin: 8px 0 8px 0;
  padding: 0;
  text-align: left;
}

.block .ui-field-contain .note {
  text-align: right;
  margin-top: 0px;
  font-size: 12px;
}

.block .ui-field-contain input + .note {
  margin-top: 3px;
}



.color.debug, .signal.debug {
  background: #1af0f0;
}

.color.info, .signal.info {
  background: #3ad064;
}

.color.warning, .signal.warning {
  background: #f7cf57;
}

.color.error, .color.exception, .color.critical, .signal.error {
  background: #e03d3d;
}

.signal {
  background: #f7cf57;
  border: solid #fff;
  border-width: 2px 0;
  position: absolute;
  right: -44px;
  top: -10px;
  min-width: 120px;
  padding: 24px 0 4px 0;
  color: #000 !important;
  text-align: center;
  font-weight: bold;
  text-shadow: 0 1px 0 #666;
  width: auto !important;
  z-index: 1010;
  position: fixed;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);

  -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .75);
  -moz-box-shadow: 0 0 6px rgba(0, 0, 0, .75);
  -o-box-shadow: 0 0 6px rgba(0, 0, 0, .75);
  box-shadow: 0 0 6px rgba(0, 0, 0, .75);
}

.signal.update {
  right: -37px;
  top: 7px;
  padding: 4px 0 4px 0;
  background: #f7cf57;
}

.signal:hover {
  cursor: pointer;
}

.alert {
  width: 280px;
  padding: 0;
}

.alert p {
  min-height: 180px;
}

.alert .ui-header .ui-title {
  margin-left: 0.6em;
  margin-right: 0.6em;
}

.alert .control {
  margin: 5px;
  text-align: right;
}

.alert .control .stamp {
  margin-right: 30px;
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.8em;
  color: #666;
}

/**
 * ----------------------------------------------------------------------------
 */
.app {
  margin-bottom: 4px;
  width: 72px;
  float: left;
  text-align: center;
}

.app a:link {
  font-weight: normal;
  text-decoration: none;
}

.app a:visited {
  text-decoration: none;
}

.app a:focus {
  text-decoration: underline;
}

.app a:hover {
  text-decoration: underline;
}

.app a:active {
  text-decoration: none;
}

.app .image {
  margin: 4px;
  height: 64px;
  width: 64px;
  float: left;
  background: #111 url('pics/app.png');
  -moz-border-radius: .7em;
  -webkit-border-radius: .7em;
  border-radius: .7em;
}

.app .image img {
  height: 60px;
  width: 60px;
}

.app + p {
  margin: 4px 0 4px 76px;
}

.app .image .smartvisu {
  margin-top: 2px;
  font-size: 20px;
}

.app .smartvisu .smart {
  color: #fff;
}

.docu .macro {
  font-size: 18px;
}

.deprecated, a.deprecated {
  font-style: italic;
  font-weight: normal;
}

.docu h5 {
  margin: 25px 0 10px 0;
}

.docu .linux, .docu .twig {
  margin: 5px;
  background-color: #000;
  padding: 5px 10px 10px 10px;
  color: #fff;
}

.docu code.twig {
  display: block;
  border-radius: 0;
  line-height: 1.6;
}

.docu .html {
  margin: 5px 5px 15px 5px;
  border: 1px dotted #999;
  padding: 5px;
}

.docu .html:after {
  content: ".";
  display: block;
  clear: both;
  font-size: 0;
  height: 0;
  visibility: hidden;
}

.docu .param {
  margin: 10px 20px 20px 20px;
}

.docu .param .desc {
  margin: -0.2em 0 0.2em 3.125em;
}

.docu .see {
  margin-bottom: 40px;
}

.docu .see .links {
  margin: 10px 20px 20px 70px;
}

.author {
  margin: 4px;
  float: left;
}

.author img {
  height: 64px;
  width: 64px;
  -moz-border-radius: .7em;
  -webkit-border-radius: .7em;
  border-radius: .7em;
}

/**
 * --- W i d g e t s :   B A S I C --------------------------------------------
 */
[data-widget="status.badge"] {
  position: relative;
}
[data-widget="status.badge"] span {
  position: absolute;
  display: inline-block;
  height:1.5rem;
  right: 0px;
  top: -15px;
  min-width: 1.3rem;
  padding: 0 .1rem;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
  line-height: 1.5rem;;
  font-size: 1rem;
  border-radius: 50%;
  background: red;
  color:white;
}

[data-widget="basic.color"] .ui-slider-bg {
  display: none;
}

.switch {
  display: inline-block;
}
.absolutepos .switch,
.switch.absolutepos{
	margin-top: -24px;
	margin-left: -24px;
}
.switch.icon {
  vertical-align: middle;
}

.switch.ui-btn-icon-notext:after {
  display: inline-block;
  vertical-align: middle;
  width: 48px;
  height: 48px;
  background-size: 24px;
  margin: 0;
  position: static;
}

.switch.ui-btn-icon-notext.ui-nodisc-icon:after {
  background-color: transparent;
}

.switch.ui-btn-icon-top {
  padding-top: 0;
}

.symbol .icon {
  vertical-align: middle;
}

/* text beside the flip */
.ui-slider-switch {
  vertical-align: middle;
}

.roofwindow .pos {
	overflow: hidden;
	position: relative;
}
.roofwindow svg[data-widget="icon.roofwindow"] {
  width: 200px;
  height: 200px;
  margin: -30px;
}
.roofwindow .control .icon {
  width: 32px;
  height: 32px;
}
.roofwindow .control .pos {
  position: absolute;
  left: 0;
  top: 0;
}

.shutter {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 180px;
  padding: 1px;
  border-top: 2px solid #666;
  border-right: 2px solid #eee;
  border-bottom: 2px solid #ccc;
  border-left: 2px solid #888;
  background: url('pics/shutter.png');
  border-radius: .3em;
  -moz-border-radius: .3em;
  -webkit-border-radius: .3em;
}

.shutter .blade-pos {
  width: 100px;
  height: 1px;
  background: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#888));
  background-image: -webkit-linear-gradient(#fff, #888);
  background-image: -moz-linear-gradient(#fff, #888);
  background-image: -ms-linear-gradient(#fff, #888);
  background-image: -o-linear-gradient(#fff, #888);
  background-image: linear-gradient(#fff, #888);
}

.shutter .blade-neg {
  width: 100px;
  height: 1px;
  background: #fff;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#777), to(#eee));
  background-image: -webkit-linear-gradient(#777, #eee);
  background-image: -moz-linear-gradient(#777, #eee);
  background-image: -ms-linear-gradient(#777, #eee);
  background-image: -o-linear-gradient(#777, #eee);
  background-image: linear-gradient(#777, #eee);
}

.shutter .control {
  position: absolute;
  top: 0;
  width: 100px;
  height: 180px;
  cursor: pointer;
}

.shutter .control .icon {
  width: 32px;
  height: 32px;
}

.shutter .control .pos {
  position: absolute;
  left: 0;
  bottom: 0;
}

.shutter .control .separator {
  position: absolute;
  left: 50px;
  height: 180px;
  border: 1px none #999;
  border-left-style: dotted;
}

.shutter .control .angle {
  position: absolute;
  right: 0;
  bottom: 0;
}

.colordisc span {
  display: inline-block;
  vertical-align: middle;
  margin: 0 7px 0 7px;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  background-color: #333;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  border-radius: .5em;
}

.rgb-popup div {
  width: 24px;
  height: 24px;
  margin: 0 1px 1px 0;
  float: left;
}

.rgb-popup br {
  clear: left;
}


.tank {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  margin: 0 7px 0 7px;
  width: 30px;
  height: 180px;
  border: 2px solid #fff;
  background: url('pics/scale_gamut.png') no-repeat right;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  border-radius: .5em;
}

.tank div {
  position: absolute;
  bottom: 0;
  width: inherit;
  height: 50%;
  background-color: #999;
  -moz-border-radius: 0.1em 0.1em 0.3em 0.3em;
  -webkit-border-radius: 0.1em 0.1em 0.3em 0.3em;
  border-radius: 0.1em 0.1em 0.3em 0.3em;
  opacity: 0.85;
  filter: alpha(opacity=85);
}

/**
 * --- W i d g e t s :   C A L E N D A R /  A C T I V E L I S T  &  P H O N E ------------------------
 */
.calendarlist h2,
.phonelist h2 {
  font-size: 12pt;
  margin-bottom: 4px;
}

.calendarlist dl,
.phonelist ul {
  margin: 0 !important;
}

.calendarlist li,
.phonelist li {
  padding: 0 !important;
  height: 50px;
}

.calendarlist a,
.phonelist a {
  padding: 0 10px 0 64px !important;
  height: 50px;
}

.calendarlist .ui-listview .ui-li-has-thumb > .ui-btn > .icon,
.phonelist .ui-listview .ui-li-has-thumb > .ui-btn > .icon {
  padding: 0 !important;
  margin: 0 !important;
  width: 48px;
  height: 48px;
  top: 1px !important;
  left: 1px !important;
}

.calendarlist .ui-listview>li h3,
.phonelist .ui-listview>li h3 {
  margin: 6px 0;
}

.calendarlist p,
.phonelist p {
  margin: -0.4em 0 !important;
}

/* Calendar only */
.calendarlist .color {
  position: absolute;
  left: 50px;
  top: 1px;
  width: 6px;
  height: 48px;
}

/* Phone only */
.phonelist .dir {
  position: absolute;
  padding: 0 !important;
  left: 38px;
  top: 15px;
  width: 24px;
  height: 24px;
}

/**
 * --- W i d g e t s :   D E V I C E ------------------------------------------
 */
.dimmer,
.dimmer-left,
.dimmer-right {
  vertical-align: middle;
  height: 48px;
  margin: 15px 0 0 0;
}

.dimmer .switch,
.dimmer-left .switch {
  float: left;
  padding-left: 0;
  margin-right: 12px;
}

.dimmer-right .switch {
  float: right;
  padding-right: 0;
  margin-left: 12px;
}

.dimmer .icon,
.dimmer-left .icon,
.dimmer-right .icon {
  width: 48px;
  height: 48px;
}

.dimmer p,
.dimmer-left p {
  margin: 0;
  padding: 0 0 5px 15px;
}

.dimmer-right p {
  margin: 0;
  padding: 0 0 5px 15px;
}

.dimmer .ui-slider,
.dimmer-left .ui-slider {
  margin-left: 45px;

}
.dimmer-right .ui-slider {
  margin-right: 45px;
}

.codepad {
  display: inline-block;
  border: 1px dotted #888;
  border-radius: 1em;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  background-color: rgba(120, 120, 120, 0.3);
}

.rtr .actual,
.rtr .set,
.rtr .control {
  padding: 5px 0 5px 0;
  display: inline-block;
  text-align: center;
}

.rtr .actual .temp {
  margin: 5px 0 5px 0;
  font-size: 1.4em;
  font-weight: bold;
}

.rtr .set .temp {
  width: 80px;
  padding-top: 0.4em;
  float: left;
}

.rtr .set .ui-btn {
  float: left;
}

.rtr .control > * {
  margin: 2px;
  float: left;
}

.blind .pos {
  width: 50px;
}

.blind .pos div.ui-slider-vertical {
  margin: 0 2% 0 10px;
}

.blind .pos .ui-slider .ui-slider-input {
  display: none !important;
}

.blind .angle .ui-slider .ui-slider-input {
  display: none !important;
}

.smallshut {
  width: 85%;
  float: left;
}

.smallshut_wrapper {
  width: 100%;
  float: left;
  overflow: hidden;
}

.smallshut .uzsu {
  max-width: 15%;
  float: left;
}

.smallshut .ui-shut-txt {
  width: 30% !important;
  padding-right: 0.5%;
  display: inline-block;
  text-align: left;
}

.smallshut .ui-shut-btn,
.ui-shut-btn {
  width: 11% !important;
  padding-left: 0.5%;
  display: inline-block;
}

.smallshut .ui-shut-pic {
  width: 11% !important;
  padding-left:0%;
  display: inline-block;
}

.smallshut .ui-shut-pic .icon {
  margin-left: -5%;
  display: inline-block;
}

/**
 * ---------- UZSU Popup ------------------------------------------------
 */
.uzsuPopupContent{
  width: 100%;
  height: 100%;
}
.uzsuPopupHeader{
  font-size: 2em;
  text-align: center;
  margin-bottom: 1.2em;
}
.uzsuRow{
  clear: both;
  height: 3.8em;
}
/* work around for firefox line break issues with scrollbars */
.uzsuRow:first-of-type::after{
  content: ".";
  float: right;
  width: 30px;
  height: 1px;
  visibility: hidden;
}

.uzsuRowExpert, .uzsuRowHoliday, .uzsuRowCondition, .uzsuRowDelayedExec{
  float: left;
  height: 3.8em;
  border: 1px dotted;
  margin: 0 0.6em 1.2em 1.2em;
}
.uzsuRowExpHoli:after{
  clear: both;
  content: " ";
  display: block;
  height: 0;
}

.uzsuRowSeriesLine{
  float: left;
  height: 3.8em;
  border: 1px dotted;
  margin: 0 0.6em 1.2em 30%;
}
.uzsuRowSeries:after{
  clear: both;
  content: " ";
  display: block;
  height: 0;
}
.uzsuCellSeries{
  float: left;
  height: 3.1em;
  margin: 0.2em;
}

.uzsuRowCondition, .uzsuRowDelayedExec{
  clear: both;
}
.uzsuRowExpertText, .uzsuRowHolidayText, .uzsuRowConditionText, .uzsuRowDelayedExecText{
  height: 0em;
  font-size: 0.7em;
  position: relative;
  top: 5em;
  left: -1.5em;
  transform: rotate(270deg);
  transform-origin: 0 0;
}
.uzsuRowFooter{
  clear: both;
  height: 3.8em;
  margin-top: 1.2em;
}
.uzsuCell, .uzsuCellExpert,
.uzsuCellExpertSeries {
  float: left;
  height: 3.1em;
  margin: 0.2em;
}
.uzsuCellType1{
  float: left;
  height: 5em;
  margin: 0.2em;
}
.uzsuCellText{
  height: 0.8em;
  font-size: 0.7em;
}
.uzsuClear:after{
  content: "";
  clear: both;
  display: table;
}
.uzsuTimeInput, .uzsuTimeMaxMinInput, .uzsuTimeOffsetInput, .uzsuValueInput{
  width: 9ex !important;
  padding: 0.1em !important;
  text-align: center !important;
}

.uzsuTimeInput::-webkit-calendar-picker-indicator,
.uzsuTimeMaxMinInput::-webkit-calendar-picker-indicator {
	width: 1.8ex;
	height:1.8ex;
	margin-left: 0px;
	border: 0;
}

.uzsuTimeInput::-webkit-inner-spin-button,
.uzsuTimeMaxMinInput::-webkit-inner-spin-button,
.uzsuTimeOffsetInput::-webkit-inner-spin-button,
.uzsuValueInput::-webkit-inner-spin-button,
.uzsuTimeInput::-webkit-outer-spin-button,
.uzsuTimeMaxMinInput::-webkit-outer-spin-button,
.uzsuTimeOffsetInput::-webkit-outer-spin-button,
.uzsuValueInput::-webkit-outer-spin-button,
.uzsuTimeInput::-webkit-clear-button,
.uzsuTimeMaxMinInput::-webkit-clear-button,
.uzsuTimeOffsetInput::-webkit-clear-button,
.uzsuValueInput::-webkit-clear-button{
  -webkit-appearance: none;
  display: none;
}
.uzsuConditionValueInput, .uzsuDelayedExecValueInput{
  width: 70px !important;
  padding: 0.1em !important;
}
.uzsuConditionDeviceStringInput, .uzsuDelayedExecDeviceStringInput{
  width: 250px !important;
  padding: 0.1em !important;
}
div.ui-input-text{
  height: 1.9em;
}
div.ui-slider-switch{
  top: 1px !important;
}
.uzsuCellExpert div.ui-btn,
.uzsuCellExpertSeries div.ui-btn{
  top: 0.2em !important;
}
.ui-disable{
  opacity: 0.7 !important;
}
#uzsuPopupContent .ui-select.ui-mini {
  width: 100px;
  margin-left: 0;
  margin-right: 0;
}
.uzsuTextWideInput{
  width: 350px !important;
}
@media screen and (max-width: 625px){
  .uzsuRowExpert, .uzsuRowHoliday, .uzsuRowCondition, .uzsuRowDelayedExec, .uzsuCellExpert, .uzsuRowSeriesLine{
    display: none;
  }
}
/* tooltip (used for UZSU widget) */
[data-tip] {
  position:relative;

}
[data-tip]:before {
  /* hides the tooltip when not hovered */
  display:none;
  content:'';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #1a1a1a;
  position:absolute;
  top:32px;
  left:35px;
  z-index:8;
  font-size:0;
  line-height:0;
  width:0;
  height:0;
}
[data-tip]:after {
  display:none;
  content:attr(data-tip);
  position:absolute;
  top:35px;
  left: 0px;
  padding:2px 8px 2px 8px;
  background:#1a1a1a;
  color:#fff;
  z-index:9;
  font-size: 0.75em;
  height:18px;
  line-height:18px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  white-space:nowrap;
  word-wrap:normal;
}
[data-tip]:hover:before,
[data-tip]:hover:after {
  display:block;
}
.uzsuCell [data-tip]:after {
	left: -190px;
}
.highcharts-root .uzsu-event-sunrise {
  fill: #ffffff;
  stroke: rgba(255, 255, 255, 0.5);
}
.highcharts-root .uzsu-event-sunset {
  fill: #f44336;
  stroke: rgba(244, 67, 54, 0.5);
}
.uzsu-minmax .highcharts-graph {
  stroke-dasharray: 4px 3px;
  stroke-width: 3px;
  stroke-linecap: butt;
}
.uzsu-all-inactive g.highcharts-series,
.uzsu-all-inactive .highcharts-point,
.uzsu-all-inactive .highcharts-markers,
.uzsu-all-inactive .uzsu-active-toggler {
  fill: #808080;
  stroke: #808080;
}

/**
 * --- W i d g e t s :   M U L T I M E D I A ----------------------------------
 */
.music {
  position: relative;
  padding: 10px 0 10px 0;
}

.music .vol {
  width: 55px;
}

.music .vol .ui-slider {
  display: inline-block;
}

.music .ui-slider input.ui-slider-input {
  display: none !important;
}

.music .title {
  position: absolute;
  margin-left: 65px;
  top: 50px;
  left: 0;
  right: 0;
}

.music .control {
  position: absolute;
  top: 0;
  right: 0;
}

.music .set {
  position: absolute;
  margin-left: 65px;
  left: 0;
  right: 0;
  bottom: 0;
}

.music .set .pos {
  margin: 10px;
}

.music .set .scale {
  position: relative;
  height: 15px;
  top: 2px;
  background-image: url('pics/scalex_linear.png');
}

.music .set .ui-slider-track {
  margin: 0 0 5px 0 !important;
}

.music .set .ui-controlgroup-horizontal {
  margin: 10px 10px 0 10px;
}

.music .set .ui-btn-inline.ui-mini {
  min-height: 36px;
  min-width: 30px;
  line-height: 31px;
  padding: 0 1px;
}

.music .set .ui-btn.ui-mini.ui-btn-inline.ui-btn-icon-notext::after {
  height: 30px;
  left: 0.605em;
  top: 0.7em;
  width: 30px;
}

.station {
  display: inline-block;
}

.station a.ui-btn-inline.ui-mini .icon {
  width: auto;
  max-width: 39px;
  height: auto;
  max-height: 37px;
}

.station a.ui-btn-inline.ui-midi .icon {
  width: auto;
  max-width: 50px;
  height: auto;
  max-height: 50px;
}

.slideshow {
  width: 100%;
}

.slideshow img {
  width: 100%;
}

/**
 * --- W i d g e t s :   P L O T ----------------------------------------------
 */
.plot {
  height: 200px;
  min-width: 250px;
  margin: 0 auto;
}
.plot.plot-highstock {
  height: 315px;
}
.plot.plot-highstock {
	height: 315px;
}

.block .ui-fixed .plot,
.block .set-1 .plot {
  min-height: 14.5em;
}
.block .set-2 .plot {
  min-height: 12.22em;
}
.block .set-3 .plot {
  min-height: 9.94em;
}

/* Highcharts */
.highcharts-container {
  font-family: inherit;
}
.highcharts-root:not(.supersized) {
  max-height: 400px;
}
.highcharts-root,
.highcharts-background,
.highcharts-plot-background {
  fill: none;
}
.highcharts-plot-border {
  stroke-width: 0;
}

.highcharts-title {
  font-size: 18px;
  fill: #fff;
}
.highcharts-subtitle {
  fill: #ddd;
}
.highcharts-graph {
	stroke-width: 2px;
}
.highcharts-axis .highcharts-axis-line {
  stroke: #666;
  stroke-width: 2px;
}
.highcharts-tick {
  stroke: #666;
  stroke-width: 1px;
}
.highcharts-xaxis .highcharts-tick {
  stroke-width: 2px;
}
.highcharts-axis-labels {
  fill: #999;
  font-size: 14px;
}
.highcharts-axis-title {
  fill: #aaa;
  font-size: 13px;
}
.highcharts-grid .highcharts-grid-line {
  stroke: rgba(255, 255, 255, .15);
  stroke-width: 1px;
}

.highcharts-legend-item text {
  fill: #ccc;
  font-size: 12px;
  font-weight: normal;
}
.highcharts-legend-item:hover text {
  fill: #fff;
}
.highcharts-legend-item-hidden * {
  fill: #333;
  stroke: #333;
}

.highcharts-markers path {
  stroke: #fff;
}
.highcharts-column-series rect.highcharts-point,
.highcharts-markers path.highcharts-halo {
  fill: inherit;
}

.highcharts-label-box {
  fill: none;
}
.highcharts-label text {
  fill: #ccc;
}
.highcharts-data-labels {
  fill: #ccc;
  color: #ccc;
  font-size: 11px;
  font-weight: normal;
}

.highcharts-tooltip-box,
.highcharts-tooltip-box .highcharts-label-box {
	fill: #272727;
	fill-opacity: 0.8;
	stroke-width: 0;
}
.highcharts-tooltip text {
  fill: #fff;
}

.highcharts-button {
  fill: #f7f7f7;
  stroke: #cccccc;
  stroke-width: 1px;
  cursor: pointer;
}
.highcharts-button text {
  fill: #333333;
}
.highcharts-button-hover {
  fill: #e6e6e6;
  stroke: #333333;
}
.highcharts-button-pressed {
  fill: #e6ebf5;
  stroke: #335cad;
}

.highcharts-selection-marker {
  fill: #335cad;
  fill-opacity: 0.25;
}

.highcharts-pane {
  fill: #EEE;
  fill-opacity: 1;
  stroke: silver;
  stroke-width: 1px;
}

.highcharts-columnrange-series .highcharts-point,
.highcharts-column-series .highcharts-point {
  stroke: #fff !important;
}
.highcharts-gauge-series .highcharts-pivot {
  fill: #000;
  stroke: #000;
}
.highcharts-pie-series .highcharts-point {
  stroke-width: 0;
}
[data-widget="plot.rtr"] .highcharts-empty-series, 
.polarChart .highcharts-axis-line,
.solidgauge .highcharts-axis-line,
.solidgauge .highcharts-grid-line {
  stroke: none;
}

.highcharts-crosshair-thin {
  stroke-dasharray: 1, 3;
}

[data-mode="scale"] .highcharts-pane {
  fill: #555;
  stroke-width: 0;
}
[data-mode="scale"] .highcharts-axis-line,
[data-mode="scale"] .highcharts-grid-line,
[data-mode="scale"] .highcharts-minor-grid-line,
[data-mode="scale"] .highcharts-tick {
  stroke-width: 0;
}
[data-mode="scale"] .highcharts-minor-tick {
  stroke: #444;
  stroke-width: 2px;
}
[data-mode="scale"] .highcharts-axis-labels {
  fill: lightgrey;
  font-size: 11px;
}
[data-mode="scale"] .highcharts-plot-band {
  fill: #fff;
  fill-opacity: 0.2;
}
[data-mode="scale"] .highcharts-dial {
  fill: #eee
}
[data-mode="scale"] .highcharts-data-label text {
  fill: grey;
  color: grey;
  font-size: 30px;
  text-shadow: 0 0 6px #FFFFFF, 0 0 3px #FFFFFF;
}
[data-mode="scale"] .highcharts-label-box {
  stroke-width: 0;
}

[data-mode="speedometer"] .highcharts-axis-line,
[data-mode="speedometer"] .highcharts-grid-line,
[data-mode="speedometer"] .highcharts-minor-grid-line {
  stroke-width: 0;
}
[data-mode="speedometer"] .highcharts-tick {
  stroke: #666;
  stroke-width: 2px;
}
[data-mode="speedometer"] .highcharts-minor-tick {
  stroke: #666;
  stroke-width: 1px;
}
[data-mode="speedometer"] .highcharts-axis-labels text,
[data-mode="speedometer"] .highcharts-data-label text {
  fill: grey;
  color: grey;
  text-shadow: none;
  font-size: 11px;
  font-weight: bold;
}

[data-mode="speedometer"] .outer-pane {
  stroke-width: 0;
}
[data-mode="speedometer"] .middle-pane {
  stroke-width: 1px;
}
[data-mode="speedometer"] .inner-pane {
  stroke-width: 0;
  fill: #DDD;
}
#speedometerOuterPaneGradient stop[offset="0"],
#speedometerMiddlePaneGradient stop[offset="1"] {
  stop-color: #fff;
}
#speedometerOuterPaneGradient stop[offset="1"],
#speedometerMiddlePaneGradient stop[offset="0"] {
  stop-color: #333;
}

[data-mode="vumeter"] .outer-pane {
  stroke-width: 0;
}
[data-mode="vumeter"] .highcharts-grid-line,
[data-mode="vumeter"] .highcharts-minor-grid-line,
[data-mode="vumeter"] .highcharts-tick {
  stroke-width: 0;
}
[data-mode="vumeter"] .highcharts-axis-line,
[data-mode="vumeter"] .highcharts-minor-tick {
  stroke: #A0A0A0;
  stroke-width: 1px;
}
[data-mode="vumeter"] .highcharts-axis-title {
  fill: grey;
  color: grey;
  text-shadow: none;
  font-weight: bold;
}
[data-mode="vumeter"] .highcharts-axis-labels text,
[data-mode="vumeter"] .highcharts-data-label text {
  fill: grey;
  color: grey;
  text-shadow: none;
  font-size: 11px;
  font-weight: bold;
}
#vumeterGradient stop[offset="0"],
#vumeterGradient stop[offset="1"] {
  stop-color: #FFF4C6;
}
#vumeterGradient stop[offset="0.3"] {
  stop-color: #FFF;
}
.shortdot {
  stroke-dasharray: 2, 2;
}
.timeshift-back .icon,
.timeshift-forward .icon {
	width:32px; 
	height:auto; 
	margin-top:0px; 
}

/**
 * --- W i d g e t s :   S T A T U S ------------------------------------------
 */
.log h2 {
  font-size: 12pt;
  margin-bottom: 4px;
}

.log ul {
  margin: 0 !important;
}

.log li {
  padding: 0 !important;
  height: 48px;
}

.log .color {
  width: 6px;
  height: 48px;
  margin-right: 8px;
  float: left;
}

.log h3 {
  margin: 6px 0 6px 0 !important;
}

.log p {
  font-size: 10pt !important;
  margin: -0.4em 0 !important;
}

/**
 * --- W i d g e t s :   A P P L I A N C E ------------------------------------
 */
.iprouter {
  height: 230px;
  position: relative;
}

.iprouter .from > img {
  height: 14px;
  margin-left: 5px;
}

.iprouter .to > img {
  height: 14px;
  margin-left: 5px;
}

.iprouter .tunnels {
  margin: auto;
  width: 260px;
  margin-top: 5px;
}

.iprouter .tunnels > div {
  float: left;
}

.iprouter .tunnels .traffic {
  width: 70px;
  height: 38px;
  text-align: right;
  font-size: 0.9em
}

.iprouter .tunnels .traffic > img {
  height: 12px;
  margin-left: 5px;
}

.iprouter .tunnels .tunnel {
  width: 30px;
  height: 30px;
  margin: 2px 5px 2px 5px;
  border: 2px solid #fff;
  background-color: #274381;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  border-radius: .5em;
  line-height: 28px;
  color: #fff;
}

.iprouter .tunnels .address {
  width: 140px;
  height: 38px;
  text-align: left;
  font-size: 0.9em;
}

.iprouter .version {
  width: 100%;
  position: absolute;
  bottom: 0;
  text-align: right;
  font-size: 0.8em;
  
}

.iprouter .version img {
	width: 0.8em;
}

/**
 * --- W i d g e t s :   I C O N ----------------------------------------------
 */
 
/** ------- icons: basic data for scalable icons */
.ui-icn {
	margin: 1px;
	padding: 0;
	display: inline-block;
	position: relative;
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
}
/** ----------------------------------------------------------------*/

svg.icon, .icon {
  vertical-align: middle;
  width: 48px;
  height: 48px;
}

svg.icon { 
  margin: 1px;
}

/** do not show hand on icon
svg.icon:hover {
  cursor: pointer;
}
*/

svg.icon text {
  font-size: 30px;
  font-weight: normal;
}

:not(.menu a).icon1 svg.icon, .icon2 svg.icon 
.icon3 svg.icon,.icon4 svg.icon,
.icon5 svg.icon{
  fill: inherit;
  stroke: inherit;
  color: inherit;
}

/** ------- icons: scalable icons ------*/
.ui-icn.ui-btn-inline.ui-micro .icon,
svg.icon.micro,
.icon.micro {
  width: 28px;
  height: 28px;
}

.absolutepos svg.icon.micro,
.absolutepos .icon.micro {
  margin-top: -14px;
  margin-left: -14px;
}
  
.ui-icn.ui-btn-inline.ui-mini .icon,
svg.icon.mini,
.icon.mini {
  width: 42px;
  height: 42px;	
}

.absolutepos svg.icon.mini,
.absolutepos .icon.mini {
  margin-top: -21px;
  margin-left: -21px;
}

.ui-icn.ui-btn-inline.ui-midi .icon,
svg.icon.midi,
.icon.midi {
  width: 56px;
  height: 56px;
}

.absolutepos svg.icon.midi,
.absolutepos .icon.midi {
  margin-top: -28px;
  margin-left: -28px;
}

/**
 * --- W i d g e t s :   L I B  ----------------------------------------------
 */
.supersize.icon {
	position:absolute; 
	width:3em; 
	height:auto; 
	top:0px; 
	right:0px;	
}
.overlay {
	position:absolute;
	padding: .5%;
	top:0px;
	left:0px;
	width:99%;
	height:100%;
	z-index:1000;
	display:none;
}
.mask {
	position: absolute;
	left: 0;
	top: 0;
	right:0;
	bottom: 0;
	width: 100%; 
	height: 100%;
	z-index: 900;
	display:none;
	background: rgba(0, 0, 0, 0.5);
	position: fixed; 
}
	
	
/**
 * --- W i d g e t s :   P O P U P  ----------------------------------------------
 */
.ext-popup .popup_table div.ui-slider {
   min-width: 200px;
   display: block;
   border: 0;
   padding: 5px 0px 2px 3px;
 }
 .ext-popup .popup_table div.switch {
   width: 35px;
   display: inline-block;
   border:0;
   /** height: 32px !important; */
 }

 .ext-popup .popup_table div.text {
   min-width: 50px;
   display: inline-block;
   border: 0;
   width: initial;
 }

 .ext-popup .popup_table div.linetext {
   min-width: 50px;
   display: inline-block;
   border: 0;
   width: initial;
 }

 .ext-popup .popup_table div.select {
   display: inline-block;
   border:0;
 }

 .ext-popup .popup_table div.header {
   text-align: center;
   border:0;
 }

 .ext-popup .popup_table div.slider {
   display: inline-block;
   border: 0;
   padding-bottom: 0px;
 }

 .ext-popup .popup_table div.flip {
   display: inline-block;
   border:0;
   padding-right: 5px;
 }

 .ext-popup .popup_table div.symbol {
   display: inline-block;
   border:0;
   padding-right: 5px;
 }

 .ext-popup .popup_table div.icon {
   display: inline-block;
   border:0;
   padding-right: 5px;
 }

 .ext-popup {
   min-width: 150px;
   max-width: 600px;
   padding: 5px;
 }

 .ext-popup.incl_uzsugraph {
   min-width: 500px;
   padding: 5px;
 }

 .ext-popup .uzsugraph {
   min-width: 490px;
   padding: 5px;
 }

 .popup_table {
     width: 100%;
     height: 100%;
     display: table;
     table-layout: fixed;
 }

 .popup_table > div {
     display: table-cell;
     /*margin-right: 1px;*/
     text-align: center;
     text-overflow: ellipsis;
     overflow: hidden;
     white-space: nowrap;
     /*height: 100%;*/
     border-width: 1px;
     border-style: solid;
     border-color: #777;
 }

 .popup_list li {
     box-sizing: border-box;
     /* height: 42px;
     line-height: 40px; */
     font-weight: normal;
 }

 .locks-popup {
     height: 36px;
     width: auto;
 }

 .popup_list .row_ext-popup {
   padding: 0;
   /* line-height: 42px;
   height: 42px; */
 }

 .popup_list .row_ext-popup .plot{
   padding: 0;
   line-height: 250px;
   height: 250px;
 }

 .popup_list svg.icon0, .popup_list svg.icon1, .popup_list img.icon {
     height: 30px;
     width: 30px;
     margin-top: -2px;
 }

 .popup_list .plot {
     height: 250px;
     line-height: 250px;
     width: 300px;
 }
 

/**
 * --- T e m p l a t e :   B A S E --------------------------------------------
 */
.base .primary {
  float: right;
  margin-right: 1%;
  padding-right: 1%;
  width: 60%;
}

.base .secondary {
  float: left;
  text-align: left;
  width: 35%;
}

/* some corrections for smaller displays */
@media all and (max-width: 767px) {
  .base .primary {
    width: 100%;
    float: inherit;
  }
}

/* uncomment if menu shall be displayed below the room pages
  .base .secondary {
    width: 100%;
  }  */



/**
 * --- C o n f i g   P a g e --------------------------------------------
 */
.ui-help-container {
}
.ui-help-container .ui-select,
.ui-help-container .ui-input-text {
  margin: 0 2em 0 0;
}
.ui-help-container .ui-help-icon {
  float: right;
  padding-top: .2em;
}
.ui-help-container .ui-help-icon img.icon1,
.ui-help-container .ui-help-icon svg.icon1 {
  width: 2em;
  height: 2em;
  margin: 0px;
}

@media (min-width: 28em) {
  #config .ui-field-contain > label .ui-controlgroup-controls {
    width: 100%;
    margin-top: -.5em;
  }
}
#config .block .ui-collapsible-content {
  padding-top: 0;
  padding-bottom: 0;
}
#config .block .ui-field-contain {
  margin: .2em 0;
}
#config .ui-field-contain .ui-flipswitch {
  margin: 0;
}
/*
#config .ui-field-contain > label .ui-controlgroup-controls .ui-checkbox {
  width: 100%;
}
*/
#config .ui-field-contain > label {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: normal;
}
#config .ui-field-contain > label.ui-btn {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
#config .ui-checkbox.ui-state-disabled {
  opacity: .9;
}
#config .ui-checkbox.ui-state-disabled .ui-checkbox-off {
  opacity: .3;
}
