/*!
 + Peet theme v1.0 
 * April 2021
 * Peter de Vos
 */
/* ------------------------------

/*Screensaver*/
#screensaver {
  position: absolute;
  width: 100%;
  height:100%;
  left:0px;
  top: 0px;
  display: none;
  z-index:9999;
  background-color:black;
}
body::-webkit-scrollbar {
  display: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.screensaver-clock {
  position: relative;
  left: 50px;
  top: 50px;
  font-size: 8.2rem;
  font-weight: 300;
  line-height: 1.1;
  color: #7d8184;
}
.test {
  position: absolute;
  top: 0px;
  left: 0px;
}

.scrs-weather-current{
    position: absolute;
    top: 150px;
    float:left;
}
.scrs-weather-current-temp{
  font-size: 3.8rem;
  font-weight: 300;
  line-height: 1.1;
    float: left;
}
.scrs-weather-current-icon{
    position: relative;
    top: -60px;
    height: 120px;
    width: 120px;
    float: left;
    margin-right: 15px;
}

/*Vertical bar*/

.bar-container {
    width: 75px;
    float: left;
}
.bar-gauge {
    width:65px;
    height:122px;
    float:left;
    background-color:#195477;
    margin:0px 10px 2px 10px;
    padding-bottom:5px;
    border-width:2px;
    position:relative;
}
.bar-gauge-value {
    font-family:"Arial";
    color:#aee0fa;
    font-size:8pt;
    text-align:center;
    padding-top:85px;
}
.bar-gauge-cost {
    font-family:"Arial";
    color:#aee0fa;
    font-size:8pt;
    text-align:center;
}

.bar-gauge-icon {
    margin-left: 25px;
}
.bar-gauge-bar {
    float:left;
    width:55px;
    margin:0px 5px 0px 5px;
    height:82px;
    background-color:#1d2e3b;
    position:relative;
}
.bar-gauge-cage-css {
    width:55px;
    float:left;
    position:relative;
}
.bar-1, .bar-2, .bar-3, .bar-4, .bar-5, .bar-6, .bar-7, .bar-8, .bar-9 {
    float:left;
    width:60px;
    background-color:#195477;
    height:5px;
}
.bar-1 {
    margin-bottom:4px;
}
.bar-2 {
    margin-bottom:4px;
}
.bar-3 {
    margin-bottom:4px;
}
.bar-4 {
    margin-bottom:4px;
}
.bar-5 {
    margin-bottom:4px;
}
.bar-6 {
    margin-bottom:4px;
}
.bar-7 {
    margin-bottom:4px;
}
.bar-8 {
    margin-bottom:4px;
}
.bar-9 {
    margin-bottom:4px;
}
.bar-gauge-power-level {
    float:left;
    height:0px;
    max-height:80px;
    width:55px;
    background-color:#5de23a;
    position:absolute;
    bottom:0px;
    transition: background-color 0.5s ease-in;  
}
.bar-gauge-power-return-level {
    float:left;
    height:0px;
    max-height:80px;
    width:55px;
    background-color:#5de23a;
    position:absolute;
    bottom:0px;
    transition: background-color 0.5s ease-in;  
}
.bar-gauge-gas-level {
    float:left;
    height:0px;
    max-height:80px;
    width:55px;
    background-color:#5de23a;
    position:absolute;
    bottom:0px;
    transition: background-color 0.5s ease-in;  
}
.bar-gauge-water-level {
    float:left;
    height:0px;
    max-height:80px;
    width:55px;
    background-color:#5de23a;
    position:absolute;
    bottom:0px;
    transition: background-color 0.5s ease-in;  
}

/*Clock, date and weather display*/
.date-time-header {
    width: 100%;
}
.weeknumber {
    float: right;
}
.hour {
    float: left;
}
.minute {
    float: left;
}
.clock-separator {
    float: left;
}
.weather-current{
    position: absolute;
    top: 85px;
    float:left;
}
.weather-current-temp{
    float: left;
}
.weather-current-icon{
    position: relative;
    top: -18px;
    height: 55px;
    width: 80px;
    float: left;
    margin-right: 15px;
}
.weather-forecast{
    float:right;
    width: 83px;
}
.weather-day1{
    position: relative;
    width: 100%;
    float: right;
}
.weather-day1-text{
    float: left;
}
.weather-day1-icon{
    position: relative;
    top: -2px;
    height: 28px;
    width: 28px;
    float: left;
}
.weather-day-temp{
    float: right;
}
.weather-day2{
    position: relative;
    top:-18px;
    width: 100%;
    float: right;
}
.weather-day-text{
    width: 28px;
    float: left;
}
.weather-day2-icon{
    position: relative;
    top: -2px;
    height: 28px;
    width: 28px;
    float: left;
}
.weather-day3{
    position: relative;
    top:-36px;
    width: 100%;
    float: right;
}
.weather-day3-text{
    float: left;
}
.weather-day3-icon{
    position: relative;
    top: -2px;
    height: 28px;
    width: 28px;
    float: left;
}
.weather-day4{
    position: relative;
    top:-54px;
    width: 100%;
    float: right;
}
.weather-day4-text{
    float: left;
}
.weather-day4-icon{
    position: relative;
    top: -2px;
    height: 28px;
    width: 28px;
    float: left;
}
.weather-day5{
    position: relative;
    top:-72px;
    width: 100%;
    float: right;
}
.weather-day5-text{
    float: left;
}
.weather-day5-icon{
    position: relative;
    top: -2px;
    height: 28px;
    width: 28px;
    float: left;
}

/* Light switch position */
.switch-container {
  position: relative;
  float: right;
  top: -50px;
  max-height:0px;
}
.switch-light {
  position: relative;
  float: right;
}
.switch-text {
  float: right;
  color: #156a8a;
  margin: 3px 7px 0px 15px;
}

.tab-button {
  margin: 5px 5px 5px 5px;
}

.test {
  background-color: #1e2832;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  z-index: 1;
}

/* Circle progress indicator */
.progress-indicator {
  position: relative;
  top: -30px;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  margin:10px 10px 2px 10px;
}

.progress-indicator-title {
  position: relative;
  top: -75px;
  left: 2px;
  width: 100%;
  text-align: center;
  line-height: 40px;
  font-size: 15px;
  font-style: normal;
  font-weight: lighter;
}

.progress-indicator-text {
  position: relative;
  top: -110px;
  left: 2px;
  width: 100%;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
  font-style: normal;
  font-weight: lighter;
}

/* Camera view window */
.cameraView {
  padding: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
  -webkit-transform:scale(0.98);
  -moz-transform:scale(0.98);
  -o-transform:scale(0.98);
  -ms-transform:scale(0.98);
}

.centerContent {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Full screen modal */
.modal.modal-fullscreen .modal-dialog {
  width:100vw;
  height:100vh;
  margin:0;
  padding:0;
  max-width:none;
}

.modal.modal-fullscreen .modal-content {
  height:auto;
  height:100vh;
  border-radius:0;
  border:none;
}

.modal.modal-fullscreen .modal-body {
  overflow-y:auto;
  margin-left: auto;
  margin-right: auto;
}

.text-red {
  color: #d90b0b;
}

.text-green {
  color: #0bdb12;
}

#iot-preloader-relative,
.card-preloader {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(22, 30, 37, 0.9);
  z-index: 1040;
  display: block;
  overflow: hidden;
  box-shadow: inset 0 0 4rem rgba(15, 156, 230, 0.45); }
  #iot-preloader-relative .center-preloader,
  .card-preloader .center-preloader {
    height: 100%;
    vertical-align: middle; }
    #iot-preloader-relative .center-preloader .spinners,
    .card-preloader .center-preloader .spinners {
      width: 60px;
      height: 60px;
      margin: 0 auto; }
      #iot-preloader-relative .center-preloader .spinners .spinner01,
      .card-preloader .center-preloader .spinners .spinner01 {
        border: 5px solid rgba(15, 156, 230, 0.9);
        opacity: .9;
        border-right: 5px solid rgba(0, 0, 0, 0);
        border-left: 5px solid rgba(0, 0, 0, 0);
        border-radius: 50%;
        box-shadow: 0 0 35px rgba(15, 156, 230, 0.45);
        width: 50px;
        height: 50px;
        margin: 0 auto;
        will-change: transform, opacity;
        -webkit-animation: spinPulse 1s infinite ease-in-out;
                animation: spinPulse 1s infinite ease-in-out; }
      #iot-preloader-relative .center-preloader .spinners .spinner02,
      .card-preloader .center-preloader .spinners .spinner02 {
        border: 5px solid rgba(15, 156, 230, 0.9);
        opacity: .9;
        border-left: 5px solid rgba(0, 0, 0, 0);
        border-right: 5px solid rgba(0, 0, 0, 0);
        border-radius: 50%;
        box-shadow: 0 0 15px rgba(15, 156, 230, 0.45);
        width: 30px;
        height: 30px;
        margin: 0 auto;
        position: relative;
        top: -40px;
        will-change: transform;
        -webkit-animation: spinoffPulse 1s infinite linear;
                animation: spinoffPulse 1s infinite linear; }


/*Rotating fan*/

.rotate {
  -webkit-animation-name: spin;
  -webkit-animation-duration: 200ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 200ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 200ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@-ms-keyframes spin {
  from {
    -ms-transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
  }
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Remote control */
.remoteCanvas {
  max-width: 280px;
}

.remoteRoundButton {
  height: 50px;
  width: 50px;
  color: #0f9ce6;
  border-radius: 50%;
  text-align: center;
  float: left;
  margin: 10px;
  border: 1px solid rgba(15, 156, 230, 0.5);
  background-color: rgba(15, 156, 230, 0.25);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.25), 0 0 12px rgba(15, 156, 230, 0.15);
}
.remoteRoundButton:hover,.remoteRoundButton:active, .remoteRoundButton:focus {
  border: 1px solid rgba(15, 156, 230, 0.75);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.45), 0 0 16px rgba(15, 156, 230, 0.45);
  background-color: rgba(15, 156, 230, 0.25);
  color: #aee0fa;
}
.remoteRoundButton:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
  color: #aee0fa;
  background-color: rgba(15, 156, 230, 0.25);
  border: 1px solid rgba(15, 156, 230, 0.8);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.5);
}

