body {
    padding: 0;
    margin: 0;
    height: 100vh;
    min-height: 700px;
    overflow: auto;
}
main {
    width: 800px;
    margin: 0 auto;
}
form {
    padding-top: 80px;
    padding-bottom: 10px;
}
.btn {
    border-color: #304564;
}
.btn-primary {
    background-color: #304564;
    border-color: #304564;
}
.btn-primary:hover {
    background-color: #43618d;
    border-color: #43618d;
}
.form-title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: #304564;
}
.form-title .divider {
    width: 3px;
    height: 22px;
    background-color: #304564;
    margin-right: 10px;
}
.form-item {
    display: flex;
    width: 100%;
    align-items: center;
}
.form-item + .form-item {
    margin-top: 10px;
}
.form-label {
    width: 100px;
    margin-right: 10px;
    position: relative;
    padding-left: 10px;
    color: #515a6e;
    font-size: 14px;
    align-self: baseline;
    text-align: right;
}
.form-label span.is-required {
    position: relative;
}
.form-label span.is-required::after {
    content: "*";
    position: absolute;
    left: -10px;
    color: tomato;
}
.form-content {
    flex: 1;
    font-size: 14px;
    position: relative;
}
.form-content.is-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.form-content input:not([type='radio']) {
    width: 100%;
}
.form-content input {
    color: #808695;
}
.form-content .tips {
    color: #808695;
    margin-bottom: 10px;;
}
.form-content input,textarea, select {
    border-radius: 4px;
    border: solid 1px #dcdee2;
    padding: 6px 12px;
}
.form-content input:focus,textarea:focus,select:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.text-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    color: #808695;
}

.upload-box{
    display: flex;
    flex-direction: column;
    border: 1px dashed #dcdee2;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: gray;
    border-radius: 4px;
    color: #aaaaaa;
}
.upload-box:hover {
    border-color: #a2a4a7;
}
.upload-box span{
    font-size: 30px;
}
.upload-id-card-content{
    display: flex;
}
.upload-id-card-content .upload-box {
    margin-right: 10px;
    width: 150px;
}
.upload-id-card-front {
    background: url("../img/hxy/identityCardFront.png") ;
    background-size: cover;
}
.upload-id-card-back {
    background: url("../img/hxy/identityCardBack.png") ;
    background-size: cover;
}
.platform-content{
    display: flex;
    flex-wrap: wrap;
}

.platform-content .platform-item{
    border: 1px solid #dcdee2;
    border-radius: 5px;
    width: 120px;
    height: 36px;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}
.platform-content .add-platform:hover {
    border-color: #a2a4a7;
}
.platform-content .add-platform {
    border-style: dashed;

}
.address-select-box {
    margin-bottom: 10px;
    width: 100%;
}
.address-select-box  .address-select {
    width: 23%;
    display: inline-block;
}
.address-select + .address-select {
    margin-left: 1%;
}
.address-select:last-of-type {
    width: 25%;
}

.warehouse-images {
    display: flex;
}
.warehouse-images img {
    width: 100px;
    height: 100px;
    border: 1px gray;
    margin-right: 10px;
}
.warehouse-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}
.warehouse-info {
    border-radius: 4px;
    border: solid 1px #e8eaec;
    padding: 20px;
    margin-bottom: 80px;
    position: relative;
}
.warehouse-title .btn{
    margin-bottom: 20px;
}
.phone-content label {
    display: inline-flex;
    align-items: center;
}
.phone-content input {
    margin-right: 5px;
}
label + label {
    margin-left: 20px;
}

