body {
  font-family: 'Siemens Sans Roman', 'Noto Sans TC', sans-serif;
}

.welcome-background {
  background-image: url(/Pics/SmartBuilding.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: top right 8%;
}
.welcome-background .welcome-text {
  padding: 4%;
}
.welcome-background .welcome-text .logo {
  max-width: 170px;
  height: auto;
  margin-top: 3em;
  margin-bottom: 1.8em;
}
.welcome-background .welcome-text .welcome {
  font-size: 3.1em;
  line-height: 52px;
  color: white;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 500;
}
.welcome-background .welcome-text .welcome-title {
  font-size: 2.33em;
  line-height: 52px;
  color: white;
  margin-top: 0;
  margin-bottom: 0.5em;
  text-shadow: 2px 2px 3px #879baa;
}
.welcome-background .welcome-text .welcome-subtitle {
  font-size: 1.3em;
  line-height: 28px;
  color: white;
  margin-top: 0;
  margin-bottom: 2.8em;
  text-shadow: 2px 2px 3px #879baa;
}

.index-body .jumbotron {
  padding: 60px 0 50px 0;
  background: none;
  background-color: #2387aa;
  margin-bottom: 40px;
}
.index-body .jumbotron h1 {
  margin: 0 0 10px 0;
  color: white;
  font-size: 46px;
  line-height: 52px;
}
.index-body .jumbotron h2 {
  font-size: 26px;
  line-height: 32px;
  margin: 0 0 40px 0;
  color: #cdd9e1;
}
.index-body .jumbotron p {
  color: white;
  font-size: 18px;
  line-height: 24px;
}
.index-body .jumbotron .login-form .logo {
  max-width: 170px;
  height: auto;
  margin-top: 3.2em;
  margin-bottom: 2em;
}
.index-body .jumbotron .login-form .index-page-title {
  text-shadow: 2px 2px 3px #879baa;
  font-size: 2.33em;
  line-height: 52px;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 0.5em;
}
.index-body .jumbotron .login-form .index-page-subtitle {
  text-shadow: 2px 2px 3px #879baa;
  font-size: 1.3em;
  line-height: 28px;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 2.8em;
}
.index-body .jumbotron .login-form .btn-login {
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  background-color: #ffffff;
  padding: 6px 15px;
  color: #2387aa;
  border: solid 2px #2387aa;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 0;
}
.index-body .jumbotron .login-form .btn-login:hover {
  background-color: #005578;
  color: #ffffff;
  border: solid 2px #005578;
}
.index-body .jumbotron .login-form .btn-signup {
  font-weight: bold;
  font-size: 20px;
  line-height: 26px;
  background-color: #2387aa;
  padding: 6px 15px;
  color: #ffffff;
  border: solid 2px #2387aa;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
}
.index-body .jumbotron .login-form .btn-signup:hover {
  background-color: #005578;
  color: #ffffff;
  border: solid 2px #005578;
}
.index-body .jumbotron .login-form .form-group .index-label {
  font-size: 18px;
  line-height: 24px;
  color: #2d373c;
}
.index-body .jumbotron .login-form .form-group input {
  border: 1px solid #cdd9e1;
  background-color: #ffffff;
  border-radius: 0;
}
.index-body .jumbotron .login-form .form-group input:focus {
  border: 1px solid #005578;
  box-shadow: none;
}
.index-body .jumbotron .login-form .box-container {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Hide the browser's default checkbox */
  /* Create a custom checkbox */
  /* Create the checkmark/indicator (hidden when not checked) */
  /* Show the checkmark when checked */
  /* Style the checkmark/indicator */
}
.index-body .jumbotron .login-form .box-container .box-p {
  margin-left: 28px;
  color: #2d373c;
  font-size: 14px;
  font-weight: 400;
}
.index-body .jumbotron .login-form .box-container .box-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.index-body .jumbotron .login-form .box-container .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border: 1px #879baa solid;
}
.index-body .jumbotron .login-form .box-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.index-body .jumbotron .login-form .box-container .box-container input:checked ~ .checkmark:after {
  display: block;
}
.index-body .jumbotron .login-form .box-container .box-container .checkmark:after {
  left: 6px;
  top: 1px;
  width: 7px;
  height: 12px;
  border: solid #005578 1px;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.index-body .index-context h1 {
  margin: 0 0 20px 0;
  font-size: 30px;
  line-height: 36px;
}
.index-body .index-context p {
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 20px;
}
.index-body .index-card {
  text-align: center;
}
.index-body .index-card img {
  margin-bottom: 15px;
}
.index-body .index-card a {
  font-size: 18px;
  line-height: 24px;
  color: #2387aa;
  font-weight: 500;
}
.index-body .index-card a:hover {
  color: #005578;
}
.index-body .index-card p {
  font-size: 14px;
  line-height: 20px;
  margin: 5px 0 25px 0;
}
.index-body .section {
  color: white;
  padding: 30px 0 15px 0;
  background-color: #006487;
  margin-bottom: 15px;
}
.index-body .section h3 {
  margin: 0 0 15px 0;
}
.index-body .section p {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.navbar {
  background-color: #ebf0f5;
  padding: 0px;
  min-height: 4vh;
}
.navbar .navbar-header .navbar-brand {
  font-size: 18px;
  height: 18px;
  padding: 1vh 0 1.7vh 2vh;
}
.navbar .navbar-header .navbar-brand .siemens-logo {
  height: 18px;
}
.navbar .navbar-header .navbar-text {
  font-size: 18px;
  font-weight: 500;
  color: #009999;
  padding: 1.7vh 0.8vh 1.5vh 1.8vh;
  margin: 0;
  line-height: 20px;
}
.navbar-right {
  margin-right: 5vh;
}
.navbar-toggle {
  padding: 0.9vh 0.9vh;
}
.navbar-toggle .icon-bar {
  border: 0.15vh solid white;
  width: 2.5vh;
  height: 0.1vh;  
  background-color: #fff;
  border: 0.15vh solid #fff;
}
.body-content {
  margin-bottom: 0;
}
.body-content .page-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2.88em;
  line-height: 52px;
  color: #2d373c;
}
.body-content .well {
  background-color: #475f77;
  color: #2d373c;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding: 15px 20px 20px 15px;
}
.body-content .well hr {
  border: 0;
  clear: both;
  display: block;
  width: 100%;
  background-color: #cdd9e1;
  height: 1px;
  margin: 0 0 30px 0;
}
.body-content .well .form-group {
  color: #788791;
  font-size: 14px;
  width: 100%;
}
.body-content .well .form-group div {
  padding-right: 0;
}
.body-content .well .form-group label {
  color: #2d373c;
  text-align: right;
  padding-top: 2px;
}
.body-content .well .form-group .form-control {
  width: 100%;
  margin-bottom: 2vh;
  height: 4.6vh;
  padding: 0.5vh 1vh;
  font-size: 2.2vh;
}
.body-content table {
  text-align: left;
}
.table > tbody > tr > td {
  padding: 0.8vh 0.8vh 0.8vh 1.8vh;
  font-size: 2vh;
}
.body-content table thead tr {
  background-color: #dfe6ed;
}
.body-content table thead tr th {
  text-align: center;
}
.body-content table thead tr .th-min {
  width: 12%;
}
.body-content table thead tr .th-first {
  width: 15%;
}
.body-content table thead tr .th-second {
  width: 35%;
}
.body-content table thead tr .th-25 {
  width: 25%;
}
.body-content table tbody tr th {
  text-align: center;
}
.body-content .btn-sub {
  /* font-weight: bold; */
  font-size: 2.2vh;
  line-height: 2.4vh;
  background-color: #ffffff;
  padding: 0.8vh 1.6vh;
  color: #269ba8;
  border: solid 2px #269ba8;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 0;
}
.body-content .btn-sub:hover {
  background-color: #018796;
  color: #ffffff;
  border: solid 2px #018796;
}
.body-content .btn-main {
  /* font-weight: bold; */
  font-size: 2.2vh;
  line-height: 2.4vh;
  background-color: #269ba8;
  padding: 0.8vh 1.6vh;
  color: #ffffff;
  border: solid 2px #269ba8;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
}
.body-content .btn-main:hover {
  background-color: #018796;
  color: #ffffff;
  border: solid 2px #018796;
}
.body-content .btn-third {
  font-weight: bold;
  font-size: 2.2vh;
  line-height: 2.4vh;
  background-color: #3fb9df;
  padding: 0.8vh 1.6vh;
  color: #ffffff;
  border: solid 2px #3fb9df;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
}
.body-content .btn-third:hover {
  background-color: #018796;
  color: #ffffff;
  border: solid 2px #018796;
}
.body-content .panel {
  margin: 3vh 0 0 0;
}
.body-content .datagrid table tbody tr td a {
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  padding: 6px 15px;
  color: #2387aa;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin: 0;
  cursor: pointer;
}
.body-content .datagrid table tbody tr td a:hover {
  color: #005578;
  text-decoration: underline;
}
.body-content .alert-danger {
  text-align: center;
}

