.channels {
    margin: 110px -54px 0;
    background: #fff;
    padding: 0 20px 110px;
}

.channel {
    border-radius: 11px;
    background: #F9F9F9;
    box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    padding: 12px 24px;
    font-size: 21px;
    color: #000;
    font-family: 'Roboto-bold';
    width: 320px;
    margin-right: 16px;
    flex-shrink: 0;
    height: 107px;
}
#rmp{
    width: 100% !important;
    height: 100% !important;
}
.channel .img {
    border: 1px solid #EBEBEB;
    border-radius: 100%;
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 20px;
}

.channel .img img {
    max-width: 50px;
}

.channels-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.channel-overflow {
    margin-top: -85px;
}
.channel-list {
    display: flex;
    align-items: center;
}
/* width */
.channels-item::-webkit-scrollbar,.streaming-days::-webkit-scrollbar {
  display:none;
}

/* Track */
.channels-item::-webkit-scrollbar-track,.streaming-days::-webkit-scrollbar-track {
  display:none;
}

/* Handle */
.channels-item::-webkit-scrollbar-thumb,.streaming-days::-webkit-scrollbar-thumb {
  display:none;
}
.edit-icon {
    display: flex;
    margin-right: 50px;
    margin-top: -75px;
    z-index: 999;
}

.channel.active {
    width: 400px;
    height: 133px;
    border: 1px solid #E10A17;
}
.streaming-now-play {
    margin-right: 10px;
    text-align: center;
    cursor: pointer;
}

.streaming-now-play span {
    display: block;
    font-size: 9.5px;
    font-family: Roboto-bold;
    letter-spacing: -0.01em;
    color: #FF4949;
}

.streaming-days {
    display: flex;
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
}

.streaming-days a {
    flex: 1;
    padding:5px;
    display: flex;
    height: 100%;
    font-size: 15px;
    color: #fff;
    font-family: Roboto-medium;
    flex-direction: column;
    border-radius: 6px;
    background: #BEC7D1;
    font-family: 'Roboto-bold';
    justify-content: center;
    width: 120px;
    flex-shrink: 0;
    gap: 4px;
}

.streaming-days a.active,
.streaming-days a:hover {
    background: #ED1C24;
}


.streaming-days a:last-child {
    border-right: none;
}

.streaming-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
    justify-content: space-between;
    gap: 24px;
    margin-right: -10px;
    overflow: auto;
}
.streaming-now-play svg path {
    fill: #FF4949;
}
.program-list ul li a {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E9E9E9;
    padding: 20px 0;
}

.program-list .img {width: 0;opacity: 0;visibility: hidden;z-index: -1;position: relative;}

.program-list .time {
    color: #000;
    font-size: 23px;
    letter-spacing: -0.23px;
    font-family: 'Roboto-bold';
    width: 78px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.program-list .play {
    margin-right: 17px;
}

.program-list .program-name {
    letter-spacing: -0.22px;
    font-size: 22px;
    color: #000;
    transition: all 0.3s ease;
}

.program-list li.active a .img {
    width: 213px;
    opacity: 1;
    visibility: visible;
    z-index: 99;
    display: flex;
    margin-right: 32px;
}

 
.program-list .icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 37px;
    height: 30px;
}

.program-list .active .program-name,.program-list li:hover .program-name {
    font-family: 'Roboto-bold';
}

.program-list .active .time,.program-list li:hover .time {
    color: #E10A17;
}

.favourites-channel-active {
    overflow: hidden;
}

.favourite-block-wrapper {width: 0; height: 0; display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; position: fixed; top: 0; left: 0; z-index: -1; opacity: 0; visibility: hidden;}

body.favourites-channel-active .favourite-block-wrapper {width: 100%; height: 100%; z-index: 9999999; opacity: 1; visibility: visible;}
body.favourites-channel-active .opacity-bg {
    background: rgba(0, 0, 0, 0.33);
    height: 100%;
    opacity: 1;
    visibility: visible;
    z-index: 9999998;
}
 

.favourite-block {
    display: none;
    background: #fff;
    width: 100%;
    border-radius: 15px;
    transition: all 0.4s ease;
    overflow-y: auto;
    max-height: calc(100% - 253px);
}

.favourite-block .title {
    font-size: 26px;
    color: #000;
}

.favourite-block .headline {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    background-color: #fff;
}

.favourite-block .close {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    top: 0;
    left: 0;
    margin-left: auto;
    transform: none;
}

.favourite-block .close .summary {
    color: #A7A7A7;
    font-size: 22px;
    font-family: 'Roboto-medium';
}

.favourite-block .list {
    padding: 25px 40px;
    min-height: 184px;
}

.favourite-block .list-item {
    display: flex;
    align-items: center;
    width: 100%;
    flex-shrink: 0;
}
.list-icon {
    cursor: all-scroll;
}
body.favourites-channel-active .favourite-block:not(.new-add-channel-block) {display: block;}
.channel-box {
    width: calc(100% - 80px);
    flex-shrink: 0;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    padding: 0 15px;
    height: 54px;
}

.channel-box .img {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #EBEBEB;
    border-radius: 100%;
    margin-right: 15px;
}

.favourite-block .list ul {
    display: flex;
    gap: 20px 40px;
    width: 100%;
    flex-wrap: wrap;
}

