/* ============= FORMUL�RIO ============= */

div.input {
    width: 90%;
    position: relative;
    color: #535F60;
    text-align: left;
}

div.input input:not([type="radio"]):not([type="checkbox"]), div.input textarea {
    width: 90%;
    padding: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: #535F60;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    transition: all .3s ease-in-out;
}

div.input textarea {
    height: 100px;
    resize: none;
}

div.input > label {
    position: absolute;
    top: -9px;
    left: 10px;
    padding: 0 5px;
    background: #ffffff;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 400;
    transition: all .3s ease-in-out;
    z-index: 1;
}

div.input input:not([type="radio"]):not([type="checkbox"])#senha {
    padding-right: 40px;
}

div.input input:not([type="radio"]):not([type="checkbox"])#repitasenha {
    padding-right: 40px;
}
div.input > .helper {
    display: block;
    margin-left: 10px;
    font-size: 0.7em;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-in-out;
}

div.input > .helper.visible {
    font-size: 0.9em;
    color: #E13A58;
    visibility: visible;
    opacity: 1;
}

div.input .input-icon, div.input [data-toggle-password] {
    width: 20px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
    background: #ffffff;
    font-size: 1.4em;
    color: #535F60;
    cursor: pointer;
    transition: color .3s ease-in-out;
    z-index: 9;
}

div.input .input-icon.busca:hover {
    color: #3DA5F4;
}

div.input [data-toggle-password] {
    transform: translate(0, calc(-50% - 5px));
    font-size: 1.2em;
    cursor: pointer;
}

div.input .input-icon.loading {
    animation: loading .8s linear infinite;
}

div.input [data-toggle-password]:hover {
    color: #409551;
}

div.input.success input:not([type="radio"]):not([type="checkbox"]), div.input:not(.error) input:not([type="radio"]):not([type="checkbox"]):focus, div.input.success textarea, div.input:not(.error) textarea:focus {
    border-color: #409551;
}

div.input.success > label, div.input:not(.error) input:not([type="radio"]):not([type="checkbox"]):focus+label, div.input:not(.error) textarea:focus+label {
    color: #409551;
}

div.input.error input:not([type="radio"]):not([type="checkbox"]), div.input.error textarea {
    border-color: #E13A58;
}

div.input.error > label {
    color: #E13A58;
}

div.input.error > .helper {
    color: #E13A58;
    visibility: visible;
    opacity: 1;
}

div.radio-button, div.check-box {
    float: left;
}

div.radio-button input[type="radio"], div.check-box input[type="checkbox"] {
    display: none;
}

div.radio-button input[type="radio"] + label, div.check-box input[type="checkbox"] + label {
    display: inline-block;
    position: relative;
    padding: 12px 12px 12px 42px;
    margin-right: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    color: #535F60;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    cursor: pointer;
    transition: all .3s ease-in-out;
}

div.radio-button.margin input[type="radio"] + label, div.check-box.margin input[type="checkbox"] + label {
    margin-top: 20px;
}

div.input div.radio-button:last-of-type input[type="radio"] + label, div.input div.check-box:last-of-type input[type="checkbox"] + label {
    margin-right: 0;
}

div.radio-button input[type="radio"] + label.dark {
    color: #ffffff;
    background: #3e3e3e;
}

div.radio-button input[type="radio"] + label::before {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translate(0, -50%) scale(0);
    background: #3DA5F4;
    border: 1px solid #3DA5F4;
    border-radius: 50%;
    transition: transform .3s ease-in-out;
    z-index: 1;
}

div.radio-button input[type="radio"]:checked + label::before {
    transform: translate(0, -50%) scale(1);
}

div.check-box input[type="checkbox"] + label::before {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translate(0, -50%) scale(0);
    background: #3DA5F4;
    border: 1px solid #3DA5F4;
    border-radius: 4px;
    transition: transform .3s ease-in-out;
    z-index: 1;
}

div.check-box input[type="checkbox"]:checked + label::before {
    transform: translate(0, -50%) scale(1);
}

div.radio-button input[type="radio"] + label::after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translate(0, -50%);
    border: 2px solid #e4e4e4;
    border-radius: 50%;
    z-index: 2;
}

div.check-box input[type="checkbox"] + label::after {
    content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translate(0, -50%);
    border: 2px solid #e4e4e4;
    border-radius: 4px;
    z-index: 2;
}

div.input-group {
    width: 100%;
}

div.input-group .form {
    width: calc(100% - 60px);
    height: 40px;
    padding: 0 20px;
    display: block;
    background: #F8F9FA;
    border: 1px solid #F1F2F3;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    font-size: 0.9em;
    color: #545F61;
    transition: all .3s ease-in-out;
    float: left;
    padding-right: 0;
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

div.input-group .icon {
    width: 60px;
    height: 40px;
    padding-right: 20px;
    float: left;
    position: relative;
    background: #F8F9FA;
    border: 1px solid #F1F2F3;
    border-left: 0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    font-size: 1.5em;
    color: #545F61;
}

div.input-group button {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

div.input-group .icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}