/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Dublin City Council - Citizen Hub (self.css) */

/* This stylesheet extends global.css with page-specific styles */
@import url("global.css");

/**************** CUSTOM STYLES ****************/

/* ==========================================================================
   Global Body Styles
   ========================================================================== */

body {
    background: #001a20;
}

/* ==========================================================================
   Site Header
   - Main header container with white background
   - Responsive layout: mobile-first with desktop breakpoint at 768px
   ========================================================================== */

.site-header {
    background: #ffffff;
    /*border-bottom: 1px solid #f2f2f2;*/
    padding-left: 20px;
    padding-right: 20px;
}

.site-header__inner {
    background: #ffffff;
    padding: 15px 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
}

@media (min-width: 768px) {
    .site-header__inner {
        height: 107px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .site-header__inner {
        height: 117px;
    }

    .site-header .container {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1170px) {
    .site-header .container {
        max-width: 90rem;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.site-header__inner:before,
.site-header__inner:after {
    display: none;
}

.site-header__branding,
.site-header__branding img,
.site-header__branding svg {
    height: 44px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .site-header__branding,
    .site-header__branding img,
    .site-header__branding svg {
        height: 44px;
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .site-header__branding,
    .site-header__branding img,
    .site-header__branding svg {
        height: 55px;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   Site Navigation
   - Main navigation menu in header
   - Horizontal layout with flex display
   ========================================================================== */

.register-link-ignoreme {
    margin: 0;
    padding: 0;
}

.site-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav > li {
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .site-nav > li {
        font-size: 16px;
    }
}

.site-nav > li > a {
    text-decoration: none;
    margin: 0 5px 0 5px !important;
    padding: 0 !important;
    color: #000000 !important;
    font-weight: normal;
}

@media (min-width: 768px) {
    .site-nav > li > a {
        margin: 0 0 0 32px !important;
    }
}

.site-nav > li > a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Site Footer
   - Dark theme footer with two-tier design
   - Main footer content and copyright section
   ========================================================================== */

.site-footer {
    background: #00313e;
    font-size: 14px;
    color: #ffffff;
}

.site-footer__inner {
    background: #002a35;
    padding: 32px !important;
}

.site-footer__inner:before,
.site-footer__inner:after {
    display: none;
}

.footer-nav {
    display: block;
    margin: 0 0 -6px 0;
    padding: 0;
    list-style: none;
}

.footer-nav li a {
    text-decoration: underline;
    margin-bottom: 6px;
    display: inline-block;
    color: #ffffff;
}

.footer-nav li a:hover {
    text-decoration: none;
}

/* ==========================================================================
   Copyright Section
   - Bottom tier of footer with darker background
   ========================================================================== */

.site-copyright {
    color: #ffffff;
    font-size: 14px;
}

.site-copyright__inner {
    background: #00222b;
    padding: 15px 32px !important;
}

.site-copyright__inner:before,
.site-copyright__inner:after {
    display: none;
}

/**************** BOOTSTRAP & FRAMEWORK OVERRIDES ****************/

/* ==========================================================================
   Layout Overrides
   - Custom modifications to default Bootstrap layout
   ========================================================================== */

#main-content {
    background: #ffffff;
    margin-bottom: 0 !important;
    padding: 32px;
}

#self-content {
    background: #ffffff;
    padding-bottom: 15px;
    padding-left: 0;
    padding-right: 0;
}

#self-content:has(div) {
    min-height: 500px;
}

.container {
    max-width: 64rem;
    width: 100% !important;
    padding-left: 0;
    padding-right: 0;
}

/* ==========================================================================
   Loading Spinner
   - Custom spinner styles for async content loading
   ========================================================================== */

.self-spinner-outer {
    background: #ffffff;
    width: 100%;
    padding: 100px 32px;
    margin: 0 auto !important;
}

/* ==========================================================================
   Navigation Components
   - Bootstrap navbar customizations
   - Dropdown and button group modifications
   ========================================================================== */

#navigation {
    background: #f6f6f6;
    max-width: none !important;
    padding: 0 32px;
}

#navigation .row {
    max-width: 64rem;
    margin: 0 auto;
}

#navigation:before,
#navigation:after {
    display: none;
}

.navbar {
    margin: 30px 0 30px 0;
    border: none;
    border-radius: 0;
    min-height: auto;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .navbar {
        margin: 24px 0 24px 0;
    }
}

.navbar .btn-group {
    margin-bottom: -15px;
}

.navbar .btn-group .btn {
    border-radius: 0;
    margin-right: 20px;
    margin-bottom: 20px;
}

.navbar .btn-group .btn .caret {
    display: none !important;
}

.navbar .btn-group.visible-xs.col-xs-12.clearfix {
    padding: 0;
}

.dropdown-toggle {
    float: none !important;
}

/* Azure B2C styles moved to global.css to avoid duplication */


