.db-views-btn {
    margin-top: -30px;
}

.db-views-label {
    margin-top: 0;
    position: relative;
}

#bottom-component .toolbar .btn.pull-right {
    margin-right: 0;
}

#bottom-component .toolbar .btn.pull-right.db-views-btn {
    margin-top: -34px;
}

.row.columnsGroup .vcenter {
    padding-left: 5px !important;
    padding-right: 5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dbViewDetailsForm .warning>label {
    padding-top: 6px;
}

.manageViewsDialog .modal-dialog {
    width: 560px;
}

.manageViewsDialog .columnsGroup {
    padding-right: 0px;
    margin-top: 10px;
}

.manageViewsDialog .paramsGroup {
    padding-left: 0px;
}

.manageViewsDialog .chart-setup-value>div.sq-input {
    width: 170px;
    margin-right: 25px;
}

.manageViewsDialog .btn-group {
    padding-left: 0px;
}

.manageViewsDialog .paramsGroup div.row.toolbar {
    padding-left: 40px;
    padding-right: 25px;
}

.manageViewsDialog .columnsGroup>label:first-child {
    margin-bottom: 0px;
}

.manageViewsDialog .paramsGroup .params-label>label {
    margin-left: 30px;
    margin-bottom: 20px;
}

.manageViewsDialog .columnsGroup .help-text {
    font-size: 10px;
    color: #777777;
    font-weight: 400;
    display: block;
    margin: 10px 18px;
    font-style: italic;
}

.manageViewsDialog #viewColumnsGrid {
    width: 270px;
    height: 200px;
}

#dbViewDetailsForm .toolbar .sqn-spinner {
    width: 80px;
}

#dbViewDetailsForm .sqn-label:first-child {
    min-width: 112px;
}

.manageViewsDialog #viewColumnsGrid td>a.remove-link {
    display: inline-block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: gray;
}

.view-columns-selector-wrapper {
    border: 1px solid #c7c7c7;
    margin: 0 18px;
}

.view-columns-selector {
    width: auto;
    height: 280px;
    overflow: auto;
    border-bottom: 1px solid #c7c7c7;
    box-sizing: border-box;
    user-select: none;
    background-color: #ffffff;
    color: #000000;
    font-size: 11px;
    padding-bottom: 20px;
    margin-bottom: 4px;
}

.view-columns-selector>div {
    position: relative;
}

.manageViewsDialog .view-columns-selector-wrapper button.btn {
    margin-left: auto;
    margin-right: auto;
    /* width: 100px; */
    min-width: 100px;
    margin-bottom: 5px;
    display: block;
}

.view-columns-selector>div>div {
    line-height: 20px;
    height: 20px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    display: flex;
}

.view-columns-selector>div>div:nth-child(even) {
    background-color: #fcfcfc;
}

.view-columns-selector>div>div:hover {
    background-color: #d5e9f5 !important;
}

.view-columns-selector>div>div>div:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 5px;
    flex: 1 1 auto;
}

.view-columns-selector>div>div>div.remove, .view-columns-selector>div>div>div.arrow-move {
    flex: 0 0 auto;
    padding: 0 5px;
    width: 20px;
    cursor: pointer;
    color: #555555;
    border-left: 1px solid #ddd;
    text-align-last: center;
}

.view-columns-selector>div>div.active>div.remove {
    border-left-color: #85d3ff !important;
}

.view-columns-selector>div>div>div.remove:hover {
    color: #000000;
}

.view-columns-selector .dndPlaceholder {
    display: block;
    visibility: hidden;
    height: 20px;
    border-bottom: 1px solid #ddd !important;
}

.modal .dbViewDetailsForm .sq-fieldset legend {
    margin-top: 10px;
    margin-bottom: 0;
}

.modal .dbViewsForm select {
    width: 100%;
}

.views-manage-buttons {
    text-align: center;
    margin-top: 12px;
}

.column-settings-modal label {
    width: 100px;
}

.manageViewsDialog .view-name-input {
    width: 220px;
}

.manageViewsDialog .dbViewDetailsForm div.overlay {
    position: absolute;
    z-index: 100;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: not-allowed;
}

.manageViewsDialog button.btn-create-new-view {
    height: 22px;
    line-height: 21px;
    vertical-align: 0;
}

body .views-manage-buttons .btn.btn-primary {
    margin-top: 0;
}

.column-settings-modal.modal .sq-fieldset {
    overflow: visible;
}

.modal.column-settings-modal.modal .modal-body {
    overflow: visible;
}