.autonomy-container {
  width: 100%;
  margin-top: 7%;
}

#cms .autonomy-container {
  max-width: 650px;
  margin: 7% auto 0;
}
.autonomy-container .panel {
  box-shadow: 10px 10px 5px #888888;
}

.autonomy-container .btn:hover {
  color: #000 !important;
}

.autonomy-container .panel-body {
  padding: 10px 15px;
}
.autonomy-container .panel-body .row {
  padding: 6px 0;
}
.autonomy-container label,
.autonomy-container p {
  font-size: 12px;
}
.autonomy-container .form-group {
  margin: 0;
}
.autonomy-container .input-number,
.autonomy-container .btn-number {
  text-align: center;
}
.autonomy-container .input-number {
  padding: 6px 0;
  min-width: 40px !important;
}
.autonomy-container .error-label {
  margin-top: 15px;
}

.autonomy-container .alignright {
  text-align: right;
  float: right;
}

.autonomy-container .font18 {
  font-size: 24px;
  color: #f39c12;
  font-weight: bolder;
}

.autonomy-container .font16 {
  font-size: 16px;
  color: #656d78;
}

.autonomy-container .panel-primary > .panel-heading {
  color: #fff;
  background-color: #656d78;
  border-color: #656d78;
}

.autonomy-container .panel-primary {
  border-color: #656d78;
}

#block-right {
  width: 25%;
  height: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 10%;
}

.btn-calculate {
  color: #fff;
  background-color: #f39c12;
  border-color: #d58403;
  display: block !important;
  margin-top: 10px;
  height: 80px;
  width: 184px;
  border-radius: 10px;
  font-size: 16px;
}

.custom_button_autonomy {
  border: none;
  background: orange;
  color: white;
}
#autonomy-bloc .block-left {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.results-container {
  height: 70%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

#cms .btn-calculate {
  max-width: 100%;
  width: 100%;
  margin-top: 20px;
}

.btn-calculate:hover {
  /* color: #fff;
  background-color: #656d78; */
  background-color: #f39c12;
  transform: scale(1.1);
}

#total_km {
  font-size: 28px;
  color: #f39c12;
  font-weight: bolder;
  display: block;
  width: 50px;
  text-align: center;
}

#cms #total_km {
  margin-top: -10px;
}
.autonomy-container .results-container {
  text-align: left;
  margin: 0 5px;
}
.autonomy-container .results {
  border-top: 1px solid #ddd;
  padding: 10px 0;
}

#autonomy-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
#autonomy-bloc {
  max-width: 840px;
  width: 60%;
  box-shadow: 3px 2px 6px black;
  border-radius: 8px;
}
#autonomy-bloc > div:nth-child(1) {
  background-color: #4b4b4c;
  color: white;
  border-radius: 8px;
  padding: 20px;
  font-size: 24px;
}
#autonomy-bloc > div:nth-child(2) {
  height: 300px;
  padding: 20px;
  display: flex;
  justify-content: space-around;
}
#bloc-left {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
#bloc-left > .block-left > div:nth-child(1) {
  color: black;
  width: 50%;
}
#bloc-left > .block-left > div:nth-child(2) {
  width: 38%;
}
#auto1,
#amper1 {
  text-align: center;
  color: black;
  font-size: 18px;
}
#bloc-left > div > div.input-group > span > button > span {
  color: black;
  font-size: 18px;
}
#bloc-left > div:nth-child(3) > div:nth-child(1) > label {
  text-align: left;
}
#amper2 {
  color: black;
  border: 1px solid black;
}
#bloc-right > div > div:nth-child(1) {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  text-align: center;
}
#bloc-right > div > div:nth-child(1) > label {
  font-size: 18px;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
#bloc-right > div > div:nth-child(2) {
  display: flex;
  align-items: center;
}
#bloc-right > div > div:nth-child(2) > label:nth-child(1) {
  text-align: left;
  font-size: 18px;
  width: 60%;
}
#autonomy-info-bulle {
  width: 32%;
}
#autonomy-info-bulle > div:nth-child(1) {
  margin-bottom: 20px;
}
#autonomy-info-bulle > div {
 
  background-color: #e4e4e4;
  padding: 20px;
  text-align: justify;
  border-radius: 5%;
}
#autonomy-info-bulle > div:nth-child(1) > span {
  font-weight: 600;
}
#autonomy-info-bulle> div > p {
  font-size: 18px;
  color: black;
}
#autonomy-info-bulle > div:nth-child(1) > ul {
  padding-left: 21px;
  margin-top: 8px;
}
#autonomy-info-bulle > div:nth-child(1) > ul > li {
  list-style: disc;
}
#autonomy-info-bulle> div > p:nth-child(2),
#autonomy-info-bulle> div > p:nth-child(3) {
  display: flex;
  align-items: center;
}
#autonomy-info-bulle> div > p:nth-child(2) > a {
  color: #ff8100;
  margin-left: 10px;
}
#autonomy-info-bulle> div > p:nth-child(3) > a {
  color: #466eff;
  margin-left: 10px;
}
#autonomy-info-bulle p.asterisque-fiche-technique{
font-size: 11px;
}
@media (max-width: 1200px) {
  #autonomy-section {
    flex-direction: column;
  }
  #autonomy-section > div {
    width: 100% !important;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 767px) {
  .autonomy-container {
    margin-top: 0px;
    width: auto;
  }
  .autonomy-container h2 {
    font-size: 20px;
  }
  .autonomy-container .panel {
    box-shadow: none;
  }
  .autonomy-container .error-label {
    margin-left: -15px;
    margin-top: 5px;
  }
  .autonomy-container .results-container {
    margin: 0 20px;
  }
  .autonomy-container .results {
    padding: 10px 15px;
  }
  .btn-calculate {
    display: block;
  }
  #autonomy-bloc > div:nth-child(2) {
    height: auto;
    flex-direction: column;
  }
  #bloc-left {
    width: 100%;
  }
  #autonomy-bloc .block-left {
    flex-direction: column;
  }
  #bloc-left > div > div:nth-child(1) {
    width: 100% !important;
    text-align: center;
  }
  #bloc-left > div > div:nth-child(2) {
    width: 170px !important;
  }
  #bloc-right > div > div:nth-child(1),
  #bloc-right > div > div:nth-child(1) > label,
  #bloc-right > div > div:nth-child(2) > label:nth-child(1),
  #total_km {
    text-align: left;
  }
  
  #bloc-left > div:nth-child(3) > div:nth-child(1) > label {
    text-align: center;
  }
  #bloc-right > div > div:nth-child(2) {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #bloc-right > div > div:nth-child(2) > label:nth-child(1) {
    width: 50%;
  }
  #bloc-left > div:nth-child(2) > div:nth-child(1),
  #bloc-left > div:nth-child(3) > div:nth-child(1) {
    margin-top: 15px;
  }
  #bloc-left > div:nth-child(1) > div:nth-child(1),
  #bloc-left > div:nth-child(2) > div:nth-child(1) {
    margin-bottom: 3px;
  }
  #bloc-right > div:nth-child(2) {
    display: flex;
    justify-content: center;
  }
  #btn-calculate {
    width: 320px;
  }
}
