/* !!!!!!!!!!!!!!  bs menu-collapse css !!!!!!!!!!!!!!!!!!!!!! */
:root {
    --navbar-dark-toggler-icon-bg: url('assets/01_arrow-left.svg')
}

body{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    /* !!!!!!!!!!!! THIS BREAKS DISPLAY STICKY !!!!!!!!!!!!!!! */
    overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
    padding-top: 56px;
}

button:focus {
    outline: none;
}

@media (max-width: 991.98px) {
    .menu-collapse {
        position: fixed;
        top: 56px; /* Height of navbar */
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        overflow-y: auto;
        visibility: hidden;
        background-color: #343a40;
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }
    .menu-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);

        z-index: 1001
    }
}

@font-face {
    font-family: OpenSans;
    src: url(fonts/opensans.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA
}

@font-face {
    font-family: PFDinDisplayPro-Medium;
    src: url(fonts/PFDinDisplayPro-Medium_gdi.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA
}

@font-face {
    font-family: PFDinDisplayPro-Light;
    src: url(fonts/PFDinDisplayPro-Light_gdi.ttf) format("truetype");
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA
}

@font-face {
    font-family: PFDinDisplayPro-Thin;
    src: url(fonts/PFDinDisplayPro-Thin_gdi.ttf) format("truetype");
    font-weight: 200;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA
}

@font-face {
    font-family: "Droid Sans";
    src: url(fonts/DroidSans.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-25CA
}

@font-face {
    font-family: "Roboto";
    src: url(fonts/Roboto-Regular.ttf) format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: "Roboto";
    src: url(fonts/Roboto-Bold.ttf) format("truetype");
    font-weight: bold;
}

nav .navbar-brand {
/*    font-family: Roboto, sans-serif;
    font-weight: bold;*/
    margin-left: 10px;
}

.navbar-toggler.back .navbar-toggler-icon {
    background-image: url(assets/01_arrow_left.svg)!important;
    background-position-x: 0px;
}

.navbar-expand-lg .navbar-toggler.back {
    display: inline;
}

.navbar span.logger {
    color: rgba(255,255,255,0.8);
    background-color: #527c70;

    font-size: small;
    max-width: 75%;
    font-weight: bold;
    width: 75%;
    padding: 0 5px;
    height: 100px;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
    /*background-color: skyblue;*/
    background-color: #293139;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    /*padding-bottom: 1rem;*/
    padding-bottom: 3px;
    margin-top: -1px;
    overflow-x: Auto;
    color: rgba(255, 255, 255, .75);
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-tabs .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
    color: #e6e9ee;
    border-radius: unset;
    border-color: transparent !important;
}

.small-padding .nav-tabs .nav-link {
    padding-top: .1rem
}

.nav-tabs.list .nav-link {
    text-transform: uppercase;
}

.nav-tabs .nav-link.active {
    color: #e6e9ee;
    background-image: linear-gradient(to bottom, transparent 92%, #009fff 80%);
    background-color: transparent;
    border-color: transparent;
}

.nav-tabs.epg .nav-link {
    color: #818992;
}

.nav-tabs.epg .nav-link.today {
    color: #e6e9ee;
}

.nav-pills .nav-link {
    /*padding-top: .75rem;*/
    /*padding-bottom: .75rem;*/
    /*font-size: .875rem;*/
    /*color: #404040;*/
    /*background-color: #6f42c1;*/
    /*border-radius: unset;*/
}

.nav-pills .nav-link.active {
    /*color: #6c757d;*/
    /*background-color: #d7e7ff;*/
}

.carousel {
    /*min-height: 85vh*/
}



.bg-old { background-color: #d6dade!important }

.text-white-50 { color: rgba(255, 255, 255, .5); }

small.archived { /* placeholder for the icon*/
    position: relative;
    float: right;
    background-image: url('assets/01_cloud.svg');
    width: 30px;
    height: 16px;
    background-size: 100% 100%;
}

small.noaccess { /* placeholder for the icon*/
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-image: url("./assets/01_lock.svg");
    background-size: 100% 100%;
}
/*.bg-purple { background-color: #6f42c1; }*/

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

/* !!!!!!!!!!!!!!  endof bs menu-collapse css !!!!!!!!!!!!!!  */

.channel-group .list-group-item {
    background: linear-gradient(to top, rgba(230, 230, 230, 0.7), rgba(255, 255, 255, 1) 15%);
    padding: 0
}

.epg-group .list-group-item .title{
    font-size: 90%
}

.image-box {
    background: no-repeat center;
    background-size: contain;
    /*margin: 5px;*/
    /*flex: 1 1 auto;*/
}

.media-body div.descr {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* ==================== login screen ============================ */

.nodisplay {
    display: none;
}

div.login-screen {
    position: fixed;
    width: auto;
    background-color: rgba(30, 60, 100, 0.7);
    height: 100%;
    top: 56px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    text-align: center;
}

.userData {
    padding:10px
}

.userData input {
    height: 3.5ch;
    padding-inline-start: 10px;
//    text-align: center;
    font-size: 1.2rem;
    width: 80%;
    max-width: 300px;
}

div.login-screen .label {
    font-family: Arial, sans-serif;
    color: white;
    margin-bottom: 0.5ch;
}

div.login-screen button {
    margin: 10px 0;
    padding: 5px 10px;
    border: 0;
    border-radius: 2px;
    background: #1dbe1d;
    color: white;
}

div.login-screen select {
    padding: 5px;
    margin-top: 10px;
    width: 80%;
    max-width: 300px;
}

.pin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding-left: 3px;
}

.bkg-pin {
    background: repeating-linear-gradient(90deg, #0008, #0008 20%, transparent 20%, transparent 25%);
    padding-left: 0.7ch;
    width: 22ch;
    height: 6.2ch;
}

.pin-input {
    font: bold 5ch monospace, Courier;
    border: none;
    outline: none;
    width: calc(1.85ch * 4);
    color: #e5e5e5;
    letter-spacing: .83ch;
    /*-webkit-text-security: disc;*/
    /*-moz-text-security: disc;*/
    height: 2.0ch;
    padding: 0.3ch 0 0 0;
    background: transparent;
    caret-color: transparent;
    text-align: left;
}

button.sendPin {

}

.login-screen div#pinMessage {
    color: #ee8e7f;
    /*color: #ec9ead*/
}

.login-screen button:disabled {
    background: #98a0a6;
    /*    color: #010910;*/
}

.login-screen .tab {
    display: inline-block;
    text-align: left;
    margin: 0.5rem 0.5rem 1.5rem 0.5rem;
    padding-bottom: 0.3rem;
}

.login-screen .tabs.disabled .tab:not(.active) {
    color: darkgray;
}

.login-screen .tab.active {
    background: linear-gradient(to bottom, transparent 90%, #009fff 90%);
}

/* style="font-size: x-large; padding: 5px; margin: 5px 10px; width: 120px" */
.caret-box {
    width: 21ch;
    /*height: 10px;*/
    margin-left: -8px;
}

.caret {
    width: 4.1ch;
    height: 3px;
    background: lightgrey;
    margin-left: 0.2ch;
    animation: fadeinout 1s infinite;
}

@keyframes fadeinout {
    0% {background-color: transparent;}
    50% {background-color: lightgrey;}
    100% {background-color: transparent;}
}