﻿/*Text-inputs*/
.mat-in {
    position: relative;
    margin-bottom: 32px;
}

input:focus, input:invalid, select:focus, select:invalid {
    box-shadow: none;
    outline: none;
}

input:focus, select:focus {
    border-bottom: 1px solid #2196f3;
}

/*Labels*/
.mat-in label {
    color: #9E9E9E;
    font-size: 16px;
    pointer-events: none;
    position: absolute;
    top: 8px;
    left: 4px;
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
}

input:focus ~ label, input:valid ~ label, select:focus ~ label, select:valid ~ label, .input-group ~ label, textarea:focus ~ label, textarea:valid ~ label {
    color: #2196f3;
    font-size: 12px;
    top: -16px;
}

/*Bar that appears when an input is selected*/
.bar:before, .bar:after {
    background: #2196f3;
    bottom: 1px;
    content: '';
    height: 2px;
    position: absolute;
    -webkit-transition: 0.2s ease all;
    transition: 0.2s ease all;
    width: 0;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after, select:focus ~ .bar:before, select:focus ~ .bar:after, textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
    width: 50%;
}

.mini-label-blue {
    color: #2196f3;
    font-size: 12px;
    margin-top: -16px;
    padding-bottom: 16px;
    text-align: center;
    font-weight: bold;
}

.mat-in label i {
    font-size: 7px;
    vertical-align: top;
    color: #dd4b39;
}

#form-mDireccion .mat-in {
    margin-bottom: 2px !important;
}
/*07/12/2018 Api378*/
.no-valid input:focus, .no-valid select:focus, .no-valid input {
    border-color: #f56954 !important;
}

    .no-valid input:focus ~ label, .no-valid input:valid ~ label, .no-valid select:focus ~ label, .no-valid select:valid ~ label {
        color: #f56954 !important;
    }

.no-valid .bar:before, .no-valid .bar:after {
    background: #f56954 !important;
}

.no-valid label {
    color: #f56954 !important;
}

/*Andres validar campos*/
.redTexto {
    color: red !important;
}

.oculto {
    display: none;
}
.labelRedonly {
    color: #2196f3 !important;
    font-size: 12px !important;
    margin-top: -22px !important;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}