/* version 1.4 */

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  cursor:pointer;
}

:focus {outline:none;}
::-moz-focus-inner {border:0;}
:-moz-ui-invalid:not(output) {box-shadow:none;}


.splash {
  display:block;
  position:absolute;
  left:calc(50% - 328px);
  top:calc(50% - 189px);
  width:656px;
  height:378px;
  padding:8px;
  background:#fff;
  border:1px solid #ccc;
  z-index:9000;
font-family:RobotoCondensed,'Arial Narrow',Helvetica,sans-serif;
}
@media (pointer:none), (pointer:coarse) {
  .splash {
    display: none;
  }
}
.splash_img {
  width:100%;
  height:220px;
  position: relative;
}
.splash_img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('/img/sky_220.gif') top left no-repeat;
}
.splash_inf {
  width:100%;
  height:100%;
  position: absolute;
  left: 0;
  top: 0;
}
.splash_ver {
position: absolute;
bottom:12px;
right:14px;
font-size: 1.2rem;
font-weight: 500;
color: #999;
}
@media (max-width: 660px) {
  .splash {display:none}
}



/* menu__button */
button.app-menu__button {
display: block;
position: absolute;
right: -12px;
width: 22px;
margin: 7px 0 0;
background: none;
border: none;
cursor: pointer;
padding: 0;
}
@media (pointer:none), (pointer:coarse) {
  button.app-menu__button {
    /* display: none; */
    right: -28px;
  }
}


button.app-menu__button:hover:not(.is-expanded) .app-icon__component:first-child, .startAnim {
  -webkit-animation: moshpit-1 0.25s ease-in-out infinite alternate;
          animation: moshpit-1 0.25s ease-in-out infinite alternate;
}
button.app-menu__button:hover:not(.is-expanded) .app-icon__component:nth-child(3), .startAnim {
  -webkit-animation: moshpit-2 0.25s ease-in-out infinite alternate;
          animation: moshpit-2 0.25s ease-in-out infinite alternate;
}
button.app-menu__button:hover:not(.is-expanded) .app-icon__component:nth-child(7), .startAnim {
  -webkit-animation: moshpit-3 0.25s ease-in-out infinite alternate;
          animation: moshpit-3 0.25s ease-in-out infinite alternate;
}
button.app-menu__button:hover:not(.is-expanded) .app-icon__component:nth-child(9), .startAnim {
  -webkit-animation: moshpit-4 0.25s ease-in-out infinite alternate;
          animation: moshpit-4 0.25s ease-in-out infinite alternate;
}

button.app-menu__button .app-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 0 0 0px;
  padding: 0;
  background: none;
  border: none;
}
button.app-menu__button .app-icon .app-icon__component {
  display: inline-block;
  position: absolute;
  width: 4px;
  height: 4px;
  background: #7a9ab6;
  border-radius: 100%;
  -webkit-transition: background 0.2s ease-out, -webkit-transform 0.2s ease-out;
  transition: background 0.2s ease-out, -webkit-transform 0.2s ease-out;
  transition: transform 0.2s ease-out, background 0.2s ease-out;
  transition: transform 0.2s ease-out, background 0.2s ease-out, -webkit-transform 0.2s ease-out;
}
button.app-menu__button .app-icon .app-icon__component:first-child {
  top: 2px;
  left: 2px;
}
button.app-menu__button .app-icon .app-icon__component:nth-child(2) {
  top: 2px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -webkit-transform: translate3d(-50%, 0, 0);
  transform: translate(-50%, 0);
  transform: translate3d(-50%, 0, 0);
}
button.app-menu__button .app-icon .app-icon__component:nth-child(3) {
  top: 2px;
  right: 2px;
}
button.app-menu__button .app-icon .app-icon__component:nth-child(4) {
  top: 50%;
  left: 2px;
  -webkit-transform: translate(0, -50%);
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate(0, -50%);
  transform: translate3d(0, -50%, 0);
}
button.app-menu__button .app-icon .app-icon__component:nth-child(5) {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate(-50%, -50%);
  transform: translate3d(-50%, -50%, 0);
}
button.app-menu__button .app-icon .app-icon__component:nth-child(6) {
  top: 50%;
  right: 2px;
  -webkit-transform: translate(0, -50%);
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate(0, -50%);
  transform: translate3d(0, -50%, 0);
}
button.app-menu__button .app-icon .app-icon__component:nth-child(7) {
  bottom: 2px;
  left: 2px;
}
button.app-menu__button .app-icon .app-icon__component:nth-child(8) {
  bottom: 2px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  -webkit-transform: translate3d(-50%, 0, 0);
  transform: translate(-50%, 0);
  transform: translate3d(-50%, 0, 0);
}
button.app-menu__button .app-icon .app-icon__component:nth-child(9) {
  bottom: 2px;
  right: 2px;
}

