html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#reactParent, [data-reactroot] {height: 100% !important; }

#map {
    display: block;
    position: absolute !important;
    top: 51px;
    bottom: 36px;
    right: 0;
    left: 0;
    z-index: 1;
}

#map.map__has_emergency_banner {
    top: 100px;
}

.google-map-logo {
    position: absolute;
    bottom: 45px;
    left: 10px;
    z-index: 1;
}

/* Links */

a {
    color: #337ab7;
    text-decoration: none;
}

/* Browser not supported */

#not-supported-wrapper {
    height: 100%;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: rgb(86, 90, 92);
    max-width: 650px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    border: 0;
}

#not-supported-wrapper td {
    vertical-align: middle;
    text-align: center;
}

#not-supported-wrapper span {
    display: block;
    margin-bottom: 10px;
}

#not-supported-wrapper__content {
    margin: 0 auto;
}

#not-supported-wrapper__content td {
    padding: 30px;
}

#not-supported-wrapper a {
    max-width: 100%;
    color: #000;
    text-decoration: underline;
}

#not-supported-wrapper h3 {
    max-width: 100%;
    color: #d62c18;
    font-size: 28px;
    line-height: 28px;
    margin-bottom: 30px;
    margin-top: 20px;
}

#not-supported-wrapper img {
    max-width: 100%;
    display: block;
    margin: 0 auto 50px auto;
}

/* Header */

#header-faults-number {
    color: #f15d2f;
    position: absolute;
    right: 15px;
    top: 15px;
    font-weight: bold;
    font-size: 13px;
}

#load-control {
    position: absolute;
    left: 10px;
    z-index: 1;
}

#load-control > a {
    font-size: 18px;
    color: white;
    font-weight: bold;
    background-color: #d62c18;
    padding: 10px;
    display: inline-block;
}

#load-control > a:hover {
    text-decoration: underline;
}

.emergency-banner {
    position: relative;
    color: white;
    z-index: 1;
    width: 100%;
    font-weight: 500;
    border-radius: 0;
    border: none;
    text-align: center;
    margin: 0;
    line-height: 20px;
    padding: 15px;
}

.emergency-banner.alert-danger {
    background-color: #d62c18;
}

.emergency-banner.alert-info {
    background-color: #00a6a2;
}

.emergency-banner.alert-warning {
    background-color: #ffb414;
}

.emergency-banner span {
    display: block;
    font-size: 16px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
}

.clickable:hover {
    cursor: pointer;
}

.clickable span {
    display: inline;
}

.emergency-banner a {
    color: white;
    text-decoration: underline;
}

.alert-wrapper {
    margin-top: 20px;
}

/* Nav */

#main-nav {
    margin-bottom: 0;
    z-index: 2;
}

.navbar {
    margin: 0;
    padding: 0;
    border: 0;
}

.navbar .navbar-toggler {
    margin-right: 36px;
}

.navbar > .container-fluid {
    padding: 0;
    margin: 5px 0;
}

.navbar-nav .nav-link.active, .navbar-nav .show > .nav-link {
    color: #777777;
}

.navbar-nav .nav-item .dropdown-menu a {
    color: #333333 !important;
}

.navbar-nav a, .navbar .nav-item a {
    font-size: 14px;
    padding: 15px 10px !important;
}

.nav-link > svg {
    display: none;
}

.navbar-brand {
    padding: 0;
    margin: 0 36px;
    height: 42px;
}

.navbar-brand img {
    height: 42px;
}

.navbar-nav .nav-item .dropdown-menu {
    max-width: 100px;
}

.navbar-nav .nav-item .dropdown-menu a {
    padding: 5px 5px 5px 15px !important;
}

.collapsing {
    -webkit-transition: none;
    transition: none;
    display: none;
}

/* FAQ */

#faq-wrapper {
    padding-right: 20px !important;
    padding-left: 20px !important;
}

#faq-wrapper h2 {
    padding-bottom: 10px;
    font-size: 20px;
}

#faq-wrapper h3 {
    font-size: 20px;
    padding-bottom: 10px;
}

#faq-wrapper h3 span {
    color: #f15d2f;
    display: block;
    font-size: 24px;
    margin-bottom: 16px;
}

/* FAQ Collapsible */

.Collapsible {
    position: relative;
    margin-bottom: 10px;
}

