
.epcGraph {
    background: #fff;
    border: 4px solid #fff;
    margin-bottom: 16px;
    font-family: sans-serif;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    position: relative;
    max-width: 540px;
}

.epcGraph * {
    box-sizing: border-box; 
    white-space: nowrap;
}

.epcGraph h5 {
    margin-top: 0;
}

.epcBar {
    background: #000;
    color: #fff;
    /*margin-bottom: 4px;*/
    display: flex;
    align-items: center;
    padding: 4px 8px;
    height: 29px;
}

.epcBar:before {
    font-size: 12px;  
}

.epcBar:after {
    font-size: 18px;
    margin-right: 0;
    margin-left: auto;
}

.epcBar.epcA {
    background: #198B59;
    width: 40%;
}

.epcBar.epcB {
    background: #2EA949;
    width: 50%;
}

.epcBar.epcC {
    background: #95CA53;
    width: 60%;
}

.epcBar.epcD {
    background: #F0EB36;
    width: 70%;
}

.epcBar.epcE {
    background: #F6AE35;
    width: 80%;
}

.epcBar.epcF {
    background: #F0702F;
    width: 90%;
}

.epcBar.epcG {
    background: #E8262F;
    width: 100%;
}

.epcGraph.eir .epcBar.epcA {
    background: #099ADA;
}

.epcGraph.eir .epcBar.epcB {
    background: #23B7F6;
}

.epcGraph.eir .epcBar.epcC {
    background: #0999DE;
}

.epcGraph.eir .epcBar.epcD {
    background: #0677C4;
}

.epcGraph.eir .epcBar.epcE {
    background: #BFBFBF;
}

.epcGraph.eir .epcBar.epcF {
    background: #A1A1A1;
}

.epcGraph.eir .epcBar.epcG {
    background: #808080;
}

.epcBar.epcA:before {
    content: "(92 plus)";
}

.epcBar.epcA:after {
    content: "A";
}

.epcBar.epcB:before {
    content: "(81 - 91)";
}

.epcBar.epcB:after {
    content: "B";
}

.epcBar.epcC:before {
    content: "(69 - 80)";
}

.epcBar.epcC:after {
    content: "C";
}

.epcBar.epcD:before {
    content: "(55 - 68)";
}

.epcBar.epcD:after {
    content: "D";
}

.epcBar.epcE:before {
    content: "(39 - 54)";
}

.epcBar.epcE:after {
    content: "E";
}

.epcBar.epcF:before {
    content: "(21 - 38)";
}

.epcBar.epcF:after {
    content: "F";
}

.epcBar.epcG:before {
    content: "(1 - 20)";
}

.epcBar.epcG:after {
    content: "G";
}

.epcGraph .overall {
    margin-right: 4px;
    width: 100%;
height: 250px;
}

.epcGraph .overall span {
    font-size: 10px;
    font-weight: bold;
    display: block;
}

.epcGraph .overall span:first-child {
    margin-bottom: 4px;
}

.epcGraph .overall span:last-child {
    margin-top: 4px;
}

.epcGraph .current,
.epcGraph .potential {
    border: 4px solid #0F739A;
    width: 90px;
height: 250px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: #fff;
}

.epcGraph .current .header,
.epcGraph .potential .header {
    border-bottom: 2px solid #0F739A;
    padding: 4px;
    text-align: center;
}

.epcGraph .current {
    border-width: 1px 1px 1px 1px;
}

.epcGraph .potential {
    border-width: 1px 1px 1px 1px;
}

.epcGraph .chart {
    position: relative;
    width: 100%;
    height: 260px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end; 
    justify-content: flex-end;
}

