/* @font-face {
  font-family: 'BlogScriptW00-Regular';
  src:
    url('../fonts/BlogScriptW00-Regular.woff2') format('woff2'),
    url('../fonts/BlogScriptW00-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
} */

:root {
  --header-color: #2a9d8f;
  --header-height: 50px;
  --nav-color: #264653;
  --nav-hover-color: #203A44;
  --nav-width: 250px;
  --content-color: #ecf0f5;
  --content-header-color: #d3d9e0;
  --options-color: #c9dad3;

  --white: #FFF;
  --red: #db2828;
  --orange: #f2711c;
  --yellow: #fbbd08;
  --olive: #b5cc18;
  --green: #21ba45;
  --teal: #00b5ad;
  --blue: #2185d0;
  --violet: #6435c9;
  --purple: #a333c8;
  --pink: #e03997;
  --brown: #a5673f;
  --grey: #767676;
  --black: #1b1c1d;

  --light-grey: #d2d6de;
  --grey-blue: #e3e6e8;
}





.clear {
  clear: both !important;
}
.display_none {
  display: none !important;
}

#pDebug {
  display: none;
}

#noty_layout__topRight {
  top: 65px;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
}

body.login {
  background: var(--header-color);
  color: var(--white);
}
.login-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  flex-direction: column;
}
.login-text {
  margin-top: 10px;
  margin-bottom: 10px;
}
.login-link {
  color: var(--black);
}
.login-link:hover {
  color: var(--black);
}

input {
  display: block;
  padding: 5px;
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  width: 100%;
  cursor: pointer;
}
label {
  display: block;
  margin-bottom: 5px;
}
.input-container {
  position: relative;
  margin-bottom: 20px;
}




.container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.header {
  width: 100%;
  background: var(--header-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo {
  width: 40px;
  height: 40px;
  background-color: var(--white);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 25px auto, 0 0;
  background-image: url(../images/loading-pause.svg), url(../images/loading.svg);
  border-radius: 100%;
  margin-left: 20px;
  margin-right: 10px;
}
.logo-link:hover .logo {
  background-size: 0 0, 25px auto;
}
.title {
  color: var(--white);
  font-size: 35px;
  font-weight: bold;
}
.logout {
  margin-left: auto;
  margin-right: 20px;
  color: var(--white);
}
.logout:hover {
  color: var(--white);
}

.loading {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 200px auto;
  background-image: url(../images/loading.svg);
  left: 0;
  top: 0;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
}
.loading.visible {
  opacity: 1;
  pointer-events: all;
}

.wrapper {
  width: 100%;
  height: calc(100% - var(--header-height));
  display: flex;
  position: relative;
}
.nav {
  width: var(--nav-width);
  height: 100%;
  background: var(--nav-color);
  color: var(--white);

  overflow: auto;
}
.nav-menu {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.nav-item {
  display: none;
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px var(--nav-hover-color) solid;
  transition: 0.2s ease background-color;
  font-weight: bold;
}
.nav-item.visible {
  display: block;
}
.nav-item.active,
.nav-item:hover {
  background: var(--nav-hover-color);
}

.content-wrapper {
  width: calc(100% - var(--nav-width));
  height: 100%;
  overflow: auto;
  background: var(--content-color);
}

.error-data {
  padding: 20px;
}

hr {
  border-color: var(--white);
}

.ui.label {
  font-weight: normal;
}
.ui.dropdown .label:first-letter,
.ui.dropdown .menu>.item:first-letter {
  text-transform: capitalize;
}

.valid-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  height: 100%;
}

.element {
  padding: 20px;
}
.element-title {
  margin-bottom: 1em;
  font-size: 16px;
  font-weight: bold;
}


.table .ui.accordion .accordion {
  margin-top: 0;
}

.ui.table td.accordion-container {
  padding: 0;
}



.options-container {
  display: flex;
  flex-wrap: wrap;
  color: var(--white);
  background: var(--options-color);
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0px 0px 5px 0 rgba(0,0,0,0.7);
  /* justify-content: space-evenly; */
}
.option {
  display: flex;
  align-items: center;
  padding: 10px;
}
.option .ui.selection.dropdown {
  min-width: 7em;
}
.option label {
  margin-right: 10px;
  margin-bottom: 0;
}

.power-switcher-options-container,
.configuration-options-container,
.device-options-container {
  display: flex;
  width: 100%;
  align-items: center;
}
.table-current-configuration .ui.button.edit-configuration,
.ui.button.delete-associated-power-switcher-association,
.ui.button.delete-device-power-switcher-association,
.ui.button.restart-power-switcher,
.ui.button.show-configuration,
.ui.button.edit-device {
  margin-left: auto;
}

.ui.button .sitemap.icon {
  margin-right: 5px !important;
}

.tree-element {
  padding: 0;
}
.node {
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid rgba(34,36,38,.15);
  border-top: .2em solid var(--orange);
  background: var(--white);
  color: var(--black);
  transition: 0.2s ease box-shadow;
  max-width: 200px;
}
.node:hover {
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
  color: var(--black);
}
.tree-power-switcher {
  border-top-color: var(--orange);
}
.tree-power-switcher.solitary {
  border-top-color: var(--yellow);
}
.tree-device {
  border-top-color: var(--green);
}
.tree-device.solitary {
  border-top-color: var(--olive);
}
.node-name {
  margin-bottom: 5px;
}
