/**
* 2007-2015 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2015 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

ul.mb-banners {
    margin-top: -30px;
}

ul.mb-banners.homepage {
    margin-bottom: 50px;
}

ul.mb-banners > li {
    color: rgb(255, 255, 255);
    margin-top: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

ul.mb-banners.homepage > li {
    padding-top: 21px;
    padding-bottom: 21px;
    padding-left: 30px;
    padding-right: 30px;
    width: calc(50% - 15px);
    float: left;
    margin-right: 30px;
}

ul.mb-banners.homepage > li:first-child {
    padding-top: 35px;
    padding-bottom: 35px;
    width: 100%;
    float: none;
    margin-right: 0;
}

ul.mb-banners.homepage > li:nth-child(2n+1) {
    margin-right: 0px;
}

ul.mb-banners > li > a {
    display: block;
}

ul.mb-banners.leftcolumn > li > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

ul.mb-banners > li > a:hover,
ul.mb-banners > li > a:focus {
    color: inherit;
    text-decoration: none;
}

ul.mb-banners > li > a > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

ul.mb-banners > li > a > .content {
    position: relative;
}

ul.mb-banners.leftcolumn > li > a > .content {
    padding: 20px 22px;
}

ul.mb-banners.homepage > li:first-child > a > .content > h4 {
    font-size: 23px;
}

ul.mb-banners > li > a > .content > h4 {
    margin: 0 0 7px;
    text-transform: uppercase;
    font-weight: 300;
    line-height: 24px;
}

ul.mb-banners.leftcolumn > li > a > .content > h4 {
    font-size: 20px;
}

ul.mb-banners > li > a > .content > p {
    margin: 0;
}

ul.mb-banners.homepage > li > a > .content > .btn {
    border: 1px solid;
    padding: 7px 16px;
    margin: 28px 0 0;
}

ul.mb-banners.leftcolumn > li > a > .content > .btn {
    display: none !important;
}

ul.mb-banners.homepage > li:not(:first-child) > a > .content > .btn {
    display: none;
}

ul.mb-banners.homepage > li > a > .content > .btn:hover {
    border-color: inherit;
    color: inherit;
}

ul.mb-banners.homepage > li > a:hover > .content > .btn {
    background-color: rgba(255, 255, 255, 0.15);
}

@media screen and (max-width: 479px) {
    ul.mb-banners.leftcolumn > li { width: calc(50% - 8px); }
    ul.mb-banners.leftcolumn > li:nth-child(2n+1) { margin-left: 0; }
}

@media screen and (min-width: 480px) and (max-width: 767px) {
    ul.mb-banners.leftcolumn > li { width: calc(50% - 15px); }
}

@media screen and (max-width: 767px) {
    ul.mb-banners.homepage > li { width: 100%; margin-right: 0; }
    ul.mb-banners.homepage > li > a > .content { max-width: 100%; }
    ul.mb-banners.leftcolumn > li { padding-top: 69%; float: left; margin-left: 15px; }
    ul.mb-banners.leftcolumn > li:nth-child(2n+1) { clear: left; }
    ul.mb-banners.leftcolumn > li > a > .content > h4 { word-break: break-all; font-size: inherit; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; height: 45px; }
    ul.mb-banners.leftcolumn > li > a > .content > p { word-break: break-all; font-size: inherit; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; height: 70px; }
}

@media screen and (min-width: 768px) {
    ul.mb-banners.leftcolumn > li { padding-top: 137%; }
}

@media screen and (min-width: 760px) and (max-width: 991px) {
    ul.mb-banners.homepage > li > a > .content { max-width: 65%; }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    ul.mb-banners.homepage > li > a > .content { max-width: 56%; }
}

@media screen and (min-width: 1200px) {
    ul.mb-banners.homepage > li > a > .content { max-width: 43%; }
}


