
/*
	Core Template (config)
*/
.main,
#footer {
    max-width: 100%;
    margin: 0 auto auto auto;
}

/* Prevent coloured page margin on small screens */
@media all and (max-width: 1400px) {
    html {
        background-color: #fff;
    }
}

/* Add margin when page width is 1400px */
@media all and (min-width: 1400px) {
    .main {
        margin: 0 25px;
    }
}

.main {
    min-height: 100%;
    background-color: #fff;
}

/* Header */
#header {
    background-color: #ffcc00;
    color: #333;
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

    #header .toolsCell {
        text-align: right;
        padding-right: 20px;
        vertical-align: middle;
    }

        #header .toolsCell .redTag {
            vertical-align: middle;
        }

    #header .icon-menu {
        margin-right: 15px;
        display: none;
        text-shadow: 0 1px 1px rgba(255,255,255,0.8);
        cursor: pointer;
    }

    #header .eBillingTag {
        text-transform: none;
    }

    #header #language-selection,
    #header #account-navigation,
    #header #notification-selection {
        display: inline-block;
        vertical-align: middle;
        margin-right: 15px;
        cursor: pointer;
    }

#logo {
    margin: 6px 0 6px 0;
}

/* Navigation */
.nav {
    margin-top: -2px;
}

    .nav > ul {
        padding: 0;
        margin: 0;
        list-style: none;
        margin-bottom: -6px;
        margin-left: 6px;
    }

        .nav > ul > li {
            padding: 0;
            margin: 0;
            display: inline-block;
            margin-right: 5px;
            position: relative;
        }

        .nav > ul:hover > li.active > a {
            background: none;
            box-shadow: none;
        }

        .nav > ul > li > a,
        .nav > ul:hover > li.active > a,
        .nav > ul:hover > li.open > a {
            color: #333;
            font-weight: bold;
            text-shadow: 0 1px 1px rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 14px;
            padding: 0 10px;
            line-height: 30px;
            border-bottom: 3px solid transparent;
            display: block;
        }

        .nav > ul > li.active > a,
        .nav > ul > li.open > a,
        .nav > ul:hover > li:hover > a {
            background-color: #cc0000;
            color: #fff;
            display: block;
            text-shadow: 0 -1px 1px rgba(0,0,0,0.6);
            box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
            -webkit-border-top-left-radius: 3px;
            -webkit-border-top-right-radius: 3px;
            -moz-border-radius-topleft: 3px;
            -moz-border-radius-topright: 3px;
            border-top-left-radius: 3px;
            border-top-right-radius: 3px;
            border-bottom: 3px solid #cc0000;
        }

        .nav > ul:hover > li:hover > a {
            color: #ffcc00;
        }

        .nav > ul ul {
            display: none;
        }

        .nav > ul li.open ul {
            display: block;
            position: absolute;
            top: 100%;
            left: 0;
            padding: 0;
            margin: 0;
            list-style: none;
            background-color: #fff;
            -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.35);
            box-shadow: 0 1px 10px rgba(0,0,0,.35);
        }

        .nav > ul li.parent.open ul:before {
            width: 5px;
            height: 5px;
            display: block;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 5px solid #fff;
            content: ' ';
            position: absolute;
            top: -5px;
            left: 25px;
        }

        .nav > ul:hover > li.parent.active > a,
        .nav > ul:hover > li.parent.open > a,
        .nav > ul li.parent > a {
            padding-right: 25px;
        }

            .nav > ul li.parent > a:after {
                content: "\e638";
                width: 16px;
                height: 16px;
                display: block;
                position: absolute;
                top: 7px;
                right: 5px;
                z-index: 3;
                font-family: 'iconset1';
                speak: none;
                font-style: normal;
                font-weight: normal;
                font-variant: normal;
                text-transform: none;
                line-height: 1;
                font-size: 16px;
                text-align: center;
                /* Better Font Rendering =========== */
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                vertical-align: middle;
            }

        .nav > ul li.parent.open > a:after {
            content: "\e639";
        }

.subnav {
    min-height: 10px;
    background-color: #cc0100;
    margin-left: -15px;
    /*background-image: url("../images/bg/navigation.4e701c3891db.gif");*/
    background-repeat: repeat-x;
    background-position: top left;
}

    .subnav.nonav {
        height: 20px;
    }

/* Footer */
#footer {
    /*min-height: 200px;*/
    background: -moz-linear-gradient(top, #edecea 0%, #f6f6f5 15%, #ffffff 75%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #edecea), color-stop(15%, #f6f6f5), color-stop(75%, #ffffff));
    /* background: -webkit-linear-gradient(top, #edecea 0%, #f6f6f5 15%, #ffffff 75%); */
    background: -o-linear-gradient(top, #edecea 0%, #f6f6f5 15%, #ffffff 75%);
    background: -ms-linear-gradient(top, #edecea 0%, #f6f6f5 15%, #ffffff 75%);
    /* background: linear-gradient(to bottom, #edecea 0%, #f6f6f5 15%, #ffffff 75%); */
    -pie-background: linear-gradient(top, #edecea 0%, #f6f6f5 18%, #ffffff 75%);
}

    #footer .side-right {
        text-align: right;
    }

    #footer .yellowBackdrop {
        padding: 5px 15px;
        box-shadow: 0 3px 9px 0px #ccc;
        -moz-box-shadow: 0 3px 9px 0px #ccc;
        -webkit-box-shadow: 0 3px 9px 0px #ccc;
    }

    #footer .logo {
        vertical-align: middle;
    }
