.portlet.vs1-resizable-panel {
    position: relative;
    overflow: visible !important;
    left: auto !important;
    top: auto !important;
}

.portlet.vs1-resizable-panel > .card-header:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.portlet.vs1-resizable-panel > .card-body:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.sortable-chart-widget-js.resizeAfterChart,
.draggable-panel.resizeAfterChart {
    flex: 0 0 auto;
    max-width: none;
}

.draggable-panel.resizeAfterChart .card.portlet > .card-body {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}

.draggable-panel.resizeAfterChart .card.portlet > .card-body .canvasParentDiv {
    height: 100% !important;
    max-height: 100% !important;
}

.portlet.vs1-resizable-panel > .ui-resizable-handle {
    display: block;
    position: absolute;
    opacity: 1;
    background: none;
    border: 0;
    font-size: 0;
    z-index: 91;
    touch-action: none;
    -ms-touch-action: none;
}

.portlet.vs1-resizable-panel.ui-resizable-disabled > .ui-resizable-handle,
.portlet.vs1-resizable-panel.ui-resizable-autohide > .ui-resizable-handle {
    display: none;
}

.portlet.vs1-resizable-panel > .ui-resizable-e {
    top: 0;
    height: 100%;
    width: var(--vs1-rz-right-gutter, 12px);
    right: calc(-1 * var(--vs1-rz-right-gutter, 12px));
    cursor: ew-resize;
}

.portlet.vs1-resizable-panel > .ui-resizable-w {
    top: 0;
    height: 100%;
    width: var(--vs1-rz-left-gutter, 12px);
    left: calc(-1 * var(--vs1-rz-left-gutter, 12px));
    cursor: ew-resize;
}

.portlet.vs1-resizable-panel > .ui-resizable-s {
    left: 0;
    width: 100%;
    height: var(--vs1-rz-bottom-gutter, 14px);
    bottom: calc(-1 * var(--vs1-rz-bottom-gutter, 14px));
    cursor: ns-resize;
}

.portlet.vs1-resizable-panel > .ui-resizable-se {
    right: calc(-1 * var(--vs1-rz-right-gutter, 12px));
    bottom: calc(-1 * var(--vs1-rz-bottom-gutter, 14px));
    width: calc(var(--vs1-rz-right-gutter, 12px) + 6px);
    height: calc(var(--vs1-rz-bottom-gutter, 14px) + 6px);
    cursor: nwse-resize;
    z-index: 95;
}

.portlet.vs1-resizable-panel > .ui-resizable-sw {
    left: calc(-1 * var(--vs1-rz-left-gutter, 12px));
    bottom: calc(-1 * var(--vs1-rz-bottom-gutter, 14px));
    width: calc(var(--vs1-rz-left-gutter, 12px) + 6px);
    height: calc(var(--vs1-rz-bottom-gutter, 14px) + 6px);
    cursor: nesw-resize;
    z-index: 95;
}

.portlet.vs1-resizable-panel.vs1-rz-inset-e > .ui-resizable-e,
.portlet.vs1-resizable-panel.vs1-rz-inset-e > .ui-resizable-se {
    right: 0;
}

.portlet.vs1-resizable-panel.vs1-rz-inset-w > .ui-resizable-w,
.portlet.vs1-resizable-panel.vs1-rz-inset-w > .ui-resizable-sw {
    left: 0;
}

.portlet.vs1-resizable-panel.vs1-rz-inset-s > .ui-resizable-s,
.portlet.vs1-resizable-panel.vs1-rz-inset-s > .ui-resizable-se,
.portlet.vs1-resizable-panel.vs1-rz-inset-s > .ui-resizable-sw {
    bottom: 0;
}

.portlet.vs1-resizable-panel > .ui-resizable-e::after,
.portlet.vs1-resizable-panel > .ui-resizable-w::after,
.portlet.vs1-resizable-panel > .ui-resizable-s::after {
    content: "";
    position: absolute;
    border-radius: 3px;
    background-color: #b7b9cc;
    opacity: 0;
    transition: opacity .15s ease, background-color .15s ease;
}

