/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20.11.2018, 11:22:59
    Author     : joerg
*/
body {
  background-color: #eee;
  color: #666;
}

header {
  margin-top: 56px;
}
header nav {
  -webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
  box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.75);
}

.jumbotron {
  background-color: #ccc;
}

a, a:hover, a:visited, a:focus {
  text-decoration: none;
  outline: none !important;
}

a.smallLink {
  display: inline-block;
  float: right;
  color: #666666;
}

a.smallLink:hover {
  text-decoration: underline;
}

.ajax-call, .method-call {
  cursor: pointer;
}

.btn-primary {
  background-color: #71c42b;
  border-color: #71c42b;
}
.btn-primary:hover {
  background-color: #65af26;
  border-color: #71c42b;
}

.btn-secondary {
  background-color: #999;
  border-color: #999;
}
.btn-secondary:hover {
  background-color: #8c8c8c;
  border-color: #999;
}

.btn-outline-primary {
  color: #71c42b;
  border-color: #71c42b;
}
.btn-outline-primary:hover {
  background-color: #65af26;
  border-color: #71c42b;
}

.btn-outline-secondary {
  color: #999;
  border-color: #999;
}
.btn-outline-secondary:hover {
  background-color: #8c8c8c;
  border-color: #999;
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
  background-color: #eee;
  color: #71c42b;
}

.page-header {
  padding: 2rem 0;
}
.page-header h1 .btn-group {
  margin-top: 0.5rem;
}

.button-row {
  margin-bottom: 2rem;
}

.card {
  border: none;
  margin-bottom: 3rem;
  border-radius: 0.5rem;
}
.card .card-header {
  background-color: #666;
  color: #ccc;
  font-weight: bold;
}
.card .card-body {
  background-color: #ccc;
  color: #666;
}
.card .card-body .panel > span {
  display: block;
  background-color: #e6e6e6;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  color: #999;
}
.card .card-body input.form-control,
.card .card-body textarea.form-control,
.card .card-body select.form-control {
  background-color: white;
}
.card .card-body input.form-control:disabled {
  color: #eee;
  background-color: #ccc;
}
.card .card-body .inputBlocks .inputBlock {
  border-bottom: 1px solid #666;
  margin-bottom: 1rem;
}
.card .card-body .documentRow {
  border-bottom: 1px solid #666;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 0.5rem;
}
.form-group .input-value {
  display: flex;
}

.docBox {
  display: block;
  background-color: #999;
  border-radius: 0.5rem;
  padding: 0.25rem;
  text-align: center;
  margin-bottom: 1rem;
}
.docBox .icon {
  background-color: #eee;
  color: #999;
  border-radius: 0.5rem;
  font-size: 4rem;
}
.docBox .icon img {
  max-width: 100%;
}
.docBox .name {
  color: #eee;
  padding: 0.25rem;
}

.docBox-delete {
  position: absolute;
  top: 0;
  right: 15px;
  background-color: white;
  padding: 5px;
  border: 1px solid gray;
}
.docBox-delete svg {
  color: red;
}

table.table-striped thead tr {
  background-color: #666;
  color: #eee;
}
table.table-striped thead tr th {
  border: none;
}
table.table-striped thead.sub tr {
  background-color: #ccc;
  color: #666;
}
table.table-striped thead.sub tr th {
  padding: 0.375rem;
}
table.table-striped tbody tr:nth-of-type(2n+0) {
  background-color: white;
}
table.table-striped tbody tr:nth-of-type(2n+1) {
  background-color: #e6e6e6;
}
table.table-striped .newBlock {
  border-left: 1px solid #999;
}

span.deleteLink {
  display: block;
  margin-top: 5px;
  cursor: pointer;
}
span.deleteLink:hover {
  color: #f00;
}
span.deleteLink svg {
  height: 20px;
  width: 20px;
  fill: #f00;
  vertical-align: middle;
}

.hiddenInputTemplate {
  display: none;
}

svg.addElement {
  fill: #5c8a00;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

svg.deleteElement {
  fill: #f00000;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

/*
 O V E R L A Y
*/
div#transDiv {
  position: fixed;
  top: 0px;
  right: 0px;
  z-index: 19;
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
  opacity: 0;
  transition: visibility 0s 0s, opacity 0.5s 0.2s;
}

div#transDiv.display {
  display: initial;
  opacity: 1;
  transition: visibility 0s 0s, opacity 0.5s 0.2s;
}

.overlay {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  min-width: 310px;
  min-height: 12em;
  border: 0.1em solid #aaaaaa;
  overflow: hidden;
  text-align: left;
  /* inside of header */
  background-color: white;
  z-index: 10000;
  display: none;
  transition: visibility 0s 0.5s, opacity 0.5s;
  padding: 15px;
  padding-top: 20px;
}
.overlay h2 {
  font-size: 24px;
}
.overlay p {
  margin: 0 0 20px 0;
  font-size: 18px;
}
.overlay svg {
  /*width: 20px;
  height: 20px;*/
}
.overlay .error {
  color: #f00;
  border-color: #f00;
}
.overlay .close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 5px;
  cursor: pointer;
  font-size: 2rem;
  line-height: 2rem;
}
.overlay .overlayContent {
  padding: 15px;
  padding-top: 20px;
}
.overlay .reports span.success {
  color: #84ab1c;
}
.overlay .reports span.error {
  color: #f00;
}
.overlay #doneHint {
  text-align: right;
  display: none;
}

