body {
  position: relative;
  padding-top: 50px;
}


.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

td > select, td > input[type="text"], td > input[type="password"] td > textarea {
  margin-bottom: 0px;
}

.footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 70px;
    padding: 20px 0;
    text-align: center;
}
.footer p {
    color: #666666;
    margin-bottom: 0;
}
.footer-links {
    margin: 5px 0;
}
.footer-links li {
    display: inline;
    padding: 0 2px;
}
.footer-links li:first-child {
    padding-left: 0;
}

.cell-links {
    text-align: center;
    margin: auto;
    width: 100%;
}
.cell-links li {
  display: inline;
  padding: 0 5px;
}
.cell-links li:first-child {
  padding-left: 0;
}

.carousel-indicators {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    margin: 0;
    list-style: none;
}

footer a {
  text-decoration: none;
}

/* Sidenav for Docs
-------------------------------------------------- */
.bs-docs-sidenav {
    width: 228px;
    margin: 30px 0 0;
    padding: 0;
    background-color: #fff;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
    box-shadow: 0 1px 4px rgba(0,0,0,.065);
}
.bs-docs-sidenav > li > a {
    display: block;
    width: 190px \9;
    margin: 0 0 -1px;
    padding: 8px 14px;
    border: 1px solid #e5e5e5;
}
.bs-docs-sidenav > li:first-child > a {
    -webkit-border-radius: 6px 6px 0 0;
    -moz-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}
.bs-docs-sidenav > li:last-child > a {
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav > .active > a {
    position: relative;
    z-index: 2;
    padding: 9px 15px;
    border: 0;
    text-shadow: 0 1px 0 rgba(0,0,0,.15);
    -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
    -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
    box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
}
/* Chevrons */
.bs-docs-sidenav .icon-chevron-right {
    float: right;
    margin-top: 2px;
    margin-right: -6px;
    opacity: .25;
}
.bs-docs-sidenav > li > a:hover {
    background-color: #f5f5f5;
}
.bs-docs-sidenav a:hover .icon-chevron-right {
    opacity: .5;
}

.bs-docs-sidenav.affix {
    top: 40px;
}
.bs-docs-sidenav.affix-bottom {
    position: absolute;
    top: auto;
    bottom: 270px;
}


/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {
  .bs-docs-container {
    max-width: 970px;
  }
  .bs-docs-sidenav {
    width: 258px;
  }
  .bs-docs-sidenav > li > a {
    width: 230px \9; /* Override the previous IE8-9 hack */
  }
}

/* Desktop
------------------------- */
@media (max-width: 980px) {
  /* Unfloat brand */
  body > .navbar-fixed-top .brand {
    float: left;
    margin-left: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Inline-block quick links for more spacing */
  .quick-links li {
    display: inline-block;
    margin: 5px;
  }

  /* When affixed, space properly */
  .bs-docs-sidenav {
    top: 0;
    width: 218px;
    margin-top: 30px;
    margin-right: 0;
  }
}

/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 979px) {
  /* Remove any padding from the body */
  body {
    padding-top: 50px;
  }
  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    margin-top: -20px; /* Offset bottom margin on .navbar */
  }
  /* Adjust sidenav width */
  .bs-docs-sidenav {
    width: 166px;
    margin-top: 20px;
  }
  .bs-docs-sidenav.affix {
    top: 0;
  }
}

