.container, .horizontalContainer, .patchesContainer { border: solid 1pt slategrey; border-radius: 6px; } .container { position: relative; font-size: small; display: inline-flex; flex-direction: column; justify-content: center; padding: 16pt; margin: 10pt; min-width: 15%; height: 214px; line-height: 1.5em; } .container > * { margin: 3pt 0; } .header { font-size: 1.5em; line-height: 1.25em; text-align: center; background-color: white; padding: 0 0.25em 0.075em; border-left: 1px solid slategrey; border-right: 1px solid slategrey; box-sizing: border-box; } .container > .header { position: absolute; top: -7.5%; left: 12%; } .horizontalContainer > .header, .patchesContainer > .header { position: absolute; top: -5.25%; left: 6%; } .horizontalContainer { position: relative; font-size: small; display: inline-flex; flex-direction: row; justify-content: center; align-items: center; padding: 16pt 8pt 16pt 8pt; margin: 10pt; width: 448px; height: 214px; } .patchesContainer { position: relative; font-size: small; display: inline-flex; flex-direction: row; justify-content: center; align-items: center; padding: 16pt 8pt 16pt 8pt; margin: 10pt; width: 680px; height: 214px; } .horizontalContainer > .container, .patchesContainer > .container { padding: 0 16pt; width: 100%; margin: 10pt 0; border: none; } .divider { height: 214px; width: 2px; background-color: slategrey; margin: 0 8pt; } .patchesContainer > .divider { width: 4px; }