*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    font-size: calc(1em * .625);
}

body {
    background-color: #efefef;
    font-family: "Roboto", Arial, Tahoma, Verdana, Helvetica, sans-serif;
    font-size: 1.5rem;
    line-height: 1.7rem;
    color: #29353a;
    width: 100%;
    height: 100%;
}

.container {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    max-width: 414px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.content {
    padding: 6rem 1.5rem 2rem;
    height: 100%;
    overflow-y: auto;
}

/*Titres*/

a {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: normal;
}

h2 {
    font-weight: 600;
    margin-bottom: 2.5rem;
    font-size: 1.6rem;
}

h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Structure pages auth */

.contentStart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    margin: -2.5rem 0 0;
    padding: 0 2rem;
}

.headerAuth {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    height: 4.4rem;
    background-color: #29353a;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.contentAuth {
    padding: 1rem 2rem 0;
}

/*Top nav info, véhicule, ...*/

.top-nav {
    background-color: #29353a;
    position: sticky;
    top: 4.4rem;
    display: none;
}

.top-nav ul {
    margin: 0 0.7rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    list-style: none;
}

.top-nav li {
    flex: 1 1 auto;
}

.top-nav a {
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b2b2b2;
    font-size: 1.3rem;
    line-height: 0;
    border-bottom: 3px solid transparent;
}

.top-nav a:hover {
    color: #ffffff;
}

.top-nav a:focus,
.top-nav a.active {
    color: #b3d143;
    border-bottom: 3px solid #b3d143;
}

/* Header + menu top */


.container .header {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
}


.header {
    background: #29353a;
    overflow: hidden;
    height: 4.4rem;
    width: 100%;
    z-index: 2;
    position: fixed;
    -webkit-transition: all 0.4s ease-out, background 1s ease-out;
    -o-transition: all 0.4s ease-out, background 1s ease-out;
    transition: all 0.4s ease-out, background 1s ease-out;
    color: #ffffff;
}

.headerElement,
.headerIcon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.menu-open {
    height: 100%;
    background: #29353a;
    -webkit-transition: all 0.45s ease-out, background 0.8s ease-out;
    -o-transition: all 0.45s ease-out, background 0.8s ease-out;
    transition: all 0.45s ease-out, background 0.8s ease-out;
}


.headerTitre {
    margin-left: 2rem;
}

/* Header + menu top - Menu List items */


.mobileMenu {
    clear: both;
}

.header ul.menu {
    position: relative;
    display: block;
    padding: 0px 40px 0;
    list-style: none;
}

.header ul.menu li.menu-item a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    line-height: 2.8;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
}

.header ul.menu li.menu-item {
    border-bottom: 1px solid rgba(100, 100, 100, 0.8);
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

.header ul.menu li.menu-item:nth-child(1) {
    transition-delay: 0.35s;
}

.header ul.menu li.menu-item:nth-child(2) {
    transition-delay: 0.3s;
}

.header ul.menu li.menu-item:nth-child(3) {
    transition-delay: 0.25s;
}

.header ul.menu li.menu-item:nth-child(4) {
    transition-delay: 0.2s;
}

.header ul.menu li.menu-item:nth-child(5) {
    transition-delay: 0.15s;
}

.header ul.menu li.menu-item:nth-child(6) {
    transition-delay: 0.1s;
}

.header.menu-open ul.menu li.menu-item {
    opacity: 1;
}

.header.menu-open ul.menu li.menu-item:nth-child(1) {
    transition-delay: 0.05s;
}

.header.menu-open ul.menu li.menu-item:nth-child(2) {
    transition-delay: 0.1s;
}

.header.menu-open ul.menu li.menu-item:nth-child(3) {
    transition-delay: 0.15s;
}

.header.menu-open ul.menu li.menu-item:nth-child(4) {
    transition-delay: 0.2s;
}

.header.menu-open ul.menu li.menu-item:nth-child(5) {
    transition-delay: 0.25s;
}

.header.menu-open ul.menu li.menu-item:nth-child(6) {
    transition-delay: 0.3s;
}

/* Header + menu top - Menu Icon */

.headerIconMenu {
    position: relative;
    display: inline-block;
    z-index: 2;
    float: right;
    /* Simply change property to float left to switch icon side :) */
    height: 44px;
    width: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

.headerIconMenu #menuicon {
    width: 20px;
    height: 10px;
    position: relative;
    display: block;
    margin: -4px auto 0;
    top: 50%;
}

#menuicon .bar {
    width: 100%;
    height: 1px;
    display: block;
    position: relative;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

#menuicon .bar.bar1 {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
}

