/**********************************************
 * Met Office (C) Copyright                   *
 **********************************************
 * New header, navigation and footer.         *
 * Courtesy of John Hayes for CMS, modified   *
 * ever so slightly by Jake Hendy for WAVE    *
 **********************************************

/* =float container (clearfix)
-------------------------------------------------------*/
header:after, nav:after, footer:after, .fc:after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
}

/*modern browsers*/
header, nav, footer, .fc {
    *zoom: 1;
}

/*ie7*/

body {
    /* font-size:87.5%; /* 14pt */

    font-family: 'Open Sans', sans-serif;
    color: #000;
    background: #fff;
}

.header-container, .footer-container {
    font-size: 100%;
}

#header {
    background: #202A2C;
    color: #fff;
    min-width: 980px;
    padding: 2px 10px 0;
}

#header:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
}

.headerContent {
    position: relative;
}

#header #toplevel {
    margin: 0 auto;
    width: 980px;
    padding: 0 10px;
}

#header #topbanner {
    background: #202a2c;
    color: #fff;
    overflow: hidden;
    margin: 0;
}

#header #topbanner ul {
    margin: 0;
    padding: 0;
}

#header #topbanner ul li {
    display: block;
    list-style: none;
}

#header #topbanner ul a, #header #topbanner ul span {
    display: block;
    float: left;
    padding: 5px 10px;
    color: #fff;
}

#header #topbanner ul a {
    font-weight: normal;
}

#header #topbanner .selected, #header #topbanner .onpath {
    font-weight: bold;
}

#topNav {
    overflow: hidden;
    clear: both;
    font-size: 1.14em;
    background: #fff linear-gradient(#666, #666) repeat-x bottom;
    background-size: 100% 3px;
}

#topNav ul {
    width: 980px;
    padding: 0;
    margin: auto;

}

#topNav li {
    margin-left: -1em;
    list-style: none;
}

#topNav li a, #topNav li span {
    display: block;
    float: left;
    padding: 1em;
    text-decoration: none;
    color: #222;
    font-weight: 600;
    border-bottom: 3px solid #666;
}

#topNav li .selected, #topNav li .onpath {
    border-bottom: solid 3px #b9db0c;
}

#topNav li a:hover, #topNav li a:focus {
    border-bottom: solid 3px #00add3;
    transition: all 150ms linear;
}

#header #topbanner #toputilnav {
    position: absolute;
    left: 650px;
    width: 320px;
}

#header #toplogo {
    float: left;
    margin-left: -10px;
    line-height: 1em; /* for the image */
}

#header #toplogo img {
    width: 142px;
    padding: 23px 10px 27px 15px;
    display: block;
}

#header #toputilnav {
    float: right;
    margin-top: 20px;
    vertical-align: top;
}

#headerWarnings {
    display: inline-block;
}

#warningsIFrame {
    border: none;
    display: inline-block;
    padding: 0;
    overflow: hidden;
    height: 28px;
    width: 180px;
}

#header #toputilnav ul {
    display: inline-block;
    list-style: none;
    margin: 3px 0 0 0;
    padding: 0;
    vertical-align: top;
}

#header #toputilnav li {
    float: left;
    margin-left: 20px;
}

#header #toputilnav li:before {
    color: #666;
    margin-left: -15px;
    padding: 0 15px 0 0;
}

#header #toputilnav li:first-child:before, #header #toputilnav li:last-child:before {
    display: none;
}

#header #toputilnav a {
    color: #fff;
    text-decoration: none;
}

#header #toputilnav a:hover {
    text-decoration: underline;
}

#header #toputilnav .selected {
    color: #999;
}

/* =header (email sign up)
-------------------------------------------------------*/
#header .signUp {
    border: 0;
    cursor: pointer;
    position: relative;
    float: right;
    color: #fff;
}

