﻿/* -------------------------- Oxygen Font Import -------------------------- */
@import url( https://fonts.googleapis.com/css?family=Oxygen);

/* -------------------------- General -------------------------- */

img {
    height: auto; /* Sets height of all images to auto to make them responsive. Bootstrap class .img-fluid also needs to be applied to the image */
    max-width: 100%; /* Prevents oversized images causing 2D scrolling */
}

body {
    /*font-size: 1.6vh;*/
}

/* -------------------------- Header -------------------------- */

#devBar {
    height: 1px;
}

#text > a {
    color: white !important;
}

#text > a {
    color: white !important;
    font-weight: bold;
}

#text .link-separator {
    margin: 0 6px; /* 6px left and right = 12px total */
}

/* -------------------------- Supertram logo on TSY pages -------------------------- */
#logoBar > div > div > div.col-6.col-md-4.col-lg-3.ml-auto {
    display: flex;
    /*justify-content: center;*/ /* Horizontally center */
    align-items: center; /* Vertically center */
}
/* -------------------------- Header Logo Section -------------------------- */
.headerLogo:focus {
    outline: 2px transparent solid;
    box-shadow: inset 0 0 0 2px #0a1c5c, 0 0 0 2px #CACACA, 0 0 2px 4px #0a1c5c;
    display: block;
}

.headerLogoOffset:focus {
    outline: 2px transparent solid;
    box-shadow: inset 0 0 0 2px #0a1c5c, 0 0 0 2px #CACACA, 0 0 2px 4px #0a1c5c;
    display: block;
}

/* If the screen size is 768px wide or less */
@media screen and (max-width: 768px) {
    #logoBar {
        padding:8% 10% 8% 10%;
        font-size:15px;
    }
}

/* ----------------------- Site Search ------------------------*/
/*For accessibility, keep these interactive elements bigger than 24px*/
.input-group,
.input-group-sm>.form-control {
    min-width: 25px;
    min-height: 25px;
}

/* -------------------------- Navbar -------------------------- */

* {
    outline: none;
}

/*body {
    font-family: Cabin, sans-serif;
}*/

main {
    height: 100%;
}

    main p, main li {
        /*font-size: 16px;*/
        font-weight: 400;
        letter-spacing: -.02em;
    }

    /*main a {
        color: black;
        text-decoration: none;*/
        /*font-weight: bold;*/
    /*}*/

        main a:hover, main a:focus {
            /*color: white;*/
            /*opacity: 0.7;*/
            /*text-decoration: none;*/
            cursor: pointer;
        }

/*    main h1 {
        font-family: 'Sheffield Headline';
        font-size: 40px;
        font-weight: 400;
        padding: 17px 0;
        line-height: 1;
    }*/

    main h2 {
        /*font-family: 'Sheffield Headline';*/
        font-size: 32px;
        font-weight: 400;
        padding: 15px 0;
        line-height: 1;
    }

    main h3 {
        font-size: 24px;
        font-weight: 400;
        padding: 15px 0;
    }

.error-message {
    color: red;
    padding: 1em 0;
}

.wait {
    cursor: wait;
}

.form-group.required label::after {
    content: " *";
    color: red;
}

.validation-msg {
    color: red;
}

.form-control {
    border: 1px solid #00245d;
}

.form-control.input-validation-error {
    border-color: red;
}

.navbar-search-button {
    all: unset;
    cursor: pointer;
}

.navbar-search {
    margin-left: 14px;
    margin-top: 20px;
    font-size: 28px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.search-form {
    width: 100%;
    text-align: right;
}

    .search-form input[type=text] {
        border: none;
        border-bottom: solid black;
        outline: none;
        font-family: 'Sheffield Headline';
        font-size: 1.9em;
        width: 420px;
    }

    .search-form button {
        background: none;
        border: none;
    }

    .search-form .fa-search {
        font-size: 28px;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }

.navbar-search-button:focus {
    outline: orange 5px auto;
}

.navbar-search-close {
    font-size: 2em;
}

/* -------------------------- Tram Page Heading -------------------------- */

#counciladvertising-leaderboard.tram-page-advert-banner {
    background-color: #3251A4
}



#logoBar.tram-page-banner {
    background-color: #3251A4 !important;
}

/* -------------------------- Homepage Heading Style -------------------------- */

.heading-homepage {
    font-size: 14px !important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.homepage-heading {
    visibility: hidden;
    margin: -20px !important;
}

/* -------------------------- Urgent Banner's border Style -------------------------- */
.tram-urgent-banner {
    border-color: #3251A4 !important;
    border-width: 20px !important;
}

/* -------------------------- Related sites Navbar (mobile) -------------------------- */
#relatedSitesNavbar .container ul {
    content: "";
    clear: both;
    display: table;
}

#logo1, #logo2, #logo3, #logo4 {
    float: left;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    margin: 0px 1px 0px 1px;
    padding: 5px 5px 5px 5px;
    height: 100%;
    max-height: 77px;
    overflow: hidden;
}

