/* Terms overlay root container */
#termsOverlay { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.92); z-index: 1000000; display: none; color: #e6e6e6; }
/* Centered content container */
#termsOverlay .terms-container { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 90%; height: 90%; background: #101010; border: 1px solid #2a2a2a; border-radius: 6px; display: flex; flex-direction: column; }
/* Title */
#termsOverlay .terms-title { padding: 10px 16px; font-size: 18px; color: #fff; border-bottom: 1px solid #2a2a2a; }
/* Scrollable content area with small font to fit 1920x1080 */
#termsOverlay .terms-content { padding: 10px 16px; overflow: auto; flex: 1; font-size: 12px; line-height: 1.4; }
#termsOverlay .terms-content h4 { margin: 10px 0 6px; font-size: 13px; color: #fff; }
#termsOverlay .terms-content p, #termsOverlay .terms-content li { font-size: 12px; }
#termsOverlay .terms-content ul { margin-left: 18px; }
#termsOverlay .terms-content ol { margin-left: 18px; }
/* Footer actions */
#termsOverlay .terms-actions { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 12px; border-top: 1px solid #2a2a2a; }
#termsOverlay .terms-btn { padding: 10px 18px; border-radius: 4px; border: 1px solid #3a3a3a; background: #1b1b1b; color: #fff; cursor: pointer; font-size: 16px; min-width: 160px; }
#termsOverlay .terms-btn:focus { outline: 2px solid #5aa0ff; }
#termsOverlay .terms-btn.accept { background: #0a7a2f; border-color: #0a7a2f; }
#termsOverlay .terms-btn.reject { background: #7a0a0a; border-color: #7a0a0a; }
#termsOverlay .reject-hint { display: none; color: #ffb3b3; font-size: 12px; text-align: center; padding: 4px 10px; }
/* Disabled state for buttons */
#termsOverlay .terms-btn[disabled] { opacity: 0.5; background: #444; border-color: #444; cursor: default; }
/* Generic disabled helper */
.disabled { opacity: 0.5; pointer-events: none; cursor: default; }
/* Generic hidden helper */
.hidden { display: none !important; }
/* Keep visuals simple; avoid dependency on external CSS frameworks */
body {
	background-image: url("images\\background.png");
}
html{
	overflow-x: hidden;
	overflow-y: hidden;
}
#groups {
	/* background-color: rgba(0, 0, 0, 0.4); */
	/* height: 75px; */
	display: -webkit-flex;
  	display: flex;
	overflow-x: auto;
	text-transform: uppercase;
	/* padding: 10px; */
	width: 100%;
}

#groups::-webkit-scrollbar {
	display: none;
}
#left{
	margin: 0 !important;
	background-image: url("images\\left.png");
	/* background-color: rgba(184, 164, 164, 0.4); */
    width: 6%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 60px;
}
#left:hover {
	background-color: rgb(114, 133, 151);
}
#right{
	margin: 0 !important;
	background-image: url("images\\right.png");
	/* background-color: rgba(184, 164, 164, 0.4); */
    width: 6%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 60px;
}
#right:hover {
	background-color: rgb(114, 133, 151);
}
#groupsMove {
	background-color: rgba(0, 0, 0, 0.4);
	display: -webkit-flex;
  	display: flex;
	overflow-x: auto;
	text-transform: uppercase;
	padding: 5px;
	margin-bottom: 10px;
}

.groupsMoveUHD {
	height: 100px;
	font-size: 36px;
}

.groupsMoveNormal {
	height: 75px;
	font-size: 22px;
}

#groupsMove::-webkit-scrollbar {
	display: none;
}

.group {
	background-color: rgba(0, 0, 0, 0.4);
	float: left;
	border-style: solid;
	border-width: 0px;
	margin: 3px;
	border-radius: 7px;
	color: whitesmoke;
	padding: 5px;
	width: 20%;
	text-align: center;
	white-space: pre-line;
	line-height: 30px;
}
.group:hover {
	background-color: rgb(114, 133, 151);
}

.spanHover:hover{
	background-color: rgb(114, 133, 151);
}

#channels {
	float: left;
	width: 100%;
}
.channelsUHD {
	margin-bottom: 50px;
	font-size: 30px;
}
.channelsNormal {
	margin-bottom: 40px;
	font-size: 22px;
}

#channelMove {
	margin-top: 5px;
    float: left;
    width: 49%;
    position: fixed;
}

#lockedChannel {
	margin-top: 5px;
    float: left;
    width: 49%;
    position: fixed;
    height: 300px;
    background-image: url(images\\locked.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#lockCheck {
	position: absolute;
}

.lockCheckNormal {
    left: 66%;
    margin-top: 30px;
    font-size: 20px;
}

