body {
  font-family: 'Siemens Sans Roman', 'Noto Sans TC', sans-serif;
}
.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 .navbar-header{
  display: flex;
  align-items: center;
}
.navbar .navbar-header .navbar-brand {
  height: auto;
  padding: 0 0 0 20px;
}
.navbar .navbar-header .navbar-brand img {
  max-height: 39px;
}
.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 {
  padding: 30px 30px 30px 0;
  border: 0;
  /* background-color: rgba(16, 41, 88, .5); */
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
  background-color: #006c75;
}
.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;
  white-space: nowrap;
}
.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-size: 19px;
  line-height: 20px;
  background-color: rgba(255,255,255,0.1);
  padding: 6px 15px;
  color: #f1a54b;
  border: solid 2px #f1a54b;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 50px;
}
.body-content .btn-main:hover {
  background-color: #cf8e42;
  color: #ffffff;
  border: solid 2px #cf8e42;
}
.body-content .btn-sub {
  font-size: 19px;
  line-height: 20px;
  background-color: #f1a54b;
  padding: 6px 15px;
  color: #ffffff;
  border: solid 2px #f1a54b;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  margin-right: 10px;
}
.body-content .btn-sub:hover {
  background-color: #cf8e42;
  color: #ffffff;
  border: solid 2px #cf8e42;
}
.body-content .btn-third {
  font-size: 19px;
  line-height: 20px;
  background-color: #f1a54b;
  padding: 6px 15px;
  color: #fff;
  border: solid 2px #f1a54b;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  margin-right: 10px;
}
.body-content .btn-third:hover {
  background-color: #cf8e42;
  border: solid 2px #cf8e42;
}

.body-content .btn-ingrid {
  font-size: 16px;
  line-height: 20px;
  background-color: #e5edf7;
  padding: 5px 8px;
  color: #006C75;
  border: solid 2px#006C75;
  text-align: center;
  margin: 4px;
  text-decoration: none;
}

.body-content .btn-ingrid:hover {
  background-color: #006C75;
  border: solid 2px #00464c;
  color:#fff;
}

body .body-content .alert-danger {
  color: white;
  background-color: #FA625D;
  border-color: #FA625D;
}

.body-content .panel {
  margin: 40px 0 0 0;
  border-radius: 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;
  border: none;
  background-color: rgba(256,256,256,.2);
  padding-bottom: 10px;
  padding-top: 5px;
}
.body-content .alert-danger {
  text-align: center;
}
.body-content .custom-container .table > thead:first-child > tr:first-child > th{
  color: #fff;
  background-color: #006c75;
} 