.remoteRoundButton.selected {
  color: #aee0fa;
  background-color: #36b1f2;
  border: 1px solid #36b1f2;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.75);
}

.remoteLongButton {
  position: relative;
  height: 100px;
  width: 50px;
  color: #0f9ce6;
  border-radius: 25px;
  text-align: center;
  float: left;
  margin: 10px;
  border: 1px solid rgba(15, 156, 230, 0.5);
  background-color: rgba(15, 156, 230, 0.25);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.25), 0 0 12px rgba(15, 156, 230, 0.15);
}
.remoteLongButtonText {
  position: absolute;
  width: 50px;
  top: 41px;
  font-size: 12px;
  text-align: center;
}
.remoteUpperLongButton {
  position: absolute;
  top: 0px;
  height: 50px;
  width: 50px;
  border-radius: 25px;
}
.remoteUpperLongButton:hover,.remoteUpperLongButton:active, .remoteUpperLongButton:focus {
  border: 1px solid rgba(15, 156, 230, 0.75);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.45), 0 0 16px rgba(15, 156, 230, 0.45);
  background-color: rgba(15, 156, 230, 0.25);
  color: #aee0fa;
}
.remoteUpperLongButton:not([disabled]):not(.disabled):active, .remoteUpperLongButton:not([disabled]):not(.disabled).active, .show > .remoteUpperLongButton.dropdown-toggle {
  color: #aee0fa;
  background-color: rgba(15, 156, 230, 0.25);
  border: 1px solid rgba(15, 156, 230, 0.8);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.5);
}
.remoteLowerLongButton {
  position: absolute;
  bottom: 0px;
  height: 50px;
  width: 50px;
  border-radius: 25px;
}
.remoteLowerLongButton:hover,.remoteLowerLongButton:active, .remoteLowerLongButton:focus {
  border: 1px solid rgba(15, 156, 230, 0.75);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.45), 0 0 16px rgba(15, 156, 230, 0.45);
  background-color: rgba(15, 156, 230, 0.25);
  color: #aee0fa;
}
.remoteLowerLongButton:not([disabled]):not(.disabled):active, .remoteLowerLongButton:not([disabled]):not(.disabled).active, .show > .remoteLowerLongButton.dropdown-toggle {
  color: #aee0fa;
  background-color: rgba(15, 156, 230, 0.25);
  border: 1px solid rgba(15, 156, 230, 0.8);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.5);
}
.remoteSquareButton {
  height: 50px;
  width: 50px;
  color: #0f9ce6;
  border-radius: 4px;
  text-align: center;
  float: left;
  margin: 10px;
  border: 1px solid rgba(15, 156, 230, 0.5);
  background-color: rgba(15, 156, 230, 0.25);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.25), 0 0 12px rgba(15, 156, 230, 0.15);
}

