@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap");



@font-face {
    font-family: 'Bebas Neue';
    src: local('fonts/bebas Neue Thin'), local('BebasNeue-Thin'), url('fonts/bebasneuethin.woff2') format('woff2'), url('fonts/bebasneuethin.woff') format('woff'), url('fonts/bebasneuethin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue Light'), local('BebasNeue-Light'), url('fonts/bebasneuelight.woff2') format('woff2'), url('fonts/bebasneuelight.woff') format('woff'), url('fonts/bebasneuelight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue Book'), local('BebasNeueBook'), url('fonts/bebasneuebook.woff2') format('woff2'), url('fonts/bebasneuebook.woff') format('woff'), url('fonts/bebasneuebook.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue Regular'), local('BebasNeueRegular'), url('fonts/bebasneueregular.woff2') format('woff2'), url('fonts/bebasneueregular.woff') format('woff'), url('fonts/bebasneueregular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Bebas Neue';
    src: local('Bebas Neue Bold'), local('BebasNeueBold'), url('fonts/bebasneuebold.woff2') format('woff2'), url('fonts/bebasneuebold.woff') format('woff'), url('fonts/bebasneuebold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


:root {
  --delay: 0s;
}

* {
  outline: none;
  box-sizing: border-box;
    x-font-family: 'Bebas Neue';
}

.hidden {
  display: none !important;
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

img {
  x_max-width: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #252954;
  x-color: #9b9ca7;
	padding: 0px;
	margin: 0px;
}

.wrapper {
  xmax-width: 1600px;
  background-color: #b9bfc7;
  x-background-color: #0e0e23;
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin: 0 auto;
}

.left-side {
  width: 6rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  padding: 117px 0 40px;
  -webkit-animation: left 1s var(--delay) both;
          animation: left 1s var(--delay) both;
}
.left-side svg {
  width: 24px;
  cursor: pointer;
}
.left-side svg + svg {
  margin-top: 34px;
}
.left-side svg:last-child {
  margin-top: auto;
}
.left-side svg.active, .left-side svg:hover {
  color: #4255d4;
}

@-webkit-keyframes left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes left {
  0% {
    transform: translateX(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@-webkit-keyframes top {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes top {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.main-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0px 25px 25px 30px;
  overflow: hidden;
}

.header {
  background: #ddd;
  box-shadow: 0 16px 12px #666;
  width: 100%;
  padding: 0 30px;
  -webkit-animation: top 1s both;
          animation: top 1s both;
  display: flex;
  align-items: center;
  border-radius: 6px;
  font-size: 15px;
  white-space: nowrap;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
	height: 60px;
}
.header:x-before {
  content: "";
  width: 100%;
  height: 25px;
  position: absolute;
  top: -25px;
  left: 0;
  background-color: #0e0e23;
}
.header-link {
  color: #000;
  text-decoration: none;
  x_display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
}
.header-link svg {
  width: 20px;
  margin-right: 14px;
}
.header-link.active, .header-link:hover {
  background: #fff;
	color: #000;
  border-bottom: 3px solid #4255d4;
}

.logo {
  padding: 17px 30px 17px 0;
  font-size: 16px;
  color: #e7e8ea;
	height: 60px;
}
.logo-det {
  background: #4255d4;
  padding: 8px;
  margin-left: -2px;
  border-radius: 50%;
  font-size: 15px;
}

.user-info {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.user-info svg {
  width: 20px;
}
.user-info .profile {
  margin: 0 10px 0 12px;
  width: 18px;
}

.user-name {
  margin: 0 20px 0 0px;
	color: #000;
}

inlut.button,
.button, 
.button2 {
  display: inline-block;
  align-items: center;
  color: #fff;
  background: #88a;
  border: none;
  padding: 10px 30px;
  x-padding: 2px 12px;
  border-radius: 4px;
  x-margin-right: 20px;
  text-decoration: none;
	font-size: 14px;
	cursor: pointer;
}

.big
{
	font-size: 26px;
}

inlut.button:hover,
.button:hover,
.button2:hover
{
  background: #446;
}


.button2
{
  padding: 10px;
	display: inline-block;
}

.button svg {
  margin-left: 10px;
  width: 16px;
}

.user-box {
	margin: 0px;
    width: 100%;
    display: inline-block;
}

.user-box + .user-box {
  margin-top: 20px;
}
.user-box + .user-box .cards-wrapper {
  margin-right: 20px;
  margin-left: 0;
  flex-grow: 1;
  max-width: none;
}
.user-box + .user-box .today {
  margin-left: 30px;
}
.user-box + .user-box .cards-header {
  padding: 20px 30px;
  justify-content: space-between;
}
.user-box .cards-header,
.user-box .cards-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.user-box .cards-header svg,
.user-box .cards-view svg {
  width: 24px;
}
.user-box .cards-header .title,
.user-box .cards-view .title {
  margin: 0 16px;
  font-size: 15px;
}
.user-box .cards-header-date svg,
.user-box .cards-view-date svg {
  width: 30px;
}
.user-box .cards-header .cards-button,
.user-box .cards-view .cards-button {
  x-background: #15193c;
  x-padding: 10px 16px;
    padding: 8px 15px 8px 15px;
  margin-right: 0;
}
.user-box .cards-header .cards-button svg,
.user-box .cards-view .cards-button svg {
  width: 16px;
  margin: 0 2px 0 0;
}
.user-box .cards-header .date-wrapper,
.user-box .cards-view .date-wrapper {
  display: flex;
  align-items: center;
  margin: auto;
}
.user-box .cards-header .date-wrapper .title,
.user-box .cards-view .date-wrapper .title {
  margin: 0 16px;
}

.cards-view > svg {
  margin-right: 12px;
}

.today {
  position: relative;
}
.today:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #ef415c;
  bottom: -8px;
  right: 50%;
  border-radius: 50%;
}

.card {
  background: #fff;
  x-background: #1a2049;
  x-background: radial-gradient(circle, #1a2049 0%, #13162f 100%);
  padding: 25px 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  x-max-height: 430px;
  width: 100%;
}
.card .title {
  font-size: 16px;
  font-weight: 500;
    border-bottom: solid 2px #ddd;
    padding-bottom: 10px;
}
.card .subtitle {
  font-size: 13px;
  line-height: 1.6em;
}
.card + .card {
  margin-left: 20px;
}

.activity {
  max-width: 33%;
}
.activity .title {
  margin-bottom: 20px;
}
.activity-links {
  display: flex;
  align-items: center;
  margin-top: auto;
  font-size: 15px;
}
.activity-link {
  padding-bottom: 10px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}
.activity-link + .activity-link {
  margin-left: 25px;
}
.activity-link + .activity-link:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: #ef415c;
  top: -2px;
  right: -8px;
  border-radius: 50%;
}
.activity-link + .activity-link:hover:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #4255d4;
  left: 0;
  bottom: 0;
}
.activity-link + .activity-link:hover {
  color: #bebec4;
  -webkit-text-stroke: 0.3px;
}
.activity-link.active {
  color: #bebec4;
  font-weight: 500;
}
.activity-link.active:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: #4255d4;
  left: 0;
  bottom: 0;
}

.destination {
  display: flex;
  align-items: center;
  margin-top: auto;
}
.destination-card {
  background: #1a1d3a;
  background: linear-gradient(45deg, #1a1d3a 0%, #212752 100%);
  padding: 20px;
  width: 100%;
  border-radius: 6px;
}
.destination-card + .destination-card {
  margin-left: 20px;
  background: #1a1d3a;
  background: linear-gradient(325deg, #1a1d3a 0%, #212752 100%);
}
.destination-profile {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.destination-profile svg {
  width: 18px;
  flex-shrink: 0;
  margin-right: 8px;
}
.destination-length {
  margin-left: auto;
  display: flex;
  align-items: center;
  font-size: 13px;
}
.destination-points {
  margin-top: 30px;
}

.profile-img {
  width: 46px;
  height: 46px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  padding: 2px;
  border: 1px solid #bebec4;
  flex-shrink: 0;
}

.point {
  font-size: 14px;
  color: #bebec4;
  font-weight: 500;
}

.sub-point {
  font-size: 13px;
  margin-top: 4px;
}

.discount {
  max-width: 33%;
  width: 100%;
}
.discount .title {
  margin-bottom: 30px;
}
.discount .subtitle {
  margin-bottom: 8px;
}
.discount .subtitle-count {
  font-size: 17px;
  color: #17a98a;
  font-weight: 500;
}
.discount .subtitle-count + .subtitle {
  margin-top: 20px;
}
.discount .subtitle-count.dist {
  color: #e85471;
}
.discount-wrapper {
  display: flex;
}
.discount-chart {
  margin-left: auto;
}
.discount-profile {
  display: flex;
  align-items: center;
  margin-top: 40px;
}
.discount-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  margin: 0 16px 0 12px;
}
.discount-name {
  font-weight: 500;
  font-size: 15px;
}
.discount-type {
  font-size: 13px;
  margin-top: 4px;
}

.circle {
  width: 100px;
  height: 100px;
  border: 3px solid #5b5f78;
  border-radius: 50%;
  position: relative;
}

.pie {
  position: relative;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.pie svg circle {
  fill: transparent;
  stroke: #4356d6;
  stroke-width: 14;
  stroke-dasharray: 275;
  stroke-dashoffset: 235;
  -webkit-animation: pieChart 3.8s linear forwards;
          animation: pieChart 3.8s linear forwards;
}

@-webkit-keyframes pieChart {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes pieChart {
  100% {
    stroke-dashoffset: 0;
  }
}
.counter {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #3e50c5;
  font-weight: 500;
}

.offer-button {
  background: #4255d4;
  padding: 14px;
  text-align: center;
  justify-content: center;
  margin-top: auto;
  margin-right: 0;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.cards-header {
  background: #d0d7e3;
  x-background: #10122b;
  border-radius: 6px 6px 0 0;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
}
.cards-header-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cards-header-date svg {
  color: #4154d1;
  background: #14183c;
  border-radius: 50%;
  padding: 5px;
  width: 30px;
}
.cards-wrapper {
  x_margin-left: 20px;
  x-max-width: 305px;
  x_max-width: 33%;
  width: 100%;
	position: relative;
}
.cards-hour {
  font-size: 26px;
}
.cards-hour .am-pm {
  font-size: 15px;
  font-weight: 500;
}
.cards.card {
  border-radius: 0 0 6px 6px;
  padding: 10px 20px 10px 20px;
}
.cards.card svg {
  width: 24px;
  margin-left: auto;
  color: #818394;
}
.cards-head {
  display: flex;
  align-items: center;
}
.degree {
  margin-top: 10px;
  font-size: 13px;
  display: flex;
  align-items: center;
  color: #818394;
  font-weight: 500;
}
.degree svg {
  width: 24px;
  margin-right: 12px;
}

.items {
  display: flex;
  flex-wrap: wrap;
  x-margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
}
.items.numbers {
  margin-top: 0;
}

.item {
  flex: 0 1 calc(100% / 7);
  padding: 10px 5px;
  text-align: center;
}
.item.is-active {
  background: #4255d4;
  border-radius: 50%;
  color: #fff;
}
.item.disable {
  color: #595b5b;
}

.account {
  width: 100%;
  height: 180px;
  margin-top: auto;
  flex-grow: 0;
  position: relative;
  transition: 0.3s;
  cursor: pointer;
  transition: 0.3s;
}
.account:hover {
  transform: scale(1.02);
}
.account:before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  box-shadow: -15px 0 0 0 #ef8741;
  background: #ef415c;
  top: 20px;
  left: 42px;
  border-radius: 50%;
}
.account-wrapper {
  max-width: 310px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
  align-items: center;
}
.account-profile {
  margin: auto;
  position: relative;
  text-align: center;
  position: relative;
}
.account-profile img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: left;
     object-position: left;
  border: 3px solid #4255d3;
  padding: 5px;
}
.account-profile .blob {
  position: absolute;
  border-radius: 50%;
  -webkit-animation: fly 5.8s linear infinite alternate;
          animation: fly 5.8s linear infinite alternate;
}
.account-profile .blob:nth-child(1) {
  width: 14px;
  height: 14px;
  top: 25px;
  left: -20px;
  background: #28327a;
  -webkit-animation-delay: 0.9s;
          animation-delay: 0.9s;
}
.account-profile .blob:nth-child(2) {
  width: 18px;
  height: 18px;
  background: #87344c;
  right: -20px;
  top: -20px;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.account-profile .blob:nth-child(3) {
  width: 12px;
  height: 12px;
  background: #13645b;
  right: -35px;
  top: 50%;
  -webkit-animation-delay: 1.8s;
          animation-delay: 1.8s;
}
.account-name {
  margin: 20px 0 10px;
}
.account-title {
  font-size: 14px;
}
.account-cash {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 6px;
  padding-top: 16px;
  position: relative;
}
.account-cash:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: #9b9ca7;
  right: 10px;
  border-radius: 50%;
  box-shadow: -10px 0 0 0 #9b9ca7, 10px 0 0 0 #9b9ca7;
  top: 24px;
}
.account-income {
  font-size: 14px;
}
.account-iban {
  margin-top: auto;
  font-weight: 500;
}

.time,
.time_on
{
  height: 24px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #9e5924;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  width: 100%;
}
.time.is-wait {
  background: #4255d3;
}


.offline, 
.online,
.time2,
.time3
{
  height: 24px;
  padding: 4px 20px;
  border-radius: 4px;
  background-color: #393;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
	line-height: 24px;
}

.time3,
.offline 
{
	background: #ad8686;
}

.time2,
.online 
{
	background: #000;
}


.offline::before
{ 
	content: "Нет связи";
}

.online::before
{ 
	content: "Подключено";
}


a.time_on,
a.time:hover
{
  background-color: #4255d4;
}


.table .status {
  color: #1aa385;
  display: inline-flex;
  align-items: center;
}
.table .status svg {
  margin-right: 6px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 4px;
  background-color: #ddd;
  color: currentColor;
}
.table .status.is-red {
  color: #d14b69;
}
.table .status.is-red svg {
  background: #ddd;
  color: currentcolor;
}
.table .status.is-wait {
  color: #000;
  position: relative;
}
.table .status.is-wait:before {
  width: 22px;
  height: 22px;
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  background: #ddd;
  border-radius: 4px;
}
svg.status.is-wait,
.status.is-wait svg,
.table .status.is-wait svg {
  background-color: transparent;
  color: currentcolor;
  -webkit-animation: turn 2s linear infinite both;
          animation: turn 2s linear infinite both;
}

@-webkit-keyframes turn {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes turn {
  100% {
    transform: rotate(1turn);
  }
}
.table {
  text-align: left;
  padding: 0;
}
.table th {
  font-size: 14px;
  font-weight: normal;
  padding-bottom: 16px;
}
.table th:nth-child(n+5) {
  x-padding: 0 10px 16px;
}
.table th:first-child {
  x_padding-left: 36px;
}
.table td {
  font-size: 15px;
  vertical-align: middle;
  padding: 5px;
}

#nodes_tbody td
{
  padding: 0px 5px;
}

.table td:last-of-type {
  x_width: 100px;
}
.table td:nth-child(n+5) {
  x-padding: 0 10px;
}
.table td:nth-last-of-type(2) svg {
  width: 16px;
}
.table input2 {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #9b9ca7;
  vertical-align: middle;
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 16px;
  transition: 0.25s;
  background-size: 0;
  background-position: center;
}

.table input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.table input:checked {
  x_background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  x-background-color: #252954;
  background-size: 12px;
  background-repeat: no-repeat;
}

@-webkit-keyframes fly {
  40% {
    transform: translate(-6px, -6px);
  }
  60% {
    transform: translate(-12px, -2px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes fly {
  40% {
    transform: translate(-6px, -6px);
  }
  60% {
    transform: translate(-12px, -2px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
.transection {
  flex-shrink: 0;
  max-width: 310px;
  width: 100%;
  margin-left: 20px;
}
.transection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
}
.transection .is-wait {
  color: #3E4EC2;
}

.credit-wrapper {
  margin-top: auto;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.credit-wrapper svg {
  width: 38px;
  padding: 3px;
  border-radius: 6px;
  margin-right: 12px;
}
.credit-wrapper path {
  width: 24px;
}
.credit-money {
  margin-left: auto;
}
.credit-money.is-active {
  color: #1aa385;
}
.credit-money.is-cancel {
  color: #d14b69;
}
.credit-money .is-wait {
  color: #3E4EC2;
}
.credit-status {
  font-size: 13px;
  font-weight: normal;
}
.credit-type {
  color: #e7e8ea;
  margin-bottom: 6px;
}

@media screen and (max-width: 1500px) {
  .wrapper {
    x-max-width: 1200px;
  }

  .activity {
    width: 49%;
    max-width: none;
  }

  .discount {
    width: 48%;
    max-width: none;
    height: 100%;
  }

  .first-box {
    flex-wrap: wrap;
  }
  .first-box .cards-wrapper {
    width: 67%;
    max-width: none;
    margin: 20px 0;
  }
  .first-box .cards-wrapper .item.is-active {
    background: none;
    color: inherit;
  }
  .first-box .account-wrapper {
    max-width: none;
    width: calc(33% - 20px);
    margin: 20px 0 20px 20px;
  }

  .second-box {
    flex-wrap: wrap;
  }
  .second-box .cards-wrapper {
    x_margin-top: 40px;
    x_width: 66%;
  }

  .transection {
    margin-top: 40px;
    max-width: none;
    width: 30%;
  }
}

@media screen and (max-width: 1020px) {

  .cards-header-date {
    margin: auto;
  }
}
@media screen and (max-width: 930px) {
  .second-box .cards-wrapper {
    width: 100%;
  }

  .transection {
    width: 100%;
    margin-left: 0;
    height: 100%;
    margin-top: 20px;
  }

  .user-info .profile {
    margin-right: 0;
  }
}
@media screen and (max-width: 850px) {
  .activity-card,
.discount {
    width: 100%;
  }

  .user-box .discount {
    margin-left: 0;
    margin-top: 20px;
  }

  .main-container {
    padding-left: 25px;
  }

  .activity-links,
.destination {
    margin-top: 20px;
  }
}
@media screen and (max-width: 720px) {

  .first-box .cards-wrapper {
    width: 100%;
  }

  .second-box .cards.card {
    x_overflow-y: auto;
  }
}
@media screen and (max-width: 420px) {



.cards.card {
    padding: 30px 0px;
}

}




.user-box > * {
  -webkit-animation: top 1s var(--delay) both;
          animation: top 1s var(--delay) both;
}






.cards-wrapper.activ 
{
	width: 30%;
	max-width: 33 !important;
	margin-right: 20px !important; 
	
}
.cards-wrapper.activ:last-child 
{
	x-margin-right: 0px !important; 
	
}


.innerRow
{
	padding: 5px;
}

.innerRow span
{
	width:30px;
	text-align: center;
	display:inline-block;
}

.innerRow .button
{
	width:90px;
	display:inline-block;
	margin-left: 10px;
	font-size: 14px;
}


.line,
input.line,
select.line,
input.line0,
select.line0
{
	border: none;
	x-border-bottom: solid 1px #bbb;
	width: 100%;
	background: #f9f9f9;
	padding: 5px;
}

.line0,
input.line0,
select.line0
{
	border: none;
	background: transparent;
	text-align: right;
}

select.line option,
select.line0 option
{
	font-family: monospace;
}

.btm2
{
	margin-bottom: 2px;
}

.table td.vt
{
	vertical-align: top;
	padding-top: 10px;
}

a.w90
{
    xwidth: 90px;
    padding: 8px 10px 10px 10px;
	text-align: center;
}

input.w130,
select.w130
{
    width: 130px;
}

a.red
{
	background: #d00;
}

a.red2
{
	background: transparent;
	color: #d00;
    x-border: solid 1px #d00;
    padding: 5px 8px;
}

a.red2:hover
{
	background: #d00;
	color: #fff;
}

.add,
a.add
{
    padding: 0px 8px 3px 8px !important;
    font-size: 24px;
}

a.blue2,
a.blue2rot
{
	background: transparent;
	color: #4255d4;
    border: solid 1px #4255d4;
    padding: 5px 8px;
	transform: rotate(0deg);
	transition: all ease .5s;
}

a.blue2rot
{
	transform: rotate(180deg);
	transition: all ease .5s;
}

a.blue2:hover,
a.blue2rot:hover
{
	background: #4255d4;
	color: #fff;
}


a.right
{
	padding: 1px 8px 3px 7px;
    text-align: center;
    float: right;
    font-size: 20px;
}

a.right2
{
	float: right;
	margin-top: -5px;
	font-size: 14px;
}

.rooms_div,
.rooms_div div
{
	background: #fff;
	padding: 10px;
}

span.gold,
.rooms_div div span
{
	width: 30px;
	x-text-align: center;
	display: inline-block;
}


.hdr2
{
    height: 30px;
    text-align: left;
    justify-content: left;
    padding: 0px 0px 5px 5px;
    display: flex;
    align-items: center;
	font-size: 14px;
}


.table td:nth-last-of-type(2) svg
{
    width: 24px;
}

input.digit
{
	width: 50px;
	text-align: center;
}


.chkbx,
.chkbx_on
{
  display: inline-block;
  align-items: center;
	text-align: center;
  color: #fff;
  background: #999;
  border: none;
 x_padding: 2px 12px;

	width: 30px;
	height: 30px;
	line-height: 30px;

  border-radius: 50%;
  text-decoration: none;
	font-size: 16px;
	padding-bottom: 5px;

	margin: 5px;

x-border: solid 2px #4255d4;
}
          
.chkbx_on
{
  background: #4255d4;
	x-border: solid 2px #242f7a;
}

.chkbx_on,
.chkbx:hover
{
	background: #242f7a;
	x-border: solid 2px #fff;
}


.left-side div
{
	margin-bottom: 30px;
}

.m_active
{
	color: #4255d4;
}


.button:active
{
  background: #242f7a;
}


.monospace,
input,
select,
textarea
{
	font-family: monospace;
}




a.sw1,
a.sw2,
a.sw3,
a.sw4,
a.sw1a,
a.sw2a,
a.sw3a,
a.sw4a
{
	background: transparent;
    border: none;
    padding: 5px 8px;
	font-size: 14px;
}

a.sw1:hover,
a.sw1a,
.sw1a
{
	background: #d0e2e3;
}

a.sw2:hover,
a.sw2a,
.sw2a
{
	background: #d0d5e3;
}

a.sw3:hover,
a.sw3a,
.sw3a
{
	background: #e0d0e3;
}

a.sw4:hover,
a.sw4a,
.sw4a
{
	background: #e3d0d0;
}

.activ {
  width: 30%;
}


.progress
{
	width: 100px;
	height: 15px;
	background: #eef;
}

.progress img
{
	height: 100%;
	background: #4255d4;
}

.progress img.alert
{
	width: 100%;
	height: 100%;
	background: #d00;
}


.w60
{
	width: 60px;
}

.w120
{
	width: 120px;
}

.w500
{
	width: 500px;
}

.w100p
{
	width: 100%;
	min-height: 128px;
}


.test
{
	border: solid 2px red;
}


.button_del
{
	background: none;
	width: 24px;
	height: 24px;
	border-radius: 3px;
	display: inline-block;
}

.button_del:hover
{
	background: #ddd;
}

#sensors_tbody td
{
	x-vertical-align: top;
	padding: 5px;
}

select.blue
{
    padding: 5px 20px;
    border: none;
    border-radius: 5px;
    appearance: none;
    background: #4255d4;
    color: #fff;
}

select.blue option
{
    background: #fff;
    color: #000;
}




#wait,
#ok,
#confirm,
#fail
{
    max-width: 60%;
}

input.button.small
{
	padding: 5px 10px;
}




progress {
  -webkit-appearance: none;
margin-top: 5px;
height: 20px;
margin: auto;
}

::-webkit-progress-bar {
  background-color: #ddd;
}
::-webkit-progress-value {
  background-color: #4255d4;
}

::-moz-progress-bar {
  background-color: #4255d4;
}

hr {
    box-sizing: content-box;
    height: 0;
    size: 0px;
    border: none;
    background: linear-gradient(45deg,  rgba(0,0,0,.0), #999 10%, #999 90%, rgba(0,0,0,.0) 100%);
    height: 1px;
	margin: 0px;
}


.q
{
    background: #666;
    color: #fff;
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 14px;
    border-radius: 50%;
	text-align: center;
}

.ok
{
	padding: 10px 30px;
	background: #090;
	color: #fff;
}

input[type="checkbox"].switch11
{
	border-radius: 3px !important;
	width: 21px;
	height: 21px;
}



.fail
{
    text-align: center;
    background: #d00;
    color: #fff;
    padding: 30px;
}


.ok
{
    text-align: center;
    background: #090;
    color: #fff;
    padding: 30px;
}



div
{
	x_word-break: break-all;
}



.popupmenu
{
	position: relative;
	display: inline-block;
	margin-right: 10px;
}

.popupmenu div
{
	position: absolute;
	display: none;
	opacity: 0;
	right: 100%;
	xtop: -135px;
	background: #fff;
	border: solid 1px #ddd;
	z-index: 1;
	box-shadow: 0px 0px 10px 3px rgba(34, 60, 80, 0.2);
	transition: opacity .5s ease;
}

.popupmenu:hover div
{
	x_display: inline-block;
	x_opacity: 1;
	max-height: 220px;
	overflow: auto;
}
 
.popupmenu div a.cards-button.button
{
    display: block;
    margin: 10px;
}

.menu_off .online_only
{
	display: none !important;
}

#cfgmenu
{
	position: fixed;
	background: #fff;
	padding: 0px;
	z-index: 110;
	display: none;
	right: 50px;
	bottom: 50px;
	width: 200px;
	height: fit-content;
	box-shadow: 0px 0px 5px #0006;
	border-radius: 10px;
}

#cfgmenufade
{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 100;
	display: none;
}

#cfgmenu a.cards-button.button
{
    display: block;
    margin: 10px;
}


/* ------------------ homes by lines ------------------- */

.linear
{
	padding: 0px 40px;
}

.linear .box1
{
    width: auto;
    display: block;
    min-width: auto;
	margin: 1px;
}

.linear .user-box
{
    width: 100%;
}

.linear .cards-wrapper
{
    width: 100%;
    display: flex;
}

.linear .user-box .cards-header, .user-box .cards-view
{
    display: flex;
    height: 42px;
}

.linear .cards-header
{
    border-radius: 0px;
	border-radius: 5px 0px 0px 5px;
}

.linear .home_title
{
    width: 200px;
	text-align: left;
}

.linear .cards.card
{
	border-radius: 0px 5px 5px 0px;
    padding: 0px;
}


.linear .card
{
    border-radius: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
}


.linear div.icons
{
    margin: 0px 0px 0px 0px;
    height: 42px;
    display: inline-block;
    width: 330px;
	cursor: pointer;
}

.linear .logs_master
{
    height: auto;
    position: relative;
    display: flex;
    min-width: 350px;
	width: auto;
}


.linear .logs_master2
{
    display: flex;
}


.linear .logs
{
    height: 24px;
    margin-top: 5px;
    width: 300px;
}


.linear .hint2
{
    position: absolute;
    padding: 5px;
    top: 30px;
    background: #fff;
    border: solid 1px #ddd;
    box-shadow: 2px 2px 5px #ddd;
	display: none;
	text-align: left;
}

.linear .icons table td {
    width: 33px;
    height: 42px;
    padding: 0px;
}

.linear .nodes
{
    x_position: absolute;
    width: max-content;
    left: 102%;
}

.linear .temp
{
	width: 80px;
}



.profiles
{
	text-align: center;
}

.linear .profiles
{
	text-align: left;
}


.hidden
{
	visibility: hidden;
}


.linear .nodes.hidden
{
    x_visibility: visible !important;
    x_display: block !important;
}


.linear span.d1,
.linear span.d2
{
    width: 80px;
}


.temperature
{
	font-family: monospace;
	font-size: 20px;
}

.block
{
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.act .block
{
	display: block;
}

.text90
{
	writing-mode: vertical-lr;
	transform: rotate(180deg);
}


table.zebra tr:nth-child(even)
{
	background: #f6f6f6;
}

table.zebra tr:hover
{
	background: #ddf;
}


pre
{
    margin: 0px;
    word-break: break-word;
    max-width: 300px;
    white-space: break-spaces;
}


.d1 .cards-header img,
.d2 .cards-header img
{
    height: 20px;
}


.is-green {
    color: #090;
}

.is-red {
    color: #d00;
}


#defaultFormDiv
{
	padding: 5px;
}

#defaultFormBody
{
	padding: 0px 10px 10px 10px; 
}

#defaultFormBody a
{
	color: #09F; 
}





@property --p{
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

.pied {
  --p:20;
  --b:22px;
  --c:darkred;
  --w:100px;
  
  width:var(--w);
  aspect-ratio:1;
  position:relative;
  display:inline-grid;
  margin:5px;
  place-content:center;
  font-size:25px;
  font-weight:bold;
  font-family:sans-serif;
}
.pied:before,
.pied:after {
  content:"";
  position:absolute;
  border-radius:50%;
}
.pied:before {
  inset:0;
  background:
    radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,
    conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
  -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
          mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
}
.pied:after {
  inset:calc(50% - var(--b)/2);
  background:var(--c);
  transform:rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
}
.animate {
  animation:p 60s .5s both;
}
.no-round:before {
  background-size:0 0,auto;
}
.no-round:after {
  content:none;
}
@keyframes p {
  from{--p:0}
}


.sw_off
{
	transform: rotate(0deg);
}

.sw_on
{
	transform: rotate(180deg);
}

.list_off
{
	display: none;
}

.list_on
{
	display: block;
}

.node_onl
{
	color: #0d0;
}

.node_offl
{
	color: #999;
}

div.ni
{
	display: inline-block;
	position: relative;
	float: right;
	width: 16px;
}

div.ni div
{
	position: absolute;
	display: none;
	right: 16px;
	background: #fff;
	border: #999 solid 1px;
	padding: 10px;
}

div.ni:hover div
{
	display: block;
}

.infobox
{
	position: relative;
	x_top: -7px;
	x-margin-right: 5px;
}

.infobox div
{
	position: absolute;
	right: 20px;
	top: 0px;
	background: #fff;
	padding: 10px;
	border: solid 1px #999;
	color: #000;
	text-align: left;
	z-index: 10;
	display: none;
}

.infobox img
{
	width: 24px;
}

.infobox:hover div
{
	display: block;
}


.table thead,
.zebra thead
{
    position: sticky;
    top: 0px;
    background: #fff;
    z-index: 1;
}

.table thead th
{
	font-weight: bold;
}




#link.off, 
#link.on
{
  padding: 0px 20px;
  border-radius: 0px;
  background-color: transparent;
}

#link.off .ion, 
#link.on .ioff
{
  height: 32px;
	display: none;
}

#link.off .ioff, 
#link.on .ion
{
  height: 32px;
	display: block;
}


@media screen and (max-width: 850px) {
    .main-container {
        padding: 5px;
    }
}