@import url("https://fonts.googleapis.com/css?family=Nunito&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
}

body {
  background: #f5f6f7;
  font-family: "Nunito", sans-serif;
}

main {
  width: 100%;
  position: relative;
}

/* Create a top navigation bar with a black background color  */
.topnav {
  background-color: #333;
}

#logo{
  width:  79.74px;
  height: 54.98px;
}

/* Style the links inside the navigation bar */
.topnav .nav-element a {
  text-decoration: none;
  padding: 14px 16px;
  font-size: 17px;
  background-color: #d0643d  /*# e62535 */;
  color: white;
}

.footer {
  position: relative;
  bottom: 0;
  background-color: #333;
  color: white;
}

.footer ul li {
  list-style: none;
  padding: 10px 0;
}

.footer ul li a {
  text-decoration: none;
  color: white;
}

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/bannerIA.jpg");
  height: 350px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

.contact {
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

.stepper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.step--1,
.step--2,
.step--3 {
  width: 15rem;
  padding: 0.5rem 0;
  background: #fff;
  color: #d0643d  /*# e62535 */;
  text-align: center;
}

.form {
  background: #fff;
  position: relative;
  width: 100%;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(51, 51, 51, 0.2);
  display: none;
  overflow: hidden;
}

#btn-print,
#div-delivery,
#btn-new-subscription {
  display: none;
}

input:focus,
select:focus {
  border-color: #d0643d  /*# e62535 */ !important;
  box-shadow: none !important;
  outline: 0 none !important;
}

.etoile {
  color: red;
}

.form--header-container {
  background: #d0643d  /*# e62535 */;
  color: #fff;
  height: 3.7rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

.form-check-input:checked {
  background-color: #d0643d  /*# e62535 */ !important;
  border-color: #d0643d  /*# e62535 */ !important;
}

.form--header-title {
  font-size: 1.4rem;
}

.form--header-text {
  padding: 0.5rem 0;
}

.form-active {
  z-index: 1000;
  display: block;
}

.form-active-animate {
  animation: fadeIn 1s ease-in-out;
}

.form-inactive {
  display: none;
  animation: fadeOut 1s ease-in-out;
}

#div-code,
#formsouscripteurassure,
#loader {
  display: none;
}

.step-active {
  background: #d0643d  /*# e62535 */;
  color: #fff;
  border: 1px solid #d0643d  /*# e62535 */;
}

.switch {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 20px;
  cursor: pointer;
  overflow: hidden;
}

.switch input {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 0;
  height: 0;
}

.switch input + span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #b8b8b8dc;
}

.switch input:checked + span {
  background: #d0643d  /*# e62535 */;
}

.switch input + span:before {
  content: "Non";
  display: inline-block;
  position: absolute;
  font-size: 15px;
  text-align: center;
  line-height: 30px;
  top: 50%;
  left: 4px;
  width: 32px;
  height: 32px;
  background: white;
  transform: translateY(-50%);
  transition: all 0.5s;
}

.switch input:checked + span:before {
  content: "Oui";
  left: 34px;
}

.banner {
  width: 100%;
  position: relative;
}

.banner-bg-img {
  width: 100%;
  height: 350px;
  opacity: 0.5;
}

.banner-logo {
  text-align: center;
}

.banner-logo-img {
  width: 300px;
  height: 100px;
}

.banner-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* Fond sombre (backdrop) */
.modal-backdrop {
  z-index:0;
  /* z-index: 1040; */
  /* Bootstrap default: 1040 */
  background-color: rgba(0, 0, 0, 0.5);
}


.loader {
  width: 48px;
  height: 48px;
  border: 3px solid #fff;
  border-radius: 50%;
  display: block;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: #ff3d00;
}


@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Small screens (portrait phones) */
@media (max-width: 767px) {
  .banner-logo-img {
    width: 180px;
    height: 80px;
  }
  .banner_text {
    font-size: 1.3rem;
  }
}

/* Medium screens (portrait tablets) */
@media (min-width: 768px) and (max-width: 1024px) {
  .banner_logo > .img {
    width: 35%;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .banner_logo > .img {
    width: 20%;
  }
}
