/*
 * This file is part of  the extension: Ebla Layout Pro
 * Copyright (c) Eblasoft Bilişim Ltd.
 *
 * This Software is the property of Eblasoft Bilişim Ltd. and is protected
 * by copyright law - it is NOT Freeware and can be used only in one project
 * under a proprietary license, which is delivered along with this program.
 * If not, see <http://eblasoft.com.tr/eula>.
 *
 * This Software is distributed as is, with LIMITED WARRANTY AND LIABILITY.
 * Any unauthorised use of this Software without a valid license is
 * a violation of the License Agreement.
 *
 * According to the terms of the license you shall not resell, sublicense,
 * rent, lease, distribute or otherwise transfer rights or usage of this
 * Software or its derivatives. You may modify the code of this Software
 * for your own needs, if source code is provided.
 */

:root {
    --record-grid-max-width: 1600px;
}

.panel > .panel-body.panel-body-form .cell:not(.hidden-cell) {
    min-height: 46px;
}

.record .middle:after {
    content: "";
    display: block;
    clear: both;
}

.record .middle > div > .panel.has-col-css {
    border-bottom-left-radius: var(--panel-border-radius) !important;
    border-bottom-right-radius: var(--panel-border-radius) !important;
}

.record .middle > div > .panel.has-col-css > .panel-heading,
.record .middle > div > .panel.has-col-css,
.bottom > .bottom-panel-wrapper > .sticked {
    border-top-left-radius: var(--panel-border-radius) !important;
    border-top-right-radius: var(--panel-border-radius) !important;
}

.panel > .panel-body.panel-body-form .cell.cell-bold {
    font-weight: bold;
}

.bottom > .panel {
    clear: both;
}

.break-line {
    clear: both;
}

.record .middle > .fake-panel {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

/* fix extra padding */
.record .record-grid > .left {
    margin: 0 -8px;
}

.record .record-grid > .left > .middle {
    margin-bottom: 0;
}

/* Inline action buttons in list view */
.inline-actions-buttons {
    display: inline-flex;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
}

.inline-actions-buttons .btn {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
    min-width: auto;
    flex-shrink: 0;
}

.inline-actions-buttons .btn .fas,
.inline-actions-buttons .btn .far {
    font-size: 11px;
}

.list th[data-name="inlineButtons"],
.list td[data-name="inlineButtons"] {
    white-space: nowrap;
    text-align: right;
    padding-right: 5px;
    box-sizing: border-box;
    overflow: visible;
    width: 1%;
}

.list td[data-name="inlineButtons"] .cell-wrapper {
    overflow: visible;
}

.list td[data-name="inlineButtons"] > .inline-actions-buttons {
    overflow: visible;
}
