﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #e4e4e4;
    height: 100%;
    background-color: #2D2424;
}

/* Initial state for the lazy-loaded image */
img.lazy {
    opacity: 0;
    transition: opacity 1s;
}

/* State for the image once it has loaded */
img.lazy-loaded {
    opacity: 1;
}

.thumbnail-wrapper {
    width: 100px; /* Set desired width */
    height: 100px; /* Set desired height */
    overflow: hidden;
}

    .thumbnail-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

:root {
    --bs-dark-red: #8b0000;
    --bs-dark-red-subtle: #5a0000;
    --bs-playpilot-blue: #233257;
    --bs-playpilot-blue-hover: #080a13;
    --bs-imdb-yellow: #e2b616;
    --bs-imdb-yellow-hover: #8b710e;
    --bs-tvdb-green: #293a36;
    --bs-tvdb-green-hover: #263535;
    --bs-tmdb-blue: #19b7d9;
    --bs-tmdb-blue-hover: #084a80;
}

.dark-red {
    background-color: var(--bs-dark-red) !important;
    color: #fff !important;
    border-color: var(--bs-dark-red) !important;
}

    .dark-red:hover {
        background-color: var(--bs-dark-red-subtle) !important;
        border-color: var(--bs-dark-red-subtle) !important;
        color: #fff !important;
    }

.playpilot-blue {
    background-color: var(--bs-playpilot-blue) !important;
    color: #fff !important;
    border-color: var(--bs-playpilot-blue) !important;
}

    .playpilot-blue:hover {
        background-color: var(--bs-playpilot-blue-hover) !important;
        border-color: var(--bs-playpilot-blue-hover) !important;
        color: #fff !important;
    }

.imdb-yellow {
    background-color: var(--bs-imdb-yellow) !important;
    color: #000 !important;
    border-color: var(--bs-imdb-yellow) !important;
}

    .imdb-yellow:hover {
        background-color: var(--bs-imdb-yellow-hover) !important;
        border-color: var(--bs-imdb-yellow-hover) !important;
        color: #fff !important;
    }

.tvdb-green {
    background-color: var(--bs-tvdb-green) !important;
    color: #fff !important;
    border-color: var(--bs-tvdb-green) !important;
}

    .tvdb-green:hover {
        background-color: var(--bs-tvdb-green-hover) !important;
        border-color: var(--bs-tvdb-green-hover) !important;
        color: #fff !important;
    }

.tmdb-blue {
    background-color: var(--bs-tmdb-blue) !important;
    color: #000 !important;
    border-color: var(--bs-tmdb-blue) !important;
}

    .tmdb-blue:hover {
        background-color: var(--bs-tmdb-blue-hover) !important;
        border-color: var(--bs-tmdb-blue-hover) !important;
        color: #fff !important;
    }

.btn-icon {
    height: 18px;
}

.no-select {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Opera and Edge */
}

.rounded {
    border-radius: 50%;
}

/* Ensure your styles are applied after Bootstrap's styles */
.table-transparent {
    background-color: transparent !important;
    border: none !important; /* Optionally remove borders */
    /* Override Bootstrap's custom properties */
    --bs-table-color: initial !important;
    --bs-table-bg: initial !important;
    --bs-table-striped-bg: initial !important;
    --bs-table-active-bg: initial !important;
    --bs-table-hover-bg: initial !important;
    /* Ensure other styles don't interfere */
    width: 100% !important;
    margin-bottom: 1rem !important;
    vertical-align: top !important;
    border-color: transparent !important;
}

/*@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}*/

.text-monospace {
    font-family: monospace, monospace;
}

.brand {
    font-weight: 700;
    font-style: italic;
}

h1, h2, h3, h4, h5 {
    color: #e4e4e4;
    font-weight: 600;
    font-style: italic;
}

.title {
    margin-bottom: 0px;
}

.content {
    padding-bottom: 30px;
}

.new-item-images {
    max-height: 600px;
    overflow: auto;
}

.audit-log {
    max-height: 500px;
    overflow: auto;
}

.modal {
    color: #000;
}

    .modal label {
        color: #000;
    }

.card {
    background-image: url('https://assets.flixy.dk/Images/placeholder-lazy.jpg');
    background-size: cover; /* Ensures the image covers the entire card */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
}


.card-item-title {
    color: #fff;
    text-decoration: none;
}

.card-item-text-sm {
    font-size: 12px;
}

.card-attributes-sm {
    color: #fff;
    font-size: 12px;
}

.card-img-sm {
    max-height: 150px;
}

.card-link,
.card-link:hover,
.card-link:visited {
    text-decoration: none !important;
    color: inherit; /* Inherit text color from parent */
}

.card:hover {
    background-color: #B85C38;
}

.card-item a,
.card-item a:visited {
    color: #E0C097 !important; /* Use !important to ensure this style is applied */
}

.b {
    font-weight: bold;
}

.white {
    color: #fff;
}

.hidden {
    visibility: hidden;
}

.center {
    text-align: center;
}

