/* @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: #3c8dbc;
  --header-height: 50px;
  --nav-color: #222d32;
  --nav-width: 250px;
  --content-color: #ecf0f5;
  --content-header-color: #d3d9e0;
  --chart-options-color: #367fa9;

  --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: 115px;
}

* {
  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;
  padding-left: 10px;
}
.input-container::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--blue);
}




.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;
  /* transition: opacity 0.1s ease; */
}
.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);
  padding: 10px;
  overflow: auto;
}
.content-wrapper {
  width: calc(100% - var(--nav-width));
  height: 100%;
  overflow: auto;
  background: var(--content-color);
}

.no-events,
.no-events-filter,
.error-data {
  padding: 20px;
}

.event {
  margin: 10px;
}

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


.parameters {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 20px;
}
.parameter {
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
}
.parameter::before {
  content: '';
  position: absolute;
  left: 0;
  width: 2px;
  height: 100%;
}
.parameter[data-color="white"]::before {background: var(--white);}
.parameter[data-color="red"]::before {background: var(--red);}
.parameter[data-color="orange"]::before {background: var(--orange);}
.parameter[data-color="yellow"]::before {background: var(--yellow);}
.parameter[data-color="olive"]::before {background: var(--olive);}
.parameter[data-color="green"]::before {background: var(--green);}
.parameter[data-color="teal"]::before {background: var(--teal);}
.parameter[data-color="blue"]::before {background: var(--blue);}
.parameter[data-color="violet"]::before {background: var(--violet);}
.parameter[data-color="purple"]::before {background: var(--purple);}
.parameter[data-color="pink"]::before {background: var(--pink);}
.parameter[data-color="brown"]::before {background: var(--brown);}
.parameter[data-color="grey"]::before {background: var(--grey);}
.parameter[data-color="black"]::before {background: var(--black);}
.parameter.is-unique {
  cursor: not-allowed;
}
.ui.disabled.search {
  opacity: 1;
}
.ui.disabled>.dropdown.icon {
  display: none;
}
.ui.disabled .delete.icon {
  display: none;
}
.ui.disabled.search input.search {
  display: none;
}
.parameter-title {
  margin-bottom: 5px;
}
.ui.label {
  font-weight: normal;
}
.ui.dropdown .label:first-letter,
.ui.dropdown .menu>.item:first-letter {
  text-transform: capitalize;
}



.chart-options-container {
  display: flex;
  flex-wrap: wrap;
  color: var(--white);
  background: var(--chart-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;
}
.chart-option {
  display: flex;
  align-items: center;
  padding: 10px;
}
.chart-option .ui.selection.dropdown {
  min-width: 7em;
}
.chart-option label {
  margin-right: 10px;
  margin-bottom: 0;
}
.valid-content {
  display: flex;
  width: 100%;
  flex-direction: column;
}
.chart-container {
  width: 100%;
  height: 700px;
  padding: 10px;
}
.chart-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: var(--white);
  border: 1px solid rgba(34,36,38,.15);
  border-radius: .28571429rem;
  border-top: .2em solid var(--light-grey);
}
.chart {
  width: 100%;
  height: 100%;
}
.chart-title {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  font-size: 16px;
  padding: 10px;
}
.chart-title-line {
  line-height: 1.3;
}
.chart-title-name {
  font-weight: bold;
}


.table-container {
  width: 100%;
  padding: 10px;
  padding-top: 0;
}
.table-wrapper {
}
.table,
.table tr,
.table td {
  border-collapse: collapse;
}
.table {
  width: 100%;
}

.ui.buttons .or:before {
  content: "ou";
}


.input-container input.form-control.input {
  cursor: pointer;
  word-wrap: break-word;
  line-height: 1em;
  white-space: normal;
  outline: 0;
  -webkit-transform: rotateZ(0);
  transform: rotateZ(0);
  /* min-width: 14em; */
  min-height: 2.71428571em;
  width: 100%;
  background: #fff;
  display: inline-block;
  padding: .78571429em 2.1em .78571429em 1em;
  color: rgba(0,0,0,.87);
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgba(34,36,38,.15);
  border-radius: .28571429rem;
  -webkit-transition: width .1s ease,-webkit-box-shadow .1s ease;
  transition: width .1s ease,-webkit-box-shadow .1s ease;
  transition: box-shadow .1s ease,width .1s ease;
  transition: box-shadow .1s ease,width .1s ease,-webkit-box-shadow .1s ease;
}


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

.table-export {
  position: absolute;
  width: 0px;
  height: 0px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}


.ui.table thead,
.ui.table tfoot {
  background: var(--grey-blue);
}

.ui.dropdown:not(.button)>.default.text {
  color: rgba(0,0,0,.6);
}

#date {
  cursor: pointer;
  word-wrap: break-word;
  line-height: 1em;
  white-space: normal;
  outline: 0;
  -webkit-transform: rotateZ(0);
  transform: rotateZ(0);
  min-width: 14em;
  min-height: 2.71428571em;
  background: #fff;
  display: inline-block;
  padding: .78571429em 0.5em .78571429em 0.5em;
  color: rgba(0,0,0,.87);
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid rgba(34,36,38,.15);
  border-radius: .28571429rem;
  -webkit-transition: width .1s ease,-webkit-box-shadow .1s ease;
  transition: width .1s ease,-webkit-box-shadow .1s ease;
  transition: box-shadow .1s ease,width .1s ease;
  transition: box-shadow .1s ease,width .1s ease,-webkit-box-shadow .1s ease;
}