.portlet.vs1-resizable-panel > .ui-resizable-e::after,
.portlet.vs1-resizable-panel > .ui-resizable-w::after {
    top: 50%;
    left: 50%;
    width: 4px;
    height: 48px;
    margin-top: -24px;
    margin-left: -2px;
}

.portlet.vs1-resizable-panel > .ui-resizable-s::after {
    left: 50%;
    top: 50%;
    width: 48px;
    height: 4px;
    margin-left: -24px;
    margin-top: -2px;
}

.portlet.vs1-resizable-panel > .ui-resizable-se::after,
.portlet.vs1-resizable-panel > .ui-resizable-sw::after {
    content: "";
    position: absolute;
    bottom: 2px;
    width: 14px;
    height: 14px;
    opacity: .5;
    transition: opacity .15s ease;
    background-image: repeating-linear-gradient(-45deg, #b7b9cc, #b7b9cc 2px, transparent 2px, transparent 5px);
}

.portlet.vs1-resizable-panel > .ui-resizable-se::after {
    right: 2px;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.portlet.vs1-resizable-panel > .ui-resizable-sw::after {
    left: 2px;
    background-image: repeating-linear-gradient(45deg, #b7b9cc, #b7b9cc 2px, transparent 2px, transparent 5px);
    -webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.portlet.vs1-resizable-panel:hover > .ui-resizable-e::after,
.portlet.vs1-resizable-panel:hover > .ui-resizable-w::after,
.portlet.vs1-resizable-panel:hover > .ui-resizable-s::after {
    opacity: .6;
}

.portlet.vs1-resizable-panel:hover > .ui-resizable-se::after,
.portlet.vs1-resizable-panel:hover > .ui-resizable-sw::after {
    opacity: .85;
}

.portlet.vs1-resizable-panel > .ui-resizable-e:hover::after,
.portlet.vs1-resizable-panel > .ui-resizable-w:hover::after,
.portlet.vs1-resizable-panel > .ui-resizable-s:hover::after,
.portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-e::after,
.portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-w::after,
.portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-s::after {
    opacity: 1;
    background-color: #00a3d3;
}

.portlet.vs1-resizable-panel > .ui-resizable-se:hover::after,
.portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-se::after {
    opacity: 1;
    background-image: repeating-linear-gradient(-45deg, #00a3d3, #00a3d3 2px, transparent 2px, transparent 5px);
}

.portlet.vs1-resizable-panel > .ui-resizable-sw:hover::after,
.portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-sw::after {
    opacity: 1;
    background-image: repeating-linear-gradient(45deg, #00a3d3, #00a3d3 2px, transparent 2px, transparent 5px);
}

.portlet.vs1-resizable-panel.vs1-rz-active {
    outline: 1px dashed #00a3d3;
    outline-offset: 1px;
}

body.chart-resizing,
body.chart-resizing * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.chart-resizing iframe {
    pointer-events: none;
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-e::after,
html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-w::after,
html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-s::after {
    background-color: #6e7080;
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-se::after {
    background-image: repeating-linear-gradient(-45deg, #6e7080, #6e7080 2px, transparent 2px, transparent 5px);
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-sw::after {
    background-image: repeating-linear-gradient(45deg, #6e7080, #6e7080 2px, transparent 2px, transparent 5px);
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-e:hover::after,
html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-w:hover::after,
html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-s:hover::after,
html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-e::after,
html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-w::after,
html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-s::after {
    background-color: #3ec6ef;
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-se:hover::after,
html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-se::after {
    background-image: repeating-linear-gradient(-45deg, #3ec6ef, #3ec6ef 2px, transparent 2px, transparent 5px);
}

html.dark-mode .portlet.vs1-resizable-panel > .ui-resizable-sw:hover::after,
html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active > .ui-resizable-sw::after {
    background-image: repeating-linear-gradient(45deg, #3ec6ef, #3ec6ef 2px, transparent 2px, transparent 5px);
}

html.dark-mode .portlet.vs1-resizable-panel.vs1-rz-active {
    outline-color: #3ec6ef;
}