#menuicon .bar.bar2 {
    -webkit-transform: translateY(6px) rotate(0deg);
    transform: translateY(6px) rotate(0deg);
}

.menu-open .headerIconMenu {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.menu-open .headerIconMenu #menuicon .bar {
    transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0.1s;
}

.menu-open .headerIconMenu #menuicon .bar.bar1 {
    -webkit-transform: translateY(4px) rotate(45deg);
    transform: translateY(4px) rotate(45deg);
}

.menu-open .headerIconMenu #menuicon .bar.bar2 {
    -webkit-transform: translateY(3px) rotate(-45deg);
    transform: translateY(3px) rotate(-45deg);
}

/*Nav bar bottom*/

.main-nav {
    background-color: #29353a;
    position: sticky;
    bottom: 0;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
}

.main-nav li {
    flex: 1 1 auto;
}

.main-nav a {
    padding: 0.5rem 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 0;
}

.main-nav div {
    margin-top: 0.8rem;
}

.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active {
    color: #b3d143;
}

.main-nav a:hover svg,
.main-nav a:focus svg,
.main-nav a.active svg {
    stroke: #b3d143;
}

.main-nav .icon {
    height: 18px;
    stroke: #ffffff;
    stroke-width: 2px;
    fill: none;
    stroke-miterlimit: 10;
}

/* Form */

.element {
    margin: 0.8rem 0 2rem;
}

.elementCourt input {
    max-width: 10rem;
}

input,
textarea,
select,
.btn {
    width: 100%;
    padding: 12px 14px;
    margin: 8px 0;
    display: block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

input[type=submit],
button,
.btn {
    cursor: pointer;
    color: #29353a;
    background-color: #b3d143;
    padding: 12px 14px;
    margin: 8px 0;
    display: inline-block;
    border: 0;
    font-family: inherit;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
}

input[type=submit]:hover,
.btn:hover {
    background-color: #a3c02e;
}

.btndiscret {
    background-color: transparent;
    border: 1px solid #bccd28;
}

.btndiscret:hover {
    background-color: transparent;
    color: black;
}

.btnGris {
    background-color: #29353a;
    color: #ffffff;
}

.btnGris:hover {
    background-color: #151b1d;
}

input:focus,
textarea:focus,
select:focus,
textarea:focus {
    border: 1px solid #3474C1;
}

textarea {
    resize: none;
    height: 20rem;
}

input[type=file] {
    padding: 12px 0;
    border: 0;
}

label {
    color: #808080;
    padding-top: 1rem;
}

dd {
    margin-bottom: 2.5rem;
    position: relative;
}

::placeholder {
    color: #B0B0B2;
}

.switch input:checked + label::before {
    background-color: #b3d143;
}

.errors {
    font-size: 1.2rem;
    color: #D24343;
    margin-bottom: 2rem;
}

.error {
    border: 1px solid #df7b7b;
}

.autocomplete,
.eyeIcon {
    padding-right: 3.5rem;
    background-position: right 1rem bottom 50%;
    background-repeat: no-repeat;
}

.autocomplete {
    background-image: url('/images/search.png');
}

.eyeOpen {
    background-image: url('/images/eye-open.png');
}

.eyeSlash {
    background-image: url('/images/eye-slash.png');
}

.mdpVisible {
    position: absolute;
    background-color: transparent;
    top: 0;
    right: 0;
    padding: 1rem 0.5rem;
    margin: 0;
}

/* Ecran de démarrage - Se connecter */

#baseline {
    font-weight: 800;
    font-size: 1.5rem;
    margin: 3rem 0 5rem;
}

