.itwiki-template-cartella {
width: 100%;
margin-bottom: 0.5em;
font-size: 95%;
display: flex;
flex-direction: column;
}
.itwiki-template-cartella-header-container {
display: flex;
align-items: flex-end;
}
.itwiki-template-cartella-header {
box-sizing: border-box;
background: var(--background-color-base, #fff);
border-width: 2px 2px 0;
border-style: solid;
padding-right: 1em;
white-space: nowrap;
height: 39px;
}
.itwiki-template-cartella-link-container {
flex-grow: 1;
border-bottom-width: 2px;
border-bottom-style: solid;
}
.itwiki-template-cartella-link {
padding: 0 .5em 0 .5em;
border-top-right-radius: 5em;
border-width: 1px 1px 0 0;
border-style: solid;
font-size: 85%;
}
.itwiki-template-cartella-body {
padding: 0 0.5em;
background: var(--background-color-base, #fff);
border-width: 0 2px;
border-style: solid;
}
.itwiki-template-cartella-footer {
border-bottom-right-radius: 1em;
border-bottom-left-radius: 1em;
height: 8px;
border-width: 1px 2px;
border-style: solid;
}