/*
* Template Customizer Style
**/

#template-customizer {
  position: fixed;
  z-index: 99999999;
  display: flex;
  flex-direction: column;
  block-size: 100%;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  box-shadow: 0 .3125rem 1.375rem 0 rgba(34, 48, 62, .18);
  font-family: "Public Sans", -apple-system, blinkmacsystemfont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: inherit;
  inline-size: 400px;
  inset-block-start: 0;
  inset-inline-end: 0;
  transform: translateX(420px);
  transition: transform .2s ease-in;
}

[data-bs-theme="dark"] #template-customizer {
  box-shadow: 0 .3125rem 1.375rem 0 rgba(20, 20, 29, .26);
}

#template-customizer h5 {
  position: relative;
  font-size: 11px;
}

#template-customizer .form-label {
  font-size: .9375rem;
  font-weight: 500;
}

/* Color option styles */
#template-customizer .template-customizer-colors-options {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0;
  gap: .3rem;
}

#template-customizer .template-customizer-colors-options .custom-option {
  inline-size: 50px;
}

#template-customizer .template-customizer-colors-options .custom-option .custom-option-content {
  padding: 0;
  min-block-size: 46px;
}

#template-customizer .template-customizer-colors-options .custom-option .custom-option-content .pcr-button {
  padding: .625rem;
  block-size: 30px;
  inline-size: 30px;
}

#template-customizer .template-customizer-colors-options .custom-option .custom-option-content .pcr-button::before,
#template-customizer .template-customizer-colors-options .custom-option .custom-option-content .pcr-button::after {
  border-radius: .5rem;
}

#template-customizer .template-customizer-colors-options .custom-option .custom-option-content .pcr-button:focus {
  box-shadow: none;
}

#template-customizer .template-customizer-colors-options .custom-option-body {
  border-radius: .5rem;
  block-size: 30px;
  inline-size: 30px;
}

/* Font Icons sizing and alignments */
#template-customizer .custom-option-icon {
  padding: 0;
}

#template-customizer .custom-option-icon .custom-option-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 50px;
}

/* border-color for hr */
#template-customizer hr {
  border-color: var(--bs-border-color);
}

/* To update svg image's color */
#template-customizer .custom-option {
  border-width: 2px;
  margin: 0;
}

#template-customizer .custom-option.custom-option-image .custom-option-content .custom-option-body svg {
  inline-size: 100%;
}

#template-customizer.template-customizer-open {
  transform: none;
  transition-delay: .1s;
}

#template-customizer.template-customizer-open .template-customizer-theme .custom-option.checked {
  background-color: rgba(var(--bs-primary-rgb), .08);
}

#template-customizer.template-customizer-open .template-customizer-theme .custom-option.checked *,
#template-customizer.template-customizer-open .template-customizer-theme .custom-option.checked *::before,
#template-customizer.template-customizer-open .template-customizer-theme .custom-option.checked *::after {
  color: var(--bs-primary);
}

#template-customizer.template-customizer-open .custom-option.checked {
  border-width: 2px;
  color: var(--bs-primary);
}

#template-customizer.template-customizer-open .custom-option.checked .custom-option-content {
  border: none;
}

#template-customizer .template-customizer-header a:hover,
#template-customizer .template-customizer-header a:hover .icon-base {
  color: inherit !important;
}

/* Customizer button */
#template-customizer .template-customizer-open-btn {
  position: absolute;
  z-index: -1;
  display: block;
  background: var(--bs-primary);
  block-size: 38px;
  border-end-start-radius: .375rem;
  border-start-start-radius: .375rem;
  box-shadow: 0 .125rem .25rem 0 rgba(var(--bs-primary-rgb), .4);
  color: #fff;
  font-size: 18px;
  inline-size: 38px;
  inset-block-start: 180px;
  inset-inline-start: 0;
  line-height: 38px;
  opacity: 1;
  text-align: center;
  transform: translateX(-58px);
  transition: all .1s linear .2s;
}

#template-customizer .template-customizer-open-btn::before {
  position: absolute;
  display: block;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABClJREFUaEPtmY1RFEEQhbsjUCIQIhAiUCNQIxAiECIQIxAiECIAIpAMhAiECIQI2vquZqnZvp6fhb3SK5mqq6Ju92b69bzXf6is+dI1t1+eAfztG5z1BsxsU0S+ici2iPB3vm5E5EpEDlSVv2dZswFIxv8UkZcNy+5EZGcuEHMCOBeR951uvVDVD53vVl+bE8DvDu8Pxtyo6ta/BsByg1R15Bwz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6LU3wWuf5581+oHfD1vi89bz3nFUC8Nm7ZlP3nKkFbM4bWPt/MSFwklprYItwt6cmvpWJ2IVcQBCz6bLysSCv3SaANCiTsnaNRrNRqMXVVT1/BrAqz/buu/Y38Ad3KC5PARej0QAAAABJRU5ErkJggg==");
  background-size: 100% 100%;
  block-size: 22px;
  content: "";
  inline-size: 22px;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
}

:dir(rtl) #template-customizer .template-customizer-open-btn::before {
  margin-inline-start: 2px;
  transform: translate(50%, -50%);
}

/* Customizer Hidden */
.customizer-hide #template-customizer .template-customizer-open-btn {
  display: none;
}

:dir(rtl) #template-customizer .template-customizer-open-btn {
  transform: translateX(58px);
}

#template-customizer.template-customizer-open .template-customizer-open-btn {
  opacity: 0;
  transform: none;
  transition-delay: 0s;
}

/* Customizer inner */
#template-customizer .template-customizer-inner {
  position: relative;
  overflow: auto;
  flex: 0 1 auto;
  -webkit-box-flex: 0;
  opacity: 1;
  transition: opacity .2s;
}

@media (max-width: 1200px) {
  #template-customizer {
    display: none;
    visibility: hidden;
  }
}

.layout-menu-100vh #template-customizer {
  block-size: 100dvh;
}

/* RTL */
:dir(rtl) #template-customizer:not(.template-customizer-open) {
  transform: translateX(-420px);
}