.mdpOublie {
    font-size: 1.2rem;
    color: #B0B0B2;
    text-align: center;
}

.mdpOublie:hover {
    color: #29353a;
}


#progressbar {
    margin-bottom: 2.5rem;
    overflow: hidden;
    counter-reset: step;
    text-align: center;
    display: flex;
    justify-content: center;
}

#progressbar li {
    margin: 0 1rem;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 2rem;
    line-height: 2rem;
    display: block;
    font-size: 10px;
    color: #cccccc;
    border-radius: 50%;
    border: 1px solid #cccccc;
    font-weight: bold;
}

#progressbar li.active:before {
    background: #b3d143;
    border: 1px solid #b3d143;
    color: white;
}

#stepForm .previous,
#stepForm .previousChoixBadge {
    background-color: transparent;
    text-transform: inherit;
    font-size: 1.4rem;
}

#stepForm .previous:hover,
#stepForm .previousChoixBadge:hover {
    background-color: transparent;
    color: black;
}

#adressBadge,
#numBadge {
    display: none;
}

/*Home mon compte*/

.homeBtn {
    margin-bottom: 3rem;
    padding: 0 3rem;
}

.homeList h3,
.homeCharge h3,
.lastCharge h3 {
    font-size: 1.8rem;
}

.homeList > a > div {
    border-top: 1px solid #e6e7e8;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.homeList {
    border-bottom: 1px solid #e6e7e8;
    margin-bottom: 2rem;
}

/*
.homeList > a:hover{
    color: #b3d143;
}
*/

.infosChargeHome {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    border-top: 1px solid #e6e7e8;
    flex: 0 0 auto;
    text-align: center;
    width: 100%;
}

.infosChargeHome > div {
    flex: 1;
}

.infosChargeHome .legende{
    font-size: 1.4rem;
}

.homeList > a > div > div:last-child {
    text-align: center;
    width: 4rem;
}

.homeList svg {
    height: 3rem;
    stroke: #3f404c;
    stroke-width: 2px;
    fill: none;
    stroke-miterlimit: 10;
}

.homeCharge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    text-align: center;
}

.lastCharge {
    padding: 2rem;
}

.titreCharge {
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: bold;
}

.dataCharge {
    margin-bottom: 0.6rem;
}

.consoCharge {
    min-height: 2.8rem;
}

.charge h3{
    color: #b3d143;
}

.infosCharge {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    align-content: stretch;
    border-bottom: 1px solid #e6e7e8;
    padding: 0 0.8rem 0 0.8rem;
    margin-bottom: 2rem;
    margin: 0 -0.5rem 2rem;
}

.infosCharge > div {
    margin: 1rem 0;
}

.loader-block {
    position: relative;
    width: 17rem;
    height: 17rem;
}

.header .loader-block {
    width: 2.8rem;
    height: 2.8rem;
    margin-right: 1rem;
}

