/* Module Prestashop CustomBlocks
 * Copyright Prestacrea
 * Author: Prestacrea
 * Website: http://www.prestacrea.com */

/* Blocs */
.customblocks{
    font-size: 0;
}

.customblocks_block {
    width: auto;
    font-family: Arial, sans-serif;
    line-height: normal;
    margin: 0;
    padding: 0;
    background: #FFF;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

@media screen and (max-width: 991px){
    .customblocks_block {
        width: calc(50% - 15px);
    }

    .customblocks_block:nth-child(1){
        margin-right: 30px;
    }
}

.customblocks_block .customblocks_content{
    display: inline-block;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(38,38,38,0.53);
    height: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

.customblocks_block .customblocks_content div{
    margin: auto;
}

.customblocks_block:hover p{
    color: #91ADEB;
}

.customblocks_block .customblocks_content * {
    font-family: "Poppins", Arial, sans-serif;
}

.customblocks_block h2 {
    background: none;
    width: 100%;
    height: auto;
    color: #fff;
    text-align: center;
    font-size: 23px;
    margin: 5px auto;
    padding: 0;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0;
}

.customblocks_block a {
    text-decoration: none;
    padding: 0;
    color: #fff;
}

.customblocks_block img {
    display: block;
    width: auto;
    height: auto;
    margin: 0 auto;
    float: left;
}

.customblocks_block p {
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 0;
    width: 100%;
    margin: 0;
    font-size: 13px;
    line-height: 1;
}

/* Blocs personnalis�s */
#customblocks_block_1 {
    margin: 5px auto 10px;
}

#customblocks_block_2 {
    background: #444;
    border: 1px solid #222;
    margin: 5px auto 10px;
}

#customblocks_block_2 h2 {
    color: #EEB7CA;
}

#customblocks_block_2 p {
    color: #FFF;
}

#customblocks_block_3 {
    float: left;
}

#customblocks_block_4 {
    float: left;
}

#customblocks_block_5 {
    float: left;
}

#customblocks_block_6 {
    background: #F1F1F1;
    border: 1px solid #BBB;
    float: left;
    width: 534px;
    margin: 0 5px 10px;
}

#customblocks_block_6 h2 {
    float: left;
    width: 430px;
    text-align: left;
    margin: 5px auto;
}

#customblocks_block_6 img {
    float: left;
    margin: 2px 10px 2px 5px;
}

#customblocks_block_6 p {
    float: left;
    width: 430px;
    text-align: left;
}

#customblocks_block_7 {
    margin: 5px auto 10px;
}