/** debut chrome ***/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
    -webkit-transition-delay: 9999s;
}
/** fin chrome ***/

input[name="FORM_KEY"]{display:none;}

.form-group {position:relative; width:100%;  vertical-align:middle;}

.form-group-inline{display:flex; display:-webkit-flex; display:-ms-flex; display:-moz-flex; display:-o-flex; position:relative; 
justify-content:space-between; -moz-justify-content:space-between; -ms-justify-content:space-between; -o-justify-content:space-between; -webkit-justify-content:space-between;
}
.form-group-inline.wrap {-webkit-flex-wrap: wrap; flex-wrap: wrap;margin-bottom: 1.7rem;}
.form-group-inline .form-group.form-group2 {width:48%;}
.form-group-inline .form-group.form-group3 {width:32%;margin: 0 auto 1rem auto;}
.form-group-inline .form-group.form-group4 {width:24%;}
.form-group-inline .form-group.form-group75 {width:74%;}
.form-group-inline .form-group.form-group25 {width:24%;}

.form_alert .main_form .form-group{margin: 0 auto 1rem auto}
.form_alert .form-group-inline .form-group3 {margin: 0 auto 1rem -0.1rem;}
.form_alert .form-group-inline .form-group2 {margin: 0 auto 1rem -0.1rem;}

.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="password"], .form-group input[type="date"], .form-group input[type="file"], .form-group select, .form-group textarea{
    background:transparent; border:none;
    width:100%;
    color:#fff;
    font-size: 0.9rem; font-family: 'roboto-regular'; padding: .4rem 0;
    outline: 0
}
.form-group input[type="date"], .form-group input[type="file"]{
  appearance:none;
    -moz-appearance:none;
        -webkit-appearance:none;
}

.form-group label.control-label {
  color:#fff; 
  font-size:.9rem;
  font-weight:normal;
  position:absolute;
  pointer-events:none;
  left:.31rem;
  top:0;
  transition:0.2s ease all; 
  -moz-transition:0.2s ease all; 
  -webkit-transition:0.2s ease all;
}
/*label.control-label.required { font-family:"roboto-bold" }*/
label span {color:red;}

.bar{ position:relative; display:block; width:100%; }
.bar:before, .bar:after {
  content:'';
  height:2px; 
  width:0;
  bottom:1px; 
  position:absolute;
  background:#fff; 
  transition:0.5s ease all; -moz-transition:0.5s ease all; -webkit-transition:0.5s ease all;
}
.bar:after {width:100%; background:rgba(255, 255, 255, 0.5);}

.form-group input[type="email"]:focus ~ label.control-label, .form-group input[type="email"].has_value ~ label.control-label,
.form-group input[type="text"]:focus ~ label.control-label, .form-group input[type="text"].has_value ~ label.control-label,
.form-group input[type="password"]:focus ~ label.control-label, .form-group input[type="password"].has_value ~ label.control-label,
.form-group input[type="date"]:focus ~ label.control-label, .form-group input[type="date"].has_value ~ label.control-label,
.form-group input[type="file"]:focus ~ label.control-label, .form-group input[type="file"].has_value ~ label.control-label,
.form-group select:focus ~ label.control-label, .form-group select.has_value ~ label.control-label,
.form-group textarea:focus ~ label.control-label, .form-group textarea.has_value ~ label.control-label,
.form-group div.has_value ~ label.control-label
{
  top:-1rem;
  font-size:.7rem;
  color:rgba(255, 255, 255, 0.7);
}
input[type="email"]:focus ~ .bar:before,
input[type="password"]:focus ~ .bar:before,
input[type="text"]:focus ~ .bar:before,
select:focus ~ .bar:before,
textarea:focus ~ .bar:before{
    width:100%;
}
input[type="email"].has_value ~ .bar:before,
input[type="password"].has_value ~ .bar:before,
input[type="text"].has_value ~ .bar:before,
select.has_value ~ .bar:before,
textarea.has_value ~ .bar:before,
textarea.has_value ~ .bar:before
{
    width:100%;
}

