:root {
  --BodyBackground: #E5E4E2;
}

.tv-program{
    position: relative;
    top: 40px;
}

tv-player{
    display: block;
    position: relative;
    overflow: hidden;
}

.zebra-list{
    li:nth-child(even) {
      background-color: #f2f2f2;
    }
}

.btn-danger.focus, .btn-danger:focus, .btn-danger:hover {
    color: #fff;
    background-color: #EB5406;
}

.btn-tv {
    background-color: #9B9A96;
}

.loader {
  border: 30px solid #f3f3f3;
  border-radius: 50%;
  border-top: 30px solid black;
  border-right: 30px solid lightgray;
  border-bottom: 30px solid gray;
  border-left: 30px solid silver;
  width: 200px;
  height: 200px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  margin: auto;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  z-index: 2;
}

.dropdown-menu li {
position: relative;
}
.dropdown-menu .dropdown-submenu {
display: none;
position: absolute;
left: 100%;
top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
right: 100%;
left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
display: block;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.teamLogos {
    width:50px;
    height:50px;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sticky-top2 {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
  }
}


@media (max-width: 991px){
.teamLogos {
    width:40px;
    height:40px;
}

.grtv {
    max-height:250px;
}

}

.bd{
    background-color: #E5E4E2;
}

.btnimg{
    width: 100px;
    padding: 5px;
}


.nl{
    background-color: lightgray !important;
    opacity: 0.8;
    border-radius: 0 !important;
    color: black;
    font-weight: bold !important;
    text-transform: capitalize !important;
    font-size: 1rem !important;
}

.nl.active{
    background-color: gray !important;
    opacity: 1;
    font-weight: bold !important;
}

.bdimage{
    background-repeat: no-repeat;
    background-size: cover;

}

.popover {
    background: #E5E4E2;
}

footer{
	color: #fff;
	background-color: #343a40;
}

.matrix{
    background-color: #0C090A;
    color: #16F529;
}

.hrl{
    height:2px;
    border-width:0;
    color:lightgray;
    background-color:lightgray
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 60vh;
}

main {
  flex: 1;
}


.navbar-profile-image{
	width: 30px;
	height: 30px;
}


.flexible_image {
    max-width: 50%;
    height: auto;
    padding: 20px;
    border-radius: 25px;
}

@media (max-width: 1350px){
#player {
    max-width: 100%;
    min-height: auto;
}

@media (max-width: 640px){
.flexible_image {
    max-width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 25px;
}
}


.ms-5 {margin-left: 0 !important;}
.me-5 {margin-right: 0 !important;}

}

@media (min-width: 780px) {
.newsimg {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

}


body {
	background-color: #f8f9fa;
}

.index-title {
    font-size: 2.5em;
	font-weight: bold;
	text-decoration: none;
	color:  black;
}

.container{
	margin-top: 20px;
}


.author-name:link{
	color: gray;
}

.author-name:visited{
	color: #696969;
}

.author-name:hover{
	color: #D3D3D3;
}

.article_title:link, .article_title:hover, .article_title:visited{
	text-decoration: none;
	color:  black;
}

.main-article-category:hover,.main-article-title:hover,.author-name{
	text-decoration: underline;
	color:  black;
}

footer{
	color: #fff;
	background-color: #343a40;
}

.litems,.mlink{
	text-decoration: none;
	/*color: #f8f9fa;*/
	color: rgba(255,255,255,.90)!important;

}
.litems:hover{
	/*color: white;*/
	color: rgba(255,255,255,10)!important;
}

.row{
	margin-top: 20px;
}

.navbar-profile-image{
	width: 50px;
	height: 50px;
}

.profile-image{
	width: 60px;
	height: 60px;
	margin: 10px;
}

.a_image{
  border: 1px solid #ddd;
  border-radius: 8px;
}

.aba_header{
	text-align: center;
}

.error_message{
    background-color: #FFF5F5; /* Απαλό κόκκινο */
    color: #C53030;            /* Σκούρο κόκκινο κείμενο */
    padding: 15px;
    border-left: 5px solid #FC8181; /* Έντονη γραμμή αριστερά */
    border-radius: 6px;
    font-family: sans-serif;
    margin: 20px 0;
    display: flex;
    align-items: center;
}


.error_info{
    background-color: #EBF8FF; /* Πολύ απαλό μπλε */
    color: #2C5282;            /* Σκούρο μπλε για διάβασμα */
    padding: 16px;
    border-left: 5px solid #4299E1; /* Έντονο μπλε border */
    border-radius: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px 0;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Ελαφριά σκιά για βάθος */
}

.error_image{
    border-radius: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.error_card{
    padding-bottom: 5%;
}

.ifr{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    right:0;
    width:100%;
    height:100%;
    border:none;
    margin:0;
    padding:0;
    overflow:hidden;
    z-index:999999;
}

body{
    font-family: 'Roboto', 'serif';
    font-size: 20px;
}

.hide-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;

  &::-webkit-scrollbar {
    width: 0px;
  }

  &::-webkit-scrollbar-track {
    background: transparent;
  }

  &::-webkit-scrollbar-thumb {
    background-color: transparent;
  }
}


/* From Uiverse.io by gharsh11032000 */
.button {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #514545;
  display: flex;
  align-items: center;
  color: white;
  flex-direction: column;
  justify-content: center;
  border: none;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.button::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -4px;
  top: -1px;
  margin: auto;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% );
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #fc00ff 0%, #00dbde 100% );
  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.button:hover::after {
  filter: blur(30px);
}

.button:hover::before {
  transform: rotate(-180deg);
}

.button:active::before {
  scale: 0.7;
}

.cat {
    margin-bottom: 10px;
}
#categories {
    display: none;
}


