body {
    background-color: #212529 !important;
    color: #fff !important;
    font-family: 'Noto Sans KR', sans-serif;
}

.modal {
    margin-top: 60px;
}



/****** HEADER.PHP ******/
.container-header {
/*    background-color: #212529 !important;*/
    background-color: #fff0 !important;
}

.nav > li > a:hover {
/*    background-color: #212529 !important;*/
    background-color: #fff0 !important;
}

.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .9) !important;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
}

.navbar-collapse {
/*    background-color: #212529;*/
    background-color: #fff0 !important;
}

.carousel-nietflexx {
    margin-left: -15px;
    margin-right: -15px;
    z-index:1020;
    margin-top: -70px;
}
@media (min-width: 600px) {
    .carousel-nietflexx {
        margin-top: -110px;
    }
}

.navbar-collapse.in {
    background-color: #212529 !important;
}

.header-link-bar-title {
    text-shadow: 2px 2px 8px #000;
}



/****** GENERAL TEXT ******/
.page-title {
    text-align: center;
    font-family: 'Bebas Neue', cursive;
    font-size: 60px !important;
}

.white-link {
    color: #fff;
}

.white-link:hover {
    color: #ccc;
    text-decoration: underline;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.return-link {
    float: left;
}

.btn-series-edit {
    color: #fff;
    font-size: 24px;
}

.btn-series-edit:hover {
    color: #bbb;
}



/****** INDEX.PHP ******/
@media (max-width: 992px) {
    .index-play-button-text {
        display: none;
    }
}

.row {
    padding: 7px;
}

.col-center {
    text-align: center;
}


/****** INDEX.PHP / HISTORY.PHP ******/
.series-title-row {
    cursor: pointer;
}

.d-inline-block {
    display: inline-block !important;
}




/****** HISTORY.PHP ******/
@media (max-width: 992px) {
    .history-detail-large-screen {
        display: none;
    }

    .history-detail-small-screen {}
}

@media (min-width: 992px) {
    .history-detail-large-screen {}

    .history-detail-small-screen {
        display: none;
    }
}




/******  MODALS ******/
.modal-header .close {
    color: #fff !important;
    opacity: .9 !important;
}

.modal-content-black-bg {
    background-color: #484444;
}

.modal-centered-text {
    text-align: center;
}



/****** TILES ******/
.modal-tile-container {
    padding: 10px;
}

.modal-tile-container-small {
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
}

.modal-tile {
    text-align: center;
    border-width: 1px;
    border-style: solid;
    padding: 30px 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
    color: #333;
    background-color: #fff;
    border-radius: 7px;
}

.modal-tile:hover {
    color: #353448;
    background-color: #eaeaea;
}

.modal-tile-small {
    padding: 7px 4px;
}

.modal-tile .glyphicon {
    font-size: 50px;
    margin-bottom: 10px;
}

.modal-tile-small .glyphicon {
    font-size: 14px;
    margin-bottom: 7px;
}

.modal-tile .modal-tile-title {
    font-size: 23px;
}

.modal-tile-small .modal-tile-title {
    font-size: 14px;
}

.modal-tile-disabled-link {
    pointer-events: none;
    color: #aaa;
    display: block;
}

.modal-tile-disabled-link-text {
    background-color: #444;
    color: #808080;
}

.modal-tile-refresh {
    color: #9c4d4d;
}






/****** PICTURES ******/
.modal-series-picture {}

.modal-series-picture img {
    max-width: 100%;
}

.modal-episode-picture {
    text-align: center;
    position: relative;
}

.modal-episode-picture img {
    max-width: 100%;
}

.modal-episode-picture-img {
    visibility: hidden;
}

.modal-episode-picture-seen:after {
    content: "";
    background: red;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.series-preview-box {
    padding-top: 5px;
    margin-bottom: 20px;
    padding-left: 0px;
    padding-right: 0px;
}

.series-preview-box-poster {
    margin-bottom: 0px;
    padding: 2px;
}

.series-preview-box-poster-border {
    border-color: #212529;
    border-style: solid;
    border-radius: 8px;
/*    border-width: 4px;*/
}

.episode-preview-box {
    margin-bottom: 20px;
}

.modal-episode-picture-container {
    overflow: hidden;
    margin-bottom: 8px;
    transition: transform .3s ease;

  transform-origin: center center; /* or top left, depending on your layout */
  will-change: transform;

}

.modal-episode-picture-container:hover {
    transform: scale(1.075);
    border-width: 2px;
    border-color: #ffffffa6;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 6px;
}
/*
.modal-episode-picture-container:hover .serie-preview-image-box {
    transform: scale(1.075);
    
}*/

.series-preview-box-title {
    text-align: center;
    height: 30px;
}

.serie-preview-image-box {
    position: absolute;
    bottom: -0.8rem;
    -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .5));
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .5));
}