/* Tablet
------------------------- */
@media (max-width: 767px) {
  /* Remove any padding from the body */
  body {
    padding-top: 50px;
  }

  /* Widen masthead and social buttons to fill body padding */
  .jumbotron {
    padding: 40px 20px;
    margin-top:   -20px; /* Offset bottom margin on .navbar */
    margin-right: -20px;
    margin-left:  -20px;
  }
  .masthead h1 {
    font-size: 90px;
  }
  .masthead p,
  .masthead .btn {
    font-size: 24px;
  }
  .marketing .span4 {
    margin-bottom: 40px;
  }
  .bs-docs-social {
    margin: 0 -20px;
  }

  /* Space out the show-grid examples */
  .show-grid [class*="span"] {
    margin-bottom: 5px;
  }

  /* Sidenav */
  .bs-docs-sidenav {
    width: auto;
    margin-bottom: 20px;
  }
  .bs-docs-sidenav.affix {
    position: static;
    width: auto;
    top: 0;
  }

  .footer p {
    margin-bottom: 9px;
  }
}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {
  /* Remove padding above jumbotron */
  body {
    padding-top: 50px;
  }

  /* Change up some type stuff */
  h2 small {
    display: block;
  }

  /* Downsize the jumbotrons */
  .jumbotron h1 {
    font-size: 45px;
  }
  .jumbotron p,
  .jumbotron .btn {
    font-size: 18px;
  }
  .jumbotron .btn {
    display: block;
    margin: 0 auto;
  }

  /* center align subhead text like the masthead */
  .subhead h1,
  .subhead p {
    text-align: center;
  }

  /* Marketing on home */
  .marketing h1 {
    font-size: 30px;
  }
  .marketing-byline {
    font-size: 18px;
  }

  /* center example sites */
  .example-sites {
    margin-left: 0;
  }
  .example-sites > li {
    float: none;
    display: block;
    max-width: 280px;
    margin: 0 auto 18px;
    text-align: center;
  }
  .example-sites .thumbnail > img {
    max-width: 270px;
  }

  /* Do our best to make tables work in narrow viewports */
  table code {
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
  }

  /* Examples: dropdowns */
  .bs-docs-example-submenus > .pull-left {
    float: none;
    clear: both;
  }
  .bs-docs-example-submenus > .pull-left,
  .bs-docs-example-submenus > .pull-left + .pull-left {
    margin-left: 0;
  }
  .bs-docs-example-submenus p {
    margin-bottom: 0;
  }
  .bs-docs-example-submenus .dropup > .dropdown-menu,
  .bs-docs-example-submenus .dropdown > .dropdown-menu {
    margin-bottom: 10px;
    float: none;
    max-width: 180px;
  }

  /* Examples: modal */
  .modal-example .modal {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  /* Tighten up footer */
  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

 table.table-bordered {
    border-radius: 5px;
    border-collapse: separate;
 }

 .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border-right: 1px solid #ddd;
 }

.table-bordered>tbody>tr>td{
    border-left: 0;
    border-bottom: 0;
}
.table-bordered>thead>tr>th {
    border-left: 0;
}

.table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 1px solid #ddd;
    border-bottom: 0;
    border-left:0;
}

/**
 * 模态框
 */
.modal-margin {
    margin: 20px 30px;
}

.modal-btn1 {
    margin-top: 10px;
    width: 33.33333333%;
}

.modal-btn2 {
    float: right;
    margin-bottom: 2px;
    width: 30%;
}

.modal-input {
    display: inline-block;
    margin-left: 20px;
    width: 48%;
}

/**
    password status
**/

.password-status-div {
    display: inline-block;
    width: 32%;
    text-align: center;
    margin-bottom: 10px;
    margin-right: 0.5%;
}

.password-status-font-default {
    font-size: 10px;
    color: #D4D4D4;
}

.password-status-font-weak {
    font-size: 10px;
    color: #EE6A50;
}

.password-status-font-medium {
    font-size: 10px;
    color: #EEB422;
}

.password-status-font-strong {
    font-size: 10px;
    color: #5CACEE;
}

.password-status-span-default {
    display: block;
    height: 5px;
    background: #D4D4D4;
}

