*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html
{
    height: 100%;
    width: 100%;
}

/* footer */
div#page_footer div:nth-of-type(2) a
{
    color: #66beff;
}

div#page_footer div:nth-of-type(2) a:hover
{
    color: #a2d7ff;
}

/* homepage */
div#groups, div#group_intro, div#serviceitems
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style-position: inside;
}

div#serviceitems div
{
    width: 10em;
    margin: 1em 2.5em;
    text-align: center;
}

div#serviceitems div h3
{
    line-height: 2rem;
    margin-top: 1em;
}

div#serviceitems div p
{
    line-height: 1.4rem;
}

div#groups, div#serviceitems
{
    animation: fadeInUp 0.8s ease-in-out;
}

div#group_intro
{
    animation: fadeIn 0.4s ease-in-out;
}

div#groups h1, div#group_intro h1, div#home_news h1, div#serviceitems h1
{
    line-height: 2.6em;
}

div#groups p, div#group_intro p
{
    line-height: 1.6em;
}

div#groups > div#system_group:hover,div#groups >  div#network_group:hover,div#groups >  div#pcroom_group:hover
{
    background-color: #dddddd;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

div#system_group, div#network_group, div#pcroom_group
{
    background-color: unset;
    transition: all 0.3s ease-in-out;
    padding: 1em 3em;
    margin: 1em 1em;
    text-align: center;
    width: 20em;
    border-radius: 5px;
}

div#group_intro div:last-of-type ul
{
    font-size: 1rem;
    line-height: 1.4rem;
}

div#home_news
{
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease-in-out;
}

/* GPT box */
div.ant-drawer-body:has(div#gpt_container)
{
    padding: 0;
}

div#gpt_container
{
    height: 100%;
    overflow: hidden;
}

/* bulletin */
h4.ant-list-item-meta-title
{
    text-indent: 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

li.ant-list-item:hover
{
    background-color: #dddddd;
}

/* anchor */
a.ant-anchor-link-title a
{
    display: inline-block;
    width: 100%;
    color: rgba(0, 0, 0, 0.88);
}

a.ant-anchor-link-title.ant-anchor-link-title-active a
{
    color: #7f1084;
}

/* content template */
nav.ant-breadcrumb
{
    margin: 16px 0;
    position: relative;
    left: 30%;
    width: 60%;
}

div.ant-anchor-wrapper
{
    position: fixed;
    width: 20%;
    top: 20%;
    left: 6%;
}


h1.content_topic
{
    position: relative;
    width: 60%;
    left: 30%;
    font-size: 4em;
}

h4.content_topic
{
    position: relative;
    width: 60%;
    left: 30%;
    margin: 1em 0;
    font-size: 1.2em;
}

div#content_frame
{
    font-size: 1.2em;
    position: relative;
    left: 20%;
    width: 60%;
    margin: 2.2rem 10%;
}

div#content_frame p
{
    margin: 2% 2%;
    line-height: 1.6em;
}

div#content_frame ul, div#content_frame ol
{
    padding-left: 48px;
    margin: 1em 0;
}

div#content_frame h1
{
    font-size: 2.8em;
    line-height: 2em;
    margin: 1.2em 0;
    border-bottom: 1px solid #b3b3b3;
}

div#content_frame h2
{
    font-size: 2em;
    margin: 0.8em 0;
    border-bottom: 1px solid #b3b3b3;
}

div#content_frame h3
{
    font-size: 1.5em;
}

div#content_frame h1, div#content_frame h2,div#content_frame h3
{
    color: #7f1084;
    line-height: 2em;
}

div#content_frame summary
{
    font-weight: bold;
    line-height: 2.5em;
    /* border-radius: 5px; */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-bottom: solid #a2a2a2 1px;
}

div#content_frame summary:hover
{
    background-color: #e4e4e4;
    transition: all 0.3s ease-in-out;
}

div#content_frame pre
{
    padding: 1em;
    margin: 1em;
    border-color: #cacaca;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    background-color: #ebebeb;
    overflow: auto;
}

div#content_frame img
{
    max-width: 100%;
}


/* MOBILE */
@media only screen and (max-width: 800px) 
{
    div.ant-anchor-wrapper
    {
        display: none;
    }    

    div#content_frame, h1.content_topic, h4.content_topic
    {
        left: unset;
        width: unset;
        margin-left: 0;
        margin-right: 0;
    }

    h1.content_topic
    {
        font-size: 3em;
    }

    div#content_frame h1
    {
        font-size: 2.2em;
    }

    div#content_frame h2
    {
        font-size: 1.8em;
    }

    div#content_frame h3
    {
        font-size: 1.6em;
    }

    nav.ant-breadcrumb
    {
        left: unset;
        width: unset;
    }
}