/* ligsuniversity.sk — overlay on original layout (screen.css + adaptive.css)
 * deploy-marker: 2026-09-16-v3 (black menu + black text) */

@import url("screen.css");
@import url("adaptive.css");

:root {
  --ligs-navy: #003f5e;
  --ligs-green: #568d02;
  --ligs-teal: #14809c;
  --ligs-muted: #444444;
  --ligs-text: #000000;
  --font-body: "Source Sans 3", "Open Sans", sans-serif;
}

/* ── Typography (content only — does not touch header/menu) ── */
#content,
#content .container .block {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}

#content p {
  margin: 0 0 1em;
  line-height: 1.65;
}

#content ul,
#content ol {
  margin: 0 0 1em;
}

#content li {
  margin-bottom: 0.35em;
  line-height: 1.55;
}

#content h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 0 0.75em;
}

#content h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 1.1em 0 0.6em;
  padding-left: 0;
  padding-right: 0;
}

#content h4 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0.9em 0 0.5em;
}

#content strong,
#content b {
  font-weight: 700;
}

#content .date {
  color: var(--ligs-muted);
  font-size: 13px;
}

#content em {
  color: var(--ligs-green);
  font-style: normal;
  font-weight: 600;
}

#content table td,
#content table th {
  line-height: 1.5;
  vertical-align: top;
}

#content table td:empty,
#content table th:empty {
  display: none !important;
  padding: 0 !important;
  border: 0 !important;
}

.vizitky td:empty {
  display: none !important;
}

/* ── Sprievodca: one card face, questions stacked (no absolute overlap) ── */
#content.guide .flipCards .card .back {
  display: none !important;
}

#content.guide .flipCards .card .flipper {
  position: static !important;
  transform: none !important;
  backface-visibility: visible !important;
}

#content.guide .container .otazka,
#content.guide .container .otazka.current {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
}

#content.guide .container h3 label,
#content.guide .container h4 label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  line-height: 1.45;
  margin-top: 6px;
}

#content.guide .container input[type="radio"] {
  float: left;
  margin: 5px 10px 0 0;
}

#content.guide .container label[for] {
  display: block;
  overflow: hidden;
  padding-left: 0;
  margin-bottom: 10px;
  text-transform: none;
  font-size: 14px;
  line-height: 1.45;
}

#content.guide .container .cislo {
  font-size: 13px;
  color: var(--ligs-muted);
}

/* ── Hide junk / empty gaps (safe selectors only) ── */
#scroller_nav {
  display: none !important;
}

iframe[name="Vseobecny"] {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  overflow: hidden;
}

a:empty {
  display: none !important;
}

img[src=""],
img:not([src]) {
  display: none !important;
}

p:empty {
  display: none;
}

br + br {
  display: none;
}

.skype_c2c_container,
.skype_c2c_menu_container {
  display: none !important;
}

.skype_c2c_print_container {
  display: inline !important;
}

input[name="spam"],
label[for*="spam"],
input[id*="spam"] {
  display: none !important;
}

#footer .tower {
  display: none;
}

/* ── Main menu: hide dropdowns, no overlap with page text ── */
#header {
  padding-bottom: 46px;
}

#header .menu {
  z-index: 200;
}

#header .menu > ul > li {
  overflow: hidden;
  max-height: 46px;
}

#header .menu > ul > li:hover,
#header .menu > ul > li.popOpen {
  overflow: visible;
  max-height: none;
  z-index: 300;
}

#header .menu > ul > li > a {
  position: relative;
  z-index: 2;
  color: var(--ligs-text) !important;
}

#header .menu > ul > li > a .spacer {
  color: var(--ligs-text) !important;
}

#header .menu > ul .sub {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  margin-left: -125px !important;
  width: 250px !important;
  z-index: 400 !important;
}

#header .menu > ul > li:hover > .sub,
#header .menu > ul > li.popOpen > .sub {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

#header .menu > ul .sub li:hover > .sub,
#header .menu > ul .sub li.popOpen > .sub {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}

#header .slideshow,
#header .noslideshow {
  padding-bottom: 46px;
  box-sizing: border-box;
}

/* ── Slideshow nav dots: 80% size ── */
#header .slideshow .anchors {
  width: 192px;
}

#header .slideshow .anchors li {
  margin-bottom: 5px;
}

#header .slideshow .anchors a {
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  padding-left: 18px;
}

#header .slideshow .anchors a .img {
  width: 18px;
  height: 40px;
  margin-top: -20px;
}

/* ── Remove Ligs TUBE + prihláška side blocks in box_tube ── */
#box_tube .inner.formu2,
#box_tube .inner.vbg {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

/* ── Black text (keep white on dark bars/buttons) ── */
body,
.page-wrap,
#bread_crumb_nav,
#bread_crumb_nav .crumb,
#bread_crumb_nav a,
#adv_buttons a,
#adv_buttons a .text,
#adv_buttons a .main,
#adv_buttons a .desc,
#header .slideshow .slide .text,
#header .slideshow .slide .text a,
#header .slideshow .slide .text .title,
#header .slideshow .slide .text .title a,
#header .slideshow .slide .text p,
#header .menu_programs a,
#header .odkazy_noslide a,
#content,
#content p,
#content li,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content .container,
#content .container .block,
#content .boxes .box .content,
#content .boxes .box .title,
#content .boxes .box .main_title,
#content .boxes .box .title a,
#content label,
#content.guide .container label[for],
#content.guide .container h3 label,
#content.guide .container h4 label {
  color: var(--ligs-text);
}

#content strong,
#content b,
#content em {
  color: var(--ligs-text);
}

#content a:not(.button):not(.button_flat):not(.button2):not(.more):not(.carousel_nav),
#header .slideshow .slide .text a:not(.button2),
#bread_crumb_nav a {
  color: var(--ligs-text);
}

#content a:not(.button):not(.button_flat):not(.button2):not(.more):hover,
#bread_crumb_nav a:hover {
  color: var(--ligs-navy);
}

#content .date,
#content.guide .container .cislo {
  color: var(--ligs-muted);
}

/* Preserve light text on dark UI */
#footer,
#footer .copy,
#footer .m_block .boxes h2 {
  color: #fff !important;
}

#head_bar > .fl,
#head_bar h2 {
  color: #fff !important;
}

#content.guide .flipCards .card,
#content.guide .flipCards .card strong {
  color: #fff !important;
}

.button.dk_blue,
.button_flat.dk_blue,
.button2,
#content .boxes .box.contact_us .inner,
#content .boxes .box.contact_us .main_title,
#content .boxes .box.we_contact .inner,
#content .boxes .box.we_contact .main_title,
#content .boxes .box.virtual_room .inner,
#content .boxes .box.virtual_room .main_title {
  color: #fff !important;
}