.password-status-span-weak {
    display: block;
    height: 5px;
    background: linear-gradient(to right, #EE2C2C, #EE5C42, #EE7942);
}

.password-status-span-medium {
    display: block;
    height: 5px;
    background: linear-gradient(to right, #EE7942, #EEB422, #EEE685);
}

.password-status-span-strong {
    display: block;
    height: 5px;
    background: linear-gradient(to right, #EEE685, #A2CD5A, #5CACEE);
}

.sms-btn {
    float: right;
    margin-bottom: 2px;
    width: 29%;
}

.worker-grid-header {
    margin-bottom: 5px;
    height: 35px;
}

.worker-table tr.offline {
    color: #666666;
}

table#workers tbody tr {
    cursor: pointer;
}

#modal-hashrate .modal-dialog{
    margin-left: 10%;
    width: 80%;
}
@media (max-width: 767px) {
    #modal-hashrate .modal-dialog{
        margin-left: 10px;
        width: auto;
    }
}

.loadingIndicator {
	position: fixed;
	z-index: 999;
	height: 2em;
	width: 2em;
	overflow: show;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.loadingIndicator:before {
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.1);
}

.jump-box {
    position: relative;
}

.address-login {
    padding-right: 35px;
	border-color: #666;
	background-color: transparent;
	color: #9d9d9d;
	width: 240px !important;
}

@media (min-width: 1200px) {
    .address-login {
        width: 340px !important;
    }
}
@media (max-width: 767px) {
    .jump-box {
        width: 100%;
    }
    .address-login {
        width: 100% !important;
    }
}

#address-currency {
	background-color: transparent;
	color: #9d9d9d;
	border-color: #666;
}

#jump-address {
    position: absolute;
    top: 2px;
    right: 0;
    z-index: 100;
	background-color: transparent;
    border: none;
}

#jump-address i {
    color: #ccc;
}

.dropdown_user_menu .dropdown-menu {
    width: 100%;
}
.dropdown_user_menu .dropdown-menu a {
    line-height: 28px;
}

@media (min-width: 768px) {
    .navbar_search_form {
        padding-right: 0 !important;
    }

    .dropdown_user_menu {
        margin-left: 15px;
        margin-bottom: -10px;
    }

    .dropdown_user_menu:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .dropdown_user_menu:hover .caret {
        transform: rotate(180deg) ;
        transition: all linear 0.15s;
    }
}

.dropdown .caret{
  transform: rotate(0deg) ;
}

.dropdown.open .caret {
    transform: rotate(180deg) ;
    transition: all linear 0.15s;
}

.tooltip-radio-container {
    padding: 3px;
    padding-right: 16px;
}

.tooltip-radio-container label {
    line-height: 24px;
}

.tooltip-radio-container .tooltip-close {
    position: absolute;
    top: 3px;
    right: 8px;
    line-height: 14px;
    transform: rotate(45deg) ;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #bbb;
}

.tooltip-radio-container .tooltip-close:hover {
    color: #fff;
}

.form-base-login {
    width: 300px;
}

@media (max-width: 767px) {
    .tooltip-radio-container {
        padding: 5px;
        padding-right: 36px;
    }
    .tooltip-radio-container label {
        font-size: 16px;
    }

    .tooltip-radio-container .tooltip-close {
        top: 2px;
        font-size: 28px;
        line-height: 28px;
    }
    .form-base-login {
        width: auto;
    }
    .signin-dropdown .caret {
        display: none;
    }
}
.navbar-collapse {
    max-height: 600px !important;
}

.table-pc {
    display: block;
}

.table-mobile {
    display: none;
}
.table-mobile tbody {
    border-bottom: 1px solid #ddd;
}

@media (max-width: 767px) {
    .table-pc {
        display: none;
    }
    .table-mobile {
        display: block;
    }
}

#miner-overview .table-mobile .nav {
    display: table;
    width: 100%;
}
#miner-overview .table-mobile .nav li {
    display: table-cell;
    width: 14%;
    text-align: center;
}
#miner-overview .table-mobile .nav a {
    padding: 5px;
    border: none;
}
#miner-overview .table-mobile .nav img {
    width: 32px;
    height: 32px;
    opacity: 0.25;
    filter: alpha(opacity=25);
}
#miner-overview .table-mobile .coin-name {
    display: none;
    font-weight: bold;
    margin-bottom: 8px;
}
#miner-overview .table-mobile .nav .active .coin-name {
    display: inline-block
}
#miner-overview .table-mobile .nav .active img {
    opacity: 1;
    filter: alpha(opacity=1);
}

