body {
    padding-top: 70px; /* Needed for navbar */
}

.widget-chat-panel .chat-widget-log {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0;
}

.widget-chat-panel .chat-widget-message > * {
    display: inline-block;
}

.widget-chat-panel .chat-widget-time {
}

.widget-chat-panel .chat-widget-sender {
    margin: 0 20px;
    font-weight: bold;
}

.widget-chat-panel .chat-widget-send {
    margin: 0;
    padding: 2px;
}

.widget-chat-panel .chat-widget-separator {
    color: gray;
    text-align: center;
    margin-top: 10px;
    border-bottom: 1px solid gray;
}

.widget-chat-panel .chat-widget-date {
    display: inline-block;
}

.search-thumbnail {
    width: 40px;
}

.paginated-table > nav {
    text-align: center;
}

.game-thumbnail-column {
    width: 60px;
}

.video-remote-button {
    width: 90px;
}

.nav-icon-margin {
    margin-right: 8px;
}

.signup-frame {
    width: 100%;
    height: 280px;
    border: none;
}

.home-race-stream {
    height: 200px;
}

@media (min-width: 992px) {
    .home-race-stream {
        height: 306.73px;
    }
}

@media (min-width: 1200px) {
    .home-race-stream {
        height: 381.75px;
    }
}

.runner-view-timer .panel-body {
    text-align: center;
    font-size: 65px;
    font-family: monospace;
    letter-spacing: -5px;
    padding: 15px 0;
}

.runner-view-button,
.race-mod-button {
    width: 100%;
    height: 70px;
    font-size: 30px;
}

.race-mod-button {
    margin-bottom: 15px;
}

.row .race-mod-action,
.row .race-mod-field {
    width: 100%;
}

.runner-view-comment {
    margin-top: 15px;
}

.runner-view-comment input,
.runner-view-comment button {
    transition: background 0.5s, color 0.2s;
}

.runner-view-comment .submit-success input,
.runner-view-comment .submit-success button {
    background: #7c7;
    color: white;
}

.runner-view-chat-twitch .panel-body {
    padding: 0;
}

.runner-view-chat-twitch iframe {
    width: 100%;
    height: 400px;
    display: block;
}

.mod-view-chat-runners .panel-body,
.mod-view-chat-viewers .panel-body,
.runner-view-chat-runners .panel-body,
.runner-view-chat-viewers .panel-body {
    height: 357px;
}

.widget-chat-panel .panel-body {
    overflow: auto;
}
.chat-widget-message-info .chat-widget-text {
    color: #4aaf4a;
    font-weight: bold;
}

.chat-widget-message-critical .chat-widget-text {
    color: #af4a4a;
    font-weight: bold;
    font-size: 1.4em;
}

.nav-separator {
    height: 15px;
}

.has-hint {
    text-decoration-style: dotted;
    text-decoration-line: underline;
}

.race-stream-missing {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(to bottom right, transparent 0px, transparent 40px, rgba(0,124,255,0.2) 40px, rgba(0,124,255,0.2) 80px);
}

.race-stream-missing > span {
    display: block;
    left: 0;
    top: 40%;
    position:absolute;
    width:100%;
    text-align: center;
    font-size: 2em;
}

.race-stream-aside .panel-body {
    height: 350px;
}

@media (min-width: 992px) {
    .race-stream-aside .panel-body {
        height: 359.73px;
    }
}

@media (min-width: 1200px) {
    .race-stream-aside .panel-body {
        height: 436.75px;
    }
}

.mod-view-chat-announcements .panel-body,
.runner-view-chat-announcements .panel-body {
    height: 180px;
}

.panel-body > .row > div > nav.btn-group {
    margin: -10px -10px 10px;
}

.panel-loading > .panel-body {
    height: 130px;
    position: relative;
}

.home-race-twitch-chat .panel-body {
    padding: 0;
}

.home-race-twitch-chat iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.role-expandable {
    cursor: pointer;
}

.role-expandable:hover {
    text-decoration: underline;
}

.srtv-rules-embed {
    width: 100%;
    height: 500px;
}

.srtv-rules>.panel-body {
    padding: 0;
}

.form-group textarea.form-control {
    height: 160px;
}

.home-twitter-embed > .panel-body {
    height: 300px;
    overflow-y: auto;
    padding: 0;
}

.image-upload:not(.image-upload-set):before {
    content: "Drop image here";
}

.image-upload {
    text-align: center;
    height: 200px;
    vertical-align: middle;
    font-size: 20px;
    line-height: 162px;
}

.image-upload>img {
    height: 100%;
}

.suggestion-input-container {
    position: relative;
}

.suggestion-input-container > ul {
    display: none;
    list-style: none;
    padding: 0;
    background-color: white;
    border: 1px solid #000000;
    border-radius: 4px;
    color: #272b30;
    margin: 0;
    position: absolute;
    top: 100%;
    z-index: 100;
    width: 100%;
}

.suggestion-input-container.suggestion-input-open > ul {
    display: block;
}

.suggestion-input-container > ul > li.suggestion-input-selected {
    background-color: #272b30;
    color: white;
}

.suggestion-input-container > ul > li {
    padding: 3px 12px;
}

.blink-overlay {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    mix-blend-mode: lighten;
    transition: opacity 0.3s;
}

.blink-overlay.blink-overlay-light {
    opacity: 0.7;
}