.channel-box .img img {
    max-width: 30px;
}

.channel-name {
    font-size: 15px;
    color: #000;
    font-family: 'Roboto-medium';
}
.add-channel-btn {
    width: 160px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #E10A17;
    background: #FFF;
    border-radius: 4px;
    color: #E10A17;
    font-size: 16px;
    font-family: 'Roboto-bold';
    margin: 0 45px 45px auto;
    display: flex;
    transition: all 0.3s ease;
}

.add-channel-btn:hover {
    background: #E10A17;
    color: #fff;
}
.add-channel-btn svg {
    background: #E10A17;
    border-radius: 4px;
    margin-right: 10px;
}

.add-channel-btn:hover svg {
    background: #fff;
}

.add-channel-btn:hover svg path {
    fill: #000;
}
.delete-icon {
    filter: grayscale(1);
    opacity: 0.3;
    transition: all 0.3s ease;
}
.star-icon {
    width: 44px;
    height: 54px;
    background: url(../images/star-icon.svg) no-repeat center;
    cursor: pointer;
}
.star-icon.active {
    background: url(../images/star-icon-02.svg) no-repeat center;
}
.delete-icon:hover {
    filter: none;
    opacity: 1;
}
body.favourites-channel-active.channel-active .favourite-block:not(.new-add-channel-block) {display: none;}

body.favourites-channel-active.channel-active .favourite-block.new-add-channel-block {display: block;}
.new-add-channel-block .channel-box {
    width: calc(100% - 44px);
}

.new-add-channel-block .headline {
    background: #E10A17;
    border: 0;
}

.new-add-channel-block .headline .title {
    color: #fff;
}
@media (min-width:768px){
    .streaming-days-area {
        padding: 0;
    }
     favourite-block {width: 700px;margin: auto;}
    .streaming-days {
        width: 100%;
        height: 55px;
        margin-top: 35px;
    }

    .streaming-days a {
        padding: 0 15px;
        font-size: 16px;
        overflow: hidden;
        width: 165px;
    }

    .streaming-now-play {
        display: flex;
        align-items: center;
        margin-right: 15px;
    }

    .streaming-now-play span {
        font-size: 11px;
        line-height: 13px;
    }

    .streaming-now-play svg {
        margin-right: 5px;
    }

    .streaming-now-play svg path {
        fill: #FF4949;
    }
    .favourite-block {
        width: 85%;
    }
    .favourite-block .list-item {
        width: calc(48% - 10px);
    }
    
}
@media (min-width:1200px){
    .favourite-block .list-item {
        width: calc(33.33% - 27px);
    }
}
@media (min-width:1400px){
    .channel-block {width: 1298px;margin: auto;}
    .favourite-block {
        width:1298px;
    }
    .favourite-block.new-add-channel-block {
    width: 1143px;
}
    
}

@media (max-width:767px){
    .channels {
    /* margin: 69px -24px 0; */
    margin: 69px 0 0;
    padding: 15px;
}

.channel.active {
    order: 1;
    width: 250px;
    height: 83px;
}

.channel {
    order: 2;
    width: 200px;
    height: 66px;
    font-size: 18px;
}

.edit-icon {
    position: fixed;
    bottom: 20%;
    right: -20px;
}

.channel .img {
    width: 50px;
    height: 50px;
}

.channel .img img {
    max-height: 30px;
}
.streaming-days a {
    width: 160px;
}
.channel.active .img {
    width: 62px;
    height: 62px;
}

.channel.active .img img {
    max-height: 40px;
}
.channels-item {
    margin-left: 60px;
    width: auto;
    height: auto;
    margin-bottom: 10px;
}
.program-list .program-name {
    font-size: 14px;
}
.channel-overflow .swiper {
    overflow: inherit;
    margin: 0;
}

.channel-overflow {
    margin-top: -70px;
    overflow-x: auto;
    margin-right: -24px;
}
.program-list .time {
    font-size: 15px;
    width: 45px;
}

.program-list .play {
    margin-right: 5px;
}

.program-list li.active a .img {
    width: 118px;
    margin-right: 15px;
}
    .edit-icon rect {fill: rgb(0 255 0 / 0%);stroke: none;}

 

.edit-icon svg {
    background: #ed1c24;
    z-index: 999;
    border-radius: 10px;
}
.favourite-block .list {
    padding: 25px 10px;
}

.favourite-block .headline {
    padding: 9px 20px;
}

.favourite-block .list ul {
    gap: 12px;
}
.favourite-block:not(.new-add-channel-block) {
    border-radius: 15px 15px 0 0;
}

.favourite-block .title {
    font-size: 13px;
    font-family: 'Roboto-bold';
}

.favourite-block .close .summary {
    font-size: 13px;
}

.favourite-block .close {
    gap: 10px;
}
    body.favourites-channel-active .favourite-block {
    z-index: 999999;
    max-height: calc(100% - 250px);
}

body.favourites-channel-active .opacity-bg {
    z-index: 9999998;
}
    .add-channel-btn {
    width: 26px;
    height: 27px;
    border: 0;
    margin-right: 20px;
}

.add-channel-btn svg {
    margin: 0;
    transform: scale(1.2);
}
}