/* From Uiverse.io by kleenpulse */
.categories-btn {
  --border-color: linear-gradient(-45deg, #ffae00, #7e03aa, #00fffb);
  --border-width: 0.2em;
  --curve-size: 0.5em;
  --blur: 30px;
  --bg: #514545;
  --color: #afffff;
  color: var(--color);
  cursor: pointer;
  /* use position: relative; so that BG is only for .btn */
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-content: center;
  padding: 0.5em 1.5em;
  font-size: 17px;
  border: 0;
  text-transform: uppercase;
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.6);
  clip-path: polygon(
    /* Top-left */ 0% var(--curve-size),
    var(--curve-size) 0,
    /* top-right */ 100% 0,
    100% calc(100% - var(--curve-size)),
    /* bottom-right 1 */ calc(100% - var(--curve-size)) 100%,
    /* bottom-right 2 */ 0 100%
  );
  transition: color 250ms;
  display: inline-block;
}

.categories-btn::after,
.categories-btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

.categories-btn::before {
  background: var(--border-color);
  background-size: 300% 300%;
  animation: move-bg7234 5s ease infinite;
  z-index: -2;
}

@keyframes move-bg7234 {
  0% {
    background-position: 31% 0%;
  }

  50% {
    background-position: 70% 100%;
  }

  100% {
    background-position: 31% 0%;
  }
}

.categories-btn::after {
  background: var(--bg);
  z-index: -1;
  clip-path: polygon(
    /* Top-left */ var(--border-width)
      calc(var(--curve-size) + var(--border-width) * 0.5),
    calc(var(--curve-size) + var(--border-width) * 0.5) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */ var(--border-width) calc(100% - var(--border-width))
  );
  transition: clip-path 500ms;
}

.categories-btn:where(:hover, :focus)::after {
  clip-path: polygon(
    /* Top-left */ calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    calc(100% - var(--border-width)) var(--border-width),
    /* top-right */ calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width))
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5)),
    /* bottom-right 1 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width)),
    /* bottom-right 2 */
      calc(100% - calc(var(--curve-size) + var(--border-width) * 0.5))
      calc(100% - var(--border-width))
  );
  transition: 200ms;
}

.categories-btn:where(:hover, :focus) {
  color: #fff;
}


/* From Uiverse.io by adamgiebl */
.cbtn {
  font-size: 16px;
  display: inline-block;
  outline: 0;
  border: 0;
  cursor: pointer;
  will-change: box-shadow,transform;
  background: radial-gradient( 100% 100% at 100% 0%, #62a3b5 0%, #3c4dcf 100% );
  box-shadow: 0px 0.01em 0.01em rgb(45 35 66 / 40%), 0px 0.3em 0.7em -0.01em rgb(45 35 66 / 30%), inset 0px -0.01em 0px rgb(58 65 111 / 50%);
  padding: 0 2em;
  border-radius: 0.3em;
  color: #fff;
  height: 1.5em;
  text-shadow: 0 1px 0 rgb(0 0 0 / 40%);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.cbtn:hover {
  box-shadow: 0px 0.1em 0.2em rgb(45 35 66 / 40%), 0px 0.4em 0.7em -0.1em rgb(45 35 66 / 30%), inset 0px -0.1em 0px #3c4fe0;
  transform: translateY(-0.1em);
  color: #000000;
}

.cbtn:active {
  box-shadow: inset 0px 0.1em 0.6em #3c4fe0;
  transform: translateY(0em);
}


.accordion-button::after {
  background-image: initial;
  width: 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--BodyBackground);
    color: #000;
}

/* From Uiverse.io by adamgiebl */
.vp {
  color: #090909;
  padding: 0.7em 1.7em;
  font-size: 18px;
  border-radius: 0.5em;
  background: #bfbfbf;
  cursor: pointer;
  border: 1px solid #e8e8e8;
  transition: all 0.3s;
  box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.vp:hover {
  border: 1px solid white;
}

.vp:active {
  box-shadow: 4px 4px 12px #c5c5c5, -4px -4px 12px #ffffff;
}



.card-background {
    background-color: #fafafa;
    z-index: 0;
}

.card-image {
  width: 300px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 7%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
}

.card-image:hover {
  transform: scale(0.98);
  transition: transform 0.3s ease;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.dropdown-menu {
  max-height: 300px;
  overflow-y: scroll;
}

.list-group-item {
background-color: transparent;
border: 0px;
}


.gameBoxInfo {
    height: 180px;
}


.index-tv-program {
    margin-left: 12px;
    min-height: 350px;
    max-height: 400px;
}

.index-news {
    margin-left:12px;
    padding-left:12px;
}

.card-title .team-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    font-size: 1.25rem; /* mobile: κανονικό μέγεθος */
}

@media (min-width: 768px) {
    .card-title .team-name {
        font-size: clamp(0.75rem, 2vw, 1.25rem); /* desktop: μικραίνει αν χρειαστεί */
    }
}