html {
    overflow-y: auto;
}

a {
    cursor: pointer;
}

.float-left {
    float: left;
    width: 100%;
}

.float-right {
    float: right;
}

.hidden {
    display: none;
}

.disabled {
    color: #999;
}

/* Bootstrap overrides */
.with-topbar {
    padding-top: 60px;
}

.btn:focus {
    border: 1px solid #3aafc5;
    outline: none;
}

/* Useful overrides */
.nopadding {
    padding: 0 !important;
}

.nopadding-bottom {
    padding-bottom: 0 !important;
}

.nomargin {
    margin: 0 !important;
}

.nomargin-bottom {
    margin-bottom: 0 !important;
}

.margin-top {
    margin-top: 5px;
}

.margin-bottom {
    margin-bottom: 5px;
}

/* Bootstrap form extensions */
.full {
    width: 100%;
}

.actions-right {
    margin-bottom: 5px;
    padding-right: 26px;
    padding-top: 10px;
    text-align: right;
}

.actions-right-new {
    margin-bottom: 5px;
    margin-right: 26px;
    margin-top: 30px;
    text-align: right;
}

.form-stacked div.clearfix.error {
    padding-bottom: inherit;
    padding-top: inherit;
}

.login-portal {
    margin: 0 auto;
    max-width: 960px;
}

.login-portal,
.login-portal td {
    border: 0;
    padding: 0;
}

.login-portal .content iframe {
    border: 1px solid transparent;
    overflow: hidden;
}

.login-portal .login-form {
    padding-left: 1em;
    vertical-align: top;
    width: 30em;
}

.login-portal .login-form select {
    font-family: Arial Unicode MS, verdana, arial, sans-serif;
}

.login-portal .login-form .note {
    background: #eaf2f5 url('../images/icons/16/information.png') no-repeat 8px 8px;
    border: 1px solid #bedce7;
    border-radius: 5px;
    margin: 1em auto;
    padding: 8px 8px 0 16px;
}

#login-portal-content {
    border-right: 2px solid #44687d;
    padding-bottom: 1em;
}

#login-portal-content h2 {
    margin: 0.5em 0;
}

#login-portal-content .service-announcement {
    margin: 2em 1em 0 0;
}

/* Reusable classes */
.logon-form {
    padding: 20px 5px 0;
}

.gas-status {
    margin-top: 20px;
    padding: 20px 5px 0;
}

.gas-bottom-bar {
    background-color: #cd202c;
    bottom: 0;
    height: 25px;
    position: fixed;
    width: 100%;
}

.logon-input {
    width: 270px !important;
}

