/**
* 2007-2020 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    Matas Skaržauskas <matasskarzauskas@gmail.com>
*  @copyright 2007-2020 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.
*/

.aligned-row {
    display: flex;
    flex-flow: row wrap;
}

.aligned-row::before {
    display: block;
}

.megamenu-background {
    margin:0px;
    padding:0px;
    width:100%;
}

.megamenu-container {
    overflow: hidden;
    background-color:#fff;
    margin-bottom: 20px !important;
    border-left: 5px solid;
    max-height:750px;
}

.megamenu-category-link-end{
    width:100%;
    height:80px;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    position:absolute;
    bottom:0px;
    left:0px;
}

.megamenu-grid{
    display: grid;
    grid-template-columns: repeat( 3, minmax(100px, 1fr) );
}

.megamenu-miniature {
    border:1px solid #d9d9d9;
    vertical-align: top !important;
    overflow: hidden;
    padding:5px;
    max-height:375px !important;
    position: relative
}

.megamenu-thumbnail-container{
    width:100%;
    display:table-cell;
}

.megamenu-miniature:hover {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(163,163,163,1);
    -moz-box-shadow: 0px 0px 15px 0px rgba(163,163,163,1);
    box-shadow: 0px 0px 15px 0px rgba(163,163,163,1);
    overflow: visible;
}

.megamenu-product-list{
    margin-right:0px !important;
    padding:1px !important;
    max-height:750px;
}

.megamenu-thumbnail img{
    width:100% !important;
}

.megamenu-flags{
    position:absolute;
    top:20px;
    margin-left:-5px;
    width:50px;
    height:auto;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    font-size: 1rem;
}

.megamenu-discount {
    width:70px;
    height:30px;
    line-height:30px;
    text-align:center;
    background:#ffff1a;
    opacity:0.9;
    color:#333;
    margin-bottom:10px;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
}

.megamenu-on-sale {
    width:auto;
    min-width:90px;
    height:30px;
    line-height:30px;
    text-align:center;
    background:#ed5353;
    opacity:0.9;
    margin-bottom:10px;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
}

.megamenu-new {
    width:50px;
    height:30px;
    line-height:30px;
    text-align:center;
    background: #2ecc71;
    opacity:0.9;
    margin-bottom:10px;
    box-shadow: 2px 2px 4px 0 rgba(0,0,0,.2);
}

.megamenu-product-title {
    padding-top:15%;
    text-align: center;
}

.megamenu-product-title a{
    color:#333333;
}

.megamenu-cart{
   position: absolute;
   bottom: 5px;
   left:5px;
   right:5px;
   display:none;
}

.megamenu-cart button{
    width:100%;
    font-size:10pt;
}

.megamenu-cart .btn-primary{
    background-color:#0b5394;
}

.megamenu-cart button:active, .megamenu-cart button:focus{
    outline: none !important;
    border: none !important;
}

.megamenu-product_price_and_shipping{
    text-align: center;
}

.megamenu-price{
    color: #232323;
    font-weight: 700;
    text-align: center !important;
    position:absolute;
    bottom:50px;
    left:0px;
    right:0px;
    font-size:15pt;
}

.megamenu-regular-price{
    color: #232323;
    font-weight: 700;
    text-align: center !important;
    position:absolute;
    bottom:70px;
    left: 0px;
    right: 0px;
}

.megamenu-discount-percentage{
    display:none;
}

.megamenu-regular-price{
    color: #7a7a7a;
    text-decoration: line-through;
    font-size: .875rem;
}

.megamenu-category-name {
    padding:15px 0px;
}

.megamenu-link{
    padding:5px 0px;
    list-style-type:none;
    
}

.megamenu-link a{
    color:#333;
    font-size:10pt;
}

.megamenu-link a:hover{
    text-decoration: underline;
}

/*
*
* Scroll menu
*
*/

.megamenu-scroll-div{
    display:block;
    width:100%;
    height:50px;
    background:#ffffff;
    border:1px solid #f9f9f9;
    line-height:50px;
    margin-bottom:-1px;
    text-align: center;
    position:relative;
}


.megamenu-scroll-menu{
    position:fixed;
    left:3%;
    top:10%;
    width:50px;
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 8px rgba(0,0,0,0.2);
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    z-index:1 !important;
    display:none;
}

.megamenu-scroll-div a{
    width:100% !important;
    height:50px !important;
}

.megamenu-scroll-link{
    color:#ffffff;
    
}

.megamenu-scroll-link:hover{
    color:#ffffff;
}

.megamenu-scroll-link:focus{
    color:#ffffff;
}


.megamenu-scroll-div:hover .megamenu-scroll-category-name{
    display:block;
}

.megamenu-scroll-category-name{
    background:#ffffff;
    border:1px solid #f9f9f9;
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 0 8px rgba(0,0,0,0.2);
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    font-size:9pt;
    color:#ffffff;
    position:absolute;
    vertical-align: top;
    height:50px;
    top:-1px;
    left:48px;
    padding:0px 20px;
    display:none;
    font-weight: 700;
}
/* media */

@media (min-width: 768px) {
    .megamenu-cart button{
        font-size:0pt;
    }
    .megamenu-miniature {
        min-height:350px;
        max-height:none;
    }
}

@media (min-width: 992px) {
    .megamenu-cart button{
        font-size:8pt;
    }
}

@media (min-width: 1200px) {
    .megamenu-cart button{
        font-size:10pt;
    }
}

@media (max-width: 576px) {
    .megamenu-cart button{
        font-size:0pt;
    }
    .megamenu-link{
        display:inline;
    }
}

@media (max-width: 768px) {
    .megamenu-link{
        display:inline-block;
        padding:0px 0px;
        border:2pt solid #2fb5d2;
        padding:10px;
        margin:3px 0px;
        border-radius:3px;
        min-width:80px;
        text-align:center;
    }

    .megamenu-product-title{
        font-size:8pt;
    }

    .megamenu-container {
        max-height:none;
    }

    .megamenu-product-list{
        max-height:none !important;
    }

    .megamenu-grid{
        max-height:none !important;
    }
    
    .megamenu-category-link-end{
        display:none;
    }

    .megamenu-miniature {
        min-height:370px;
        max-height:500px;
    }

    .megamenu-cart{
        display:block !important;
    }

    .megamenu-cart .btn-primary .material-icons {
        margin-right:0px;
    }

    .megamenu-container {
        border-left: 0px solid;
        border-top: 5px solid;
    }

    .megamenu-grid{
        display: grid;
        grid-template-columns: repeat( 2, minmax(100px, 1fr) );
    }
    
}