/* original class */


/* .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;
} */





/* @media (min-width: 320px) {
  .custom-container {
    width: 98%;
    margin-right: auto;
    margin-left: auto;
  }

  .dropdown-menu {
    position: relative;
    width: 100%;
    top: auto;
  }

  .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;
  }

  .body-content .well {
    padding-left: 30px;
  }
}

@media (min-width: 768px) {
  .custom-container {
    width: 700px;
    margin-right: auto;
    margin-left: auto;
  }
}

@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%;
  }

  .jumbotron .container {
    width: 92.5%;
  }

  .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: auto;
  }

  .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;
} */

/* 上傳檔案按鈕樣式 */
/* .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;
} */






/* .fix_info .table-bordered th {
  background-color: #142a5a;
  color: #fff;
}

.group-permission .g-setting .form-check {
  padding: 14px;
}

.group-permission .g-setting {
  border: 1px solid #fff;
  margin-bottom: 30px;
}

.group-permission .g-setting .list-group {
  background-color: rgba(76, 109, 156, 0.6);
  margin-bottom: 0;
}

.fix_info {
  overflow: auto;
}

.fix_info table {
  table-layout: auto;
}

.pagination {
  border-radius: 0;
} */


/* input file upload style ================== */
/* 選擇檔案按鈕樣式 */
.file-select-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@media(max-width:767px) {
  .file-select-container {
    display: block;
  }
}

.btn.file-select-style {
  position: relative;
}

.file-select {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

.file-select-name {
  display: inline-block;
  margin: 1vh 0.5vh 0 0.5vh;
  color: #111;
  border: 1px solid #B7CFF0;
  font-size: 18px;
  font-weight: 500;
  border-radius: 0.35rem;
  background-color: #B7CFF0;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  width: 100%;
  word-break: break-word;
}

/* 顯示已上傳檔案 */
.file-success-container {
  border-style: dashed;
  margin: 0.8rem 0rem;
  padding: 0.8rem 0rem;
  border-width: 1px 0px;
  border-color: #94afd6;
  display: flex;
  align-items: center;
}

.file-success-name {
  margin: 0 0.5rem;
  color: #1085f6;
  display: inline-block;
  word-break: break-word;
  font-weight: 500;
  width: 80%;
}

.delete-circle {
  text-align: center;
  width: 25px;
  height: 25px;
  line-height: 25px;
  font-size: 15px;
  border-radius: 50%;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  background-color: #f26565;
  border: none;
}

/* GIS點位連結 */
.GIS-info .row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.GIS-info .row .table-bordered {
  margin-top: 25px;
}

/* 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: 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%);
}

.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;
}

/* @media (max-width: 1300px) {
  .GIS-info .row .table-bordered {
    width: 80%;
  }
}

@media (max-width: 1100px) {
  .fix_info table td a {
    margin-bottom: 5px;
  }
}

@media (max-width: 1024px) {

  .navbar .navbar-collapse .nav-options .dropdown-toggle,
  .navbar .navbar-collapse .nav-login li a {
    font-size: 16px;
  }
}

@media (max-width: 979px) {
  .navbar {
    padding: 0;
    border: none;
  }

  .navbar .navbar-collapse {
    padding: 0;
    background-color: rgb(46 48 112);
  }

  .navbar .nav {
    width: 100%;
    display: block;
    margin: 0;
    border-bottom: 1px dashed rgba(55, 56, 145, 0.3);
  }

  .navbar .navbar-collapse ul.nav>li:hover {
    border-bottom: none;
  }

  .navbar .navbar-collapse .nav-options .dropdown-toggle {
    padding-bottom: 16px;
  }

  .navbar .nav-login {
    border-bottom: transparent;
  }

  .navbar .navbar-collapse .nav-options .dropdown-menu {
    width: 100%;
  }

  .navbar .navbar-collapse .nav-options .dropdown-toggle:before {
    display: none;
  }

  .eventBellContainer {
    right: 64px;
  }
}

@media (max-width: 576px) {
  .navbar .navbar-header .navbar-text {
    display: none;
  }

  .navbar-toggle {
    margin-right: 10px;
  }

  .GIS-info .row .table-bordered {
    width: 80%;
  }
}

@media (max-width: 414px) {
  .navbar .navbar-header .navbar-text {
    padding: 17px 3px 10px 0;
  }
} */

/* main.css ================================== */
/* history-page table */
.history-page table {
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 7px;
  table-layout: unset !important;
}

.history-page thead {
  background-color: #2a598b;
}

.history-page thead th {
  color: white;
  font-weight: 500;
}

.history-page tbody {
  background-color: white;
}

.history-page .btn-table {
  background-color: #E7ECFA;
  border: solid 1.5px #2a598b;
  border-radius: 0.5vh;
  padding: 0.2vh 1vh;
  font-weight: 600;
  font-size: 17px;
}

.history-page .table-history tbody img {
  width: 30vh;
}

.form-control[readonly],
.photoB4 {
  background-color: rgba(189, 204, 216, 0.9);
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

.photo,
.photoB4 {
  border: 1px solid #96acc2;
  border-radius: 0.25rem;
  height: 10rem;
  margin-bottom: 2vh;
}

.photo {
  background-color: #e9ecef;
}

.photo img {
  height: 100%;
}

.camera,
.historyBtn {
  border: none;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 3px 6px;
}

.camera {
  background-color: #FFCE00;
}

.historyBtn {
  background-color: #004EB0;
}

.camera:hover,
.historyBtn:hover {
  box-shadow: rgba(0, 0, 0, 0.7) 0px 0px 7px inset;
}

.camera img,
.historyBtn img {
  width: 6vh;
}

.info {
  color: rgb(85, 85, 85);
  margin-bottom: 1.2vh;
}

.inspector_box {
  /* width: 100px;
  height: 100px; */
}

.inspector_box img {
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
}

.page-inner-title {
  font-weight: bold;
  color: #a7a5d9;
  font-size: 34px;
}

.page-inner-subtitle {
  width: fit-content;
  padding: 6px 48px 6px 16px;
  color: #dff3fd;
  font-weight: bold;
  font-size: 20px;
  background: linear-gradient(to right, #1d388d 40%, #1d388d 60%, #3156c5a6 80%, #00b3ff00 100%);
}

.circle_div {
  /* width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden; */
}