.mailform1 {
  margin-top: 40px;
  position: relative;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .mailform1 {
    /*margin-top: 84px;*/
  }
}
.mailform fieldset {
  border: none;
}
.mailform1 * {
  box-sizing: border-box;
}

.mailform1 label {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 2px;
  margin-right: -10px;
}
.mailform1 label:first-child {
  margin-top: 0;
}
.mailform1 label input, .mailform1 label select, .mailform1 label textarea {
  display: block;
  width: 100%;
  margin: 0;
  -webkit-appearance: none;
  outline: none;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: bold; 
  padding: 14px 38px 10px;
  line-height: 20px;
  color: rgba(114,119,133);
  background: none;
  border: 3px solid rgba(114,119,133);
  border-radius: 40px;
}
.mailform1 label input:-moz-placeholder, .mailform label select:-moz-placeholder, .mailform label textarea:-moz-placeholder {
  color: #2f343b;
  opacity: 1;
}
.mailform1 label input::-webkit-input-placeholder, .mailform label select::-webkit-input-placeholder, .mailform label textarea::-webkit-input-placeholder {
  color: #2f343b;
  opacity: 1;
}
.mailform1 label input::-moz-placeholder, .mailform label select::-moz-placeholder, .mailform label textarea::-moz-placeholder {
  color: #2f343b;
  opacity: 1;
}
.mailform1 label input:-ms-input-placeholder, .mailform label select:-ms-input-placeholder, .mailform label textarea:-ms-input-placeholder {
  color: #2f343b;
  opacity: 1;
}
@media (min-width: 992px) {
  .mailform1 label input, .mailform label select, .mailform label textarea {
    /*padding: 29px 50px 25px 38px;*/
  }
}
.mailform1 label textarea {
  resize: vertical;
  overflow: auto;
  height: 206px;
  border-radius: 40px;
  margin-top: 30px;
}
@media (min-width: 1365px) {
  .mailform1 label textarea {
    margin-top: 0;
    border-radius: 30px;
  }
}
@media (max-width: 1365px) {
  .mailform1 label {
    margin-top: 30px;
  }
}

@-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
========================================================*/
.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: #ffffff;
  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 > .mailform1 .mfPlaceHolder, *:-webkit-autofill ~ .grid_12 .mfPlaceHolder {
    opacity: 0;
    -ms-transform: translateY(-70%);
    -webkit-transform: translateY(-70%);
    transform: translateY(-70%);
  }
  .container > .mailform1 .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 50px 25px 38px;
  }
}

/* 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: 30px;
}
.mfControls .btn:before {
  display: none;
}
.mfControls .btn-primary {
  color: #2f343b;
}
.mfControls .btn-primary:hover {
  background: rgba(61,207,177);
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.text-danger {
  color:red;
}