body {
  font-family: 'Siemens Sans Roman', 'Noto Sans TC', sans-serif;
  background-color: #28547e;
}
body footer {
  color: #cdd9e1;
}

.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 {
  margin-left: 7px;
  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 {
  margin-left: 7px;
  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: rgba(110,135,165,.3);
  padding-bottom: 1px;
  border-radius: 0;
  padding: 4px;
}
.navbar .nav{
  display: flex;
  flex-wrap: wrap;
}
.navbar .nav li {
  text-align: center !important;
}
.navbar:before, .navbar-collapse:before, .nav:before, .navbar-header:before{
  content: "";
  display: none;
}
.navbar .navbar-header .navbar-brand{
  padding: 7px;
}
.navbar .navbar-header .navbar-brand .siemens-logo {
  /* height: 24px; */
  width: 190px;
  margin-left: 12px;
}
.navbar .navbar-header .navbar-text {
  font-size: 20px;
  font-weight: 500;
  color: #deeff1;
  padding: 17px 10px 10px 15px;
  margin: 0;
  line-height: 20px;
}
/* .navbar .navbar-collapse ul.nav > li:hover {
  border-bottom: solid 4px #17b5e8;
} */
.navbar .navbar-collapse ul.nav > li:hover .dropdown-toggle {
  color: #17b5e8;
}
.navbar .navbar-collapse ul.nav > li {
  border-bottom: 0;
}
.navbar .navbar-collapse .nav-options .dropdown-toggle {
  color: #e0eaf1;
  font-size: 19px;
  padding: 16px 10px 12px 10px;
  text-align: center;
}
.navbar .navbar-collapse .nav-options .dropdown-toggle:hover {
  color: #17b5e8;
  background-color: transparent;
}
.navbar .navbar-collapse .nav-options .dropdown-toggle:focus {
  color: #019cd1;
  background-color: transparent;
}
.dropdown-menu .divider {
  background-color: #96a9b1;
}

.navbar .navbar-collapse .nav-options .dropdown-menu {
  padding: 10px 0;
  margin-top: 0;
  background-color: rgba(232,241,249,.97);
  font-size: 18px;
  min-width: 240px;
}
.navbar .navbar-collapse .nav-options .dropdown-menu li a {
  color: #2d373c;
  font-size: 18px;
  padding: 4.5px 20px;
}
.navbar .navbar-collapse .nav-options .dropdown-menu li a:hover {
  color: #2d373c;
  background-color: #c6d7e9;
  text-decoration: none;
}
.navbar .navbar-collapse .nav-login li a {
  color: #cdd9e1;
  font-size: 18px;
  padding: 16px 10px 16px 10px;
  text-align: center;
}
.navbar .navbar-collapse .nav-login li a:hover {
  color: #2387aa;
  background-color: #ebf0f5;
  background-color: #dfe6ed;
  background-color: transparent;
}
.navbar .navbar-collapse .nav-login .btn-logout {
  padding: 16px 10px 16px 10px;
  margin-right: 10px;
}
.navbar-toggle .icon-bar{
  background-color: #fff;
}
.body-content {
  margin-bottom: 60px;
}
.body-content .page-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 54px;
  color: white;
  text-shadow: #becdd7 0px 0px 4px;
}
.body-content .well {
  background-image: url(../Pics/dashboard.png);
  background-size: cover;
  background-position: top;
  color: #2d373c;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  padding: 30px 30px 30px 0;
  border: 0;
  border-radius: 6px;
}
.body-content .well form .row {
  padding: 0 0 0 15px;
  margin-bottom: 0;
}
.body-content .well form hr {
  border: 0;
  clear: both;
  display: block;
  width: 100%;
  background-color: #cdd9e1;
  height: 1px;
  margin: 0 0 30px 0;
}
.body-content .well form .form-group {
  color: #788791;
  font-size: 18px;
  width: 100%;
  line-height: 24px;
}
.body-content .well form .form-group textarea {
  padding: 0;
  width: 100%;
  height: 135px;
}
.body-content .well form .form-group div {
  padding-right: 0;
}
.body-content .well form .form-group label {
  color: white;
  text-align: right;
  padding-top: 2px;
  margin: 0;
  font-weight: 500;
  font-size: 18px;
}
.body-content .well form .form-group .form-control {
  width: 100%;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 24px;
  height: 38px;
}
.body-content table {
  text-align: center;
}
.body-content table thead tr {
  background-image: url(../Pics/dashboard.png);
}
.body-content table thead tr th {
  text-align: center;
  color: white;
}
.body-content table thead tr .th-first {
  width: 15%;
  color: white;
}
.body-content table thead tr .th-second {
  width: 35%;
  color: white;
}
.body-content table thead tr .th-others {
  color: white;
}
.body-content table tbody tr th, .body-content table tbody tr td {
  text-align: center;
  color: white;
}
.body-content .btn-main {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  background-color: #e69605;
  padding: 6px 15px;
  color: #ffffff;
  border: solid 2px #e69605;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 20px;
}
.body-content .btn-main:hover {
  background-color: #faa50a;
  color: #ffffff;
  border: solid 2px #faa50a;
}
.body-content .btn-sub {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
  background-color: #0089d1;
  padding: 6px 15px;
  color: white;
  border: solid 2px #0089d1;
  text-align: center;
  text-decoration: none;
  border-radius: 20px;
}
.body-content .btn-sub:hover {
  background-color: #0095e4;
  color: #ffffff;
  border: solid 2px #0095e4;
}
.body-content .panel {
  margin: 40px 0 0 0;
}
.body-content .datagrid table tbody tr td a {
  font-weight: 500;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  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: 98%;
    margin-right: auto;
    margin-left: auto;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    position: relative;
    width: 100%;
    top: auto;
  }
  .dropdown-menu li {
    padding: 6px 30px 6px 30px;
  }

  .yamm-content {
    text-align: center;
  }
  .yamm-content span {
    font-size: 18px;
    line-height: 32px;
  }

  .welcome-background {
    background-position: top left;
  }

  .body-content .well {
    padding-left: 30px;
  }

  .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: 98%;
    margin-right: auto;
    margin-left: auto;
  }

  .welcome-background {
    background-position: top left 20%;
  }

  .body-content .well {
    padding-left: 30px;
  }
}
@media (min-width: 768px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .welcome-background {
    background-position: top right 30%;
  }
}
@media (min-width: 979px) {
  .body-content .well {
    padding-left: 0;
  }

  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .dropdown-menu {
    position: absolute;
  }
  .dropdown-menu li {
    padding: 0;
  }

  .navbar-header {
    width: 100%;
  }

  .welcome-background {
    background-position: top right 12%;
  }

  .jumbotron .container {
    width: 92.5%;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .yamm-content {
    text-align: left;
  }
  .yamm-content span {
    padding: 5px 50px 5px 0;
    font-size: 18px;
    line-height: 32px;
  }
  .yamm-content .span-title {
    padding: 5px 0 5px 50px;
  }
}
@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%;
  }
}
.yamm .nav, .yamm .collapse, .yamm .dropup, .yamm .dropdown {
  position: static;
}
.yamm .container {
  position: relative;
}
.yamm .yamm-content {
  padding: 0 0;
}
.yamm .yamm-content a:hover span {
  background-color: #dfe6ed;
}
.yamm .yamm-content a:hover .span-title {
  text-decoration: underline;
}
.yamm .dropdown.yamm-fw .dropdown-menu {
  top: 90%;
  left: 0;
  right: 0;
  width: auto;
  max-width: 1400px;
  margin: auto;
}
@media (max-width: 979px) {
  .navbar{
    background-color: rgba(55,102,158,.8);
    padding: 0;
  }
  .navbar .nav{
    display: block;
  }
  .yamm .dropdown.yamm-fw .dropdown-menu{
    top: 0;
    width: 100%;
  }
  .show{
    background-color: rgba(59,101,146,.85);
  }
  .navbar .navbar-collapse ul.nav > li:hover {
    border-bottom: none;
  }
  .navbar .navbar-collapse .nav-options .dropdown-toggle{
    padding-bottom: 16px;
  }
}
    /* @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;
    }
} */