@media (min-width: 320px) {
  .custom-container {
    width: 92.5%;
    margin-right: auto;
    margin-left: auto;
  }

  .welcome-background {
    background-position: top left;
  }

  .index-body .jumbotron .container {
    width: 88%;
  }
  .index-body .index-context, .index-body .index-card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .index-body .section .container {
    width: 82%;
    margin-left: auto;
    margin-right: auto;
  }
  .index-body .section .container h3 {
    margin-top: 20px;
  }
}
@media (min-width: 400px) {
  .custom-container {
    width: 92.5%;
    margin-right: auto;
    margin-left: auto;
  }

  .welcome-background {
    background-position: top left 20%;
  }
}
@media (min-width: 768px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-collapse ul {
    width: auto;
  }

  .welcome-background {
    background-position: top right 30%;
  }
}
@media (min-width: 992px) {
  .custom-container {
    width: 930px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-header {
    /* width: 100%; */
    height: 4.5vh;
  }

  .welcome-background {
    background-position: top right 12%;
  }

  .jumbotron .container {
    width: 92.5%;
  }
}
@media (min-width: 1250px) {
  .custom-container {
    width: 1050px;
    margin-right: auto;
    margin-left: auto;
  }

  /* .navbar-header {
    width: 100%;
  } */

  .welcome-background {
    background-position: top right 12%;
  }
}
@media (min-width: 1400px) {
  .custom-container {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }

  /* .navbar-header {
    width: auto;
  } */

  .welcome-background {
    background-position: top right 5%;
  }
}
    /* @media (min-width: 320px) {
    .body-content {
        margin-top: 90px;
    }
}

@media (min-width: 766px) {
    .body-content {
        margin-top: 190px;
    }
}

@media (min-width: 914px) {
    .body-content {
        margin-top: 140px;
    }
}

@media (min-width: 1073px) {
    .body-content {
        margin-top: 90px;
    }
}

@media (min-width: 1308px) {
    .body-content {
        margin-top: 40px;
    }
}

@media (min-width: 1308px) and (max-width: 1462px) {
    .body-content {
        margin-top: 90px;
    }
} */

.btn-datagrid {
  padding: 0.2vh 1vh !important;
  font-size: 1.8vh;
  box-shadow: 1px 1px 1px 1px rgb(0 0 0 / 20%);
  margin-bottom: 0.3vh;
  background-color: #e2e2e2;
}

.eventBellContainer {
  position: absolute;
  right: 15px;
}
.eventBell {
  width: 32px;
  height: 30px;
  margin: 10px;
  cursor: pointer;
}
.eventBell .eventCount {
  display: block;
  position: absolute;
  text-align: center;
  min-width: 20px;
  padding: 0 4px 3px 3px;
  background-color: red;
  line-height: 17px;
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  top: 10%;
  left: 60%;
}
.eventBell .event-info {
  display: none;
  position: absolute;
  z-index: 3000;
  max-height: 400px;
  overflow-y: auto;
  list-style: none;
  left: -254px;
  padding: 0px;
  font-size: 18px;
  width: 400px;
  font-weight: 500;
  border-radius: 5px 0px 5px 5px;
  color: #0a3e7c;
  box-shadow: 2px 2px 8px #00000073;
  background-color: #a9c5ef;
  background: linear-gradient(135deg, #e8effe -6%, #d2dcff 47%, #c6dbff 83%);
}

.spacePercentage tbody tr th {
  width: 5% !important;
  background-color: #dfe6ed;
}

.chartInfo .blueDot {
  background-color: #3284ba;
  color: #3284ba;
}
.chartInfo .greenDot {
  background-color: #4cb9b9;
  color: #4cb9b9;
}
.chartInfo .yellowDot {
  background-color: #efcf48;
  color: #efcf48;
}
.chartInfo .orangeDot {
  background-color: #f29f40;
  color: #f29f40;
}
.chartInfo .redDot {
  background-color: #f0706f;
  color: #f0706f;
}
.typeName, .typeNum {
  color: white;
}
.typeName {
  margin-left: 1.5vh;
  font-size: 2vh;
}
.chart-title {
  color: white;
  font-size: 2.2vh;
  font-weight: 600;
  padding: 1vh;
  padding-right: 10vh;
  background-image: linear-gradient(to right, #59697e, #48576d00);
}
.chartInfo div {
  margin-bottom: 2vh;
}
.typeNum {
  margin-right: 0vh;
}.typeNum {
  float: right;
  /* margin-right: 6vh; */
  font-size: 2vh;
}