/*
    Sefton Council - Additional CSS customisations made after base self theme styling.
*/

/* Header */

#toolbar {
    margin-bottom: 30px !important;
}

.site-header {
    background: #007CBB;
    padding: 50px 0;
    position: relative;
    z-index: 100;
}

@media (max-width: 767px) {
    .site-logo-search {
        text-align: center;
        padding: 20px;
    }
}

.site-logo-search .mobile_logo {
    padding-bottom: 10px;
}

.site-logo-search .mobile_logo a {
    font-size: 1.7em;
    font-weight: bold;
    color: #ffffff;
}

.site-logo-search--mysefton {
    padding-bottom: 10px;
}

.site-logo-search--mysefton .mysefton-heading {
    color: #fff;
    font-weight: normal;
    font-size: 28px;
    line-height: 1;
}

@media (min-width: 768px) {
    .site-logo-search--mysefton .mysefton-heading {
        font-size: 50px;
    }
}

@media (min-width: 992px) {
    .site-logo-search--mysefton .mysefton-heading {
        font-size: 70px;
    }
}

@media (min-width: 1200px) {
    .site-logo-search--mysefton .mysefton-heading {
        font-size: 90px;
    }
}

.site-logo-search--mysefton .mysefton-heading a {
    color: #fff;
}

.site-logo-search--mysefton .mysefton-heading a:hover,
.site-logo-search--mysefton .mysefton-heading a:focus {
    text-decoration: none;
}

.site-header .header-search {
    padding-top: 4px;
    float: right;
}

@media (min-width: 980px) {
    .site-header .header-search>div {
        float: right;
    }
}

@media (max-width: 767px) {
    .site-header .header-search .navbar-search {
        float: none;
    }
}

.site-header .header-search input.search-query {
    padding: 11px 14px;
    z-index: 10;
    position: sticky;
    height: 46px;
}

@media (max-width: 767px) {
    .site-header .header-search input.search-query {
        margin-bottom: 20px;
        border-radius: 5px;
        padding: 20px 20px;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        margin-top: 15px;
    }
}

@media (min-width: 768px) {
    .site-header .header-search input.search-query {
        width: auto;
    }
}

.site-header .header-search input.search-query+button {
    border-radius: 20px;
    margin-left: -20px;
    z-index: 100;
    background: #e6ce00;
    text-transform: uppercase;
    margin-top: -2px;
    padding-left: 25px;
}

@media (max-width: 767px) {
    .site-header .header-search input.search-query+button {
        width: 100%;
        display: block;
        margin: 0 auto;
        border-radius: 50px;
    }
}

.site-header .header-search input.search-query:focus {
    outline: auto;
    outline-color: #000000;
}

.site-header .logo>a {
    display: block;
    padding: 5px;
    color: #ffffff;
}

@media (min-width: 768px) {
    .site-header .logo>a {
        display: flex;
        align-items: baseline;
        font-size: 1.7em;
        font-weight: bold;
        white-space: nowrap;
    }

    .site-header .logo>a span {
        opacity: 0.5;
    }

    .site-header .logo>a img.header-icon {
        height: 25px;
        margin-right: 10px;
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    .site-header .logo>a {
        font-size: 1.3em;
    }
}

@media (min-width: 768px) {
    .site-header .logo img {
        height: 35px;
    }
}

.site-header--mysefton .header-search {
    padding-top: 25px;
}

@media (min-width: 980px) {
    .site-header--mysefton .header-search input.search-query {
        min-width: 250px;
    }
}

@media (min-width: 1200px) {
    .site-header--mysefton .header-search input.search-query {
        min-width: 300px;
    }
}

/* Footer */

@media (min-width: 768px) {

    /* GENERAL PURPOSE HORIZONTAL MENU BAR */
    .horizontal-nav li {
        float: left;
        margin: 0;
        border-right: 1px solid #CCCCCC;
        border-left: 1px solid #FFFFFF;
        line-height: 1;
    }

    .horizontal-nav li a,
    .horizontal-nav li .no-link {
        display: block;
        padding: 0 12px;
    }

    .horizontal-nav li.first a,
    .horizontal-nav li:first-child a {
        padding-left: 0;
    }

    .horizontal-nav li.first,
    .horizontal-nav li:first-child {
        border-left: none;
    }

    .horizontal-nav li.last,
    .horizontal-nav li:last-child {
        border-right: none;
    }

    .horizontal-nav li.last a,
    .horizontal-nav li:last-child a {
        padding-right: 0;
    }

    .horizontal-nav li i {
        margin-right: 8px;
        display: inline-block;
        text-decoration: none;
    }

    .horizontal-nav .nav-label {
        float: left;
        color: #fff;
        margin-right: 30px;
        margin-top: -3px;
        font-weight: bold;
    }
}

footer .social-feeds i:not(.fa-stack-2x, .fa-stack-1x) {
    font-size: 3em;
}

footer .social-feeds i.fa-stack-1x {
    color: #333333;
}

footer .social-feeds h2 {
    color: #ffffff;
}

footer .social-feeds .social-feeds-inner #sm-icons .span a:focus i {
    color: #fff !important;
}