.remoteSquareButton.netflix {
  background-image: url("/assets/images/netflix.png");
}

.remoteSquareButton.prime {
  background-image: url("/assets/images/prime.png");
}

.remoteSquareButton.disney {
  background-image: url("/assets/images/disney.png");
}
.remoteSquareButton.npo {
  background-image: url("/assets/images/npo.png");
}

.remoteSquareButton:hover,.remoteSquareButton:active, .remoteSquareButton:focus {
  border: 1px solid rgba(15, 156, 230, 0.75);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.45), 0 0 16px rgba(15, 156, 230, 0.45);
  background-color: rgba(15, 156, 230, 0.25);
  color: #aee0fa;
}
.remoteSquareButton:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active, .show > .btn-secondary.dropdown-toggle {
  color: #aee0fa;
  background-color: rgba(15, 156, 230, 0.25);
  border: 1px solid rgba(15, 156, 230, 0.8);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.5);
}

.remoteSquareButton.selected {
  color: #aee0fa;
  background-color: #36b1f2;
  border: 1px solid #36b1f2;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.75);
}

.remoteRectButton {
  float: left;
  height: 25px;
  width: 50px;
  color: #0f9ce6;
  border-radius: 3px;
  text-align: center;
  border: 1px solid rgba(15, 156, 230, 0.5);
  background-color: rgba(15, 156, 230, 0.25);
  margin: 10px;
  box-shadow: inset 0 0 6px rgba(15, 156, 230, 0.25), 0 0 6px rgba(15, 156, 230, 0.15);
}



