/*
    CSS Variables
 */
:root {
    --statusmatcher-red: #A00;
    --statusmatcher-red-lighter: #E2C2C2;
    --statusmatcher-red-lighter-2: #ECC;
    --statusmatcher-red-darker: #800;
    --statusmatcher-grey: #C4C4C4;
    --statusmatcher-grey-darker: #BABABA;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

.guide-highlight {
    font-weight: bold;
    color: var(--statusmatcher-red);
}

/*
    Navbar
 */
.navbar-brand {
    color: var(--statusmatcher-red);
}

a.navbar-brand:hover {
    color: var(--statusmatcher-red-darker);
}

/*
    Report List Item
 */
.report-list-item-middle-box {
    flex: 1;
}

.report-list-item-right-box {
    width: 150px;
}

.instructions {
    white-space: pre-wrap;
}

/*
	Result Box
*/
.result-box {
    border: 1px solid transparent;
    border-radius: 8px;
    width: 85px;
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.result-box-match,
.result-box-challenge {
    color: #333333;
    background-color: var(--statusmatcher-red-lighter-2);
    border-color: var(--statusmatcher-red-lighter);
}

.result-box-deny,
.result-box-other {
    color: #333333;
    background-color: var(--statusmatcher-grey);
    border-color: var(--statusmatcher-grey-darker);
}

/*
  Avatar
 */
img.avatar {
    max-width: 50px;
    max-height: 50px;
}

img.avatar-small {
    max-width: 36px;
    max-height: 36px;
}

/*
    Forms
 */
.global-error {
    color: var(--bs-form-invalid-color);
}

button.text-submit {
    text-decoration: none;
    vertical-align: inherit;
    --bs-btn-padding-y: 0;
    --bs-btn-padding-x: 0;
    --bs-btn-border-width: 0;
}

/*
    Icons
 */
.bi {
    vertical-align: -.125em;
}

/*
    Status box
 */
div.status-box-column {
    padding-left: 0;
    padding-right: 0;
}

div.status-box-container {
    margin: 0 auto;
    max-width: 100px;
    padding: 6px;
}

div.status-box-container.selected {
    border-style: solid;
    border-width: 4px;
    border-color: var(--statusmatcher-red);
    padding: 2px;
    border-radius: 6px;
    font-weight: bold;
}

.status-box {
    border-width: 1px;
    border-style: solid;
}

span.status-box {
    display: inline-block;
    border-radius: .25rem;
    font-size: 1rem;
    margin-right: 8px;
    margin-bottom: 8px;
    padding: .375rem .75rem;
}

div.status-box {
    display: flex;
    border-radius: 6px;
    font-size: 12px;
    padding: 2px;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
    word-wrap: break-word;
    min-height: 45px;
}

/*
    Voting
 */
form.vote-form {
    display: inline;
}

button.vote-button {
    padding-left: 0;
    padding-right: 0;
}

/*
	Comments
*/
.comment-body {
    white-space: pre-line;
}

/*
  Inline Commands
 */
.inline-command {
    display: inline-block;
    margin-left: 15px;
}

/*
    Entity Table
 */
.entity-table {
    table-layout: fixed;
    font-size: 12px;
}

.entity-table th.body {
    width: 40%;
}

.entity-table th.actions {
    width: 80px;
}

.entity-table td {
    overflow: hidden;
    text-overflow: ellipsis;
}

.entity-table .action-button {
    --bs-btn-padding-x: 8px;
    --bs-btn-padding-y: 6px;
    --bs-btn-font-size: 8px;
}

form.action-form {
    display: inline;
}

/*
  Adsense Ads
 */
.sidebar-ad {
    width: 214px;
    height: 800px;
}

/* Applies only in the "xl" range: 1200px – 1399.98px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .sidebar-ad {
        width: 259px;
    }
}

/* Applies only in the "xxl" range: 1400px and up */
@media (min-width: 1400px) {
    .sidebar-ad {
        width: 304px;
    }
}

/*
  Miscellaneous
 */
.badge {
    background-color: var(--statusmatcher-red-lighter) !important;
}