#header #toputilnav .signUp-rendered a { /* class is added with behavior */
    background: url(/public/lib/images/graphics/arrowwhite_down.gif) no-repeat right center;
    padding: 0 12px 0 0;
}

#header .signUp:hover {
    background-color: #202A2C !important;
}

#header .signUpModule {
    border-radius: 3px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    background: #fff;
    border: 1px solid #ccc;
    color: #999;
    display: none;
    padding: 20px 10px 10px 10px;
    position: absolute;
    right: -5px;
    top: 25px;
    width: 260px;
    z-index: 5000;
}

#header .signUpModule:before {
    border-bottom: 10px solid #ccc;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: '';
    height: 0;
    margin: -10px 0 0 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
}

#header .signUpModule:after {
    border-bottom: 8px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    content: '';
    height: 0;
    margin: -8px 0 0 0;
    position: absolute;
    top: 0;
    right: 2px;
    width: 0;
}

#header .signUpModule form {
    display: block;
    float: none;
    margin: 0;
}

/* form overrides */

#header .signUpModule input {
    border-radius: 3px;
    font-weight: normal;
    max-width: 260px;
    width: 100%;
}

#header .signUpModule #emailInput {
    background: #fff;
    border: 1px solid #ddd;
    font-size: 1.18em;
    height: 38px;
    line-height: 38px;
    margin: 0 0 5px 0;
    padding: 0 10px;
    width: 238px;
    box-sizing: content-box;
}

#emailInput:invalid, #emailInput:required {
    box-shadow: none;
}

#header .signUpModule #subscribeButton {
    background: #00819d;
    border: 0;
    color: #fff;
    font-size: 1.14em;
    height: 40px;
    padding: 0;
}

#header .signUpModule #subscribeButton:hover {
    background: #00add3;
}

#header .signUpModule .error label {
    color: #e00;
    display: block;
    font-size: 1.18em;
    margin: 0;
    padding: 0;
    text-align: left;
}

#header .signUpModule .error #emailInput {
    background: #fffafa;
    border: 1px solid #e00;
}

#header .signUpModule p {
    cursor: default;
    font-size: 1.8em;
    font-weight: normal;
    margin: 8px 0;
    text-align: center;
}

#header .signUpModule ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#header .signUpModule li {
    border-radius: 3px;
    background: #eee no-repeat 50% 0;
    border-left: 1px solid #fff;
    cursor: pointer;
    display: table-cell;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    text-align: center;
    text-indent: -99999em;
    width: 86px;
}

#header .signUpModule li:first-child {
    border: 0;
}

#header .signUpModule li:hover {
    background-color: #ddd;
}

#header .signUpModule li a {
    display: block;
    width: 100%;
    outline: 0;
}

/* search form */
#fsrch {
    display: inline-block;
    margin: -4px 0 0 15px;
    vertical-align: top;
}

#fsrch label {
    display: none;
}

#fsrch fieldset {
    padding: 2px;
    background: #fff;
    color: #000;
}

#fsrch input {
    border-style: none;
    width: 108px;
    height: 22px;
    padding: 4px;
    transition: width 200ms linear;
    box-sizing: content-box;
    font-weight: 400;
}

#fsrch input:focus {
    width: 600px;
}

#fsrch button {
    border: none;
    padding: 0;
    border-radius: 0;
    width: 30px;
    height: 30px;
    background: #fff;
}

#content {
    clear: both;
    margin: 0 auto;
    width: 980px;
}

/* second level nav */
.secondnav {
    background: #eee;
    clear: both;
    overflow: hidden;
    border-bottom: 1px solid #ddd;
    min-width: 980px;
    margin: 0 auto;

}

.secondnav ul {
    padding: 0;
    margin: .7em auto;
    width: 980px;
    overflow: hidden;
}

.secondnav li {
    list-style-type: none;
}

.secondnav ul li {
    display: block;
    width: 245px;
    float: left;
    overflow: hidden;
    margin-left: -.2em;
}

