.field.root {
    position: relative;
}

.field {
    border-bottom: 1px solid var(--border);
    padding-bottom:2px;
    position: relative;
}

.field-label {
    cursor: pointer;
    display: block;
    max-width: 100%;
    position: relative;
}

.field-label::before {
    content: "";
 	width: 8px;
 	height: 6px;
 	display: inline-block;
 	position: absolute;
 	top: 6px;
 	left: -10px;
 	background-image: url(../img/icon-sprite.png);
 	background-repeat: no-repeat;
 	background-position: -1px -596px;
 	color: var(--anval-text);
    transform: rotate(270deg);
}

.field-label.down::before {
    transform: rotate(0deg);
}

.field-label.active {
    font-weight: bold;
    color: var(--active) !important;
    position: relative;
}

.options {
    visibility: hidden;
    height: 0px;
}

.options.visible {
    visibility: visible;
    height: auto;
    margin-left: 10px;
}

.option-label {
    display: block;
    margin-bottom: 5px;
    width: auto;
    height: auto;
    cursor: pointer;
    color: var(--anval-text);
}

.option-label:hover {
    color: var(--active);
    font-weight: bold;
}

.option-label.active {
    color: var(--active);
    font-weight: bold;
    position: relative;
}

input,
select {
    width: calc(100% - 12px);
    border:1px solid var(--border);
    height: 24px;
    padding: 2px 4px;
}

input[type="checkbox"] {
    width: auto;
    height: auto;
    border: 0px;
    cursor: pointer;
    margin:auto;
}

.field-label.checkbox-label {
    padding-left: 22px;
}

.field-label.checkbox-label::before {
    display: none;
}

.field-label.checkbox-label+.options {
    border: 0px;
    margin: 0px;
    padding: 0px;
    visibility: visible;
    position: absolute;
    top: 2px;
}

.masked {
    display: none;
}

.deselectable > .option-label.active::after {
    content: 'X';
    position: absolute;
    top: 1px;
    right: 10px;
    color: var(--anval-red);
}

.clear-input {
    position: absolute;
    top:1px;
    right:10px;
    font-weight: bold;
    cursor: pointer;
    color: var(--anval-text);
}

.field-label.active + .options > .clear-input {
    color: var(--anval-red);
}

.field-label.required {
    color: var(--required);
    font-weight: bold;
}

.field-label.active-branch {
    color: var(--active);
    font-weight: bold;
}
