.tableNote {
    font-size: 0.85rem;
}
.ofcTable {
    color: #000;
    display: block;
}
.ofcTable thead {
    display: none;
}
.ofcTable tbody {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.10), 0 3px 16px rgba(0,0,0,0.09);
}
.ofcTable tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.ofcTable td {
    flex-basis: 100%;
    display: block;
    border-bottom: 1px solid #eee;
}
.ofcTable td:empty {
    display: none;
}
.ofcTable .date,
.ofcTable .dataType,
.ofcTable .portCol {
    color: #003594;
    background-color: #edf0f3;
    font-weight: 500;
    padding: 1rem 0.5rem;
}
.ofcTable .portCol {
    order: -3;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 0;
}
.ofcTable .portName {
    color: #003594;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none !important;
}
.ofcTable .portSectionToggler:before {
    font-family: 'FontAwesome';
    content: '\f142';
    padding: 0 0.5rem;
    cursor: pointer;
}
.ofcTable .portSections {
    position: absolute;
    display: none;
    font-weight: 400;
    background-color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    right: 1.5rem;
    top: 1rem;
    z-index: 5;
    padding: 1.5rem 0;
    font-size: 90%;
}
.ofcTable .portSectionsBackdrop {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 4;
    top: 0;
    left: 0;
    background-color: transparent;
}
.ofcTable .portSections:before {
    display: block;
    content: 'More on ' attr(data-port-name) ':';
    padding: 0 1rem 1rem 1rem;
    color: grey;
}
.ofcTable .portSections a {
    display: block;
    visibility: hidden;
    padding: 0.5rem 1rem;
    color: #707070;
    text-decoration: underline;
    /* font-weight: 500; */
}
.ofcTable .portSections a:before {
    content: attr(data-full);
    visibility: visible;
    color: #333;
}
.ofcTable .portSections a:after {
    content: attr(title);
    visibility: visible;
    display: block;
    margin-top: 0.1rem;
    font-weight: 400;
    font-size: 90%;
}
.ofcTable .dataType {
    order: -2;
    text-align: left;
    padding-right: 0;
    border-bottom: 2px solid #ddd;
    align-self: flex-start;
    flex-basis: 0;
    white-space: nowrap;
}
.ofcTable .date {
    order: -1;
    border-bottom: 1px solid #eee;
    align-self: flex-start;
    flex-basis: 0;
    white-space: nowrap;
    flex-grow: 1;
    padding-left: 0;
    text-align: center;
}
.ofcTable .date:before {
    content: '\00a0 for ';
}
.ofcTable .date:after {
    content: ':';
}
.ofcTable td[data-fuel-type] {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0.5rem;
}
.ofcTable td[data-fuel-type]:before {
    content: attr(data-fuel-type);
    flex-grow: 1;
    font-weight: 500;
}
.ofcTable .comparison {
    padding: 0.5rem;
}
.ofcTable .comparisonLink span {
    display: none;
}
.ofcTable .comparisonLink:before {
    content: attr(title);
}

.ofcTable .trend {
    font-size: 120%;
}

.trend {
    display: inline-block;
    margin-left: 0.2rem;
    position: relative;
}
.changeInfo {
    position: absolute;
    bottom: 0;
    right: 0;
}
.changeInfo {
    position: absolute;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    top: 1rem;
    right: 1rem;
    background-color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    min-width: 350px;
    max-width: 400px;
    z-index: 5;
    height: 10rem;
    padding: 1.5rem 1rem;
    color: #000;
    font-family: 'Fira Sans';
    text-align: left;
    cursor: default;
}
.changeInfo p {
    flex-basis: 100%;
    margin: 0 0 0.5rem 0;
}
.changeInfo p:nth-of-type(1) {
    font-weight: 500;
}
.changeInfo p[data-label] {
    display: flex;
    justify-content: space-between;
}
.changeInfo p[data-label]:before {
    content: attr(data-label);
}