.overlay.active {
  display: block;
}

.overlay.error {
  color: #f00;
  border-color: #f00;
}
.overlay.error svg {
  fill: #f00;
}

.overlay.notice {
  color: #FFA500;
  border-color: #FFA500;
}
.overlay.notice a {
  color: #FFA500;
  text-decoration: none;
}
.overlay.notice hr {
  color: #FFA500;
  border: solid 1px #FFA500;
}
.overlay.notice svg {
  fill: #FFA500;
}

.overlay.notice.allDone {
  color: #84ab1c;
  border-color: #84ab1c;
}
.overlay.notice.allDone hr {
  color: #84ab1c;
  border: solid 1px #84ab1c;
}
.overlay.notice.allDone svg {
  fill: #84ab1c;
}

.overlay.forms {
  color: #636363;
  border-color: #636363;
}
.overlay.forms a {
  color: #636363;
  text-decoration: none;
}
.overlay.forms button.actionButton {
  border: 1px solid #636363;
  padding: 5px;
  cursor: pointer;
}
.overlay.forms hr {
  color: #636363;
  border: solid 1px #636363;
}
.overlay.forms svg {
  fill: #636363;
}

.overlay.forms.allDone {
  color: #636363;
  border-color: #636363;
}
.overlay.forms.allDone hr {
  color: #636363;
  border: solid 1px #636363;
}
.overlay.forms.allDone svg {
  fill: #636363;
}

.overlay.success {
  color: #84ab1c;
  border-color: #84ab1c;
}
.overlay.success h2#title {
  color: #84ab1c;
  border-color: #84ab1c;
}
.overlay.success svg {
  fill: #84ab1c;
}

svg.active {
  fill: #84ab1c;
}

div.rotate {
  width: 200px;
  height: 200px;
  margin: 20px;
  transform-origin: 50% 50%;
  animation-name: spin;
  animation-duration: 3000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.overlay#ajaxOverlay {
  left: 50%;
  transform: translate(-50%);
  width: 300px;
  min-width: 300px;
  height: 300px;
  background: transparent;
  border: none;
}

#ajaxOverlay svg {
  width: 200px;
  height: 200px;
  max-width: 200px;
  max-height: 200px;
  fill: #000;
}

@keyframes "spin" {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.modal.show {
  display: block;
}

#ajaxLoader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
}
#ajaxLoader.display {
  display: block;
  opacity: 1;
  -webkit-animation: fadeIn 2s;
  animation: fadeIn 2s;
}
#ajaxLoader .spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
  display: inline-block;
  padding: 0;
  margin: 0;
  animation-name: spin;
  animation-duration: 2000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.form-switch {
  padding-left: 0;
}
.form-switch .custom-control.custom-switch {
  position: relative;
  padding-left: 0;
  line-height: 30px;
}
.form-switch .custom-control.custom-switch input {
  display: none;
}
.form-switch .custom-control.custom-switch input + label {
  cursor: pointer;
  user-select: none;
  height: 30px;
  margin-left: 70px;
  display: block;
}
.form-switch .custom-control.custom-switch input + label:before {
  content: "";
  position: absolute;
  left: 0;
  display: inline-block;
  height: 30px;
  width: 50px;
  background: #999;
  border: solid 1px #999;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  border-radius: 15px;
}
.form-switch .custom-control.custom-switch input + label:after {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background: #FFF;
  transition: margin-left 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  font-weight: bold;
  content: "";
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 0 5px #999;
}
.form-switch .custom-control.custom-switch input:checked + label:after {
  content: "";
  margin-left: 21px;
  box-shadow: none;
}
.form-switch .custom-control.custom-switch input:checked + label:before {
  background-color: #71c42b;
  border-color: #71c42b;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.form-check-toggle {
  position: relative;
  padding-left: 0;
  line-height: 30px;
}
.form-check-toggle input {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 0%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
  filter: alpha(opacity=0);
}
.form-check-toggle input + span {
  cursor: pointer;
  user-select: none;
  height: 30px;
  margin-left: 70px;
  display: block;
}
.form-check-toggle input + span:before {
  content: "";
  position: absolute;
  left: 0;
  display: inline-block;
  height: 30px;
  width: 50px;
  background: #999;
  border: solid 1px #999;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  border-radius: 15px;
}
.form-check-toggle input + span:after {
  width: 28px;
  height: 28px;
  margin-top: 1px;
  margin-left: 1px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  background: #FFF;
  transition: margin-left 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  text-align: center;
  font-weight: bold;
  content: "";
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 0 5px #999;
}
.form-check-toggle input:checked + span:after {
  content: "";
  margin-left: 21px;
  box-shadow: none;
}
.form-check-toggle input:checked + span:before {
  background-color: #71c42b;
  border-color: #71c42b;
  transition: background 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.jsTemplate {
  display: none;
}

/*# sourceMappingURL=admin.css.map */
