/*Product grid*/

.product-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.product {
    width: 100%;
    padding: 15px;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    background-color: #fff;
    text-align: center;
    position: relative;
}

.product.promo-cell {
    background-color: transparent;
    border-top: 1px solid #d4d4d4;
}

.product-title {
    margin-bottom: 0;
}

.product-img-wrap {
    margin-bottom: 15px;
}    

.product-img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.product-price {
    font-size: 18px;
    line-height: 1;
    margin-top: 10px;
}

.product-price sup,
.product-price-old sup {
    font-size: 100%;
    top: auto;    
}

.product-price-old {
    color: #d32020;
    text-decoration: line-through;
    line-height: 1;
    margin-top: 10px;
    min-height: 15px;
}

.product-btn {
    margin-top: 25px;
    width: 100%;
}

.product-tag.product-tag-new {
    position: absolute;
    top: 15px;
    right: 15px;
    border-radius: 3px;
    padding: 15px;
    line-height: 1;   
}

.product-tag-new {
    color: #fff;
    background-color: #002d72;
}

@media(min-width: 520px) {
    
}

@media(min-width: 768px) {

    .product-list {
        border-bottom: none;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .product {
        width: 33.3333%;   
        margin: 0;
        padding-bottom: 80px;
        border: none;
        border-right: 1px solid #d4d4d4;
        border-bottom: 1px solid #d4d4d4;
    }

    .product:nth-child(-n+3) {
        border-top: 1px solid #d4d4d4;
    }

    .product:nth-child(3n+1) {
        border-left: 1px solid #d4d4d4;
    }    

    .product-img-wrap {
        overflow: hidden;
        margin: inherit auto;
        position: relative;
    }    

    .product-img-sizer {
        width: 100%;
        padding-bottom: 100%;
    }

    .product-img {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }

    .product.promo-cell {
        padding: 15px;
        border-color: transparent;
        border-bottom: transparent;
    }

    .product-btn {
        position: absolute;
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
    }
}

@media(min-width: 992px) {

    .container.product-container {
        width: 970px;
    }

    .container.product-list-container {
        padding-left: 0;
        padding-right: 0;
    }
}

/*Promo-specific styles*/

.spread-the-luck {
    background-image: url(../img/lm-promo-spread-luck.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;    
    border: none;
}

.spread-the-luck .btn.btn-primary {
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.spread-the-luck .btn.btn-primary:hover,
.spread-the-luck .btn.btn-primary:focus {
    text-decoration: underline;
    color: #003778;
}

.spread-the-luck .product-img-sizer {
    width: 100%;
    padding-bottom: 100%;
}

@media(min-width: 768px) {
}

/*Promo-specific styles*/
.bring-your-own {
    text-align: left;
    padding: 30px 30px;
    background-color: #f7f7f7;
    padding-bottom: 220px;
    width: auto;
    -webkit-box-flex: 1;
        -ms-flex: 1;
           flex: 1;
}

:lang(fr) .bring-your-own h2{
    font-size: 32px;
}

:lang(fr) .bring-your-own p{
    font-size: 32px;
}

.bring-your-own img{
    position: absolute;
    bottom: 60px;
}

.bring-your-own-highlighted {
    display: inline-block;
    white-space: nowrap;
    position: relative;
}

.bring-your-own-highlighted svg{
    position: absolute;
    bottom: -18px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    height: 16px;
    fill: #002D72;
}

.svg-container {
    display: none;
}

@media(max-width: 767px) {

    .bring-your-own {
        padding-top: 30px;
        padding-bottom: 190px;
    }

    .bring-your-own img{
        bottom: 30px;
    }
}

@media(min-width: 768px) and (max-width: 999px) {

    :lang(fr) .bring-your-own h2{
        font-size: 23px;
        line-height: 1;
    }

    :lang(fr) .bring-your-own p{
        font-size: 23px;
        line-height: 1;
    }
}

@media(min-width: 1000px) {

    :lang(en) .bring-your-own h2{
        font-size: 40px;
        line-height: 1.03;
        letter-spacing: -1px;
    }

    :lang(fr) .bring-your-own h2{
        font-size: 32px;
        line-height: 36px;
    }

    :lang(en) .bring-your-own p{
        font-size: 40px;
        line-height: 1.03;
        letter-spacing: -1px;
    }

    :lang(fr) .bring-your-own p{
        font-size: 32px;
        line-height: 36px;
    }

    .bring-your-own {
        padding-top: 50px;
    }
}