.serie-preview-image-box-left {
    left: 2rem;
    width: 65%;
}

.serie-preview-image-box-right {
    /*    right: 2rem;*/
    right: 0;
    margin-right: 17px;
}

.serie-preview-image-box:hover {
    -webkit-filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .65));
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, .65));
}

.serie-external-link-image {
    position: relative;
    height: 50px;
}

.serie-external-link-image-img {
    max-height: 50px;
    max-width: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}





/****** DROPDOWN ******/
.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.form-select-lg {
    color: #000;
    padding-top: .5rem;
    padding-bottom: .5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
}



/****** SERIE-SEASONS-EPISODES.PHP *******/
.so--episode-title {
    height: 36px;
}

.so--episode-description {
    font-size: 11px;
    max-height: 150px;
    overflow: hidden;
}

.so--episode-rating {
    font-size: 11px;
}






/****** MODAL NEXT SXXEXX ******/
.modal-episode-header-picture {
    position: relative;
    border-radius: 5px;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
}

.modal-close-button-white {
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    filter: alpha(opacity=20);
    opacity: 1;
    position: absolute;
    right: 0;
    padding: 5px;
    font-size: 32px;
}

.modal-next-sxxexx-preview-box-text-left {
    width: 100%;
    bottom: 0.5rem;
}

.modal-next-sxxexx-play-button-col {
    padding-left: 0px;
}

.modal-next-sxxexx-play-button {
    width: 150px;
    float: left;
}

.modal-next-sxxexx-tile-play-button {
    border-style: none;
}

.modal-next-sxxexx-preview-box-text-right {
    width: 40%;
}

.text-align-right {
    text-align: right;
}

.modal-next-sxxexx-silent-background {
    visibility: hidden;
}

.hr-no-margin {
    margin: 0px;
}

.modal-next-sxxexx-episode-small-preview {
    padding-left: 10px;
}

.modal-next-sxxexx-overlay-play-button {
    background: url('img/play-button.png') no-repeat;
    background-size: 20%;
    background-position: center;
}

.modal-next-sxxexx-episode-information {
    padding: 0px;
    padding-right: 5px;
}

.modal-next-sxxexx-episode-information p {
    font-size: 11px;
}

.modal-next-sxxexx-episode-description {
    overflow: hidden;
    height: 60px;
}





/****** LOGIN PIN INPUT ******/
.pinwidget {
    margin-top: 50px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    width: 300px;
    z-index: 30;
}

.pininput-collection {
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}

