﻿html, body {
  height: 100%; }

.logo {
  max-width: 50px; }

.modal-body {
  max-height: 600px;
  overflow-y: auto; }

@media (max-width: 768px) {
  body footer {
    padding: 70px 0px 50px 0px; } }

.site-header {
  border-bottom: 1px solid #000000;
  background: #fff; }
  .site-header a {
    color: #6c757d;
    text-transform: uppercase;
    font-size: .8em; }
  .site-header .logout {
    width: 24px; }
  .site-header .logo {
    max-width: 40px;
    max-height: 40px; }
  .site-header .avatar {
    max-width: 40px;
    border-radius: 50%; }

.header-bar {
  background-color: #fff; }
  .header-bar #logout {
    width: 24px;
    display: inline-block;
    margin-right: 65px; }
  .header-bar.open {
    background-color: #17a2b8;
    color: #fff;
    border-bottom: 1px solid #17a2b8; }
    .header-bar.open #logout {
      color: #fff; }
    .header-bar.open #logo div {
      border-radius: 50%;
      display: inline-block;
      padding: 20px;
      width: 80px;
      text-align: center;
      background: #fff; }
    .header-bar.open svg {
      color: #fff !important; }
    .header-bar.open .qrscanner,
    .header-bar.open #logout img {
      display: none; }

#menu {
  z-index: 0;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  transition: background-color 0.3s ease;
  opacity: 0;
  visibility: hidden;
  text-decoration: none;
  font-size: 1.5rem; }
  #menu.open {
    z-index: 2;
    background-color: #17a2b8;
    opacity: 1;
    visibility: visible; }
  #menu a {
    color: #fff; }
  #menu ul {
    margin-top: 60px;
    padding-left: 0; }
    #menu ul li {
      list-style: none;
      margin: 8px 0;
      text-align: center; }

.burger {
  z-index: 3;
  height: 30px;
  width: 2.5em;
  position: absolute;
  top: 6px;
  right: 30px;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s all;
  -webkit-tap-highlight-color: transparent; }
  .burger:after {
    content: '';
    display: block;
    position: absolute;
    height: 150%;
    width: 150%;
    top: -25%;
    left: -25%; }
  .burger .burger-lines {
    top: 50%;
    margin-top: -0.125em; }
    .burger .burger-lines, .burger .burger-lines:after, .burger .burger-lines:before {
      transition: 0.2s top 0.2s, 0.1s left, 0.2s transform, 0.3s background-color 0s;
      pointer-events: none;
      display: block;
      content: '';
      width: 100%;
      border-radius: 0.25em;
      background-color: #000;
      height: 0.25em;
      position: absolute;
      transform: rotate(0); }
    .burger .burger-lines:after, .burger .burger-lines:before {
      width: 2em; }
    .burger .burger-lines:after {
      top: -0.7em; }
    .burger .burger-lines:before {
      top: 0.7em; }
  .burger.open .burger-lines, .burger.open .burger-lines:after, .burger.open .burger-lines:before {
    transition: 0.2s background-color, 0.2s top, 0.2s left, 0.2s transform 0.15s;
    background-color: white; }
  .burger.open .burger-lines {
    background-color: transparent; }
  .burger.open .burger-lines:before, .burger.open .burger-lines:after {
    left: 0.5em;
    top: 0px; }
  .burger.open .burger-lines:before {
    transform: rotate(-45deg); }
  .burger.open .burger-lines:after {
    transform: rotate(45deg); }

