body {
    background: #f8f9fa;
}

h2 {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.stream a {
    color: #000000;
    text-decoration: none;
}

.stream-link {
    display: block;
    background-color: #DDDDDD;
    min-height: 200px;
    margin-bottom: 5px;
    border-radius: 10px;
}

/* Extra small */
@media (min-width: 576px) {
    .stream-link {
        min-height: 140px;
    }
}

/* Medium */
@media (min-width: 768px) {
    .stream-link {
        min-height: 190px;
    }
}

/* Large */
@media (min-width: 992px) {
    .stream-link {
        min-height: 123px;
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .stream-link {
        min-height: 149px;
    }
}

/* Extra Extra large */
@media (min-width: 1400px) {
    .stream-link {
        min-height: 174px;
    }
}

/* Extra extra extra large */
@media (min-width: 2100px) {
    .stream-link {
        min-height: 205px;
    }
}

.stream-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream.adult .stream-link {
    background-color: #E37C85FF;
    border-radius: 10px;
}

.stream p {
    margin: 0;
    padding: 0;
    text-align: center;
}

.stream .details {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    float: left;
}

.star {
    color: black;
    text-decoration: none;
    float: right;
    height: 48px;
    width: 58px;
    background-color: #ffc107;
    border-color: #ffc107;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.star:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
    color: black;
    text-decoration: none;
}

.stream {
    padding: 10px;
    border-radius: 10px;
}

.stream {
    position: relative;
}

.stream .adult-overlay {
    display: none;
}

.stream.adult .adult-overlay {
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 0 5px 0 5px ;
    background-color: #E37C85FF;
}

.stream .play-poster-on-mobile {
    display: none;
}

@media (pointer:coarse) {
    .stream .play-poster-on-mobile {
        position: absolute;
        display: block;
        top: 10px;
        left: 10px;
        padding: 25px;
        border-radius: 5px 0 5px 0;
        background-color: #ffc107;
        color: #000000;
        background-image: url("/assets/button--play.svg");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

    .stream .play-poster-on-mobile.active {
        background-image: url("/assets/button--pause.svg");
    }
}

.btn .spinner-border {
    width: 1rem;
    height: 1rem;
    margin-left: 5px;
    display: none;
}

.btn:disabled .spinner-border {
    display: inline-block;
}

.toast {
    background-color: #FFFFFF;
    z-index: 999;
    position: relative;
}

.toast .toast-header {
    background-color: #FFFFFF;
}

.btn {
    margin-bottom: 5px;
}

#about-container, #donate-container, #help-container, #install-app-container {
    display: none;
}

.stream-status {
    padding: 5px;
    width: fit-content;
    cursor: pointer;
}

.favourite-empty-state, .streams-empty-state {
    text-align: center;
    padding: 10px;
}

#stream-container {
    display: none;
}

.faq .question {
    font-weight: bold;
}

.faq .answer {

}

.search {
    padding: 0;
}

.search input {
    width: 76%;
    padding: 0 5px;
}

.search button {
    width: 22%;
}

.search input, .search button {
    height: 38px;
}

.form-group {
    margin-bottom: 1rem;
}

.language-switch {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

.offline-stream-list .btn {
    margin: 0 auto;
}

.offline-stream-list ul {
    padding: 0;
    text-align: center;
    display: inline;
}

.offline-stream-list li {
    margin-right: 1.5rem;
    padding: 5px;
    display: inline-block;
}

.offline-stream-list li span {
    word-wrap: unset;
    white-space: nowrap;
}

@media (min-width: 2100px) {
    .container {
        width: 100%;
        max-width: 1920px;
    }

    .col-xxxl-2 {
        flex: 0 0 auto;
        width: 20%
    }
}

span.no-results {
    text-align: center;
}

.heading-row {
    justify-content: center;
    align-items: center;
}

.heading-row h2 {
    flex: 1;
    text-align: center;
    margin: 0;
    margin-right: -220px;
}

.lang-ko .heading-row h2 {
    margin-right: -320px;
}

.heading-row select {
    margin-left: auto;
    margin-right: 10px;
    width: 220px;
}

.lang-ko .heading-row select {
    width: 320px;
}

/* Large */
@media (max-width: 991px) {
    .lang-ko .heading-row h2, .lang-en .heading-row h2 {
        margin-right: 0;
    }

    .lang-ko .heading-row select, .lang-en .heading-row select {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
        margin-right: 0;
    }
}

.heading-row {
    position: relative;
}

.show-notification-button {
    width: 300px;
    position: absolute;
    left: 10px;
}

@media (max-width: 991px) {
    .show-notification-button {
        position: relative;
        width: 100%;
        margin-top: 10px;
        left: 0;
    }
}

.stream .details a {
    text-decoration: underline;
    margin-right: 10px;
    cursor: pointer;
}

/*Dark mode*/
body.dark {
    background: #343a40;
    color: #f8f9fa;

    .modal-content {
        background: #343a40;
        color: #f8f9fa;
    }

    .stream.adult .adult-overlay {
        background-color: #d21724;
    }

    .stream .details a {
        color: #f8f9fa;
    }

    .social-media-link {
        color: #f8f9fa;
        text-decoration: underline;
    }

    .social-media-link:hover {
        color: #bcbcbc;
        text-decoration: underline;
    }

    .link {
        color: #f8f9fa;
        text-decoration: underline;
    }

    .link:hover {
        color: #bcbcbc;
        text-decoration: underline;
    }

    .offline-streamer a {
        color: #f8f9fa;
    }

    .btn-close {
        filter: invert(1);
    }
}

.btn-info {
    width: fit-content;
}

.stream-group-count {
    margin-left: 0.5rem;
}

.contact-form img {
    background: #FFFFFF;
}

#streams .stream .bell {
    display: none;
}

#favourite-streams .stream .bell {
    float: right;
    height: 48px;
    width: 48px;
    background-image: url("/assets/notification.svg");
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: center;
    border: none;
}

#favourite-streams .stream .bell--enabled {
    background-image: url("/assets/notification-enabled.svg");
}

#favourite-streams .stream .bell--disabled {
    background-image: url("/assets/notification-disabled-green.svg");
}

#favourite-streams .stream .bell[disabled] {
    background-image: url("/assets/notification-disabled.svg");
}

.social-media-link {
    color: black;
    text-decoration: underline;
}

.social-media-link:hover {
    color: #545d68;
    text-decoration: underline;
}

.link {
    color: black;
    text-decoration: underline;
}

.link:hover {
    color: #545d68;
    text-decoration: underline;
}

h2.modal-title {
    margin-top: 0;
}

.modal-body {
    h2 {
        text-align: left;
    }

    .profile-picture {
        float: right;
        width: auto;
        height: 200px;
        margin-left: 16px;
        margin-bottom: 16px;
    }

    @media (max-width: 991px) {
        .profile-picture {
            width: 100px;
            height: auto;
        }
    }

    .star {
        bottom: 16px;
        right: 16px;
        position: absolute;
    }
}

.offline-streamer a {
    color: black;
}

#buy-me-a-coffee-button {
    height: 60px !important;
    width: 217px !important;
}
.alert {
    position: relative;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #ea868f;
    background-color: #2c0b0e;
    border: 1px solid #842029;
    border-radius: 10px;
    text-align: center;
}

.alert a {
    color: #ea868f;
    text-decoration: underline;
}

.alert a:hover {
    color: #f8d7da;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .alert {
        padding: 20px;
    }
}