.loader {
    width: 100%;
    height: 100%;
    border: 0.8rem solid #f3f3f3;
    border-radius: 50%;
    border-top: 0.8rem solid #b3d143;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}
.loader.finish {
    border: 0.8rem solid #b3d143;
    -webkit-animation: none;
    animation: none;
}

.header .loader {
    border: 0.5rem solid #43575f;
    border-top: 0.5rem solid #b3d143;
}

.loaderItem {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-align: center;
    line-height: 3.2rem;
    font-weight: 500;
    font-size: 3rem;
}

.loaderItem span {
    font-weight: normal;
    font-size: 1.8rem;
    color: #949a9c;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btnRond {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: #b3d143;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.btnRond:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

.btnRond svg {
    width: 3.6rem;
    height: 3.6rem;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: square;
}

/*Page budget*/

.enteteBudget {
    text-align: center;
}

.dateBudget {
    display: flex;
    justify-content: center;
}

.dateBudget > div {
    margin: 0 1rem;
}

/*Listing des sites*/

.listingSite img {
    overflow: hidden;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.siteItem {
    display: grid;
    grid-template-columns: 11rem auto;
    border-bottom: 1px solid #cccccc;
    padding: 2rem 0;
}

.listingSite > div:last-child .siteItem{
    border-bottom: 0;
}

.siteItem > div {
    margin-right: 2rem;
}

.legende {
    color: #949a9c;
    font-size: 1.3rem;
}

.siteInfos,
.listingBornes {
    padding: 1rem 0;
}

.siteInfos {
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-bottom: 1px solid #cccccc;
}

.siteInfos > div {
    margin: 1rem 0;
}

.siteInfos svg{
    margin: 1.3rem;
    stroke: #AEB7C2;
    fill: none;
    stroke-width: 1;
    stroke-miterlimit: 10;
    width: 2.2rem;
}

.elementBorne {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 5px solid #ffffff;
    background-color: #f7f7f5;
    padding: 0.5rem 1.5rem;
}

.elementBorne > div {
    margin: 1rem 0;
}

.iconTypeEvse{
    stroke: #29353a;
    fill: none;
    stroke-width: 1;
    stroke-miterlimit: 10;
    width: 3rem;
    margin-bottom: 0.5rem;
}

.homeChargeTarif {
    border-top: 1px solid #cccccc;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.siteItem .legende {
    margin: 0.5rem 0 1rem;
    font-size: 1.3rem;
}

.listBorneEtat {
    font-size: 1.4rem;
    margin-top: 1rem;
    color: #949a9c;
}

.listBorneEtat > span::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.6rem;
}

.listBorneLibre{
    font-weight: bold;
    color: #a4c42f;
}

.listBorneNonLibre{
    font-weight: bold;
    color: #7C9299;
}

.listBorneLibre::before {
    background: #b3d143;
}

.listBorneNonLibre::before {
    background: #7C9299;
}

/*Détail d'un site*/

.sitePhoto {
    margin: -3rem -1.5rem 0;
}

.sitePhoto img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

.siteInfos svg {
    margin: 0 1rem 0 0;
}

.siteInfos {
    font-size: 1.4rem;
}

.siteInfos > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.borneName {
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    margin: 2rem 0 1rem;
}

.iconLancerCharge {
    fill: #b3d143;
    width: 6.4rem;
    height: 6.4rem;
}

.libre,
.horsService,
.enAttente,
.enCharge,
.enErreur
{
    margin-top: 0.7rem;
}

.libre::before,
.horsService::before,
.enAttente::before,
.enCharge::before,
.enErreur::before
{
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.6rem;
}

.libre::before {
    background: #b3d143;
}

.enCharge::before,
.enAttente::before
{
    background: #ea9010;
}

.libre {
    color: #a4c42f;
    font-weight: bold;
}

.enCharge,
.enAttente
{
    color: #ea9010;
    font-weight: bold;
}


.horsService::before,
.enErreur::before
{
    background: #7C9299;
}

.horsService,
.enErreur
{
    color: #7C9299;
}

.startCharge {
    margin-top: 1rem;
    font-size: 1.4rem;
    line-height: 1.4rem;
    text-align: center;
}

.startCharge div{
    margin-top: 0.8rem;
}

.pdcName{
    font-weight: bold;
}

/*Factures*/

.facture {
    display: flex;
    border-bottom: 1px solid #cccccc;
    padding: 2rem 0;
}

.facture > div:first-child {
    min-width: 30%;
}

/*J'ai perdu mon badge*/

.adressNxBadge {
    margin: 1rem 0 2.5rem;
}
