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;
}
.navbar .navbar-header .navbar-brand {
  font-size: 18px;
  height: 18px;
  padding: 17px 0 17px 20px;
}
.navbar .navbar-header .navbar-brand .siemens-logo {
  height: 18px;
}
.navbar .navbar-header .navbar-text {
  font-size: 18px;
  font-weight: 500;
  color: #009999;
  padding: 17px 10px 17px 20px;
  margin: 0;
  line-height: 20px;
}

.body-content {
  margin-bottom: 60px;
}
.body-content .page-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 2.88em;
  line-height: 52px;
  color: #2d373c;
}
.body-content .well {
  background-color: #ebf0f5;
  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: 20px;
}
.body-content table {
  text-align: center;
}
.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-main {
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  background-color: #ffffff;
  padding: 6px 15px;
  color: #42BDCA;
  border: solid 2px #42BDCA;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 0;
}
.body-content .btn-main:hover {
  background-color: #018796;
  color: #ffffff;
  border: solid 2px #018796;
}
.body-content .btn-sub {
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  background-color: #42BDCA;
  padding: 6px 15px;
  color: #ffffff;
  border: solid 2px #42BDCA;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
}
.body-content .btn-sub:hover {
  background-color: #018796;
  color: #ffffff;
  border: solid 2px #018796;
}
.body-content .btn-third {
  font-weight: bold;
  font-size: 18px;
  line-height: 20px;
  background-color: #3fb9df;
  padding: 6px 15px;
  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: 40px 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: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-header {
    width: 100%;
  }

  .welcome-background {
    background-position: top right 12%;
  }

  .jumbotron .container {
    width: 92.5%;
  }
}
@media (min-width: 1200px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-header {
    width: 100%;
  }

  .welcome-background {
    background-position: top right 12%;
  }
}
@media (min-width: 1400px) {
  .custom-container {
    width: 700px;
    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;
    }
} */