.lockCheckUHD {
    left: 70%;
    margin-top: 40px;
    font-size: 50px;
}

#lockMessage {
	color: white;
	border: 2px solid white;
	background-color: black;
	padding: 5px;
	font-weight: bold;
	border-radius: 5px;
	margin-top: 10px;
}

.lockMessageUHD{
	font-size: 40px;
}

.lockMessageNormal{
	font-size: 20px;
}

#epgArea {
	color: orange;
	border: 2px solid white;
	padding: 5px;
	font-weight: bold;
	border-radius: 5px;
}
.epgAreaNormal{
	font-size: 15px;
}
.epgAreaUHD{
	font-size: 30px;
}
#epgTable {
	width: 100%;
    border-spacing: 0px;
    border-collapse: separate;
    text-align: left;
}
    
.pass {
	color: black;
	border: 2px solid white;
	background-color: white;
	padding: 5px;
	font-weight: bold;
	border-radius: 5px;
}

#up{
    margin: 0 10px 0 10px;
    background-image: url(images\\down.png);
    background-color: rgba(184, 164, 164, 0.4);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 98%;
}
.upNormal{
    height: 40px;
}
.upUHD{
    height: 50px;
}
#up:hover {
	background-color: rgb(114, 133, 151);
}
#down{
    margin: 0 10px 0 10px;
    background-image: url(images\\up.png);
    background-color: rgba(184, 164, 164, 0.4);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 98%;
    bottom: 0px;
    position: absolute;
}
#down:hover {
	background-color: rgb(114, 133, 151);
}
.downNormal{
    height: 40px;
}
.downUHD{
    height: 50px;
}
.channel {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	padding-left: 20px;
	margin: 6px;
	color: whitesmoke;
	display: -webkit-flex;
  	display: flex;
}
.channel:hover {
	background-color: rgb(114, 133, 151);
}
.counterChannel {
	float: left;
	/* padding-right: 30px;
	margin-left: 12px; */
	overflow: hidden;
	margin: 0 !important;
    min-width: 6%;
}

.favoriteStar{
    background-image: url(images\\starGreen.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 5%;
    height: 40px;
    margin: 0 !important;
}

.nameChannel {
	margin: 0 !important;
	width: 91%;
}

.groupName {
	margin: 0 !important;
	width: 100%;
	height: 105%;
	word-break: break-word;
	min-height: 60px;
	justify-content: center;
    align-items: center;
    display: -webkit-flex;
  	display: flex;
}

#selectedChannel {
	background-color: rgba(184, 164, 164, 0.4);
}
#selectedChannel:hover {
	background-color: rgb(114, 133, 151);
}
#selectedGroup {
	background-color: rgba(184, 164, 164, 0.4);
}
#selectedGroup:hover {
	background-color: rgb(114, 133, 151);
}

#tvAndLogo {
	float: right;
	width: 50%;
}

#tv {
	/* margin-top: 17px; */
	height: 100%;
	width: 100%;
	background-color: black;
}

#logo {
	background-color: none;
	text-align: center;
}

#netIPTVLogo {
	/* margin-top: 25px; */
}

.epgProgress1{
	background-color: rgba(0, 0, 0, 0.4);
    border: 2px solid white;
    text-align: center;
}
.epgProgress2{
    background-color: rgba(184, 164, 164, 0.4);
    color: white;
}
.netIPTVLogoNormal {
	width: 280px;
	max-width: 730px;
    max-height: 110px;
}

.netIPTVLogoUHD {
	width: 500px;
	max-width: 950px;
    max-height: 140px;
}

.footer {
	width: 100%;
	/* height: 65px; */
	position: absolute;
	bottom: 0;
}

#macAddress {
	float: left;
	color: white;
	margin-left: 30px;
	line-height: 25px;
    position: absolute;
}
.macAddressNormal {
	font-size: 30px;
	bottom: 15px;
}
.macAddressUHD {
	font-size: 60px;
	bottom: 25px;
}

.ButtonInfoNormal {
	font-size: 15px;
}
.ButtonInfoUHD {
	font-size: 30px;
}

#infoBar {
	float: right;
	color: white;
	margin-right: 25px;
	position: absolute;
	bottom: 15px;
	right: 10px;
}

.infoBarNormal {
	font-size: 15px;
}

.infoBarUHD {
	font-size: 25px;
}

.infoIcon {
	padding: 2px;
	border-radius: 3px;
	margin: 5px;
}

.listeNo {
	color: black;
	border: 2px solid white;
	background-color: white;
	padding: 5px;
	font-weight: bold;
	border-radius: 5px;
}
.listeNo:hover{
	background-color: rgb(114, 133, 151);
}

