@charset "UTF-8";

@import url("https://fonts.googleapis.com/css?family=Open+Sans:300");
@import url("https://fonts.googleapis.com/css?family=Abel:400");

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.h1, .h2, .h3, h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1 {
    font-size: 30px;
}
h2 {
    font-size: 24px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

h3, h4, h5 {
/*    margin-top: 5px;*/
    font-weight: 300;
}

a, a:hover, a:focus {
  text-decoration: none;
  color: rgb(33, 37, 41);
}

body {
  font-family: "Abel", Helvetica, Arial, sans-serif !important;
  color: rgb(33, 37, 41);
}

body.signin {
    display: flex;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #f5f5f5;
}

.form-signin {
    max-width: 500px;
    padding: 15px;
}

.form-signin input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

header.page-header {
  position: relative;
  z-index: 200;
  background-color: #fff;
  height: 61px;
  box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.48);
}

.navbar-minimize {
  height: fit-content;
  border-radius: 3px;
  margin: 10px 5px 5px 15px;
}

.navbar-minimize:focus,
.navbar-minimize:active,
.navbar-minimize:active:focus {
  box-shadow: none;
  background-color: black;
}

.navbar-logo {
  display: flex;
  min-width: 305px;
}

.navbar-logo img {
  height: 45px;
  margin: auto;
  margin-left: 25px;
}

.navbar-title-text {
  margin-top: 10px;
}

#wrapper {
  width: 100%;
  overflow-x: hidden;
  display: flex;
}
 
#sidebar {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); */
  min-width: 200px;
  height: auto;
}

#sidebar #side-menu .nav-link i {
  margin-right: 6px; 
}

.nav-link {
  color: rgb(33, 37, 41);
}

.nav-link:focus, .nav-link:hover {
  color: rgb(83, 83, 83);
}

.nav-link.active {
  font-weight: bolder;
  color: rgb(0, 0, 0);
}

.inmodal .modal-header {
  padding: 30px 15px;
}

.modal .modal-title {
  font-size: 26px;
}

.fa > span {
  font-family: 'Abel' !important;
  margin-left: 5px !important;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default, .btn-default:active:focus, .btn-default:active:hover, .btn-default.active:hover, .btn-default.active:focus {
  color: inherit;
  background-color: white;
  border: 1px solid #d2d2d2;
}

.btn-default {
  color: inherit;
  background-color: white;
  border: 1px solid #e7eaec;
}

.btn-white {
  color: inherit;
  background-color: white;
  border: 1px solid #e7eaec;
}

.modal-header.d-block .close {
  float: right;
}

.ibox .label {
  font-size: 12px;
}

.label.label-primary {
  background-color: #6a757c;
  color: #ffffff;
}

.label.label-success {
  background-color: #d1e7dd;
  color: #0f5132;
}

.label.label-warning {
  background-color: #f8d7da;
  color: #842029;
}

.label.label-threshold-0 {
  background-color: #ffc107;
  color: #000;
}

.label.label-threshold-1 {
  background-color: #dc3545;
  color: #fff;
}

.label.label-threshold-2 {
  background-color: #9a48aa;
  color: #fff;
}

.label {
  font-weight: 600;
  padding: 3px 8px;
  text-shadow: none;
  border-radius: 0.25em;
  line-height: 1;
  white-space: nowrap;
}

.status-on {
  text-shadow: 2px 2px 3px #1ee800;
}

.status-off {
  text-shadow: 2px 2px 3px #FF0000;
}

#warnings-card {
  display: none;
  position: absolute;
  right: 30px;
  top: 100px;
  max-height: 700px;
  max-width: 600px;
  opacity: 1;
  z-index: 999;
}

#warnings-card .card-header {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
}

#warnings-card .card-header .btn-close {
  padding: 8px;
}

#warnings-card .warning-message {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0;
}

#addRuleButton {
  width: 100%;
  margin-bottom: .5rem;
}

.ui-timepicker-container {
  z-index: 2000 !important;
}