﻿/* AtxInput */

.AtxInputWrapper{
    position:relative;
    width: 100%;
    box-sizing: border-box;
}

.AtxInputLabel{
    display: inline-block;
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% - 2px);
    border-radius: 4px;
    padding: 8px;
    box-sizing: border-box;
    line-height: 14px;
    font-size: 14px;
    z-index: 1;
    background-color: white;
    color:#ababab 
}

.AtxInputLabel.AtxInputLabelExtra{
    padding-top: 8px;
    padding-bottom: 8px;
}

.AtxInput > input[type='file'] {
    padding: 7px;
}

.AtxInputContainer.AtxInputHasError:not(.AtxInputActive) .AtxInputLabel{
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
}

.AtxInputContainer.AtxInputActive .AtxInputLabel{
    top: -7px;
    padding: 0 5px;
    width: auto;
    margin-left: 10px;
    font-size: 12px;
    height: 14px;
    line-height: 14px;
    color:gray;
}

.AtxInputContainer.AtxInputHasError.AtxInputActive .AtxInputLabel{
    color:red;
}

.AtxInput > input, .AtxInput > select{
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #ababab;
    padding: 8px;
    border-radius: 4px;
    background-color: white;
}

.AtxInputContainer:hover  .AtxInput>  input, .AtxInputContainer:hover .AtxInput > select{
    border: 1px solid #cccccc;
}

.AtxInput > input:disabled:hover, .AtxInput > select:disabled:hover{
    background-color: white;
    cursor: not-allowed;
}

.AtxInputContainer.AtxInputHasError .AtxInputMessageWrapper{
    display: flex;
}
.AtxInputMessageWrapper{
    display: none;
    line-height: 14px;
    margin-top: 1px;
    padding-left: 3px;
}

.AtxInputMessageText{
    font-size: 12px;
    margin-left: 3px;
    color: red;
}

.AtxInputContainer.AtxInputHasError .AtxInput > input{
    border-color: red;
    border-width: 2px;
}

.AtxInputContainer.AtxInputHasError .AtxInput.AtxMultipleInput > input{
    border-right-width: 0;
}

.AtxInputContainer.AtxInputHasError .AtxInput.AtxMultipleInput > input:last-of-type{
    border-right-width: 1px;
}

.AtxInputContainer.AtxInputHasError .AtxCheckboxWrapper
{
    border: 2px solid red;
    border-radius: 4px;
}


.AtxMultipleInput{
    display: flex;
}

.AtxInput.AtxMultipleInput > input{
    border-radius: 0px;
    border-right-width: 0;
}

.AtxInput.AtxMultipleInput > input:first-of-type{
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.AtxInput.AtxMultipleInput > input:last-of-type{
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    border-right-width: 1px;
}

.AtxCheckboxWrapper{
    display: flex;
    font-size: 14px;
}

.AtxCheckboxWrapper input[type='checkbox']{
    margin: 4px 5px 0 5px
}

input:focus{
    outline: none !important;
}

.AtxInputMessageIcon > img{
    width: 12px;
}
