#video {width: 950px; margin: 0 auto;}
#page-wrap {margin: 0px; padding-top: 5px;}
.chanitem {display:inline-block;  height:265px; width:320px;}
.radioitem {display:inline-block; padding:10px; height:250px; width:300px;}
.thumb {width: 320px; height: 200px; display:inline-block; padding-top:5px; }
.thumbradio {width: 250px; height: 140px; display:inline-block; padding-top:10px; background: #222222; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
.thumbradio:hover {width: 250px; height: 140px; display:inline-block; padding-top:10px; background: #ffffff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
.thumb img {width: 300px; height: 169px;}
.thumb img:hover {width: 300px; height: 169px; opacity: 0.30; filter: alpha(opacity=30); filter: url(/fileadmin/webtv/app/filters.svg#grayscale); filter: gray; -webkit-filter: grayscale(1); -webkit-transition: all .2s ease-in-out;}
.text-div {padding-left: 5px; padding-right: 5px; height: 50px; width: 250px; word-break: break-all; word-wrap: break-word; overflow:hidden; text-align: left; vertical-align: middle; font-size: 13px;color: rgb(136, 136, 136);}
.progress {background: rgba(245, 245, 245, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 0px; height: 8px;box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.31);}
.progress-epg {background: rgba(245, 245, 245, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 0px; height: 15px;}
.progress-bar-custom {background: rgba(77, 78, 79, 1);}
#player {background: #000;}
#epg {padding: 0px; padding-top:65px; padding-left:5px; padding-right:5px;}
#controls {padding: 0px; padding-left:5px; padding-right:5px; clear:both;}
#content {
  
    overflow: hidden;
    
   
}



#loading {width: 100%;height: 100%;top: 0px;left: 0px;position: fixed;display: block; z-index: 99; background: #222222 url('/fileadmin/webtv/app/loading.png')  no-repeat center center;}
/* ===== NAVBAR FIX (Bootstrap 4) ===== */

body {
    padding-top: 56px; /* visina fixed-top navbar-a */
    color: #888888;
    font-family: 'Roboto', sans-serif;font-size: 14px;background-color:#060606;
  }
  
  /* sitna podešavanja */
  .custom-navbar .navbar-brand img {
    vertical-align: middle;
  }
  
  .custom-navbar .form-control {
    background-color: #f1f3f5;
    border-radius: 4px;
    height: 30px;
  }
  
  /* mobile layout */
  @media (max-width: 991px) {
    .custom-navbar .navbar-nav {
      text-align: left;
    }
  
    .custom-navbar .form-inline {
      width: 100%;
    }
  
    .custom-navbar .form-control {
      width: 100%;
      margin: 6px 0;
    }
  }

  
  /* ==============================
   KATEGORIJE DROPDOWN – FINAL FIX
   ============================== */
   .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #222222;
    border: 1px solid #444444;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
  
.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #ffffff;
    white-space: nowrap;
}
.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #2a9fd6;
}
.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
    text-decoration: none;
    color: #ffffff;
    background-color: #2a9fd6;
}

.row {
 
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

.modal-footer {
    padding: 20px;
    text-align: right;
    border-top: 1px solid #282828;
    justify-content: center;
   
}

.modal-dialog {

    width: auto;
}


.input-group-text {
    border-right: 0;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #888888;
    text-align: center;
    background-color: #424242;
    border: 1px solid #282828;
    border-radius: 4px;
}

.modal-title {
    color: #fff;

}

.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}
.close:hover {
  
   color: #fff;
   
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #282828;
}

.modal-content {
    position: relative;
    background-color: #202020;
    border: 1px solid #999999;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
   
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}
.alert .alert-link, .alert a {
    color: #ffffff;
    text-decoration: underline;
}

.alert-warning {
    background-color: #ff8800;
    border-color: #f05800;
    color: #ffffff;
}
.alert-info {
    background-color: #1640ac;
    border-color: #6e2caf;
    color: #ffffff;
}
.alert-danger {
    background-color: #cc0000;
    border-color: #bd001f;
    color: #ffffff;
}

.btn-default:hover {
    color: #ffffff;
    background-color: #282828;
    border-color: #232323;
}
.btn:hover, .btn:focus, .btn.focus {
    color: #ffffff;
    text-decoration: none;
}
.btn-success {
    color: #ffffff;
    background-color: #77b300;
    border-color: #77b300;
}

.btn-lg, .btn-group-lg>.btn {
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}
.btn-default {
    color: #ffffff;
    background-color: #424242;
    border-color: #424242;
}
.btn {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 0.2rem;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* BACK BUTTON – force outline */
button.back-btn {
    
    border: 1px solid #ffffff;
    color: #ffffff;
    margin-left: 15px;
  }
  
  /* Hover */
  button.back-btn:hover,
  button.back-btn:focus {
    background-color: #888888 !important;
    border-color: #ffffff;
    color: #ffffff !important;
  }

  .back-btn {
    color: #ffffff;
    background-color: #424242;
    border-color: #424242;
    padding: 0.8% 1% 0.8% 1%;     /* veće dugme */
         /* lijepo okruglo */
}

.back-btn i {
    font-size: 15px;  
    font-weight: 600;      /* veća strelica */
    
}
.dcm_control{
  
        padding-top: 56px;
        font-family: Roboto, sans-serif;
        font-size: 14px;
        background-color: #fefefe;
   
}

#epg {
    padding: 65px 5px 0;
}

.panel-default {
    border-color: #282828;
}
.panel {
    margin-bottom: 20px;
    background-color: #222222;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default>.panel-heading {
    color: #888888;
    background-color: #3c3c3c;
    border-color: #282828;
}
.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}
.panel-title>a, .panel-title>small, .panel-title>.small, .panel-title>small>a, .panel-title>.small>a {
    color: inherit;
}
.panel-body {
    padding: 15px;
    background-color: #222222;
    height: fit-content;
}
.progress-epg {
    border: 0 solid rgba(245, 245, 245, 1);
    border-radius: 0;
    height: 15px;
}
.progress, .progress-epg {
    background: rgba(45, 45, 45, 1);
}
.progress-bar-custom {
    background: rgba(77, 78, 79, 1);
}
.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #171717;
    text-align: center;
    background-color: #fff;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: width 0.6s ease;
    -o-transition: width 0.6s ease;
    transition: width 0.6s ease;
}

