forum-action-bar {
    display: flex;
    flex-direction: row;
    background-color: #00000025;
    margin: 0px -8px;
    padding: 8px;
} forum-action-bar > form{
    width: -webkit-fill-available;
    margin: auto;
}

acc-name {
    display: block;
    margin: auto;
    min-width: fit-content;
}

forum-container {
    margin: 0px 16px;
}

darken-everything{
    display: flex;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000c0;
    z-index: 100;
}

forum-login{
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

form-login-container{
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 16px;
    aspect-ratio: 1/1.25;
    border-color: #7e7e7e;
    border-style: inset;
}

form-login-container-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
}

forum-signup{
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

form-signup-container{
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 16px;
    aspect-ratio: 1/1.50;
    border-color: #7e7e7e;
    border-style: inset;
}

form-signup-container-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
}

forum-createnew-topic{
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    z-index: 101;
}

form-createnew-topic-container{
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 16px;
    aspect-ratio: 1.125/1;
    border-color: #7e7e7e;
    border-style: inset;
}

form-createnew-topic-container-form{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
}
form-createnew-topic-container-form > form > textarea{
    resize: none;
    height: 10em;
}

#user-details-form > input{
    margin: 8px 0px;
} #user-details-form > input[type="email"]{
    padding: 8px 8px;
    aspect-ratio: 1/0.10;
} #user-details-form > input[type="password"]{
    padding: 8px 8px;
    aspect-ratio: 1/0.10;
} #user-details-form > input[type="text"]{
    padding: 8px 8px;
    aspect-ratio: 1/0.10;
} #user-details-form > textarea{
    padding: 8px 4px;
    font-size: 0.75em;
    aspect-ratio: 1/0.45;
}

forum-container-topics-error{
    display: block;
    color: #ff4545;
    background-color: #9f2f2f;
    padding: 1rem;
}

#close-form{
    display: flex;
    justify-content: end;
    margin: 0px -8px;
} #close-form > input{
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    background-color: #ff2525;
    color: #ffffff;
    text-align: center;
    border: #9f2f2f inset;
}

forum-container-topic{
    display: block;
    background-color: #8f8f8f;
    margin-bottom: 16px;
    margin: 0px -8px 16px -8px;
    padding: 8px;
    border: #000000 inset;
}

forum-topic-title{
    display: block;
    font-size: 1.75rem;
    font-weight: bold;
}






forum-topic-author{
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    align-items: center;
}

#icon-topic-home-page{
    display: flex;
    width: auto;
    height: 25px;
    margin-left: 4px;
}

#topicPageAuthorContainer{
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    align-items: center;
}

#icon-topic-topic-page{
    display: flex;
    width: auto;
    height: 30px;
    margin-left: 4px;
}






#forum-topic-link{
    text-decoration: none;
    color: #000000;
} #forum-topic-link:hover{
    text-decoration: underline;
    color: #000000;
} #forum-topic-link:hover > forum-container-topic{
    background-color: #7f7f7f;
    border: #101010 inset;
} 

hr{
    background-color: #000000;
    border: #000000 inset;
}

topic-locked {
    display: flex;
    flex-direction: row;
    font-size: 0.95rem;
    align-items: center;
} topic-locked img {
    width: auto;
    height: 25px;
    padding-right: 8px;
}

forum-topic-comment-container{
    display: block;
    padding: 8px;
    border: #858585 inset;
} forum-topic-comment-container form{
    display: inline-block;
    background-color: #00000010;
    padding: 8px;
    border: #85858585 inset;
}

/*
<forum-comment>
    <forum-comment-data>
        comment
    </forum-comment-data>
    <forum-comment-author>
        username
    </forum-comment-author>
</forum-comment>
*/

forum-comment{
    display: inline-block;
    padding: 16px;
    background-color: #00000075;
    color: #ffffff;
    border: #757575 inset;
    margin-bottom: 16px;
}

forum-comment-data{
    display: inline-block;
    font-size: 0.90rem;
}

forum-comment-author{
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
}

topic-notice{
    display: block;
    padding: 12px;
    background-color: #5075ff;
    font-weight: bold;
    font-size: 1.10rem;
}