.btn-margin {
  margin-top: 7px
}

.loading {
  position: absolute;
  display: flex;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
}

a {
  cursor: pointer;
}
body {
  padding-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
}

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

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

/* Set padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

#header {
  background-color: #459aaf;
  height: 60px;
  text-align: center;
  width: 100%;
}

#header h1 {
  color: #fff;
  margin: 0;
  font-size: 26px;
  padding-top: 16px;
}

#header img {
  float: left;
}

#square {
  width: 100px;
  height: 100px;
}

#footer{
  position: fixed;
  bottom: 0;
  padding-left: 10px;
}

.navbar-right {
  margin: 0;
}

.navbar-default {
  box-shadow: 1px 1px 7px #bdbdbd;
}

.title-row {
  margin-bottom: 40px;
}

/* 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;
}


/*Foregours and font for status without name*/
.no-name-status {
  color: #d9534f;
  font-weight: bold;
}

.margin-top-1 {
  margin-top: 1%;
}

.margin-top-3 {
  margin-top: 3%;
}

.margin-top-5 {
  margin-top: 5%;
}

.margin-top-7 {
  margin-top: 7%;
}

.margin-top-10 {
  margin-top: 10%;
}

.margin-bottom-1 {
  margin-bottom: 1%;
}

.margin-bottom-3 {
  margin-bottom: 3%;
}

.margin-bottom-5 {
  margin-bottom: 5%;
}

.margin-bottom-7 {
  margin-bottom: 7%;
}

.margin-bottom-10 {
  margin-bottom: 8%;
}

.font-bigger {
  font-size: 150%;
}

.btn-add {
  background-color: #5FB37B;
  border-color: #5FB37B;
  color: #fff;
}

.btn-info {
  color: #fff;
  background-color: #659be0;
  border-color: #659be0;
}

.btn-info:hover, .btn-info:focus {
  background-color: #5d8ecc;
  border-color: #5d8ecc;
}

.clickable {
  cursor: pointer;
}

.table > thead > tr > th{
  font-weight: 600;    
}

.btn-add:hover,
.btn-add:focus {
  background-color: #2c946e;
  border-color: #2c946e;
  color: #fff;
}

.dot-wrapper {
margin-top: -7px;
position: relative;
}

.dot-status {
width: 13px;
height: 13px;
position: absolute;
left: 15px;
border-radius: 50%;
}
.dot-status.green {
background: #1FC346;
}
.dot-status.orange {
background: #D67327;
}

.big_checkbox {
  margin-top: 10px !important;
  margin-right: 20px !important;
  -ms-transform: scale(2);
  -webkit-transform: scale(2);
  transform: scale(2);
}

.big_button {
  padding: 20px;
  -ms-border-radius: 0;
  border-radius: 0;
  font-size: large;
}

.progress {
  display: inline-block;
  width: 100px;
  border: 3px groove #CCC;
}

.progress div {
  font-size: smaller;
  background: orange;
  width: 0;
}

.navbar-right .row {
  font-size: larger;
  font-weight: bold;
  margin-top: 10px;
  width: 200px;
}

.navbar-right .row a {
  color: #777;
}
.colorized-table {
  margin: 5px; 
}

.colorized-table thead tr {
  color: #16387c;
  background-color: #d1dbe0;
}
.colorized-table table td{
  color: #16387c;
  border-right: solid 1px #91a7b4 !important;
  vertical-align: middle !important;
}

.loader {
  display: block;
  margin: 10px auto;
  width: 50px;
  height: 50px;
}
.loader-sm {
  display: block;
  margin: 2px auto;
  width: 20px;
  height: 20px;
}

.colorized-table table tbody td:nth-child(3),.colorized-table table tbody td:nth-child(4) {
  white-space: nowrap;
}

.btn-excel {
  background-color: #5FB37B;
  color: #fff;
  border: 0;
}

.btn-excel:hover, .btn-excel:active {
  color: #fff;
  background-color: #37754c;
}

.navbar-nav > li > div {
  text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
  padding: 15px;
  color: #777;
}

.calendar-table {
  width: 100%;
  border-width: medium;
}

.calendar-table td, .calendar-table th {
  text-align: center;
  padding: 10px;
  left: 0;
  right: 0;
  margin-right: auto;
  margin-left: auto;
}

.calendar-table tr:last-child td {
  border-top-width: medium;
  border-top-style: double;
}