/* Login Specific */
#loginBanner {
    background-color: #aaa;
    min-height: 520px;
    position: relative;
}

    #loginBanner .windowContainer {
        width: 100%;
        max-width: 520px;
        position: relative;
        top: 25px;
    }

    #loginBanner .window {
        background-color: rgba(255,255,255,0.9);
        position: relative;
    }

    #loginBanner .bannerContainer {
        background-image: url("../images/photo/login.a9311487ea85.jpg");
        background-position: 50% 50%;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
    }

#announcements {
    position: relative;
    padding: 10px 0;
}

.messages {
    padding: 0;
    list-style-type: none;
}

#messages .item {
    list-style-type: none;
    position: relative;
}

    #messages .item .date {
        position: absolute;
        left: 0;
        width: 90px;
        text-align: center;
        left: -90px;
        top: 0;
    }

@media screen and (max-width: 31.25em) {
    #messages .item .date {
        left: auto;
        right: 0;
    }

    #messages .item .borderLeft {
        border-left: 0;
        border-top: 1px solid #ebebeb;
    }
}

.quicksearch .textfield {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.quicksearch .button {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    box-shadow: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

    .quicksearch .button .icon-search:before {
        position: relative;
        top: -1px;
    }

/* Device settings */

@media screen and (max-width: 520px) {
    #footer .grid2of3,
    #footer .grid1of3 {
        width: 100%;
    }

    #footer .side-right {
        text-align: left;
    }

    #loginBanner .bannerContainer {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        height: 250px;
    }

    #loginBanner .windowContainer {
        top: auto;
    }
}

@media screen and (max-width: 740px) {
    #header .icon-menu {
        display: inline-block;
    }

    #header #language-selection-button .label,
    #header #language-selection-button .icon-arrow-down3,
    #header #account-navigation-button .label,
    #header #account-navigation-button .icon-arrow-down3,
    #header #notification-selection-button .label,
    #header #notification-selection-button .icon-arrow-down3 {
        display: none;
    }

    #header #language-selection-button .icon-language.icon-x16 {
        font-size: 20px;
    }

    #header #account-navigation-button .icon-user.icon-x16,
    #header #notification-selection-button .icon-alarm.icon-x18 {
        font-size: 24px;
    }

    #header .nav {
        display: none;
    }

        #header .nav.open {
            position: absolute;
            background-color: #ffcc00;
            top: 70px;
            left: 0;
            right: 0;
            border-bottom: 3px solid #cc0000;
            box-shadow: 0 3px 2px rgba(0,0,0,0.4);
        }

            #header .nav.open,
            #header .nav.open > ul {
                display: block;
                margin: 0;
                padding: 0;
            }

                #header .nav.open > ul > li {
                    display: block;
                    padding: 0;
                    margin: 0;
                }

                    #header .nav.open > ul > li > a {
                        -webkit-border-radius: 0;
                        -moz-border-radius: 0;
                        border-top-radius: 0;
                        border: 0
                    }

                    #header .nav.open > ul > li.open > ul {
                        position: relative;
                        display: block;
                    }
}


.tabs .payNow {
    position: absolute;
    top: -20px;
    left: 50%;
    margin-left: -45px;
}

    .tabs .payNow:after {
        position: absolute;
        width: 10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #2e951a;
        content: ' ';
        top: 30px;
        left: 50%;
        margin-left: -10px;
    }

.data-header .button {
    width: 100%;
}

    .data-header .button[type="submit"] {
        width: auto;
    }

.data-header .daterange .bubbleBody .grid1of2 {
    width: 50%;
}

#setupConfirmPPAtable {
    white-space: nowrap;
}

.data-body table.data {
    white-space: nowrap;
}

    .data-body table.data .wrap {
        white-space: normal !important;
    }

.pagination {
    float: right;
}

.pagination-button {
    border-left-width: 1px !important;
    margin: 0;
}

.total-records {
    padding-top: 0.5em;
}

#welcomeSplash .banner h1 {
    font-size: 32px;
    line-height: 36px;
    font-weight: bold;
}

#welcomeSplash .banner p {
    font-size: 18px;
}

.icon-underlay {
    position: relative;
    display: inline;
}

.icon-overlay-x18 {
    position: absolute;
    bottom: -10px;
    right: 0px;
}


/* Info banner. First added for the browser version warning. */
.info-banner {
    background-color: #3b494e;
    font-family: arial, sans-serif;
    color: #ffffff;
    display: none;
    padding: 5px 10px;
    vertical-align: middle;
}

    .info-banner span {
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        width: 100%;
    }

.task_status {
    position: relative;
    top: 4px;
    margin-left: 6px;
}

/*
	Tariff enquiry
	--------------
*/

input.pieces_line {
    width: 50%;
    float: left;
}

span.pieces_label {
    float: left;
    padding: 10px;
}

/*
	Dynamic combo box
	-----------------
*/

input.dynamic-combo {
    border-style: none;
    outline: none;
}

.ui-autocomplete {
    position: absolute;
    max-height: 150px;
    overflow-y: auto;
    padding-left: 2px;
    padding-right: 2px;
    margin-left: 0px;
    margin-right: 0px;
}

.ui-menu-item {
    list-style-type: none;
    word-wrap: normal;
}

.ui-state-focus {
    padding: 0;
    margin-left: 0px;
    margin-right: 0px;
}

/*
	PPA Settings
	------------
*/

span.mandatorycol {
    float: right;
    margin-right: 5vh;
}

span.disabledcol {
    float: right;
}

.singleRow {
    overflow: hidden;
    white-space: nowrap;
}
