.box {
    position: relative;
}

.formControl {
    border-radius: 4px;

    background-color: #ffffff;
    border: solid 1px rgba(0,0,0,0.1);

    font-size: 14px;
    color: #9b9797;

    padding: 10px 15px;
    width: 100%;
    line-height: 135%;
    z-index: 2;
}

.formControl:focus {
    border: solid 1px #e5e5e5;
}

.formControl + span {
    z-index: 1;
    pointer-events: none;
    position: absolute;
    left: 15px;
    color: #afafaf;
    transition: 0.12s;
    transition-property: all;
    margin-top: 10px;
}

.formControl:focus + span, .formControl:not(:placeholder-shown) + span {
    transform: translateY(-100%);
    font-size: 12px;
}

.formControl + span::after {
    display: inline-block;
    width: 104%;
    position: absolute;
    left: -2%;
    border-bottom: 1px solid #fff;
    content: ' ';
    top: 7px;
    z-index: -1;
}

textarea.formControl {
    resize: none;
    font-family: inherit;
    min-height: 120px;
}

select.formControl {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: lighter;
}

select.formControl::-ms-expand {
    display:none;
}

select.formControl + .arrow:after,
select.formControl + span + .arrow:after {
    content: '\2303';
    transform: rotate(180deg);
    color: #EE4459;
    float: right;
    position: relative;
    margin-bottom: -25px;
    pointer-events: none;
    top: -35px;
    left: -10px;
    font-size: 18px;
}

.formGroup {
    float: left;
    width: 100%;
    padding-bottom: 30px;
}

.trailingIcon {
    position: absolute;
    right: 15px;
    top: 0;
    color: #afafaf;
}

.withTrailingIcon input {
    padding-right: 40px;
}

.maxLength, .errorMessage {
    float: right;
    font-size: 1.2rem;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.42;
    letter-spacing: normal;
    text-align: left;
    color: #9b9797;
}

.error, .error:focus {
    border: 1px solid red;
}

.errorMessage {
    color: red;
    float: left;
    font-size: 1.2rem;
}

.radioScope,
.checkboxScope {
    cursor: pointer;
    /* width: 100%; */
    display: inline-block;
    /* float: left; */
}

.checkbox,
.radio {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.checkbox + div,
.radio + div {
    float: left;
    content: ' ';
    display: block;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    background-color: #ffffff;
    border: solid 1px #666;
    width: 20px;
    height: 20px;
    color: #EE4459;
    padding: 2px;
    position: relative;
}

.checkboxScope .content,
.radioScope .content {
    float: left;
    margin-left: 5px;
}

.radio:checked + div:after {
    content: ' ';
    background-color: #EE4459;
    display: block;
    border-radius: 100%;
    position: relative;
    font-size: 24px;
    line-height: 0;
    width: 6px;
    height: 6px;
    top: 4px;
    left: 4px;
}

.checkbox + div {
    border-radius: 4px;
}

.checkbox:checked + div::after {
     /*Add another block-level blank space*/
     content: '';
     display: block;
 
     /*Make it a small rectangle so the border will create an L-shape*/
     width: 6px;
     height: 10px;
 
     /*Add a white border on the bottom and left, creating that 'L' */
     border: solid #EE4459459;
     border-width: 0 2px 2px 0;
 
     /*Rotate the L 45 degrees to turn it into a checkmark*/
     transform: rotate(45deg);

     margin-left: 4px;
}