/* ALLGEMEIN */


.message {
    text-align: center;
    width: 100%
}

.answer {
    color: #2eb133
}

.eye {
    color: #2F2FD6
}

.buttonmargin {
    margin-top: 20px;
    display: flex;
    justify-content: center
}

.error-topmargin {
    margin-top: 10px
}


/* TOPICS */


.subtopics {
    border: 1px solid lightgray
}

.subtopic {
    display: flex;
    border-bottom: 1px solid lightgray;
    padding: 5px;
    cursor: pointer;
    background: #fff7f7;
    transition: background 0.5s ease;
}

.subtopic:hover {
    background: #ffe7e7
}

.subtopic:last-child {
    border-bottom: unset;
}

.subtopic > div:first-child {
    width: 40%;
    align-items: center;
    display: flex;
    padding-left: 3px;
    flex-wrap: wrap
}

.subtopic h3 {
    margin: 0;
    padding: 0;
}

.subtopic h3 a {
    color: rgba(0, 0, 0, 0.83) !important;
    text-decoration: none;
    font-family: Roboto;
}

.subtopic h3 a sup {
    position: absolute;
    font-family: Roboto;
    font-size: 15px;
    background: #C20000;
    color: #fff;
    margin-left: 5px;
    padding: 0 2.5px;
    display: none;
}

.subtopic > div:nth-child(2) {
    width: 20%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.subtopic > div:nth-child(2) div {
    display: flex;
    flex-wrap: wrap
}

.subtopic > div:nth-child(2) span {
    width: 100%;
    display: block;
    text-align: center;
    font-size: 14px;
}

.subtopic > div:nth-child(2) span.bull {
    font-weight: bold;
    display: none;
}

.subtopic > div:last-child {
    width: 40%;
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

.subtopic .lastitem {
    display: flex;
    width: 100%
}

.subtopic .profileimage img {
    width: 40px;
    height: 40px;
    vertical-align: bottom;
    cursor: pointer;
    transition: opacity 0.5s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.22) !important
}

.subtopic .profileimage img:hover {
    opacity: 0.7
}

.subtopic .iteminfo {
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    width: 84%
}

.subtopic .iteminfo span.name, .subtopic .iteminfo span.author {
    display: block;
    width: 100%
}

.subtopic .name {
    max-height: 20px;
    overflow: hidden;
    word-break: break-all;
    color: #C20000
}
.subtopic .name b {
    color: #000;
}

.readall {
    margin-top: 10px;
    width: 100%
}

.readall-container {
    display: none;
}

@media (max-width: 900px){
    .subtopic {
        flex-wrap: wrap
    }
    .subtopic > div:first-child {
        width: 100%;
        padding-left: 0
    }
    .subtopic h3 a {
        text-decoration: underline
    }
    .subtopic > div:nth-child(2) {
        width: 100%;
        padding: 5px 0;
        padding-top: 0;
    }
    .subtopic > div:nth-child(2) div {
        width: 100%;
        display: block;
    }
    .subtopic > div:nth-child(2) span {
        width: unset;
        display: inline-block;
        color: gray
    }
    .subtopic > div:nth-child(2) span.bull {
        display: inline-block;
    }
    .subtopic > div:last-child {
        width: 100%
    }
    .subtopic > div:last-child p.message {
        display: none;
    }
}

/* THREADS */


.subtopicbar {
    display: flex;
    background: #fff7f7;
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -10px !important;
    padding: 10px;
    border-bottom: 1px solid lightgray;
    justify-content: space-between
}

.subtopicbar h1 {
    padding-bottom: 0;
}

.subtopicbar .rightcolumn {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.subtopicbar .rightcolumn div {
    text-align: right
}

.subtopicbar .rightcolumn div > span {
    white-space: nowrap;
    display: block;
    width: 100%;
    font-size: 18px;
}

.subtopicbar .rightcolumn span.bull {
    display: none;
    font-weight: bold
}

.threads {
    padding-top: 10px;
    width: 100%
}

.thread {
    display: flex;
    border-bottom: 1px solid lightgray;
    padding: 5px;
    cursor: pointer;
    transition: background 0.5s ease;
    width: 100%;
    box-sizing: border-box
}

.thread:hover {
    background: #fff7f7
}

.thread:last-child {
    border-bottom: unset;
}

.thread > div:first-child {
    width: 45%;
    align-items: center;
    display: flex;
    padding-left: 3px;
    flex-wrap: wrap
}

.thread > div:first-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 21px;        
    max-height: 45px; 
}

.thread div.title {
    margin: 0;
    padding: 0;
    width: 100%
}

.thread div.title a {
    color: rgba(0, 0, 0, 0.83) !important;
    text-decoration: none;
    font-family: Roboto;
    font-size: 20px;
    font-weight: bold
}

.thread div.title a sup {
    position: absolute;
    font-family: Roboto;
    font-size: 15px;
    background: #C20000;
    color: #fff;
    margin-left: 5px;
    padding: 0 2.5px;
    display: none
}

.thread div.title i.colored {
    color: #C20000
}

.thread div.title i.grayed {
    color: gray
}

.thread > div:nth-child(2) {
    width: 15%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.thread > div:nth-child(2) div {
    width: 100%
}

.thread > div:nth-child(2) span {
    display: block;
    text-align: center
}

.thread > div:last-child {
    width: 40%;
    display: flex;
    align-items: center;
    flex-wrap: wrap
}

.thread div.lastitem {
    display: flex;
    width: 100%
}

.thread .profileimage img {
    width: 40px;
    height: 40px;
    vertical-align: bottom;
    cursor: pointer;
    transition: opacity 0.5s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.22) !important
}

.thread .profileimage img:hover {
    opacity: 0.7
}

.thread .iteminfo {
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    width: 84%
}

.thread .iteminfo span.name, .thread .iteminfo span.author {
    display: block;
    width: 100%
}

.thread .name {
    max-height: 20px;
    overflow: hidden;
    word-break: break-all;
    color: #C20000
}
.thread .name b {
    color: #000;
}

@media (max-width: 900px){
    .subtopicbar {
        flex-wrap: wrap;
    }

    .subtopicbar .leftcolumn {
        width: 100%;
    }

    .subtopicbar .rightcolumn {
        width: 100%;
        margin-left: 0;
        display: block;
    }

    .subtopicbar .rightcolumn div {
        text-align: left;
        padding-top: 5px
    }

    .subtopicbar .rightcolumn div > span {
        width: unset;
        display: inline-block;
        color: gray;
        font-size: 17px;
    }

    .subtopicbar .rightcolumn span.bull {
        display: inline-block;
    }


    .thread {
        flex-wrap: wrap
    }
    .thread > div:first-child {
        width: 100%;
        padding-left: 0
    }
    .thread div.title a {
        text-decoration: underline
    }
    .thread > div:nth-child(2) {
        width: 100%;
        padding: 5px 0
    }
    .thread > div:nth-child(2) div {
        width: 100%;
        display: block;
    }
    .thread > div:nth-child(2) span {
        width: unset;
        display: inline-block;
        color: gray
    }
    .thread > div:nth-child(2) i {
        opacity: 0.8
    }
    .thread > div:nth-child(2) span.bull {
        display: inline-block;
    }
    .thread > div:last-child {
        width: 100%
    }
    .thread > div:last-child p.message {
        display: none;
    }
}


/* ARTICLES */


.article {
    display: flex;
    margin: -10px !important;
}

.threadbg {
    background: #ffc7c7
}

.threadbg div, .threadbg h1 {
    border-color: gray !important;
}

.ownbg {
    background: #fff1f1
}

.article div.profileinfo {
    width: 17%;
    padding-top: 10px;
    padding-left: 10px;
    padding-bottom: 10px
}

.article div.profileinfo div.leftprofile {
    box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.22) !important;
    background: #efefef;
}

