/* High Contrast Styles for Accessibility */
body.high-contrast, 
body.high-contrast .rp-type-highlight_box .field__item, 
body.high-contrast .region--hero,
body.high-contrast .site-footer,
body.high-contrast .menu--footer .menu--level-1 > li > .menu__link--level-1, 
body.high-contrast #block-languageswitcher a,
body.high-contrast #block-rp22-account-menu a,
body.high-contrast #block-speaker,
body.high-contrast #horical-wrapper #room-labels,
body.high-contrast #horical-wrapper #time-labels,
body.high-contrast #horical-wrapper #horizontal-schedule,
body.high-contrast #horical-wrapper .slot.full-hour,
body.high-contrast #horical-wrapper .slot.full-hour > span:first-child,
body.high-contrast #horical-wrapper .horizontal-session,
body.high-contrast #horical-wrapper .horizontal-session .track,
body.high-contrast.path-speakers .view-speakers .views-view-grid,
body.high-contrast .ticket-view,
body.high-contrast .view-faq .views-accordion-header a,
body.high-contrast .node--type-news.node--view-mode-full .page-news-teaser-wrapper .page-news-teaser,
body.high-contrast .node--type-news.node--view-mode-full .page-news-teaser-wrapper .created,
body.high-contrast .text-content,
body.high-contrast #accessibility-modal summary,
body.high-contrast .rp-overlay, 
body.high-contrast .toolbar .toolbar-menu, 
body.high-contrast .toolbar-tray-horizontal .menu-item--expanded,
body.high-contrast .toolbar-tray-horizontal .menu-item:hover,
body.high-contrast .toolbar .toolbar-tray,
body.high-contrast .rp-type-node_teaser .field--name-field-pages .more-link a {
  background: #000 !important;
  color: #fff !important;
}

body.high-contrast #block-rp22-primary-local-tasks .tabs__link {
  background:#000 !important;
}
body.high-contrast a,
body.high-contrast a:visited {
  color: rgb(255, 255, 255) !important;
  text-decoration: underline !important;
}

body.high-contrast .node__title a:hover, 
body.high-contrast .node__title a:focus {
  color: #fff !important;
}

body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4,
body.high-contrast h5,
body.high-contrast h6,
body.high-contrast p,
body.high-contrast #rp-vertical .time span {
  color: #fff !important;
}
body.high-contrast img, body.high-contrast video {
  -webkit-filter: grayscale(100%); 
  filter: grayscale(100%);
}

body.show-alt-text .alt-text-container {
  display: block !important;
}
body.high-contrast .alt-text-container {
  background-color: #222 !important;
  border-color: #444 !important;
}
body.high-contrast .image-alt-text {
  color: #fff !important;
}

body.high-contrast #block-shortlogofooterblock {
  display:none;
}

body.high-contrast #accessibility-button,
body.high-contrast .rp-overlay {
  border:3px solid white !important;
}

body.high-contrast #accessibility-modal {
  background: #000;
  border:3px solid #fff !important;
}

body.high-contrast #accessibility-modal button {
  border: 3px solid #fff !important;
}


body.high-contrast .programme-nav-tab:active, 
body.high-contrast .programme-nav-tab:hover, 
body.high-contrast .programme-nav-tab.active {
  border: 3px solid yellow;
}

body.high-contrast #nav-tab-horizontal::before {
  background-image: url('/themes/custom/rp/images/schedule_icons/icon_to_horizontal_white.png');
}

body.high-contrast #nav-tab-speaker::before {
  background-image: url('/themes/custom/rp/images/schedule_icons/user-regular-white.svg');
}

body.high-contrast #filter-text::before {
  background-image: url('/themes/custom/rp/images/schedule_icons/filter-white.png');
}

body.high-contrast #search-button::before {
    background-image: url(/themes/custom/rp/images/schedule_icons/search-white.svg);
}

body.high-contrast .button a, 
body.high-contrast .rp-button-style, 
body.high-contrast .programme-nav-tab  {
  background: #000 !important;
  color:#fff !Important;
  border-color:#fff;
  text-decoration:none!important;
}


body.high-contrast #rp-vertical .session {
  background: #000000;
}

body.high-contrast  #horical-wrapper .slot.full-hour,
body.high-contrast .view-faq .views-row .views-row {
  border-color: #fff;
}

body.high-contrast .view-faq .views-accordion-header a:before {
  text-decoration:none!important;
}

body.high-contrast .livebutton-child {
  background: #000;
  color:#fff;
  border: 3px solid #ffffff;
}
body.high-contrast .livebutton-child h2{
  text-decoration:underline !important
}

body.high-contrast .livebutton-1:hover svg.live-icon,
body.high-contrast .livebutton-2:hover svg.live-icon,
body.high-contrast .livebutton-3:hover svg.live-icon,
body.high-contrast .livebutton-4:hover svg.live-icon,
body.high-contrast .livebutton-1 svg.live-icon,
body.high-contrast .livebutton-2 svg.live-icon,
body.high-contrast .livebutton-3 svg.live-icon,
body.high-contrast .livebutton-4 svg.live-icon {
    fill: #ffffff;
}

body.high-contrast .livebutton-1 a:not(.button):hover,
body.high-contrast .livebutton-2:hover a:not(.button):hover,
body.high-contrast .livebutton-3 a:not(.button):hover,
body.high-contrast .livebutton-4 a:not(.button):hover {
  text-decoration-color: #ffffff !important;
}

body.high-contrast .view-booth-programme-compact .views-view-grid__item:nth-child(1n) {
		background-color:#000000;
}

body.high-contrast .mm-ocd__content .view-filters .option {
  color: #000000;
}
