@import url('https://fonts.googleapis.com/css?family=Montserrat:800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,700&display=swap');

.font-logo {
  font-family: 'Montserrat', sans-serif !important;
}

.bg-primary {
  background: #545454;
}

.bg-accent {
  background: #8dc63f;
}

.bg-neutral {
  background: #787878;
}

.bg-neutral2 {
  background: #DADADA;
}

.bg-neutral3 {
  background: #F5F5F5;
}

.text-primary {
  color: #545454;
}

.text-accent {
  color: #8dc63f;
}

.carte {
  background: #FFF;
  border-radius: 10px;
  padding: 10px;
}

body {
  font-family: 'Poppins', sans-serif !important;
}

html, body {
  padding: 0;
  margin: 0;
}

.space {
  flex-grow: 1;
}

.btn-primary {
  background: #95c221;
  color: #533428;
  padding: 10px 10px;
  text-decoration: none;
  font-weight: normal;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.btn-primary:not(.no-shadow)::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12);
}

.btn-primary:not(.no-hover):hover {
  color: white;
  background: #533428;
}

.btn-secondary {
  color: #545454;
  border: 1px solid #545454;
  padding: 10px 10px;
  text-decoration: none;
  font-weight: normal;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
}

.btn-secondary:not(.no-hover):hover {
  background: #FFCD1C;
  border-color: transparent;
}

.btn-text {
  text-decoration: none;
  color: #00733f;
  font-size: 0.9rem;
  font-weight: normal;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.text-logo,
.text-logo a {
  color: #545454;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.125rem;
  text-decoration: none;
}

/* On enleve le style par defaut sur iOS */
input.btn-primary, input.btn-secondary {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

form {
  max-width: 350px;
  min-width: 250px;
  width: 100%;
}

form .form-row {
  margin: auto;
  text-align: left;
}

.errorlist,
.formerror {
  padding: 0px;
  font-size: 0.8rem;
  color: red;
}

.formerror {
  text-align: center;
}

.errorlist li {
  list-style-type: none;
  padding: 0px;
}

form .fielderrors {
  text-align: left;
}

form a {
  color: rgb(80, 153, 144);
  text-decoration: none;
  font-size: 0.8rem;
}

form label {
  font-size: 0.9rem;
  color: rgb(80, 153, 144);
}

form input:not([type="submit"]):not([type="radio"]) {
  padding: 15px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

form select {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

form .help {
  text-align: right;
  font-size: 0.8rem;
}

form .helptext {
  color: rgb(80, 153, 144);
  font-size: 0.7rem;
}

form .submit-div {
  text-align: right;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap-reverse;
}

.error {
  color: red;
}

.top_error {
  text-align: center;
  margin-bottom: 25px;
}
