.form-box {margin:0 auto 10px auto; width:450px; padding:5px; text-align:center; overflow: visible;}

.inputRow {position:relative;}
.inputRow2 {display:none;}

.inputRow > input:focus ~ label,
.inputRow > input:not(:focus):valid ~ label{
  top: 20px;
  bottom: 5px;
  right: 20px;
  text-align:right;
  font-size: 10px;
  opacity: 0.5;
}
textarea:focus ~ label,
textarea:not(:focus):valid ~ label{
  top: 180px;
  bottom: 5px;
  right: 20px;
  text-align:right;
  font-size: 10px;
  opacity: 0.5;
}

.inputText { width:92%; margin-bottom:12px; padding:5px 4%; font-size:18px; color:#003; font-family:'Cabin', sans-serif; height:40px; background-color:#fff; border:2px solid #406A8E; border-radius:6px; box-shadow: 3px 3px 6px #aaa;}
.inputText:focus {color:#406A8E; box-shadow:0 0 5px #003; border:2px solid #143300; outline:none;}

textarea { width:92%; margin-bottom:0; padding:5px 4%; color:#003; font-size:18px; font-family:'Cabin', sans-serif; height:200px; background-color:#fff; border:2px solid #406A8E; border-radius:6px; box-shadow: 3px 3px 9px #aaa;}
textarea:focus {color:#406A8E; box-shadow:0 0 5px #003; border:2px solid #143300; outline:none;}

.inputRow label {
  position: absolute;
  pointer-events: none;
  left: 20px;
  top: 16px;
  color:#2f4f4f; font-size:15px;
  transition: 0.2s ease all;
}


.btn {display:block; width:200px; margin:30px auto; padding:20px 0 19px 0;text-align:center;color:#fff; font-family:'Open Sans', sans-serif; font-size:16px;font-weight:600;background-color:#406A8E; letter-spacing:0.1em; border:2px solid #fff;}
.btn:hover{cursor:pointer; background-color:#143300;}

@media screen and (max-width:1024px) {
.btn {margin-bottom:90px;}	
}
@media screen and (max-width:939px) {
.form-box {width:380px;}
}
@media screen and (max-width:839px) {
.form-box {width:340px;}
}
@media screen and (max-width:767px) {
.form-box {width:90%; padding:5px 2%;}
.inputText {margin-bottom:15px;}
}
@media screen and (max-width:440px) {
label.chkbq {width:80%; margin-bottom:25px; padding-left:55px;}
.short {display:none;}
}



