/** Forms **/
input {
    outline: none;
}

input[type="checkbox"]:not(checked),
input[type="checkbox"]:checked {
    width: 18px;
    height: 18px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: var(--color-primary-default) !important;
}

pre {
    border-left: 2px solid var(--color-primary-default);
    border-radius: 4px;
    background-color: #222B45;
    color: #EBEBEB;
    font-size: 12px;
    padding: 4px;
}

nb-checkbox.single-checkbox {
    label { padding: 0 !important; }

    span.text { display: none; }
}

.btn-group {
    .btn-outline-primary {
        border-color: var(--color-primary-default);
        color: var(--color-primary-default);
    }

    .btn-outline-primary:hover,
    .btn-outline-primary.active {
        background-color: var(--color-primary-default);
        color: #FFF;
    }
}


.field-container.disabled {
    opacity: 0.35;
}

.checkbox-field,
.radio-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    font-size: .8125rem;
    font-weight: 600;
}

.checkbox-field input[type="radio"],
.checkbox-field  input[type="checkbox"] {
    margin-right: 8px;
}

.input-with-icon {
    input,
    select,
    textarea {
        position: relative !important;
        padding-right: 35px !important;
    }

    display: flex;
    position: relative;

    fa-icon {
        position: absolute;
        right: 0;
        top: 5px;
        padding-left: 10px;
        margin-right: 10px;
        margin-top: 5px;
        font-size: 1.5em;
        color: #a4abb3;
        z-index: 3;
    }

    button[nbButton] {
        position: absolute;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        right: 0;
        top: 0;
        width: 48px;
        height: 48px;

        fa-icon {
            position: relative;
            display: flex;
            margin: 0;
            padding: 0;
            margin-bottom: 5px;
        }
    }

}

.control-label {
    font-weight: bold;
}

.control-label:after {
    content: ':';
}

.control-label.hide:after {
    content: '';
}

.control-label.required:before {
    content: '* ';
    color: nb-theme(color-danger-default);
}

.hidden-date-field {
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.no-resize {
    resize: none !important;
}

.custom-control {
    display: flex;
    align-items: center;
}

.custom-control-label {
    padding-top: 2px;
    font-weight: bold;
    font-size: 13px;
}
