/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Copyright (c) 2001-present X-Cart Holdings LLC. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

.custom-css-section {
    height: 100%;
    overflow: auto;
}

.custom-css-section .table-value {
    float: none;
}

.custom-css-section .codemirror {
    border: none;
    resize: none;
    height: auto !important;
}

.custom-css-section .CodeMirror {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    border: none;
    border-left: 1px solid #ccc;
    border-radius: 0;

    font-size: 12px;
    line-height: 1.42em;
}

body.live-css-reloading {
    transition: all 0.5s ease;
}

#themetweaker-panel * {
    transition: none !important;
}

.variables-unknown h3 {
  display: flex;
  align-items: baseline;
}

.variables-unknown .chevron-down {
  display: inline-block;
  height: 13px;
  width: 16px;
  position: relative;
}

.variables-unknown .chevron-down:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: url("../../../../../../admin/images/arrow_down.svg") no-repeat center;
  background-size: 10px auto;
  content: '';
  transform: rotate(-90deg);
}

.variables-unknown .chevron-down.opened:before {
  transform: rotate(0);
}

.font-settings select {
  appearance: none;
  background-color: rgb(255, 255, 255);
  background-image: url("../../../../../../admin/images/arrow_down.svg");
  background-position: calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px;
  border-color: rgb(171, 171, 171);
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  box-sizing: border-box;
  color: rgb(51, 51, 51);
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  height: 40px;
  width: 245px;
  padding: 4px 24px 4px 10px;
  transition: color 0.2s ease-in-out,
  background-color 0.2s ease-in-out,
  border-color 0.2s ease-in-out,
  box-shadow 0.2s ease-in-out,
  height 0.2s ease-in-out,
  width 0.2s ease-in-out,
  padding 0.2s ease-in-out,
  margin 0.2s ease-in-out,
  opacity 0.2s ease-in-out;
}

.custom-css-section .CodeMirror-code {
  margin-bottom: 100px;
}

.hidden_dark_theme_element {
  display: none;
}