.epcGraph .chart .chartPointer {
    position: relative;
    background: #000;
    color: #fff;
    font-weight: bold;
    width: 95%;
    height: 35px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.epcGraph .potential .chart .chartPointer {
    z-index: 5;
}

.epcGraph .chart .chartPointer:before {
    content: "";
    background: inherit;
    width: 25px;
    height: 25px;
    position: absolute;
    transform: rotate(45deg);
    z-index: -1;
    left: -12px;
    top: 5px;
    box-shadow: -2px 2px 0px #fff;
}



.epcCommercialGraph {
    background: #fff;
    border: 4px solid #fff;
    margin-bottom: 16px;
    font-family: sans-serif;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    position: relative;
    max-width: 540px;
}

.epcCommercialGraph * {
    box-sizing: border-box; 
    white-space: nowrap;
}

.epcCommercialGraph h5 {
    margin-top: 0;
}

.epcCommercialBar {
    background: #000;
    color: #fff;
    /*margin-bottom: 4px;*/
    display: flex;
    align-items: center;
    padding: 4px 8px;
    height: 29px;
}

.epcCommercialBar:before {
    font-size: 12px;  
}

.epcCommercialBar:after {
    font-size: 18px;
    margin-right: 0;
    margin-left: auto;
}

.epcCommercialBar.epcA {
    background: #198B59;
    width: 40%;
}

.epcCommercialBar.epcB {
    background: #2EA949;
    width: 50%;
}

.epcCommercialBar.epcC {
    background: #95CA53;
    width: 60%;
}

.epcCommercialBar.epcD {
    background: #F0EB36;
    width: 70%;
}

.epcCommercialBar.epcE {
    background: #F6AE35;
    width: 80%;
}

.epcCommercialBar.epcF {
    background: #F0702F;
    width: 90%;
}

.epcCommercialBar.epcG {
    background: #E8262F;
    width: 100%;
}

.epcCommercialGraph.eir .epcCommercialBar.epcA {
    background: #099ADA;
}

.epcCommercialGraph.eir .epcCommercialBar.epcB {
    background: #23B7F6;
}

.epcCommercialGraph.eir .epcCommercialBar.epcC {
    background: #0999DE;
}

.epcCommercialGraph.eir .epcCommercialBar.epcD {
    background: #0677C4;
}

.epcCommercialGraph.eir .epcCommercialBar.epcE {
    background: #BFBFBF;
}

.epcCommercialGraph.eir .epcCommercialBar.epcF {
    background: #A1A1A1;
}

.epcCommercialGraph.eir .epcCommercialBar.epcG {
    background: #808080;
}

.epcCommercialBar.epcA:before {
    content: "0-25";
}

.epcCommercialBar.epcA:after {
    content: "A";
}

.epcCommercialBar.epcB:before {
    content: "26-50";
}

.epcCommercialBar.epcB:after {
    content: "B";
}

.epcCommercialBar.epcC:before {
    content: "51-75";
}

.epcCommercialBar.epcC:after {
    content: "C";
}

.epcCommercialBar.epcD:before {
    content: "76-100";
}

.epcCommercialBar.epcD:after {
    content: "D";
}

.epcCommercialBar.epcE:before {
    content: "101-125";
}

.epcCommercialBar.epcE:after {
    content: "E";
}

.epcCommercialBar.epcF:before {
    content: "126-150";
}

.epcCommercialBar.epcF:after {
    content: "F";
}

.epcCommercialBar.epcG:before {
    content: "Over 150";
}

.epcCommercialBar.epcG:after {
    content: "G";
}

.epcCommercialGraph .overall {
    margin-right: 4px;
    width: 100%;
height: 250px;
}

.epcCommercialGraph .overall span {
    font-size: 10px;
    font-weight: bold;
    display: block;
}

.epcCommercialGraph .overall span:first-child {
    margin-bottom: 4px;
}

.epcCommercialGraph .overall span:last-child {
    margin-top: 4px;
}

.epcCommercialGraph .current,
.epcCommercialGraph .potential {
    border: 4px solid #0F739A;
    width: 90px;
height: 250px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: #fff;
}

.epcCommercialGraph .current .header,
.epcCommercialGraph .potential .header {
    border-bottom: 2px solid #0F739A;
    padding: 4px;
    text-align: center;
}

.epcCommercialGraph .current {
    border-width: 1px 1px 1px 1px;
}

.epcCommercialGraph .potential {
    border-width: 1px 1px 1px 1px;
}

.epcCommercialGraph .chart {
    position: relative;
    width: 100%;
    height: 260px;
    flex-grow: 1;
    display: flex;
    align-items: flex-end; 
    justify-content: flex-end;
}

.epcCommercialGraph .chart .chartPointer {
    position: relative;
    background: #000;
    color: #fff;
    font-weight: bold;
    width: 95%;
    height: 35px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.epcCommercialGraph .potential .chart .chartPointer {
    z-index: 5;
}

.epcCommercialGraph .chart .chartPointer:before {
    content: "";
    background: inherit;
    width: 25px;
    height: 25px;
    position: absolute;
    transform: rotate(45deg);
    z-index: -1;
    left: -12px;
    top: 5px;
    box-shadow: -2px 2px 0px #fff;
}

