div.input-box{
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  width: 100%;
}
div.radio-box{
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  position: relative;
}
div.disable{
  background: #eee;
  border: 1px solid #ddd;
  padding: .375rem .625rem;
  color:#777;
  margin-bottom: 10px;
  font-size: .8em;
}

div.input-box.w3{
  width: 30%;
}
div.input-box.w2,
div.input-box.w2_with_top_margin{
  width: 48%;
}
div.input-box.innerbox{
  margin-bottom: 0;
}
div.input-box.focused,
div.input-box input.focused,
div.input-box textarea.focused,
div.input-box option.focused{
  background-color: #dee7ff;
}
div.input-box.disabled,
div.input-box input:disabled,
div.input-box textarea:disabled,
div.input-box option:disabled{
  background-color: #f7f7f7;
}

div.input-box label{
  font-size:.75em;
  color:var(--color-gray);
  line-height: 1em;
  margin-bottom: 5px;
  text-align: left;

}

div.input-box input[type=text],
div.input-box input[type=number],
div.input-box input[type=password],
div.input-box input[type=mail],
div.input-box select{
  font-size:16px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-border-2);
  font-weight: normal;
  max-width: 100%;
  border-radius:0;
}

input[type=text],
input[type=number],
input[type=password],
input[type=mail],
textarea {
  font-size: 0.9em;
  line-height: 16px;
  padding: 6px 10px 5px;

  position: relative;
  box-sizing: border-box;
}

::placeholder {
  color:#ccc;
}
div.input-box.small-1,
div.input-box.small-1.focused{
  width: 95px;
}
div.input-box.no-bottom-margin{
  margin-bottom: 0
}
div.input-box.noborder{
  border: none;
}
textarea{
  height: 50px;
}
.check-parts {
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
    height: 24px;
}
.check-parts::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #777;
    border-radius: 0;
    transition: all .2s;
}
.form-check:checked+.check-parts::before {
    border-color: var(--color-selected);
    background: var(--color-selected);
    transition: all .2s;
}
.form-check:checked+.check-parts::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: 7px;
    width: 7px;
    height: 12px;
    transform: rotate(40deg);
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transition: all .2s;
}
div.checkbox{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.check-parts-box{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  font-size: .9em;
  margin-right: 1.5em;
}

div.radio{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}


div.input-box label.radio-parts{
  display: block;
  position: relative;
  margin-right: 1.5em;
  padding: 1em 1em 1em 2.3em;
  border-radius: 4px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
    color:#777;
    font-size: .8em;
    cursor: pointer;
    margin: 0;
}
div.input-box label.radio-parts::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: .5em;
}
div.input-box label.radio-parts::before{
  display: block;
       width: 12px;
       height: 12px;
      margin: auto;
      border: 2px solid var(--color-border-2);
      border-radius: 8px;
      background: #fff;
      content: "";
}
div.input-box label.radio-parts::after{
  display: block;
    position: absolute;
    width: 6px;
    height: 6px;
    margin: auto;
    border-radius: 3px;
    background: transparent;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11px;
}



input:checked + label.radio-parts::before {
    border-color: var(--color-selected);
}
input:checked + label.radio-parts::after {
    background: var(--color-selected);
}

div.select_group{
  position: relative;
}
div.select_group::before,
div.select_group::after{
  position: absolute;
  right: 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: .8rem;
  cursor: pointer;
  pointer-events: none;
  color:#222;
}

div.select_group::before{
  top:-5px;
  content: "\f077";
}
div.select_group::after{
  content: "\f078";
  bottom:-10px;
}
div.select_group select{
  width: 100%;
  height: 100%;
}
div.btn-box{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


button{
  width: 100%;
  padding: .5em 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  font-size: .95em;
  cursor: pointer;
  height: 45px;
  box-sizing: border-box;
  margin: 0 5px;
}
button:hover{

}

button.midium{
  width: 300px;
}

button.disable{
  color:#fff;
  background-color: var(--color-gray-disabled);
}
button.create-btn{
  background-color: var(--color-link);
  color:#fff;
}
button.login-btn{
  background-color: var(--color-pink);
  color:#fff;
}

div.form-box{
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

div.form-box-item{
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;

}

div.form-box-item.row{
  flex-direction: row;
}

div.form-row-box{
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
}

div.form-row-box-item{
  margin-right: 20px;
  width: 100%;
}

div.form-row-box-item:last-child{
  margin-right:  0;
}
div.form-row-box-item.div3{
  width: 30%;
  box-sizing: border-box;
}

@media screen and (max-width: 770px) {
  div.form-box{
    max-width: 100%;
  }
}