.search {
    margin-top: 4%;
}

.socialicon {
    font-size: 18px;
    cursor: default;
}

    .socialicon a {
        text-decoration: none;
        cursor: default;
    }

.btn {
    color: #fff;
}

/*.btn, a {
    color: #fff;
}

    .btn, a:visited {
        color: #fff;
    }*/

.cases {
}

    .cases img {
        max-height: 50px;
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
        margin-top: -20px;
    }

        .cases img:hover {
            -webkit-filter: grayscale(0%);
            filter: grayscale(0%);
        }

.bg-dark {
    /*    --bs-dark-rgb: 92,61,46;
    --bs-bg-opacity: 1;*/
}

.bg-brown {
    --bs-rgb: 92,61,46;
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-rgb), var(--bs-bg-opacity));
}

.external-links {
    background-color: #5C3D2E;
}

.form-control {
    color: #e4e4e4;
}

.comment {
    color: #fff;
    background-color: #B85C38;
    border: var(--bs-border-width) var(--bs-border-style) #5C3D2E !important;
}

.items-gallery-view {
    color: #2D2424;
    text-decoration: none;
}

.card {
    --bs-card-bg: #5C3D2E;
    color: #E0C097;
    height: 100%;
}

.text-primary {
    color: #909090;
}

/*.item-top {
    background-color: #1b1616;
}*/

@keyframes pan-background {
    0% {
        background-position: top center;
        opacity: 1;
    }

    45% {
        background-position: bottom center;
        opacity: 1;
    }

    50% {
        background-position: bottom center;
        opacity: 0; /* Start fading out */
    }

    55% {
        background-position: top center;
        opacity: 0; /* Completely faded out */
    }

    60% {
        background-position: top center;
        opacity: 1; /* Fade back in */
    }

    100% {
        background-position: top center;
        opacity: 1;
    }
}

.top-slide {
    margin-top: -15px;
}



.item-top {
    margin-top: -15px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 500px;
}
@media (max-width: 768px) {
    .item-top {
        min-height: 300px;
    }
}
    .item-top::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: inherit; /* Use the same background image */
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        z-index: 0;
        animation: pan-background 700s linear infinite;
    }

    .item-top::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(27, 22, 22, 0.8); /* #1b1616 color with 0.8 opacity */
        z-index: 1;
    }

    .item-top .container {
        position: relative;
        z-index: 2;
    }

.modal-title {
    color: #000;
}

.modal {
    color: #000;
}

    .modal label {
        color: #000;
    }

    /* Ensure links within modals are styled appropriately */
    .modal a {
        color: #000 !important;
    }

        .modal a:hover,
        .modal a:active,
        .modal a:visited {
            color: grey !important;
        }

input[type=checkbox], label {
    padding-left: 5px;
}

.form-floating {
    color: #000;
}

.form-control {
    color: #000;
}

/*table > tbody {
    color: #fff;
    --bs-table-striped-color: #fff;
}*/

/* LINKS */
a {
    color: #e4e4e4;
}

    a:active {
        color: grey;
        text-decoration: none;
    }

    a:hover {
        color: grey;
        text-decoration: none;
    }

    a:visited {
        /*color: #e4e4e4;*/
        text-decoration: none;
    }

/*.dropdown-item a {
    color: #000;
}

    .dropdown-item a:active {
        color: #000;
        text-decoration: none;
    }

    .dropdown-item a:hover {
        color: #000;
        text-decoration: none;
    }

    .dropdown-item a:visited {
        color: #000;
        text-decoration: none;
    }*/

.list-group > a {
    color: #fff;
    background-color: #5C3D2E;
}

    .list-group > a:visited {
        color: #fff;
        background-color: #5C3D2E;
    }

    .list-group > a:hover {
        color: #fff;
        background-color: #B85C38;
    }

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #B85C38;
    --bs-btn-border-color: #B85C38;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #633523;
    --bs-btn-hover-border-color: #633523;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #633523;
    --bs-btn-active-border-color: #633523;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #B85C38;
    --bs-btn-disabled-border-color: #B85C38;
}

.offcanvasNav, .list-group-item {
    --bs-list-group-border-color: #B85C38;
}

.text-muted > a {
    color: #e4e4e4;
}

    .text-muted > a:active {
        color: grey;
        text-decoration: none;
    }

    .text-muted > a:hover {
        color: grey;
        text-decoration: none;
    }

    .text-muted > a:visited {
        color: #e4e4e4;
        text-decoration: none;
    }

/* Initially hide the overlay and description */
.hover-card .card-overlay,
.hover-card .description-short {
    display: none;
}

/* Style the overlay */
.hover-card:hover .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay color */
    display: block;
    z-index: 1;
}

/* Style the description to appear on top of the overlay on hover */
.hover-card:hover .description-short {
    display: block;
    width: 85%;
    position: absolute;
    top: 25%; /* Adjust this as needed */
    left: 50%; /* Adjust this as needed */
    transform: translate(-50%, -50%);
    color: white; /* Text color on overlay */
    z-index: 2; /* Place it above the overlay */
}


