* {
 margin:0;
 padding:0;
 box-sizing:border-box;
}
body {
  background:#e4e2e200;
  font-family:Roboto, sans-serif;
}

input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  //height: calc(3em + 2px);
  margin: 0 0 1em;
  padding: 6px;
  border: 1px solid #fff;
  border-radius: 3px;
  resize: none;
  outline: none;
  text-align:right;
  border-radius:7px;
  padding:9px 5px;
}
input[type="text"]:focus {
  border-color: #d7d9d6;
}
input[type="text"]:focus + label[placeholder]:before {
  color: black;
  position:relative;
}
input[type="text"]:focus + label[placeholder]:before,
input[type="text"]:valid + label[placeholder]:before {
  transition-duration: .2s;
  transform: translate(0, -1.7em) scale(0.9, 0.9);
  font-weight: bold;
}
input[type="text"]:valid {
  border-color:#d7d9d6;
}
input[type="text"]:valid + label[placeholder]:before {
  color: #252525c7;
}
input[type="text"]:invalid + label[placeholder][alt]:before {
  content: attr(alt);
}
input[type="text"] + label[placeholder] {
  display: block;
  pointer-events: none;
  line-height: 1.25em;
  margin-top: calc(-3.1em - 2px);
  margin-bottom: calc((4em - 1em) + 2px);
}
input[type="text"] + label[placeholder]:before {
  content: attr(placeholder);
  display: inline-block;
  margin: 0 calc(0.15em + 2px);
  padding: 0 2px;
  color: #7d7d7d;
  white-space: nowrap;
  transition: 0.4s ease-in-out;
  background-image: linear-gradient(to bottom, #ffffff, #ffffff);
  background-size: 100% 5px;
  background-repeat: no-repeat;
  background-position: center;
}
.form-div {
  width: 50%;
  margin: 5vh auto;
  background: #fff;
  box-shadow: 0 0 20px 1px #818e943d;
  border-radius: 4px;
  border: 1px solid #dadce0;
  padding: 90px 4% 20px;
}
.input-box1 {
  margin-top: 50px;
  margin-bottom: 60px;
}
.input-box1 div{
  margin-top: 60px;
  position: relative;
}
.input-box1 div label, .input-box1 div input {
  text-align: left;
}
.input-box1 div input {
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 14px 14px;
  font-family:Roboto, sans-serif;
  font-weight: 500;
}
.input-box1 div label {
  font-size: .85em;
  font-weight: 500;
}
.input-box1 p {
  position: absolute;
  bottom: -35px;
}
.select-div {
  float: left;
}
select {
  border: 1px solid #eee;
  border-radius: 2px;
  padding: 14px 14px;
  font-family:Roboto, sans-serif;
  font-weight: 500;
  width: 100%;
}
.select-div p {
  width: 100%;
}
input-box2::after {
  clear: both;
  content: '';
  display: block;
}
.gender, .country {
  width: 45%;
}
.gender {
  margin-right: 5%;
}
.country {
  margin-left: 5%;
}
.month, .day, .year {
  width: 30%;
  margin: 20px 0;
}
.month {
  margin-right: 2.5%;
  clear: both;
}
.year {
  margin-left: 2.5%;
}
.day {
  margin: 20px 2.5%;
}
.error {
  font-size: .8em;
  padding-left: 2px;
  color: #fc0000;
  font-weight: 400;
  margin-top: 5px;
}
.formFld {
  clear: both;
}
.submit-div {
  clear: both;
}
.submit-div input {
  background: #1a73e8;
  padding: 8px 20px;
  border: 1px solid #1a73e8;
  color: #fff;
  margin: 0 auto;
  cursor: pointer;
}
.help-text {
  text-align: left;
  font-size: .87em;
  margin-top: 30px;
  margin-bottom: 30px;
}
.form-div::after {
  clear: both;
  content: '';
  display: block;
}

@media only screen and (max-width:1100px){
  .form-div {
    width: 70%;
  }
}
@media only screen and (max-width:800px){
  .form-div {
    width: 90%;
  }
}
@media only screen and (max-width:425px){
  .form-div {
    margin-top: 1.5vh;
  }
  .gender, .country {
    width: 100%;
    margin-top: 22px;
  }
  .gender {
    margin-right: 0;
  }
  .country {
    margin-left: 0;
  }
  .month, .day, .year {
    width: 100%;
    margin: 22px 0 0;
  }
  .month {
    margin-right: 0;
  }
  .year {
    margin-left: 0;
    margin-bottom: 22px;
  }
  .day {
    margin:22px 0 0;
  }
}
@media only screen and (max-width:374px){
  #rc-anchor-container {
    height: 74px;
    width: 250px;
  }
  .re-field {
    overflow-x: hidden;
    width: 90%;
    margin-right: 10%;
    margin-top: 15px;
    border-right: 1px solid #ccc;
    border-radius: 5px;
}
  }
}
