@charset "UTF-8";

.member-info {
    padding: 40px 100px;
    margin: 0 auto 80px auto;
}

.member-info:last-child {
    margin: 0 auto;
}

.member-info__item {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: calc(20px - .5em) 0;
}

.member-info__item-change {
    padding: 0;
}

.member-info-edit .member-info__item-change+.member-info__item-change {
    margin: 10px 0 0 0;
}

.member-info__item__title {
    top: .25em;
    display: block;
    width: auto;
    min-width: 90px;
    font-size: 17px;
    line-height: 1;
    color: #44464e;
    font-family: 'NotoSansTC-M';
    padding: 0 20px 0 0;
    border-right: 2px solid #dfdfe3;
    flex: 0 0 auto;
}

.member-info__item-change .member-info__item__title {
    top: 18px;
}

.member-info__item__content {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    flex: 0 1 100%;
}

.member-info__item__content-password {
    display: block;
    margin: 0 0 0 -2px;
}

.member-info__item__content-password input {
    margin: 0 0 10px 0;
}

.member-info__item__content-password input:last-of-type {
    margin: 0;
}

.member-info__item__content__text {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.5;
    color: #44464e;
    padding: 0 0 0 20px;
    font-family: 'NotoSansTC-M';
    word-break: break-all;
}

.member-info__item__content__gender~.member-info__item__content__text,
.member-info__item__content__birthday~.member-info__item__content__text,
.member-info__item__content__address~.member-info__item__content__text,
.member-info__item__content__input~.member-info__item__content__text {
    display: none;
}

.member-info__item__content__gender.readonly~.member-info__item__content__text,
.member-info__item__content__birthday.readonly~.member-info__item__content__text,
.member-info__item__content__address.readonly~.member-info__item__content__text,
.member-info__item__content__input:read-only~.member-info__item__content__text {
    display: block;
    width: auto;
    padding: 12.25px 15px 12.25px 20px;
    flex: 0 1 auto;
}

.member-info__item__content__gender.readonly~.member-info__item__content__text {
    padding: 0 15px 0 20px;
}

.member-info__item__content__input {
    width: auto;
    max-width: 100%;
    min-width: 350px;
    height: 50px;
    margin: 0 10px 0 -2px;
    padding: 0 20px;
    flex: 0 1 auto;
}

.member-info__item__content__gender {
    margin: 0 10px 0 -2px;
    background: #fff;
}

.member-info__item__content__birthday {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0 15px 0 -2px;
}

.member-info__item__content__birthday select {
    width: calc((100% - 10px) / 3);
    padding: 16.5px 40px 16.5px 25px;
}

.member-info__item__content__address {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 0 15px 0 -2px;
}

.member-info__item__content__address input {
    padding: 12.5px 20px;
    margin: 10px 0 0 0;
}

.member-info__item__content__address select {
    width: calc(50% - 5px);
    padding: 16.5px 40px 16.5px 25px;
}

.member-info__item__content__gender.readonly,
.member-info__item__content__birthday.readonly,
.member-info__item__content__address.readonly,
.member-info__item__content__input:read-only {
    display: none;
}

.member-info__item__content__bt {
    width: 100px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
    flex: 0 0 auto;
}

.member-info__item__content__submit {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: #15171b;
    padding: 0;
    cursor: pointer;
}

.member-info__item__content__address.readonly~.member-info__item__content__bt .member-info__item__content__submit,
.member-info__item__content__input:read-only~.member-info__item__content__bt .member-info__item__content__submit {
    display: none;
}

.member-info__item__content__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #24cbd3 0%, #0bbac2 100%);
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

.member-info__item__content__submit:hover::before {
    opacity: 1;
}

.member-info__item__content__submit input {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    padding: 0;
    background: none;
    cursor: pointer;
}

.member-info__item__content__change {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    font-family: 'NotoSansTC';
    background: #15171b;
    cursor: pointer;
}

.member-info__item__content__change::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #24cbd3 0%, #0bbac2 100%);
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

.member-info__item__content__change:hover::before {
    opacity: 1;
}

.member-info__item__content__address.readonly~.member-info__item__content__bt .member-info__item__content__change,
.member-info__item__content__input:read-only~.member-info__item__content__bt .member-info__item__content__change {
    display: flex;
}

/****按鈕區域****/
.member-info__btGroup {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;
}

.member-info__btGroup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 0, 0, .3) 33%, rgba(0, 0, 0, 0) 0%) left bottom repeat-x;
    background-size: 6px 2px;
}

.member-info__btGroup__edit,
.member-info__btGroup__cancel,
.member-info__btGroup__save {
    justify-items: center;
    justify-content: center;
    max-height: 70px;
}

