/*MATERIAL INPUT*/
.mat-input{
    width: 100%;
}
.mat-input-outer{
    display: table;
    width: 100%;
    position: relative;
}
.mat-input-outer input,
.mat-input-outer textarea
{
    height: 50px;
    border-radius: 0;
    border: none;
    width: 100%;
    padding: 0 15px;
    font-size: 20px;
    font-style: italic;
    outline: none ;
}

.mat-input-outer textarea{
    height: 130px !important;
    padding: 10px 15px !important;
}
.mat-input-outer .textarea-label{
    top:90px !important;
}
.mat-input-outer label{
    font-size: 20px;
    left: 15px;
    position: absolute;
    top: 18px;
    font-style: italic;
    transition: .2s;
    color: #000;
    cursor: text;
    font-weight: normal;
    opacity: 0.4;
    filter: alpha(opacity=40);
}
.mat-input-outer .border{
    border: 1px solid #e8e9eb !important;
    height: 1px;
    background: #000;
    transition: .3s;
    -webkit-transition: .3s;
    -ms-transition: .3s;
}
.mat-input-outer .border::before{
    content: " ";
    display: table;
    height: 3px;
    width: 0%;
    background: transparent;
    transition: .3s;
    -webkit-transition: .3s;
    -ms-transition: .3s;
    margin: 0 auto;
}
.mat-input-outer input:focus ~ .border,
.mat-input-outer textarea:focus ~ .border
{
    background: transparent;
}
.mat-input-outer input:focus ~ .border::before,
.mat-input-outer textarea:focus ~ .border::before
{
    width: 100%;
    background: #f37022;
}
.mat-input-outer input + label.active,
.mat-input-outer textarea + label.active
{
    left: 5px;
    top: -25px !important;
    color: #f37022;
    opacity: 1;
    filter: alpha(opacity=100);
}

/*radio button*/
@keyframes ripple {
    0% {
        box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0);
    }
    50% {
        box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);
    }
    100% {
        box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);
    }
}
.md-radio {
    margin: 16px 0;
}
.md-radio.md-radio-inline {
    display: inline-block;
}
.md-radio input[type="radio"] {
    display: none;
}
.md-radio input[type="radio"]:checked + label:before {
    border-color: #f37022;
    animation: ripple 0.2s linear forwards;
}
.md-radio input[type="radio"]:checked + label:after {
    transform: scale(1);
}
.md-radio label {
    display: inline-block;
    position: relative;
    padding: 0 30px;
    margin-bottom: 0;
    cursor: pointer;
    vertical-align: bottom;
}
.md-radio label:before, .md-radio label:after {
    position: absolute;
    content: '';
    border-radius: 50%;
    transition: all .3s ease;
    transition-property: transform, border-color;
}
.md-radio label:before {
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.54);
}
.md-radio label:after {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    transform: scale(0);
    background: #f37022;
}
@media only screen and (max-width: 768px) {
    .mat-input-outer label{
        top: 24px;
        font-size: 14px;
        left: 5px;
    }
    .md-radio label:before {
        left: 0;
        top: 3px;
        width: 15px;
        height: 15px;
    }
    .md-radio label:after {
        top: 8px;
        left: 5px;
        width: 5px;
        height: 5px;
    }
    .md-radio {
        margin: 5px 0;
    }
}


