@import url(https://fonts.googleapis.com/css2?family=Encode+Sans+SC&family=Encode+Sans+Semi+Expanded&display=swap);

:root {
  --bodyBG: #1d1d1d;
  --headerBG: rgb(17, 17, 17);
  --headerFG: #ffffff;
  --accentBGDark: #9c4b03;
  --accentBG: #f96a2b;
  --accentFG: #f96a2b;
  --white: #ffffff;
  --black: #000000;
  --orange: #f96a2b;
  --green: #0bf31e;
  --linkFG: #c4c4c4;
  --linkAccent: var(--orange);

  --headingFG: rgb(214, 214, 214);
  --subHeadingFG: rgb(214, 214, 214);

  --footerFG: rgb(148, 148, 148);

  --textboxBG: rgb(44, 44, 44);
  --textboxBorder: rgb(161, 161, 161);

  --contentDark: var(--headerBG);
  --contentDarkShadow: rgb(8, 8, 8);
  --contentLight: var(--bodyBG);

  --headingInfo: rgb(214, 214, 214);
  --subHeadingInfo: #428bca;

  --linkColor: #428bca;
  --linkIconColor: #428bca;
  --tileBorderColor: rgb(116, 116, 116);

  --errLight: #f04b4b;
  --errDark: #630404;

  --successLight: #4bf061;
  --successDark: #056109;

  --infoLight: #4baef0;
  --infoDark: #053e5f;

  --lightGray: rgb(148, 148, 148);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bodyBG);
}

/*************************************/
/* HELPING ***************************/

* {
  box-sizing: border-box;
}

.uppercase {
  text-transform: uppercase;
}

.icon-spacer-right {
  margin-right: 5px !important;
}

.icon-spacer-left {
  margin-left: 5px !important;
}

.spacer {
  width: 100%;
  height: 30px;
}

/*************************************/
/* HEADER ****************************/

header {
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;  
  width: 100%;
  height: 105px;
  text-align: center;
  background-color: var(--headerBG);
  border-bottom: 5px solid var(--accentBG);
}

header img {
  width: 300px;
  margin: 0 auto;
  padding-top: 10px;
  display: block;  
}

.header-btn {    
  display: inline-block;
  margin: 5px auto 10px auto;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  text-decoration: none;
  background-color: var(--accentBG);
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  color: var(--headerFG);
  border-radius: 5px;  
  line-height: 1;
}

.header-btn:hover {
  text-decoration: none;
  background-color: var(--green);  
  color: var(--headerBG);
  border-radius: 5px;  
}

/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/

.container {
  top: 105px;
  position: absolute;
  width: 100%;
  height: calc(100% - 105px);
  overflow: auto; 
}

.container::after {
  content: "";
  clear: both;
  display: table;  
}

.adminpanel {
  width: 100%;      
  height: calc(100% - 110px);
  overflow: auto; 
}

.panel {
  background-color: var(--headerBG);
  padding: 15px;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  border-radius: 5px;
}

/* For mobile phones: */
[class*="panel-"] {
  width: 100%;
  float: left;
  padding: 16px;
}

@media only screen and (min-width: 768px) {
  
  .panel-profile-node {
    width: 350px;
    padding: 16px 8px 16px 16px; 
  }

  .panel-profile {
    width: 400px;
    padding: 16px 8px 16px 16px; 
  }

  .panel-nodes {
    width: calc(100% - 400px);
    padding: 16px 16px 16px 8px; 
  }
}

@media only screen and (min-width: 800px) {
  .panel-clients {
    width: 50%;
  }
}

@media only screen and (min-width: 1200px) {
  .panel-clients {
    width: 33.3%;
  }
}

@media only screen and (min-width: 1600px) {
  .panel-clients {
    width: 25%;
  }
}

/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/
/*************************************/

/*************************************/
/* PROFILE ***************************/

.profile-photo {
  z-index: 1;
  border: 4px solid #fff;
  margin: 10 auto 10;
  width: 208px;
  height: auto;
  align-items: center;
  justify-content: center;
}

.flex-div {
  display: flex;
}

.center-div {
  margin-left: auto;
  margin-right: auto;
}

.party-logo>img {
  margin-top: 3px;
  width: 58px;
  height: 58px;
}

.party-logo {  
  z-index: 10;  
  position: relative;
  margin: -50px auto 10 auto;  
  padding: 10px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #fff;
}

.party-logo-square {  
  padding: 5px;
  width: 74px;
  height: 74px; 
  border-radius: 20%;
}

.profile-info {
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  color: var(--headingFG);    
  padding-top: 5px;
  padding-bottom: 5px;
}

.btn-primary {
  margin-top: 15px;
  margin-bottom: 5px;
  padding: 6px 8px;
  text-decoration: none;
  background-color: var(--accentBG);
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  color: var(--headerFG);
  border-radius: 5px;
}

.btn-primary:hover {
  text-decoration: none;
  background-color: var(--green);  
  color: var(--headerBG);
  border-radius: 5px;
}

.panel-clients a {
  text-decoration: none;
  background-color: var(--accentBG);
  font-weight: 300;
  font-size: 12pt;
  color: var(--headingFG);    
  padding: 5px 10px;  
  font-family: 'Encode Sans SC', sans-serif;
  border-radius: 5px;
}

