/*
* @subsection Contact Form
* @description version: 3.51.0-2014.06.20 jQuery Form Plugin, requires jQuery v1.5 or later
* @Copyright (c) 2014 M. Alsup
* @license Dual licensed under the MIT and GPL licenses - https://github.com/malsup/form#copyright-and-license
*/
/* MF
========================================================*/
.mailform {
  margin-top: 35px;
  position: relative;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
.mailform fieldset {
  border: none;
}
.mailform * {
  box-sizing: border-box;
}

.mailform label {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 10px;
}
.mailform label input {
  display: block;
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  outline: none;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  padding: 14px 38px 10px;
  line-height: 20px;
  color: #fff;
  background: none;
  border: 3px solid #fff;
  border-radius: 40px;
}
.mailform label input:-moz-placeholder {
  color: #fff;
  opacity: 1;
}
.mailform label input::-webkit-input-placeholder {
  color: #fff;
  opacity: 1;
}
.mailform label input::-moz-placeholder {
  color: #fff;
  opacity: 1;
}
.mailform label input:-ms-input-placeholder {
  color: #fff;
  opacity: 1;
}
@media (min-width: 992px) {
  .mailform label input {
    padding: 29px 38px 25px;
  }
}

@-ms-keyframes fout {
  0% {
    -ms-transform: scale(1) translateX(0);
        transform: scale(1) translateX(0);
  }
  100% {
    -ms-transform: scale(0) translateX(0);
        transform: scale(0) translateX(0);
  }
}
@-webkit-keyframes fout {
  0% {
    -webkit-transform: scale(1) translateX(0);
            transform: scale(1) translateX(0);
  }
  100% {
    -webkit-transform: scale(0) translateX(0);
            transform: scale(0) translateX(0);
  }
}
@keyframes fout {
  0% {
    -webkit-transform: scale(1) translateX(0);
            transform: scale(1) translateX(0);
  }
  100% {
    -webkit-transform: scale(0) translateX(0);
            transform: scale(0) translateX(0);
  }
}
/* Mail Form PlaceHolder
========================================================*/
.mfPlaceHolder {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  cursor: text;
  position: absolute;
  text-transform: uppercase;
  left: 0;
  top: 0;
  padding: 14px 38px 10px;
  line-height: 20px;
  color: #fff;
  opacity: 1;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
*:-webkit-autofill ~ .mfPlaceHolder {
  -ms-transform: scale(0.7) translateY(-30px);
  -webkit-transform: scale(0.7) translateY(-30px);
  transform: scale(0.7) translateY(-30px);
}
.mfPlaceHolder.state-1 {
  -ms-transform: scale(0.7) translateY(-30px);
  -webkit-transform: scale(0.7) translateY(-30px);
  transform: scale(0.7) translateY(-30px);
}
@media (max-width: 1365px) {
  *:-webkit-autofill ~ .container > .mailform .mfPlaceHolder, *:-webkit-autofill ~ .grid_12 .mfPlaceHolder {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
  .container > .mailform .mfPlaceHolder.state-1, .grid_12 .mfPlaceHolder.state-1 {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
}
@media (max-width: 979px) {
  *:-webkit-autofill ~ .grid_10 .mfPlaceHolder {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
  .grid_10 .mfPlaceHolder.state-1 {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
}
@media (max-width: 992px) {
  *:-webkit-autofill ~ .mfPlaceHolder {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
  .mfPlaceHolder.state-1 {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
}
@media (min-width: 992px) {
  .mfPlaceHolder {
    padding: 29px 38px 25px;
  }
}

/* Mail Form Validation
  ========================================================*/
.mfValidation {
  -ms-transform-origin: 0% 50%;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  text-align: right;
  position: absolute;
  top: 100%;
  left: 100%;
  margin-left: -180px;
  padding: 5px;
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  background: #111;
  color: #FFF;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  z-index: 998;
  margin-top: -55px;
}
.mfValidation:hover {
  background: #064f81;
}
.mfValidation:before {
  content: '';
  position: absolute;
  left: 93%;
  top: 67%;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 9.5px 0 9.5px;
  border-color: #111 transparent transparent transparent;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
.mfValidation:hover:before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 9.5px 0 9.5px;
  border-color: #064f81 transparent transparent transparent;
}
.mfValidation.show {
  -ms-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;
  -ms-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;
}
.mfValidation.hide {
  -webkit-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;
  animation: notifanim-fo 0.4s cubic-bezier(0.55, 0, 0.1, 1) forwards;
}
.mfValidation.valid {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 767px) {
  .mfValidation {
    color: #ff2727;
    text-align: right;
    top: auto;
    left: auto;
    bottom: 100%;
    right: 20px;
    background: none;
    padding: 0;
    margin: 0 0 3px;
    min-height: 0;
    box-shadow: none;
  }
  .mfValidation:before {
    display: none;
  }
  .mfValidation:hover {
    background: none;
    right: 5px;
  }
}

@-ms-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    -ms-transform: scale(1);
        transform: scale(1);
  }
  20% {
    opacity: 1;
    -ms-transform: scale(1.1);
        transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    -ms-transform: scale(0.3);
        transform: scale(0.3);
    opacity: 0;
  }
}
@-webkit-keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    opacity: 0;
  }
}
@keyframes notifanim-fo {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  20% {
    opacity: 1;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  99% {
    visibility: hidden;
  }
  100% {
    visibility: hidden;
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    opacity: 0;
  }
}
@-ms-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    -ms-transform: scale(0.3);
        transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    -ms-transform: scale(1);
        transform: scale(1);
  }
  75% {
    -ms-transform: scale(0.9);
        transform: scale(0.9);
  }
  100% {
    -ms-transform: scale(1);
        transform: scale(1);
    opacity: 1;
  }
}
@-webkit-keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  75% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@keyframes notifanim {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
  }
  1% {
    visibility: visible;
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  75% {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
/* MF Controls
========================================================*/
.mfControls {
  margin-top: 10px;
  word-spacing: 10px;
}
.mfControls .btn {
  padding: 0 70px;
  line-height: 45px;
}
.mfControls .btn:before {
  display: none;
}
@media (min-width: 768px) {
  .mfControls .btn {
    padding: 0 42px;
    line-height: 73px;
  }
}
.mfControls > * {
  word-spacing: normal;
  margin-bottom: 5px;
}

/* Mail Form Submit
========================================================*/
.mfProgress {
  position: relative;
}
.mfProgress .cnt, .mfProgress .loader {
  -webkit-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out;
}
.mfProgress .loader {
  opacity: 0;
  text-align: center;
  letter-spacing: 10px;
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}
.mfProgress .loader, .mfProgress .loader:before, .mfProgress .loader:after {
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  right: 0;
  margin: auto;
}
.mfProgress .loader:before {
  content: '';
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
}
.mfProgress .loader:after {
  content: '';
  width: 30px;
  height: 30px;
  color: #F44336;
  font: 400 30px "FontAwesome";
  line-height: 1;
  -webkit-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out;
  -ms-transform: scale(0) rotate(-60deg);
  -webkit-transform: scale(0) rotate(-60deg);
  transform: scale(0) rotate(-60deg);
}
.mfProgress.sending .cnt, .mfProgress.fail .cnt, .mfProgress.success .cnt {
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  opacity: 0;
}
.mfProgress.sending .loader, .mfProgress.fail .loader, .mfProgress.success .loader {
  opacity: 1;
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.mfProgress.fail .loader:before, .mfProgress.success .loader:before {
  -webkit-animation: fout 0.4s ease-in-out 1 forwards;
  -ms-animation: fout 0.4s ease-in-out 1 forwards;
  animation: fout 0.4s ease-in-out 1 forwards;
}
.mfProgress.fail .loader:after, .mfProgress.success .loader:after {
  -ms-transform: scale(1) rotate(0deg);
  -webkit-transform: scale(1) rotate(0deg);
  transform: scale(1) rotate(0deg);
}
.mfProgress.sending .loader:before {
  -webkit-animation: motion 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  -ms-animation: motion 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
  animation: motion 3s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
.mfProgress.fail .loader:after {
  content: '\f06a';
}
.mfProgress.success .loader:after {
  content: '\f058';
}

.mfProgress .msg {
  -ms-transform-origin: 0% 50%;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
  -webkit-animation: notifanim-fo 0.4s ease-in-out forwards;
  -ms-animation: notifanim-fo 0.4s ease-in-out forwards;
  animation: notifanim-fo 0.4s ease-in-out forwards;
  box-sizing: border-box;
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.5);
  position: absolute;
  padding: 10px;
  border-radius: 40px;
  font-size: 14px;
  line-height: 20px;
  opacity: 0;
  visibility: hidden;
  top: 100%;
  left: 50%;
  width: 230px;
  margin-left: -115px;
  margin-top: 20px;
  color: #fff;
  -ms-transform-origin: 50% 100%;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
}
@media (min-width: 1024px) and (max-width: 1200px) {
  .mfProgress .msg {
    left: 30%;
  }
}
.mfProgress .msg:before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 50%;
  -webkit-transform: translate(50%, 0%);
      -ms-transform: translate(50%, 0%);
          transform: translate(50%, 0%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #111 transparent;
  -webkit-transition: 0.4s all ease-in-out;
  transition: 0.4s all ease-in-out;
}
.mfProgress.fail .msg, .mfProgress.success .msg {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  opacity: 1;
  visibility: visible;
  -webkit-animation: notifanim 0.4s ease-in-out forwards;
  -ms-animation: notifanim 0.4s ease-in-out forwards;
  animation: notifanim 0.4s ease-in-out forwards;
}
.mfProgress.fail .msg {
  background: #F44336;
}
.mfProgress.fail .msg:before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #F44336 transparent;
}
.mfProgress.success .msg {
  background: #2E7D32;
}
.mfProgress.success .msg:before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #2E7D32 transparent;
}

@-ms-keyframes motion {
  0% {
    -ms-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
  }
  25% {
    -ms-transform: translateX(-50px) scale(0.3);
        transform: translateX(-50px) scale(0.3);
  }
  50% {
    -ms-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
  }
  75% {
    -ms-transform: translateX(50px) scale(0.3);
        transform: translateX(50px) scale(0.3);
  }
  100% {
    -ms-transform: translateX(0) scale(1);
        transform: translateX(0) scale(1);
  }
}
@-webkit-keyframes motion {
  0% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
  25% {
    -webkit-transform: translateX(-50px) scale(0.3);
            transform: translateX(-50px) scale(0.3);
  }
  50% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
  75% {
    -webkit-transform: translateX(50px) scale(0.3);
            transform: translateX(50px) scale(0.3);
  }
  100% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
}
@keyframes motion {
  0% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
  25% {
    -webkit-transform: translateX(-50px) scale(0.3);
            transform: translateX(-50px) scale(0.3);
  }
  50% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
  75% {
    -webkit-transform: translateX(50px) scale(0.3);
            transform: translateX(50px) scale(0.3);
  }
  100% {
    -webkit-transform: translateX(0) scale(1);
            transform: translateX(0) scale(1);
  }
}