.pinwidget-input {
    padding: 10px;
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    text-align: center;
    font-family: "Roboto slab", serif;
    font-size: 30px;
    border-radius: 10px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pin-incorrect,
.pin-toosoon {
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: center;
}








/****** HEART BUTTON ******/
.like-button {
    position: absolute;
    font-size: 1.5em;
}

.like-button-data-text {
    font-size: .7em;
}

.like-button-data {
    color: #00000030;
    color: #fff;
    font-size: 1em;
    height: 37px;
    display: table-cell;
    vertical-align: middle;
}

.like-button-data:hover {
    color: #00000050;
    color: #ececec;
}

.like-button-liked .like-button-data-heart {
    color: #f44336c9;
}

.like-button-liked:hover .like-button-data-heart {
    color: #ff1100;
}

.like-button .fa-heart {
    animation: tease 4.0s linear;
}

.like-button-liked .fa-heart {
    animation: liked 0.5s linear;
}

@keyframes liked {
    0% {
        transform: rotate(0deg) scale(1.7);
    }

    40% {
        transform: rotate(0deg) scale(1);
    }

    41% {
        transform: rotate(360deg) scale(1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes tease {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(0deg) scale(1);
    }

    37% {
        transform: rotate(0deg) scale(1.3);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }

    75% {
        transform: rotate(0deg) scale(1);
    }

    88% {
        transform: rotate(0deg) scale(1.3);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }
}












/****** IMDB RATING ******/
.star-ratings-css {
    unicode-bidi: bidi-override;
    color: #c5c5c5;
    font-size: 20px;
    height: 25px;
    width: 125px;
    /*    margin: 0 auto;*/
    margin-left: 10px;
    position: relative;
    text-shadow: 0 1px 0 #a2a2a2;
}

.star-ratings-css::before {
    content: '★★★★★';
    opacity: .3;
}

.star-ratings-css::after {
    color: gold;
    content: '★★★★★';
    text-shadow: 0 1px 0 #ab5414;
    position: absolute;
    z-index: 1;
    display: block;
    left: 0;
    top: 0;
    width: attr(rating);
    overflow: hidden;
}






















/******  BOOTSTRAP BUTTONS ******/
.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-warning {
    color: #212529;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-dark {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

.btn-link {
    font-weight: 400;
    color: #007bff;
    background-color: transparent;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #bd2130;
}

.btn-warning:hover {
    color: #212529;
    background-color: #e0a800;
    border-color: #d39e00;
}

.btn-light:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

.btn-dark:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
    background-color: transparent;
    border-color: transparent;
}


.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

.btn:focus,
.btn:hover {
    text-decoration: none;
}

.btn-primary.focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 50%);
}

.btn-secondary.focus,
.btn-secondary:focus {
    box-shadow: 0 0 0 0.2rem rgb(108 117 125 / 50%);
}

.btn-success.focus,
.btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgb(40 167 69 / 50%);
}

.btn-danger.focus,
.btn-danger:focus {
    box-shadow: 0 0 0 0.2rem rgb(220 53 69 / 50%);
}

.btn-warning.focus,
.btn-warning:focus {
    box-shadow: 0 0 0 0.2rem rgb(255 193 7 / 50%);
}

.btn-info.focus,
.btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgb(23 162 184 / 50%);
}

.btn-light.focus,
.btn-light:focus {
    box-shadow: 0 0 0 0.2rem rgb(248 249 250 / 50%);
}

.btn-dark.focus,
.btn-dark:focus {
    box-shadow: 0 0 0 0.2rem rgb(52 58 64 / 50%);
}

.btn-link.focus,
.btn-link:focus {
    text-decoration: underline;
    border-color: transparent;
    box-shadow: none;
}


.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
    background-image: none;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
}


.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-heading {
    color: inherit;
}

.alert-link {
    font-weight: 700;
}

.alert-dismissible {
    padding-right: 4rem;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-primary hr {
    border-top-color: #9fcdff;
}

.alert-primary .alert-link {
    color: #002752;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert-secondary hr {
    border-top-color: #c8cbcf;
}

.alert-secondary .alert-link {
    color: #202326;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-success hr {
    border-top-color: #b1dfbb;
}

.alert-success .alert-link {
    color: #0b2e13;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-info hr {
    border-top-color: #abdde5;
}

.alert-info .alert-link {
    color: #062c33;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-warning hr {
    border-top-color: #ffe8a1;
}

.alert-warning .alert-link {
    color: #533f03;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-danger hr {
    border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
    color: #491217;
}

.alert-light {
    color: #818182;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.alert-light hr {
    border-top-color: #ececf6;
}

.alert-light .alert-link {
    color: #686868;
}

.alert-dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca;
}

.alert-dark hr {
    border-top-color: #b9bbbe;
}

.alert-dark .alert-link {
    color: #040505;
}



/*** BANNER ****/

.banner-header-text {
	font-size: 100px;
}
@media (max-width: 1192px) {
	.banner-header-text {
		font-size: 60px;
	}
}
@media (max-width: 792px) {
	.banner-header-text {
		font-size: 30px;
	}
}

