.document-tags-control-container {
    .dbqde-document-tags-empty {
        margin: $document-editor-default-margin;
    }

    .card {
        background-color: inherit;
        border: 0 none;

        .card-header {
            margin: 0;
            padding: 0;

            button {
                color: #fff !important;
                background-color: $document-editor-tab-bar-background-color !important;
                border-color: $global-border-color !important;
                height: 54px;
                width: 100%;
                padding: 0 15px;
                text-align: left;
                box-shadow: none !important;
                border-radius: 0;

                i {
                    float: right;
                    margin-top: 3px;
                }

                &[data-toggle="collapse"] {
                    .fa:before {
                        content: "\f078";
                    }

                    &.collapsed .fa:before {
                        content: "\f054";
                    }
                }
            }
        }

        .card-body {
            padding: 0;
        }
    }
}

.dbqde-document-tags-header {
    font-size: 16px !important;
    line-height: 36px;
    border: 0 none !important;
    font-weight: normal;
    border-radius: 0 !important;
    margin: 0 !important;
}

.dbqde-document-tags-scrollview {
    height: 300px;
    margin: $document-editor-default-margin;
    padding: 0 !important;
}

.dbqde-document-tags-container {
    .dbqde-document-tag {
        clear: both;
        color: #fff;
        height: 35px;

        .dbqde-document-tag-name {
            line-height: 35px;
            font-size: 14px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            float: left;
            max-width: 215px;
        }

        .dbqde-switch {
            float: right;
            margin-top: 5px;
        }
    }
}

/*********************************
*    Custom Switch Slider      *
********************************/

.dbqde-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;

    input {
        opacity: 0;
        width: 0;
        height: 0;
    }
}

.dbqde-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 24px;

    &:before {
        position: absolute;
        content: "";
        height: 16px;
        width: 16px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 50%;
    }
}

input:checked+.dbqde-slider {
    background-color: #2196F3;
}

input:focus+.dbqde-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.dbqde-slider:before {
    -webkit-transform: translateX(34px);
    -ms-transform: translateX(34px);
    transform: translateX(34px);
}