.program-item {
    cursor: pointer;
}

rect {
    stroke: #676767;
    cursor: pointer;
}

.channel > rect {
    stroke: #676767;
}

.program-item:hover > rect {
    fill: #333;
}

.program-name,
.channel-name {
    -webkit-line-clamp: 2;
    height: 32px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    padding: 6px 2px;
}

#epg-container {
    width: calc(100vw - 100px);
    height: calc(100vh - 42px);
    overflow-x: scroll;
    overflow-y: hidden;
}

.parent {
    display: flex;
    background-color: black;
    color: #fff;
}

#channels-column {
    width: 100px;
    flex: none;
    border-right: 2px solid #ccc;

    .channel {
        cursor: pointer;

        rect {
            fill: #2d2d2d;
            stroke: #3d3d3d;
        }

        &:hover rect {
            fill: #3d3d3d;
        }
    }

    .channel-name {
        color: white;
        padding: 4px 8px;
        font-size: 12px;
        display: flex;
        align-items: center;
        height: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    image {
        object-fit: contain;
        background: #2d2d2d;
    }
}

/* .channel-name {
    margin: 0 5px;
    text-align: center;
} */

#epg-navigation {
    display: flex;
    background-color: white;
    border-bottom: 2px solid #fff;
    align-items: center;
}

#epg-svg {
    .program {
        cursor: pointer;

        rect {
            fill: #2d2d2d;
            stroke: #3d3d3d;
        }

        &:hover rect {
            fill: #3d3d3d;
        }
    }

    .program-title {
        color: white;
        padding: 4px 8px;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none;
    }
}

.today-date {
    flex: 1;
    align-items: center;
    line-height: 40px;
    height: 40px;
    padding: 0 20px;
}

#current-time-line {
    stroke-width: 2px;
    stroke: white;
}

::ng-deep {
    .dark-theme {
        #epg-navigation {
            background-color: black;
        }
    }
}
