/* Energetic certificate Styles */

.estate-certificate-table {
    border-collapse: separate;
    border: 1px solid #E9E9E9;
    border-radius: 6px;
    background-color: #E9E9E9;
}

.estate-certificate-table thead tr th {
    background-color: #E9E9E9;
    font-size: 12px;
    font-family: 'Avenir LT Std', sans-serif;
}

.estate-certificate-table thead tr th:first-child {
    font-size: 10px;
}

.estate-certificate-table td, th {
    border-left: 1px solid #E9E9E9;
    border-top: 1px solid #E9E9E9;
}

.estate-certificate-table th {
    background-color: #FFFF;
    border-top: none;
}

.estate-certificate-table td:first-child, th:first-child {
    border-left: none;
}

.estate-certificate-table table tbody th:not(:first-child) {
    padding: 0;
    vertical-align: middle;
    text-align: center;
}

.estate-certificate-table .letter-item {
    font-size: 10px;
    padding: 2px 2px;
}


.estate-certificate-table .letter-item .letter-item-text {
    font-size: 6px;
    padding: 0px;
}

.table-bordered {
    border: 2px solid #E9E9E9;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 2px solid #E9E9E9;
}

.estate-certificate-table .energy-value {
    background-color: #56C9B8;
    color: #fff;
    padding: 4px 14px;
}

.estate-certificate-table .emissions-value {
    background-color: #56C9B8;
    color: #fff;
    padding: 4px 14px;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #E9E9E9;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
    border: 2px solid #E9E9E9;
}

.table>thead>tr>th {
    vertical-align: bottom;
    border-bottom: 2px solid #E9E9E9;
    font-size: 16px;
    font-family: 'Avenir LT Std', sans-serif;
}

.classA, .classB, .classC, .classD, .classE, .classF, .classG {
    position: relative;
    display: block;
    height: auto;
    padding-left: 3px;
    color: #fff;
    font-family: 'Avenir LT Std', sans-serif;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    text-align: left;
}

.classA::after, .classB::after, .classC::after, .classD::after, .classE::after, .classF::after, .classG::after {
    content: "";
    position: absolute;
    left: 100%;
    border: 11px solid transparent;
    border-left: 11px solid #fbb900;
}

.classA {
  width: 30%;
  background-color: #008404;
  border-color: #008404;
}
.classA::after {
  border-left-color: #008404;
}

.classB {
  width: 40%;
  background-color: #22bc02;
  border-color: #22bc02;
}
.classB::after {
  border-left-color: #22bc02;
}

.classC {
  width: 50%;
  background-color: #9de20b;
  border-color: #9de20b;
}
.classC::after {
  border-left-color: #9de20b;
}

.classD {
  width: 60%;
  background-color: #fee30d;
  border-color: #fee30d;
}
.classD::after {
  border-left-color: #fee30d;
}

.classE {
  width: 70%;
  background-color: #ffba0a;
  border-color: #ffba0a;
}
.classE::after {
  border-left-color: #ffba0a;
}

.classF {
  width: 80%;
  background-color: #ff6600;
  border-color: #ff6600;
}

.classF::after {
  border-left-color: #ff6600;
}

.classG {
  width: 90%;
  background-color: #ec0000;
  border-color: #ec0000;
}

.classG::after {
  border-left-color: #ec0000;
}