.article div.profileinfo div.rightprofile {
    display: none;
}

.article div.profileinfo div.information {
    font-size: 13px;
    color: gray;
}

.article div.profileinfo div.information span {
    padding: 2px
}

.article div.profileinfo div.information span:first-child {
    float: left
}

.article div.profileinfo div.information span:last-child {
    float: right;
    cursor: pointer;
    transition: color 0.5s ease;
}

.article div.profileinfo div.information span:last-child:hover {
    color: black;
}

.article div.profileinfo div.image img {
    width: 100%;
    vertical-align: bottom;
}

.article div.profileinfo div.name {
    display: flex;
    justify-content: center;
    background: #e4e4e4
}

.article div.profileinfo div.name a {
    font-weight: bold;
    text-decoration: blink;
    font-size: 17px;
    text-align: center
}

.article div.profileinfo div.name a:hover {
    text-decoration: underline
}

.article div.profileinfo div.name-addition {
    font-size: 13px;
    color: gray;
    text-align: center
}

.article div.maininfo {
    width: 83%;
    margin-left: 10px;
    border-left: 1px solid lightgray
}

.article div.maininfo div.title h1, .article div.maininfo div.title h2 {
    margin: 0; padding: 0;
    padding: 10px;
    box-sizing: border-box;
}

.article div.maininfo div.title h2:empty {
    display: none;
}

.article div.maininfo div.title h1 i {
    margin-right: 10px
}

.article div.maininfo div.time {
    margin-top: 5px;
    font-size: 14px;
    color: gray;
    text-align: right;
    margin-right: 10px;
}

.article div.maininfo div.text {
    padding: 0 10px;
    box-sizing: border-box;
}

.article div.maininfo div.lastedit {
    margin-bottom: 5px;
    font-size: 14px;
    color: gray;
    margin-left: 10px;
}

.article div.maininfo div.lastedit a {
    font-size: inherit;
    color: inherit
}

.article div.maininfo div.toolbar {
    padding: 10px;
    padding-bottom: 0;
    border-top: 1px solid lightgray;
}

.article div.maininfo div.toolbar:empty {
    display: none
}

.article div.maininfo div.toolbar button {
    margin-bottom: 10px;
    margin-right: 7px
}

.article-container {
    display: none;
}