.detail {
  background: #f8f9fa !important; }
  .detail .header {
    background: #79B2E1;
    color: #fff; }
    .detail .header h4 {
      text-transform: uppercase; }

.icon {
  width: 30px;
  cursor: pointer; }
  .icon.icon-plus {
    color: #51AF2F; }
  .icon.icon-minus {
    color: #dc3545; }
  .icon.icon-edit {
    color: #79B2E1; }

table.list td, table.list th {
  padding: 0.7rem; }

table.list.fold-out tbody tr:not(.detail) {
  cursor: pointer; }
  table.list.fold-out tbody tr:not(.detail):hover {
    background: #79B2E1;
    color: #fff; }

table.list.fold-out tbody tr.detail td {
  background: #f8f9fa !important;
  padding: 0; }

.list-group.fold-out .list-group-item:not(.activated):hover {
  background: #79B2E1;
  color: #fff; }

.list-group.fold-out .list-group-item.activated {
  border: 1px solid #79B2E1;
  border-left: 15px solid #79B2E1; }

.login .login-pic {
  background: url("/img/vegetables.jpg") no-repeat center center fixed;
  background-size: cover; }

.login .overlay {
  position: absolute;
  top: 0;
  left: 0; }

.tab-content {
  border-bottom: 1px solid #dee2e6;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  background: #f8f9fa; }
  .tab-content .tab-pane {
    display: none; }
    .tab-content .tab-pane.active {
      display: block; }
  .tab-content .list-group-item .list-group-item-details {
    display: none; }
  .tab-content .list-group-item.activated {
    background-color: #fff; }
    .tab-content .list-group-item.activated .list-group-item-details {
      display: block; }

.nav-tabs .nav-item a.nav-link.active {
  background-color: #f8f9fa;
  background: #f8f9fa; }

.timeline-container {
  width: 90%;
  max-width: 1170px;
  margin: 0 auto; }
  .timeline-container::after {
    content: '';
    display: table;
    clear: both; }
  .timeline-container .timeline-title {
    color: #ced4da;
    margin-bottom: -2px; }
  .timeline-container .timeline {
    position: relative;
    padding: 3em 0 1em;
    margin-top: 0;
    margin-bottom: 0; }
    .timeline-container .timeline::before {
      content: '';
      position: absolute;
      top: 0;
      left: 18px;
      height: 100%;
      width: 2px;
      background: #ced4da; }
  .timeline-container .timeline-block {
    position: relative;
    margin: 2em 0; }
    .timeline-container .timeline-block:after {
      content: "";
      display: table;
      clear: both; }
    .timeline-container .timeline-block:first-child {
      margin-top: 0; }
  .timeline-container .timeline-point {
    position: absolute;
    top: 12px;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    background: #e9ecef;
    border: 1px solid #ced4da; }
    .timeline-container .timeline-point img {
      width: 18px;
      height: 18px;
      color: #fff;
      left: 50%;
      margin-left: -9px;
      margin-top: -10px;
      position: absolute;
      top: 50%; }
    .timeline-container .timeline-point.small {
      height: 12px;
      margin-left: 13px;
      margin-top: 14px;
      width: 12px; }
  .timeline-container .timeline-content {
    position: relative;
    margin-left: 60px; }
    .timeline-container .timeline-content .event-date {
      display: inline-block;
      float: left;
      padding: .8em 0;
      opacity: .7;
      clear: both; }

@media only screen and (min-width: 1200px) {
  .timeline-container:not(.niks) .timeline .timeline-point.small {
    margin-left: -7px; }
  .timeline-container:not(.left) .timeline {
    margin-bottom: 0; }
    .timeline-container:not(.left) .timeline:before {
      left: 50%;
      margin-left: -2px; }
    .timeline-container:not(.left) .timeline .timeline-point {
      left: 50%;
      margin-left: -21px;
      -webkit-transform: translateZ(0);
      -webkit-backface-visibility: hidden; }
    .timeline-container:not(.left) .timeline .timeline-block {
      margin: 4em 0; }
      .timeline-container:not(.left) .timeline .timeline-block:first-child {
        margin-top: 0; }
      .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content {
        float: right; }
      .timeline-container:not(.left) .timeline .timeline-block:nth-child(even) .timeline-content .event-date {
        left: auto;
        right: 118%;
        text-align: right; }
    .timeline-container:not(.left) .timeline .timeline-content {
      margin-left: 0;
      width: 46%; }
      .timeline-container:not(.left) .timeline .timeline-content .event-date {
        position: absolute;
        width: 100%;
        left: 118%;
        top: -2px;
        font-size: 16px;
        font-size: 1rem; }
        .timeline-container:not(.left) .timeline .timeline-content .event-date small {
          margin-top: 13px;
          display: block; } }

.iconStep {
  /* position: absolute; */
  /* top: 12px; */
  /* left: 0; */
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  /*    margin-top: -40px;*/ }

.iconStep svg {
  width: 18px;
  height: 18px;
  color: #fff !important;
  left: 50%;
  /*    margin-left: -39px;*/
  margin-left: -1px;
  /*    margin-top: -138px;*/
  top: 50%; }

/* Code based on this sample http://thecodeplayer.com/walkthrough/css3-family-tree */
/*Now the CSS*/
.organogram * {
  margin: 0;
  padding: 0; }

.organogram ul {
  padding-top: 20px;
  position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s; }

.organogram li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  padding: 20px 5px 0 5px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s; }

/*We will use ::before and ::after to draw the connectors*/
.organogram li::before,
.organogram li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid #8dc63f;
  width: 50%;
  height: 20px; }

.organogram li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid #8dc63f; }

/*We need to remove left-right connectors from elements without 
any siblings*/
.organogram li:only-child::after,
.organogram li:only-child::before {
  display: none; }

/*Remove space from the top of single children*/
.organogram li:only-child {
  padding-top: 0; }

/*Remove left connector from first child and 
right connector from last child*/
.organogram li:first-child::before,
.organogram li:last-child::after {
  border: 0 none; }

/*Adding back the vertical connector to the last nodes*/
.organogram li:last-child::before {
  border-right: 1px solid #8dc63f;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0; }

.organogram li:first-child::after {
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0; }

/*Time to add downward connectors from parents*/
.organogram ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #8dc63f;
  width: 0;
  height: 20px; }

.organogram li a {
  border: 1px solid #8dc63f;
  padding: 1em 0.75em;
  text-decoration: none;
  color: #666767;
  font-family: arial, verdana, tahoma;
  font-size: 0.85em;
  display: inline-block;
  /*
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
  */
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s; }

/* -------------------------------- */
/* Now starts the vertical elements */
/* -------------------------------- */
.organogram ul.vertical,
ul.vertical ul {
  padding-top: 0px;
  left: 50%; }

/* Remove the downward connectors from parents */
.organogram ul ul.vertical::before {
  display: none; }

.organogram ul.vertical li {
  float: none;
  text-align: left; }

.organogram ul.vertical li::before {
  right: auto;
  border: none; }

.organogram ul.vertical li::after {
  display: none; }

.organogram ul.vertical li a {
  padding: 10px 0.75em;
  margin-left: 16px; }

.organogram ul.vertical li::before {
  top: -20px;
  left: 0px;
  border-bottom: 1px solid #8dc63f;
  border-left: 1px solid #8dc63f;
  width: 20px;
  height: 60px; }

.organogram ul.vertical li:first-child::before {
  top: 0px;
  height: 40px; }

/* Lets add some extra styles */
div.organogram > ul > li > ul > li > a {
  width: 11em; }

div.organogram > ul > li > a {
  font-size: 1em;
  font-weight: bold; }

/* ------------------------------------------------------------------ */
/* Time for some hover effects                                        */
/* We will apply the hover effect the the lineage of the element also */
/* ------------------------------------------------------------------ */
.organogram li a:hover,
.organogram li a:hover + ul li a {
  background: #8dc63f;
  color: white;
  /* border: 1px solid #aaa; */ }

/*Connector styles on hover*/
.organogram li a:hover + ul li::after,
.organogram li a:hover + ul li::before,
.organogram li a:hover + ul::before,
.organogram li a:hover + ul ul::before {
  border-color: #aaa; }

.FixListContainer .listContainer {
  position: fixed;
  width: 100%;
  width: 300px; }

.timeline-block .variables-list td,
.timeline-block .variables-list th {
  vertical-align: top;
  border-bottom: 1px solid #ccc;
  width: 20%;
  text-align: left; }

.timeline-block .variables-list tr:last-child td,
.timeline-block .variables-list tr:last-child th {
  border-bottom: 0; }

.timeline-block.timeline-block2 .variables-list tbody th {
  width: 40%; }

.timeline-block.timeline-block2 .variables-list tbody td {
  width: 20%; }

.success {
  background-color: lightgreen; }

.error {
  background-color: lightsalmon; }