/* BUTTONS */

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #B85C38;
    --bs-btn-border-color: #B85C38;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #633523;
    --bs-btn-hover-border-color: #633523;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #633523;
    --bs-btn-active-border-color: #633523;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #B85C38;
    --bs-btn-disabled-border-color: #B85C38;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 100px;
}

.footer {
    padding: 20px 0;
    color: #fff;
    background-color: #5C3D2E;
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 90px;
}

footer .text-muted {
    color: #fff !important;
}

footer a {
    color: grey;
}

    footer a:hover {
        color: darkgray;
        text-decoration: none;
    }

    footer a:active {
        color: grey;
        text-decoration: none;
    }

    footer a:visited {
        color: grey;
        text-decoration: none;
    }

/* END OF Sticky footer styles
-------------------------------------------------- */

.modal-lightbox {
    background-color: unset;
    height: 100%;
}

#LightboxCanvas {
    max-width: 100%;
    max-height: 100%;
}

/** ITEM **/

.item-cover {
    max-width: 300px;
    max-height: 400px;
    overflow: hidden;
}

/** ITEM end **/

/** ITEM LIST **/

.card-item {
    max-width: 540px;
    max-height: 200px;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: right;
}

@media only screen and (max-width: 900px) {
    .card-item {
        max-width: 540px;
        max-height: 100%;
        overflow: hidden;
    }

    /* .card-item img {
            max-height: 200px;
        }*/

    .card-img-top {
        width: 100%;
        height: 400px;
        object-fit: cover;
        object-position: right;
    }

    .items-gallery-view > .card-item {
        max-height: 200px;
        overflow: hidden;
    }
}

/** ITEM LIST end **/
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .video-container iframe, .video-container object, .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* Loading Circle */
.ball {
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(0,183,229,0.9);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 35px #2187e7;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    -moz-animation: spin .5s infinite linear;
    -webkit-animation: spin .5s infinite linear;
}

.ball1 {
    background-color: rgba(0,0,0,0);
    border: 5px solid rgba(0,183,229,0.9);
    opacity: .9;
    border-top: 5px solid rgba(0,0,0,0);
    border-left: 5px solid rgba(0,0,0,0);
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 30px;
    height: 30px;
    margin: 0 auto;
    position: relative;
    top: -40px;
    -moz-animation: spinoff .5s infinite linear;
    -webkit-animation: spinoff .5s infinite linear;
}

@-moz-keyframes spin {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@-moz-keyframes spinoff {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(-360deg);
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spinoff {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

/* Loading Circle END */

/* Apply a background color and padding to the top header */
.top-header {
    background-color: #5C3D2E;
    padding: 10px 0;
}

    /* Center the site name and make it larger */
    .top-header .fs-4 {
        font-size: 24px;
        font-weight: bold;
    }

    /* Adjust the styles of the navigation links */
    .top-header .nav-item {
        margin-left: 10px;
    }

    .top-header .nav-link {
        color: #fff;
        font-weight: bold;
        text-decoration: none;
    }

        .top-header .nav-link:hover {
            color: #e4e4e4;
        }

    /* Style the "Log ind" button */
    .top-header .btn-primary {
        background-color: #B85C38;
        border-color: #B85C38;
        font-weight: bold;
        text-decoration: none;
    }

        .top-header .btn-primary:hover {
            background-color: #633523;
            border-color: #633523;
        }

    /* Style the user profile dropdown */
    .top-header .dropdown-menu {
        background-color: #5C3D2E;
        border-color: #B85C38;
    }

    .top-header .dropdown-item {
        color: #e4e4e4;
    }

        .top-header .dropdown-item:hover {
            background-color: #B85C38;
        }

        /* Style the "Giv feedback" and "Opret emne" buttons in the dropdown */
        .top-header .dropdown-item .btn {
            background-color: #B85C38;
            border-color: #B85C38;
            font-weight: bold;
            text-decoration: none;
            margin-right: 5px;
        }

            .top-header .dropdown-item .btn:hover {
                background-color: #633523;
                border-color: #633523;
            }

        /* Style the user icon in the dropdown */
        .top-header .dropdown-item .bi-person {
            font-size: 1.5rem;
        }

/* Adjust the styles of the footer */
.footer {
    padding: 20px 0;
    color: #fff;
    background-color: #5C3D2E;
}

    .footer a {
        color: #e4e4e4;
        text-decoration: none;
    }

        .footer a:hover {
            color: grey;
        }

.blur {
    filter: blur(10px);
}

.lightbox-image-container {
    max-height: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.watermark-container {
    text-align: center;
    pointer-events: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.watermark-lightbox {
    opacity: 0.5;
    width: 35px;
    height: auto;
    margin-right: 10px;
}

.watermark-text {
    color: white;
    font-size: 25px;
    opacity: 0.5;
}

.modal-backdrop.show {
    opacity: 0.8;
    background-color: black;
}
