﻿body {
    background-color: black;
}

input, select, textarea, .select2-results__options li {
    font-family: 'Dosis', sans-serif;
    line-height: 1.5;
    font-size: 1.2em;
}

p {
    font-size: 16px !important;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.navbar-brand {
    float: left;
    padding: 0;
    font-size: 18px;
    line-height: 20px;
    height: 82px;
}

.navbar {
    position: relative;
    min-height: 82px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

header .navbar-default {
    margin-bottom: 0;
    padding: 10px 0;
    background-color: transparent;
    border: none;
    position: relative;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.topbar-filter .pagination2 {
    padding-left: 20px;
}

.topbar-filter p {
    padding-right: 20px;
    margin-bottom: 0;
}

.movie-item-style-2 {
    display: flex;
    align-items: flex-start !important; /* Top align children */
}

.movie-item-style-2 img {
    margin-right: 20px;
    display: block;
}

.form-it label {
    color: white;
}

.form-it {
    margin-bottom: 10px;
}

.movie-item-style-2 a {
    flex-shrink: 0;
    flex-basis: 170px;
}

.movie-item-style-2 .movie-poster {
    width: 170px;
    height: 261px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    flex-basis: 170px;
}

.mv-item-infor {
    margin-left: 22px;
}

/*img.movie-small-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    flex-basis: 100px;
    margin-right: 15px;
}*/

.movie-single .movie-single-ct .mvcast-item .cast-it a {
    margin-right: 2px;
    margin-left: 12px;
    font-family: 'Nunito', sans-serif;
}

.movie-single .movie-single-ct .mvcast-item .cast-it a img {
    margin-right: 75px;
}

.cebleb-film, .cast-left {
    width: 180px !important;
}

.movie-single {
    margin-top: -275px;
    background: rgba(0, 0, 0, 0.5);
}

@media (min-width: 991px) {
    .movie-single .sticky-sb {
        position: relative;
        top: 0px;
    }
}

@media (max-width: 990px) {
    .movie-single .sticky-sb {
        position: sticky;
        top: 0px;
    }
}

.tabs ul.tabs-mv li {
    margin-right: 2px;
}

.btn-reset {
    transition: background-color 0.2s ease;
}

    .btn-reset:hover {
        background-color: #c82333 !important;
    }

    .btn-reset:active {
        background-color: #bd2130 !important;
    }

input.styled-input {
    padding: 6px 10px;
    border: 1px solid #aaa;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#btnSearch {
    background-color: green;
    border-color: green;
    color: white;
}

#btnSearch:hover {
    background-color: silver;
    border-color: silver;
    color: black;
}

.movie-single .movie-img a img, .movie-single .mv-ceb a img {
    width: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.bd-hd {
    margin-bottom: 12px;
}

.social-btn {
    margin-top: 12px;
}

.osnovno, .osnovno a {
    color: #4280bf;
}

.osnovno a:hover {
    color: #dcf836;
}

p.ceb-single {
    margin-top: 12px;
}

.tabs ul.tabs-mv li.active a, .tabs ul.tabs-mv li:hover a {
    border-bottom: none;
}

/*@media (max-width: 991px) {
    #filterCollapse {
        display: none !important;
    }
}*/

/*@media (min-width: 992px) {
    #filterCollapse {
        display: block !important;
    }
}*/

h4.sb-title {
    margin-bottom: 0px !important;
}

.topbar-filter select {
    width: 215px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(../../images/uploads/drop-icon.png) no-repeat right 20px center;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: none;
    color: #ffffff;
    font-weight: 400;
    background-color: #0b1a2a;
}

.common-hero {
    height: 485px;
    /*background: url(../../images/heroes/ko-to-tamo-peva.jpg) no-repeat;*/
    background-size: cover;
    background-position: center;
}

.video-hero * {
    /* Temporarily remove any potential inherited effects */
    filter: none !important;
    background: none !important;
    box-shadow: none !important;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Remove filters temporarily to debug */
    /* filter: brightness(1.2) contrast(1.1); */
    opacity: 1;
}

.video-hero .container {
    position: relative;
    z-index: 1;
}

/* For mobile devices - pause video to save bandwidth */
/*@media (max-width: 768px) {
    .hero-video {
        display: none;
    }

    .video-hero {
        background: url(../../img/cinema1.jpg) no-repeat center center;
        background-size: cover;
    }
}*/

/* Override the dark overlay for video hero */
.video-hero:before {
    display: none !important;
}

/* Alternative approach - if the above doesn't work, try this: */
.video-hero::before {
    background-color: transparent !important;
    /* or */
    /* background: none !important; */
}

a.lv1 {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
    font-size: 1.3em !important;
    color: white !important;
}

.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header .navbar-default .navbar-nav li a {
    font-size: 1.2em;
}

.glavniSearch, .glavniSearchOsobe {
    font-size: 1.2em;
    height: 18px;
}

#DDLGlavnaPretraga + .select2-container .select2-selection--single, #DDLGlavnaPretragaOsobe + .select2-container .select2-selection--single {
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 1.2em;
}

.breadcumbnaslov li {
    font-size: 1.6em !important;
    font-weight: bold !important;
}

.sidebar .sb-title {
    border: none !important;
    font-size: 22px;
}

.title-hd-sm a, .title-hd-sm a:hover {
    font-size: 1.1em;
}

.title-hd-sm h4 {
    font-size: 1.2em;
}

.movie-single .sb-it h6 {
    font-size: 1.1em;
}

.linkovi {
    display: inline !important;
}

.mvcast-item,
.cast-it,
.cast-left,
.mvsingle-item {
    overflow: visible !important;
}

img.movie-small-photo {
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin-right: 15px;
    margin-left: 10px;
}

    img.movie-small-photo:hover {
        transform: scale(2.6);
        transform-origin: center left; /* Scale from the left side for left-aligned images */
        z-index: 1000;
        position: relative;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
        background-color: rgba(0, 0, 0, 0.9);
        padding: 5px;
        border-radius: 5px;
    }

.movie-single .movie-single-ct .mvsingle-item img:hover {
    opacity: 1 !important;
}

.mvsingle-item {
    width: 84%;
    
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #447;
    font-family: 'Dosis', sans-serif;
}

footer {
    background: none;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .form-control {
    font-size: 16px;
}

.movie-item-style-1 {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    width: 170px;
    position: relative;
    margin-right: 15px;
}

.naslovParent {
    display: flex;
}

.naslovChildRight {
    margin-left: auto;
}

/* PDF Modal fixes */
.modal-backdrop {
    z-index: 9998 !important;
}

#pdfModal {
    z-index: 9999 !important;
}

    #pdfModal .modal-dialog {
        z-index: 10000 !important;
    }

    #pdfModal .modal-content {
        z-index: 10001 !important;
    }

