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 {
  /* width: 100px; */
  height: auto;
  padding: 0 0 0 20px;
}
/* .navbar .navbar-header .navbar-brand img {
  width: 100%;
} */
.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: 35px !important;
  border: 0;
  background-color: rgba(16, 41, 88, .5);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 0;
}
.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;
  padding-right: 0;
}
.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;
  font-weight: 500;
  line-height: 20px;
  background-color: #F29100;
  padding: 6px 15px;
  color: #000;
  border: solid 2px #F29100;
  text-align: center;
  margin-right: 10px;
  text-decoration: none;
  border-radius: 0;
  transform: skew(-20deg);
}
.body-content .btn-main div {
  transform: skew(20deg);
}
.body-content .btn-main:hover {
  background-color: #ca7900;
  color: #000;
  border: solid 2px #F29100;
}
.body-content .btn-sub {
  font-size: 19px;
  font-weight: 500;
  line-height: 20px;
  background-color: transparent;
  padding: 6px 15px;
  color: #ffffff;
  border: solid 2px #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
  transform: skew(-20deg);
}
.body-content .btn-sub div {
  transform: skew(20deg);
}
.body-content .btn-sub:hover {
  background-color: #c4c4c4;
  color: #000000;
  border: solid 2px #ffffff;
}
.body-content .btn-third {
  font-size: 19px;
  font-weight: 500;
  line-height: 20px;
  background-color: #0E91D2;
  padding: 6px 15px;
  color: #fff;
  border: solid 2px #0E91D2;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
  transform: skew(-20deg);
}
.body-content .btn-third div {
  transform: skew(20deg);
}
.body-content .btn-third:hover {
  background-color: #0b7fb9;
  border: solid 2px #0E91D2;
}
.body-content .btn-modal {
  font-size: 19px;
  font-weight: 500;
  line-height: 20px;
  background-color: #FABE00;
  padding: 6px 15px;
  color: #000000;
  border: solid 2px #FABE00;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  margin-right: 10px;
  transform: skew(-20deg);
}
.body-content .btn-modal div {
  transform: skew(20deg);
}
.body-content .btn-modal:hover {
  background-color: transparent;
  color: #FABE00;
  border: solid 2px #FABE00;
}

.body-content .btn-ingrid {
  font-size: 16px;
  line-height: 20px;
  background-color: #e5edf7;
  padding: 5px 8px;
  color: #294573;
  border: solid 2px #67748a;
  text-align: center;
  margin: 4px;
  text-decoration: none;
  border-radius: 0;
}

.body-content .btn-ingrid:hover {
  background-color: #294573;
  border: solid 2px #0E3650;
  color:#fff;
}

.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: rgba(18,49,100,.9);
} 

@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: 420px) {
  .custom-container {
    width: 92.5%;
    margin-right: auto;
    margin-left: auto;
  }

  .body-content .datagrid table tbody tr td a {
    padding: 6px 15px;
  }
}
@media (min-width: 768px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  .navbar-collapse ul {
    width: auto;
  }
  .body-content .well .form-group {
    padding: 0 15px !important;
  }
}
@media (min-width: 992px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  /* .navbar-header {
    width: 100%;
  } */

  .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;
  }
  /* .navbar-header {
    width: 100%;
  } */

}
@media (min-width: 1400px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }

  /* .navbar-header {
    width: auto;
  } */

}

/*login*/
.login-background{
  background: url('/img/bg_1.png') no-repeat center top / cover;
  height: 100vh;
  }
  .login-background .logo{
      text-align: center;
  }
  .login-background .logo img{
      width: 120px;
      max-width: 120px;
      margin-bottom: 1.2rem;
  }
  .login-background h1 span{
      color: #314263;
      font-size: 46px;
      padding-right: 2px;
      font-family: Arial;
  }
  .login-background h1{
      color: #314263;
      margin-top: 1rem;
      margin-bottom: 4rem;
      font-size: 40px;
      font-weight: 600;
  }
  .login-background .login{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }
  .login-background .container{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      height: 100%;
  }
  .login-background .form-group{
      width: 340px;
      color: #295083;
      margin-bottom: 1.5rem;      
  }
  .login-background form{
      background-color: #ffffffdb;
      /* margin-top: 25px; */
      padding: 3.5rem;
      box-shadow: 5px 5px 5px #00000096;
  }
  .login-background .form-control{
      height: 42px;
      font-weight: 400;
  }
  .login-background form h2{
      margin-bottom: .5em;
      text-align: center;
      color: #295083;
      font-weight: 400;
  }
  .login-background .form-group .group{
      margin-bottom: 50px;
  }
  .login-background .form-group label{
      line-height: 1.5;
  }
  .login-background .form-group input{
      width: 260px;
      border: 0.5px solid #768091;
      padding-left: 21px;
      margin-left: auto;
      margin-right: auto;
      transform: skew(-20deg);
  }
  .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%;
      text-align: center;
      padding-left: 40px;
      padding-right: 40px;
  }
  .login-background form .btn{
       width: 100%;
       color: #e8f2fa;
       font-size: 18px;
       border: none;
       /* background: rgb(40,93,139);
       background: -webkit-linear-gradient(left, rgba(40,93,139,1) 0%, rgba(63,127,187,1) 100%);
       background: -o-linear-gradient(left, rgba(40,93,139,1) 0%, rgba(63,127,187,1) 100%); */
       background: linear-gradient(to right, rgba(40,93,139,1) 0%, rgba(63,127,187,1) 100%);
       border-radius: 0;
       font-weight: 400;
       padding: 8px 0;
       transform: skew(-20deg);
   }    
  .login-background form .btn div {
    transform: skew(20deg);
  }
  /* .login-background form .btn:hover{
      background: rgb(16,74,112);
      background: -webkit-linear-gradient(left, rgba(16,74,112,1) 0%, rgba(51,111,168,1) 100%);
      background: -o-linear-gradient(left, rgba(16,74,112,1) 0%, rgba(51,111,168,1) 100%);
      background: linear-gradient(to right, rgba(16,74,112,1) 0%, rgba(51,111,168,1) 100%);
   } */
   .login-background form .btn:focus{
      /* border-radius: 21px; */
      border: none;
      outline: none;
   }
   @media (max-width: 320px) {
    .login-background .logo img{
        width: 150px;
    }
    .login-background h1{
        font-size: 30px;
    }
    .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{
    outline: none;
  }


 
}
/* worker_setting */
.worker_setting{
  margin-top: 25px;
}
.worker_info .well{
  background-color: rgba(56, 74, 111, .7);
}
.worker_info .well, .worker_setting .well{
  white-space: nowrap;
  height: auto;
}
.worker_info .well .form-group label, .worker_setting .well .form-group label {
  line-height: 37px;
}
.worker_setting .well{
  border: 1px solid #fff;
}
.worker_setting, .worker_info{
  width: 100%;
}
  
/* 上傳審核 */
.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;
}

