* {
    margin: 0;
    padding: 0;
}

html, body {
    height:100%;
    background: #f7f7f7;
}

#wrapper {
    min-height: 100%;
    position: relative;
}

header {
    background: #23282d;
    overflow: hidden;
    height: 50px;
}

footer {
    position:absolute;
    text-align: center;
    line-height: 100px;
    color: #fff;
    bottom:0;
    width:100%;
    height:100px;   /* Height of the footer */
    background: #23282d;
}

#content {
    width: 85%;
    margin: 30px 0 0 5%;
    overflow: auto;
    font-family: Arial, sans-serif;
    padding-bottom:100px;   /* Height of the footer */
}

#menu {
    float: left;
    width: 20%;
    padding-right: 20px;
}

.g-container {
    float: right;
    width: 65%;
    padding-right: 20px;
}

#reserved {
    float: right;
    width: 15%;
}

#reserved-head,#reserved-tail {
    padding-bottom: 65px;
    border-bottom: 2px solid #666;
}

.title {
    font-size: 2.25em;
    font-weight: bold;
    margin-top: 0px;
    padding-bottom: 30px;
    border-bottom: 2px solid #666;
}

#sign-button-wrapper {
    text-align: center;
    margin: 30px 0;
}

#sign-button,#reset-button {
    width: 15%;
}

.context {
    margin-top: 10px;
}

.context ul {
    list-style: none;
}

.context label {
    width: 40%;
}

input[type=checkbox] {
    width: auto;
}

.form-inline .form-control {
    width: 50%;
}

.form-inline .form-textarea {
    width: 100%;
    height: 60px;
    max-width: 100%;
    max-height: 60px;
}

.logo {
    display: inline;
    line-height: 50px;
    color: #fff;
    font-weight: 500;
    font-size: 3em;
    margin-left: 5%;
    font-style: italic;
}

.logo img {
    max-width: 180px;
}

#languages {
    display: inline;
    float: right;
    margin-right: 15%;
}

#languages a {
    color: #fff;
    line-height: 50px;
    cursor: pointer;
    margin-left: 10px;
}

.step-title, .notice {
    font-size: 1.166em;
    font-weight: bold;
    margin-top: 10px;
}

.split-line {
    border-top: 1px dotted #CCC;
    margin: 10px 0;
}

.required-symbol {
    color: #D9182D;
    font-size: 1.4em
}

.tooltip .tooltip-inner {
    text-align: left;
}

.button-wrapper {
    text-align: center;
    margin: 20px 0;
}

.button-wrapper button {
    margin: 0 30px;
}

.other-recipients {
    vertical-align: top;
}

.error {
    color: #D9182D;
}

.disabled {
    color: #777;
}

.not-active {
    pointer-events: none;
    cursor: default;
    color: #333;
}

.underline {
    text-decoration: underline;
}

.welcome {
    margin-left: 20px;
}

.welcome-split-line {
    border-top: 1px dotted #CCC;
    margin: 10px 0;
    width: 50%;
}

td{
    white-space: nowrap;
}

td a{
    cursor: pointer;
}

.editall{
    float: right;
}

.editall button{
    padding: 0 6px 0 6px;
}

.modal-dialog {
    margin-top: 100px;
}

.multiselect {
    width: 300px;
}

.total-number{
    margin-left: 5px;
}

.user-preferences {
    margin-left: 20px;
}

.glyphicon.glyphicon-circle-arrow-right {
    margin-left: 5px;
    font-size: 16px;
    cursor: pointer;
}

.note {
    color: red;
}

.scroll-table {
    height: 500px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.scroll-small-table {
    height: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
}
.spinner-mask {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    background: black;
    z-index: 1450;
}

.spinner-block {
    top: 50%;
    left: 50%;
    position: fixed;
    width: 200px;
    height: 80px;
    margin-top: -40px;
    margin-left: -100px;
    background: #ffffff;
    z-index: 1550;
    padding: 15px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.spinner-alert {
    position: absolute;
    top: 38%;
    left: 37%;
    height: 100%;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 130%;
    font-weight: bold;
    color: #163264;
}

.spinner-circle {
    padding: 4px;
    margin: auto;
}

.spinner-circle img {
    max-width: 40px;
}

.ship-textarea{
    resize: none;
}

.tr-nowrap{
    white-space: nowrap;
}
.nav-pagination{
    float:right;
}

.tab-pane form {
    margin-top: 10px;
}

.form-inline .form-control.captcha-input {
    width: 30%;
}

.captcha {
    width: 120px;
    height: 40px;
    margin-left: 10px;
    cursor: pointer;
}
.b-font {
    font-size: 1.60em;
    font-weight: bold;
}
.b2-font {
    font-size: 1.20em;
    font-weight: bold;
    text-decoration:underline;
}
.user-preferences2 {
    margin-left: 20px;
    width: 80%;
}
.up-context {
    margin-top: 10px;
}

.up-context ul {
    list-style: none;
}

.up-context label {
    width: 80%;
}
.form-inline .form-control.long-str-input {
    width: 80%;
}

.form-inline .form-radio-input {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    border: 0px;
}

.form-radio-input-redeem-function {
    display: inline-block;
    vertical-align: middle;
    width: 80%;
    border: 0px;
}

.form-checkbox {
    text-align: left;
}

/* aichat icon */
.fab{
    position: fixed;
    height: 20px;
    right: 24px;
    top: 50%;                    /* 关键：垂直中心点 */
    transform: translateY(-50%); /* 再向上偏移自身高度的一半 */
    width: 50px;
    height: 0px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: #1890ff;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    z-index: 999;
}

/* ai popup */
.iframe-drawer{
    position: fixed;
    right: 24px;
    bottom: 90px;/* 在图标上方 */
    width: 500px;
    height: 600px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    border-radius: 6px;
    overflow: hidden;
    z-index: 998;
}
