.aisi-bar {
  width: 100vw;
  position: relative;
  right: 50%;
  left: 50%;
  margin-right: -50vw;
  margin-left: -50vw;
}
@media (prefers-reduced-motion: reduce) {
  .aisi-container {
      overflow-x: scroll;
  }
}
.aisi-container {
  overflow: hidden;
}
.aisi-wrapper {
  animation-duration: 36.6s;
}
@media (prefers-reduced-motion: reduce) {
  .aisi-wrapper {
      animation-play-state: paused;
  }
}
.aisi-wrapper {
  animation-iteration-count: infinite;
  animation-play-state: running;
  animation-timing-function: linear;
  display: flex;
  flex: 0 0 auto;
}
.aisi-head {
  display: flex;
  flex: 0 0 auto;
}
a.aisi-wrapper-item {
  overflow: hidden;
}
.aisi-wrapper-item {
  outline: none;
  overflow: visible;
  position: relative;
}
.aisi-wrapper-item {
  box-sizing: border-box;
  color: #131722;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 16px;
  height: 44px;
  overflow: hidden;
  padding: 10px 0;
}
.aisi-head > a {
  text-decoration: none;
  cursor: pointer;
}
.aisi-wrapper-item__border-wrapper {
  align-items: center;
  border-right: 1px solid #e0e3eb;
  box-sizing: border-box;
  display: flex;
  height: 100%;
  justify-content: flex-start;
  padding-left: 16px;
  width: 100%;
}
.aisi-wrapper-item__inner-wrapper {
  align-items: center;
  display: flex;
  height: 100%;
}
.aisi-wrapper-item__icon-wrapper, .aisi-wrapper-item__symbol {
  align-items: center;
  display: flex;
}
.aisi-wrapper-item__change-wrapper, .aisi-wrapper-item__last-wrapper, .aisi-wrapper-item__short-name-wrapper {
  display: flex;
}
.aisi-wrapper-item__change-wrapper > .up {
  color: #62C462;
}
.aisi-wrapper-item__change-wrapper > .down {
  color: #EE5F5B;
}
.aisi-wrapper-item__change-wrapper {
  margin-left: 12px;
}
.aisi-wrapper-item__short-name-wrapper {
  margin-right: 12px;
}
.aisi-wrapper-item__short-name {
  font-weight: 700;
  white-space: nowrap;
}
.aisi-hints {
  align-items: center;
  display: flex;
  transform: translateX(4px);
}
.aisi-hints--tips {
  color: #9598a1;
}
.aisi-hints--tips .aisi-hints__dot {
  background-color: #9598a1;
}
.aisi-hints__dot {
  border-radius: 50%;
  display: inline-block;
  height: 4px;
  vertical-align: middle;
  width: 4px;
}
.aisi-wrapper-item__last {
  border-radius: 3px;
  margin: -1px -2px;
  padding: 1px 2px;
  transition-duration: .35s;
  transition-property: background;
}
.data-mode--for-item {
  font-size: 10px;
  transform: translateX(2px);
}
.data-mode--D {
  color: #ff9800;
}
.data-mode--E {
  color: #ab47bc;
}
.data-mode--R {
  color: #42bda8;
}
.data-mode {
  vertical-align: top;
}
.aisi-wrapper-item__change-abs, .aisi-wrapper-item__change-pt {
  direction: ltr;
}
.full-trade-input
{
    padding: 0px !important;
}
.fund-add-title
{
    margin-top: 5px;
    position: relative;
    height: 30px;
    line-height: 30px;
    float: left;
    /* margin: 0px 5px 0 5px; */
    padding: 0 0px 0 4px;
}
.fund-warning-switch
{
    padding: 8px;
    margin-bottom: 0px;
}
.fullTrade_checkbox
{
    margin-top:0;
    margin-bottom: 0;
}
.bond-maxsell-style{
    margin-left: 543px;
}
.fullTrade-radio-range
{
    margin-left: 1%;
}

.carousel-indicators li {
    border: 1px solid #363E46;
}

.carousel-indicators li.active {
    background-color: #363E46;
}

.navbar ::-webkit-scrollbar {
    width: 10px; 
    background-color: #f1f1f1;
}