@media (min-width: 320px) {
  .custom-container {
    width: 92.5%;
    margin-right: auto;
    margin-left: auto;
  }
  .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;
  }
  .body-content .well {
    padding: 30px;
  }
}
@media (min-width: 400px) {
  .custom-container {
    width: 92.5%;
    margin-right: auto;
    margin-left: auto;
  }
}
@media (min-width: 768px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-collapse ul {
    width: auto;
  }

}
@media (min-width: 992px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
  .jumbotron .container {
    width: 92.5%;
  }
  body .body-content .well .form-group label {
    font-size: 16px;
  }
}
@media (min-width: 1200px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media (min-width: 1400px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*login*/
.login-background{
  background: url('/img/VGHTPE_login_PC2.png') no-repeat center left / cover;
  height: 100vh;
  }
  .login-background .logo{
      text-align: center;
  }
  .login-background .logo img{
      width: 320px;
  }
  .login-background h1 span{
      color: #314263;
      font-size: 46px;
      padding-right: 2px;
      font-family: Arial;
  }
  .login-background h1{
      color: #314263;
      margin-top: 4px;
      margin-bottom: 12px;
      font-size: 40px;
      font-style:italic;
  }
  .login-background .login{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
  .login-background .container{
    position: fixed;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: url(../img/plaid.png);
    background-color: #6bece194;
    width: 100%;
  }

  @media(min-width:992px){
    .login-background .container{
      background-color: #ffffff;
      width: 30%;
    }
  }
  .login-background .form-group{
      padding: 15px 40px;
      width: 340px;
      color: #295083;
  }
  .login-background form{
      margin-top: 25px;
  }
  .login-background .form-control{
      height: 42px;
      font-weight: 400;
  }
  .login-background form h2{
    margin-top: .5em;
    margin-bottom: .5em;
    text-align: center;
    color: #13146e;
    font-weight: 500;
    letter-spacing: .1em;
    font-size: 26px;
  }
  .login-background .form-group .group{
      margin-bottom: 50px;
  }
  .login-background .form-group label{
      line-height: 1.5;
  }
  .login-background .form-group input{
    width: 100%;
    border: none;
    padding-left: 15px;
    border-radius: 0;
    background-color: #e9e8e7;
  }
  .login-background ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
      color: #4c596f;
      opacity: 1; /* Firefox */
  }
  .login-background :-ms-input-placeholder { /* Internet Explorer 10-11 */
      color: #4c596f;
  }
  .login-background ::-ms-input-placeholder { /* Microsoft Edge */
      color: #4c596f;
  }
  .login-background .form-check{
    padding-left: 40px;
    padding-top: 6px;
  }
  .login-background .form-check input[type="checkbox"]{
    border-radius: 0;
  }
  .login-background .form-check input[type="checkbox"]:focus{
    outline: none;
  }
  .login-background .form-check-label{
    margin-bottom: 20px;
    color: #4c596f;
    font-size: 16px;
    font-weight: 400;
  }
  .login-background .btn-group{
      width: 100%;
      padding-bottom: 3.4em;
      text-align: center;
      padding-left: 40px;
      padding-right: 40px;
  }
  .login-background form .btn{
       width: 100%;
       color: #e8f2fa;
       font-size: 18px;
       border: none;
       background-color: #13146e;
       border-radius: 20px;
       font-weight: 400;
       padding: 8px 0;
   } 
  .login-background form .btn:hover, .login-background form .btn:focus{
    background-color: #2d51b7;
    outline: none;
    
   }
   @media (max-width: 320px) {

    .login-background .logo span{
        font-size: 33px;
    }
    .login-background form{
        margin-top: 15px;
    }
    .login-background form h2{
        margin-top: 1em;
    }
    .login-background .form-group{
        width: 290px;
        padding: 15px 25px;
    }
    .login-background .btn-group{
        padding-left: 25px;
        padding-right: 25px;
    }
    .login-background .form-check{
      padding-left: 25px;
    }
    }
/*login*/

@media (max-width: 979px) {
  .dropdown-menu{
    position: static;
    float: none;
  }
  }

  body .btn:focus, body .btn:active:focus{
    outline: none;
  }

  body .btn:active{
    box-shadow: none;
  }

 /* worker_setting */
  .worker_setting{
    margin-top: 25px;
  }
  .worker_info .well{
    background-color: rgb(0 108 117 / 71%);
  }
  .worker_setting .well{
    border: 1px solid #fff;
  }
  .worker_setting, .worker_info{
    width: 100%;
  }
  
  /*群組管理checkbox*/
    .group-permission .well{
        padding:30px;
    }
    .group-permission .g-setting{
        /* border: 1px solid #fff; */
        margin-bottom: 30px;
    }
    .group-permission .g-setting .list-group{
        background-color: rgb(5 121 131);
        margin-bottom: 0;
    }
    .group-permission .g-setting .form-check{
        padding: 5px 14px;
    }
    /* .body-content .group-permission .well .form-group .form-control{
      width: auto;
      display: inline-block;
    } */

    /* 權限管理 */
    .building-header {
      padding: 0.75rem 1.25rem 0.75rem 1.25rem;
      margin-bottom: 0;
      color: #000;
      background-color: rgba(76,109,159,.6);
      border-bottom: 1px solid rgba(149,184,231,.3);
    }
    .upload-btn .building-header{
      border: none;
      background-color: transparent;
      padding: 0;
      margin-bottom: 2rem;
    }
    .space-header {
        padding: 0.75rem 1.25rem 0.75rem 3.5rem;
        margin-bottom: 0;
        background-color: rgba(112,144,193,.5);
        border-bottom: 1px solid rgba(149,184,231,.3);
    }
    .body-content .accordion table {
        text-align: left;
    }
    .body-content .accordion table tbody tr td{
        padding-left: 5.75rem;
        border-bottom: 1px solid rgba(160,187,224,.3);
        border-top: none;
    }
    .body-content .accordion .table-hover tbody{
        background-color: rgba(174,198,230,.4);
    }
    .accordion{
        margin-bottom: 1rem;
        background-color: transparent;
        border-color: #bfddff;
    }
    .body-content .setList{
        border: 1px solid #7993b7;
    }
    .body-content .setList ul{
        background-color: #f7faff;
        padding: 0px;
        margin-bottom: 0px;
        border-bottom: 1px solid #7993b7;
    }
    .body-content .setList ul h5{
        margin: 0;
        font-size: 17px;
        font-weight: 500;
        padding: 12px;
        color: #2c4f81;
        background-color: #d6e4f7;
    }
    .body-content .setList ul li{
        background-color: white;
        color: #333;
        font-size: 15px;
        padding: 5px 10px;
        list-style: none;
        border-top: 1px dashed #c4d0e0;
        white-space: pre-wrap;
    }
    .table-hover > tbody > tr:hover {
      background-color: transparent;
    }
    /* 上傳審核 */
    .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 li{
        padding-bottom: 10px;
        margin-right: 25px;
        margin-top: 25px;
        position: relative;
    }
    .well form .uploadModel .uploadImage .clean{
        color: #fff;
        padding: 5px 10px;
        background-color: #9f3b23;
        font-size: 12px;
        border-radius: 20px;
        margin-left: 1rem;
        position: absolute;
        right: -15px;
        top: -15px;
        border: none;
    }
    .uploadModel .uploadImage .clean:focus{
        border: none;
        outline: none;
    }
    /* navbar修正 */
    @media (min-width: 1031px){
        .navbar-right{
          margin-right: 0;
        }
    }

/* bell */
.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: 16px;
  width: 300px;
  font-weight: 500;
  border-radius: 5px 0px 5px 5px;
  color: #0a3e7c;
  box-shadow: 2px 2px 8px #16737c;
  background-color: #a9c5ef;
  background: linear-gradient(135deg, #d3fafb -6%, #c7fcff 47%, #aef8fd 83%);
}
.eventBell .event-info li {
  padding: 10px 15px;
  border-bottom: dotted #4f7a93 1px;
}
.eventBell .event-info .subColor {
  font-size: 16px;
  color: #607190;
  font-weight: 400;
}
.eventBell .event-info .Title {
  display: inline-block;
  padding-top: 5px;
  color: #262660;
  font-size: 19px;
}

.nav-login{
  margin-right: 50px;
}
@media (max-width: 979px) {
  .eventBellContainer {
    right: 64px;
  }
  .nav-login{
    margin-right: -15px;
  }
}