.panel-clients a:hover {
  text-decoration: none;
  background-color: var(--green);
  color: var(--black);
}

.margin-top-10 {
  margin-top: 10px;
}

/*************************************/
/* MONITOR PANEL *********************/

.m-party-logo>img {
  margin-top: 3px;
  width: 58px;
  height: 58px;
}

.m-party-logo {  
  z-index: 10;  
  position: relative;
  margin: 0px auto 0 auto;  
  padding: 10px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #fff;
}

.m-party-logo-square {  
  padding: 5px;
  width: 74px;
  height: 74px; 
  border-radius: 20%;
}

.m-profile-info {
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-weight: 300;
  font-size: 12pt;
  color: var(--headingFG);    
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.mini-spacer {
  width: 100%;
  height: 10px;
}

/*************************************/
/* NODES *****************************/

.node-container {
  margin: 10 auto;  
  padding: 10px;
  display: inline-block;  
}

.node {  
  width: 185px;
  padding: 10px;
  border: 1px solid var(--headerFG);
  border-radius: 5px;
  display: inline-block;  
}

.node:hover {  
  border: 1px solid var(--accentBG);    
}

.node i {  
  font-size: 1.5em;
}

.node table {  
  border-collapse: collapse;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  color: var(--headerFG);
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

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

.node a { 
  text-decoration: none;  
  color: var(--black);
}

.node-btn {   
  padding-top: 5px;
  padding-bottom: 5px;
  margin-top: 5px;
  border-radius: 5px;
  cursor: pointer;    
  background-color: var(--white);
}

.node-btn>i{
  font-size: 16px;
  margin-right: 10px;
}

.activate { 
  background-color: var(--green);
}

.deactivate { 
  background-color: var(--lightGray);
}

.highlight {
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  color: var(--linkColor);
  display: inline-block;  
}

/*************************************/
/* LOGIN & Messages ******************/

.logo-body {
  background-color: var(--headerBG);
}

@media only screen and (min-width: 800px) {
  .login-container {
    width: 100%;
  }
}

.login-container {
  margin: auto;
  margin-top: 60px;
  width: 500px;
  border-radius: 10px;
}

.login_logo {    
  width: 100%;
  height: auto;  
}

.loginbox {
  margin: auto;
  margin-top: 10px;  
  margin-bottom: 5px;
  width: 100%;  
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: rgb(20, 20, 24);
  border-radius: 10px;
}

.shadowbox {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.loginbox form {
  text-align: center;  
  margin: 0;
}

.loginform {
  margin-top: 5px;
  margin-bottom: 5px;
}

.loginbox input[type=submit] {
  border: none;
  background-color: var(--accentFG);
  color: var(--white);
  padding: 6px 12px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
  width: 50%;
}

.loginbox input[type=text],
input[type=password] {
  text-align: center;
  border: none;
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 5px;
  border: 1px solid var(--accentFG);
  color: var(--footerFG);
  background-color: rgb(44, 44, 44);
  width: 50%;
}

.login-footer {
  margin: auto;  
  width: 250px;
  height: 30px;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-size: 8pt;
  color: var(--footerFG);
  border-radius: 10px;
  text-align: center;
}

.login-footer a {
  color: rgb(148, 148, 148);
  text-decoration: none;
}

.login-footer a:hover {
  color: var(--accentFG);
}


/*************************************/
/* MESSAGE ***************************/

.messagebox {
  margin: auto;
  margin-top: 10px;
  width: 700px;
  height: auto;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-weight: 600;
  font-size: 12pt;
  color: rgb(20, 20, 24);
  background-color: #0b0b0c;
  border-radius: 10px;
  padding-top: 20px;
  padding-bottom: 30px;
}

.messagebox a {
  color: var(--headerFG);
  text-decoration: none;
}

.messagebox a:hover {
  color: var(--accentFG);
}

.message-heading {
  font-family: 'Encode Sans SC', sans-serif;
  font-size: 18pt;
  color: var(--footerFG);
  text-align: center;
  margin-bottom: 20px;
}

.btn {
  margin: auto;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-weight: 400;
  font-size: 12pt;
  color: var(--white);
  background-color: var(--accentBG);
  text-transform: uppercase;
  width: 100px;
  border-radius: 5px;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 6px;
  padding-right: 6px;
  text-align: center;
}

.message-footer {
  margin: auto;
  margin-top: 20px;
  width: 500px;
  height: 30px;
  font-family: 'Encode Sans Semi Expanded', sans-serif;
  font-size: 8pt;
  color: var(--footerFG);
  border-radius: 10px;
  text-align: center;
}

.message-footer a {
  color: rgb(148, 148, 148);
  text-decoration: none;
}

.message-footer a:hover {
  color: var(--accentFG);
}

/*************************************/

.online,
.offline,
.active,
.inactive,
.me {
  font-size: 16px;
}

.online {
  color: rgb(8, 248, 88);
}

.offline {
  color: rgb(248, 16, 16);
}

.active {
  color: rgb(16, 32, 248);
}

.inactive {
  color: rgb(83, 83, 83);
}

/*************************************/
/* SCROLL BAR ************************/

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: rgb(17, 17, 17);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: green;
}

/*************************************/