@font-face {
  font-family: "robotothin";
  src: url("../fonts/Roboto-Thin.ttf") format("truetype");
}

@font-face {
  font-family: "robotolight";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
}

@font-face {
  font-family: "robotobold";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "awesome";
  src: url("../fonts/fontawesome-webfont.ttf") format("truetype");
}

@font-face {
  font-family: "dripicons";
  src: url("../fonts/dripicons-v2.ttf") format("truetype");
}

@font-face {
  font-family: "poppins";
  src: url("../bower_components/poppins-googlefont/Poppins-Regular.ttf")
    format("truetype");
}
@font-face {
  font-family: "poppinslight";
  src: url("../bower_components/poppins-googlefont/Poppins-Light.ttf")
    format("truetype");
}
@font-face {
  font-family: "poppinsbold";
  src: url("../bower_components/poppins-googlefont/Poppins-Bold.ttf")
    format("truetype");
}

/* @import url("https://fonts.googleapis.com/css?family=Poppins:100,400,700&display=swap"); */
.mb-16 {
  margin-bottom: 16px !important;
}

/* The alert message box */
.alert {
  padding: 20px;
  background-color: #f44336; /* Red */

  margin-bottom: 15px;
}
.alert p {
  color: white !important;
}
.alert.warning {
  background-color: #ff9800;
}
.alert.info {
  background-color: #2196f3;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.modal {
  display: none;
  opacity: 0;
}

.modal.form-modal {
  max-width: 80% !important;
  width: 80% !important;
  margin: 0;
  margin-left: 100px;
  position: relative;
  overflow: hidden;
  height: 100%;
  background-color: #fff;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.modal.form-modal form {
  margin: 16px;
  height: 70%;
  width: 88%;
  margin: 0 auto;
  margin-top: 110px;
}

.modal.form-modal h1 {
  padding: 12px !important;
  font-size: 1.2em;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2em;
}

.modal.form-modal p {
  font-size: 0.8em;
  margin: 16px;
  color: #2e2e2e;
}

.messageDataPlaceHolder h5 {
  margin: 10px 0;
  font-size: 0.7em;
}

.messageDataPlaceHolder h6 {
  margin: 10px 0;
}

.messageDataPlaceHolder a {
  font-size: 12px;
}

.form-modal .buttons {
  position: absolute;
  bottom: 0;
  right: 10px;
  width: 160px;
  height: 38px;
}

.confirm.btn {
  display: inline-block;
  width: 150px;
  text-align: center;
  border: none;
  background: #37b437;
  color: #ececec;
  height: 36px;
  font-weight: bold;
  box-shadow: 0px 3px 14px #000;
}

.modal label {
  font-size: 0.76em;
  display: block;
  text-transform: uppercase;
  font-weight: bold;
  color: #3a3a3a;
  text-align: left;
}

.modal label.error {
  color: red;
  font-size: 0.5em;
  display: block;
}
.modal h1 {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.8em;
}

.modal.is-open {
  display: block;
}

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* font-family: robotolight; */
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

body {
  display: flex;
}

.loading {
  position: relative;
}

.loading::after {
  display: block;
  height: 5px;
  width: 10px;
  max-width: 100%;
  background-color: #ddd;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  animation: loading 2s ease 0s infinite normal none running;
  z-index: 1;
}

@keyframes loading {
  0% {
    width: 0;
    left: 0;
  }
  10% {
    width: 10px;
    left: 0;
  }
  50% {
    width: 50px;
    left: calc(50% - 20px);
  }
  90% {
    width: 10px;
    left: calc(100% - 10px);
  }
  100% {
    width: 0;
    left: calc(100%);
  }
}

nav {
  box-sizing: border-box;
  overflow: hidden;
  flex: 0 0 auto;
}

nav.open {
  width: auto;
}

nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #eee;
  color: #666;
  width: 100px;
  height: 100%;
  position: relative;
}

nav > ul::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  right: 1px;
  top: 0;
  background-color: #ccc;
  z-index: 1;
}

