/**
* 2007-2021 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-2021 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.
*/

.thHeaderCategoryAction {
    display: none;
    margin-top: 10px;
    justify-content: center;
    margin-bottom: 0;
}

.thHeaderCategory .handleHideProductCompare {
    display: none;
}

.thHeaderCategory.compareVisible .handleHideProductCompare {
    display: block;
}

.thHeaderCategory .handleShowProductCompare {
    display: block;
}

.thHeaderCategory.compareVisible .handleShowProductCompare {
    display: none;
}

.thHeaderCategory.compareVisible .thHeaderCategoryContent .th-blendere {
    display: block !important;
}

.thHeaderCategory.compareVisible .thHeaderCategoryContent .fa {
    display: block !important;
}

/* .thHeaderCategory .th-blendere {
    margin-top: 20px;
} */

.thHeaderCategory .thHeaderCategoryContent {
    margin-top: 15px;
}

.thHeaderCategoryAction .btn.btn-primary {
    background-color: #8ac43f;
}

.thHeaderCategoryContentInner .close {
    position: absolute;
    right: 12px;
    top: 15px;
    display: none;
    background: rgba(0, 0, 0, 0.55);
    width: 35px;
    height: 35px;
    opacity: 1 !important;
}

.thHeaderCategoryContentInner .close span {
    color: #fff;
    text-shadow: none;
    font-weight: 400;
}

.thHeaderCategory i.fa.arrow-left,  .thHeaderCategory i.fa.arrow-right {
    width: 30px;
    height: 30px;
    padding-top: 8px;
    background: rgba(0, 0, 0, 0.1);
}

.thHeaderCategory i.fa.arrow-left, .thHeaderCategory i.fa.arrow-right {
    position: absolute;
    top: 60%;
    display: none;
    text-align: center;
}

.thHeaderCategory i.fa.arrow-right {
    right: 0;
}
.thHeaderCategory i.fa.arrow-left {
    left: 0;
}

/*==========  Mobile First Method  ==========*/

/* Phones Portrait */
@media only screen and (min-width : 320px) and (max-width : 479px) {
    /*.thHeaderCategoryContent {*/
    /*    display: none;*/
    /*}*/

    /*.thHeaderCategoryAction {*/
    /*    display: block;*/
    /*}*/

    /*div#wrapper {*/
    /*    padding-top: 0 !important;*/
    /*}*/

    #wrapper {
        padding-top: 20px !important;
    }

    .thHeaderCategory table td {
        min-width: 132px;
    }
}

/* Phones Landscape */
@media only screen and (min-width : 480px) and (max-width : 767px) {
    .thHeaderCategory.thCategoryTableSmall i.fa.arrow-left, .thHeaderCategory.thCategoryTableSmall i.fa.arrow-right {
        display: block;
    }
    .thCategoryTableSmall .th-header-cat .th-blendere {
        overflow-x: scroll;
    }

    .thHeaderCategory table td {
        min-width: 132px;
    }
}

/* Phones Portrait and Landscape */
@media only screen and (min-width : 320px) and (max-width : 767px) {

}

@media only screen and (min-width : 320px) and (max-width : 767px) and (orientation: portrait) {
    .thHeaderCategoryContent .th-blendere, .thHeaderCategoryContent .fa {
        display: none !important;
    }

    .th-blendere {
        height: auto !important;
    }

    .thHeaderCategoryAction {
        display: flex;
    }

    div#wrapper {
        padding-top: 0 !important;
    }

    .th-blendere {
        height: auto !important;
    }

    .thHeaderCategory:not(.compareVisible) i.fa.arrow-left,  .thHeaderCategory:not(.compareVisible) i.fa.arrow-right {
        top: 63%;
    }

    .thHeaderCategory.compareVisible i.fa.arrow-left  {
        padding-left: 10px;
    }
    .thHeaderCategory.compareVisible i.fa.arrow-right {
        text-align: right;
        padding-right: 10px;
    }

    .thHeaderCategory i.fa.arrow-left, .thHeaderCategory i.fa.arrow-right {
        display: block;
    }

    .th-header-cat .th-blendere {
        margin-top: 15px;
        overflow-x: scroll;
        max-width: 100%;
    }

    .thHeaderCategory table {
        min-width: 100%;
    }
}

@media only screen and (min-width : 400px) and (max-width : 991px) and (orientation: landscape) {
    .thHeaderCategoryContent{
        display: none;
    }

    .thHeaderCategoryAction {
        display: flex;
    }

    div#wrapper {
        padding-top: 0 !important;
    }

    .th-blendere {
        height: auto !important;
    }

    .thHeaderCategory table {
        min-width: 100%;
    }

    .th-header-cat {
        margin-top: 0;
    }

    .th-header-cat .col.th-show-first {
        display: none;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) and (max-width : 991px) {
    .thHeaderCategory.thCategoryTableMoreMedium i.fa.arrow-left, .thHeaderCategory.thCategoryTableMoreMedium i.fa.arrow-right {
        display: block;
    }
    .thCategoryTableMoreMedium .th-header-cat .th-blendere {
        overflow-x: scroll;
        max-width: 100%;
        display: block !important;
        height: auto !important;
    }

    /* .thHeaderCategory table {
        min-width: 100%;
    } */
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) and (max-width : 1199px) {
    .thHeaderCategory.thCategoryTableMoreLarge i.fa.arrow-left, .thHeaderCategory.thCategoryTableMoreLarge i.fa.arrow-right {
        display: block;
    }
    
    .thCategoryTableMoreMedium .th-header-cat .th-blendere {
        overflow-x: scroll;
        max-width: 100%;
        display: block !important;
        height: auto !important;
    }

    .thHeaderCategory table {
        min-width: 100%;
    }
}

/* Small and Medium Devices */
@media only screen and (min-width : 768px) and (max-width : 1199px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}