.navbar ::-webkit-scrollbar-thumb {
    background-color: #888; 
    border-radius: 6px; 
    border: 3px solid #fff;
}
.loing-container {
    height: 650px;
    background: url('/iTrader/static/images/login_bg.jpg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.login-fotter {
    margin-top: 10px;
}

.login-panel {
    margin-top: 50px;
    opacity: 0.95;
}

.login-link {
    padding-top: 40px;
}

.alert-error {
    opacity: 0.7;
}

.blue-link {
    color: #0000EE
}

ul {
    margin-bottom: 0px;
}

#login-pin-group {
    margin: 0 15px 0 0;   
}

.pin-input-grount-item {
    float: left;
    margin: -15px 10px 25px 0;
    width: 38px;
}

.pin-help-text {
    position: relative;
    top: 57px;
    width: 38px;
    float: left;
    text-align: center;
    visibility: hidden;
}

.pin-input {
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-right: 6px;
    border: 1px solid #cccccc;
    text-align: center;
    background-color: #eeeeee;
    font-size: 14px;
    line-height: 26px;
    float: left;
}

.pin-input.active {
    background-color: #fff;
}

#login-pin-remark {
    clear: both;
    margin-top: 10px;
}

.resend-link {
    float: right;
    top: -40px;
    right: 8px;
    position: relative;
    z-index: 1000;
    height: 0px;
}

.resend-link a {
    border-left: 1px solid #E0E0E0;
    padding: 5px;
}
.price-table p {
    margin: 0;
}

.price-table .symbol-cell {
    color: #333333;
    font-size: 15px;
    background-color: #F5F5F5;
}

.price-table .last-cell {
    background-color: #FFFFFF
}

.price-table .bid-cell {
    background-color: #FFFFFF;
}

.price-table .ask-cell {
    background-color: #FFFFFF;
}

.price-table .info-cell {
    background-color: #FFFFFF;
}

.price-table .text-name {
    color: #808080;
}

.price-table .text-value {
    color: #333333;
}

.price-table .text-last-price {
    color: #3CB371;
    font-size: 500%;
}

.price-table .text-bid-price {
    color: #67879f;
    font-size: 250%;
}

.price-table .text-ask-price {
    color: #b85a57;
    font-size: 250%;
}
.disclaimer {
    margin-top: 30px;
    margin-bottom: 30px;
}

.disclaimer-header {
    color: #626262;
    background-color: #EEEEEE;
    padding: -10px;
    max-width: 900px;
}

.disclaimer-content {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 13px;
    color: #626262;
    max-width: 900px;
    height: 400px;
    overflow: auto;
    text-align: justify;
    border: solid 1px #CCCCCC;
}

.disclaimer-options {
    max-width: 900px;
    padding: 0;
    margin-bottom: 10px;
}
option {
    padding: 0px;
}

hr {
    margin: 5px 0 5px 0;
}

.msclear input::-ms-clear {
    display:none;
}

