/* **  standard site wide content block ** */

/*
//moduleview/article/preview_list.tpl:<div class="contentblock preview_list fastener">
//moduleview/article/preview_list.tpl:<div class="contentblock preview_list align">

//moduleview/article/blocks/lastnews/boasting.tpl:<div class="contentblock boasts fastener">
//moduleview/article/blocks/lastnews/boasting.tpl:<div class="contentblock boasts align">

//moduleview/article/blocks/lastnews/lastnews.tpl:<div class="scrollable contentblock lastnews fastener {$dir.alias}" data-category="{$category.title}">
//moduleview/article/blocks/lastnews/lastnews.tpl:<div class="scrollable contentblock lastnews align {$dir.alias}">

//moduleview/article/view_article.tpl:<div class="contentblock view_article fastener">
//moduleview/article/view_article.tpl:<div class="contentblock view_article align">

//moduleview/catalog/list_products.tpl:<div class="products contentblock list_products fastener">
//moduleview/catalog/list_products.tpl:<div class="products contentblock list_products align">

//moduleview/catalog/blocks/lastviewed/products.tpl:<div class="products contentblock lastviewed fastener">
//moduleview/catalog/blocks/lastviewed/products.tpl:<div class="products contentblock lastviewed align">

//moduleview/catalog/blocks/topproducts/top_products.tpl:<div class="scrollable products contentblock top_products fastener {$dir.alias}" data-category="{$dir.name}">
//moduleview/catalog/blocks/topproducts/top_products.tpl:<div class="scrollable products contentblock top_products align {$dir.alias}">
*/

/* -- LAYOUT -- */

.contentblock.fastener {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    /*flex-shrink: 0;*/
}

.contentblock.align {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    /*flex-grow: 0;*/
    /*flex-shrink: 0;*/
}

.contentblock .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    /*flex-grow: 0;*/
    /*flex-shrink: 0;*/
}

/* -- STYLING -- */

.contentblock .heading {
    color: #212121;
    font-size: 28px;
    text-transform: uppercase;
    text-align: left;
}

/* -- SPACING -- */

.contentblock .heading {
    margin-top: 25px;
    margin-left: 30px;
    margin-bottom: 25px;
}

.contentblock.fastener {
    padding-bottom: 40px;
}

.contentblock .container {
    padding-left: 15px;
    padding-right: 15px;
}

.contentblock .item {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
}

/* == MOBILE == */

@media screen and (max-width: 560px) {
    /* -- STYLING -- */
    .contentblock .container.autowidth {
        justify-content: center;
    }
    .contentblock .heading {
        margin-left: 5px;
        margin-right: 5px;
        text-align: center;
    }
}

@media screen and (max-width: 920px) {
    /* -- STYLING -- */
    .contentblock .container {
        justify-content: center;
    }
    .contentblock .heading {
        text-align: center;
        font-size: 20px;
    }
    /* -- SPACING -- */
    .contentblock.fastener {
        padding-bottom: 30px;
    }
    .contentblock .heading {
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .contentblock .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    .contentblock .item {
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 15px;
    }
}
