/**
 *
 * ContactMe v1.6
 * https://www.21tools.it
 *
 */
 
/* Generic */

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

.contactMe * {
  outline: none !important;
}

.contactMe {
  width: auto;
  padding: 0;
  margin-top:60px;
}

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

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

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

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

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


/* 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;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

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

.contactMe input {
  height: 40px;
  border: solid 2px #7F7F7F;
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  background:transparent;
  font-family: 'Open Sans', sans-serif;
}

.contactMe textarea {
  resize: none;
  height: 100px;
  border: solid 2px #7F7F7F;
  font-size: 14px;
  line-height: 14px;
  padding: 10px;
  background:transparent;
  font-family: 'Open Sans', sans-serif;
}

.contactMe input::-webkit-input-placeholder,
.contactMe textarea::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #3E3E3E;
}

.contactMe input::-moz-placeholder,
.contactMe textarea::-moz-placeholder {
  /* Firefox 19+ */
  color: #3E3E3E;
}

.contactMe input:-ms-input-placeholder,
.contactMe textarea:-ms-input-placeholder {
  /* IE 10+ */
  color: #3E3E3E;
}

.contactMe input:-moz-placeholder,
.contactMe textarea:-moz-placeholder {
  /* Firefox 18- */
  color: #3E3E3E;
}


/* Google reCAPTCHA */

.contactMe .re-captcha {
  margin-top: 20px;
  margin-bottom: 10px;
}


/* Google Invisible reCAPTCHA */

.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;
}

.contactMe .msg.error {
  color: #FFF;
  background-color: #FFA12A;
  background-image: url(../imgs/x.png);
}

.contactMe .msg.success {
  color: #FFF;
  background-color: #800080;
  background-image: url(../imgs/tick.png);
}

.contactMe .msg strong {
  color: inherit;
}


/* Submit button */

.contactMe .btn {
  border: 0;
  background: #7F7F7F;
  color: #FFF;
  font-weight: 400;
  cursor: pointer;
  padding: 12px 40px;
  margin-top: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size:14px;
  -webkit-transition: all 320ms ease;
  transition: all 320ms ease;
}

.contactMe .btn:hover {
  opacity: 0.9;
}

@element .contactMe and (max-width:399px) {
  /* Google reCAPTCHA */
  .contactMe .re-captcha {
    -webkit-transform: scale(0.785);
    transform: scale(0.785);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
  }
  /* Google Invisible reCAPTCHA */
  .contactMe .re-captcha.invisible {
    -webkit-transform: none;
    transform: none;
  }
}