﻿/***********************************************************************/
@media screen and (min-width: 1900px) {
  canvas {
    height: 50%;
    width: 75%;
    margin-bottom: -19%;
  }

  .gridster {
    width: 100%;
  }
}

@media screen and (min-width: 1100px) and (max-width: 1250px) {
  canvas {
    height: 54%;
    width: 54%;
  }

  .gridster {
    width: 100%;
  }
}

@media screen and (min-width: 1366px) and (max-width: 1400px) {
  canvas {
    height: 52%;
    width: 64%;
    margin-bottom: -18%;
  }

  .gridster {
    width: 100%;
  }
}

body.protected-content {
    display: none;
}

.body-color {
  background-color: #222222;
}

.modal-dialog {
  top: 140px;
}

.fg-dial-custom {
  font-weight: bold;
  position: absolute;
  text-align: center;
  top: 75%;
  width: 100%;
  height: inherit;
  font-size: 120%;
}

#save_pos {
  display: inline;
  padding: 10px 17px;
  position: fixed;
  transform: rotate(270deg);
  top: 50%;
  right: -37px;
  z-index: 15;
  display: none;
}

.widget-head {
  line-height: 1;
  padding-top: 15px;
  color: white;
}

.widget-foot {
  line-height: 1;
  padding-bottom: 15px;
}

.font-aw-div {
  height: inherit;
  width: inherit;
  opacity: 0.06;
  position: absolute;
  display: table;
}

.font-aw-div2 {
  display: table-cell;
  vertical-align: middle;
  height: inherit;
  width: inherit;
}

.li-table {
  height: inherit;
  width: inherit;
}

.li-table-tr {
  height: 100%;
}

.dotanimate {
  margin-left: 20px;
}

.dotanimate:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4, end) 900ms infinite;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}

@keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;
  }
}

/***********************************************************************/
html,
body {
  height: 100%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
  white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
button,
textarea {
  max-width: 280px;
}
.board {
  margin-top: 10px;
  height: calc(96vh - 6.26em - 10px);
  padding-left: 0.8em;
  padding-right: 0.8em;
  color: #444;
  overflow-y: auto;
}
.navigate {
  height: calc(96vh - 6.26em);
  overflow-y: auto;
}
.bottomboarder {
  border-bottom: 2px solid lightgray;
}
.ripple:hover {
  background: #e1e1e1 radial-gradient(circle, transparent 1%, #d1d1d1 1%)
    center/15000%;
}

.ripple:active {
  background-color: #707070;
  background-size: 100%;
  transition: background 0s;
}
.headtext {
  color: #e64224;
  font-weight: 575;
  font-family: "Montserrat", sans-serif !important;
  float: left;
}
.headtext:hover {
  cursor: pointer;
}
.square1x1 {
  height: 100%;
  border-radius: 0.5vw;
  padding: 1vh;
  color: inherit;
  background: #ec663c;
}
.square1x1:active {
  height: 100%;
  border-radius: 0.5vw;
  padding: 1vh;
  color: inherit;
  background: #ff773f;
}
.square2x2 {
  height: 103%;
  border-radius: 0.5vw;
  padding: 1vh;
  color: inherit;
  background: #ec663c;
}

.square2x2:active {
  height: 103%;
  border-radius: 0.5vw;
  padding: 1vh;
  color: inherit;
  background: #ff773f;
}

.squareselected {
  filter: brightness(140%);
}

.h3color {
  color: rgba(255, 255, 255, 0.7);
  border: 0px;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-stretch: normal;
  font-size: calc(0.7vw + 0.7vh + 0.5vmin);
  line-height: normal;
  font-family: Arial;
  text-align: center;
  padding: 0px;
  margin-top: 0.5vw;
  margin-bottom: 0.5vw;
  -webkit-appearance: none;
}

.h3color2 {
  color: rgba(255, 255, 255, 0.7);
  border: 0px;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-stretch: normal;
  font-size: calc(1.4vw + 1vh + 0.5vmin);
  line-height: normal;
  font-family: Arial;
  text-align: center;
  padding: 1vh;
  -webkit-appearance: none;
}

.datacolor {
  color: white;
  border: 0px;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-stretch: normal;
  font-size: calc(2.3vw + 1.6vh + 0.5vmin);
  line-height: normal;
  font-family: Arial;
  text-align: center;
  padding: 0px;
  -webkit-appearance: none;
}

.header {
  background: #7e7e7e;
  font-style: normal;
  font-variant: normal;
  font-weight: bold;
  font-stretch: normal;
  color: white;
  font-size: calc(0.5vw + 0.5vh + 0.5vmin);
  line-height: normal;
  font-family: Arial;
  margin-bottom: 3px;
}
.dummyelement {
  margin-left: 0.5em;
  font-style: normal;
  font-variant: normal;
  font-stretch: normal;
  font-size: calc(0.4vw + 0.4vh + 0.5vmin);
  line-height: normal;
  font-family: Arial;
  margin-bottom: 2px;
}

#AddNewWallboard:hover {
  cursor: pointer;
}
.texttemp {
  position: relative;
  z-index: 5;
}
.gaugetemp {
  position: relative;
  z-index: 5;
}
.gauge {
  margin-bottom: 1vh;
}

