/*========================================================
                      Contact Form
=========================================================*/
/* MF
========================================================*/
.contact-form .mailform {
  position: relative;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.contact-form .mailform fieldset {
  border: none;
  display: inline-block;
}
.contact-form .mailform * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.contact-form .mailform label {
  position: relative;
  display: inline-block;
  width: 32%;
  margin-top: 0;
  margin-right: 1%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.contact-form .mailform label:first-child {
  margin-top: 0;
}
.contact-form .mailform label input, .contact-form .mailform label select, .contact-form .mailform label textarea {
  display: block;
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  outline: none;
  font-family: Arial, sans-serif;
  font-size: 14px;
  padding: 10px 15px 11px;
  line-height: 18px;
  color: #cacaca;
  background: #fff;
  border: 1px solid #e2e2e2;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.contact-form .mailform label input:-moz-placeholder, .contact-form .mailform label select:-moz-placeholder, .contact-form .mailform label textarea:-moz-placeholder {
  color: #cacaca;
  opacity: 1;
}
.contact-form .mailform label input::-webkit-input-placeholder, .contact-form .mailform label select::-webkit-input-placeholder, .contact-form .mailform label textarea::-webkit-input-placeholder {
  color: #cacaca;
  opacity: 1;
}
.contact-form .mailform label input::-moz-placeholder, .contact-form .mailform label select::-moz-placeholder, .contact-form .mailform label textarea::-moz-placeholder {
  color: #cacaca;
  opacity: 1;
}
.contact-form .mailform label input:-ms-input-placeholder, .contact-form .mailform label select:-ms-input-placeholder, .contact-form .mailform label textarea:-ms-input-placeholder {
  color: #cacaca;
  opacity: 1;
}
.contact-form .mailform label textarea {
  resize: vertical;
  overflow: auto;
  height: 157px;
}
.contact-form .mailform label.textarea {
  width: 100%;
  margin-top: 10px;
}
@media (max-width: 1199px) {
  .contact-form .mailform label {
    width: 100%;
    text-align: left;
  }
  .contact-form .mailform label + label {
    margin-top: 10px;
  }
}

@-ms-keyframes fout {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(0) translateX(0);
  }
}
@-o-keyframes fout {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(0) translateX(0);
  }
}
@-webkit-keyframes fout {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(0) translateX(0);
  }
}
@-moz-keyframes fout {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(0) translateX(0);
  }
}
@keyframes fout {
  0% {
    transform: scale(1) translateX(0);
  }
  100% {
    transform: scale(0) translateX(0);
  }
}
/* Mail Form PlaceHolder
========================================================*/
.contact-form .mfPlaceHolder {
  font: inherit;
  cursor: text;
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 15px 11px;
  line-height: 18px;
  color: #cacaca;
  opacity: 1;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
*:-webkit-autofill ~ .contact-form .mfPlaceHolder {
  font-size: 10px;
  -moz-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
  -o-transform: translateY(-30%);
  -webkit-transform: translateY(-30%);
  transform: translateY(-30%);
}
.contact-form .mfPlaceHolder.state-1 {
  font-size: 10px;
  -moz-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
  -o-transform: translateY(-30%);
  -webkit-transform: translateY(-30%);
  transform: translateY(-30%);
}

/* Mail Form Validation
  ========================================================*/
.mfValidation {
  -moz-transform-origin: 0% 50%;
  -ms-transform-origin: 0% 50%;
  -o-transform-origin: 0% 50%;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  -webkit-animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -moz-animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -ms-animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -o-animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -webkit-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 100%;
  left: 0;
  width: 210px;
  margin-top: 20px;
  margin-left: 0;
  padding: 10px;
  min-height: 40px;
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  background: #111;
  color: #FFF;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 998;
}
.mfValidation:hover {
  background: #217dbb;
}
.mfValidation:before {
  content: '';
  position: absolute;
  left: 25px;
  bottom: 100%;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #111 transparent;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.mfValidation:hover:before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 4px 5px 4px;
  border-color: transparent transparent #217dbb transparent;
}
.mfValidation.error {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  visibility: visible;
  -webkit-animation: notifanim 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -moz-animation: notifanim 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -ms-animation: notifanim 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  -o-animation: notifanim 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
  animation: notifanim 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
}
@media (max-width: 767px) {
  .mfValidation {
    text-align: right;
    top: auto;
    left: auto;
    bottom: 0px;
    right: 10px;
    color: #D82E2E;
    background: none;
    padding: 0;
    margin: 0 0 3px;
    min-height: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  .mfValidation:before {
    display: none;
  }
  .mfValidation:hover {
    background: none;
    right: 5px;
  }
}

@-ms-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    transform: scale(0.3);
    opacity: 0;
  }
}
@-o-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    transform: scale(0.3);
    opacity: 0;
  }
}
@-webkit-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    transform: scale(0.3);
    opacity: 0;
  }
}
@-moz-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    transform: scale(0.3);
    opacity: 0;
  }
}
@keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    transform: scale(0.3);
    opacity: 0;
  }
}
@-ms-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@-o-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@-webkit-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@-moz-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* MF Controls
========================================================*/
.contact-form .mfControls {
  display: inline-block;
  word-spacing: 10px;
}
.contact-form .mfControls > * {
  position: relative;
  margin-top: 30px;
  display: inline-block;
  width: 122px;
  word-spacing: normal;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  padding: 16px 20px 17px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: #3498db;
  z-index: 2;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.contact-form .mfControls > *:hover {
  background: #217dbb;
}
.contact-form .mfControls > *:active {
  background: #196090;
}
.contact-form .mfControls > * small {
  position: absolute;
  left: 100%;
  top: 16px;
  width: 100px;
  font-weight: 300;
  margin-left: 20px;
  font-size: 14px;
  text-transform: lowercase;
  font-family: Arial;
  color: #cacaca;
}
@media (max-width: 479px) {
  .contact-form .mfControls > * small {
    top: 100%;
    left: 0;
    right: 0;
    text-align: center;
    margin-left: 0;
    margin-top: 20px;
  }
}
.contact-form .mfControls > * .cnt {
  padding: 0;
  background: none;
}
@media (max-width: 767px) {
  .contact-form .mfControls {
    width: 100%;
    margin-top: 30px;
    margin-left: 0;
    text-align: center;
  }
}

.contact-form .mfProgress .loader, .contact-form .mfProgress .loader:before, .contact-form .mfProgress .loader:after {
  right: 0;
  bottom: 0;
  top: 0;
  left: 0;
}
