.container-page {
    width: 100%;
    text-align: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.container-page-gap {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=number] {
    margin-bottom: 0 !important;
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.form-resetpw {
    margin-top: 15px;
    height: 1px;
}

/*注册 */

.register {
    margin: 0 auto;
}

.register_totaltip {
    color: #e24247;
}

.common_group {
    text-align: left;
    margin-top: 1rem;
}

.common_input {
    margin-bottom: 0px !important;
    width: 100%;
    background: #FFFFFF;
}

.register_form-tip {
    display: block;
    font-size: .75rem;
    color: #e24247;
    line-height: .875rem;
    margin-top: 0.3125rem;
}

.register_form-href,
.login_form-href,
.cancel {
    text-decoration: underline !important;
}

.register_form-submit {
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.register label.checkbox {
    margin-bottom: 0;
    position: relative;
    cursor: pointer;
}

.register label.checkbox::before {
    content: "";
    width: 15px;
    height: 15px;
    float: left;
    border: 1px solid #c1c1c1;
    border-radius: 2px;
    margin-right: 9px;
    margin-top: 3px;
}

.register_form-subscribe {
    font-size: .875rem;
    color: #2a2a2a;
}

.register_form-button {}

/* 登录 */

.login_form-resetpw {
    text-align: right;
    padding-top: 1rem;
}

.login_form-tip {
    display: block;
    font-size: .75rem;
    color: #e24247;
    line-height: .875rem;
    margin-top: 0.3125rem;
}

.login_form-submit {
    display: flex;
    text-align: center;
    margin-bottom: 1rem;
    flex-direction: column;
    margin-top: 1rem;
}

/* 找回 */

.resetpw_tip {
    display: none;
}

.resetpw_total_tip {
    margin-top: 0.625rem;
    color: #e24247;
    font-size: .875rem;
    height: 0.875rem;
}

.resetpw_form-tip {
    display: block;
    font-size: .75rem;
    color: #e24247;
    line-height: .875rem;
    margin-top: 0.3125rem;
}

.resetpw_code {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

[type=reset],
[type=submit],
button,
html [type=button] {
    -webkit-appearance: button;
}

[type="button"] {
    -webkit-appearance: none !important;
}

.resetpw_form-submit {
    margin-top: 1rem;
}

.resetpw_code-input {
    width: 100%;
    background-color: #fff;
}

#content {
    min-height: 300px;
}

#content.row {
    display: flex;
    width: 90%;
    margin: 0px auto;
    justify-content: center;
}

.register-success_bottom {
    margin-top: 2.25rem;
}

.address_list {
    margin: 40px auto 0px;
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    justify-content: center;
    gap: 20px;
}

.address_list .address-item {
    width: 390px;
    height: 218px;
    border: 1px solid #dfdfdf;
    color: #444951;
    font-size: 14px;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

.address_list .address-item_header_tag {
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-top: 4em solid var(--mcshop-editor-setting-color_button_bg);
    border-left: 4em solid transparent;
}

.address_list .address-item_header_operate {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
}

.address_list .address-item_header_operate_btn:not(:first-child) {
    margin-left: 17px;
    margin-right: 15px;
}

.address_list .address-item_header_operate_btn {
    text-decoration: underline;
    cursor: pointer;
}

.address_list .address-item_header {
    height: 51px;
    padding: 20px 0 15px;
    line-height: 16px;
    display: flex;
    align-items: center;
}

.address_list .address-item_header_name {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address_list .address-item_content .address-info_item {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fa-check {
    content: '';
    width: 0.8em;
    height: 1.4em;
    border-top: 0.2em solid transparent;
    border-left: 0.2em solid transparent;
    border-right: 0.2em solid var(--mcshop-editor-setting-color_button_text);
    border-bottom: 0.2em solid var(--mcshop-editor-setting-color_button_text);
    position: absolute;
    top: -3.9em;
    right: 0.8em;
    transform: rotate(40deg);
}

/* 地址 */

.col-md-6 {
    width: 50%;
}

.address-book .address-form .form-row {
    margin-left: -10px;
    margin-right: -10px;
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
    align-content: space-around;
    justify-content: space-between;
}

.address-book .address-form .form-row>.col,
.address-book .address-form .form-row>[class*=col-] {
    padding-left: 10px;
    padding-right: 10px;
}

.address-book .address-form .form-group {
    position: relative;
}

.form-row>.col,
.form-row>[class*=col-] {
    padding-right: 5px;
    padding-left: 5px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
}

.address_book .address_form .form-check {
    margin-top: 25px;
    text-align: center;
}

.form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
    text-align: left;
}

.address_book .address__form input[type=checkbox] {
    width: 18px;
    height: 18px;
}

input[type=checkbox],
input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

.form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
    width: 16px;
    height: 16px;
}

.form-check-label {
    margin-bottom: 0;
}

#address_submit {
    margin-bottom: 1rem;
}

.layui-layer-btn a {
	display: inline-block;
	width: auto;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	cursor: pointer;
	-moz-user-select: none;
	-ms-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-size: var(--button-font-size);
	font-weight: 700;
	letter-spacing: var(--button-letter-spacing);
	text-transform: var(--button-text-transform);
	transition: color 0.1s ease-in, background-color 0.1s ease-in;
	border: 1px solid var(--mcshop-editor-setting-color_button_bg);
	color: var(--mcshop-editor-setting-color_button_bg);
	background-color: var(--mcshop-editor-setting-color_content_bg);
}

.layui-layer-btn .layui-layer-btn0 {
	border: 1px solid transparent;
	background-color: var(--mcshop-editor-setting-color_button_bg);
	color: var(--mcshop-editor-setting-color_button_text);
}

.changepwd_form-submit {
    margin-top: 1rem;
}

div.input-danger,
p.changepwd_form-tip {
    color: #eb2020;
}

.address_book .form-group_inline select {
    height: 44px;
    border: 1px solid #dfdfdf;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    position: relative;
    font-size: 14px;
    overflow: hidden;
    padding-right: 30px;
    background: 0 0;
    color: #000;
}

.address_book .address_form .form-group_inline input {
    padding-left: 108px;
}

.address_book .address_form input[type=text] {
    height: 44px;
    border: 1px solid #dfdfdf;
    color: #212121;
}

.address-book .address-form .text-danger {
    font-size: 14px;
    color: #d31616;
    text-align: left;
}

.address-book .address-form .input-danger input {
    border: 1px solid #d31616;
}

@media (min-width: 768px) {
    #content.row {
        width: 100%;
    }

    .container-page {
        margin: 0 auto;
        width: 28.75rem;
    }

    .container-page.address {
        width: 100%;
    }
}