@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  box-sizing: border-box;
}

/* Personality */

#payment .payment_methods > li .payment_box,
#payment .place-order {
  background-color: #f8f9fe !important;
  padding: 0 !important;
}

#payment .payment_methods li img {
  max-height: none;
}

.container-logo {
  display: flex;
  margin-bottom: 25px;
  padding-top: 25px;
}

.container-logo img {
  margin-left: 10%;
  width: 116px;
}

.container-facture {
  background-color: #ffffff;
  border-radius: 19px 19px 0 0;
  padding-top: 35px;
  width: 100%;
}

.section-facture {
  margin: 0px 10%;
}

.line {
  background-color: rgba(73, 86, 113, 0.37);
  height: 1px;
  margin-top: 5px;
  margin-bottom: 25px;
  width: 100%;
}

.title-form {
  font-size: 14px;
  color: #495671;
  font-family: "Nunito Sans";
  font-weight: 700;
}

.form-facture input,
select {
  color: #878787;
  width: 100%;
  height: 40px;
  cursor: pointer;
  border: transparent solid;
  border-radius: 100px;
  outline: none;
  padding: 0 15px;
  margin: 10px 0;
  background: #f5f7ff;
  position: relative;
}

.form-facture input:hover {
  border: 1px solid #52d6cc;
}
.form-facture input:focus {
  border: 1px solid #52d6cc;
}

select {
  /* styling */
  display: inline-block;
  font: inherit;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */

  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-facture select {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

.form-facture select:focus {
  background-image: linear-gradient(45deg, green 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, green 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em,
    calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  /* border-color: #52D6CC; */
  border: solid 1px #52d6cc;
  outline: 0;
}

.required {
  color: inherit;
}

abbr[title] {
  text-decoration: none;
}

.form-row.woocommerce-invalid input.input-text {
  box-shadow: none;
}
.form-row.woocommerce-validated input.input-text {
  box-shadow: none;
}

/* chekbox switch */

.switch-facture {
  /* position: relative;
  display: inline-block;
  width: 60px;
  height: 34px; */
  display: flex;
  align-items: center;
  align-content: center;
}

.switch-facture .input-facture {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-facture {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider-facture:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.input-facture:checked + .slider-facture {
  background-color: #52d6cc;
}

.input-facture:focus + .slider-facture {
  box-shadow: 0 0 1px #2196f3;
}

.input-facture:checked + .slider-facture:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider-facture.round {
  border-radius: 34px;
}

.slider-facture.round:before {
  border-radius: 50%;
}

.content-check {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

#checkbox-facture{
  margin-right: 5px;
}

.span-checkbox{
  color: #495671;
  font-weight: bold;
}

.input-facture-none{
  display: none;
}

.checkbox-facture .checkbox{
  height: 20px;
  display: flex;
  align-self: center;
  line-height: 20px;
  width: fit-content;
  margin: auto;
  color: #495671;
  font-weight: bold;
  margin-bottom: 20px;
}

.checkbox-facture .checkbox input {
  margin: 0;
  height: 100%;
  margin-right: 5px;
}