.groupbox {
    border: 1px solid #ddd;
    padding: 1.5rem 1rem 1rem 1rem;
    border-radius: 4px;
    position: relative;
    margin-top: 0.5rem;
}

    .groupbox .legend {
        position: absolute;
        top: -10px;
        left: 30px;
        background-color: #fff;
        padding: 0 0.5rem;
    }