.help-nav img {
    width: 100%;
    height: 100%;
    max-width: 170px;
    max-height: 170px;
}


/* /user/worker */
@media (min-width: 768px) {
    .page-user-worker.container{
        width: auto;
    }
}
@media (max-width: 767px) {
    .page-user-worker .worker-table .table>thead>tr>td,
    .page-user-worker .worker-table .table>thead>tr>th,
    .page-user-worker .worker-table .table>tbody>tr>td,
    .page-user-worker .worker-table .table>tbody>tr>th {
        padding: 4px;
        font-size: 13px;
        vertical-align: top;
    }
    .page-user-worker .worker-table .table>thead>tr>th {
        padding-bottom: 18px;
    }
    .page-user-worker table.dataTable thead .sorting:after,
    .page-user-worker table.dataTable thead .sorting_asc:after,
    .page-user-worker table.dataTable thead .sorting_desc:after,
    .page-user-worker table.dataTable thead .sorting_asc_disabled:after,
    .page-user-worker table.dataTable thead .sorting_desc_disabled:after {
        bottom: 0;
        left: 4px;
        right: auto;
    }
    .worker-filter .form-control-feedback {
        display: none;
    }
    .worker-filter .has-feedback .form-control {
        padding-right: 12px;
    }
}
@media (max-width: 400px) {
    .page-user-worker .worker-table .table>thead>tr>td,
    .page-user-worker .worker-table .table>thead>tr>th,
    .page-user-worker .worker-table .table>tbody>tr>td,
    .page-user-worker .worker-table .table>tbody>tr>th {
        padding-left: 3px;
        padding-right: 3px;
        font-size: 12px;
    }
}
.page-user-worker .worker-table tbody>tr {
    cursor: pointer;
}
#tags-list .list-group-item {
    text-align: center;
}
.page-user-worker .worker-grid-header .col-xs-3 {
    min-width: 90px;
}
.page-user-worker .worker-grid-header .dropdown-menu {
    margin-left: 15px;
}
.page-user-worker .worker-grid-header .worker-action .dropdown-menu {
    margin-left: 0;
}
.page-user-worker .panel-group {
    margin-bottom: 10px;
}
.page-user-worker .panel-group .panel-heading {
    padding: 0;
}
.page-user-worker .list-group-item, .page-user-worker .panel-title {
    padding: 6px 12px;
}
.page-user-worker .panel-title, .page-user-worker .list-group-item {
    font-size: 14px;
}
.page-user-worker .panel-title {
    color: #333;
    text-align: center;
}
.page-user-worker .status-bar .progress {
    cursor: pointer;
}
#pageAlert {
    position: fixed;
    top: 60px;
    left: 10%;
    right: 10%;
    z-index: 2000;
    opacity: 0.95;
}

.scrtabs-tab-scroll-arrow {
    border: none !important;
}
/* status bar */
.status-bar {
    position: relative;
    float: left;
    margin-top: 10px;
    width: 35%;
}
@media (max-width: 767px) {
    .status-bar {
        width: 50%;
    }
}
.status-bar .progress {
    width: 100%;
    background-color: #d6d6d6;
}
.status-bar .worker-stats {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    pointer-events:none;
}
.status-bar .normal {
    margin-right: 8px;
}

.status-bar .normal img {
    margin-top: -2px;
    width: 16px;
}

/* page header*/
@media (max-width: 767px) {
    .page-header{
        margin-top: 20px;
        margin-bottom: 5px;
    }
}
.page-header {
    position: relative;
    border-bottom: none;
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}
.page-header h4 {
    margin-right: 20px;
}