.dialog {
    display: none;
}
.dialog-mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(55,55,55,.6);
    height: 100%;
    z-index: 1000;
}
.dialog-warp {
    position: fixed;
    overflow: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.dialog-box {
    margin: 0 auto;
    position: relative;
    outline: 0;
    top: 100px;
    width: 600px;
}
.dialog-content {
    position: relative;
    background-color: #fff;
    border: 0;
    border-radius: 6px;
    background-clip: padding-box;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    top: 150px;
}
.dialog-close {
    z-index: 1;
    font-size: 12px;
    position: absolute;
    right: 8px;
    top: 8px;
    cursor: pointer;
}
.dialog-close-btn {
    position: relative;
    margin: 3px;
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
}
.dialog-close-btn:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 25px;
    background: #999;
    transform: rotate(45deg);
    top: -3px;
    left: 10px;
}
.dialog-close-btn:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 25px;
    background: #999;
    transform: rotate(-45deg);
    top: -3px;
    left: 10px;
}
.dialog-header {
    border-bottom: 1px solid #e8eaec;
    padding: 14px 16px;
    line-height: 1;
}
.dialog-header-inner {
    display: inline-block;
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #17233d;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dialog-body {
    padding: 16px;
    font-size: 12px;
    line-height: 1.5;
    min-height: 65px;
    position: relative;
}
.dialog-body select {
    border-radius: 4px;
    border: solid 1px #dcdee2;
    padding: 6px 12px;
    width: 568px;
}
.dialog-body select:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
.dialog-footer {
    border-top: 1px solid #e8eaec;
    padding: 12px 18px;
    text-align: right;
}
.operate-box {
    text-align: center;
    position: fixed;
    bottom: 0;
    padding: 10px 20px;
    background: white;
    width: 100%;
    left: 0;
    box-shadow: 0px -1px 4px rgb(51 55 58 / 60%);
    z-index: 1000;
}

.operate-box .tips {
    float: left;
    color: #515a6e;
    position: relative;
    top: 4px;
    left: 540px;
}
.operate-box .tips a{
    color: #296ba8;
    cursor: pointer;
}

.upload-image-box {
    position: relative;
}

.upload-image-content-box {
    position: absolute;
    z-index: 2;
    display: inline-block;
}
.upload-image-content-box img {
    border: 1px solid #dcdee2;
    object-fit: contain;
}

.image-remove-button,
.remove-item-button,
.remove-warehouse {
    position: absolute;
    z-index: 3;
    background-color: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    top: -5px;
    right: -5px;
    border-radius: 20px;
    display: none;
    height: 25px;
    width: 25px;
    justify-content: center;
    align-items: center;
}
.upload-image-content-box-reverse {
    position: absolute;
    z-index: 2;
    display: inline-block;
    left:160px;
}


.contactMobile[readonly] {
    background: #f1f1f1;
}

.register-agreement-dialog {
    display: block;
}
.register-agreement-dialog .dialog-footer{
    text-align: center;
}
.register-agreement-dialog .dialog-mask {
    background-color: white;
}
.register-agreement-dialog .agreement-content {
    height: 400px;
    overflow-y: auto;
}
.dialog-footer .btn.disabled {
    background-color: gray;
    border-color: gray;
    cursor: not-allowed;
    pointer-events:none;
}

.agreement-content .agreement-title {
    font-weight: bold;
}
.agreement-content .agreement-content-title {
    margin-bottom: 10px;
    margin-top: 20px;
    font-weight: bold;
    font-size: 16px;
}
.agreement-content .agreement-content-sub {
    margin-left: 10px;
    line-height: 20px;
    margin-bottom: 5px;
}
.agreement-content .agreement-content-sub-item {
    margin-left: 20px;
}
.agreement-content .agreement-content-sub-item-sub {
    margin-left: 40px;
}
.register-agreement-dialog .dialog-box {
    width: 900px;
}

.btn-send-validate-code {
    width: 88px;
}

.disabled {
    background-color: gray !important;
    border-color: gray !important;
    cursor: not-allowed;
    pointer-events:none;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #ed4014;
}
.was-validated :invalid~.invalid-feedback {
    display: block;
}
.validation-input {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.mobile-validate-error {
    display: none;
    margin-top: 0.25rem;
    font-size: .875em;
    color: #ed4014;
}

.show-mobile-validate-error .mobile-validate-error {
    display: block;
}

.tips {
    color: #808695;
}
.tips a {
    color: #296ba8 !important;
    cursor: pointer;
}

.check-example-popover {
    position: absolute;
    width: 300px;
    right: -310px;
    top: -2px;
    padding: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,.2);
    border-color: #eee;
    display: none;
}
.check-example-popover img {
    width: 100%;
}
.check-example {
    position: relative;
}
.check-example:hover .check-example-popover {
    display: block;
}