.site-footer {
    font-size: 12px;
    position: relative;
    background: #333333;
    overflow: hidden;
    padding-top: 20px;
    color: #ffffff !important;
}

.site-footer li {
    list-style-type: none !important;
}

.site-footer ul {
    padding-left: 0 !important;
}

.site-footer .share-stack {
    padding: 15px 0 12px 0;
    font-size: 103%;
    color: #ffffff;
    background: #333333;
}

.site-footer .share-stack ul li a {
    color: #ffffff;
}

.site-footer .sitemap-stack h4 {
    font-size: 120%;
    margin: 0 0 3px 0;
    -moz-text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
    -webkit-text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
    -o-text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
    -ms-text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
    text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0;
}

.site-footer .sitemap-stack .sitemap-columns {
    padding: 20px 0;
}

.site-footer .sitemap-stack .sitemap-columns h4 {
    color: #0e7cb5;
}

.site-footer .sitemap-columns .vertical-nav {
    margin-bottom: 20px;
}

.site-footer .sitemap-columns .vertical-nav li a {
    color: #333;
}

.site-footer .sitemap-columns .vertical-nav li.more-nav a {
    color: #0e7cb5;
}

.site-footer .sitemap-stack .social-feeds h5 {
    border-top: 1px dashed #4baed8;
    padding-top: 15px;
    margin-top: 15px;
}

.site-footer .sitemap-stack .social-feeds .social-feeds-inner {
    padding: 20px 10px 10px 10px;
}

.site-footer .social-feeds {
    color: #ffffff;
    font-size: 13px !important;
    line-height: 18px;
}

.site-footer .social-feeds a {
    color: #fff;
}

.site-footer .social-feeds .tweet {
    margin: 7px 0 12px 0;
    font-style: italic;
}

.site-footer .social-feeds .tweet a:hover,
.site-footer .social-feeds .tweet a:focus {
    color: #ffffff;
}

.site-footer .social-feeds .tweet .tweet-body {
    padding: 9px 15px 22px 15px;
    background: transparent url(../images/tweet_speech_bubble_white.png) no-repeat bottom right;
    overflow: hidden;
    color: #0e7cb5;
}

.site-footer .social-feeds .horizontal-nav ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 600px) {
    .site-footer .social-feeds .horizontal-nav ul {
        justify-content: center;
    }
}

@media (min-width: 767px) {
    .site-footer .social-feeds .horizontal-nav ul {
        justify-content: flex-end;
    }
}

.site-footer .social-feeds .horizontal-nav ul.social-media-mobile {
    padding-top: 6px;
}

.site-footer .social-feeds .horizontal-nav ul.social-media-mobile li {
    border: 0;
    margin-right: 0;
}

@media (min-width: 600px) {
    .site-footer .social-feeds .horizontal-nav ul.social-media-mobile li {
        margin-right: 15px;
    }
}

@media (min-width: 767px) {
    .site-footer .social-feeds .horizontal-nav ul.social-media-mobile li {
        margin-right: 0;
        margin-left: 15px;
    }
}

