/* Minification failed. Returning unminified contents.
(277,23): run-time error CSS1030: Expected identifier, found '['
(277,28): run-time error CSS1031: Expected selector, found '*='
(277,28): run-time error CSS1025: Expected comma or open brace, found '*='
(286,23): run-time error CSS1030: Expected identifier, found '['
(286,28): run-time error CSS1031: Expected selector, found '*='
(286,28): run-time error CSS1025: Expected comma or open brace, found '*='
(298,21): run-time error CSS1030: Expected identifier, found '['
(298,26): run-time error CSS1031: Expected selector, found '*='
(298,26): run-time error CSS1025: Expected comma or open brace, found '*='
 */
/* ==========================================================================
   City of Edinburgh Council - Client Branding Overrides
   ==========================================================================
   Edinburgh purple: #6e3466
   All footer links: WHITE
   ========================================================================== */

/* Override Site.css backgrounds */
.govuk-template {
    background-color: #ffffff !important;
}

/* Center main content */
.govuk-width-container {
    max-width: 960px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.govuk-main-wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Make page fill viewport and footer stick to bottom */
html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.govuk-main-wrapper,
.govuk-width-container {
    flex: 1;
}

.govuk-footer {
    margin-top: auto;
}

/* Header - Edinburgh Purple */
.govuk-header {
    background: #6e3466 !important;
    border-bottom: none !important;
    padding-top: 8px;
    padding-bottom: 8px;
}

.govuk-header__container,
.app-header {
    border-bottom: none !important;
}

.govuk-header__link,
.govuk-header__service-name {
    color: #ffffff !important;
}

.govuk-header__link:hover,
.govuk-header__service-name:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Logo Styling */
.logo {
    background: url("images/edn-logo.png") no-repeat center left !important;
    background-size: contain !important;
    width: 220px !important;
    height: 55px !important;
    border: 0 !important;
    display: inline-block;
    margin: 0;
}

@media (min-width: 40.0625em) {
    .logo {
        width: 280px !important;
        height: 70px !important;
    }
}

.logo img {
    display: none !important;
}

/* Header Container Alignment */
.govuk-header__container {
    padding-left: 0 !important;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    max-width: 960px;
    margin: 0 auto;
}

.govuk-header__logo {
    margin: 0 !important;
    padding: 0 !important;
    width: auto;
    float: left;
}

.taranto-header {
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 15px;
    display: flex;
    align-items: center;
}

.govuk-header__content {
    flex: 1;
}

.taranto-header-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Footer - Edinburgh Purple with WHITE links */
.govuk-footer {
    background: #6e3466 !important;
    border-top: none !important;
    padding: 20px 0;
}

/* All footer links WHITE */
.govuk-footer__link,
.govuk-footer__link:link,
.govuk-footer__link:visited,
.govuk-footer .govuk-link,
.govuk-footer .govuk-link:link,
.govuk-footer .govuk-link:visited,
.govuk-footer a,
.govuk-footer a:link,
.govuk-footer a:visited {
    color: #ffffff !important;
}

.govuk-footer__link:hover,
.govuk-footer .govuk-link:hover,
.govuk-footer a:hover {
    color: #ffdd00 !important;
}

.govuk-footer__link:focus,
.govuk-footer .govuk-link:focus,
.govuk-footer a:focus {
    color: #0b0c0c !important;
    background-color: #ffdd00;
    outline: 3px solid #ffdd00;
}

.govuk-footer__meta-item p {
    color: #ffffff !important;
}

/* Buttons - Edinburgh Green */
.govuk-button {
    background-color: #007A3D;
    box-shadow: 0 2px 0 #005F30;
    color: #ffffff;
}

.govuk-button:hover {
    background-color: #005F30;
}

.govuk-button:focus {
    background-color: #005F30;
}

/* Links - Edinburgh Purple */
.govuk-link {
    color: #6e3466;
}

.govuk-link:visited {
    color: #6e3466;
}

.govuk-link:hover {
    color: #5A2A52;
}

.govuk-link:focus {
    color: #0b0c0c;
    background-color: #ffdd00;
    outline: 3px solid #ffdd00;
}

/* Breadcrumbs */
.govuk-breadcrumbs__link {
    color: #6e3466;
}

.govuk-breadcrumbs__link:hover {
    color: #5A2A52;
}

/* Tags */
.govuk-tag {
    background-color: #6e3466;
}

/* Back Link */
.govuk-back-link {
    color: #6e3466;
}

.govuk-back-link:hover {
    color: #5A2A52;
}

/* Tabs */
.govuk-tabs__list-item--selected {
    border-color: #6e3466;
}

.govuk-tabs__tab {
    color: #6e3466;
}

/* Accordion */
.govuk-accordion__section-button {
    color: #6e3466;
}

/* Form Focus States */
.govuk-input:focus,
.govuk-textarea:focus,
.govuk-select:focus {
    outline: 3px solid #007A3D;
}

.govuk-radios__input:focus + .govuk-radios__label::before,
.govuk-checkboxes__input:focus + .govuk-checkboxes__label::before {
    box-shadow: 0 0 0 3px #007A3D;
}

/* Pagination */
.govuk-pagination__link {
    color: #6e3466;
}

.govuk-pagination__item--current {
    background-color: #6e3466;
}

/* Phase Banner */
.govuk-phase-banner__content__tag {
    background-color: #6e3466;
}

/* Panel Confirmation */
.govuk-panel--confirmation {
    background: #007A3D;
}

/* ==========================================================================
   Hide Specific Navigation Menu Items
   ========================================================================== */

/* Hide Ticket history menu item */
a[href*="TicketHistory"],
a[href*="/Ticket/History"],
.navigation-item:has(a[href*="TicketHistory"]),
li:has(a[href*="TicketHistory"]) {
    display: none !important;
}

/* Hide Frequently asked menu item */
a[href*="FrequentlyAsked"],
a[href*="/FAQ"],
a[href*="Frequently"],
.navigation-item:has(a[href*="FrequentlyAsked"]),
li:has(a[href*="Frequently"]) {
    display: none !important;
}

/* Alternative selectors for menu items containing specific text */
.app-subnav a:has-text("Ticket history"),
.app-subnav a:has-text("Frequently asked") {
    display: none !important;
}

/* Parent list items if they contain these links */
.app-subnav li:has(a[href*="TicketHistory"]),
.app-subnav li:has(a[href*="Frequently"]),
.side-navigation li:has(a[href*="TicketHistory"]),
.side-navigation li:has(a[href*="Frequently"]) {
    display: none !important;
}

/* ==========================================================================
   END OF EDINBURGH COUNCIL BRANDING
   ========================================================================== */

