/**
* 2007-2024 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-2024 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/
.badcustomlayout-block {
    position: fixed;
    z-index: 101;
    top: 200px;
    left: -380px;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}
.badcustomlayout-block.open {
  left: 0;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.badcustomlayout-block .badcustomlayout-setting {
    width: 380px;
    padding: 15px 0;
    box-shadow: 0 14px 27px rgba(0, 0, 0, .1);
    border: 1px solid #eeeeee;
    background-color: #f5f5f5;
    text-align: center;
    max-height: calc(120vh - 250px);
    overflow-y: auto;
    transition: all 600ms ease 0s;
    -webkit-transition: all 600ms ease 0s;
    -moz-transition: all 600ms ease 0s;
    -ms-transition: all 600ms ease 0s;
    -o-transition: all 600ms ease 0s;
}
.badcustomlayout-title {
    font-size: 18px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    font-weight: 500;
    text-transform: capitalize;
    width: 100%;
    text-align: center;
    line-height: 35px;
    color: #222222;
    border-bottom: 1px solid #eeeeee;
    background-color: #ffffff;
}
.badcustomlayout-sub-title {
  font-size: 16px;
  color: #222222;
  margin-bottom: 10px;
  line-height: 24px;
  text-align: center;
}
.badcustomlayout-icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: var(--theme-custom-color);
  line-height: 50px;
  box-shadow: 0 13px 42px 11px rgba(0, 0, 0, .05);
  text-align: center;
  position: absolute;
  right: -50px;
  cursor: pointer;
  -webkit-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  /*border: 1px solid #febe02;*/
}
.badcustomlayout-icon-wrapper i {
  font-size: 0;
  width: 50px;
  height: 50px;
  background-image: url(../img/theme-color.png);
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
  /*-webkit-animation-name: spin;
  -webkit-animation-duration: 4000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 4000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 4000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation-name: spin;
  animation-duration: 4000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear*/
}

@-ms-keyframes spin {
  from {
    -ms-transform: rotate(0deg)
  }

  to {
    -ms-transform: rotate(360deg)
  }
}

@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg)
  }

  to {
    -moz-transform: rotate(360deg)
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(360deg)
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}
.badcontrol-reset a:hover {
  color: #ffffff;
  background-color: var(--theme-custom-color);
}
.badall-theme-content select.form-control:not([size]):not([multiple]) {
  height: auto;
}

/**************** theme control **************/
.badcustomlayout-inner button.button1, .badcustomlayout-inner button.button2, .badcustomlayout-inner button.button3, .badcustomlayout-inner button.button4 {
  width: 60px;
  height: 52px;
  border-radius: 5px;
  border: none;
}
.badcustomlayout-setting .form-control {
  text-align: left;
  color: #000000;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  margin-bottom: 0;
  clear: left;
  width: 100%;
  position: relative;
  padding-left: 35px;
}
.badcustomlayout-inner .form-control{
  border: none;
}
.badall-theme-content-box-1 {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  margin-bottom: 0;
  border-top: 1px solid #eeeeee;
  padding: 0 15px;
  margin-top: 20px;
  position: relative;
}
.badall-theme-content-box-1 .form-control {
  position: relative;
}
.badall-theme-content-box-1 .form-control::after{
  position: absolute;
  content: '';
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url(../img/Layer-5.png);
  width: 18px;
  height: 18px;
}
.badall-theme-content {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  margin-bottom: 0;
  /*border-bottom: 1px solid #eeeeee;*/
  padding: 0 15px;
}
.badcontrol-reset a {
  font-size: 20px;
  color: #ffffff;
  font-weight: 500;
  border: 1px solid var(--theme-custom-color);
  background-color: var(--theme-custom-color);
  padding: 10px 66px;
  border-radius: 5px;
  display: inline-block;
  vertical-align: middle;
}
.badcontrol-header-layout.badall-theme-content-button button, .badcontrol-footer-layout.badall-theme-content-button button, .badcontrol-product-layout.badall-theme-content-button button {
  padding: 10px 28px;
  background-color: #fff;
  border: 1px solid #ddd;
  color: #000;
  font-size: 15px;
  margin-top: 15px;
  border-radius: 5px;
  cursor: pointer;
}
.badcontrol-header-layout.badall-theme-content-button button.active, .badcontrol-footer-layout.badall-theme-content-button button.active, .badcontrol-product-layout.badall-theme-content-button button.active, .badcontrol-header-layout.badall-theme-content-button button:hover, .badcontrol-footer-layout.badall-theme-content-button button:hover, .badcontrol-product-layout.badall-theme-content-button button:hover {
  background-color: #ddd;
}
.badcustomlayout-block .badcontrol-theme-font-wrapper-button{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 0;
}
.badcontrol-reset.badall-theme-content {
  border: none;
  padding: 0;
  margin-top: 25px;
}
.badcontrol-theme-box-title {
  display: flex;
  align-items: center;
  padding-top: 20px;
}
.badall-theme-content .badcustom-color {
    height: 34px;
    padding: 0 0 0 40px;
    width: 93%;
    border: 1px solid #e5e5e5;
    font-size: 12px;
    position: relative;
    margin: auto 0 auto auto;
}
.badcontrol-theme-text-box p {
  margin-bottom: 0;
}
.badall-theme-content .badcustom-color-box {
    margin: auto;
}
.badall-theme-content-layout {
    padding: 15px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 0;
}
.badcontrol-layout-boxshadow-label.badcustomlayout-field-title {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 15px;
}
.badcontrol-theme-background-color-label.badcustomlayout-field-title {
    padding-bottom: 5px;
}
.badcontrol-theme-bg-img-label.badcustomlayout-field-title {
    padding-top: 10px;
}
.badtab-prdoducts-block .badtab-product-content-wrapper,
.badtab-prdoducts-block .badtab-product-pagination-dots,
.badtab-prdoducts-block .badtab-product-pagination-wrapper {
  display:none
}
.badcontrol-body-font-box.form-control {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
}
.badcustomlayout-block p{
  margin: 0;
}
.badcustomlayout-setting i {
  cursor: pointer;
}
.badcontrol-header-layout-block, .badcontrol-footer-layout-block, .badcontrol-product-layout-block {
  display: none;
}
.badcontrol-header-layout img,
.badcontrol-footer-layout img,
.badcontrol-product-layout img {
  border: 1px solid #ddd;
  border-radius: 5px;
}
.badcontrol-header-layout.badall-theme-content-button,
.badcontrol-footer-layout.badall-theme-content-button,
.badcontrol-product-layout.badall-theme-content-button {
    padding: 10px 0;
    cursor: pointer;
}
a.layout-button.active img {
    border: 2px solid var(--theme-custom-color);
}
@media(max-width: 991px){
  .badcustomlayout-icon-wrapper{
    display: none;
  }
}
@media (max-width: 480px){
  .badcustomlayout-block{
    left: -250px;
  }
  .badcustomlayout-block .badcustomlayout-setting{
    width: 250px;
  }
}