.site-footer .social-feeds .horizontal-nav ul.social-media-mobile li a {
    padding: 0;
}

.site-footer .mid-footer {
    font-size: 2em;
}

.site-footer .colour-blocks {
    display: flex;
    justify-content: space-between;
}

.site-footer .colour-blocks>div {
    width: 100%;
    height: 120px;
}

@media (min-width: 680px) {
    .site-footer .colour-blocks>div {
        height: 30px;
    }
}

.site-footer .colour-blocks>div:nth-child(1) {
    background: #007cbb;
}

.site-footer .colour-blocks>div:nth-child(2) {
    background: #c28f30;
}

.site-footer .colour-blocks>div:nth-child(3) {
    background: #f1572d;
}

.site-footer .colour-blocks>div:nth-child(4) {
    background: #87c542;
}

.site-footer .colour-blocks>div:nth-child(5) {
    background: #9b5da6;
}

.site-footer .colour-blocks>div:nth-child(6) {
    background: #0e9193;
}

.site-footer .colour-blocks>div:nth-child(7) {
    background: #2a4c9f;
}

.site-footer .colour-blocks>div:nth-child(8) {
    background: #b51f70;
}

.site-footer .colour-blocks>div:nth-child(9) {
    background: #008c4d;
}

.site-footer .footerlinks {
    margin: 0;
    padding: 0;
}

.site-footer .footerlinks li {
    margin-left: 15px;
    margin-right: 15px;
}

@media (min-width: 768px) {
    .site-footer .footerlinks li {
        margin-left: 0;
        margin-right: 0;
    }
}

.site-footer .footerlinks li>a {
    display: inline-block;
    color: #ffffff;
    margin: 10px 0;
}

.site-footer .footerlinks li>a:hover,
.site-footer .footerlinks li>a:focus,
.site-footer .footerlinks li>a:active {
    color: #ffffff;
}

.site-footer .footerlinks li>a:hover i,
.site-footer .footerlinks li>a:focus i,
.site-footer .footerlinks li>a:active i {
    color: #ffffff !important;
}

.site-footer .footerlinks li.footerlinks-signup>a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}

@media (min-width: 768px) {
    .site-footer .footerlinks li.footerlinks-signup>a {
        justify-content: flex-start;
        font-size: 0.8em;
        white-space: nowrap;
    }
}

@media (min-width: 1200px) {
    .site-footer .footerlinks li.footerlinks-signup>a {
        font-size: 0.9em;
    }
}

.site-footer .footerlinks li.footerlinks-signup img {
    height: 40px;
    margin-right: 10px;
    margin-bottom: 6px;
}

.site-footer .footerlinks li.footerlinks-accessibilitystatement>a {
    display: block;
    text-align: center;
    font-size: 1.2em;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .site-footer .footerlinks li.footerlinks-accessibilitystatement>a {
        display: inline-block;
        text-align: left;
        font-size: 0.7em;
    }
}