.article-container .errbox {
    margin-top: 10px
}

.article-release {
    margin-top: 10px
}

.article-seitenmanager .seitenmanager-spacing {
    border-top: none;
}

.article-seitenmanager .seitenmanager {
    margin-top: 0;
}

@media (max-width: 900px){
    .add-article-container {
        display: none;
    }

    .article {
        flex-wrap: wrap
    }
    
    .article div.profileinfo {
        width: 100%;
        padding: 3px;
        border-bottom: 1px solid lightgray;
        background: #e4e4e4
    }

    .article div.profileinfo div.leftprofile {
        display: none;
    }

    .article div.profileinfo div.rightprofile {
        display: flex;
    }

    .article div.profileinfo div.profileinformation {
        width: 90%;
        display: flex;
    }

    .article div.profileinfo div.image img {
        box-shadow: 0 1px 3px rgba(0,0,0,0.30), 0 1px 2px rgba(0,0,0,0.22) !important;
        width: 40px;
        height: 40px
    }

    .article div.profileinfo div.imageside {
        width: 100%;
        padding-left: 3px;
        display: flex;
        flex-wrap: wrap;
        align-items: center
    }

    .article div.profileinfo div.name {
        display: block;
        width: 100%
    }

    .article div.profileinfo div.name a {
        font-size: 18px
    }

    .article div.profileinfo span.name-addition {
        padding-left: 5px;
        color: #484848;
    }

    .article div.profileinfo div.time {
        font-size: 13px;
        color: #484848;
        width: 100%
    }

    .article div.profileinfo div.information {
        width: 10%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        font-size: 16px;
        padding-right: 5px
    }

    .article div.profileinfo div.information span {
        width: 100%;
        display: block;
        text-align: right;
        padding: 0;
    }

    .article div.maininfo {
        border-left: none;
        margin-left: 0;
        width: 100%
    }

    .article div.maininfo div.time {
        display: none;
    }
}

.edi_in {
    margin: 10px 0
}

.ckeditor {
    display: none;
}

.title input {
    font-family: Roboto Slab,sans-serif,Verdana,Arial;
    font-weight: bold;
    background: #fff;
    border: none;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.83);
    width: 100%;
    font-size: 30px;
    padding: 0 5px 2px 5px;
    box-sizing: border-box
}

.inputbox {
    padding: 10px;
    border-bottom: 1px solid lightgray
}

.share-box {
    margin: 0px;
}
.share-box h2 {
    margin-top: -5px;
}
.share-subbox {
    display: -webkit-flex; display: flex;
    -webkit-flex-wrap: wrap; flex-wrap: wrap;
    margin-left: 5px
}
.share-subbox div {
    -webkit-align-self: center; align-self: center;
    padding-right: 10px;
    padding-bottom: 5px;
    margin-top: 10px
}
.share-subbox div:first-child {
    padding-left: 0
}
.share-subbox span {
    font-size: 13px
}
.share-subbox img {
    display: inline-block;
    cursor: pointer;
    width: auto;
    height: auto;
    transition: opacity 0.5s ease;
    vertical-align: top;
    filter: saturate(1.5);
    -webkit-filter: saturate(1.5);
    -ms-filter: saturate(1.5);
    box-shadow: 0 0.5px 0 0 #ffffff inset, 0 1px 2px 0 #B3B3B3;
}
.share-box img:hover {
    opacity: 0.7
}

.abobutton {
    display: flex;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    padding-top: 10px
}

.abobutton {
    display: flex;
}

.abobutton button {
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    border: none;
    padding: 9px 13px;
    font-size: 17px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: none;
    position:relative;
    border: 1px solid #CE0000;
    background: #CE0000;
    display: flex;
    margin-right: 5px;
    justify-content: center
}

.abobutton button i {
    margin-right: 5px;
}

.abobutton button:last-child {
    margin-right: 0;
}

.abobutton button.notification {
    font-size: 20px;
}

@-moz-document url-prefix() {
    .abobutton button.subscribe {
        padding: 8px 13px;
    }
}

.abobutton button.notification i {
    margin-right: 0
}

.abobutton button.notification.strikethrough:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid #fff;

    -webkit-transform: rotate(-40deg);
    -moz-transform: rotate(-40deg);
    -o-transform: rotate(-40deg);
    transform: rotate(-40deg);
}

.abobutton button:hover {
    background: transparent;
    color: #CE0000;
}

.abobutton button.notification.strikethrough:hover:before {
    border-color: #CE0000 !important;
}

.abobutton button[data-mode="0"] {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.abobutton button[data-mode="0"]:hover {
    opacity: 1
}

.abobutton div.side {
    color: #fff;
}

.abobutton div.sidemrg {
    padding-left: 10px;
}

.abobutton div.side > span {
    width: 100%;
    display: block;
}

@media (max-width: 500px){
    .abobutton {
        flex-wrap: wrap
    }
    .abobutton button {
        height: 40px
    }
    .abobutton div.side {
        width: 100%
    }
    .abobutton div.sidemrg {
        padding-left: 0;
        padding-top: 13px;
    }
}