[data-action="reload_attachment"] {
    display: none !important;
}
.frappe-control[data-fieldtype="Attach"] .attached-file {
    padding: 3px 10px 4px 10px !important;
}
[data-fieldtype="Table"] .frappe-control[data-fieldtype="Attach"] .attached-file {
    margin: 6px 0px !important;
}
.control-input button[data-fieldtype="Attach"] {
    height: 28px !important;
}
button[data-fieldtype="Button"] {
    height: 24px !important;
    margin: 1px !important;
    display: flex !important;
    width: auto !important;
}
.control-input:has(button[data-fieldtype="Button"]) {
    width: max-content !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: 10px !important;
}
.control-input-wrapper:has(button[data-fieldtype="Button"]) {
    width: 100% !important;
    height: 54.5px !important;
}
.control-input-wrapper:has(button[data-fieldtype="Button"]) .help-box {
    margin-top: 5.7px !important;
}
.form-assignments, .form-shared, .followed-by-section, .form-sidebar-stats {
    display: none !important;
}
.layout-main-section.frappe-card .sort-selector button[data-toggle="dropdown"] .dropdown-text {
    width: 70px;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
}
form [data-fieldtype="Table"] .form-grid-container .form-grid button[data-fieldtype="Attach"] {
    margin: 6px 4px !important;
}
.grid-body .editable-row .checkbox {
    margin-top: 11px !important;
}
[data-fieldtype="Table"] {
    .data-row {
        flex-wrap: nowrap !important;
        & > * {
            height: auto !important;

            &:is(:not([data-fieldtype])):last-child,
            &:is(.row-check):first-child {
                display: none !important;
            }

            &.row-index {
                max-width: 50px;
            }

            &.col-1, &.col-xs-1,
            &.col-2, &.col-xs-2,
            &.col-3, &.col-xs-3,
            &.col-4, &.col-xs-4 {
                flex: 0 0 var(--custom-width) !important;
                max-width: var(--custom-width) !important;
            }
            &.col-1, &.col-xs-1 {
                --custom-width: 15%;
            }
            &.col-2, &.col-xs-2 {
                --custom-width: 15%;
            }
            &.col-3, &.col-xs-3 {
                --custom-width: 15%;
            }
            &.col-4, &.col-xs-4 {
                --custom-width: 15%;
            }
        }
    }
}
[custom_block_name="Test Iframe"] iframe {
    height: 450px !important;
}
[data-original-title="Print"] {
    display: none !important;
}
#page-Portfolio {
    .page-head-content {
        .dropdown-divider + * {
            display: none !important;
        }
        .custom-actions :last-child {
            background-color: #fff200 !important;
            margin-left: 10px;
            height: 28px !important;
            font-size: var(--text-sm);
            font-weight: var(--weight-regular);
            letter-spacing: .02em;
            padding: 4.5px 8px;
            border-radius: var(--border-radius) !important;
            order: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 500;
            transition: background-color 0.2s ease-in-out;
            &:hover {
                background-color: hsl(57, 100%, 70%) !important;
            }
        }
    }
}
.rocket-chat-block:hover {
    top: calc(100vh - 655px) !important;
    height: 640px !important;
    width: 320px !important;
}
.rocket-chat-block {
    z-index: 1049;
    position: fixed;
    top: calc(100vh - 75px);
    right: 15px;
    height: 60px;
    width: 60px;
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.5s ease-out;
}
.rocket-chat-block > div {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 60px;
    height: 60px;
    background-color: #1F2329;
    border-radius: 30px;
    padding: 15px;
}
.rocket-chat-block > div > span {
    font-size: 30px;
    line-height: 30px;
    display: flex;
}
.rocket-chat-block:hover > div {
    display: none;
}
.rocket-chat-block > iframe {
    height: 640px;
    width: 320px;
    border-width: 0px;
}