.site-footer .footerlinks li.footerlinks-accessibilitystatement img {
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.site-footer .atozblock {
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .site-footer .atozblock {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.site-footer .atozblock-title {
    color: #ffffff;
    font-size: 1.2em;
    text-align: center;
}

@media (min-width: 992px) {
    .site-footer .atozblock-title {
        font-size: 1.5em;
    }
}

@media (min-width: 1200px) {
    .site-footer .atozblock-title {
        width: 15%;
        text-align: left;
    }
}

.site-footer .atozblock-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

@media (min-width: 1200px) {
    .site-footer .atozblock-list {
        width: 85%;
        flex-wrap: nowrap;
    }
}

.site-footer .atozblock-list li {
    width: 7.69%;
}

@media (min-width: 992px) {
    .site-footer .atozblock-list li {
        width: 3.84%;
    }
}

.site-footer .atozblock-list li a {
    display: block;
    color: #ffffff;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: 1.2em;
    text-align: center;
}

@media (min-width: 992px) {
    .site-footer .atozblock-list li a {
        font-size: 1.5em;
    }
}

/* SHARE THIS PAGE STACK */
/* FOOTER SITEMAP AND SOCIAL STACK */
.backgroundsize .site-footer .social-feeds .tweet .tweet-body {
    background-image: url(../images/tweet_speech_bubble_white@2x.png);
    background-size: 741px 288px;
}

.site-footer .social-feeds .tweet .tweet-body a {
    color: #01527a;
}

.site-footer .social-feeds .tweet .tweet-time {
    padding: 0 50px 0 0;
    text-align: right;
    margin-top: -10px;
    font-size: 12px;
}

.social-icons a {
    text-indent: -9999em;
    display: block;
    width: 30px;
    height: 30px;
    float: left;
    margin-right: 10px;
    background-image: url(../images/social_icons.png);
    background-repeat: no-repeat;
    background-size: 30px 60px;
    -webkit-background-size: 30px 60px;
    -moz-background-size: 30px 60px;
    -ms-background-size: 30px 60px;
    -o-background-size: 30px 60px;
}

.social-icons a.facebook-icon {
    background-position: 0 -30px;
}

.backgroundsize .social-icons a {
    background-image: url(../images/social_icons@2x.png);
}

/* PARTNER LOGOS */
.site-footer .partners-stack {
    padding: 15px 0;
}

.site-footer .partners-stack .partner-logos .partner {
    float: left;
    margin-right: 45px;
    margin-left: 45px;
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 80px;
}

.site-footer .partners-stack .partner-logos a {
    display: block;
    position: relative;
    padding: 5px 0;
}

.site-footer .partners-stack .partner-logos a img {
    transition: opacity 200ms;
    -webkit-transition: opacity 200ms;
    -mos-transition: opacity 200ms;
    -o-transition: opacity 200ms;
    -ms-transition: opacity 200ms;
}

.site-footer .partners-stack .partner-logos .mono {
    position: absolute;
    top: 5px;
    left: 0;
}

.site-footer .partners-stack .partner-logos a:hover .mono {
    opacity: 0;
    filter: alpha(opacity=0);
}

.site-footer .sitemap-stack {
    background: #333333;
}

.site-footer .sitemap-stack .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.site-footer .sitemap-stack .span4 .partners-stack .partner-logos .partner a img {
    width: 100%;
}

.site-footer .sitemap-stack .span4 .partners-stack .partner-logos .partner .table .tr .td {
    width: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.site-footer .legal-stack {
    padding: 15px 0;
    font-size: 11px;
}

.site-footer .legal-stack .horizontal-nav {
    padding: 6px 0;
}

.site-footer .legal-stack .horizontal-nav ul {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .site-footer .legal-stack .horizontal-nav ul {
        justify-content: center;
        margin-bottom: 0 !important;
    }
}

.site-footer .legal-stack .horizontal-nav ul li {
    border: 0;
}

.site-footer .legal-stack .horizontal-nav ul li img {
    width: 150px;
}

.site-footer .legal-stack .horizontal-nav ul li a {
    color: #ffffff;
}

/* Base Self Changes */

@media only print, only screen and (max-width: 992px) {
    #toolbar .navbar-nav {
        text-align: center !important;
        width: 100%;
    }

    #toolbar .navbar-nav > li {
        display: inline-block !important;
        float: unset !important;
    }

    #toolbar .navbar-static-top a {
        font-size: 16px !important;
    }
}

@media only print, only screen and (max-width: 768px) {
    #toolbar .navbar-static-top .navbar-nav {
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    #toolbar .navbar-static-top .navbar-nav:first-of-type {
        margin-top: 0 !important;
    }

    .login-form .btn-default {
        margin-bottom: 0 !important;
    }

    #navigation .navbar .btn {
        margin-top: 0 !important;
    }

    #navigation .navbar {
        margin-bottom: 10px !important;
    }

    #toolbar .navbar-static-top {
        padding: 30px 15px !important;
    }

    #toolbar .navbar-static-top a {
        font-size: 16px !important;
    }

    #session-badge {
        margin-top: 15px !important;
    }

    .site-footer .legal-stack .pull-left {
        float: unset !important;
    }

    .site-header .header-search {
        float: unset !important;
    }

    .navbar-static-top .displayname {
        display: inline-block !important;
    }
}