﻿/*#region MaterialInput style*/

.MaterialInput {
    position: relative;
    width: 200px;
    height: 30px;
}

.MaterialInput.Capctha input {
    position: absolute;
    z-index: 2;
    margin-left: 60px;
    width: Calc(100% - 60px) !important;
}

.MaterialInput .CapcthaImg {
    position: absolute;
    z-index: 1;
    margin-left: -3px;
    margin-top: 6px;
}

.MaterialInput textarea::-webkit-scrollbar {
    width: 10px;
}

.MaterialInput textarea::-webkit-scrollbar-thumb {
    border-radius: 4px;
    border: none;
    border-left: 0px;
}

.MaterialInput.Disabled * {
    cursor: not-allowed;
}

.MaterialInput .Caption {
    color: rgba(0, 0, 0, 0.80);
    position: absolute;
    z-index: 0;
    font-size: 14px;
    font-family: Roboto-Regular;
}


.MaterialInput textarea {
    padding-top: 5px;
    /* padding: 0px; */
    position: absolute;
    z-index: 1;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 14px;
    z-index: 0;
    font-weight: 400;
    text-overflow: ellipsis;
    margin: 0px;
    margin-top: 0px;
    resize: none;
    font-family: Roboto-Regular;
    color: #000000;
    height: 100%;
    width: 100%;
    position: relative;
    margin-bottom: 10px;
    margin-top: 0px;
    overflow: hidden;
}


.MaterialInput.Disabled textarea {
    color: #000000;
}

.MaterialInput input {
    left: 0;
    position: absolute;
    z-index: 1;
    outline: none;
    border: none;
    font-size: 14px;
    z-index: 0;
    font-weight: 400;
    height: 30px;
    text-overflow: ellipsis;
    padding: 0px;
    background-color: transparent;
    font-family: Roboto-Regular;
    color: #000000;
    width: calc(100% - 15px) !important;
}

.MaterialInput input.Date2 {
    text-overflow: unset;
    width: calc(100% - 1px) !important;
}

.MaterialInput.Disabled input {
    color: #000000;
}

.MaterialInput.Disabled.Link input {

    text-decoration: underline;
    cursor: pointer;
}


.MaterialInput .Border1 {
    border-top: 1px solid #ffffff;
    width: 100%;
    float: left;
    margin-top: 32px;
    position: absolute;
    z-index: 0;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.MaterialInput.Textarea {

    margin-bottom: -12px;
}

.MaterialInput.Textarea .Border1 {
    width: 100%;
    position: relative;
    position: relative;
    margin-top: -10px;
}


.MaterialInput.Disabled .Caption {
    color: #000000
}

.MaterialInput.Disabled .Border1 {
    background-position: top -1px left 0;
    background-size: 8px 7px;
    background-repeat: repeat-x;
    border-top-width: 1px;
    border-top-color: transparent;
    background-image: linear-gradient(to right, rgb(109, 93, 40) 0%, rgb(109, 93, 40) 33%, transparent 0%);
    background-image: -ms-linear-gradient(left, transparent 0%, rgba(0, 0, 0, 0.38) 100%);
    box-shadow: none;
}


.MaterialInput.Textarea.Disabled .Border1 {
    display: block
}

.MaterialInput.Textarea.Disabled textarea {

}

.MaterialInput.Disabled.Borderless .Border1 {

    background-image: none;
}


.MaterialInput .Border2 {
    border-top: 2px solid #5e4d09;
    width: 0px;
    margin-top: 32px;
    margin-left: 50px;
    position: absolute;
    z-index: 0;
    float: left;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.MaterialInput.Textarea .Border2 {
    position: relative;
    margin-top: -10px;
}


.MaterialInput.Error .Border2 {
    display: none;
}

.MaterialInput.Error .Caption {
    color: red !important;
}

.MaterialInput .ErrorMessage {
    color: Red;
    position: absolute;
    z-index: 0;
    font-size: 14px;
    font-style: italic;
    margin-top: 35px;
    word-break: break-all;
    display: none;
}

.MaterialInput.Error .ErrorMessage {
    display: block;
    word-break: break-all;
    position: absolute;
    font-weight: bold;
}


.MaterialInput .Border2 {
}

.MaterialInput.Disabled .Border2 {
    border-top: 0px;
}


.MaterialInput .Caption.Focus {
    color: #2899f2;
    font-weight: 600;
}


.MaterialInput.Disabled .Border2 {
    display: none;
}


.MaterialInput .Multply {
    float: left;
    text-align: center;
    width: 20px;
    float: left;
    text-align: center;
    height: 25px;
    font-size: 20px;
    color: #777;
}

.MaterialInput.Error .Border1 {
    border-top: 2px solid Red !important;
    -webkit-animation: pulsate 1s alternate-reverse;
    -webkit-animation-iteration-count: infinite;
}

/*#endregion*/


.Pulsate {
    -webkit-animation: pulsate 2s alternate-reverse;
    -webkit-animation-iteration-count: infinite;
    background: #F44336 !important;
}


.PulsateErrorLow {
    -webkit-animation: pulsate 0.5s alternate-reverse;
    -webkit-animation-iteration-count: infinite;
    color: red;
}


.PulsateError {
    -webkit-animation: pulsate 0.8s alternate-reverse;
    -webkit-animation-iteration-count: infinite;
    color: red;
}


.Save.Error {
    -webkit-animation: pulsate 1s alternate-reverse;
    -webkit-animation-iteration-count: infinite;
    color: red;
}

.Save.Error:hover {
    -webkit-animation: none;
    -webkit-animation-iteration-count: infinite;
    color: #01a3d0;
}
/* Application login input styles */
.input-info-wrapper {
    position: relative;
}

.input-info-wrapper input {
    padding-right: 30px; /* space for icon */
}

.input-info-wrapper .info-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #007bff;
    font-size: 16px;
}
