/* ===============================================
   WBB 2.3.6 THREAD / POSTBIT CSS - BEREINIGT
   Stabil für Desktop + Mobile
   =============================================== */

/* ===============================================
   GRUNDLAGEN
   =============================================== */

.postbit-table,
.postbit-container-table,
.postbit-inner-table {
    width: 100%;
    border-collapse: collapse;
}

.postbit-table {
    margin-bottom: 15px;
    table-layout: fixed;
}

.postbit-row {
    transition: box-shadow 0.2s ease;
}

.postbit-row:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.postbit-table img,
.postbit-container-table img,
.postbit-inner-table img {
    max-width: 100%;
    height: auto;
}

.postbit-table td,
.postbit-container-table td,
.postbit-inner-table td,
.thread-top-links-table td,
.thread-bottom-links-table td,
.thread-post-header-table td,
.thread-rules-grid td,
.thread-pagination-table td,
.thread-bottom-nav td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===============================================
   THREAD-STRUKTUR / NAVIGATION
   =============================================== */

.thread-main-container,
.thread-pagination-table,
.thread-rules-table,
.thread-bottom-nav,
.thread-top-links-table,
.thread-bottom-links-table,
.thread-post-header-table,
.thread-rules-grid,
.thread-rating-table {
    width: 100%;
}