.was-validated :invalid~.invalid-feedback {
    display: block;
}

.form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);
}

.show-mobile-validate-error .form-control{
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
    background-image: none !important;
}

.was-validated :invalid~.text-count {
    bottom: 25px;
}

.customer-dialog .dialog-header{
    border-bottom: none;
}
.customer-dialog .dialog-box{
    width: 450px;
}
.customer-dialog .dialog-body{
    padding: 0 43px;
}
.customer-dialog .dialog-footer{
    border-top: none;
}
.customer-dialog .dialog-header-inner{
    height: 20px;
    line-height: 20px;
}

.customer-dialog .warning-icon {
    padding: 5px;
    background-color: #ff9900;
    height: 20px;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    color: white;
    font-size: 15px;
    margin-right: 5px;
}
.customer-dialog .dialog-body div{
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    color: #333333;
}
.customer-dialog .dialog-body a {
    color: #296ba8 !important;
    cursor: pointer;
}

.upload-image-content-box:hover .image-remove-button {
    display: flex;
}
.platform-item:hover .remove-item-button {
    display: flex;
}
.warehouse-info .remove-warehouse {
    display: flex;
}
.upload-image-content-box-warehouse:hover .image-remove-button {
    display: flex;
}
.upload-image-content-box-warehouse {
    position: relative;
}


.customer-dialog .dialog-header{
    border-bottom: none;
}
.customer-dialog .dialog-box{
    width: 450px;
}
.customer-dialog .dialog-body{
    padding: 0 43px;
}
.customer-dialog .dialog-footer{
    border-top: none;
}
.customer-dialog .dialog-header-inner{
    height: 20px;
    line-height: 20px;
}

.customer-dialog .warning-icon {
    padding: 5px;
    background-color: #ff9900;
    height: 20px;
    width: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    color: white;
    font-size: 15px;
    margin-right: 5px;
}
.customer-dialog .dialog-body div{
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    color: #333333;
}
.customer-dialog .dialog-body a {
    color: #296ba8 !important;
    cursor: pointer;
}

.warehouse-validate-code-button {
    position: absolute;
    right: 0;
    top: 24px;
    height: 35px;
    padding-top: 7px;
    width: 88px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: none;
}
.warehouse-validate-code-button.been-sent {
    background-color: gray;
    border-color: gray;
}

.mobile-info-content {
    margin: 10px 0;
}

.warehouse-validate-code-button.been-sent:hover .validate-code-tooltip {
    display: block;
}
.validate-code-tooltip {
    position: absolute;
    width: 365px;
    font-size: 13px;
    background-color: #000000b3 !important;
    top: -30px;
    right: -100px;
    padding: 3px 3px;
    border-radius: 3px;
    display: none;
}

.mobile-validate-input {
    display: none;
}

.show-validate-code .mobile-validate-input {
    display: flex;
}

.warehouse-validate-code-button.disabled {
    background-color: gray;
    border-color: gray;
    cursor: not-allowed;
    pointer-events:none;
}
.upload-video {
    width: 200px;
    height: 200px;
}

.select-platform {
    max-height: 300px;
    overflow-y: auto;
    padding: 6px 0px !important;
    position: absolute;
}
.select-platform option {
    position: relative;
    padding: 5px 12px;
}
.select-platform option:hover {
    background-color: #66afe9;
    color: white;
}

.select-platform option.checked::after{
    content: '✔';
    position: absolute;
    right: 0;
}

.hidden-platform-select {
    padding: 6px 3px;
    border-radius: 4px;
    border: solid 1px #dcdee2;
    height: 30px;
}

.hidden-platform-select.hidden {
    height: 0;
    visibility: hidden;
    padding: 0;
}

/* TODO */
.slider-verify-dialog .dialog-box {
    width: 262px;
}

.slider-verify-dialog .slider-verify-iframe-box {
    width: 262px;
    height: 262px;
    border: none;
}