main {
    max-width: none;
    padding: 0;
}

.description {
    width: 100%;
    padding: 0;
    margin-bottom: 2em;
    text-align: center;
}

.page_title + .description {
    padding: 0 1.5em;
}

main ul li {
    margin-top: 1em;
}

.page_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.page_section .common_links-hyper {
    margin-top: 4em;
}

#item_list {
    width: fit-content;
    margin: 2.5em auto 3em;
    text-align: left;
}

#resin ul {
    width: max-content;
    margin: 0;
}

/*
 * Page Default
 */

.page_section.item_section .items_container {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: space-evenly;
}

div.materials_description {
    max-width: 1000px;
    margin: 0 auto 5em;
}

.item_container {
    width: 400px;
    display: flex;
    flex-direction: column;
    margin: 0 1em 4em;
    border-radius: 20px;
    box-shadow: 0 0 12px 1px grey;
    font-size: 0.9em;
    font-weight: bold;
}

.item_container:last-child,
.item_container:nth-last-child(2) {
    border: 0;
    box-shadow: none;
}

.item_container > div {
    display: flex;
    justify-content: space-between;
    padding: 0.8em 1.4em;
}

div.item-title {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 1.2em 1.4em 1em;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: rgba(168, 198, 223, 0.8);
    font-weight: bold;
}

div.item-title div:nth-child(1) {
    font-size: 1.3em;
}

div.item-title div:nth-child(2) {
    padding: 0 6px;
    border-radius: 8px;
    border: 2px solid grey;
}

div.item-field:not(:last-child) div:nth-child(1) {
    flex-shrink: 0;
    padding-right: 1em;
    margin-right: 3em;
    font-size: 0.95em;
    color: grey;
}

div.item-field:not(:last-child) div:nth-child(2) {
    text-align: right;
}

div.item-field:last-child {
    display: flex;
    align-items: center;
    padding-top: 0.5em;
}

div.item-field:last-child div {
    width: 100%;
    border-top: 1px solid grey;
    padding-top: 1em;
    padding: 1em 0 0.5em;
}

div.item-field.no_border div {
    border: 0;
    padding-top: 0;
}

@media only screen and (max-width: 576px) {
    .item_container {
        max-width: 400px;
        width: 100%;
        margin: 0 0 4em;
    }
}

/*
 * Page Resin
 */

.description_ul {
    width: max-content;
    margin: 0 auto 5em;
    text-align: left;
}

/*
 * Page with few items
 */

.item_container.few_item {
    box-shadow: 0 0 12px 1px grey;
}

@media only screen and (min-width: 576px) {
    .item_container.few_item {
        margin: 0 2em 4em;
    }
}