button.app-menu__button.is-expanded .app-icon__component {
  /* background: #7a9ab6cc; */
  background: rgba(122, 154, 182, 0.8);
}
button.app-menu__button.is-expanded .app-icon__component:first-child {
  -webkit-transform: translate(3px, 3px) scale(1);
          transform: translate(3px, 3px) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(2) {
  -webkit-transform: translate(calc(-50% - 9px), -1px) scale(1);
          transform: translate(calc(-50% - 9px), -1px) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(3) {
  -webkit-transform: translate(-3px, 3px) scale(1);
          transform: translate(-3px, 3px) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(4) {
  -webkit-transform: translate(-2px, calc(-50% + 8px)) scale(1);
          transform: translate(-2px, calc(-50% + 8px)) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(5) {
  -webkit-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(6) {
  -webkit-transform: translate(2px, calc(-50% - 8px)) scale(1);
          transform: translate(2px, calc(-50% - 8px)) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(7) {
  -webkit-transform: translate(3px, -3px) scale(1);
          transform: translate(3px, -3px) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(8) {
  -webkit-transform: translate(calc(-50% + 9px), 1px) scale(1);
          transform: translate(calc(-50% + 9px), 1px) scale(1);
}
button.app-menu__button.is-expanded .app-icon__component:nth-child(9) {
  -webkit-transform: translate(-3px, -3px) scale(1);
          transform: translate(-3px, -3px) scale(1);
}

@-webkit-keyframes moshpit-1 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(-2px, -2px);
    -webkit-transform: translate3d(-2px, -2px, 0);
    transform: translate(-2px, -2px);
    transform: translate3d(-2px, -2px, 0);
  }
}
@keyframes moshpit-1 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(-2px, -2px);
    -webkit-transform: translate3d(-2px, -2px, 0);
    transform: translate(-2px, -2px);
    transform: translate3d(-2px, -2px, 0);
  }
}

@-webkit-keyframes moshpit-2 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(2px, -2px);
    -webkit-transform: translate3d(2px, -2px, 0);
    transform: translate(2px, -2px);
    transform: translate3d(2px, -2px, 0);
  }
}
@keyframes moshpit-2 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(2px, -2px);
    -webkit-transform: translate3d(2px, -2px, 0);
    transform: translate(2px, -2px);
    transform: translate3d(2px, -2px, 0);
  }
}

@-webkit-keyframes moshpit-3 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(-2px, 2px);
    -webkit-transform: translate3d(-2px, 2px, 0);
    transform: translate(-2px, 2px);
    transform: translate3d(-2px, 2px, 0);
  }
}
@keyframes moshpit-3 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(-2px, 2px);
    -webkit-transform: translate3d(-2px, 2px, 0);
    transform: translate(-2px, 2px);
    transform: translate3d(-2px, 2px, 0);
  }
}

