@import url("http://fonts.googleapis.com/css?family=Rationale");
$myfont: "微軟正黑體";
$myfontsize: 14px;
@mixin label-status($colorLabelStatus) {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  background-color: $colorLabelStatus;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.scroll {
  max-height: 300px;
  overflow-y: auto;

}

.checkboxselect {
  background-color: #4dec1d;
}

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
  top: .8rem;
  width: 1.55rem;
  height: 1.55rem;
}

.checkbox-lg .custom-control-label {
  padding-top: 13px;
  padding-left: 6px;
}


.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
  top: 1.2rem;
  width: 1.85rem;
  height: 1.85rem;
}

.checkbox-xl .custom-control-label {
  padding-top: 23px;
  padding-left: 10px;
}





*,
.rc-anchor-checkbox-label,
.modal-title,
.addUser,
.btn {
  font-family: $myfont;
}

html{
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: 0 80%;
  min-height: 100vh;
  background-color: #f2f2f2;
}

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  font-family: $myfont;
  background-color: #f2f2f2;
  // -ms-overflow-style: -ms-autohiding-scrollbar;
}

.login-bg {
  // background-image: url("../img/login-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

// https://lh4.googleusercontent.com/-XplyTa1Za-I/VMSgIyAYkHI/AAAAAAAADxM/oL-rD6VP4ts/w1184-h666/Android-Lollipop-wallpapers-Google-Now-Wallpaper-2.png
.noLogin-repair-bg {
  // background-image: url("../img/unlogin-repair-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.noLogin-repair-tab {
  background-color: rgba(255, 255, 255, 0.13);
}

.content-block {
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.content-block-dashboard {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  width: 100%;
  height: 100%; // &:hover {
  //   box-shadow: 1px 1px 20px grey;
  //   -webkit-transition: box-shadow 0.3s ease-in;
  // }
}

.loginCard {
  border-radius: 10px;
  border: none;
  background-color: rgba(
    164, 183, 193, 0.5
  ); // background-color: rgba(0, 0, 0, 0.13);
  // &:hover {
  //   box-shadow: 1px 1px 200px #fff279;
  //   border: none;
  //   -webkit-transition: box-shadow 0.3s ease-in;
  // }
}

h1.loginCard-title {
  color: white;
  font-weight: bold;
  word-spacing: 10px;
}

h2.title {
  font-family: $myfont;
  display: flex;
  margin-bottom: 10px;
  color: #4883a1;
  font-size: 35px;
  // font-weight: bold;
}

span.subtitle {
  color: #a9a9a9;
}

.light-map-title {
  font-family: $myfont;
  font-weight: bold;
  font-size: 14px;
}

ul.map li {
  // list-style-type: none;
  list-style-image: url("https://www.shareicon.net/data/12x12/2016/10/11/842365_keyboard_512x512.png");
  list-style-position: outside; //text-align: center;
  font-size: 14px;
  margin-bottom: 5px;
}

//https://www.shareicon.net/data/32x32/2016/11/03/849864_light-bulb_512x512.png
.accordion:hover .nav-stacked,
.btn-group:hover .dropdown-menu,
.dropdown:hover .dropdown-menu {
  display: block;
}

.table > thead > tr > th {
  cursor: pointer;
}

.table > thead > tr > th,
.table > tbody > tr > td {
  vertical-align: middle;
  text-align: center;
}

.label-enabled {
  @include label-status(#73a839);
}

.label-disabled {
  @include label-status(#f0ad4e);
}

.btn-sign-out {
  padding: 0.25rem 0.5rem;
  font-size: 15px;
  margin-right: 30px;
  color: #ffffff;
  border-radius: 99em;
  background-color: #63c2de;
  border-color: #63c2de;
  &:hover {
    background: darken(#63c2de, 5%);
  }
}

.btn-footer {
  text-align: center;
  margin: 0% auto;
}

.btn-bar {
  text-align: center;
  margin: 5px;
}

.noData {
  text-align: center;
  padding: 100px;
  font-size: 30px;
  color: #a9a9a9;
}

.dashboardClock {
  font-size: 50px;
  font-family: 'Rationale';
  font-weight: bold;
  padding: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: center;
  letter-spacing: 3px;
  color: #4883a1;
  text-shadow: #a4b7c1 6px 2px 5px; // background-color: #666666;
  // -webkit-background-clip: text;
  // -moz-background-clip: text;
  // background-clip: text;
  // color: transparent;
  // text-shadow: rgba(255, 255, 255, 0.5) 0px 3px 3px;
}

.loginPageTitle {
  font-size: 70px;
  font-family: Rationale, $myfont;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0px 0px 8px #000000;
}

.verticalTable,
.verticalTable tr th,
.verticalTable tr td {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 2px solid #c2cfd6;
  font-size: 16px;
  padding: 10px;
  text-align: center;
  width: 100%;
  height: 80%;
}

.verticalTable tr th {
  width: 50%;
}

.verticalTable tr:nth-child(odd) {
  background-color: #f5f5f5;
  &:hover {
    background: #f0f3f5;
  }
}

.verticalTable tr:nth-child(even) {
  background-color: #fff;
  &:hover {
    background: #f0f3f5;
  }
}

.customClass {
  background-color: #f8f8f8;
  border: #d0d0d0 dashed 1px;
  border-radius: 3px;
  color: #9b9b9b;
}

agm-map {
  height: 75vh;
}

.pagination {
  display: inline-block;
  cursor: pointer;
  margin-bottom: 20px;
}

.pagination a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.pagination a.active {
  background-color: #63c2de;
  color: white;
  &:hover {
    color: white;
  }
}

.pagination a:hover:not(.active) {
  background-color: #ddd;
}

.pagination_center {
  text-align: center;
}

.invalid-column {
  display: none;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

.invalidMessage {
  padding: 5px;
  font-size: 14px;
  color: #dc3545;
}

.validMessage {
  padding: 5px;
  font-size: 14px;
  color: #73a839;
}

.resultPage {
  text-align: center;
  font-size: 30px;
  color: #fff;
}

.right {
  float: right;
  overflow: hidden;
  margin-bottom: 5px;
}

.search-result li {
  border-bottom: 1px solid rgba(99, 194, 222, 0.5);
  border-left: 1px solid rgba(99, 194, 222, 0.5);
  border-right: 1px solid rgba(99, 194, 222, 0.5);
  padding: 10px;
  background-color: white;
  cursor: pointer;
  list-style-type: none;
}

.search-result li:hover {
  color: white;
  background-color: rgba(99, 194, 222, 0.5);
  font-weight: bold;
}

.search-result li a {
  color: #888;
  display: block;
  text-decoration: none;
}

.search-result li a:hover {
  color: white;
}

.search-result li a:active {
  color: white;
}

ul.search-result {
  margin-top: 0;
  padding-left: 0;
}

.aa {
  float: left;
}

.chart-search-bar {
  display: flex;
  margin-bottom: 5px;
}

.desc {
  color: #dc3545;
  font-weight: bold;
}

.asc {
  color: #73a839;
  font-weight: bold;
}

.ss {
  font-weight: bold;
  color: white;
  background-color: rgba(255, 209, 70, 0.85);
  display: -webkit-inline-box;
  padding: 2px 5px;
  margin: 2px 2px;
  border-radius: 5px;
  cursor: pointer;
}

.sss {
  font-weight: bold;
  color: white;
  background-color: #63c2de;
  display: -webkit-inline-box;
  padding: 2px 5px;
  margin: 2px 2px;
  border-radius: 5px;
  cursor: pointer;
}

.search-bar-out{
  display: flex;
  align-items: center;
  justify-content: center;}

.search-bar{
  max-width: 50%;
}

::-webkit-scrollbar {
  // -ms-overflow-style: -ms-autohiding-scrollbar;
  width: 0px;  /* remove scrollbar space */
  background: transparent;  /* optional: just make scrollbar invisible */
}

.checkbox {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(21, 27, 31, 0.58);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;

  > input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
  }
}

  .checkbox__icon {
    @extend %icon;
    display: inline-block;

    /* Default State */
    color: #999;
    @extend .icon--check-empty;

    /* Active State */
    input[type="checkbox"]:checked ~ & {
      color: rgba(222, 99, 99, 0.8);
      @extend .icon--check;
    }
  }

  /* IE6-8 Fallback */
  @media \0screen\,screen\9 {
    .checkbox__icon {
      display: none;
    }
    .checkbox > input[type="checkbox"] {
      position: static;
    }
  }

/****************************
 ****************************
 ****************************
 * Helpers
 */
%icon:before {
  font-family: "icons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon--check:before {
	content: "\e601";
}
.icon--check-empty:before {
	content: "\e600";
}

@font-face {
  font-family: "icons";
  font-weight: normal;
  font-style: normal;
  src: url("data:application/x-font-woff;charset=utf-8;base64,d09GRk9UVE8AAAR4AAoAAAAABDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAPgAAAD4fZUAVE9TLzIAAAHsAAAAYAAAAGAIIvy3Y21hcAAAAkwAAABMAAAATBpVzFhnYXNwAAACmAAAAAgAAAAIAAAAEGhlYWQAAAKgAAAANgAAADYAeswzaGhlYQAAAtgAAAAkAAAAJAPiAedobXR4AAAC/AAAABgAAAAYBQAAAG1heHAAAAMUAAAABgAAAAYABlAAbmFtZQAAAxwAAAE5AAABOUQYtNZwb3N0AAAEWAAAACAAAAAgAAMAAAEABAQAAQEBCGljb21vb24AAQIAAQA6+BwC+BsD+BgEHgoAGVP/i4seCgAZU/+LiwwHi2v4lPh0BR0AAAB8Dx0AAACBER0AAAAJHQAAAO8SAAcBAQgPERMWGyBpY29tb29uaWNvbW9vbnUwdTF1MjB1RTYwMHVFNjAxAAACAYkABAAGAQEEBwoNL2X8lA78lA78lA77lA6L+HQVi/yU+JSLi/iU/JSLBd83Fffsi4v77Pvsi4v37AUOi/h0FYv8lPiUi4v33zc3i/s3++yLi/fs9zeL398F9wCFFftN+05JzUdI9xr7GveR95FHzwUO+JQU+JQViwwKAAMCAAGQAAUAAAFMAWYAAABHAUwBZgAAAPUAGQCEAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA5gEB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABAA4AAAACgAIAAIAAgABACDmAf/9//8AAAAAACDmAP/9//8AAf/jGgQAAwABAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAACkYCfgXw889QALAgAAAAAAz65FuwAAAADPrkW7AAD/4AIAAeAAAAAIAAIAAAAAAAAAAQAAAeD/4AAAAgAAAAAAAgAAAQAAAAAAAAAAAAAAAAAAAAYAAAAAAAAAAAAAAAABAAAAAgAAAAIAAAAAAFAAAAYAAAAAAA4ArgABAAAAAAABAA4AAAABAAAAAAACAA4ARwABAAAAAAADAA4AJAABAAAAAAAEAA4AVQABAAAAAAAFABYADgABAAAAAAAGAAcAMgABAAAAAAAKACgAYwADAAEECQABAA4AAAADAAEECQACAA4ARwADAAEECQADAA4AJAADAAEECQAEAA4AVQADAAEECQAFABYADgADAAEECQAGAA4AOQADAAEECQAKACgAYwBpAGMAbwBtAG8AbwBuAFYAZQByAHMAaQBvAG4AIAAxAC4AMABpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuAFIAZQBnAHUAbABhAHIAaQBjAG8AbQBvAG8AbgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("woff");
}



.table-responsive::-webkit-scrollbar {
  -webkit-appearance: none;
}

.table-responsive::-webkit-scrollbar:vertical {
  width: 12px;
}

.table-responsive::-webkit-scrollbar:horizontal {
  height: 12px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, .5);
  border-radius: 10px;
  border: 2px solid #ffffff;
}

.table-responsive::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #ffffff;
}

.container {
  max-width: 2000px !important
}

.editor-tag {
  cursor: text;
  font-size: 16px;
  padding: 10px 0px 10px 10px;
  border-radius: 5px;
  background: white;
  //border: 1px #cccccc solid;

  & .tag-item {
    line-height: 20px;
    border-radius: 14px;
    height: 20px;
    font-size: 14px;
    display: inline-block;
    background: greenyellow;
    padding-left: 5px;

    .remove-tag {
      padding-right: 5px;
      cursor: pointer;
    }
  }

  & .tag-item:not(:first-child) {
    margin-left: 5px;
  }

  & input {
    margin: 0;
    padding-left: 5px;
    border: none;
    outline: none;
    border-radius: 5px;
  }
}
