*:not(i) {
  font-family: 'Noto Sans TC', sans-serif !important;
  font-weight: 400;
}

:root {
  --teal: #00b5ad;
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.navbar {
  background-color: white !important;
  height: 47px;
}

.navbar .icon.item {
  height: 47px;
}
.navbar .item a {
  font-size: 16px;
}

.navbar.base .item {
  transition: all 0.5s ease !important;
}

.nav-title {
  position: fixed;
  height: 47px;
  width: 70%;
  left: 15%;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-title h3 {
  line-height: 47px;
}

#main-contain {
  width: 100%;
  height: calc(100% - 47px);
  margin-top: 47px;
  padding-top: 14px;
}

@media (min-width: 1025px) {
  body {
    overflow: hidden;
  }
  #main-contain {
    overflow-y: auto;
  }
}

a, .jcolor {
  color: var(--teal);
}

.jdisabled, .jdisabled::before {
  pointer-events: none;
  opacity: 0.4;
}

.jclick {
  cursor: pointer;
}

.jfreeze {
  pointer-events: none;
}

.setsmenu .item {
  width: 20%;
  text-align: center;
  white-space: nowrap;
}

.jblock, .jblock:before {
  pointer-events: none;
  opacity: 0 !important;
}

.disabledb {
  pointer-events: none;
  border: solid 1px rgba(0, 0, 0, 0.15) !important;
}
.disabledb i:before {
  opacity: 0.4;
}

.itemLine {
  margin: 0 20px;
}
.itemLine:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.sub-edit {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.jsub input {
  font-weight: 700;
  font-size: 15px;
}

.ui.popup{
  max-width: 150px;
}

.jmodal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
}
.jmodal.ng-animate {
  transition: all 0.2s linear;
}
.jmodal.ng-enter {
  background-color: rgba(0, 0, 0, 0.0);
}
.jmodal.ng-enter-active {
  background-color: rgba(0, 0, 0, 0.5);
}
.jmodal.ng-leave-active {
  background-color: rgba(0, 0, 0, 0.0);
}

.jmodal.ng-animate > .ui.segment {
  transition: all 0.2s ease;
}
.jmodal.ng-enter > .ui.segment {
  transform: translateY(100%); 
}
.jmodal.ng-enter-active > .ui.segment {
  transform: translateY(0%); 
}
.jmodal.ng-leave-active > .ui.segment {
  transform: translateY(100%); 
}

.jmodal > dim {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  max-width: 600px;
  transform-origin: center;
  transform: translate(-50%, -50%);
}
.jmodal.ng-animate > dim {
  transition: all 0.2s ease;
}
.jmodal.ng-enter > dim {
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}
.jmodal.ng-enter-active > dim {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.jmodal.ng-leave-active > dim {
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}
.jmodal > .ui.segment {
  max-width: 400px;
}


.pressed.ui.basic.button {
  box-shadow: inset 0 0 20px 2px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(34, 36, 38, 0.1);
  color: rgba(0, 0, 0, 0.15) !important;
}

.detail.menu .item {
  width: 100%;
}

.ng-hide.ng-hide-animate{
 display: none !important;
}

.ui.container {
  max-width: 400px !important;
}

.page-slide.ng-enter,
.page-slide.ng-leave {
  position: absolute;
  height: 100%;
  width: 100%;
  transition: position 0.35s ease;
  background-color: white;
}
.page-slide.left.ng-enter {
  transition-property: none;
  transform: translate3d(100%, 0, 0);
}
.page-slide.left.ng-enter-active {
  transition-property: all;
  transform: translate3d(0, 0, 0);
}
.page-slide.left.ng-leave {
  transition-property: all;
  transform: translate3d(0, 0, 0);
}
.page-slide.left.ng-leave-active {
  transition-property: all;
  transform: translate3d(-100%, 0, 0);
}

.page-slide.right.ng-enter {
  transition-property: none;
  transform: translate3d(-100%, 0, 0);
}
.page-slide.right.ng-enter-active {
  transition-property: all;
  transform: translate3d(0, 0, 0);
}
.page-slide.right.ng-leave {
  transition-property: all;
  transform: translate3d(0, 0, 0);
}
.page-slide.right.ng-leave-active {
  transition-property: all;
  transform: translate3d(100%, 0, 0);
}

@keyframes jrotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.jload {
  animation: jrotating 2s linear infinite;
}
.jna.ng-animate {
  transition:0s none;
  animation: 0s none;
}
.jna.ng-leave { display:none; }
.jna.ng-leave-active { display:none; }

.namelist:not(:last-child) {
  margin-right: 8px;
}

.namelist {
  height: 28px;
  display: inline-block;
}