﻿/*version: 1.0*/
div.form div.item {
    float: right;
    padding: 10px;
    vertical-align: top;
    width: 20%;
    box-sizing: border-box;
}

    div.form div.item div.title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    div.form div.item div.control {
        /*min-height: 40px;*/
        position: relative;
    }

div.form div.item100 {
    float: right;
    padding: 10px;
    vertical-align: top;
    box-sizing: border-box;
    width: 100%;
}

span.select2 {
    width: 100% !important;
}

input[type=text], input[type=file], input[type=number], input[type=time],
input[type=password], textarea, .select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    width: 100%;
    height: var(--inputHeight);
    border-radius: var(--borderRadius);
    border: var(--border);
    box-sizing: border-box;
    background: #fff;
}

.togglePassword {
    width: 20px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    z-index: 1;
}

textarea {
    max-width: 100%;
    max-height: 100%;
}

    input:focus, textarea:focus {
        outline: none;
    }

div.form div.item100 textarea {
    height: 100px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: var(--inputHeight);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 20px 0 8px;
    line-height: 40px;
}

.select2-container--default .select2-selection--multiple {
    max-height: 40px;
    overflow: auto;
}

.validator, .ValidationSummary {
    display: none;
}

@media only screen and (max-width: 768px) and (min-width: 0) {
    div.form div.item {
        width: 50%;
    }
}