.secondnav ul a, .secondnav ul span {
    display: block;
    padding: .2em;
    text-decoration: none;
    font-weight: normal;
    color: #000;
}

.secondnav ul .selected, .secondnav ul .onpath {
    font-weight: 600;
}

.secondnav ul a:hover, .secondnav ul a:focus {
    text-decoration: underline;
}

/* weather warnings */
#weatherwarnings {
    position: relative;
    clear: right;
    float: right;
    height: 24px;
    margin: 6px 0;
}

#weatherwarnings ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
}

#weatherwarnings li {
    float: left;
    margin-left: 4px;
}

#weatherwarnings p {
    display: none;
}

#weatherwarnings li a {
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(/public/lib/images/graphics/warningSymbols24.png) no-repeat;
    text-indent: -999em;
    letter-spacing: -999em;
    overflow: hidden;
}

/* warning types */
#weatherwarnings .rain {
    background-position: 0 0;
}

#weatherwarnings .wind {
    background-position: -28px 0;
}

#weatherwarnings .snow {
    background-position: -56px 0;
}

#weatherwarnings .ice {
    background-position: -84px 0;
}

#weatherwarnings .fog {
    background-position: -112px 0;
}

#weatherwarnings .off, #weatherwarnings .green {
    background-color: #0F3;
}

#weatherwarnings .yellow {
    background-color: #FF6;
}

#weatherwarnings .amber {
    background-color: #F93;
}

#weatherwarnings .red {
    background-color: #C03;
}

/* Fix for home page */
#moNSWWS #weatherwarnings {
    position: absolute;
    top: 2px;
    right: 10px;
}

/* breadcrumb */

#bcbar {
    border-bottom: 1px solid #ddd;
    background: #fff;
}

#bcbarcontent {
    width: 980px;
    margin: auto;
    overflow: hidden;
}

#breadcrumb {
    clear: left;
    overflow: hidden;
    font-size: .875em;
    margin: .5em 0;
    color: #999;
}

#breadcrumb ul {
    padding: 0;
    margin: 0;
}

#breadcrumb ul li:before {
    content: "/";
    margin-right: .5em;
    color: #333;
}

#breadcrumb ul li:first-child:before {
    content: "";
    margin-right: 0;
}

#breadcrumb ul li {
    list-style: none;
    float: left;
    margin-right: .5em;
}

#footer {
    background: #202A2C;
    color: #B9DB0C;
    overflow: hidden;
    padding: 0 10px 30px 10px;
    clear: both;
    min-width: 980px;
}

#footer h2, #footer h3, #footer ul a {
    color: #fff;
    font-weight: normal;
}

#footer a {
    text-decoration: none;
    color: #fff;
}

#footer a:hover {
    text-decoration: underline;
}

#footer .quicklinks, #footer .footerutils {
    width: 980px;
    margin: auto;
    position: relative;
}

.footerutils ul {
    padding: 0;
}

.footerutils ul li {
    display: block;
    list-style: none;
}

.footerutils ul a, .footerutils span {
    display: block;
    float: left;
    padding: 5px 10px;
}

#footer .licence {
    float: right;
    text-align: center;
}

#footer .licence a {
    text-decoration: none;
}

#footer .licence .logo {
    width: 142px;
    padding: 10px;
}

#footer .row {
    min-height: 110px;
}

#footer .half-column {
    width: 50%;
}

ul#quicklinks {
    display: block;
    list-style: none;
    margin: 0.5em 0;
    padding: 0;
}

#quicklinks li {
    margin: 0.25em 0;
}

ul#quicklinks > li {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
    width: 300px;
}

ul#quicklinks > li > h3 {
    border-bottom: 1px #B9DB0C solid;
    display: block;
}

ul#quicklinks > li a {
    font-weight: normal;
}

ul#quicklinks > li ul {
    list-style: disc outside none;
    padding-left: 1.5em;
}

.quicklinks #explore h2 {
    margin-bottom: 0;
}