.change {
    display: block;
    margin-left: 0.15rem;
    font-size: 80%;
}
.change.up {
    color: green;
    vertical-align: super;
}
.change.up:before {
    content: '+';
}
.change.down {
    color: red;
    vertical-align: sub;
}
.change.no {
    color: blue;
    vertical-align: initial;
}


@media (min-width: 768px) {

.ofcTable {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
.ofcTable thead {
    display: table-header-group;
}
.ofcTable th {
    color: #fff;
    font-weight: 500;
    background-color: #526e87;
    padding: 1rem 0.7rem;
    text-align: right;
    position: sticky;
    top: -1px;
    z-index: 15;
}
.ofcTable th:nth-of-type(1),
.ofcTable th:nth-last-of-type(1) {
    text-align: left;
}

/* .ofcTable tbody {
} */

.ofcTable tr {
    position: static;
    display: table-row;
}
.ofcTable td,
.ofcTable td:empty {
    display: table-cell;
    vertical-align: top;
    padding: 1rem 0.5rem;
    border: 1px solid #eee;
}

.ofcTable tbody {
    display: table-row-group;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: none;
}
.ofcTable .date,
.ofcTable .dataType,
.ofcTable .portCol {
    color: inherit;
    background-color: transparent;
    font-weight: 400;
    padding: 1rem 0.5rem;
}
.ofcTable .portCol {
    position: static;
    display: table-cell;
    padding: 0.3rem;
}
.ofcTable .portName {
    color: #003594;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none !important;
}
.ofcTable .portSectionToggler {
    display: none;
}
.ofcTable .portSections {
    position: static;
    display: block;
    font-weight: 400;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0.1rem;
    /* text-align: right; */
}
.ofcTable .portSectionsBackdrop {
    display: none;
}
.ofcTable .portSections:before {
    display: none;
}
.ofcTable .portSections a {
    display: inline-block;
    visibility: visible;
    padding: 0;
    /* color: #707070;
    font-weight: 400; */
    color: #707070;
    margin-right: 0.5rem;
}
.ofcTable .portSections a:before {
    display: none;
}
.ofcTable .portSections a:after {
    display: none;
}
.ofcTable .dataType {
    text-align: right;
    padding-right: 1rem;
    color: grey;
    font-size: 90%;
    border-bottom: 1px solid #eee;
    white-space: normal;
}
.ofcTable .date {
    /* border-bottom: none; */
    white-space: normal;
    padding-left: 0.5rem;
}
.ofcTable .date:before {
    display: none;
}
.ofcTable .date:after {
    display: none;
}
.ofcTable td[data-fuel-type] {
    display: table-cell;
    padding: 1rem 0.5rem;
    text-align: right;
}
.ofcTable td[data-fuel-type]:before {
    display: none;
}
.ofcTable .comparison {
    padding: 1rem 0.5rem;
    text-align: right;
}
.ofcTable .comparisonLink span {
    display: block;
}
.ofcTable .comparisonLink:before {
    display: none;
}
.change {
    display: inline-block;
}
.ofcTable .date.today {
    font-weight: var(--extra-bold);
}

}


.top {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}
.top label {
    display: block;
    margin-bottom: 0.2rem;
}
.top select {
    width: 100%;
    font-family: inherit;
    padding: 0.8rem;
    font-size: inherit;
    background-color:  #f9f9f9;
    border: 1.5px solid #e4e3ed;
    
    -webkit-appearance: none;
    -moz-appearance: none; 
      
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 97%;
    background-position-y: 10px;

    outline: none;
    resize: none;
    border-radius: 3px;
}
.registerTd {
    display: table-cell;
    text-align: center !important; 
    vertical-align: middle !important;
}

.tableNote {
    display: block;
    text-align: right;
    margin: 0 1rem 0.5rem 1rem;
    font-size: 90%;
    color: grey;
}

.fa {
    font-size: 1.5em;
    margin-top: 10px;
    margin-right: 10px;
}