.panel-body {
    display: flex;
    align-items: flex-start;   /* ili center */
    gap: 12px;
  }

  h5, .h5 {
    font-size: 20px;
}
h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    color: #ffffff;
}

#content a,
#content a:hover,
#content a:focus,
#content a:active {
  text-decoration: none;
  color: inherit;
}


.card-header {
    font-size: 16px;
    color: inherit;
    background-color: #3c3c3c;
    border-color: #282828;
}



.card {
    margin-left: 10%;
    margin-right: 10%;
    
    background-color: inherit;
 
}

.final_vod{
    background-color: #222222;
}



.vod_text{
    margin-left: 10%;
    margin-right: 10%;
}


.vod-thumb-wrapper {
    position: relative;
    display: inline-block;
  }
  
  .vod-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    pointer-events: none; /* ne krade klik */
    opacity: 0.9;
  }


.thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .light-modal .modal-content {
    background:#fff;
    color:#333;
  }
  
  .light-modal .modal-header {
    border-bottom:1px solid #e5e5e5;
  }
  
  .light-modal .modal-title {
    font-weight:600;
    color:#333;
  }
  
  .light-modal .close {
    color:#333;
    opacity:.7;
  }
  .light-modal .close:hover {
    opacity:1;
  }
  
  .light-modal .modal-body {
    color:#333;
  }
  
  .light-modal img {
    display:block;
    margin:20px auto;
    max-width:120px;
  }
  
  