form{
  width: 100%;
}
form .row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
form .row input{
  /* width: calc(50% - 8px); */
  width: 100%;
}
form input, form textarea{
  width: 100%;
  padding: 16px 15px;
  border: 1px solid #CDCDCD;
  margin-bottom: 16px;
  font-family: Inter,sans-serif;
}
form input::placeholder, form textarea::placeholder{
  font-family: Inter,sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;

}
form input:focus, form textarea:focus{
  border: 1px solid #01677D;
}
form textarea{
  height: 160px;
  resize: none;
}
form input.error{
  border: 1px solid #7D0101;
}
form button{
  width: 100%;
  margin-top: 30px;
}
input::placeholder, textarea::placeholder{
  color: #909090;
}
p.date{
  color: #909090;
  margin-bottom: 15px;
  font-size: 14px;
}
.agree{
  position: relative;
}
.agree input[type="checkbox"]{
  position: absolute;
  visibility: hidden;
  opacity: 0;
}
.agree label{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.agree label .box{
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 1px solid #CDCDCD;
  margin-right: 12px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: initial;
  margin-top: -1px;
}
.agree label .box.error{
  border: 1px solid #7D0101;
}
.agree label span a{
  text-decoration: none;
  border-bottom: 1px solid #1A1A1C;
}
.agree label span a:hover{
  color: #01677D;
  border-bottom: 1px solid #01677D;
}
.agree label input:checked + span{
  background-image: url(/wp-content/themes/finsafe/img/checked.svg);
}



.btn{
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  color: #fff;
  padding: 18px 36px;
  background-color: #01677D;
  border: none;
}
.btn.white{
  border: 1px solid #fff;
  background: none;
}
.btn.transp{
  border: 1px solid #01677D;
  color: #01677D;
  background: transparent;
}
.btn.transp:hover{
  color: #fff;
}
.btn:hover{
  background-color: #074A59;
  text-decoration: none;
}
.btn.white:hover{
  background-color: #fff;
  color: #01677D;
}


@media screen and (max-width: 768px){
  form .row{
    display: flex;
    flex-direction: column;
  }
  form .row input{
    width: 100%;
  }
  .btn{
    font-size: 16px;
    line-height: 1.3;
  }
}