#logo1 {
    background-color: #E6007E;
    padding-bottom: 50px;
}

#logo4 {
    padding-bottom: 50px;
}

#logo1 img{
    margin-top: 8px;
}

#logo1:hover, #logo2:hover, #logo3:hover, #logo4:hover {
    background-color: #E6007E;
}

#relatedSitesNavbar {
    background-color: #0a1c5c !important;
    padding: 0px;
}

#relatedSitesNavbar .related-site-logo {
    max-width: 75px;
    width: 100%;
    object-fit: contain;
}

#navroot {
    padding-top: 0px;
}

#logo1 a img {
    margin-top: 8px;
}

#relatedSitesNavbar div ul li {
    align-items: center;
    vertical-align: middle;
}

#relatedSitesNavbar div ul li:hover {
}

/* -------------------------- Navbar -------------------------- */
.navbar-nav li a:hover {
    background-color: #0a1c5c;
    color: white;
}

/* -------------------------- Footer -------------------------- */
ul {
    list-style-type: disc;
}

.footer div ul li {
    list-style-type: none;
}






.footer-links-container {
    padding-top: 40px;
    justify-content: space-between;
}

    .footer-links-container div ul {
        padding-left: 0px;
    }

        .footer-links-container div ul li {
            font-size: 13px;
            margin-top: 10px;
        }


            .footer-links-container div ul li a {
                font-family: oxygen;
                font-weight: 700;
                font-size: 13px;
                margin-top: 10px;
                color: black !important;
            }

                .footer-links-container div ul li a:focus {
                    text-decoration: underline;
                }

.footer-link-header {
    font-family: oxygen;
    font-weight: 400 !important;
    font-size: 19px !important;
    color: black !important;
    width: fit-content;
    border-bottom: 1px black solid;
    padding: 5px 0px;
}

.travel-links-container {
    width: 100px;
}

.support-links-container {
    padding-left: 5px;
}

.footer-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 50px;
    margin-bottom: 30px;
}

.footer-contact-form-text-container {
    width: 80%;
}

.footer-contact-large-text {
    color: black;
    font-family: oxygen;
    font-weight: 700;
    font-size: 14px;
}

.footer-contact-small-text {
    color: black;
    font-family: oxygen;
    font-weight: 400;
    font-size: 13px;
}

.footer-email-form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.footer-contact-input-container {
    background-color: white;
    display: flex;
    padding: 5px;
    border-radius: 10px;
}

.footer-contact-input {
    border: none;
    width: 100%;
    padding: 13px 0px 13px 15px;
}

.footer-contact-button {
    background-color: #0A1C5C;
    color: white;
    padding: 13px;
    border-radius: 10px;
    min-width: 100px;
    text-align: center;
    align-self: center;
}

.footer-social-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    color: black;
    font-size: 15px;
    padding-top: 30px;
}

.copyright-link {
    color: black !important;
}

    .copyright-link:focus {
        text-decoration: underline;
    }

/* -------------------------- Social Links -------------------------- */
.Icon {
    max-width: 30px;
    height: auto;
}

.social-icons:hover {
    filter: brightness(0.1);
}

.social-icons:focus {
    filter: brightness(0.1);
}

/* -------------------------- Bottom Footer -------------------------- */

.bottomFooter a {
    border-width: 1.5px !important;
}

    .bottomFooter a:last-child {
        border-right: none !important;
    }

/* -------------------------- Mobile Ad Bar -------------------------- */
#adBarMob {
    position: fixed;
    bottom: 0;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.leader {
    position: relative;
}

#adEx {
    position: absolute;
    right: 31px;
    top: 15px;
}

/* -------------------------- Responsive Text Size -------------------------- */

@media screen and (min-width: 320px) {
    body, .navbar-brand, .navbar-nav li a, html, footer li a {
        font-size: calc(12px + 2 * ((100vw - 320px) / 680)) !important;
    }
}

@media screen and (min-width: 1000px) {
    body, .navbar-brand, .navbar-nav li a, html, footer li a {
        font-size: 14px !important;
    }
}

.navbar-brand.navbar-home {
    padding-top: 0.48em;
}

@media screen and (max-width: 767px) {
    .navbar-brand.navbar-home {
        padding-top: 0.18em;
    }

    .kommunicate-custom-iframe {
        bottom: 60px !important;
    }
}

.footerMob {
    margin-bottom: 64px;
}

.footerBtnMob {
    border: 1px solid #0a1c5c;
    border-left: none;
    border-right: none;
    font-size: 14px;
}

.kn-system-messages p {
    padding: 0.5rem;
}

.autocomplete-suggestions {
    overflow: auto;
    border: 1px solid #CBD3DD;
    background: #FFF;
}

.mapsBtn {
    background-color: #5b439b;
}

.content {
    word-break: normal !important;
    overflow-wrap: break-word !important;
}

.content a {
    font-size: 14px !important;
}

