﻿@charset "utf-8";

/* INTEGER COMBO & FASTSEARCH */
select.azfield-fastsearch {
    text-indent: 40px;
    height: 2.5em;
    min-height: 2.5em;
    vertical-align: middle;
}

@-moz-document url-prefix() {
    select.azfield-fastsearch {
        text-indent: 20px;
    }
}

.azfield-clear {
    float: right;
}

i.azfield-fastsearch {
    float: left;
    background-color: transparent;
    height: 32px;
    width: 32px;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    line-height: 32px;
    cursor: pointer;
    margin: 3px;
    margin-left: 10px;
    pointer-events: none;
    z-index: 1;
    color: dimgray;
}

input.azfield-fastsearch {
    padding-left: 45px;
    display: block;
    margin-right: 1%;
    position: absolute;
    color: transparent;
}

input.azfield-fastsearch-opened {
    width: 92%;
    display: block;
    margin-right: 1%;
    position: absolute;
}

input.azfield-fastsearch-closed {
    border-color: transparent;
    cursor: pointer;
    padding-left: 0px;
    color: transparent;
    background-color: transparent;
    width: 45px;
    min-width: 45px;
}

/* LANGUAGE & MULTI VALUE */
ul.azmultivalue {
    list-style-type: none;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    padding-left: 0px;
    border: 1px solid transparent;
}

li.azmultivalue {
    line-height: 2em;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

    li.azmultivalue:hover {
        background-color: gainsboro;
    }

.azlanguage-lang-level {
    width: 2.5em;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    border: 1px solid darkgray;
    height: 1.5em;
    line-height: 1.2em;
    font-family: Arial;
}

.azlanguage-lang-level-selected {
    font-weight: bold;
    background-color: #217F10;
    color: white;
    border-color: darkgray;
}

.azlanguage-lang-level:hover {
    border-color: black;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child),
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text {
    border-left: none;
}

/* INPUT RADIO & CHECKBOX */
input[type=checkbox], input[type=radio] {
    vertical-align: baseline;
}

    input[type=radio] + span {
        padding-left: 5px;
    }

.azfield-selected {
    font-weight: normal;
}

.form-control {
    min-height: 2.4em;
    height: auto;
}

.form-control,
input.form-control.valid,
textarea.form-control.valid,
select#select-box {
    font-weight: normal;
    margin-top: -2px;
}

.azfield-primarykeyidmodel-description,
.azfield-primarykeycodemodel-description,
.azfield-typemodel-description {
    font-weight: normal;
    margin-top: -1px;
}

::placeholder {
    font-weight: normal !important;
    color: darkgray !important;
}

.input-group-text {
    margin-top: -2px;
}



/* OPZIONE ESCLUSIVA / RADIO BUTTON GROUP */
ul.group-option {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

li.group-option {
    padding: 6px 15px 8px 15px;
    list-style: none;
    margin: 0;
    font-variant: small-caps;
    cursor: pointer;
    color: var(--link-color);
    border: 1px solid #DFE2E6;
    border-right-color: transparent;
    background-color: white;
}

    li.group-option:last-child {
        border-right-color: #DFE2E6;
    }

    li.group-option:hover {
        color: var(--hover-link-color);
        border-color: var(--link-color);
    }

    li.group-option.selected-group-option {
        border-bottom: 4px solid #A6251F !important;
        padding: 5px 15px 6px 15px;
        font-weight: bold;
    }