#main {
  border: 5px solid #7e7e7e;
  height: calc(100vh - 3.2em);
  background-color: #fff;
  color: #444;
}
.gadgetclicked {
  border: 3px dotted #222222;
  filter: brightness(110%);
}
.naviggationicon {
  width: 100%;
}
.controls {
  background-color: #e64225;
  height: calc(20vh - 3.2em);
  border-top: 2px solid lightgray;
  border-bottom: 2px solid lightgray;
  border-right: 2px solid lightgray;
  background-position: center;
  transition: background 0.8s;
}
.controls:hover {
  background: #ee7b66 radial-gradient(circle, transparent 1%, #d51dd1)
    center/15000%;
}

.controls:active {
  background-color: #d51d0d;
  background-size: 100%;
  transition: background 0s;
}
.whitetext {
  color: white;
  text-align: center;
  margin-top: -10px;
}

.header-container {
  height: 80px;
}
.header-logo {
  height: 77px;
  margin-left: 20px;
  margin-top: 3px;
}
.main-content-container {
  border-top: 3px solid lightgrey;
  height: calc(100% - 80px);
}
.main-content-container > div {
  height: 100%;
}
.wallboard-content {
  border-left: 5px solid lightgrey;
  padding-left: 0px !important;
  padding-right: 0px !important;
}
.body-content {
  height: 99%;
  overflow: hidden;
}
.header-profile-image {
  height: 50px;
  top: 15px;
}
.navigate > div {
  text-align: center;
}

.navigate > div > img {
  max-height: 85px;
  max-width: 85px;
}
.operations-bar .controls {
  margin-bottom: 0px;
}
.navigate {
  height: 100%;
}

.license-info {
  margin-left: 30px;
}
#login-div {
  position: absolute;
  left: 40%;
  top: 20%;
  border: 1px solid #ccc;
  padding: 10px 10px;
}
.login-header-text {
  font-weight: 500;
  margin: 0 16px;
  font-size: 20px;
  margin-left: 35%;
}
.login-div:not([class*="mat-elevation-z"]) {
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 1px 3px 0 rgba(0, 0, 0, 0.12);
}
.login-div {
  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  padding: 16px;
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.87);
  font-family: Roboto, "Helvetica Neue", sans-serif;
}

.mat-fab.mat-accent,
.mat-fab.mat-primary,
.mat-fab.mat-warn,
.mat-flat-button.mat-accent,
.mat-flat-button.mat-primary,
.mat-flat-button.mat-warn,
.mat-mini-fab.mat-accent,
.mat-mini-fab.mat-primary,
.mat-mini-fab.mat-warn,
.mat-raised-button.mat-accent,
.mat-raised-button.mat-primary,
.mat-raised-button.mat-warn {
  color: #fff;
  margin: 10px;
  margin-left: 35%;
}

.mat-fab.mat-primary,
.mat-flat-button.mat-primary,
.mat-mini-fab.mat-primary,
.mat-raised-button.mat-primary {
  background-color: #3f51b5;
}

.mat-raised-button:not([class*="mat-elevation-z"]) {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.mat-card-actions .mat-button,
.mat-card-actions .mat-raised-button {
  margin: 0 8px;
}

.mat-card-actions .mat-button:first-child,
.mat-card-actions .mat-raised-button:first-child {
  margin-left: 0;
  margin-right: 0;
}
.mat-raised-button {
  box-sizing: border-box;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  outline: 0;
  border: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: baseline;
  text-align: center;
  margin: 0;
  min-width: 64px;
  line-height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  overflow: visible;
  transform: translate3d(0, 0, 0);
  transition: background 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.login-label {
  display: inline-block;
  margin-bottom: 5px;
  font-weight: normal;
  margin-top: 5px;
  margin-left: 12px;
}
.login-box {
  width: 90%;
  margin-left: 12px;
  margin-right: 12px;
}
.header-container {
  padding-bottom: 80px;
  border-bottom: 5px solid #d3d3d3;
}
.field-validation-message {
  color: red;
  font-weight: normal;
  font-size: 12px;
}
.image-container,
.image-container img {
  width: 100%;
}
.cursorPointer {
  cursor: pointer;
}
.boundry {
  scroll-padding-top: 50px;
  scroll-padding-left: 50px;
  background-size: 20px 20px;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
}
@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}
.spinner-border {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border 0.75s linear infinite;
  animation: spinner-border 0.75s linear infinite;
  color: #e64224;
  justify-content: center;
}
.spinner-border-sm {
  height: 1rem;
  border-width: 0.2em;
}
.spinner-border-container {
  justify-content: center;
  display: flex;
}
.btn-file {
  position: relative;
  overflow: hidden;
}
.btn-file input[type="file"] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}
.menu-settings {
  font-size: xx-large;
  color: white;
}
.menu-settings-btn {
  margin-right: 25px;
  border: 0px;
  background-color: transparent;
}
.menu-settings-items {
  margin-right: 100px;
}