.container-banner {
    background-image: url('/iTrader/static/images/banner_bg.png');
    background-repeat: repeat;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.pointer:hover {
    cursor: pointer
}

.icon-margin {
    margin-right: 8px;
}

.icon-refresh {
    margin-right: 3px;
}

.navbar {
    font-size: 15px;
}

td.copyprice {
    cursor: pointer;
}

td.pointer {
    cursor: pointer;
}

.panel-ticket .form-group {
    margin-bottom: 10px;
}

.panel-ticket .btn-clear {
    margin-top: 8px;
}

.panel-ticket .ticket-text {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: -10px;
}

.panel-ticket .help-block {
    margin-top: -5px;
    margin-bottom: 5px;
}

.input-group-addon.hint {
    color: #ccc;
    border-left: none;
    background-color: #fff;
}

.input-hint {
    float: right;
    top: -25px;
    right: 8px;
    position: relative;
    z-index: 1000;
    color: #AEA79F;
    height: 0px;
}

.btn-print {
    margin-top: 5px;
    margin-left: 5px;
    padding: 1px 5px 1px 5px !important;
}

.search-box {
    font-weight: normal;
    margin-bottom: 5px;
    margin-top: -5px;
    margin-left: 10px;
}

.pagination-input {
    padding: 0px;
    margin-left: -5px;
    margin-right: 5px;
    margin-bottom: -1px;
    height: 18px;
    width: 30px !important;
    text-align: center;
    font-size: 11px;
    /* compatible with IE */
    border-style: solid;
    border-width: 1px;
    border-color: inherit;
}


/* ticket */

.ticket-hint {
    right: 40px;
}

.ticket-fund-radio-group {
    margin-top: -10px;
}
.ticket-fund-radio-group label {
    margin-left: 10px;
    margin-right: 20px;
}

.ticket-bond-radio-group {
    margin-top: -10px;
}
.ticket-bond-radio-group label {
    margin-left: 10px;
    margin-right: 20px;
}

/*tooltip*/

.tooltip-inner {
    max-width: 1000px;
}

.portfolio-hint td {
    padding: 10px;
    text-align: left;
    word-break: keep-all;
    white-space: nowrap;
}

.trading-password-label {
    margin-top: 5px;
}

.filter-group {
    margin-top: 8px;
}

.alert-condensed {
    padding: 2px;
}

.filter-input {
    width: 100px;
    height: 22px;
    border-color: #337ab7;
    border: 0px;
    background-color: #337ab7;
    color: #fff;
    padding-left: 5px;
}

/* both fund & bond trade page */
.table-green th {
    background-color: #E5EECC;
}

.table-red th {
    background-color: #F2DEDE;
}

th.th-green {
    background-color: #E5EECC;
}

th.th-red{
    background-color: #F2DEDE;
}

/* fund trade */
.fund-item {
    float: left;
    height:74px;
    width: 205px;
    padding: 4px;
    border: 1px solid #dddddd;
    margin: 4px;
    border-collapse: collapse;
}

.fund-item:hover {
    border: 1px solid #3879D9;
}

table.fund-item {
    table-layout:fixed;
    word-wrap:break-word;
}

.fund-item .fund-item-nav-label {
    width: 35px;
}

.fund-item .fund-item-nav {
    width: 135px;
}

.fund-checked {
    border:1px solid #3879D9;
}

/* bond trade */
.bond-item {
    float: left;
    height:74px;
    width: 205px;
    padding: 4px;
    border: 1px solid #dddddd;
    margin: 4px;
    border-collapse: collapse;
}

.bond-item:hover {
    border: 1px solid #3879D9;
}

table.bond-item {
    table-layout:fixed;
    word-wrap:break-word;
}

.bond-item .bond-item-nav-label {
    width: 95px;
}

.bond-item .bond-item-nav {
    width: 135px;
}
.bond-checked {
    border:1px solid #3879D9;
}

th.account-balance-header {
    background-color:#F2F2F2; 
    color:#000
}

#account-balance-panel .multi-cash-balance {
     background-color: #F5F5F5;
     margin-top: 8px;
     border-top: 1px solid #000;
     width: 100%;
     font-size: 85%;
     padding: 0px 8px;
}
.navbar {
    margin-bottom: 0px !important;
}
.theme-group {
    margin-top: -5px;
    margin-right: 5px;
}

.loader-container {
    background-color: #2c3e50;
}

.theme-group .active {
    border-bottom: 2px solid #7cd45f;
}

.btn-theme-light {
    color: #fff;
    background-color: #C71517;
}

.btn-theme-lightblue {
    color: #fff;
    background-color: #00377B;
}

.btn-theme-dark {
    color: #c8c8c8;
    background-color: #272B30;
}

.ellipsis {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.short-input {
    width: 120px !important;
    height: 22px !important;
}

.alert-condensed {
    padding: 8px;
}

.icon-left-margin {
    margin-left: 8px;
}

.user-info .user-name {
    color: #5a7391;
}

.highlight-tag {
    height: 19px;
    text-align: center;
    font-size: 14px;
    color: #ff9900;
    border: 1px solid #feb557;
    padding: 0 8px;
    line-height: 20px;
    font-style: normal;
}

.highlight-tag-sm {
    font-size: 12px;
}

.bubble-title {
    border-bottom: 1px dashed #999999;
    cursor: help;
    padding-bottom: 3px;
}

.captcha-img {
    float: right;
    margin-top: -33px;
    right: 8px;
    position: relative;
    z-index: 1000;
    cursor: pointer;
}

.btn-group-label {
    cursor: default;
}

.default-cursor {
    cursor: default;
}

.dropdown .percentage-input {
    height: 25px;
    border: 0px;
    padding-left: 20px;
}

.overflow-visible {
    overflow: visible;
}

.symbol-code-tag {
    border: 1px solid #e8e8e8;
    height: 30px;
    line-height: 30px;
    margin-top: 5px;
    margin: 0px 5px 0 5px;
    padding: 5px;
}

.symbol-code-tag:hover {
    border: 1px solid #337ab7;
    ;
    cursor: pointer;
}

.icon-btn-x {
    margin: 0 5px;
    cursor: pointer;
}

.icon-btn-in {
    margin: 0 5px;
    cursor: pointer;
}

.fund-panel-padding {
    padding: 5px 15px;
}

.bond-panel-padding {
    padding: 5px 15px;
}

.icon-btn-bank-balance-reload {
    cursor: pointer;
    margin-left: 5px;
    padding-bottom: 2px;
    font-weight: normal;
}

#account-banlance-ul li b {
    display: block;
    word-break: break-word;
    width: 70%;
}