.member-info__btGroup__cancel,
.member-info__btGroup__save {
    display: none;
}

.member-info__btGroup__edit {
    min-width: 190px;
}

.member-info__btGroup__save {
    min-width: 190px;
    margin: 0 0 0 20px;
}

.member-info-edit .member-info__btGroup__edit {
    display: none;
}

.member-info-edit .member-info__btGroup__cancel,
.member-info-edit .member-info__btGroup__save {
    display: flex;
}

/****帳號綁訂****/
.member-info__bind {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.member-info__bind__item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: flex-start;
    justify-content: flex-start;
    width: auto;
    min-width: 33.33%;
    margin: 10px 0;
    padding: 0 20px 0 0;
}

.member-info__bind__item__pic {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 15px 0 0;
    flex: 0 0 auto;
}

.member-info__bind__item__text {
    display: block;
    width: 100%;
    font-size: 17px;
    line-height: 1.5;
    color: #44464e;
    font-family: 'NotoSansTC-M';
}

.member-info__bind__item__text__link {
    color: #0cbbc3;
    transition: opacity .4s ease-in-out;
}

.member-info__bind__item__text__link:hover {
    opacity: .7;
}

@media screen and (max-width: 1300px) {
    .member-info {
        box-shadow: 0 0 10px rgba(44, 48, 67, .15);
    }
}

@media screen and (max-width: 991px) {
    .member-info {
        padding: 20px 35px;
    }
}

@media screen and (max-width: 767px) {

    .member-info__item__title {
        min-width: 0;
    }

    .member-info__item-change .member-info__item__title {
        top: 16.5px;
    }

    .member-info__item__content {
        position: static;
        flex-wrap: wrap;
    }

    .member-info__item__content__input {
        width: 100%;
        min-width: 0;
        margin: 0 0 0 -2px;
    }

    .member-info__item__content__gender .c-radio {
        width: 50%;
        margin: 0;
    }

    .member-info__item__content__birthday {
        margin: 0 0 0 -2px;
    }

    .member-info__item__content__birthday select {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .member-info__item__content__birthday select:nth-of-type(2),
    .member-info__item__content__birthday select:nth-of-type(3) {
        width: calc(50% - 5px);
        margin: 0;
    }

    .member-info__item__content__address {
        margin: 0 0 0 -2px;
    }

    .member-info__item__content__input:read-only~.member-info__item__content__text {
        padding: 12.25px 0 12.25px 20px;
    }

    .member-info__item__content__bt {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
    }

    /****帳號綁訂****/
    .member-info__bind__item {
        min-width: 50%;
    }
}

@media screen and (max-width: 575px) {
    .member-info {
        padding: 0;
        margin: 0 auto 40px auto;
        box-shadow: none;
    }

    .member-info__item {
        padding: 12.5px 0;
    }

    .member-info__item__title {
        font-size: 15px;
        padding: 0 15px 0 0;
    }

    .member-info-edit .member-info__item-change+.member-info__item-change {
        margin: 0;
    }

    .member-info__item-change .member-info__item__title {
        top: 12.5px;
    }

    .member-info__item__content__text {
        font-size: 15px;
        padding: 0 0 0 15px;
    }

    .member-info__item__content__gender.readonly~.member-info__item__content__text {
        padding: 0 0 0 15px;
    }

    .member-info__item__content__input:read-only~.member-info__item__content__text {
        padding: 9.25px 0 9.52px 15px;
    }

    .member-info__item__content__input {
        height: 40px;
        padding: 0 15px;
    }

    .member-info__item__content__birthday select {
        padding: 12.5px 30px 12.5px 15px;
    }

    .member-info__item__content__address select {
        padding: 12.5px 30px 12.5px 15px;
    }

    .member-info__item__content__address input {
        padding: 9.5px 15px;
    }

    .member-info__item__content__bt {
        bottom: 10px;
        height: 40px;
        font-size: 14px;
    }

    /****按鈕區域****/
    .member-info__btGroup {
        flex-wrap: wrap;
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
    }

    .member-info__btGroup__edit,
    .member-info__btGroup__cancel,
    .member-info__btGroup__save {
        width: 100%;
        min-width: 0;
        max-height: 50px;
        margin: 0 0 10px 0;
    }

    .member-info__btGroup__cancel {
        order: 2;
    }

    /****帳號綁訂****/
    .member-info__bind__item {
        min-width: 50%;
    }

    .member-info__bind__item__pic {
        width: 30px;
        height: 30px;
        margin: 0 10px 0 0;
    }

    .member-info__bind__item__text {
        font-size: 15px;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}