.responsive-panel .visible-md,
.responsive-panel .visible-lg {
  display: none !important;
}

.responsive-panel .visible-md-block,
.responsive-panel .visible-lg-block {
  display: none !important;
}

.angular-ui-tree-handle {
background: #f3f3f3;
border: 1px solid #dae2ea;
color: #7c9eb2;
padding: 5px 10px;
margin-top: 5px
}

.field-status-not-set {
  background: rgb(253, 253, 253);
  border: none;
}

.field-status-exists {
  background: #c5e1a5;
  border: none;
}

.field-status-to-create {
  background: #DCE4FF;
  border: none;
}

.field-status-to-modify {
  background: #ffe4ae;
  border: none;
}

.field-status-created {
  background: #adbae4;
}

.field-status-modified {
  background: #ffcc80;
  border: none;
}

.field-status-failure {
  background: #EF9A9A;
  border: none;
}

.small-pading {
  padding: 2px 15px;
}

.tree-info-msg {
  color: #29b6f6;
  margin-left: 15px;
  margin-top: 5px;
}
.tree-warn-msg {
  color: #ffa726;
  margin-left: 15px;
  margin-top: 5px;
}
.tree-error-msg {
  color: #ef5350;
  margin-left: 15px;
  margin-top: 5px;
}

.progress-container {
  position: fixed;
  height: 150px;
  overflow-y: scroll;
  margin: 0;
  padding: 5px;
  bottom: 0;
  left: 0;
  right: 0;
}

.progress-container .list-group-item {
  padding: 5px 15px;
}
.progress-container .list-group {
  margin: 0;
}
.myTableClass > tbody > tr > td,
.myTableClass > tbody > tr > td > .tr-ng-cell {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.conf-legend {
  display: inline-block;
  width: auto;
  padding-right: 15px;
}

.conf-legend td {
  border-top: 0 !important;
}

.hierarchy-list .angular-ui-tree-handle{
  border: none;
  border-radius: 5px;
  color: #3c3c3c;
  padding: 10px;
  font-weight: normal;
  cursor: default;

}

.hierarchy-list .title {
  display: inline-block;
  font-size: 18px;
  vertical-align: top;
  margin-left: 5px;
  margin-top: 3px;
}

.hierarchy-list .title-row {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 15px;
}

.hierarchy-list .list-group-item {
  padding: 7px 15px;
}

.btn-toggle {
  color: #5d5d5d;
}

.inline-checkbox {
  float: left;
  padding-left: 15px;
}

.label-title {
  font-weight: 600;
}

.item-details {
  width: calc(100% - 30px);
  float: left;
  padding: 0 15px;
}

.col-full-width .item-details {
  width: 100%;
}

.btn-theme, .btn-theme:hover, .btn-theme:focus {
  color: #fff;
  background-color: #459aaf;
  border-color: #459aaf;
}

.logo-img{
  height: 60px;
  padding: 7px;
}

.login-logo {
  width: 76%;
  margin: 0 12%;
}

.link {
  background: none;
  border: none;
  color: #337ab7;
  white-space: nowrap;
}

.bootstrap-switch.bootstrap-switch-mini {
  min-width: 50px !important;
}

.bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-on, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-handle-off, .bootstrap-switch.bootstrap-switch-mini .bootstrap-switch-label {
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}

.section {
  background: #f9f9f9;
  padding: 10px;
}

.section .table {
  background: white;
}


.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
     background: #5fb37b !important; 
}

.dd-bold {
  font-weight: bold;
}
.dd-bold-firefox {
  background-color: #f2f2f2;
}
.dd-indentation {
  text-indent: 10px;
}

.raw-data-container {
  overflow-x: scroll;
}
.raw-data-container table, .raw-data-container td {
  border: 1px solid black;
}
.raw-data-container td {
  padding: 10px;
}
.raw-data-container td:first-child {
  color: green;
  font-weight: bold;
}

.autoconfig-screen {
  margin-bottom: 70px;
}

.custom-select-wrapper {
display: inline-block;
position: relative;
}

.custom-select-wrapper .caret{
position: absolute;
right: 10px;
top: 18px;
}

.custom-select-wrapper .dropdown {
padding-left: 0;
list-style: none;
border: 1px solid #cccccc;
margin-top: -1px;
max-height: 330px;
overflow-x: hidden;
overflow-y: auto;
display: none;
position: absolute;
left: 0;
top: 38px;
background: white;
width: 100%;
}

