/* supplement.css — точечные правки вёрстки (Фаза 4). Тема: tee (Bootstrap). Accent: #FF8300 */

/* Гарантия видимости блока showLinks()/showSitewide() (.romlidata) — тёмный текст,
   контрастные ссылки поверх темы Bootstrap (анти-white-on-white). */
.romlidata,
.romlidata p,
.romlidata span,
.romlidata div,
.romlidata li {
  color: #222 !important;
}
.romlidata a {
  color: #c05a00 !important;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------
   Header banners (inner pages use #background.small; home uses RevSlider)
   Facebook photos are ~960px: without cover they tile and look like two
   slides glued together. White Playball nav is the original theme look,
   but it vanishes on bright sky — overlay + stronger shadow keep it readable.
   ------------------------------------------------------------------------- */
#background {
  position: relative;
  overflow: hidden;
  background-color: #1b2a16;
}
#background.small,
#background.big {
  width: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
#background.small {
  height: 500px;
}
body.home-page #background {
  min-height: 560px;
}
#background::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.32) 48%,
    rgba(0, 0, 0, 0.18) 100%
  );
  pointer-events: none;
  z-index: 1;
}
#header #navigation a,
#header #navigation span {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.75);
}

/* Revolution Slider: one full-bleed frame, never two photos side by side */
.rev_slider_wrapper,
.fullwidthbanner-container,
.rev_slider {
  overflow: hidden !important;
  width: 100%;
}
.rev_slider:not(.tp-simpleresponsive) {
  display: block !important;
  height: 560px !important;
  max-height: none !important;
}
.rev_slider:not(.tp-simpleresponsive) > ul {
  visibility: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  height: 100%;
}
.rev_slider:not(.tp-simpleresponsive) > ul > li {
  display: none !important;
}
.rev_slider:not(.tp-simpleresponsive) > ul > li:first-child {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  visibility: visible !important;
  left: 0 !important;
  top: 0 !important;
}
.rev_slider:not(.tp-simpleresponsive) > ul > li:first-child img {
  display: block !important;
  width: 100% !important;
  height: 560px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
}
.rev_slider img,
.rev_slider_wrapper img,
.tp-simpleresponsive img {
  max-width: none !important;
}

/* Navigation sprites are missing from the archive — draw simple controls. */
.tp-leftarrow.default,
.tp-rightarrow.default {
  background-image: none !important;
  background-color: rgba(0, 0, 0, 0.45) !important;
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
}
.tp-leftarrow.default:before,
.tp-rightarrow.default:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.tp-leftarrow.default:before {
  transform: translate(-35%, -50%) rotate(-135deg);
}
.tp-rightarrow.default:before {
  transform: translate(-65%, -50%) rotate(45deg);
}
.tp-bullets.simplebullets.round .bullet {
  background: rgba(255, 255, 255, 0.55) !important;
  background-image: none !important;
  border-radius: 50%;
  width: 12px !important;
  height: 12px !important;
  margin: 0 4px !important;
}
.tp-bullets.simplebullets.round .bullet.selected,
.tp-bullets.simplebullets.round .bullet:hover {
  background: #fff !important;
}

/* -------------------------------------------------------------------------
   My Calendar (Calendari)
   Event detail popups must stay hidden until a title is clicked. Without
   plugin JS they overlay the grid and blow the layout apart.
   ------------------------------------------------------------------------- */
.mc-main.calendar {
  font-size: 13px;
  overflow: hidden;
}
.mc-main.calendar .calendar-event .details,
.mc-main.calendar .calendar-events {
  display: none;
}
.mc-main.calendar table.my-calendar-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.mc-main.calendar td {
  position: relative;
  overflow: hidden;
  vertical-align: top;
  width: 14.28%;
  height: 72px;
  padding: 2px !important;
  border: 1px solid #e2e2e2;
  background: #fff;
}
.mc-main.calendar th {
  text-align: center;
  font-size: 11px;
  padding: 4px 0 !important;
  border: 1px solid #e2e2e2;
  background: #f6f6f6;
}
.mc-main.calendar td h3,
.mc-main.calendar td h3 a {
  display: block;
  font-size: 10px !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin: 1px 0 !important;
  padding: 2px 3px !important;
  letter-spacing: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-main.calendar .my-calendar-header {
  overflow: hidden;
  margin-bottom: 6px;
}
.mc-main.calendar .my-calendar-header select {
  max-width: 100%;
  font-size: 12px;
  height: auto;
}
.mc-main.calendar .category-key ul {
  column-count: 1;
  -moz-column-count: 1;
  -webkit-column-count: 1;
}
.mc-main.calendar .category-key li {
  font-size: 12px;
  margin: 2px 0;
}
.mc-main.calendar .category-key img {
  width: 14px;
  height: 14px;
  vertical-align: middle;
}
.mc-main .screen-reader-text {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