.quicklinks #follow ul {
    padding: 0;
    margin-left: -5px;
}

.quicklinks #follow li {
    display: inline;
    padding: 5px;
    list-style: none;
}

.quicklinks #follow {
    float: left;
}

.quicklinks #updates {
    float: right;
}

.ig-b- {
    display: inline-block;
}

.ig-b- img {
    visibility: hidden;
}

.ig-b-32 {
    width: 32px;
    height: 32px;
    background: url(//badges.instagram.com/static/images/ig-badge-sprite-32.png) no-repeat 0 0;
}

.map-tips {
    font-size: 78.6%;
}

.google_translate_wrapper {
    width: 980px;
    margin: 0 auto;
}

.google_translate_wrapper #moGoogleTranslate {
    background: #444 none repeat scroll 0 0;
    color: #fff;
    display: block;
    margin: 10px 0 0;
    padding: 10px;
}

.google_translate_wrapper > #moGoogleTranslate > #google_translate_element {
    width: 300px;
}

.goog-te-combo {
    -webkit-box-sizing:border-box;	/* Safari/Chrome, other WebKit */
    -moz-box-sizing:border-box;		/* Firefox, other Gecko */
    box-sizing:border-box;			/* Opera/IE 8+ */
    border:1px solid #6e6e6e;
    border-radius:5px;
    font-size:1em;
    font-weight:300;
    line-height:1.375em;
    min-height:1.375em;
    padding:.3125em;
    width: 300px;
}

#moCustom {
    width: 980px;
    margin: auto;
}



/* =print
-------------------------------------------------------*/
@media print {
    #topNav,
    .secondnav,
    #bcbar,
    #toplevel form,
    #toplevel .signUp,
    #toplevel .signUpModule,
    #toplevel .settings,
    #moInclude #searchLocationForm,
    #moInclude #main > header dl,
    #mapCustomise,
    #footer .quicklinks,
    #footer .utils,
    #footer .google_translate_wrapper,
    #EUCookie,
    .c2,
    .c3,
    .listLinks,
    #moInclude #timeLine {
        display: none !important;
    }

    #header {
        background: none !important;
    }

    #moContainer {
        padding: 0 !important;
    }

    #moInclude #dayNav {
        border: none;
    }

    #moInclude #dayNav .tabDayValues {
        float: none;
    }

    #moInclude .tabDayTemp,
    #moInclude #dayNav i[data-type="wx"] {
        display: none;
    }

    #moInclude #dayNav li {
        background: none;
        border: 0;
        color: #000;
        cursor: pointer;
        display: none;
        padding: 0 0 .5em 0;
        text-align: left;
        width: 100%;
    }

    #moInclude #dayNav li.tabActive {
        background: none;
        border: 0;
        color: #000;
        display: block !important;
    }

    #observationContent #moInclude #dayNav li {
        font-size: 1.1250em;
        font-weight: 300;
    }

    #map {
        border: 0 !important;
        width: 100% !important;
    }

    .wxForecast #mapContainer,
    .wxObservations #mapContainer {
        page-break-after: auto !important;
    }

    #moInclude #timelineContent {
        background: none;
        margin: 0 0 2em 0;
    }

    #moInclude #timelineHead > div {
        padding: 0;
    }

    #moInclude #timelineControls span {
        padding: 0;
    }

    #moInclude #timeDisplayPrint {
        padding: 0 !important;
    }

    #main .columns .listLinks h3 .print {
        display: inline
    }

    .columns > div {
        display: block;
        width: 100%;
    }

    .c1 {
        display: block;
        width: 100%;
    }

    #footer {
        background: none !important;
        border-top: 1px solid #ccc;
        color: #666 !important;
        padding: 10px 0 0 0 !important;
    }

    #footer .licence {
        float: none !important;
        text-align: left !important;
    }

    #footer a {
        color: #666 !important;
    }

}
