
body {
    font-size: 1rem;
    margin: 0 auto;
    max-width: 740px;
}
a {
    text-decoration: none;
    color: #595d73;
}
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
div {
    display: block;
}
hr{
    border: 1px solid #0000000f;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
}
.logo,
.help,
.container {
    padding: 20px 20px 0 20px;
}
.logo img {
    height: 18px;
}
.logo .header {
    position: relative;
}
.logo .header .a {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bold;
    line-height: 29px;
    color: black;
    font-family: serif;
    letter-spacing: -1px;
    margin-right: 82px;
}
.logo .header .a.zh{
    font-family: arial, "Hiragino Sans GB", "Microsoft Yahei", "微软雅黑", Tahoma, Helvetica, STHeiti;
    line-height: 1.5;
}
.logo .header .b {
    display: inline-table;
    position: absolute;
    top: 0;
    right: 0;
}
.logo .c {
    font-weight: 600;
    padding-bottom: 6px;
}
.logo .d {
    font-size: 12px;
    font-family: cursive;
}
.nav {
    margin: 10px 0;
    font-size: 12px;
    display: flex;
}
.nav a {
    margin-right: 10px;
}
.nav a.active {
    color: #0694cd;
}
.nav a.active::after {
    display: block;
    content: '';
    border-top: 1px solid #0694cd;
    border-radius: 2px;
}
.b .year {
    font-size: 20px;
    font-weight: 300;
}
.b .day {
    background-color: #0694cd;
    color: #fff;
    padding: 5px 12px;
    font-size: 34px;
    /* background: rgb(6,148,205); */
    background: linear-gradient(52deg, rgba(6,148,205,1) 48%, rgba(6,148,205,1) 66%, rgba(6,148,205,1) 66%, rgba(0,212,255,1) 100%);
    text-align: center;
    font-weight: 600;
}
.timeline {
    font-size: 14px;
    line-height: 1.6;
}
.history h3 {
    color: #afa9a5;
    font-family: fantasy, serif;
    font-size: 24px;
    font-weight: 800 !important;
    margin-bottom: 15px;
}
.history:first-child h3 {
    margin-top: 0;
}
.history p {
    font-family: Helvetica,GregorRegular;
    font-size: 16px;
    margin-bottom: 20px;
    margin-top: 0;
    color: #212529;
    line-height: 1.5;
}
p .ai {
    background: #eee;
    padding: 2px 10px;
    font-size: 12px;
    cursor: pointer;
}
footer {
    padding: 40px 20px;
    line-height: 24px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #9e9e9e;
}
footer img {
    width: 120px;
    margin-bottom: 20px;
}


.ai_analysis {
    font-family: Helvetica,GregorRegular;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fafafa;
    background-clip: border-box;
    border: 1px solid #00000020;
    padding: 6px;
    color: #626262;
    margin: -10px 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}
.ai_analysis i{
    font-size: 12px;
    color: #afa9a5;
}
.grapevine{
    word-wrap: break-word;
    background-color: #fafafa;
    background-clip: border-box;
    border: 1px solid #00000020;
    padding: 10px;
    margin: -10px 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}




.content {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: 300;
        line-height: 1.375;
        letter-spacing: -0.05em;
        margin: 0 0 1rem 0;
        color: #000000;
    }

    h1 {
        font-size: 3.5rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 2.25rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 0.9rem;
    }

    h6 {
        font-size: 0.7rem;
    }
    hr {
        border: 0;
        border-bottom: solid 1px;
        margin: 2.5rem 0;
        border-bottom-color: rgba(0, 0, 0, 0.2);
    }
    p {
        margin: 0 0 2rem 0;
    }
    ul {
        list-style: disc;
        margin: 0 0 2rem 0;
        padding-left: 1rem;
    }
    ul li {
        padding-left: 0.5rem;
    }
    ul.alt {
        list-style: none;
        padding-left: 0;
    }
    ul.alt li {
        border-top: solid 1px;
        padding: 0.5rem 0;
        border-top-color: rgba(0, 0, 0, 0.2);
    }
    ul.alt li:first-child {
        border-top: 0;
        padding-top: 0;
    }
    ol {
        list-style: decimal;
        margin: 0 0 2rem 0;
        padding-left: 1.25rem;
    }
    ol li {
        padding-left: 0.25rem;
    }

    .image {
        border: 0;
        border-radius: 4px;
        display: inline-block;
        position: relative;
    }

    .image img {
        display: block;
        border-radius: 4px;
    }

    .image.left,
    .image.right {
        width: 40%;
        max-width: 10rem;
    }

    .image.left img,
    .image.right img {
        width: 100%;
    }

    .image.left {
        float: left;
        margin: 0 1.5rem 1rem 0;
        top: 0.25rem;
    }

    .image.right {
        float: right;
        margin: 0 0 1rem 1.5rem;
        top: 0.25rem;
    }

    .image.fit {
        display: block;
        margin: 0 0 2rem 0;
        width: 100%;
    }

    .image.fit img {
        width: 100%;
    }

    .image.main {
        display: block;
        margin: 0 0 3rem 0;
        width: 100%;
    }

    .image.main img {
        width: 100%;
    }
}

.BirthdaysItems{
    margin-bottom: 1rem;
display: grid;
grid-template-columns: repeat(2, 1fr);
row-gap: 1rem;  column-gap: 1rem;
}

h2 .nav{
    float: none;
}

@media (min-width: 768px) {
.BirthdaysItems {
grid-template-columns: repeat(4, 1fr);
row-gap: 1.5rem;
column-gap: 1.5rem;
}
h2 .nav{
    float: right;
}

}

.BirthdaysItems h4{
    text-align: center;    margin: 5px;
}
.BirthdaysItems .item p.item_name{
    font-weight: 600;
    font-size: 1rem;
    }
.BirthdaysItems .item p{
margin: 0;
text-align: center;
font-size: 12px;
}
.BirthdaysItems .item_image{
width:100%;
}
#Birthdays,#Deaths{
    border-top: 1px solid #e2e2e3;
    padding: 20px 0px;
    margin-top: 40px;
    border-bottom: 1px solid #e2e2e3;
}
.BirthdaysItems .item {
    border: 1px solid rgb(229 231 235);
    padding: 5px;
    border-radius: 5px;
}


.calendar {
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
    padding-top: 20px;
    padding-bottom: 10px;
}
#calendarDays {
    display: flex;
    overflow: auto;
}
.calendar-days .today {
    background-color: #007bff;
    color: white;
}
.calendar-days div {
    background: #eee;
    border-radius: 2px;
    font-size: 8px;
    height: 16px;
    width: 16px;
    line-height: 16px;
    font-weight: 300;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-top: 0px;
}
.month h3 {
    margin: 0;
    text-align: left;
    font-size: 10px;
    font-weight: 300;
    color: #555;
}
.calendar-days a{
    text-decoration: none;
    color: black;
    display: block;
    width: 16px;
    height: 16px;
}
.calendar-days a:hover {
    background-color: #0056b3;
    color: white;
}
.inyear{
    height: 300px;overflow: auto;
}
.inyear ul li{
    padding-left: 20px;
}