ul.inline {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.inline > li {
    float: left;
    margin-right: 10px;
}


.grtooltip {
    vertical-align: middle;
}

/* Breadcrumb */
.gr-breadcrumb {
    background: url('../img/bc-bg.png') repeat-x;
    border-bottom: 1px solid #cacaca;
    border-top: 1px solid #cacaca;
    font-size: 16px;
    height: 26px;
}

.gr-breadcrumb-list {
    color: #888;
    font-size: 0.8em;
    font-weight: bold;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.gr-breadcrumb-list > li {
    background: url('../img/bc-separator.gif') no-repeat right;
    float: left;
    line-height: 26px;
    padding: 0 24px 0 14px;
}

.gr-breadcrumb-list > li.last {
    background: transparent;
}

.gr-breadcrumb-list > li a {
    color: #888;
}

.gr-breadcrumb-list > li a:hover {
    color: #222;
}

.gr-breadcrumb-list > li.selected,
.gr-breadcrumb-list > li.selected a {
    color: #222;
}

.gr-logo-compact {
    display: none;
    margin-top: 50px;
    text-align: center;
}

/* Menu */
.menu-list {
    font-size: 0.85em;
    height: 20px;
    list-style-type: none;
    margin-top: 5px;
    padding: 0;
}

.menu-list > li {
    border-right: 1px solid #aaa;
    float: left;
    padding: 0 10px;
}

.menu-list > li.last {
    border: none;
}

.menu-list > li > a {
    color: #222;
}

/* Dropdown */
span.dropdown:hover {
    position: relative;
    z-index: 5;
}


span.language-item-alignment {
    display: block;
}


span.dropdown-trigger {
    background: url('../../images/uitk/gr-dropdown-arrow.png') no-repeat right center;
    cursor: pointer;
    padding-right: 12px;
}

/* special for language selector to make all selections in one line. */
#languageSelector li {
    color: #8e908f;
    margin: 0 3px;
}

ul.dropdown-list {
    background: #fff;
    border: 1px solid #607890;
    border-radius: 4px;
    box-shadow: 1px 1px 4px #aaa;
    display: none;
    left: 0;
    list-style-type: none;
    margin: 0;
    /* min-width: 100px; */
    min-width: 60px;
    padding: 5px 8px;
    position: absolute;
    text-align: left;
    top: 1.3em;
    z-index: 15;
}

span.dropdown:hover .dropdown-list {
    display: block;
}

span.dropdown hr {
    margin: 2px 0;
}

/* Title style */
.hr-section {
    margin-bottom: 20px;
}

.hr-title {
    margin-bottom: 0.3em;
    margin-top: 0.1em;
    position: relative;
}

.hr-title span {
    background: #f0f0f0;
    padding-right: 7px;
    position: relative;
    text-shadow: 0 -1px 1px #ddd;
    z-index: 2;
}

.hr-title-line {
    border-top: 1px solid #d2d2d2;
    position: absolute;
    top: 0.56em;
    width: 100%;
    z-index: 1;
}

/* Overlay */
.overlay,
.loader {
    bottom: 0;
    display: none;
    height: 9999px;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20000;
}

/* Loader */
.loader {
    z-index: 25000;
}

.loader img {
    border-radius: 12px;
    left: 50%;
    margin-left: -32px;
    /* background: #333; */
    padding: 32px 16px 16px 16px;
    position: relative;
    top: 200px;
}

/* Dialog */
.gr-dialog {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 10px #444;
    display: none;
    left: 50%;
    margin-left: -320px;
    position: fixed;
    top: 100px;
    width: 640px;
    z-index: 21000;
}

.gr-dialog-content {
    min-height: 36px;
    padding: 20px 20px 0;
}

.gr-dialog-title {
    margin-bottom: 5px;
}

.gr-dialog-buttons {
    float: right;
    height: 35px;
    list-style-type: none;
    margin-bottom: 15px;
    margin-right: 15px;
}

.gr-dialog-buttons li {
    float: left;
    margin-left: 5px;
    margin-right: 5px;
}

.gr-dialog-close {
    background: url('../img/close.png') no-repeat center center;
    cursor: pointer;
    float: right;
    height: 16px;
    margin-right: 5px;
    margin-top: 5px;
    width: 16px;
}

.gr-dialog-alert,
.gr-dialog-warning,
.gr-dialog-info,
.gr-dialog-question {
    float: left;
    height: 48px;
    padding-top: 5px;
    width: 60px;
}

.gr-dialog-alert {
    background: url('../img/error.png') no-repeat center center;
}

.gr-dialog-warning {
    background: url('../img/sign_warning.png') no-repeat center center;
}

.gr-dialog-info {
    background: url('../img/information.png') no-repeat center center;
}

.gr-dialog-question {
    background: url('../img/help2.png') no-repeat center center;
}

.gr-dialog-sub-content {
    margin-left: 72px;
}

.gr-dialog-sub-content h1 {
    font-size: 1.5em;
    line-height: 1.5em;
    margin-bottom: 0;
}

/* Tab */
.tab-panel {
    box-shadow: 0 3px 20px #cacaca;
}

.tab-panel > ul {
    list-style-type: none;
}

.tab-panel-tabs {
    background: #343434;
    border-bottom: 3px solid #369;
    color: #fff;
    font-size: 0.9em;
    font-weight: bold;
    height: 24px;
    padding: 10px 5px 0;
}

.tab-panel-tabs > li {
    cursor: pointer;
    float: left;
    height: 14px;
    margin: 0 7px;
    padding: 5px 15px;
}

.tab-panel-tabs > li.selected {
    background: #369;
}

.tab-panel-tabs > li a {
    color: #fff;
    outline: none;
}

.tab-panel-tabs > li a:hover {
    text-decoration: none;
}

.tab-panel-panels {
    margin-top: 0;
}

.tab-panel-panels > li.selected {
    display: block;
}

.tab-panel-panels > li {
    background: #fff;
    color: #111;
    display: none;
    padding: 10px;
}

.help-inline {
    display: block;
}

.preloader {
    position: absolute;
}

.preloader img {
    margin: 5px;
}

/* Footer */

.footer {
    display: flex;
    flex-direction: row;
    margin-bottom: 25px;
    margin-top: 0;
    padding-top: 0;
    width: 100%;
}

.footer .main.cell {
    display: inline-flex;
    flex-grow: 1;
    min-height: 48px;
    justify-content: center;
}

.footer .links.wrapper {
    margin-left: 24px;
    margin-right: 8px;
}

.footer .links.wrapper ul {
    display: flex;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer .links.wrapper ul > li {
    display: inline-flex;
}

.footer .link {
    align-self: center;
    color: #333;
    cursor: pointer;
    font-size: 12px;
    line-height: 18px;
    margin-left: 8px;
    margin-right: 8px;
    text-decoration: none;
}

.footer .link:hover,
.footer .link:focus {
    color: #606060;
}

.footer .divider {
    border-left: 1px solid #b3b3b3;
    height: 16px;
    width: 1px;
}

.footer .copyright.cell {
    align-items: center;
    display: inline-flex;
}

.footer .copyright.wrapper {
    color: #707070;
    font-size: 10px;
    line-height: 14px;
    margin-left: 16px;
    margin-right: 16px;
}

@media only screen and (max-width: 672px) {
    .footer .divider {
        display: none;
    }

    .footer .copyright.wrapper {
        text-align: center;
        width: 100%;
    }
}

@media only screen and (max-width: 730px) {
    .footer .main.cell {
        flex-wrap: wrap;
    }

    .footer .links.wrapper {
        margin-left: 8px;
        min-height: 48px;
        text-align: center;
        width: 100%;
    }

    .footer .links.wrapper {
        display: inline-flex;
    }

    .footer .links.wrapper ul {
        margin-left: auto;
        margin-right: auto;
    }

    .footer .copyright.cell {
        margin-top: -20px;
        min-height: 48px;
        width: 100%;
    }

    .footer .copyright.wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .footer .divider {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    .footer {
        flex-wrap: wrap-reverse;
    }

    .footer .main.cell {
        justify-content: center;
    }
}
