.v2.layout > * {
    margin-top: 20px;
}

.v2.layout > *:not( .borderless ) {
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 1px 1px 3px #eee;
}

.v2.layout:not(.full-width) {
    max-width: 1100px;
}

.v2.layout > *:not(.borderless) > * {
    padding: 10px;
}

.v2.layout > *:not(.borderless) > *:not(:first-child) {
    border-top: 1px solid #ccc;
}

/*.v2.layout > *:not(.borderless) > *:nth-child(2) {
    padding-top: 0px;
}

.v2.layout > *:not(.borderless) > *:nth-child(2)::before {
    margin: -0.5px -10px 10px -10px;
    content: '';
    height: 4px;
    display: block;
    background: linear-gradient(#eee, transparent);
}*/

.v2.layout > * > .block-drag-area,
.v2.layout > section > section[drag-area] {
    background: rgba(0, 0, 0, 0) linear-gradient(-45deg, rgba(24, 103, 192, 0.05) 8.33%, rgb(255, 255, 255) 8.33%, rgb(255, 255, 255) 50%, rgba(24, 103, 192, 0.05) 50%, rgba(24, 103, 192, 0.05) 58.33%, rgb(255, 255, 255) 58.33%, rgb(255, 255, 255) 100%) repeat scroll 0% 0% / 9px 9px;
}

.v2.layout > * > :is(header) {
    font-size: 1.3em;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.v2.layout > *.borderless > :is(header) {
    margin-bottom:10px;    
}

.v2.layout > * > :is(header).error {
    border: var(--v2-scaled-border-width) solid var(--v2-theme-error-color);
    background-color: var(--v2-theme-error-background-color);
}

.v2.layout > * > :is(header).tabs {
    align-items: stretch;
    padding: 0;
    height: 40px;
    gap: 0;
}

.v2.layout > * > :is(header).tabs > span {
    border-right: solid 1px #ccc;
    display: flex;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    border-bottom: solid 3px #ddd;
    position: relative;
}

.v2.layout > * > :is(header).tabs > span:hover {
    background-color: #f5f5f5;
}

.v2.layout > * > :is(header).tabs > span.active {
    border-bottom: solid 3px var(--v2-theme-primary-color);
}

.v2.layout > * > :is(header).tabs > span.active::after {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 100%;
    margin-top: 1px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--v2-theme-primary-color);
}

.v2.layout > * > :is(header).tabs .v2-icon {
    margin-right: 5px;
    opacity: 0.7;
}