﻿.new-from-control {
    border: solid 1px #ccc;
    border-radius: 6px;
    padding: 8px 4px 4px;
    background-color: #FFF;
    margin-top: 1.5rem;
    position: relative;
}

    .new-from-control ::-webkit-file-upload-button {
        display: none;
    }

    .new-from-control ::file-selector-button {
        display: none;
    }

    .new-from-control .form-label {
        position: absolute;
        background: linear-gradient(180deg, white,white, transparent);
        right: 6px;
        padding: 3px 6px;
        font-size: 13px;
        top: -14px;
        color: #999;
    }

    .new-from-control .form-control {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 2px 8px !important;
        background-color: #fff;
    }

    .new-from-control select {
        padding: 0 !important
    }

    .new-from-control .select2 {
        height: 28px;
    }

    .new-from-control .select2-selection {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        height: 32px;
    }

    .new-from-control .select2-selection__rendered {
        line-height: 30px !important;
        height: 32px !important;
    }

    .new-from-control .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 32px !important;
    }

    .new-from-control .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
        left: 0px !important;
    }

    .new-from-control .select2-container--open .select2-dropdown {
        top: 3px;
    }

    .new-from-control .select2-container--default .select2-selection--multiple .select2-selection__choice {
        transform: scale(.80);
        margin-left: -10px;
    }

    .new-from-control .datetime-icon {
        position: absolute;
        background-color: #FFF;
        left: 8px;
        font-size: 22px;
        color: #999;
        top: 8px;
        height: 24px;
    }


.date-picker {
    text-align: center
}

.new-from-control .form-control.hidden {
    visibility: hidden;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
}

.file-upload span {
    padding: 4px 15px;
    font-size: 15px;
}

.has-icon .form-control {
    padding-left: 30px !important
}

.nowrap {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    color: #fd01ff !important;
}

.form-switch {
    padding-right: 3.5em;
}

    .form-switch .form-check-input {
        width: 3em;
        margin-right: -3.5em;
    }

.form-switch .form-check-label{
    margin-top:4px;
}