.remoteRectButton:hover,.remoteRectButton:active, .remoteRectButton:focus {
  border: 1px solid rgba(15, 156, 230, 0.75);
  box-shadow: inset 0 0 12px rgba(15, 156, 230, 0.45), 0 0 16px rgba(15, 156, 230, 0.45);
  background-color: rgba(15, 156, 230, 0.25);
  color: #aee0fa;
}
.remoteRectButton:not([disabled]):not(.disabled):active, .remoteRectButton:not([disabled]):not(.disabled).active, .show > .remoteRectButton.dropdown-toggle {
  color: #aee0fa;
  background-color: rgba(15, 156, 230, 0.25);
  border: 1px solid rgba(15, 156, 230, 0.8);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.25), 0 0 12px rgba(15, 156, 230, 0.5);
}

.remoteRoundButtonText {
   padding-top:10%;
   font-size: 25px;
}

.remoteRectButtonText {
   margin-top:2px;
   font-size: 12px;
}

.remoteRow {
  position: relative;
  overflow: hidden;
}

.remoteColumn {
  max-width: 25%;
  height: 100%;
  float: left;
}

/* Badges */
.badge {
  border-radius: .125rem;
  font-size: 11px;
  font-weight: initial;
  line-height: 1;
  padding: .375rem .5625rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 600; }
  .badge.badge-pill {
    border-radius: 10rem; }

/*Badge variations*/
.badge-primary {
  border: 1px solid #1bdbe0;
  color: #1bdbe0; }

.badge-secondary {
  border: 1px solid #d8d8d8;
  color: #d8d8d8; }

.badge-success, .preview-list .preview-item .preview-thumbnail .badge.badge-online {
  border: 1px solid #38ce3c;
  color: #38ce3c; }

.badge-info, .preview-list .preview-item .preview-thumbnail .badge.badge-offline {
  border: 1px solid #8e32e9;
  color: #8e32e9; }

.badge-warning, .preview-list .preview-item .preview-thumbnail .badge.badge-busy {
  border: 1px solid #ffde73;
  color: #ffde73; }

.badge-danger {
  border: 1px solid #ff4d6b;
  color: #ff4d6b; }

.badge-light {
  border: 1px solid #f8f9fa;
  color: #f8f9fa; }

.badge-dark {
  border: 1px solid #3e4b5b;
  color: #3e4b5b; }

/*Badge outlined variations*/
.badge-outline-primary {
  color: #1bdbe0;
  border: 1px solid #1bdbe0; }

.badge-outline-secondary {
  color: #d8d8d8;
  border: 1px solid #d8d8d8; }

.badge-outline-success {
  color: #38ce3c;
  border: 1px solid #38ce3c; }

.badge-outline-info {
  color: #8e32e9;
  border: 1px solid #8e32e9; }

.badge-outline-warning {
  color: #ffde73;
  border: 1px solid #ffde73; }

.badge-outline-danger {
  color: #ff4d6b;
  border: 1px solid #ff4d6b; }

.badge-outline-light {
  color: #f8f9fa;
  border: 1px solid #f8f9fa; }

.badge-outline-dark {
  color: #3e4b5b;
  border: 1px solid #3e4b5b; }


