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

/* Style the tab */
.brands-tabs {
  --main-color: var(--main-color-2);
  --text-color: #707070;
  --grey: #D1D1D1;
}

.brands-tabs > div{
  position: relative;
}

.brands-tabs > div:not(.tab):not(:last-child):before{
  content:"";
  position: absolute;
  right: 15px;
  left: 15px;
  height: 1px;
  bottom: -1px;
  background-color: rgba(0, 0, 0, .4);
  z-index: -1;
}

.brands-tabs .tab {
  overflow: hidden;
  border: none;
  background-color: transparent;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style the buttons inside the tab */
.brands-tabs .tab .slick-slide {
  padding: 0 13px;
}
.brands-tabs .tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 800;
  color: var(--grey);
  font-family: 'Circular Std';
  font-weight: 500;
  display: block
}
.brands-tabs .tab button[data-type="empty"] {
  color: #e8e8e8;
  pointer-events: none;
}

/* Change background color of buttons on hover */
.brands-tabs .tab button:hover {
  background-color: transparent;
  text-decoration: underline;
  color: var(--main-color);
}

/* Create an active/current tablink class */
.brands-tabs .tab button.active {
  background-color: transparent;
  text-decoration: underline;
  color: var(--main-color);
}

/* Style the tab content */
.brands-tabs .tabcontent {
  padding: 0 15px;
  border: none;
  border-top: none;
  display: flex
}

.brands-tabs .letter {
  font-size: 24px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  margin-right: 45px;
}

.brands-tabs .brand-wrapper {
  margin-top: 5px;
}

.brands-tabs .brand-infos:not(:last-child) {
  margin-bottom: 12px;
}

.brands-tabs .brand-infos a {
  color: var(--text-color);
  font-size: 17px;
  line-height: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.brands-tabs .tabcontent {
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 100px;
}

#manufacturer #main>h1 {
  cursor: pointer;
}

@media (max-width: 676.98px) {
  .brands-tabs {
    border-color: var(--main-color) !important;
    overflow: hidden;
  }
  .brands-tabs .brand-infos a {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
  }
  .brands-tabs .letter {
    font-weight: 400;
    margin-right: 15px;
  }

  .brands-tabs .tabcontent:before {
    border-bottom: 1px solid #C1C1C1;
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: -1;
  }

  .brands-tabs>div:not(.tab):not(:last-child):before {
    display: none;
  }

  .brands-tabs .tab button {
    font-size: 24px;
  }

  .brands-tabs .tab  {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .brands-tabs .tabcontent {
    min-height: 69px;
  }

  .brands-tabs-content {
    margin-bottom: 33px;
  }
}