@-webkit-keyframes moshpit-4 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(2px, 2px);
    -webkit-transform: translate3d(2px, 2px, 0);
    transform: translate(2px, 2px);
    transform: translate3d(2px, 2px, 0);
  }
}
@keyframes moshpit-4 {
  from {
    -webkit-transform: translate(0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate(0, 0);
    transform: translate3d(0, 0, 0);
  } to {
    -webkit-transform: translate(2px, 2px);
    -webkit-transform: translate3d(2px, 2px, 0);
    transform: translate(2px, 2px);
    transform: translate3d(2px, 2px, 0);
  }
}



.menu-container {
  margin: 0px;
  position:absolute;
  width: 250px;
  left: -234px;
  top:0;
  bottom:0;
  transition: all 0.5s ease;
  box-sizing: content-box;
  font-family:RobotoCondensed,'Arial Narrow',Helvetica,sans-serif;
z-index:1000;
}
.menu-container.menu-container-open {
  left:0;
}

.hide-scroll {
  overflow: hidden;
  margin: 0px;
  width: 100%;
  height:calc(100% - 30px);
  box-sizing: content-box;
}
.viewport {
  width: 100%;
  overflow: auto;
  height: 100%;
  padding-right: 17px;
  box-sizing: content-box;
}

.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: calc(100% + 1px);
  background-color: #145286;
  font-size: .75rem;
  }
  .sidebar-menu > li {
    position: relative;
    margin: 0;
    padding: 0; }
    .sidebar-menu > li > a {
      padding: 8px 5px 8px 5px;
      display: block;
      border-left: 2px solid transparent;
      color: #b8c7ce;
      font-size: .9rem;
      text-transform: uppercase;
    }
    .sidebar-menu > li:hover > a,
    .sidebar-menu > li.active > a {
      color: #fff;
      background-color: rgba(0, 105, 192, 0.8);
    }
    .sidebar-menu > li.active > a {
      border-left-color:#ffbf25; /* #4dbdff */
    }
    .sidebar-menu > li .label {
/*    margin-top: 3px;
      margin-right: 5px;  */
      vertical-align:middle;
    }
  .sidebar-menu li.sidebar-header {
    padding: 12px 8px 10px 8px;
    font-size: .75rem;
    color:#ffbf25; /* #87d9ff */
    background: #122f3e;
  }
  .sidebar-menu li.sidebar-label {
    margin-top: 6px;
    padding: 12px 8px 10px 8px;
    font-size: 12px;
    color: #afe6ff;
    background: rgba(18, 47, 62, 0.5);
  }
  .sidebar-menu li.sidebar-header .info {
    display:none;
    color: #fff;
    line-height: 200%;
    list-style: none;
    margin: 10px 0 0;
    padding: 2px 6px;
  }
  .sidebar-menu li.sidebar-header .info dt {
    padding-left:2em;
    text-indent:-2em;
  }

  .sidebar-menu li.sidebar-header .info dt::before {color: #afe6ff;}
  .sidebar-menu li.sidebar-header .info dt.info-serverTZ::before {content:'Сърверна TZ: '}
  .sidebar-menu li.sidebar-header .info dt.info-servTime::before {content:'Сърверно време: '}
  .sidebar-menu li.sidebar-header .info dt.info-localTZ::before {content:'Локална TZ: '}
  .sidebar-menu li.sidebar-header .info dt.info-localTime::before {content:'Локално време: '}
  .sidebar-menu li.sidebar-header .info dt.info-ver::before {content:'Версия: '}
  .sidebar-menu li.sidebar-header .info dt.info-last::before {content:'Промяна на: '}
  .sidebar-menu li.sidebar-header .info dt.info-user::before {content:'Потребител: '}
  .sidebar-menu li.sidebar-header .info dt.info-name::before {content:'Име: '}
  .sidebar-menu li.sidebar-header .info dt.info-permit::before {content:'Ниво на достъп: '}

  .sidebar-menu li.active > .sidebar-submenu {
    display: block;
  }
  .sidebar-menu a {
    color: #b8c7ce;
    text-decoration: none;
  }
  .sidebar-menu .sidebar-submenu {
    display: none;
    list-style: none;
    padding-left: 12px;
    margin: 0 1px;
    background-color: #145286;
    border-left: 1px solid #0070cce6;
    }
    .sidebar-menu .sidebar-submenu .sidebar-submenu {
      padding-left: 12px;
    }
    .sidebar-menu .sidebar-submenu > li > a {
      padding: 5px 3px 5px 3px;
      display: block;
      font-size: .9rem;
      color: #b8c7ce;
    }
    .sidebar-menu .sidebar-submenu > li.active > a,
    .sidebar-menu .sidebar-submenu > li > a:hover {
      color: #fff;
    }

.sidebar-menu li > a::before{
  content: '';
  /* margin-right: 12px; */
}
.sidebar-menu li > a.caret::before{
  content: '';
  display: inline-block;
  width: auto;
  height: auto;
  vertical-align:top;
  margin-right: 4px;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
.sidebar-menu li > a.caret::before {
  margin-top: 7px;
  transform-origin: center center;
}
.sidebar-menu li.active > a.caret::before {
  margin-top: 6px;
  transform: rotate(180deg);
}



.viewport .stickbott {
height:30px;
width:calc(100% - 16px);
background-color:#122f3e;
padding:5px 5px;
display: flex;
justify-content:space-between;
justify-content:space-evenly;
}
.viewport .stickbott::before,
.viewport .stickbott::after {
  content: '';
  display: block;
  width: 2px;
}



.stickbott {
position:absolute;
bottom:0;
left: 0;
}



.menuicon {
  display: inline-block;
  width: 20px;
  height: 20px;
  cursor: pointer;
  fill:rgba(255,255,255,0.9);
}
.menuicon:hover {
  fill:#fff;
}

.opticon {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-top:6px;
  cursor: pointer;
  fill:rgba(0, 0, 0, 0.6);
}
.opticon:hover {
  fill:#000;
}


.cogicon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin:0 2px -1px;
  /* stroke-width:0; */
  /* stroke:#000; */
  fill:#000;
}

.menuicopt {
  display: inline-block;
  float: right;
  width: 20px;
  height: 20px;
  margin-right:6px;
  margin-top: 4px;
  cursor: pointer;
  stroke-width: 0;
  stroke:#fff;
  fill:#fff;
}
.menuicopt:hover {
  stroke-width: 1;
}


symbol rect {
  fill-opacity:0;
  stroke-opacity:0;
}
.begicon {
  display: inline-block;
  width: 16px;
  height: 16px;
  cursor: pointer;
  fill:#000;
  vertical-align: middle;
}
.begicon:hover {
  width: 18px;
  height: 18px;
}


/* sideoptions */
.sideoptions {
font-family:RobotoCondensed,'Arial Narrow',Helvetica,sans-serif;
font-size:.85rem;
text-align:center;
display:none;
position:absolute;
top:0px;
/* left:234px; */
height:100%;
max-height:100%;
min-width:240px;
background:#fff;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
line-height:140%;
z-index:1100;
padding: 0 6px;
}
.opthead {
margin:4px auto;
padding:3px 4px 4px;
cursor:move;
background:url(images/bg2diag.gif) repeat #f0f0f0;
color: #888;
font-size: .92rem;
font-weight:500;
}
.optheadtext {
display:inline;
font-size:.9rem;
font-weight:500;
font-size-adjust: 0.538;
color:#888; /* #207db5; */
}

.optscroll {
overflow-x:hidden;
overflow-y:auto;
height: calc(100% - 75px);
padding:0 16px 0;
}
.sideoptions .optcontain {
display:flex;
flex-direction:column;
flex-wrap:nowrap;
justify-content:space-between;
justify-content:space-evenly;
align-items:center;
height: 100%;
min-height:400px;
}
/* .sideoptions .optcontain::before, */
.sideoptions .optcontain::after {
  content: '';
  display: block;
  height: 2px;
}
.optitem {
  display:none;
}
.optitem::before {
  content: '';
  display: block;
  height: 12px;
}

.sideoptions .stickbott {
min-height:42px;
width:100%;
border-top:1px solid #ccc;
padding:5px 5px 4px;
display: flex;
justify-content:space-between;
justify-content: space-evenly;
background-color: #f8f8f8;
}
.sideoptions .stickbott::before,
.sideoptions .stickbott::after {
  content: '';
  display: block;
  width: 2px;
}

.sideoptions label {
  font-size:.9rem;
  font-weight:400;
  padding-bottom:6px;
}



/* bootstrap */
.side-label {
margin-top:4px;
padding:0 4px 2px;
font-size:.7rem;
font-weight:400;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
border-radius: .25em;
}
.label-ok {background-color: #008000;}
.label-info {background-color: #5bc0de;}
.label-primary {background-color: #337ab7;}
.label-warning {background-color: #f0ad4e;}
.label-danger {background-color: #d9534f;}

.pull-right {float: right;}
.pull-left {float: left;}


span.explain {
color: #007171;
line-height: 1.2rem;
display: inline-block;
padding: 0 0 12px;
font-size: .82rem;
}