﻿body::after, body::before,
input::after,
input::before,
select::after,
select::before,
textarea::after,
textarea::before{
  box-sizing: border-box;
}


.button-container {
  text-align: center;
}

fieldset {
  margin: 0 0 3rem;
  padding: 0;
  border: none;
}

.form-radio,
.form-group {
  position: relative;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-inline > .form-group,
.form-inline > .btn {
  display: inline-block;
  margin-bottom: 0;
}

.form-help {
  margin-top: 0.125rem;
  margin-left: 0.125rem;
  color: #b3b3b3;
  font-size: 0.8em;
}
.checkbox .form-help, .form-radio .form-help, .form-group .form-help {
  position: absolute;
  width: 100%;
}
.checkbox .form-help {
  position: relative;
  margin-bottom: 1rem;
}
.form-radio .form-help {
  padding-top: 0.25rem;
  margin-top: -1rem;
}

.form-group input {
  height: 1.9rem;
}
.form-group textarea {
  resize: none;
}
.form-group select {
  width: 100%;
  font-size: 1em;
  height: 1.6rem;
  padding: 0.125rem 0.125rem 0.0625rem;
  background: none;
  border: none;
  line-height: 1.6;
  box-shadow: none;
}
.form-group .control-label,
.form-group input:optional ~ .control-label{
  position: absolute;
  top: .35rem;
  pointer-events: none;
  padding-left: 1.5rem;
  z-index: 1;
  color: #9D9D9D;
  font-size: 1em;
  font-weight: normal;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
}
.form-group .bar {
  position: relative;
  border-bottom: 0.0625rem solid #999;
  display: block;
}
.form-group .bar::before {
  content: '';
  height: 0.125rem;
  width: 0;
  left: 50%;
  bottom: -0.0625rem;
  position: absolute;
  background: #4D17E0;
  -webkit-transition: left 0.28s ease, width 0.28s ease;
  transition: left 0.28s ease, width 0.28s ease;
  z-index: 2;
}
.form-group input,
.form-group textarea {
    border-radius: .5rem;
  display: block;
  background: #fff;
  padding: 1.1rem;
  font-size: 1em;
  border-width: 0;
  border-color: transparent;
  line-height: 1.9;
  width: 100%;
  color: transparent;
  -webkit-transition: all 0.28s ease;
  transition: all 0.28s ease;
  box-shadow: none;
}
.form-group input[type="file"] {
  line-height: 1;
}
.form-group input[type="file"] ~ .bar {
  display: none;
}
.form-group select,
.form-group input:focus,
.form-group input:valid,
.form-group input.form-file,
.form-group input.has-value,
.form-group textarea:focus,
.form-group textarea:valid,
.form-group textarea.form-file,
.form-group textarea.has-value {
  color: #000;
}
.form-group input.k-required.input-validation-error ~ .k-inp-icon{color:#ff0000;display:initial;}
.form-group select ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group input.k-required:valid ~ .control-label,
.form-group input.form-file ~ .control-label,
.form-group input.has-value ~ .control-label,
.form-group textarea:focus ~ .control-label,
.form-group textarea:valid ~ .control-label,
.form-group textarea.form-file ~ .control-label,
.form-group textarea.has-value ~ .control-label,
.form-group input.k-optional.valid ~ .control-label
{
  font-size: 0.8em;
  color: #D5D5D5;
/*  top: -.04rem;
  left: 0;*/
}
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
}
.form-group select:focus ~ .control-label,
.form-group input:focus ~ .control-label,
.form-group textarea:focus ~ .control-label {
  color: #4D17E0;
}
.form-group select:focus ~ .bar::before,
.form-group input:focus ~ .bar::before,
.form-group textarea:focus ~ .bar::before {
  width: 100%;
  left: 0;
}

.has-error .legend.legend, .has-error.form-group .control-label.control-label {
  color: #d9534f;
}
.has-error.form-group .form-help,
.has-error.form-group .helper, .has-error.checkbox .form-help,
.has-error.checkbox .helper, .has-error.radio .form-help,
.has-error.radio .helper, .has-error.form-radio .form-help,
.has-error.form-radio .helper {
  color: #d9534f;
}
.has-error .bar::before {
  background: #d9534f;
  left: 0;
  width: 100%;
}

.k2-form-wrapper{max-width:495px;}
.k2-form-wrapper,.k2-form-container{margin:0 auto;text-align:left;}
.k2-form-container{max-width:365px;padding-bottom:2rem;}
.k-form-divider{background:#d9d9d9;height:1px;margin:4rem 0;}
.sbf-pwd-margin{padding: .5rem 1.5rem;}
.k-inp-icon{position: absolute;right: 1.2rem;top: 1.7rem;display:none;}
.checkbox label{color:#9D9D9D;}
.checkbox a{color:#4D17E0;font-weight:500;}
.checkbox a:hover{text-decoration:underline;}


.form-group .select2-container{padding: 1.4rem 2rem 1rem;border-radius:2.5rem;background:#fff;}
.form-group .select2-container--default .select2-selection--single{border:none;}
.form-group .select2-container--default .select2-selection--single .select2-selection__arrow{top:14px;}
.form-group .field-validation-error{display:none;}