/*Styling for the cookie banner*/
.consent {
    display: none;
    font-size: 11pt;
    font-family: Verdana Helvetica, sans-serif;
    position: static;
    padding: 1.5% 7.5% 1% 7.5%;
    background-color: #b6bccc;
    color: #0a1c5c;
}

.consent-content {
    margin: auto;
    text-align: justify;
}

/* Style the close button (span) */
.cls {
    right: 0%;
    font-weight: 900;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    padding: 0% 10% 0% 0%;
    transform: translate(0%, -50%);
}

/* Widget Styling */
.widget-h3 {
    font-size: 14px;
}

@media(max-width: 365px) {
    #logo1, #logo2, #logo3, #logo4 {
        width: 45%;
    }
}

@media (max-width: 991px) {
    header .container {
        max-width: 100%;
    }

    #navbar.search-open .logo {
        display: none;
    }

    #navbar.search-open .search-form-element {
        top: 0px;
        left: 300px;
        height: 40px;
        width: 250px;
    }

    .navbar-search-logo {
        display: none !important;
    }
}

@media (min-width: 992px) {
    /*main {*/
        /*Sticky Header. Uncomment to turn back on*/
        /*        margin-top: 200px;
*/
    /*}

    header {*/
        /*    height: 200px;*/
        /*padding: 40px 0;
    }

    .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .navbar-search-button {
        display: none !important;
    }

    .logo {
        max-width: 300px;
        flex-basis: 300px;
    }

        .logo a {
            height: 120px;
        }

    .collapse {
        background-color: white !important;
    }

    .nav-item {
        margin-bottom: 0;
    }

    .dropdown-toggle::after {
        display: none;
    }

    .dropdown-menu {
        background-color: white;
        color: black !important;
        border: 1px solid black;
        width: 580px;
        position: absolute;
        padding: 5px 15px 15px;
        left: auto;
        right: 0;
        padding: 24px;
    }

        .dropdown-menu.dropdown-center {
            left: 50%;
            margin-left: -290px;
        }

    .dropdown-item {
        color: black !important;
        padding: 8px 0;
        font-size: 1.5em !important;
        line-height: normal;
        margin-bottom: 0;
    }

    .nav-item .nav-link {
        background-color: white;
        color: black !important;
        white-space: normal;
        line-height: 1;
    }

    .nav-item.show .nav-link {
        background-color: black;
        color: white !important;
    }

    .dropdown-text {
        font-size: 1.05em;
        margin: 0;
    }

    .dropdown-button {
        font-size: 1.3em;
        padding: 15px;
        margin-bottom: 0;
        background-color: gray;
        color: white;
    }

    .navbar-search-item {
        display: block;
    }

    .secondary-menu-container {
        position: absolute;
        top: -15px;
        right: 57px;
        background-color: white;
    }

        .secondary-menu-container ul {
            justify-content: flex-end;
        }

            .secondary-menu-container ul li a {
                color: #4F4F4F;
                text-decoration: none;
            }*/
}

.dropdown-item:hover, .dropdown-item:focus, .nav-link:focus, .nav-link:hover, .navbar-home:focus, .navbar-home:hover{
    color: white !important;
    text-decoration: none;
    background-color: #0a1c5c !important;
}

/*a:hover, a:focus{*/
    /*color: white*/ /*!important*//*;*/
    /*text-decoration: underline;*/
/*    background-color: #0a1c5c !important;*/
/*}*/

@media (min-width: 1200px) {
    .nav-item .nav-link {
        font-size: 1.9em;
    }

    .navbar-search {
        margin-left: 16px;
        margin-top: 24px;
        font-size: 30px;
    }

    .secondary-menu-container {
        right: 65px;
    }

    .navbar-search {
        margin-left: 16px;
        margin-top: 24px;
        font-size: 30px;
    }
}

@media (min-width: 1400px) /*   DESKTOP    */ {
    .nav-item .nav-link {
        white-space: nowrap;
    }

    .navbar-search-button {
        display: none !important;
    }

    .navbar-search {
        margin-top: 17px;
    }

    .dropdown-menu.dropdown-center {
        left: auto;
        margin-left: 0;
    }

    .navbar-search {
        margin-top: 17px;
    }

    /* -------------------------- Related sites Navbar -------------------------- */

#logo1, #logo2, #logo3, #logo4 {
    max-height: 80px;
}

#logo1 {
    padding-bottom: 50px;
}

#relatedSitesNavbar div {
    align-items: center;
    vertical-align: middle;
}

#relatedSitesNavbar div ul {
    align-items: center;
    vertical-align: middle;
    margin: 0px;
}

#relatedSitesNavbar div ul li {
    align-items: center;
    vertical-align: middle;
    padding-top: 10px;
}
}

/* -------------------------- Skip to main content invisible unless focused -------------------------- */

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: absolute !important;
    top: 2em;
    left: 2em;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
    background: #dfe3ec;
    color: #0a1c5c;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 1.2em;
    font-weight: 600;
}