#account-banlance-ul li .account_balance_list {
    position: relative;
    bottom: 20px;
}

.content-overflow-hidden-60 {
    max-width: 60%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.content-overflow-hidden-30 {
    max-width: 30%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.bond-maxsell-style {
    margin-left: 50%
}

.fund-maxsell-style {
    margin-left: 30%
}

#account-balance-panel .ps-container>.ps-scrollbar-x-rail {
    opacity: 0.6;
}

#account-balance-panel .ps-container>.ps-scrollbar-y-rail {
    opacity: 0.6;
}

.settlement-radio-margin {
    margin-left: 20px !important;
}

.tab-message-notice {
    background: #bf1031;
    border: 1px solid #b11331;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .15);
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    -webkit-text-size-adjust: none;
    padding: 0 5px;
    height: 16px;
    line-height: 16px;
    border-radius: 16px;
    text-indent: 0;
    text-align: center;
    text-decoration: none;
}

.modal-dialog .modal-body td {
    max-width: 418px;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}

.btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}

.btn-close:disabled,
.btn-close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
}

.bootstrap-dialog .bootstrap-dialog-title {
    font-size: 20px !important;
}

.bootstrap-dialog .bootstrap-dialog-close-button {
    padding-top: 0px !important;
}

.ipo-account-name {
    width: 180px;
}
main {
  width: 95%;
  max-width: 1000px;
  margin: 4em auto;
  opacity: 0; }
  main.loaded {
    transition: opacity .25s linear;
    opacity: 1; }
  main header {
    width: 100%; }
    main header > div {
      width: 50%; }
    main header > .left,
    main header > .right {
      height: 100%; }
  main .loaders {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap; }
    main .loaders .loader {
      box-sizing: brder-box;
      display: flex;
      flex: 0 1 auto;
      flex-direction: column;
      flex-grow: 1;
      flex-shrink: 0;
      flex-basis: 25%;
      max-width: 25%;
      height: 200px;
      align-items: center;
      justify-content: center; }

::-ms-reveal {
  display: none;
}

button#toggle-password {
  position: absolute;
  top: 3px;
  right: 4px;
  z-index: 9;
  width: 28px;
  height: 30px;
  background: 0;
  border: 0;
}

button#toggle-password:active,
button#toggle-password:focus,
button#toggle-password:hover {
  cursor: pointer;
}

button#toggle-password:focus {
  outline: none !important;
}

.input-password {
  padding-right: calc(1.5em + 0.75rem);
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
td {
    text-overflow: ellipsis;
    white-space:nowrap; 
    overflow:hidden; 
}

#orderbook-table td {
    max-width: 150px;
}

#portfolio-table td {
    max-width: 100px;
}

#account-summary-table td {
    max-width: 100px;
}

#position-summary-table td {
    max-width: 120px;
}

#search-product-table td {
    max-width: 250px;
}

.page-search-product-panel #search-product-table td {
    max-width: 400px;
}

.panel-fund-list table td {
    max-width: 600px;
}

#fund-switch-panel table td {
    max-width: 400px;
}

.fund-item table td {
    max-width: 200px;
}

.bond-item table td {
    max-width: 200px;
}
.panel-bond-list table td {
    max-width: 600px;
}
.bond-item table td {
    max-width: 200px;
}
.pending-submit-table td{
     max-width: 500px;
}

.dialog-table td {
    max-width: 170px;
}

#devices-table td {
    max-width: 120px;
}