.card {
    position: relative;
}

div#pjax-container {
    width: 100%;
}

div#mask .close {
    position: absolute;
    right: 2rem;
    top: 1rem;
}

div#mask .close svg {
    width: 3rem;
    height: 3rem;
}

.card::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fd6458;
    box-shadow: 20px 0 0 #ffbf2b, 40px 0 0 #24cc3d;
    position: absolute;
    left: 0rem;
    top: -2.5rem;
}

.central.central-800.bg .avatar {
    width: 3em;
    height: 3em;
    border-radius: 0.8rem;
    box-shadow: 0 2px 8px #bdb7b759;
    border: 2px solid #fff;
    margin-right: 0.8rem;
}


#show_mes {
    position: fixed;
    bottom: 0;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 10002;
}

.card::before {
    box-shadow: none;
    background-color: transparent;
}

div#mask {
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    background: #ffffff73;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10001;
    top: 0;
    display: none;
}

span.iconfont.icon-liuyan {
    font-size: 3rem;
    display: block;
    text-align: right;
    color: #f18ba0;
}

.nub_con {
    color: #ffffff;
    font-size: 1.7rem;
    margin: 0 0.5rem;
    /* text-shadow: 0 2px 2px rgb(0 0 0 / 25%); */
}

.ContentCentered {
    text-align: center;
}