/* Fix for Bootstrap 5 close button */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Force PDF Modal to be visible */
.modal-backdrop.show {
    opacity: 0.5;
    z-index: 1040 !important;
}

#pdfModal.modal.show {
    display: block !important;
    z-index: 1050 !important;
    opacity: 1 !important;
}

#pdfModal .modal-dialog {
    z-index: 1051 !important;
    margin: 1.75rem auto;
}

#pdfModal .modal-content {
    z-index: 1052 !important;
    position: relative;
}

#pdfCanvas {
    display: block !important;
    visibility: visible !important;
}

/* Ensure modal is not hidden by other elements */
body.modal-open {
    overflow: hidden;
}

/* PDF Modal - Fix header overlap and increase width */
#pdfModal .modal-dialog {
    max-width: 95% !important;
    width: 95% !important;
    margin: 30px auto !important;
    margin-top: 100px !important; /* Push modal below header */
}

/* Ensure modal is below header but backdrop covers everything */
.ht-header {
    z-index: 1030 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

#pdfModal {
    z-index: 1050 !important;
    padding-top: 100px; /* Add top padding */
}

    #pdfModal .modal-content {
        margin-top: 100px;
    }

/* Make PDF container taller */
#pdfContainer {
    max-height: 75vh !important;
    overflow: auto;
}

/* Center modal vertically with top offset */
#pdfModal.modal.show {
    display: flex !important;
    align-items: flex-start !important;
    padding-top: 100px;
}

/* For smaller screens */
@media (max-width: 1200px) {
    #pdfModal .modal-dialog {
        max-width: 98% !important;
        width: 98% !important;
        margin: 10px auto !important;
        margin-top: 100px !important;
    }
}

/* Ensure header stays on top when modal is open */
body.modal-open .ht-header {
    z-index: 1060 !important;
    position: relative;
}

.ikoneZaTabove {
    width: 85px;
}

/* Badge overlay styling */
.badge-overlay {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #4280bf;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

/* Tab link container */
.tab-links.tabs-mv li {
    margin-right: 1px; /* Keep minimal spacing */
}

    .tab-links.tabs-mv li a {
        position: relative;
        display: inline-block;
/*        padding: 5px 8px;*/
        transition: all 0.3s ease;
        border-bottom: 3px solid transparent; /* Prepare for underline */
    }

        /* Icon styling - grayscale for inactive */
        .tab-links.tabs-mv li a .ikoneZaTabove {
            transition: all 0.3s ease;
            filter: grayscale(80%) brightness(0.7);
        }

    /* Active tab styling - white icons with blue underline */
    .tab-links.tabs-mv li.active a {
        border-bottom: 8px solid #4280bf !important; /* Blue underline */
        background: rgba(66, 128, 191, 0.1) !important; /* Subtle background */
    }

        /* Active tab icon - full color and brightness */
        .tab-links.tabs-mv li.active a .ikoneZaTabove {
            filter: grayscale(0%) brightness(1.2) !important;
            transform: scale(1.05) !important;
        }

    /* Active tab badge - brighter */
    .tab-links.tabs-mv li.active .badge-overlay {
        background-color: #4280bf;
        box-shadow: 0 0 8px rgba(255, 23, 68, 0.5);
    }

    /* Hover effect for non-active tabs */
    .tab-links.tabs-mv li:not(.active) a:hover {
        background: rgba(66, 128, 191, 0.05);
        border-bottom: 3px solid rgba(66, 128, 191, 0.4);
    }

        .tab-links.tabs-mv li:not(.active) a:hover .ikoneZaTabove {
            filter: grayscale(30%) brightness(0.9);
            transform: scale(1.02);
        }

/* Badge hover effect */
.badge-overlay:hover {
    background-color: #5599d1;
    transform: scale(1.1);
}

.tabs ul.tabs-mv li a {
    padding-bottom: 3px !important;
}