.Collapsible__trigger {
    font-size: 17px;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    padding: 10px 25px 10px 15px;
    border: 1px solid #e7e7e7;
    background-color: #f8f8f8;
}

.Collapsible__trigger.is-open, .Collapsible__trigger:hover {
    background-color: #00539f;
    color: white;
}

.Collapsible__trigger::after {
    content:"";
    background: url('/images/faq-arrows.png') no-repeat;
    background-size: 20px 24px;
    background-position: 0 0;
    position: absolute;
    height: 12px;
    width: 20px;
    right: 10px;
    top: 14px;
}

.Collapsible__trigger.is-open::after {
    background-position: 0 -12px;
}

.Collapsible__contentInner {
    padding: 10px 15px 5px 15px;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

/* List region */
#list-region-wrapper img {
    width: 40px;
}

#list-region-wrapper h2 {
    margin-bottom: 15px;
}

#list-region-wrapper ul {
    list-style:none;
    padding-left:0;
}

#list-region-wrapper .data-wrapper {
    padding: 15px;
}

#list-region-wrapper .data-wrapper li {
    padding-top: 5px;
}

#unplanned-customers-affected {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    color: grey;
}

/* List view */

#list-view-wrapper tr td:first-child{
    cursor: pointer;
}

#list-view-wrapper tr td:last-child{
    width: 80px;
}

#footer-treat-all-lines-as-active {
    text-transform: uppercase;
    background-color: #f15d2f;
    padding: 10px;
    color: white;
    text-align: center;
}

/* Headers */

h1 {
    font-size: 28px;
    line-height: 30px;
    padding: 20px 0;
    margin: 0;
}

h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.h4, h4 {
    font-size: 18px;
}

/* Misc */

.underline {
    text-decoration: underline;
}

.content-wrapper h2 {
    font-size: 20px;
}

.image-wrapper {
    vertical-align: middle !important;
    text-align: center;
}

.content-wrapper {
    position: relative;
    margin: 0 auto;
    padding: 20px;
    z-index: 1;
}

.form-check {
    margin-bottom: 15px;
}

.form-check label {
    font-weight: 400;
}

.form-check-inline {
    margin-bottom: 0;
}

.alert-secondary {
    font-size: 12px;
    padding: 10px;
}

.te-mt-15 {
    margin-top: 15px;
}

.navbar-toggler svg {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.form-check-input:checked[type=checkbox] {
    background-image: url('/svgs/tick.svg') !important;
}

.navbar-collapse.show .dropdown-menu.show {
    border: 0;
}

.navbar-collapse.show .dropdown-menu.show {
    max-width: 100%;
}

/* Buttons */

.btn {
    font-size: 14px;
}

.btn.btn-outline-secondary {
    border-color: #cccccc;
    color: #333333;
}

.btn.btn-outline-secondary:hover {
    background-color: #e6e6e6;
}

.btn.btn-info {
    color: #ffffff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.btn.btn-success {
    color: #ffffff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn.btn-primary {
    color: #ffffff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

/* Dropdown */

#main-nav .dropdown-menu a:hover {
    background-color: #e6e6e6;
}

#main-nav .nav-link:hover {
    background-color: #e6e6e6;
}

/* Outage Modal Styles */

.modal-content {
    display: flex;
    max-height: 100%;
    flex-direction: column;
    position: relative;
}

.modal {
    text-align: center;
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    height: 100%;
    margin: 0;
}

.modal-dialog .alert {
    display: inline-block;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}

.modal-dialog span {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
}

.modal-header {
    flex-shrink: 0;
}

.modal-body {
    flex-shrink: 1;
    overflow: auto;
}

.modal-footer {
    flex-shrink: 0;
}

.modal-backdrop.in {
    opacity: 0.4;
}

#hidden-streets-three-dots {
    display: inline;
}

#feedback-page-header {
    margin-top: 0;
}

#feedback-page-header h1 {
    margin-top: 10px;
}

/* Forms */

#subscribe-form, #unsubscribe-form .form-label {
    font-weight: 500;
}

form .form-group {
    margin-bottom: 15px;
}

form .alert {
    margin-top: 15px;
}

#subscribe-form, #feedback-form, #unsubscribe-form {
    padding: 20px;
    border: 1px solid #eeeeee;
    background-color: rgba(248, 248, 248, 0.4);
}