.custom-select-wrapper .dropdown li {
padding: 8px 10px;
}

.custom-select-wrapper .dropdown li span{
cursor: default;
}

.custom-select-wrapper .dropdown li span.active {
font-weight: bold;
}

.custom-select-wrapper .dropdown li:hover {
background: #bae1ea;
}

.custom-select-wrapper input {
padding: 8px 10px;
border-radius: 4px;
border: 1px solid #cccccc;
cursor: default;
}

.pt-3 {
padding-top: 10px;
}

.calendar-container{
  position: relative;
  width:2882px;
  height:80px;
}
  .calendar-container .calendar-content {
      position: absolute;
      width: 2880px;
      height: 30px;
      background: lightgray;
      border: 1px solid;
      top: 0px;
  }
.calendar-container .calendar-legend {
      position: absolute;
      width: 3000px;
      height: 20px;
      top: 35px;
}
.calendar-item {
      position: absolute;
      height: 30px;
      border: 1px solid;
      top: -1px;
      text-align: center;
      font-size: 20px;
  }
.calendar-item.small-field {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 12px;
}
.calendar-item.active {
  background: lightgreen;
}
.calendar-item.inactive {
  background: white;
}
.calendar-legend span {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 12px;
}
.calendar-week-day {
  font-size: large;
  padding: 20px;
}

.timestamp-table {
white-space: nowrap;
}

.timestamp-table .value .form-control {
width: 100px;
}

.modal-chart {
  width: 99%;
}
.modal-size-60 {
  width: 60%;
}
.modal-size-80 {
  width: 80%;
}
.modal-size-90 {
  width: 90%;
}
.modal-size-1000 {
  width: 1000px;
}
.panel-heading .accordion-toggle:after {
  /* symbol for "opening" panels */
  font-family: 'Glyphicons Halflings'; /* essential for enabling glyphicon */
  content: "\e114"; /* adjust as needed, taken from bootstrap.css */
  float: right; /* adjust as needed */
  color: grey; /* adjust as needed */
}

.panel-heading .accordion-toggle.collapsed:after {
  /* symbol for "collapsed" panels */
  content: "\e080"; /* adjust as needed, taken from bootstrap.css */
}

.nav-button-right {
  height: 100px;
  position: absolute;
  top: 45%;
  right: 0;
}
.nav-button-left {
  height: 100px;
  position: absolute;
  top: 45%;
}

.preconfig-container {
  margin-left: 20px;
  margin-right: 20px;
  height: 800px;
  overflow-y: scroll;
}


input[type=checkbox].element-center {
  margin: 10px 10px 0 0;
  vertical-align: middle;
  float: left;
  width: 100%;
}

.label-description{
  text-align: right; 
  padding-right: 0px;
  margin-top: 5px;
  font-size: 16px;
}

.profile-selectors{
  display: flex;
  justify-content: center;
  padding: 10px;
}

.profile-selectors .label-description{
  padding-right: 5px;
}

.profile-selectors .building-selector{
  width: 250px;
}
.profile-selectors .building-selector .select2-choice{
  height: 34px;
  line-height: 34px;
  border: 1px solid #ccc;
}
.profile-selectors .measurement-selector{
  display: flex;
}
.profile-selectors .media-selector{
  display: flex;
  padding-left: 25px;
}
.profile-selectors .media-selector .medium{
  display: flex;
  padding-right: 5px;
  padding-left: 5px;
  width: 160px;
}
.profile-selectors .media-selector .unit{
  display: flex;
  padding-left: 5px;
  width: 80px;
}
.profile-selectors .dropdown-multiselect button{
  width: 200px;
  text-align: end;
}

.profile-selectors .show-chart-button{
  margin-left: 25px;
  font-size: 16px;
}

.dropdown-selector .select2-choice{
  height: 34px;
  line-height: 34px;
  border: 1px solid #ccc;
}

.measurement-selectors .dropdown-selector{
  width: 100%;
}
.measurement-selectors .dropdown-selector .select2-choice{
  height: 34px;
  line-height: 34px;
  border: 1px solid #ccc;
}
.measurement-selectors .expression-selector{
  font-size: x-large;
  height: 48px;
  width: 100%;
}
.measurement-selectors .caption-bordered{
  color: gray;
  padding-bottom: 7px;
  margin-bottom: 25px;
  border-bottom: 1px solid #d0d0d0;
}
.flex-row-center{
  display: flex;
  justify-content: center;
  padding: 5px;
}
.flex-row{
  display: flex;
  padding: 5px;
}