.form-group select {
  width: 100%;
  font-size: 0.8rem;
  height: 2.12rem;
  padding: 0.125rem 0.125rem 0.0625rem;
  background-color: none;
  border: none;
  line-height: 1.9;
  box-shadow: none;
  background-position:right 0;
  background-repeat:no-repeat;
  background-image:url(../images/select.png);
  appearance:none;
    -moz-appearance:none;
        -webkit-appearance:none;
}
.form-group textarea {
  width: 100%;
  font-size: 0.8rem;
  height: 15rem;
  padding: 0.125rem 0.125rem 0.0625rem;
  background-color: none;
  border: none;
  line-height: 1.9;
  box-shadow: none;  
  appearance:none;
    -moz-appearance:none;
        -webkit-appearance:none;
}

.form-group input[type=checkbox], .form-group input[type=radio] {
    position:absolute; z-index:-1000; overflow: hidden; clip: rect(0 0 0 0); height:1px; width:1px; margin:-1px; padding:0; border:0;
}
.form-group input[type=checkbox] + label, .form-group input[type=radio] + label {
    padding-left:2rem;
    display:inline-block;
    background-repeat:no-repeat;
    background-position: 0 0;
    vertical-align:middle;
    cursor:pointer;
    position:relative;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.form-group input[type=checkbox] + label:before, .form-group input[type=radio] + label:before {
    position:absolute; content:""; width:1.2rem; height:1.2rem; border:2px solid #3e439b; left:0; top:0; color:#3e439b; box-sizing: border-box;
    transition:all 500ms;
    -webkit-transition:all 500ms;
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-group input[type=radio] + label:before {
    border-radius:50%;
}
input[type=radio]:checked + label:before {
    font-family: 'FontAwesome';
    content:"\f111";
    text-align:center;
}
/*input[type=radio]:checked + label {color:#3e439b;}*/

input[type=checkbox]:checked + label {color:#3e439b;}
input[type=checkbox]:checked + label:before {
    font-family: 'FontAwesome';
    content:"\f00c";
    text-align:center;
}

.v2_main_form .form-group{margin: 0 auto 2.5rem auto}
.v2_main_form .form-group input[type="text"], .v2_main_form .form-group input[type="email"], .v2_main_form .form-group input[type="password"],
.v2_main_form .form-group input[type="date"], .v2_main_form .form-group input[type="file"], .v2_main_form .form-group select, .v2_main_form .form-group textarea
{color: #2e2d30}
.v2_main_form .form-group label.control-label{color: #1b0f3c;}
.v2_main_form_blue .form-group label.control-label{color: #0267ff}
.form-group label.control-label i{margin-right: .4rem}
.v2_main_form .form-group label.control-label i{color: #3e439b;}
.v2_main_form .bar:before, .v2_main_form .bar:after{background: rgba(7, 73, 157, 1);}
.v2_main_form .bar:after {background:rgba(10, 112, 248, .3)}
.v2_main_form .form-group input[type="email"]:focus ~ label.control-label, .v2_main_form .form-group input[type="email"].has_value ~ label.control-label,
.v2_main_form .form-group input[type="text"]:focus ~ label.control-label, .v2_main_form .form-group input[type="text"].has_value ~ label.control-label,
.v2_main_form .form-group input[type="password"]:focus ~ label.control-label, .v2_main_form .form-group input[type="password"].has_value ~ label.control-label,
.v2_main_form .form-group input[type="date"]:focus ~ label.control-label, .v2_main_form .form-group input[type="date"].has_value ~ label.control-label,
.v2_main_form .form-group input[type="file"]:focus ~ label.control-label, .v2_main_form .form-group input[type="file"].has_value ~ label.control-label,
.v2_main_form .form-group select:focus ~ label.control-label, .v2_main_form .form-group select.has_value ~ label.control-label,
.v2_main_form .form-group textarea:focus ~ label.control-label, .v2_main_form .form-group textarea.has_value ~ label.control-label
{color: #000;}
.v2_main_form input[type=checkbox]:checked + label {font-size:.85rem;}

/*480*/
@media screen and (max-width: 30rem) {
    .form-group-inline {-webkit-flex-wrap: wrap; flex-wrap: wrap;}
    .form-group-inline .form-group.form-group2
    ,.form-group-inline .form-group.form-group3
    ,.form-group-inline .form-group.form-group4
    ,.form-group-inline .form-group.form-group75
    ,.form-group-inline .form-group.form-group25 {width:100%;}
    .form-group input[type=checkbox] + label, .form-group input[type=radio] + label {height:auto;}
}