* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    width: 100%;
    height: 100% !important;
}

.img-fluid {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ellipsis {
    --x: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: var(--x);
    -webkit-line-clamp: var(--x);
    -webkit-box-orient: vertical;
}

.flex {
    display: flex;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-a {
    display: flex;
    justify-content: space-around;
}

.flex-b {
    display: flex;
    justify-content: space-between;
}

.flex-h-c {
    display: flex;
    justify-content: center;
}

.flex-v-c {
    display: flex;
    align-items: center;
}

.flex-c {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* bootstrap start */
.offcanvas-backdrop {
    /* border: 1px red solid; */
    z-index: 2147483646;
}

.offcanvas {
    z-index: 2147483647;
}

.offcanvas-fluid {
    inset: 0;
    background-color: transparent;
}
/* bootstrap end */

/* split start */
.split {
    /* border: 1px red solid; */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.gutter {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url("grips/vertical.png");
    cursor: col-resize;
}

.gutter.gutter-vertical {
    background-image: url("grips/horizontal.png");
    cursor: row-resize;
}

.gutter.gutter-vertical {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=");
    cursor: row-resize;
}

.gutter.gutter-horizontal {
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==");
    cursor: row-resize;
}
/* split end */
