/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn:focus {
    box-shadow: none;
}

.nav-pills .nav-link.active, .nav-tabs .nav-link.active {
    background-color: #cc0000;
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background: #171717;
}

.list-group-item-action:hover {
    background-color: #cc0000;
    border-color: #cc0000;
}

.result-table-winner {
    color: #77b300 !important;
    font-weight: bold;
}

.result-table-loser {
    color: #cc0000 !important;
    font-weight: bold;
}

.info-link {
    color: #cc0000;
}

    .info-link:hover {
        color: #ff8800;
    }

.clear-link {
    text-decoration: none;
}

.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: #cc0000;
}

.timeline {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative
}

    .timeline:before {
        content: '';
        position: absolute;
        top: 5px;
        bottom: 5px;
        width: 5px;
        background: #282828;
        left: 20%;
        margin-left: -2.5px
    }

    .timeline > li {
        position: relative;
        min-height: 50px;
        padding: 20px 0
    }

    .timeline .timeline-time {
        position: absolute;
        left: 0;
        width: 18%;
        text-align: right;
        top: 30px
    }

        .timeline .timeline-time .date,
        .timeline .timeline-time .time {
            display: block;
            font-weight: 600
        }

        .timeline .timeline-time .date {
            line-height: 16px;
            font-size: 12px
        }

        .timeline .timeline-time .time {
            line-height: 24px;
            font-size: 20px;
            color: #ffffff
        }

    .timeline .timeline-icon {
        left: 15%;
        position: absolute;
        width: 10%;
        text-align: center;
        top: 40px
    }

        .timeline .timeline-icon a {
            text-decoration: none;
            width: 20px;
            height: 20px;
            display: inline-block;
            border-radius: 20px;
            background: #d9e0e7;
            line-height: 10px;
            color: #fff;
            font-size: 14px;
            border: 5px solid #282828;
            transition: border-color .2s linear
        }

    .timeline .timeline-body {
        margin-left: 23%;
        margin-right: 17%;
        background: #282828;
        position: relative;
        padding: 20px 25px;
        border-radius: 6px
    }

        .timeline .timeline-body:before {
            content: '';
            display: block;
            position: absolute;
            border: 10px solid transparent;
            border-right-color: #282828;
            left: -20px;
            top: 20px
        }

        .timeline .timeline-body > div + div {
            margin-top: 15px
        }

            .timeline .timeline-body > div + div:last-child {
                margin-bottom: -20px;
                padding-bottom: 20px;
                border-radius: 0 0 6px 6px
            }

.timeline-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e7eb;
    line-height: 30px
}

    .timeline-header .userimage {
        float: left;
        width: 34px;
        height: 34px;
        overflow: hidden;
        margin: -2px 10px -2px 0
    }

    .timeline-header .username {
        font-size: 16px;
        font-weight: 600
    }

        .timeline-header .username,
        .timeline-header .username a {
            color: #ffffff
        }

.timeline img {
    max-width: 100%;
    display: block
}

.timeline-content {
    letter-spacing: .25px;
    line-height: 18px;
    font-size: 16px;
    list-style-type: circle;
}

    .timeline-content:after,
    .timeline-content:before {
        content: '';
        display: table;
        clear: both
    }

.timeline-title {
    margin-top: 0
}

.timeline-footer {
    background: #fff;
    border-top: 1px solid #e2e7ec;
    padding-top: 15px
}

    .timeline-footer a:not(.btn) {
        color: #575d63
    }

        .timeline-footer a:not(.btn):focus,
        .timeline-footer a:not(.btn):hover {
            color: #2d353c
        }

.timeline-likes {
    color: #6d767f;
    font-weight: 600;
    font-size: 12px
}

    .timeline-likes .stats-right {
        float: right
    }

    .timeline-likes .stats-total {
        display: inline-block;
        line-height: 20px
    }

    .timeline-likes .stats-icon {
        float: left;
        margin-right: 5px;
        font-size: 9px
    }

        .timeline-likes .stats-icon + .stats-icon {
            margin-left: -2px
        }

    .timeline-likes .stats-text {
        line-height: 20px
    }

        .timeline-likes .stats-text + .stats-text {
            margin-left: 15px
        }

.timeline-comment-box {
    background: #f2f3f4;
    margin-left: -25px;
    margin-right: -25px;
    padding: 20px 25px
}

    .timeline-comment-box .user {
        float: left;
        width: 34px;
        height: 34px;
        overflow: hidden;
        border-radius: 30px
    }

        .timeline-comment-box .user img {
            max-width: 100%;
            max-height: 100%
        }

        .timeline-comment-box .user + .input {
            margin-left: 44px
        }


.timeline-hidden {
    display: none
}

.lead {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.4;
}

#topButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #cc0000;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 0.375rem;
    font-size: 18px;
}

.topButtonNotd {
    background-color: #ee7d28 !important;
}

.topButtonDfmc {
    background-color: #36a0d8 !important;
}


.calendar-form-check-label {
    cursor: pointer;
}

.view-label.active {
    color: #ffffff;
    font-weight: bold;
}

.calendar-grid {
    background-color: #282828;
    padding: 1rem;
}

.calendar-day {
    min-height: 120px;
    border: 1px solid #495057;
    padding: 0.5rem;
    background-color: #060606;
    margin-bottom: 0.5rem;
    width: calc(100% / 7);
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
}

    .calendar-day.other-month {
        opacity: 0.5;
    }

    .calendar-day.today {
        border: 2px solid #cc0000;
    }

.day-number {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-event {
    background-color: #333333;
    color: white;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    overflow: hidden;
}

.event-time {
    font-weight: bold;
}

.event-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-details {
    font-size: 0.75rem;
    color: #adb5bd;
}

.calendar-header {
    width: calc(100% / 7);
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
}

.calendar-week {
    display: flex;
    flex-wrap: nowrap;
}

.row.calendar-week {
    margin-right: 0;
    margin-left: 0;
}

.calendar-event {
    max-width: 100%;
    position: relative;
    cursor: pointer;
}

    .calendar-event:hover {
        background-color: #5a6268;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.form-check-input:checked {
    background-color: #cf0d0d;
    border-color: #cf0d0d;
}

.event-cast-icon {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.9rem;
    z-index: 1;
    background-color: #212121;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.view-label {
    color: #adb5bd;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .view-label.active {
        color: #ffffff;
        font-weight: bold;
    }

.form-check-input {
    cursor: pointer;
}

.calendar-item-modal .modal-content {
    border-radius: 8px;
    border: none;
}

.calendar-item-modal .modal-header {
    background-color: #282828;
    color: white;
    border-radius: 8px 8px 0 0;
}

.calendar-item-modal .modal-title {
    font-weight: bold;
}

.calendar-item-modal h4 {
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.calendar-item-modal .text-muted {
    font-size: 0.9rem;
}

.calendar-item-modal .modal-footer .btn-secondary {
    background-color: #282828;
    border-color: #282828;
}

    .calendar-item-modal .modal-footer .btn-secondary:hover {
        background-color: #333333;
        border-color: #333333;
    }

.calendar-item-modal .btn-danger {
    display: inline-flex;
    align-items: center;
}

    .calendar-item-modal .btn-danger i {
        margin-right: 5px;
    }