nav > ul > li {
  height: 100px;
  width: 100%;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

nav > ul > li > a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: inherit;
  transition: background-color ease-out 0.3s, color ease 0.2s;
  font-size: 0.6em;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

nav > ul > li > a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #5b7cb3;
}

nav > ul > li > a:focus,
nav > ul > li > a:target,
nav > ul > li > a.view {
  outline: 0;
  color: #fff;
  background-color: #45679e;
}

nav > ul > li > a > span {
  font-weight: normal;
  font-size: 2.8em;
  font-family: dripicons;
  margin-bottom: 6px;
}

nav > ul > li.editor > a > span {
  transform: rotate(90deg) translatey(2px);
}

@media (max-width: 1279px) and (min-height: 1px) {
  nav > ul {
    width: 28px;
  }

  nav > ul > li {
    height: 60px;
  }

  nav > ul > li > a {
    letter-spacing: 0;
    writing-mode: vertical-lr;
  }

  nav > ul > li > a > span {
    display: none;
  }
}

.view {
  display: flex;
  height: 100%;
}

header {
  font-family: robotothin;
  font-weight: normal;
  color: gold;
  padding: 0;
  margin: 10px 16px;
  text-shadow: 0 1px 0 #000;
}

header span {
  color: #aaa;
}

p.hidden {
  display: none;
}

p.status,
p.warning,
dd.warning {
  border: 1px solid rgba(255, 140, 0, 0.6);
  background-color: rgba(255, 140, 0, 0.2);
  padding: 4px;
  border-radius: 6px;
}

p.alert,
p.error,
dd.alert,
dd.error {
  border: 1px solid rgba(255, 0, 0, 0.6);
  background-color: rgba(255, 0, 0, 0.2);
  padding: 4px;
  border-radius: 6px;
}

p.success,
dd.success {
  border: 1px solid rgba(0, 255, 0, 0.6);
  background-color: rgba(0, 255, 0, 0.2);
  padding: 4px;
  border-radius: 6px;
}

.full-width {
  width: 100% !important;
}
.border-none {
  border: none !important;
}

[data-control] {
  text-align: left;
  cursor: pointer;
  margin-bottom: 10px;
}
table.pure-table {
  table-layout: fixed;
}
table.pure-table tr td {
  text-align: left;
}
.full-height {
  height: 100% !important;
}

.button-gray {
  background: #8d8d8d !important;
  color: #fff !important;
}

/* 
.onoffswitch {
  position: relative !important; width: 90px !important;
  -webkit-user-select:none !important; -moz-user-select:none !important; -ms-user-select: none !important;
}
.onoffswitch-checkbox {
  display: none !important;
}
.onoffswitch-label {
  display: block !important; overflow: hidden !important; cursor: pointer !important;
  border: 2px solid #999999 !important; border-radius: 20px !important;
}
.onoffswitch-inner {
  display: block !important; width: 200% !important; margin-left: -100% !important;
  transition: margin 0.3s ease-in 0s !important;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
  display: block !important; float: left !important; width: 50% !important; height: 30px !important; padding: 0 !important; line-height: 30px !important;
  font-size: 14px !important; color: white !important; font-family: Trebuchet, Arial, sans-serif !important; font-weight: bold !important;
  box-sizing: border-box !important;
}
.onoffswitch-inner:before {
  content: 'ON';
  padding-left: 10px !important;
  background-color: #34A7C1 !important; color: #FFFFFF !important;
}
.onoffswitch-inner:after {
  content: 'OFF';
  padding-right: 10px;
  background-color: #EEEEEE !important; color: #999999 !important;
  text-align: right;
}
.onoffswitch-switch {
  display: block !important; width: 18px !important; margin: 6px !important;
  background: #FFFFFF !important;
  position: absolute !important; top: 0 !important; bottom: 0 !important;
  right: 56px !important;
  border: 2px solid #999999 !important; border-radius: 20px !important;
  transition: all 0.3s ease-in 0s !important; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
  margin-left: 0 !important;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
  right: 0px !important; 
} */

body.dragging,
body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}
