textarea {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 35px;
}

.file-viewer {
    overflow: hidden;
    margin-top: 5px;

    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: #eee;
        max-height: 160px;
    };
}

.required {
    color: #dd4b39;
}

.content-header {
    // height: 45px;
}

.custom-file, .custom-file-input {
    height: calc(2.25rem - 1px);
    .input-group-text{
        border: 1px solid #ced4da;
    }
}

input[type=file].custom-file-input {
    position: relative;
    z-index: 2;
    width: 100%;
    //height: calc(1.5em + .75rem - 1px);
    margin: 0;
    opacity: 0;
    display: block;
}

label.custom-file-label {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;

    &::after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
        display: block;
        height: calc(1.5em + .75rem);
        padding: .375rem .75rem;
        line-height: 1.5;
        color: #495057;
        content: "Browse";
        background-color: #e9ecef;
        border-left: inherit;
        border-radius: 0 .25rem .25rem 0;
    }

    transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;

    margin: 0 7px;
    overflow: hidden;
}

.d-none {
    display: none;
}
.d-block {
    display: block;
}

.modal-dialog {
    .modal-body {
        .select2-container {
            width: 100% !important;
            padding: 0;
        }
    }
}

i.fa.fa-question-circle[data-toggle] {
    color: red;
}
