/*
    Use this stylesheet to modify the layout of your
    conference.
*/

/* ----------- Styles for the conference header ----------- */

/* --- Rendi trasparente tutta la testata evento (tutti gli strati) --- */
:root{ --category-color: rgba(0,0,0,0) !important; } /* se la skin usa la variabile di categoria */

/* Contenitore header della pagina evento */
.event-page-header,
.event-page-header::before,
.event-page-header::after {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Barre dentro l'header che spesso portano il colore */
.event-page-header .main-action-bar,
.event-page-header .event-header-bar,
.event-page-header .category-bar,
.event-page-header .toolbar,
.event-page-header .i-breadcrumbs,
.event-page-header .header {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Se la skin inietta uno style inline con background */
.event-page-header .main-action-bar[style],
.event-page-header [style*="background"] {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* Testo leggibile sopra immagini/banner */
.event-page-header .main-action-bar,
.event-page-header .main-action-bar a,
.event-page-header .main-action-bar .title,
.event-page-header .main-action-bar .event-title,
.event-page-header .main-action-bar .conference-title-link,
.event-page-header .main-action-bar .date,
.event-page-header .main-action-bar .location {
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

/* Rimuovi il box di ricerca dall'header/banner */
#event-search-box,
.confSubTitleBox #event-search-box,
.confSubTitleContent > .search-box,
.confSubTitleBox .search-box,
.search-box[data-event-id="1542"],
#event-search-box form,
#event-search-box * {
  display: none !important;
  visibility: hidden !important;
}


/* Nascondi contenuti originali + search */
#event-search-box { display: none !important; }
.confSubTitleBox .datePlace,
.confSubTitleBox .timezone,
.confSubTitleBox .place { display: none !important; }

/* Barra: altezza fissa (logo alto quanto la barra) */
:root{
  --subbar-h: 100px;   /* altezza barra e logo */
  --logo-w: 100px;     /* larghezza “visiva” del logo */
  --gap: 20px;         /* spazio tra logo e testo */
}

.confSubTitleBox{
  height: var(--subbar-h) !important;
  padding: 0 !important;
}

/* Layout a riga: LOGO a sinistra (vero elemento), TESTO a destra */
.confSubTitleContent {
  display: flex !important;
  align-items: flex-start !important;      /* testo agganciato in alto */
  justify-content: flex-start !important;
  gap: var(--gap);
  height: 100%;
  padding: 8px 20px 0 20px !important;     /* piccolo offset alto per il testo */
  position: relative;
}

/* LOGO: alto quanto la barra, senza margini sopra/sotto */
.confSubTitleContent::before {
  content: "";
  display: block;
  width: var(--logo-w);
  height: 100%;
  background: url('https://indico.dfa.unipd.it/event/1542/images/276-LOGO%20Gadest%202026.png') left top / auto 100% no-repeat;
  flex: 0 0 var(--logo-w);                 /* elemento flessibile indipendente */
  align-self: flex-start;                /* agganciato in alto */
  margin-top: -15px;                         /* offset */
  margin-left: 80px;
}

/* TESTO: blocco a destra del logo, allineato a sinistra */
.confSubTitle {
  display: block !important;
  flex: 1 1 auto;
  color: #0b2538;
  line-height: 1.2;
  margin: -10px;
  padding: 0;
}

/* Titolo in DUE righe (bold) */
.confSubTitle::before {
  content: "GADEST 2026 – 21st International Conference on Gettering and Defect Engineering  \A in Semiconductor Technology";
  white-space: pre-line;
  display: block;
  font-weight: 700;
  font-size: 12pt;
  line-height: 1.18;
  text-align: left;
}

/* Date+luogo sotto, regular */
.confSubTitle::after {
  content: "September 27 – October 2, 2026 – Venice, San Servolo Island, Italy";
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 11pt;
  line-height: 1.2;
  text-align: left;
}

/* Pulisci eventuali pseudo-elementi precedenti sul content */
.confSubTitleContent::after { content: none !important; }


/* Nasconde il pulsante "Download Material" in tutta la pagina dell'evento */
.i-button.download-material,
button[title="Download material"],
a[title="Download material"],
a[href*="download"] .icon-download,
.material-list .icon-download {
  display: none !important;
}

/* Nasconde le icone di download elencate nella pagina */
.material-list .icon-download,
.attachments-box .icon-download {
  display: none !important;
}

/* Nasconde la sezione “Materials” nella pagina Overview */
.infoline.material,
.infoline.material-list,
.material-list,
.attachments-box,
.attachments-box .empty,
.infoline.material .icon-attachment {
    display: none !important;
}


/*
The wrapper of the whole conference page.
*/
.conf {
  width: 100%;
  border: none;
  margin: none;
}

/*
Wraps around the upper part of the conference header.
*/
.confTitleBox {
  color: white;
  min-height: 0 !important;
  height: auto !important;
  margin-bottom: 0 !important;
  display: block !important;
  background-size: cover !important;
  background-position: center top !important; /* ancora il top */
  background: transparent url('https://indico.dfa.unipd.it/event/1542/images/271-san%20servolo%20wide%20dark.jpg') no-repeat center 0;
background-size:100% auto;
aspect-ratio: 1600 / 500;
}

/*
Sets the width of the upper part of the conference header.
Is set to 950px and centered by default.
*/
.confTitle {
  width: 1200px;
  margin:-50px auto 0;
}

/*
The box containing the logo. By the default the logo is placed
on the left of the conference title.
*/
.confLogoBox {
  float: left;
  padding-right: 10px;
}

/*
The box containing the logo when configured in banner mode.
*/
.confLogoBannerBox img {
  width: 100%;
  margin-bottom: 0.5rem;
}

/*
The style for the title text.
*/
.conference-title-link {
  font-size: 22pt;
  display: block;
  padding: 25px 0;
  color: white;
}
/* fa scomparire la scritta GADEST 2026 */
.conference-title-link {
  display: none !important;
}


/*
Wrapper around the bottom part of the conference header
*/
.confheader.clearfix {
  background: transparent !important;
  background-image: none !important;
}
.confSubTitleBox {
  position: relative;
  z-index: 2;                          /* sopra al banner */
  margin-top: -70px;                   /* sovrappone la barra all'immagine */
  background: rgba(255, 255, 255, 0.8) !important; /* azzurro semi-trasparente */
  border: 0 !important;
  box-shadow: none !important;
  padding: 8px 16px !important;
}

/* 3) Evita che i figli reintroducano un fondo pieno */
.confSubTitleBox *,
.confSubTitleContent,
.confSubTitle {
  background: transparent !important;
  background-image: none !important;
}



/*
The content of the lower part of the header. Is by default
centered and has a fixed width.
*/
.confSubTitleContent {
  width: 950px;
  margin: 0 auto;
  font-size: 11pt;
  color: #24425a;
}

/*
Style for links in the lower part of the header
*/
.confSubTitle a {
  font-size: 11pt;
}

/*
Styles for the date and place information.
*/
.datePlace {
  font-size: 12pt;
}

/*
Announcement styles
*/
.simpleTextAnnouncement {
  background: #f5faff url(/images/conf/sprites_blue.png) repeat-x scroll 0 -400px;
  border-top: 1px solid #c2d6e7;
  font-family: Verdana, sans-serif;
  font-weight: bold;
  font-size: 10pt;
  text-align: center;
  color: #0f283d;
  padding: 8px 0;
}

/* ----------- Styles for the main content ----------- */

/*
The wrapper around the menu and the page content.
By default centered with a fix width.
*/
#confSectionsBox {
  width: 950px;
  margin: 0 auto;
  margin-top: 30px;
}

/* ----------- Styles for the menu ----------- */

/* Styles for all menu Items */

/*
Wrapper around the menu
*/
.conf_leftMenu {
  float: left;
  width: 200px;
}

/*
Styles for the menu box
*/
#outer {
  border: 1px solid #ccc;
  background: #f6f6f6;
}

/*
The menu item
*/
#outer li a {
  font-family: verdana, arial, sans-serif;
  font-size: 10pt;
}

/*
The menu item when doing mouseover
*/
#outer li a:hover {
  background: #e0e0e0;
}

/*
A non selected menu item
*/
.menuConfTitle {
  text-align: left;
}

.menuConfTitle a {
  color: #275c86;
  padding: 7px 12px;
}

/*
A selected menu item
*/

.menuConfTitle.selected > a,
.menuConfMiddleCell.selected > a {
  color: #bd891a;
  background: #dadada;
  border-bottom: 1px solid #d0d0d0;
  border-top: 1px solid #d0d0d0;
}

/*
sub menu item
*/
li ul.inner li a {
  padding: 3px 12px 3px 30px;
  background: transparent url(/images/conf/left_menu_bullet.png) scroll no-repeat 15px center;
}

/*
Support box
*/

.support_box {
  background: #f6f6f6;
  border: 1px solid #ccc;
}

.support_box > h3 {
  color: #f3f3f3;
  background: #1a64a0;
}

/* ----------- Styles for the page content ----------- */

/*
Wrapper around the content
*/
.confBodyBox {
  margin-left: 230px;
}