#listeNoNormal{
	font-size: 30px;
}
#listeNoUHD{
	font-size: 40px;
}

.disCerceve {
	padding: 4px;
	border: 1px solid white;
	padding-top: 24px;
	padding-bottom: 15px;
	border-radius: 5px;
	margin-right: 20px;
}

.red {
	background-color: red;
	color: white;
}

.green {
	background-color: green;
	color: white;
}

.blue {
	background-color: blue;
	color: white;
}

.yellow {
	background-color: yellow;
	color: black;
}

.grey {
	background-color: grey;
	color: white;
}
.channelbar {
	width: 101%;
	background-color: rgba(0, 0, 0, .9);
	font-family: "Verdana", sans-serif;
    position: fixed;
    height: 14%;
	z-index: 2;
}

#epgAreaBar {
	color: orange;
	border: 2px solid white;
	padding: 5px;
	font-weight: bold;
	border-radius: 5px;
	width: 100%;
	opacity: 0.89;
	background-color: rgba(0, 0, 0, .9);
	font-family: "Verdana", sans-serif;
    position: fixed;
    bottom: 0;
    
	z-index: 2;
    text-align: center;
}

.epgAreaBarUHD{
	font-size: 30px;
	height: 20%;
}
.epgAreaBarNormal{
	font-size: 16px;
	height: 16%;
}
#channelBarName {
    /* float: left;
    padding-left: 20px;
    width: 80%;
    height: 50%;
    top: 25%;
    margin: 0 auto;
    position: relative; */
    /* background: orange; */
    color: white;
    text-align: left;
    overflow: hidden;
}
.channelBarNameNormal {
	font-size: 2.5em;
}
.channelBarNameUHD {
	font-size: 3.5em;
}
#time {
	color: white;
	/*text-align: right;
 	float: left;
    color: white;
    padding-left: 48%;
    width: 20%;
    height: 50%;
    top: 35%;
    margin: 0 auto;
    position: absolute;
    text-align: right;
    left: 30%; */
}
.timeNormal{
    font-size: 1.5em;
}
.timeUHD{
    font-size: 3em;
}
#demo{
	font-family: "Verdana", sans-serif;
}
.demoNormal{
	font-size: 15px;
	line-height: 10px;
}
.demoUHD{
	font-size: 22px;
	line-height: 32px;
}

#player-video{
	width: 100%;
	background-color: black;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

#channelBarTable{
	width: 100%;
    border-spacing: 0px;
    border-collapse: separate;
    text-align: left;
    padding: 0;
}
#resolution{
    color: white;
    text-align: center;
    font-size: 2em;
    margin: 0;
}
#channelBarLogo{
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

#returnYesNo {
    position: absolute;
    top: 25%;
    color: #FFFFFF;
    left: 30%;
    font-size: 2em;
    font-family: "Verdana", sans-serif;
    background-color: rgba(184, 164, 164, 0.7);
    border: 10px solid black;
  	border-radius: 50px;
  	z-index: 10;
}

.yesno:hover {
    background-color: rgba(255,255,255,0.9);
    color: black;
    border: 4px solid black;
  	border-radius: 50px
}

.yesno {
	font-size: 2em;
    color: white;
    text-align: center;
    margin: 10px;
    border-radius: 25px;
    border: 2px solid white;
}
#selectedYesNo {
    background-color: rgba(255,255,255,0.9);
    color: black;
    border: 4px solid black;
  	border-radius: 25px
}
.yesnoLine1 {
    font-size: 2em;
}
.channelBildUHD {
    width: 270px;
    max-width: 270px;
    max-height: 380px;
    position: absolute;
    bottom: 50px;
    right: 336px;
}
.channelBildNormal {
   	width: 200px;
    max-width: 170px;
    max-height: 280px;
    position: absolute;
    bottom: 40px;
    right: 230px;
}
.progressNormal {
    position: absolute;
    width: 80%;
    bottom: 50px;
    left: 10%;
}
.progressUHD {
    position: absolute;
    width: 80%;
    bottom: 80px;
    left: 10%;
}
.progressTextNormal {
    position: absolute;
    width: 100%;
    bottom: 30px;
    text-align: center;
    color: seashell;
    font-size: larger;
}
.downloadProgressTextNormal {
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
    color: seashell;
    font-size: larger;
}

.progressTextUHD {
        position: absolute;
    width: 100%;
    bottom: 35px;
    text-align: center;
    color: seashell;
    font-size: 36px;
}
.downloadProgressTextUHD {
    position: absolute;
    width: 100%;
    bottom: 5px;
    text-align: center;
    color: seashell;
    font-size: 36px;
}