.thread-action-links,
.thread-bottom-links,
.thread-bottom-nav-left,
.thread-bottom-nav-right,
.thread-rules-col,
.thread-author-width {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.thread-top-links-table td,
.thread-bottom-links-table td,
.thread-post-header-table td {
    white-space: normal;
}

.thread-pagination-table .smallfont,
.thread-top-links-table .smallfont,
.thread-bottom-links-table .smallfont,
.thread-post-header-table .smallfont,
.thread-rules-table .smallfont,
.thread-bottom-nav .smallfont {
    line-height: 1.45;
}

.thread-top-links-table a,
.thread-bottom-links-table a,
.thread-post-header-table a,
.thread-pagination-table a,
.thread-bottom-nav a {
    display: inline-block;
    padding: 2px 0;
}

.thread-author-width {
    width: 130px;
}

.thread-rules-col {
    vertical-align: top;
}

/* ===============================================
   POSTBIT USER INFO (LINKE SPALTE)
   =============================================== */

.postbit-user,
.postbit-userinfo {
    width: 130px;
    vertical-align: top;
    padding: 8px 6px;
    text-align: center;
    box-sizing: border-box;
}

.postbit-username {
    font-weight: bold;
    margin-bottom: 6px;
    line-height: 1.25;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.postbit-username a,
.postbit-username strong,
.postbit-username b {
    font-size: 11px;
    line-height: 1.25;
}

.postbit-avatar {
    margin: 6px 0;
    text-align: center;
}

.postbit-avatar img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.postbit-avatar img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.postbit-rank {
    margin: 6px 0 4px 0;
    font-size: 10px;
    line-height: 1.25;
}

.postbit-rank img {
    transition: transform 0.2s ease;
}

.postbit-rank img:hover {
    transform: scale(1.06);
}

.postbit-rankimages {
    margin-top: 4px;
    line-height: 1.2;
}

.postbit-rankimages img {
    max-width: 100%;
    height: auto;
}

/* ===============================================
   POSTBIT USER DETAILS
   =============================================== */

.postbit-details {
    padding: 10px 0;
}

.postbit-userdetails {
    padding-left: 0;
    text-align: left;
}

.postbit-detail-row {
    margin: 2px 0;
    padding: 2px 0;
    display: block;
    text-align: left;
}

.postbit-detail-icon {
    display: inline-block;
    width: 12px;
    margin-right: 3px;
    vertical-align: top;
}

.postbit-detail-label {
    display: inline;
    min-width: 0;
    font-weight: normal;
    font-size: 10px;
    line-height: 1.3;
    text-align: left;
}

.postbit-detail-value {
    display: inline;
    margin-left: 4px;
    font-weight: bold;
    font-size: 10px;
    line-height: 1.3;
    text-align: left;
}

/* Herkunft / Flagge */
.postbit-map-flag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.postbit-map-flag:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.postbit-map-flag img {
    transition: transform 0.2s ease;
}

.postbit-map-flag:hover img {
    transform: scale(1.06);
}

/* Bewertung */
.postbit-rating {
    padding: 4px 2px;
    text-align: center;
}

.postbit-rating-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.postbit-rating-bar {
    margin-top: 5px;
}

/* Themenstarter */
.postbit-threadstarter {
    padding: 4px 2px;
    text-align: center;
}

.postbit-threadstarter i {
    transition: transform 0.2s ease;
}

.postbit-threadstarter:hover i {
    transform: scale(1.08);
}

/* Geburtstag */
.postbit-birthday {
    padding: 4px 2px;
    text-align: center;
    color: #666686;
}

.postbit-birthday i {
    margin-right: 5px;
    animation: bounce 1s infinite;
}

/* ===============================================
   POSTBIT CONTENT (RECHTE SPALTE)
   =============================================== */

.postbit-content {
    padding: 10px;
    position: relative;
    box-sizing: border-box;
    vertical-align: top;
}

.postbit-header {
    padding: 8px 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.postbit-date {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.postbit-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.postbit-icons a {
    display: inline-block;
}

.postbit-icons i {
    transition: transform 0.2s ease;
}

.postbit-icons a:hover i {
    transform: scale(1.15);
}

.postbit-icon-status {
    vertical-align: middle;
    margin-left: 5px;
}

.postbit-permalink {
    margin-left: 10px;
}

.postbit-title {
    padding: 0 10px 10px;
    font-weight: bold;
}

.postbit-message {
    padding: 10px 0;
}

.postbit-message img,
.postbit-message table,
.postbit-message iframe,
.postbit-message object,
.postbit-message embed {
    max-width: 100% !important;
}

.postbit-signature {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #CCCCCC;
}

.postbit-signature-icon {
    margin-right: 5px;
}

.postbit-editor-note {
    font-style: italic;
    margin-top: 10px;
    padding: 8px;
    background: #FFF9E6;
    border-left: 3px solid #FFE066;
}

.postbit-edit-icon {
    margin-right: 5px;
}

/* ===============================================
   POSTBIT ACTIONS
   =============================================== */

.postbit-delete-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.postbit-delete-icon i {
    transition: transform 0.2s ease;
}

.postbit-delete-icon a:hover i {
    transform: scale(1.12);
}

.postbit-invisible {
    text-align: right;
    margin-top: 10px;
}

.postbit-invisible-icon {
    margin-right: 5px;
}

/* ===============================================
   ANIMATIONEN
   =============================================== */

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* ===============================================
   POSTBIT CARDS
   =============================================== */

.postbit-card {
    margin: 4px 0;
    padding: 5px 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border: 1px solid rgba(102, 102, 134, 0.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.postbit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.postbit-card-left {
    text-align: left;
    padding: 4px 5px !important;
}

.postbit-username-card {
    padding: 6px 8px !important;
    margin: 4px 0 !important;
}

.postbit-card .postbit-username {
    font-weight: bold;
    margin-bottom: 8px;
}

.postbit-card .postbit-usertitle {
    color: #666666;
    font-style: italic;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dotted rgba(102, 102, 134, 0.2);
    display: block;
    font-size: 10px;
    line-height: 1.25;
}

.postbit-rating-card {
    padding: 4px 6px !important;
    margin: 4px 0 !important;
}

.postbit-card .postbit-avatar {
    text-align: center;
    padding: 4px 0;
}

.postbit-online-card {
    padding: 4px 6px !important;
    margin: 4px 0 !important;
}

.postbit-card .postbit-rankimages {
    margin-top: 8px;
}

.postbit-card .postbit-patch {
    text-align: center;
    padding: 4px 2px;
}

.postbit-card .postbit-patch-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.postbit-username-card .postbit-rank {
    color: #666666;
    font-style: italic;
    margin: 8px 0 5px 0;
}

.postbit-username-card .postbit-rankimages img {
    transition: transform 0.2s ease;
}

.postbit-username-card .postbit-rankimages img:hover {
    transform: scale(1.06);
}

.postbit-card .postbit-userdetails {
    text-align: left;
    padding-left: 0;
}

.postbit-card .postbit-marketplace {
    font-weight: bold;
    padding: 4px 2px;
}

.postbit-card .postbit-birthday {
    color: #666686;
}

.postbit-threadstarter-card {
    padding: 4px 6px !important;
    margin: 4px 0 !important;
}

.postbit-card .postbit-threadstarter {
    padding: 4px 2px;
}

.postbit-location-card {
    padding: 4px 6px !important;
    margin: 4px 0 !important;
}

.postbit-location-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.postbit-location-item {
    text-align: center;
}

.postbit-patch-label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #666686;
}

.postbit-marketplace a,
.rating-actions a,
.postbit-bike-link a,
.postbit-bike-upload a {
    font-size: 10px;
    line-height: 1.3;
}

/* Bike */
.postbit-card .postbit-bike {
    text-align: center;
    padding: 4px 2px;
}

.postbit-bike img {
    max-width: 100%;
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.postbit-bike img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.postbit-bike-link a {
    display: inline-block;
    transition: transform 0.2s ease;
}

.postbit-bike-link i {
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.postbit-bike-link a:hover i {
    transform: scale(1.15);
}

.postbit-bike-upload a {
    display: inline-block;
}

.postbit-bike-upload i {
    color: #666686;
    transition: transform 0.2s ease;
}

.postbit-bike-upload a:hover i {
    transform: scale(1.12);
}

.postbit-map {
    text-align: center;
    padding: 4px 2px;
}

.postbit-map img {
    border-radius: 4px;
}

.postbit-map-distance {
    color: #666666;
    font-weight: bold;
}

/* ===============================================
   POST CONTEXT MENU
   =============================================== */

.postbit-menu-container {
    position: absolute;
    right: 5px;
    top: 40px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border-radius: 4px;
    overflow: hidden;
    max-width: 95vw;
}

.postbit-menu {
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.18);
    padding: 10px;
    z-index: 1000;
    min-width: 280px;
    max-width: 95vw;
    box-sizing: border-box;
}

.postbit-menu-col {
    width: 50%;
    vertical-align: top;
}

.postbit-menu-section {
    padding: 8px;
    margin-bottom: 5px;
    min-height: 80px;
    box-sizing: border-box;
}

.postbit-menu-section b {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.postbit-menu a {
    margin-right: 8px;
    white-space: normal;
    vertical-align: middle;
    display: inline-block;
}

.postbit-menu i {
    margin-right: 3px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.postbit-menu a:hover i {
    transform: scale(1.12);
}

.postbit-menu-container .tableinborder {
    background-color: #F1F1F1;
    border: 1px solid #666686;
}

.postbit-menu-container .tabletitle {
    border-bottom: none;
}

.postbit-menu-container .tablea {
    background-color: #F1F1F1 !important;
}

.postbit-menu-container .tablea a {
    border-bottom: none !important;
    padding: 3px 0;
    display: block;
}

/* ===============================================
   MOBILE / TABLET
   =============================================== */

@media only screen and (max-width: 900px) {
    .thread-top-links-table,
    .thread-bottom-links-table,
    .thread-post-header-table,
    .thread-rules-grid,
    .thread-rating-table {
        display: block;
        width: 100%;
    }

    .thread-top-links-table tbody,
    .thread-bottom-links-table tbody,
    .thread-post-header-table tbody,
    .thread-rules-grid tbody,
    .thread-rating-table tbody {
        display: block;
        width: 100%;
    }

    .thread-top-links-table tr,
    .thread-bottom-links-table tr,
    .thread-post-header-table tr,
    .thread-rules-grid tr,
    .thread-rating-table tr {
        display: block;
        width: 100%;
    }

    .thread-top-links-table td,
    .thread-bottom-links-table td,
    .thread-post-header-table td,
    .thread-rules-grid td,
    .thread-rating-table td,
    .thread-pagination-table td,
    .thread-bottom-nav td {
        display: block;
        width: 100% !important;
        text-align: left !important;
        box-sizing: border-box;
    }

    .thread-rules-col {
        padding-bottom: 8px;
        border-bottom: 1px solid #d8d8d8;
    }

    .thread-rules-col:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .thread-rating-table td {
        text-align: center !important;
        padding: 6px 4px !important;
    }

    .thread-author-width,
    .postbit-user,
    .postbit-userinfo {
        width: 120px;
    }

    .postbit-user,
    .postbit-userinfo {
        padding: 6px 5px;
    }

    .postbit-card {
        padding: 4px 5px;
    }

    .postbit-bike img {
        width: 58px;
        height: 58px;
    }

    .postbit-username a,
    .postbit-username strong,
    .postbit-username b {
        font-size: 10px;
    }

    .postbit-rank,
    .postbit-detail-label,
    .postbit-detail-value,
    .postbit-marketplace a,
    .rating-actions a {
        font-size: 9px;
    }

    .postbit-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .postbit-delete-icon {
        position: static;
        margin-top: 10px;
        text-align: right;
    }

    .postbit-menu {
        min-width: 260px;
    }
}

/* ===============================================
   SMARTPHONE
   =============================================== */

@media only screen and (max-width: 640px) {
    .thread-author-width,
    .postbit-user,
    .postbit-userinfo {
        width: 100% !important;
        display: block;
    }

    .postbit-content {
        display: block;
        width: 100% !important;
    }

    .postbit-table,
    .postbit-table tbody,
    .postbit-table tr,
    .postbit-table td,
    .postbit-container-table,
    .postbit-container-table tbody,
    .postbit-container-table tr,
    .postbit-container-table td,
    .postbit-inner-table,
    .postbit-inner-table tbody,
    .postbit-inner-table tr,
    .postbit-inner-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .postbit-user,
    .postbit-userinfo {
        padding: 8px 6px;
        padding-bottom: 0;
    }

    .postbit-content {
        padding-top: 6px;
    }

    .postbit-header,
    .postbit-date,
    .postbit-icons {
        display: block;
    }

    .postbit-icons {
        margin-top: 6px;
    }

    .postbit-card,
    .postbit-user,
    .postbit-userinfo,
    .postbit-content,
    .thread-admin-select {
        max-width: 100%;
    }

    .thread-admin-options {
        width: 100%;
        text-align: left !important;
    }

    .thread-admin-select {
        width: 100%;
        box-sizing: border-box;
    }

    .thread-admin-button {
        margin-top: 6px;
    }

    .postbit-menu,
    .postbit-menu-container {
        max-width: 92vw;
    }

    .postbit-menu-col {
        width: 100%;
        display: block;
    }

    .postbit-location-wrapper,
    .postbit-rating-stats {
        gap: 8px;
    }

    .postbit-bike img {
        width: 72px;
        height: 72px;
    }

    .postbit-username a,
    .postbit-username strong,
    .postbit-username b {
        font-size: 11px;
    }

    .postbit-rank,
    .postbit-detail-label,
    .postbit-detail-value,
    .postbit-marketplace a,
    .rating-actions a {
        font-size: 10px;
    }
}

/* ===============================================
   ADDREPLY / REPLY FORM
   =============================================== */

.addreply-breadcrumb-left,
.addreply-breadcrumb-right {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.addreply-label-cell {
    width: 130px;
    vertical-align: top;
    white-space: normal;
}

.addreply-input-cell {
    vertical-align: top;
}

.addreply-topic-input {
    width: 98%;
    box-sizing: border-box;
}

.addreply-message-label {
    vertical-align: top;
}

.addreply-note-table {
    margin-bottom: 10px;
    width: 100%;
}

.addreply-editor-table {
    width: 100%;
}

.addreply-editor-buttons-cell,
.addreply-editor-cell,
.addreply-editor-actions-cell {
    width: 100%;
    box-sizing: border-box;
}

.addreply-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.addreply-submit-wrap {
    text-align: center;
    margin: 14px 0;
}

.addreply-submit-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.addreply-icons-wrapper img,
.addreply-smilies-center img,
.addreply-editor-cell img {
    max-width: 100%;
    height: auto;
}

.addreply-smilies-center {
    overflow: hidden;
    word-wrap: break-word;
}

.addreply-options-menu {
    max-width: 95vw;
}

@media only screen and (max-width: 900px) {
    .addreply-label-cell {
        width: 115px;
    }

    .addreply-action-buttons {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 640px) {
    .addreply-breadcrumb-inner,
    .addreply-breadcrumb-inner tbody,
    .addreply-breadcrumb-inner tr,
    .addreply-breadcrumb-inner td,
    .addreply-form-table,
    .addreply-form-table tbody,
    .addreply-form-table tr,
    .addreply-form-table td,
    .addreply-editor-table,
    .addreply-editor-table tbody,
    .addreply-editor-table tr,
    .addreply-editor-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-label-cell {
        width: 100% !important;
        padding-bottom: 6px;
    }

    .addreply-input-cell {
        width: 100% !important;
    }

    .addreply-breadcrumb-right {
        text-align: left !important;
        margin-top: 6px;
    }

    .addreply-action-buttons {
        display: block;
    }

    .addreply-action-buttons .input,
    .addreply-submit-buttons .input {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px 0;
    }

    .addreply-submit-buttons {
        display: block;
        width: 100%;
    }

    .addreply-topic-input,
    .addreply-input-cell input[type="text"],
    .addreply-input-cell input[type="password"],
    .addreply-input-cell select,
    .addreply-input-cell textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-smilies-center {
        margin-top: 8px;
    }

    .addreply-editor-buttons-cell {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .addreply-options-menu {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* ===============================================
   NEWTHREAD / NEW TOPIC FORM
   =============================================== */

.newthread-breadcrumb-left,
.newthread-breadcrumb-right {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.newthread-label-cell {
    width: 130px;
    vertical-align: top;
    white-space: normal;
}

.newthread-input-cell {
    vertical-align: top;
}

.newthread-topic-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.newthread-topic-row select {
    max-width: 100%;
    box-sizing: border-box;
}

.newthread-topic-input {
    width: 70%;
    min-width: 260px;
    box-sizing: border-box;
}

.newthread-message-label {
    vertical-align: top;
}

.newthread-note-table {
    margin-bottom: 10px;
    width: 100%;
}

.newthread-editor-table {
    width: 100%;
}

.newthread-editor-buttons-cell,
.newthread-editor-cell,
.newthread-editor-actions-cell {
    width: 100%;
    box-sizing: border-box;
}

.newthread-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.newthread-submit-wrap {
    text-align: center;
    margin: 14px 0;
}

.newthread-submit-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.newthread-icons-wrapper img,
.newthread-smilies-center img,
.newthread-editor-cell img {
    max-width: 100%;
    height: auto;
}

.newthread-smilies-center {
    overflow: hidden;
    word-wrap: break-word;
}

.newthread-important-options {
    line-height: 1.8;
}

.newthread-important-options input[type="radio"] {
    margin-left: 8px;
}

.newthread-important-options input[type="radio"]:first-child {
    margin-left: 0;
}

.newthread-options-menu {
    max-width: 95vw;
}

@media only screen and (max-width: 900px) {
    .newthread-label-cell {
        width: 115px;
    }

    .newthread-action-buttons {
        justify-content: flex-start;
    }

    .newthread-topic-input {
        width: 100%;
        min-width: 0;
    }
}

@media only screen and (max-width: 640px) {
    .newthread-breadcrumb-inner,
    .newthread-breadcrumb-inner tbody,
    .newthread-breadcrumb-inner tr,
    .newthread-breadcrumb-inner td,
    .newthread-form-table,
    .newthread-form-table tbody,
    .newthread-form-table tr,
    .newthread-form-table td,
    .newthread-editor-table,
    .newthread-editor-table tbody,
    .newthread-editor-table tr,
    .newthread-editor-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .newthread-label-cell {
        width: 100% !important;
        padding-bottom: 6px;
    }

    .newthread-input-cell {
        width: 100% !important;
    }

    .newthread-breadcrumb-right {
        text-align: left !important;
        margin-top: 6px;
    }

    .newthread-topic-row {
        display: block;
    }

    .newthread-topic-row select,
    .newthread-topic-input {
        display: block;
        width: 100% !important;
        min-width: 0;
        margin: 0 0 8px 0;
        box-sizing: border-box;
    }

    .newthread-action-buttons {
        display: block;
    }

    .newthread-action-buttons .input,
    .newthread-submit-buttons .input {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px 0;
    }

    .newthread-submit-buttons {
        display: block;
        width: 100%;
    }

    .newthread-input-cell input[type="text"],
    .newthread-input-cell input[type="password"],
    .newthread-input-cell select,
    .newthread-input-cell textarea {
        width: 100% !important;
        box-sizing: border-box;
    }

    .newthread-smilies-center {
        margin-top: 8px;
    }

    .newthread-editor-buttons-cell {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .newthread-options-menu {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .newthread-important-options {
        line-height: 1.9;
    }

    .newthread-important-options label {
        display: inline-block;
        margin-right: 10px;
    }
}

/* ===============================================
   ADDREPLY MOBILE HOTFIX
   =============================================== */

.addreply-form-table,
.addreply-form-table table {
    max-width: 100%;
}

.addreply-form-table input[type="text"],
.addreply-form-table input[type="password"],
.addreply-form-table select,
.addreply-form-table textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.addreply-form-table img {
    max-width: 100%;
    height: auto;
}

.addreply-smilies-center,
.newthread-smilies-center {
    overflow: hidden;
}

.addreply-smilies-center table,
.newthread-smilies-center table {
    width: 100% !important;
    max-width: 100%;
}

.addreply-editor-table td,
.newthread-editor-table td {
    vertical-align: top;
}

@media only screen and (max-width: 700px) {
    .addreply-form-table > tbody > tr > td,
    .addreply-form-table tr > td.addreply-label-cell,
    .addreply-form-table tr > td.addreply-input-cell,
    .newthread-form-table > tbody > tr > td,
    .newthread-form-table tr > td.newthread-label-cell,
    .newthread-form-table tr > td.newthread-input-cell {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-message-label,
    .newthread-message-label {
        padding-bottom: 8px;
    }

    .addreply-message-label .tableinborder,
    .newthread-message-label .tableinborder {
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-editor-table,
    .addreply-editor-table tbody,
    .addreply-editor-table tr,
    .addreply-editor-table td,
    .newthread-editor-table,
    .newthread-editor-table tbody,
    .newthread-editor-table tr,
    .newthread-editor-table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-editor-buttons-cell,
    .newthread-editor-buttons-cell {
        text-align: left !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

    .addreply-editor-buttons-cell img,
    .newthread-editor-buttons-cell img {
        max-width: none;
    }

    .addreply-smilies-center,
    .newthread-smilies-center {
        margin-top: 8px;
    }

    .addreply-smilies-center table,
    .addreply-smilies-center tbody,
    .addreply-smilies-center tr,
    .addreply-smilies-center td,
    .newthread-smilies-center table,
    .newthread-smilies-center tbody,
    .newthread-smilies-center tr,
    .newthread-smilies-center td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .addreply-action-buttons,
    .newthread-action-buttons {
        display: block !important;
        width: 100%;
    }

    .addreply-action-buttons .input,
    .newthread-action-buttons .input {
        display: block !important;
        width: 100% !important;
        margin: 0 0 8px 0 !important;
        box-sizing: border-box;
    }

    .addreply-submit-buttons,
    .newthread-submit-buttons {
        display: block !important;
        width: 100%;
    }

    .addreply-submit-buttons .input,
    .newthread-submit-buttons .input {
        display: block !important;
        width: 100% !important;
        margin: 0 0 8px 0 !important;
        box-sizing: border-box;
    }
}

/* ===============================================
   ONLINE / OFFLINE STATUS
   Online = grüner Punkt
   Offline = Platzhalter
   =============================================== */
.postbit-online-dot-wrap {
    margin: 8px 0 0 0 !important;
    text-align: center !important;
    min-height: 14px !important;
}

.postbit-online-dot {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    background: #31b44b !important;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 2px #31b44b !important;
    vertical-align: middle !important;
}

.postbit-online-placeholder {
    display: inline-block !important;
    width: 10px !important;
    height: 10px !important;
    vertical-align: middle !important;
}

body.fs-small .postbit-online-dot,
body.fs-small .postbit-online-placeholder {
    width: 9px !important;
    height: 9px !important;
}

body.fs-normal .postbit-online-dot,
body.fs-normal .postbit-online-placeholder {
    width: 10px !important;
    height: 10px !important;
}

body.fs-large .postbit-online-dot,
body.fs-large .postbit-online-placeholder {
    width: 11px !important;
    height: 11px !important;
}

body.fs-xl .postbit-online-dot,
body.fs-xl .postbit-online-placeholder {
    width: 12px !important;
    height: 12px !important;
}

body.fs-xxl .postbit-online-dot,
body.fs-xxl .postbit-online-placeholder {
    width: 13px !important;
    height: 13px !important;
}

body.fs-xxxl .postbit-online-dot,
body.fs-xxxl .postbit-online-placeholder {
    width: 14px !important;
    height: 14px !important;
}

/* Doppelte Online-/Offline-Grafiken in Rankimages ausblenden */
.postbit-rankimages img[src$="user_online.gif"],
.postbit-rankimages img[src$="/user_online.gif"],
.postbit-rankimages img[src$="user_offline.gif"],
.postbit-rankimages img[src$="/user_offline.gif"] {
    display: none !important;
}