/* 上傳檔案按鈕樣式 */
.well .form .uploadModel .file {
  position: relative;
  display: inline-block;
  text-decoration: none;
  overflow: hidden;
  text-indent: 0;
  cursor: pointer;
}
.well .form .uploadModel .file input {
  position: absolute;
  font-size: 50px;
  right: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
}
.well .form .uploadModel .clean {
  color: #fff;
  padding: 5px 10px;
  background-color: #0000007d;
  font-size: 12px;
  border-radius: 20px;
  margin-left: 1rem;
}
.well .form .uploadModel .uploadImage{
  margin-top: 10px; 
}
.well .form .uploadModel .uploadImage img{
  max-width: 300px;
}
.well .form .uploadModel .uploadImage ul{
  list-style: none;
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
}
.well .form .uploadModel .uploadImage ul a{
  color: #fff;
}
.well .form .uploadModel .uploadImage ul li{
  padding-bottom: 10px;
  margin-right: 25px;
  margin-top: 25px;
  position: relative;
}
.well form .uploadModel .uploadImage .clean{
  color: #fff;
    padding: 2px 8px;
    background-color: #9f3b23;
    font-size: 12px;
    border-radius: 20px;
    margin-left: 1rem;
    border: 1px solid #fff;
}
.uploadModel .uploadImage .clean:focus{
  border: none;
  outline: none;
}

body .datagrid-wrap {
  max-height: 400px !important;
}

/* datagrid button */
.body-content .btn-datagrid{
  font-size: 16px;
  padding: 4px 10px;
  /* margin: 4px; */
  border-radius: 6px;
  border: 2px solid #0089d1;
  background-color: #d8e4f1;
}
.body-content .btn-datagrid:hover{
  background-color: #0095e4;
  color: #fff;
}
.body-content .btn-datagrid:focus{
  border: 2px solid #0089d1;
  outline: none;
}


/* 營運管理>廠商績效評估 評分項目排版 */
body .body-content table.Performance-table thead tr .th-second{
  width:20%;
}
.Performance-table .question{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

@media(max-width:767px){
  body .body-content table.Performance-table thead tr .th-second{
    width:40%;
  }
  .Performance-table .question{
    margin:0 auto;
    max-width: 130px;
    flex-direction: column-reverse;
  }

}

@media (min-width: 1754px) {
  #OMap {
      top: 60px;
  }        
}
@media (max-width: 1753px) {
  #OMap {
      top: 107px;
  }
}