﻿motion-input {
    display: block;
}

    motion-input .component {
        /*font-size: 0;*/
    }

    motion-input .component .control {
        width: 100%;
        display: block;
    }

        motion-input .component.hasUnit .control {
            width: calc(100% - 90px);
            display: inline-block;
            vertical-align: top;
        }

        motion-input .component.hasUnit:hover .control input[type=text],
        motion-input .component.hasUnit:hover .unit {
            border-color: #6e6e6e !important;
        }

            motion-input .component.hasUnit .control input[type=text] {
                border-top-left-radius: 2px !important;
                border-bottom-left-radius: 2px !important;
                border-top-right-radius: 0px !important;
                border-bottom-right-radius: 0px !important;
            }

        motion-input .component.hasUnit.hasRequired .control input[type=text]:required {
            border-right-color: #a9a9a9 !important;
            border-right-width: 1px !important;
        }

        motion-input .component.hasUnit.hasRequired .unit {
            border-right-color: #ec1b24 !important;
            border-right-width: 2px;
        }

        motion-input .component .unit {
            font-family: 'ABBvoice', sans-serif;
            font-weight: 200;
            font-size: 13px;
            text-align: center;
            background-color: #e9e9e9;
            width: 90px;
            height: 37px;
            display: inline-block;
            padding: 2px 8px 0 8px;
            margin: 5px 0;
            line-height: 32px;
            border-left: none;
            border-right: 1px solid #a9a9a9;
            border-top: 1px solid #a9a9a9;
            border-bottom: 1px solid #a9a9a9;
            border-top-right-radius: 2px;
            border-bottom-right-radius: 2px;
            vertical-align: top;
        }

        motion-input .component.hasFocus .unit {
            box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
        }



motion-input .component .control input[type=text] {
    font-family: 'ABBvoice', sans-serif;
    font-weight: 400;
    font-size: 16px;
    box-shadow: none;
    color: #262626;
    padding: 3px 10px;
    margin: 5px 0;
    line-height: 32px;
    height: 37px;
    background-color: #ffffff;
    border: 1px solid #a9a9a9;
    border-radius: 2px;
    outline: none;
    width: 100%;
}

        motion-input .component .control input[type=text]:focus {
            box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
        }

        motion-input .component .control input[type=text]:hover {
            border-color: #6e6e6e;
        }

        motion-input .component .control input[type=text]:disabled {
            background-color: #fff !important;
            opacity: .5 !important;
            user-select: none !important;
        }

        motion-input .component .control input[type=text]:required {
            border-right-color: #ec1b24 !important;
            border-right-width: 2px;
        }