.form-control {
    color: #555555;
}

/* Subscribe Form */

#subscribe-form-how-to-unsubscribe {
    margin-top: 20px;
}

#subscribe-form-how-to-unsubscribe p {
    font-size: 14px;
}

#subscribe-form-how-to-unsubscribe h4 {
    margin-top: 0;
    color: #337ab7;
    font-size: 17px;
    font-weight: 500;
}

/* Key */

#key-wrapper .outage-type-wrapper span {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

#key-wrapper .outage-type-wrapper img {
    display: block;
    width: 40px;
    padding-bottom: 10px;
    margin: 0 auto;
}

/* Search */

.search-wrapper {
    margin-right: 5px;
}

#search-input {
    width: 250px;
    margin-right: 10px;
}

.navbar-form {
    border-top: none;
}

/* Subscription Form */

#indicates-a-required-field {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 13px;
}

#indicates-a-required-field span {
    color: red;
}

.form-group > label span {
    color: red;
}

#mobile-label {
    display: block;
}

#mobile {
    width: 100%;
}

#newsletterSubscribeWrapper .checkbox { margin-bottom: 15px; }

/* Unsubscribe Form */

#unsubscribe-form .btn {
    margin-top: 10px;
}

/* Footer */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 37px;
    overflow: hidden;
}

.footer .navbar {
    margin-bottom: 0;
    min-height: 100%; /* override min height set by bootstrap.css */
    height: 100%;
    border: none;
}

.footer .navbar .container {
    height: 100%;
    width: 100% !important;
    padding: 0 !important;
}

.footer .navbar .container ul {
    height: 100%;
}

.footer .navbar-nav {
    float:none;
    margin:0 auto;
    display: block;
    text-align: center;
}

.footer .nav-link {
    color: #ffffff !important;
}

.modal-dialog .modal-footer .btn {
    margin-bottom: 10px;
}

.modal-footer {
    padding-bottom: 5px;
}

.footer .navbar-nav {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
}

.footer .navbar-nav > a {
    flex: 1;
    display: inline-block;
    background-color: #00519c;
    text-align: center;
}

.footer .navbar-nav > a {
    border-right: 1px solid #dadada;
    color: white;
    font-weight: bold;
    padding-top: 14px;
    font-size: 13px;
    line-height: normal;
}

.footer .navbar-nav > a:last-child {
    border-right: none;
}

.footer .navbar-nav > a > span {
    display: inline-block;
}

.footer .navbar-nav > a:hover, .footer .navbar-nav > a:focus, .footer .navbar-nav > a.current {
    background-color: #f75c39;
    color: white;
}

/* New List View */

.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: #f9f9f9;
    color: var(--bs-table-striped-color);
}

.new-list-view {
    margin-top: 20px;
}
.new-list-view .table-view {
    margin: 0 70px;
}

.new-list-view h3 {
    display: flex;
}

.new-list-view h3 img {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 5px;
}

.new-list-view table {
    border-collapse: separate;
}

.new-list-view .table-responsive {
    max-height: 600px;
}

.new-list-view .table-responsive thead {
    position: sticky;
    top: 0;
    background-color: white;

}

table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-bottom: 0 !important;
}

.new-list-view table th {
    /* Apply both top and bottom borders to the <th> */
    border-top: 1px solid #dfe2e6;
    border-bottom: 1px solid #dfe2e6;
    border-right: none;
    border-left: 1px solid #dfe2e6;
}

.new-list-view table th:last-child {
    border-right: 1px solid #dfe2e6;
}

.new-list-view table td {
    /* For cells, apply the border to one of each side only (right but not left, bottom but not top) */
    border-top: none;
    border-bottom: 1px solid #dfe2e6;
    border-right: none;
    border-left: 1px solid #dfe2e6;
}

.new-list-view table td:last-child {
    border-right: 1px solid #dfe2e6;
}

.new-list-view .toggle-view.is-list-view {
    display: none;
}

.outage-info-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.outage-info-wrapper span a {
    color: #707071;
}
.outage-info-wrapper span a:hover {
    color: #454545;
}

.outage-text-view-button-wrapper {
    margin-top: 16px;
    max-width: 300px;
}

.end-time {
    margin-top: 16px;
}

.last-updated-text {
    display: none;
}