.lyips {
    /* background-image: linear-gradient(90deg, #00d5bd 0%, #ffa264 100%); */
    background-image: linear-gradient(126deg, #49aeff 0%, #c671ff 100%);
    padding: 0.8rem 2rem;
    display: inline-block;
}

.leav_list .content_a {
    background: #f5f5f5;
}

.toast-title {
    font-size: 1.3rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.toast-message {
    line-height: 1.4rem;
}

.central.bg {
    background: none;
    border-radius: 2rem;
    padding: 0rem 2rem;
    box-shadow: none;
    border: none !important;
}



.leav_card {
    background: #fff;
    margin: 1rem 0;
    border-radius: 0.8rem;
    box-shadow: 0 8px 12px #ebedf0;
    border: 1px solid rgba(208, 206, 206, 0.4) !important;
    transition: all 0.3s linear !important;
    cursor: pointer;
}

.leav_card:hover {
    /* transform: translateY(-1.6rem); */
    background: #5d5858;
}

.leav_card:hover .name_leav span {
    color: #fff;
}


.leav_card .bg_leav {
    height: 15rem;
    width: 100%;
    background-image: url(https://q1.qlogo.cn/g?b=qq&nk=3439780232&s=640);
    background-size: cover;
    border-radius: 0.8rem 0.8rem 0 0;
    position: relative;
}

.leav_card .bg_leav .Visitor_info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leav_card .bg_leav .Visitor_info span {
    color: #fff;
    border: 1px solid #fff;
    padding: 0.4rem 1rem;
    margin: 0.5rem 0;
    border-radius: 10rem;
}

.leav_card .bg_leav .Visitor_info .icon {
    margin-right: 0.2rem !important;
}

.leav_card .bg_leav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #a7a7a757;
    /* backdrop-filter: blur(30px); */
    /* -webkit-backdrop-filter: blur(30px); */
    border-radius: 0.8rem 0.8rem 0 0;
}

.leav_card .aiv_qq {
    position: relative;
    padding: 2rem 0;
    padding-bottom: 0.5rem;
}

.leav_card .aiv_qq img {
    width: 5rem;
    height: 5rem;
    border-radius: 10rem;
    border: 2px solid #fff;
    position: absolute;
    top: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
    ;
}

.leav_card .row_flex_leav {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.leav_card .row_flex_leav .name_leav {
    margin-bottom: 1rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #6b6b6b;
}

.leav_card .row_flex_leav .leav_text {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    margin-top: 1rem;
    color: #7f7f7f;
    font-size: 1rem;
    line-height: 1.5rem;
    background: #f5f5f5;
    padding: 0.5rem 1rem;
    border-radius: 0.6rem;
    word-break: break-all;
    width: 96%;
    position: relative;
    transition: 0.1s all;
}

.leav_card .row_flex_leav .leav_text::before {
    content: '';
    width: 0px;
    height: 0px;
    border: 20px solid;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #f5f5f5;
    border-top: 20px solid transparent;
    position: absolute;
    top: -2.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    transition: 0.1s all;
}

.leav_card .row_flex_leav .leav_footer .leav_city,
.leav_card .row_flex_leav .leav_footer .leav_time {
    color: #1cbbb4;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    background-color: #d2f1f0;
    display: flex;
    align-items: center;
}

.leav_card .row_flex_leav .leav_footer .leav_city span,
.leav_card .row_flex_leav .leav_footer .leav_time span {
    margin-right: 0.3rem
}

.leav_card .row_flex_leav .leav_footer .leav_time {
    background: #fff0e6;
    color: #ff6600;
}

.leav_card .leav_footer {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 1.5rem 0;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
}

.leav_card:hover .leav_text {
    background: #4d4d4d;
    color: #fff;
}

.leav_card:hover .leav_text::before {
    border-bottom: 20px solid #4d4d4d;
}

#mes {
    position: fixed;
    right: 1rem;
    top: 6rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.mesly {
    font-size: 2.5rem !important;
    background: #fb6e6e;
    padding: 0.8rem;
    margin-top: 1rem;
    border-radius: 1rem;
    color: #fff;
    z-index: 100;
    transition: all 0.15s;
    border: 1px solid #fff;
    box-shadow: 0 2px 8px rgba(28, 31, 35, .03), 0 16px 48px 8px rgba(28, 31, 35, .08);
}

.mesly:hover {
    background: #fff;
    color: #fb6e6e;
    cursor: pointer;
}

input[data-switch] {
    display: none;
}

input[data-switch]+label {
    width: 70px;
    height: 30px;
    background-color: #f1f3fa;
    background-image: none;
    border-radius: 2rem;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    margin: 1rem 0;
}

input[data-switch]+label:before {
    color: #fa5c7c;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    line-height: 30px;
    position: absolute;
    right: 15px;
    margin: 0 .21667rem;
    top: 0;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

input[data-switch]+label:after {
    content: '';
    position: absolute;
    left: 4px;
    background-color: #fa5c7c;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 5px;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out
}

input[data-switch]:checked+label {
    background-color: #727cf5
}

input[data-switch]:checked+label:before {
    color: #fff;
    content: attr(data-on-label);
    right: auto;
    left: 12px
}

input[data-switch]:checked+label:after {
    left: 46px;
    background-color: #f1f3fa
}

input[data-switch=bool]+label {
    background-color: #fa5c7c
}

input[data-switch=bool]+label:before,
input[data-switch=bool]:checked+label:before {
    color: #fff !important
}

input[data-switch=success]:checked+label {
    background-color: #fa5c7c;
}

span.itpsStyle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fbbd08;
    background: #fef2ce;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    margin: 0 0.5rem;
    display: inline-block;
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
}


/* 游客留言卡片样式 2024/04/28 */

.Message_Wrap {
    margin: 0 3rem 2rem;
}

.Message_Wrap .MessageCard {
    padding: 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 31, 35, .03), 0 16px 48px 8px rgba(28, 31, 35, .08);
    border-radius: 1rem;
    position: relative;
    box-sizing: border-box;
    margin-top: 1.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}


.Message_Wrap .MessageCard .UserAvatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: -12px -9px 8px rgba(28, 31, 35, .03), -18px -16px 48px 8px rgb(161 161 161 / 8%);
    overflow: hidden;
    position: absolute;
    top: -2.5rem;
    left: -2.5rem;
}

.Message_Wrap .MessageCard .UserAvatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Message_Wrap .MessageCard .UserName {
    padding-left: 2.2rem;
    font-family: 'Noto Serif SC', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.Message_Wrap .MessageCard .MsgContent p {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6rem;
    padding: 1rem;
    color: #504c4c;
    letter-spacing: 1px;
}

.Message_Wrap .MessageCard .MsgFooter{
    padding: 1rem;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.Message_Wrap .MessageCard .MsgFooter span {
    font-family: 'Noto Serif SC', serif;
    font-weight: 400;
}

.Message_Wrap .MessageCard .MsgFooter .icon {
    margin-right: 0.2rem !important;
}

.Message_Wrap .MessageCard .MsgFooter .Msgdate{
    margin-top: 1rem;
}

.Message_Wrap .MessageCard .MsgFooter .InfoItem {
    padding: 0.3rem 1rem;
    border: 1px solid #000000;
    border-radius: 0.5rem;
    margin-right: 0.5rem;
    color: #2b2929;
}

.Message_Wrap .MessageCard:nth-child(even) .UserAvatar {
    left: unset;
    right: -2.5rem;
    box-shadow: 12px -9px 8px rgba(28, 31, 35, .03), 18px -16px 48px 8px rgb(161 161 161 / 8%);
}

.Message_Wrap .MessageCard:nth-child(even) .UserName {
    text-align: right;
    padding-right: 2.2rem;
}

.Message_Wrap .MessageCard:nth-child(even) .MsgContent p {
    text-align: right;
}

.Message_Wrap .toExamine img{
    width: 3rem;
    height: 3rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.Message_Wrap .MessageCard:nth-child(even) .toExamine img{
    right: unset;
    left: 1rem;
}

.MessageCard:hover{
    background: #f2f1f1;
    cursor: pointer;
    transition: all 0.1s !important;
}