/*
Title: Additional styles for www.rotherham.gov.uk
Description: Styles override default theme styles to fix issues
Version: 1.0
Created by: John Kelly
Date created: 03/02/2023
Last updated: 05/09/2024
*/

*:focus {
    outline: 2px transparent solid !important;
    box-shadow: 0 0 0 2px #F9F9D1, 0 0 0 4px #396196, 0 0 4px 8px #F9F9D1 !important;
  }
  
  .site-announcement {
    background-color: #ffeb3b !important;
    color: #000000 !important;
  }
  
  .alert--warning, .alert--site-announcement {
    background-color: #ffeb3b !important;
    border-color: #ffeb3b !important;
    color: #000000 !important;
  }
  
  .alert .button:visited, .alert .button:hover, .alert .button:focus, .alert .button:active {
    color: #000000 !important;
  }
  
  .visually-hidden {
    color: #ffffff !important;
  }
  
  .widget-row--background-effect {
    background-size: 80% !important;
  }
  
  .page-heading {
    text-wrap: balance;
  }
  
  .supplement a:not(.button) {
    word-break: normal !important;
  }
  
  .site-search--header.site-search--homepage {
    padding: 2rem !important;
  }
  
  #social-links-heading {
    margin-top: 44px !important;
  }
  
  .nav.nav--social-links li {
    color: #ffffff !important;
    background-color: #002554 !important;
    padding: 10px !important;
    margin: 0px 44px 0px 0px !important;
    display: inline-block !important;
  }
  
  .nav.nav--social-links ul {
    padding-left: 0 !important;
  }
  
  .nav--social-links .icon {
    height: 2rem !important;
    position: relative !important;
    width: 2rem !important;
    z-index: 2 !important;
  }
  
  a.alert__link-text {
    line-height: 2.75rem !important;
  }
  
  a.button.alert__link {
    line-height: 2.75rem !important;
  }
  
  .list--breadcrumb a {
    line-height: 2.75rem !important;
  }
  
  .landing-page-links a.list__link {
    line-height: 2.75rem !important;
    text-shadow: none !important;
    background-image: none !important;
  }
  
  .list--rich.list__link {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  .nav--pages-in.list__link {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  span.list__link {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  a.list__link {
    display: inline-block !important;
    text-shadow: none !important;
    background-image: none !important;
    padding: 0.75rem;
  }
  
  span.list__link-text {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  span.pagination__label {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  span.pagination__meta {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  span.pagination__meta {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  .pagination__link.is-disabled {
    opacity: .8 !important;
  }
  
  li.list__item.is-active {
    text-shadow: none !important;
    background-image: none !important;
  }
  
  .footer-social__logo {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
  }
  
  .footer-social__logo img {
    width: 100% !important;
  }
  
  /* Bailey */
  
  .button-1-2-716 {
    width: 44px;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    align-self: center;
    background-color: transparent;
    bottom: 20px;
  }
  
  .image-1-2-714 {
    display: block !important;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .button-1-2-716 {
      width: 48px;
    }
  }
  
  @media (min-width: 1024px) {
    .button-1-2-716 {
      width: 56px;
    }
  }