﻿@media only screen and (min-width: 992px) {
    #cp-strip picture {
        width: 70%;
    }
}

#cp-strip picture:after {
    background-color: rgba(43, 59, 55, 0.5);
    background-color: hsl(165deg 15% 20% / 50%);
}

#cp-strip label {
    color: #fff;
}
.cp-icon {
    float: left;
    font-size:  60px;
    margin: 10px 35px 0 -95px;
}
.cp-car-wrapper {
    position: relative;
    min-height: 105px;
}
.cp-car-wrapper:after {
    clear: both;
    content: '';
    display: block;
    height: 0;
    width: 100%;          
} 

.cp-car {
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 2s ease-out;
}

#cp-carbon-bubble {
    float: left;
    transition: width 2s ease-out;
}

.width-in-metres {
    border-left: solid 1px #fff;
    border-right: solid 1px #fff;
    margin: 5px 0 0 0 !important;
    opacity: 0;
    padding: 0 !important;
    position: relative;
    transition: all 0.5s ease-out;  
    text-align: center;   
}

.cp-car .width-in-metres {
    border-right: 0;
}

.width-in-metres span {
    background: #668980;
    display: inline-block;
    padding: 0 10px;
    position: relative;
}

.width-in-metres:before {
    content: '';
    display: block;
    position: absolute;     
    width: 100%;
    top: 50%;  
    border-top: dashed 1px #fff;
}

#carbon-calculator .overlay,
#carbon-calculator .react-loading-spinner {
    display: none;
}

.energy-label {
    background-color: #fff;
    padding: 3px;
    border-radius: 3px;
}

.energy-label-title {
    color: #000;
    font-weight: 600;
    margin: 0 0 3px 0 !important; 
    padding: 0 !important;
}

.energy-rating {
    color: #fff;
    display: block;
    padding: 3px 0 3px 10px;
    height: 28px;
    border-radius: 3px 0 0 3px;
    margin-bottom: 3px;
    position: relative;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.energy-rating:before {
    content: '';
    position: absolute; 
    top: 0;
    bottom: 0; 
    right: -14px;
    border-style: solid; 
    border-width: 14px 0 14px 14px;
    border-top-color: transparent;
    border-bottom-color: transparent;
}

.energy-rating:after {
    clear: both;
    content: '';
    display: block;
    height: 0;
}

.energy-rating span {
    float: right;
    font-weight: bold;
}

.energy-rating.a {
    background-color: #00b286;
    width: 85px;
}

.energy-rating.a:before {
    border-left-color: #00b286;
}

.energy-rating.b {
    background-color: #53ba46; 
    width: 100px;
}

.energy-rating.b:before {
    border-left-color: #53ba46;
}

.energy-rating.c {
    background-color: #c9e08f; 
    width: 115px;
}

.energy-rating.c:before {
    border-left-color: #c9e08f;
}

.energy-rating.d {
    background-color: #fff200; 
    width: 130px;
}

.energy-rating.d:before {
    border-left-color: #fff200;
}

.energy-rating.e {
    background-color: #efb309; 
    width: 145px;
}

.energy-rating.e:before {
    border-left-color: #efb309;
}

.energy-rating.f {
    background-color: #f58120; 
    width: 160px;
}

.energy-rating.f:before {
    border-left-color: #f58120;
}

.energy-rating.g {
    background-color: #ee1820; 
    width: 175px;
    margin-bottom: 0;
}

.energy-rating.g:before {
    border-left-color: #ee1820;
}

.label{
    color: #fff !important;
}