:root {

	--sectbox-bg-color: #f8f8f8;  
  --breakbox-bg-color: #edf5ff;
  
}

/* AGENDA PAGE STRUCTURE */
.acb-schedule-wrapper {clear:both;}
.acb-schedule-nav {margin: 20px 0;}
.acb-schedule-body {}

/* AGENDA NAV */
.acb-schedule-nav > ul.nav-pills > li > a  {background-color: #ededed;color: var(--site_dark);}
.acb-schedule-nav > ul.nav-pills > li.active > a {background-color: var(--site_dark);color: #ffffff;}

/* AGENDA BODY STRUCTURE */
.acb-schedule-layer-back {position:relative;z-index:100;}
.acb-schedule-layer-mid {position:relative;z-index:200;}
.acb-schedule-layer-top {position:relative;z-index:300;}

/* FLEX */
.flex-container-row {
  display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	/*	gap:10px;*/
}

/* FLEX */
.flex-container-column {
  display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	/*	gap:10px;*/
}

.flex-item {
	flex: 1;
}

.agenda_box_colhead {
	background-color: var(--site_dark);
	color: #ffffff;
	box-sizing: border-box;
	border: 2px solid #ffffff;
	display: flex;
	align-self: flex-start;
	width:100%;
  margin:0;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */	
	padding:10px 0;
}

.agenda_box_sect, .agenda_box_break, .agenda_box_empty {
	box-sizing: border-box;
	border: 2px solid #ffffff;
	display: flex;
	width:100%;
  margin:0;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */	
}

.agenda_box_break {
	position:absolute;
	background-color:var(--breakbox-bg-color);
}

.agenda_box_empty {
	border:none;
}

.agenda_box_sect .box_label, .agenda_box_break .box_label {
  text-align:center;
	font-size:0.8em;
}


.agenda_box_colhead .box_label {
  text-align:center;
	font-size:1.0em;
	
	overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
	line-height: 1em;
  max-height: 2em; 	

/* line-height: 1em;  a
	 max-height: 2em; a x number of line to show (ex : 2 line)	
*/	
}

.agenda_box_sect {
  background-color:#eeeeee;
}

.agenda_box_sect_uniform {
  flex: 1;
  min-width: 0;
}

.acb-uniform-break {
  box-sizing: border-box;
  padding: 10px 16px;
  background-color: var(--breakbox-bg-color);
  border: 2px solid #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.9em;
}

.agenda_box_sect:hover {
  color:#ffffff;
  background-color:var(--site_dark);  
}

.abscontent {
  display:inline-block;
  padding:15px;
  background-color:#ededed;
}


.b2025-06-191210 > span, .b2025-06-191515 > span {
  display: block;
  position: relative;
  left: 100px;
  z-index:400;
}


/* ── MOBIL ─────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Napválasztó gombok */
  .acb-schedule-nav > ul.nav-pills > li > a {
    padding: 3px 5px;
    font-size: 0.75em;
    line-height: 1.2em;
  }
  .acb-schedule-nav > ul.nav-pills > li > a span {
    font-size: 0.65rem !important;
  }

  /* Terem fejléc */
  .agenda_box_colhead {
    padding: 3px 1px;
    height: auto !important;
    min-height: 30px;
  }
  .agenda_box_colhead .box_label {
    font-size: 0.5em;
    line-height: 1.15em;
    max-height: none;
  }

  /* Szekció és szünet dobozok */
  .agenda_box_sect_uniform,
  .acb-uniform-break {
    height: auto !important;
    min-height: 55px;
  }

  .agenda_box_sect .box_label,
  .acb-uniform-break .box_label {
    font-size: 0.5em;
    line-height: 1.2em;
    padding: 1px;
  }

  /* Szünet sáv teljes szélességben */
  .acb-uniform-break:not([style*="flex:1"]) {
    padding: 6px 8px;
  }

}