.flex-item{
  display: flex;
  flex-direction: row;
}
.flex-right, .flex-left{
  flex:1;
  align-self: center;
}

.content-row, .content-col { position: absolute; }
.content-row { left: 0; right: 0; }
.content-col { top: 0; bottom: 0; }
.content-scroll-x { overflow-x: auto; }
.content-scroll-y { overflow-y: auto; }

.content-header.content-row { height: 140px; top: 100px; }
.content-body.content-row.with-header { top: 240px; bottom: 80px; }
.content-body.content-row.without-header { top: 170px; bottom: 80px; }
.content-footer.content-row { height: 80px; bottom: 0; }
.chart-container{
  height: 100%;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
}

.table-content-center{
  font-size: 16px;
  text-align: center;
  vertical-align: middle !important;
}

.menu-logout-content{
  margin: 15px 0;
  color: #777;
}

.menu-logout-content td:first-child{
  padding-right: 10px;
}

.menu-logout-content td:last-child a{
  color: #777;
}
.menu-logout-content td:last-child a:hover{
  color: #333;
  text-decoration: none;
}

.default-profile-with-header{
  position: absolute; 
  top:190px; 
  bottom: 20px; 
  right: 20px; 
  left: 20px;
}
.default-profile-without-header{
  position: absolute; 
  top:120px; 
  bottom: 20px; 
  right: 20px; 
  left: 20px;
}

@-webkit-keyframes glowing {
  0% {
    background-color: #5bc0de;
    border-color: #46b8da;
    -webkit-box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }

  50% {
    background-color: #269abc;
    border-color: #1b6d85;
    -webkit-box-shadow: 0 0 40px #269abc;
    color: #ffd0d0;
  }

  100% {
    background-color: #5bc0de;
    border-color: #46b8da;
    -webkit-box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }
}

@-moz-keyframes glowing {
  0% {
    background-color: #5bc0de;
    border-color: #46b8da;
    -moz-box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }

  50% {
    background-color: #269abc;
    border-color: #1b6d85;
    -moz-box-shadow: 0 0 40px #269abc;
    color: #d9534f;
  }

  100% {
    background-color: #5bc0de;
    border-color: #46b8da;
    -moz-box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }
}

@-o-keyframes glowing {
  0% {
    background-color: #5bc0de;
    border-color: #46b8da;
    box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }

  50% {
    background-color: #269abc;
    border-color: #1b6d85;
    box-shadow: 0 0 40px #269abc;
    color: #d9534f;
  }

  100% {
    background-color: #5bc0de;
    border-color: #46b8da;
    box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }
}

@keyframes glowing {
  0% {
    background-color: #5bc0de;
    border-color: #46b8da;
    box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }

  50% {
    background-color: #269abc;
    border-color: #1b6d85;
    box-shadow: 0 0 40px #269abc;
    color: #ffd0d0;
  }

  100% {
    background-color: #5bc0de;
    border-color: #46b8da;
    box-shadow: 0 0 3px #5bc0de;
    color: #fff;
  }
}

.btn-info-flashing {
-webkit-animation: glowing 1500ms infinite;
-moz-animation: glowing 1500ms infinite;
-o-animation: glowing 1500ms infinite;
animation: glowing 1500ms infinite;
}

@media (max-width: 1599px) {
.responsive-panel .visible-md {
  display: block !important;
}
.responsive-panel table.visible-md {
  display: table !important;
}
.responsive-panel tr.visible-md {
  display: table-row !important;
}
.responsive-panel th.visible-md,
.responsive-panel td.visible-md {
  display: table-cell !important;
}
}

@media (min-width: 1600px) {
.responsive-panel .visible-lg {
  display: block !important;
}
.responsive-panel table.visible-lg {
  display: table !important;
}
.responsive-panel tr.visible-lg {
  display: table-row !important;
}
.responsive-panel th.visible-lg,
.responsive-panel td.visible-lg {
  display: table-cell !important;
}
}

/*Horizontal align for Modal windows*/
@media (min-width: 992px) {
  .modal-lg {
      margin: auto !important;
  }
}