/**
 *
 * ContactMe - version nettoyée pour formulaire natif sans jQuery / Select2
 *
 */

/* Generic */
body {
  position: relative;
}

.contactMe,
.contactMe * {
  box-sizing: border-box;
}

.contactMe * {
  outline: none !important;
  font-size: 1.400rem;
  color: rgb(72, 72, 72);
}

.contactMe {
  width: auto;
  padding: 0;
  margin: 0 auto;
  background: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0 0 1px 0 rgba(38, 36, 34, 1);
}

.contactMe.xsmall {
  max-width: 300px;
}

.contactMe.small {
  max-width: 400px;
}

.contactMe.medium {
  max-width: 672px;
}

.contactMe > header {
  padding: 30px 30px 20px;
}

.contactMe > header > hr {
  display: none;
}

.contactMe > section {
  background: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* Form fields */
.contactMe .form-row {
  width: 100%;
  margin-bottom: 10px;
}

.contactMe .form-row.two {
  font-size: 0;
  white-space: nowrap;
}

.contactMe .form-row.two > div {
  display: inline-block;
  width: calc(50% - 5px);
}

.contactMe .form-row.two > div:first-child {
  margin-right: 10px;
}

.contactMe .form-row.three {
  font-size: 0;
}

.contactMe .form-row.three > div {
  display: inline-block;
  width: calc(33% - 6px);
  vertical-align: top;
}

.contactMe .form-row.three > div:nth-child(2) {
  width: calc(34% - 8px);
  margin-left: 10px;
  margin-right: 10px;
}

.contactMe .form-row .title {
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  margin-bottom: 3px;
  display: none;
}

.contactMe .form-row .title.keep-visible {
  display: block;
}

.contactMe .field {
  width: 100%;
  margin: 0;
  box-shadow: none;
}

.contactMe.xsmall .field {
  font-size: 13px;
}

.contactMe input,
.contactMe select.field {
  height: 40px;
  color: #777 !important;
  border: 1px solid #c4c4c4;
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  background: #fff;
  border-radius: 3px;
}

.contactMe textarea {
  resize: none;
  height: 100px;
  border: 1px solid #c4c4c4;
  font-size: 16px;
  line-height: 14px;
  padding: 10px;
  background: #fff;
  border-radius: 3px;
}

/* Select natif */
.contactMe select.field {
  padding-right: 40px;
  color: #c4c4c4;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #888 50%),
    linear-gradient(135deg, #888 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contactMe select.field:disabled {
  background-color: #f3f3f3;
  cursor: not-allowed;
}

/* options du select */
.contactMe select.field option {
  font-weight: normal;
  border-radius: 0 !important;
  color: #6f6f6f !important; /* texte plus clair */
}

/* option sélectionnée */
.contactMe select.field option:checked {
  background-color: #71a78b;
  color: #ffffff;
}

/* select actif */
.contactMe select.field:focus {
  border-color: #c4c4c4;
  outline: none;
}

/* Checkbox and Radio button styles */
.contactMe .checkbox-radio {
  height: 35px;
}

.contactMe .checkbox-radio > div {
  position: relative;
}

.contactMe .checkbox-radio > div > div {
  position: absolute;
  left: 0;
  top: 0;
}

.contactMe .checkbox-radio input[type="checkbox"],
.contactMe .checkbox-radio input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
}

.contactMe .checkbox-radio input[type="checkbox"]:checked + label:after,
.contactMe .checkbox-radio input[type="radio"]:checked + label:after {
  content: "";
  background: #71a78b;
  display: inline-block;
  position: absolute;
  top: 11px;
  left: 11px;
  width: 18px;
  height: 18px;
}

.contactMe .checkbox-radio label {
  cursor: pointer;
  padding: 0;
  margin: 0;
  display: block;
}

.contactMe .checkbox-radio label:before {
  content: "";
  width: 40px;
  height: 40px;
  border: 1px solid #c4c4c4;
  background: #fff;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
}

.contactMe .checkbox-radio.rounded label:before,
.contactMe .checkbox-radio.rounded label:after {
  border-radius: 50% !important;
}

.contactMe .checkbox-radio label > span {
  display: inline-block;
  font-size: 14px;
  line-height: 16px;
  color: #825c34;
  vertical-align: middle;
  margin-left: 7px;
}

.contactMe .checkbox-radio span.rgpd p.txt-rgpd {
  color: #727272;
}

.contactMe .checkbox-radio label.lb-rgpd {
  margin: 0 0 15px 0;
}

/* File field */
.contactMe .form-row.file {
  background-color: #fff;
  position: relative;
}

.contactMe .form-row.file input {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.contactMe .form-row.file label {
  width: 100%;
  font-size: 14px;
  line-height: 16px;
  color: #727272;
  font-weight: 200;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #c4c4c4;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 11px 10px 11px 44px;
  position: relative;
  border-radius: 3px;
  background: #fff;
}

.contactMe .form-row.file label.selected {
  color: inherit;
}

.contactMe .form-row.file label i {
  position: absolute;
  top: 7px;
  left: 10px;
  width: 24px;
  height: 24px;
  background-color: #71a78b;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: left 5px center;
  background-image: url("/images/arrow-up.png");
  border-radius: 50%;
}

.contactMe .form-row.file.unboxed label {
  border: none;
  padding: 8px 20px 8px 55px;
  font-size: 22px;
  line-height: 24px;
  color: inherit;
  background: transparent;
}

.contactMe .form-row.file.unboxed label i {
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-size: 26px 26px;
  background-position: left 7px center;
}

.contactMe .form-row + .form-row.file.unboxed,
.contactMe .form-row.file.unboxed + .form-row {
  margin-top: 20px;
}

/* Google reCAPTCHA */
.contactMe .re-captcha {
  margin-top: 20px;
  margin-bottom: 10px;
}

.contactMe .re-captcha.invisible {
  margin: 0;
}

.contactMe .grecaptcha-badge {
  display: none;
}

/* Messages box */
.contactMe .msg {
  display: none;
  padding: 12px 20px 12px 40px;
  font-size: 12px;
  line-height: 16px;
  text-transform: uppercase;
  word-break: break-word;
  margin: 20px 0 10px 0;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: left 12px top 12px;
  border-radius: 3px;
}

.contactMe .msg.error {
  color: #fff;
  background-color: #d53232;
  background-image: url(../imgs/x.png);
  margin-top: 50px;
}

.contactMe .msg.success {
  color: #fff;
  background-color: #00d466;
  background-image: url(../imgs/tick.png);
  margin-top: 50px;
}

.contactMe .msg strong {
  color: inherit;
}

/* Submit button */
.contactMe .btn {
  border: 0;
  line-height: 0.5;
  font-size: 13px;
  letter-spacing: 0.15em;
  background: #71a78b;
  color: #f7f7f7;
  font-weight: 400;
  cursor: pointer;
  padding: 10px 20px;
  margin: 0;
  border-radius: 3px;
}

.contactMe .btn:hover {
  background: rgb(92, 137, 113);
  color: #ffffff;
}

/* Theme Minimal */
.contactMe.theme-minimal {
  border: none;
  border-radius: 0;
}

.contactMe.theme-minimal input,
.contactMe.theme-minimal select.field,
.contactMe.theme-minimal textarea {
  border-width: 0 0 1px 0;
  border-radius: 0;
}

.contactMe.theme-minimal > section {
  border-radius: 0;
}

.contactMe.theme-minimal .form-row.file.boxed label {
  border-width: 0 0 1px 0;
  border-radius: 0;
  line-height: 17px;
}

/* Theme Modern */
.contactMe.theme-modern > header {
  padding-bottom: 10px;
}

.contactMe.theme-modern .form-row {
  margin-bottom: 20px;
}

.contactMe.theme-modern .form-row .title {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 12px;
  color: #858585;
  font-weight: 400;
  padding-left: 10px;
}

.contactMe.theme-modern input,
.contactMe.theme-modern select.field {
  padding-left: 20px;
  padding-right: 20px;
  background: #eaeaea;
  border-radius: 20px;
}

.contactMe.theme-modern > header input,
.contactMe.theme-modern > header select.field {
  background: #fff;
}

.contactMe.theme-modern textarea {
  padding: 15px 20px;
  background: #eaeaea;
  border-radius: 10px;
}

.contactMe.theme-modern > header textarea {
  background: #fff;
}

.contactMe.theme-modern input::-webkit-input-placeholder,
.contactMe.theme-modern textarea::-webkit-input-placeholder {
  color: transparent;
}

.contactMe.theme-modern input::-moz-placeholder,
.contactMe.theme-modern textarea::-moz-placeholder {
  color: transparent;
}

.contactMe.theme-modern input:-ms-input-placeholder,
.contactMe.theme-modern textarea:-ms-input-placeholder {
  color: transparent;
}

.contactMe.theme-modern input:-moz-placeholder,
.contactMe.theme-modern textarea:-moz-placeholder {
  color: transparent;
}

.contactMe.theme-modern .checkbox-radio label:before {
  background: #eaeaea;
  border-radius: 10px;
}

.contactMe.theme-modern .checkbox-radio label > span {
  text-transform: uppercase;
  font-size: 11px;
  line-height: 12px;
  color: #858585;
  font-weight: 400;
}

.contactMe.theme-modern .checkbox-radio input[type="checkbox"]:checked + label:after,
.contactMe.theme-modern .checkbox-radio input[type="radio"]:checked + label:after {
  border-radius: 5px;
}

.contactMe.theme-modern .form-row.file.boxed label {
  background: #eaeaea;
  padding: 14px 20px 12px 44px;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 12px;
  color: #858585;
  font-weight: 400;
  border-radius: 20px;
}

.contactMe.theme-modern .form-row.file.boxed label.selected {
  color: inherit;
  text-transform: none;
  font-size: 14px;
  line-height: 16px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-weight: 200;
}

.contactMe.theme-modern .btn {
  width: 100%;
}

