html{ height: 100%; }
body { height: 100%; width: 100%; position: absolute; background-color: #000; color: #fff; }
body.kill-body-scroll{ overflow: hidden; }
/* general */
.float-right{ float: right; }
.bg-gray{ background-color: #dddddd; }
.KS_RES_R{ cursor: pointer; }
.form-row > div{ margin-bottom: 10px; }
.form-control-plaintext{ border: 1px dashed #ddd; padding: 0.375rem 0.75rem; border-radius: 0.375rem; color: #fff; background-color: rgba(0, 0, 0, 0.05); min-height: 38px; margin-bottom: 5px; /* do not touch ever */ }
.form-control-plaintext-sm{ padding: 0.25rem 0.5rem !important; min-height: 34px !important; }
.spaced-buttons .btn{ margin-right: 0.3rem; margin-bottom: 0.3rem; }
pre{ line-height: 0.9rem; font-size: 0.8rem; white-space: pre-wrap; }
.form-top-alert > ul{  margin-bottom: 0; }
.table{ color: #ffffff !important; }
.table-shrunk{ width: auto !important; }
.table-compact td{ padding: 2px 8px; }
.table-compact th{ padding: 2px 8px; }
.modal-content{ background-color: #333; }
.modal-content .btn{ color: #ffffff; }
.modal-header .btn-close{ background-color: #ffffff !important; }
.table-striped>tbody>tr:nth-of-type(odd){ color: #eeeeee;  background-color: #000; }
.form-select:disabled { background-color: #a7a7a7; }
.top-0{ top: 0!important; }
.right-0{ right: 0!important; }
.fancySelectLabelDisplay{ background-color: #ffffff !important; cursor: pointer; }
.bg-light-gray{ background-color: #eeeeee; }
.bg-black{ background-color: #000; }
.pagination{ user-select: none; }
.btn-report-edit-row{ display: block; max-width: 100px; height: 40px; bottom: 0; margin-top: 22px; }
.list-striped > div.odd { background-color: #e9e9f9; }
.singleRecordModal .modal-dialog{ max-width: 1200px; }
.smaller{ font-size:.7em; }
label{ color: #b7b7b7; }
.widget-column{ margin-bottom: 20px; }
.mh-100{ max-height: 100%; }
.text-white-50{ color: #aaaaaa; }
.bg-info-light{ background-color: #ccf6ff; }
.bg-darker{ background-color: #15181a; }
.mt-minus-2{ margin-top: -0.5rem!important; }
.cursor-pointer{ cursor: pointer;}
.card{ background-color:#212529!important; }
.opacity-50{ opacity: 0.5; }
.input-group>.input-group-append>.input-group-text{ border-top-left-radius: 0;  border-bottom-left-radius: 0; }
.nav-tabs{ border-bottom: 1px solid #212529; }
.nav-tabs .nav-link{ margin-right: 3px; }
.nav-tabs .nav-link.active{ background-color: #212529!important; border-color: #212529 !important; color: #fff !important; }
.nav-tabs .nav-link:not(.active){ background-color: #111315!important; }
.collapse-instant{ transition: none !important; }
.form-control, .form-select{ background-color: #5c636a !important; color: #fff; border-color: #6c757d !important; }
.page-link{ background-color: #5c636a !important; border-color: #6c757d !important; color:#fff; }
.page-item.active .page-link{ background-color: #0d6efd !important; }
.form-control:focus{ color: white; }
.div-filter-genres-wrapper .dropdown-menu{ background-color: #5c636a; color: #fff !important; }
.div-filter-genres-wrapper .dropdown-menu .dropdown-item{ color: #fff; }
.page-item.disabled .page-link{ color: #a4aaac; }
/* scrollbar */
#main-container::-webkit-scrollbar-track{ -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);	border-radius: 10px; background-color: #242424; }
#main-container::-webkit-scrollbar{ width: 12px;	background-color: #000000; }
#main-container::-webkit-scrollbar-thumb{ border-radius: 10px;	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);	background-color: #555; }
/* sortable */
body.dragging, body.dragging * { cursor: move !important; }
.dragged { position: absolute; opacity: 0.5; z-index: 2000; }
.bg-placeholder{ background-color: #aebdc1; border: #333 dotted; }
/* fontawesome */
@font-face { font-family: 'Font Awesome 5 Free'; font-style: normal; font-weight: 900; font-display: block; src: url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.eot"); src: url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.woff2") format("woff2"), url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.woff") format("woff"), url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.ttf") format("truetype"), url("../libraries/fontawesome-5.15.3/fonts/fa-solid-900.svg#fontawesome") format("svg"); }
/*noinspection CssNoGenericFontName*/
.fa, .fas { font-family: 'Font Awesome 5 Free'; font-weight: 900; }
/* parsley validation */
.form-group{ position: relative; }
.form-control.parsley-error, .custom-control.parsley-error, .form-select.parsley-error{ color:#a94442 !important; background-color: #f2dede !important; }
.parsley-errors-list { margin: 5px 0; padding: 0; list-style-type: none; color: #B94A48; }
.parsley-errors-list li { line-height: 1;  font-size: 0.8rem; }
.input-group .parsley-errors-list{ flex-basis: 100%; }
.expanding-error-section{}
.expanding-error-section .parsley-errors-list{ position: relative; bottom: 0; margin: 6px 0; }
/* tooltip rules */
.k-tooltip{ cursor: help; color: #2c70e2; }
#tooltip{ border: 1px solid #ddd; text-align: center; color: #ededed; background: #333; position: absolute; z-index: 2100; padding: 15px; pointer-events: none; }
#tooltip:after{ width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 9px solid #333; content: ''; position: absolute; left: 50%; bottom: -10px; margin-left: -10px;}
#tooltip.top:after{ border-top-color: transparent; border-bottom: 9px solid #ededed; top: -20px; bottom: auto; }
#tooltip.left:after{ left: 10px; margin: 0; }
#tooltip.right:after{ right: 10px; left: auto; margin: 0; }
/* layout */
#main-body-column{ width: calc(100% - 200px); }
#main-body-wrapper{ min-height: 100%; }
#main-body-wrapper > .row{ min-height: 100%; }
#footer { bottom: 0; width: 100%; height: 60px; line-height: 60px; background-color: #3D3938; font-size: 0.8rem; position: absolute; }
#sidebar-menu{ overflow-x: hidden; background-color: #dddddd; width: 200px !important; transition: width .35s ease !important; z-index: 300; }
#sidebar-menu #sidebar-menu-content{ min-width: 200px; width: 100%; }
#sidebar-menu #sidebar-menu-conten .sidebar-menu-content-title-bar{ height: 60px; background-color: #000; }
#sidebar-menu .nav-link{ padding-bottom: 0.1rem; padding-top: 0.1rem; }
#main-container{ overflow: auto; height: calc(100% - 62px); }
#main-container-no-auth{ position: absolute; min-height: 100%; padding-bottom: 70px; top:0; left: 0; right: 0; }
#navbar-top{ border-bottom: 1px solid #444; box-shadow: 0 0 10px #ffffffa8; z-index: 200; height: 60px; }
.xdebug-error{ z-index: 100000; position: absolute; color: #333; }
.paging-select .page-item:not(.disabled){ cursor: pointer; }
/* title page */
#title-page{ height: 100%; }
#title-page .in-view-container{ height: calc(100% - 60px); position: absolute; top: 60px; left: 0; right: 0; }
#title-page #player-info-wrapper{ background-color: #000; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
#title-page .plyr{ height: 100%; }
#plyr__time_skip {
  background: #111111cc;
  border: 0;
  border-radius: 50%;
  color: #fff;
  left: 50%;
  min-width: 80px;
  width: min-content;
  max-width: 100px;
  max-height: 90px;
  opacity: 0;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  transform: translate(-50%, -50%);
  padding-top: 20px;
  position: absolute;
  top: 50%;
  transition: 1s;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0px 0px 45px #000000;
}
#title-page #title-player-wrapper{ position: absolute; top: 0; left: 0; width: 100%; bottom: 0; }
#title-page #title-top-bar{ position: absolute; top: 0; left: 0; right: 0; height: 60px; }
#title-page #title-top-bar #btn-title-back{ line-height: 1.8; }
#title-page .bootstrap-select{ width: 100% !important; }
#title-page #navbar-content-series-button{ position: absolute; right: 0; top: 0; z-index: 70;}
#title-page #navbar-content-series{ position: absolute; width: 400px; right: 0; top: 0; z-index: 60; min-height: 100%; }
#title-page #player-info-page{ z-index: 5; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0, 0.8);  }

@media (min-width: 1200px) {
  #title-page #player-info-page.reduced-info-size { width: calc(100% - 400px); }
  #title-page #title-player-wrapper.reduced-player-size{ width: calc(100% - 250px);  }
}
#title-page #player-admin-page{ z-index: 6; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0);  }
#title-page .btn-title-top{ line-height: 1.8; margin-left: auto; }
#title-page #div-episode-display .episode-display-item:nth-child(even){ background-color: #333; }
#title-page #div-episode-display .episode-display-item{ text-decoration: none; min-height: 50px; }
#title-page #div-episode-display .episode-display-item.active, #title-page #div-episode-display .episode-display-item:hover{ background-color: #505050; color: #2aa800; }
#title-page .ep_thumb_size{ display: inline-block; flex-basis: 70px; flex-shrink: 0; background-color: #000; }

/* profile page */
#profile-page .profile-card:hover{ background-color: #394148!important; }
#profile-page .new-profile-plus-wrapper{ width: 150px; height: 150px; }
#profile-page .profile-show-edit-mode{ display: none; }
#profile-page .profile-show-edit-mode.active{ display: block; }

/* movies page */
#movies-panel .img-movie-watched{ filter: grayscale(1); }
#movies-panel .btn-movie-watch-later.btn-info{ color: #fff !important; }
#movies-panel .movie-extra-item-menu{ z-index: 10; position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); display: flex; justify-content: center; align-items: center; }
#movies-panel .movie-badges .badge{ vertical-align: top;}

#movies-panel .movie-list-item{ display: flex; position: relative; border-radius: 0.25rem; -webkit-transition: -webkit-transform .3s ease-out; -moz-transition: -moz-transition .3s ease-out; -o-transition: -o-transform .3s ease-out; transition: transform .3s ease-out; }
#movies-panel .movie-list-item:hover .movie-list-thumb{ transform: scale(0.95); }
#movies-panel .movie-list-item a{ text-decoration: none; }
#movies-panel .movie-list-thumb{ flex-grow: 0; }
#movies-panel .movie-list-content{ flex-grow: 1; }
#movies-panel .movie-list-item .title-watched-progress{ z-index: 4; position: absolute; bottom: 0; height: 3%; width: 100%; left: 0; background-color: rgba(186, 186, 186, 0.5); }
#movies-panel .movie-list-item .title-watched-progress .title-watched-progress-fill{ position: absolute; left: 0; top: 0; height: 100%; background-color: #0d6efd; }
#movies-panel .movie-list-item .btn-movie-menu{ position: absolute; right: 3px; top: 3px; border-radius: 2rem; }
#movies-panel .movie-thumb-list{ display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-bottom: 1rem; grid-gap: 0.3rem; }
#movies-panel .movie-thumb-list .movie-thumb-list-item{ position: relative; }
#movies-panel .movie-thumb-list .movie-thumb-list-item:hover .movie-thumb-list-content{ opacity: 1; }
#movies-panel .movie-thumb-list .movie-thumb-list-item .movie-list-title{ font-size: 1rem; line-height: 100%; margin-bottom: 0; text-align: center; top: 50%; transform: translate(0,-50%); width: 100%; left: 0; position: absolute; }
#movies-panel .movie-thumb-list .movie-thumb-list-thumb{ border-radius: 0.25rem; overflow: hidden; position: relative; }
#movies-panel .movie-thumb-list .movie-thumb-list-thumb-image{ position: absolute; top:0; left:0; width: 100%; height: 100%; }
#movies-panel .movie-thumb-list .movie-thumb-list-thumb-aspect{ padding-top: 148.255813953%; width: 100%; }

#movies-panel .movie-thumb-list .movie-badges{ left:0; top: 0; width: 100%; position: relative; vertical-align: top; }
#movies-panel .movie-thumb-list .movie-badges .movie-list-type-badge{ position: absolute; left: 3px; top: 3px; }
#movies-panel .movie-thumb-list .btn-movie-clear-continue{ position: absolute; right: 3px; top: 3px; border-radius: 2rem; }
#movies-panel .movie-thumb-list .btn-movie-menu{ position: absolute; right: 3px; top: 3px; border-radius: 2rem; }
#movies-panel .movie-thumb-list .movie-badges .movie-list-imdb-badge{ position: absolute; right: 3px; top: 2.5rem; }
#movies-panel .movie-thumb-list .movie-badges .movie-list-mpaa-badge{ position: absolute; left: 3px; top: 2.5rem; text-align: left; }
#movies-panel .movie-thumb-list .movie-thumb-list-content{ z-index: 10; opacity: 0; background-color: rgba(0, 0, 0, 0.8); position: absolute; top:0; left:0; width:100%; height: 100%;  -webkit-transition: opacity .3s ease-in-out; -moz-transition: opacity .3s ease-in-out; -ms-transition: opacity .3s ease-in-out; -o-transition: opacity .3s ease-in-out; transition: opacity .3s ease-in-out; }
#movies-panel .movie-thumb-list .movie-date{ position: absolute; bottom: 0.5rem; left: 0; right: 0; text-align: center;}
#movies-panel .movie-thumb-list .movie-play-button{ position: absolute; bottom: 40px; left:0; width: 100%; display: flex; }
#movies-panel .movie-thumb-list .movie-play-button button{ display: inline-block; }
#movies-panel .movie-thumb-list .title-watched-badge{ z-index: 5; position: absolute; bottom: 5%; display: inline-block; left: 50%; transform: translate(-50%, 0px); }
#movies-panel .movie-thumb-list .title-watched-progress{ z-index: 4; position: absolute; bottom: 0; height: 3%; width: 100%; left: 0; background-color: rgba(186, 186, 186, 0.5); }
#movies-panel .movie-thumb-list .title-watched-progress .title-watched-progress-fill{ position: absolute; left: 0; top: 0; height: 100%; background-color: #0d6efd; }
/* xs devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { }

/* sm (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  #sidebar-menu{ width: 0 !important; position: fixed; z-index: 1000; top: 0; left:0; }
  #sidebar-menu.full-width-important{ width: 100% !important; }
  #header-dropdown-menu-content{ position: fixed; z-index: 2000; top: 0; left: 0; width: 100%; }
  #user-menu{ flex-basis: auto; flex-grow: 0; }
}

/* md (tablets, less than 992px) */
@media (max-width: 991.98px) {
  #title-page #title-top-bar{ height: 100px; }
  #title-page .in-view-container{ top: 100px; height: calc(100% - 100px) }
}

/* lg (desktops, less than 1200px) */
@media (max-width: 1199.98px) { }
