
.container2 {
  display: flex;
  gap: 10px;
}

.collapsible {
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  transition: transform 0.3s ease;
}

.collapse-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  overflow: hidden;
  max-height: 0;
  user-select: none;
}

.collapse-content.active {
  display: block;
  opacity: 1;
  max-height: 1000px; /* Adjust to a suitable max height */
}

.collapsed .arrow {
  transform: rotate(0deg);
}

.expanded .arrow {
  transform: rotate(180deg);
}



body {
  padding-right: 0px !important;
  overflow: auto !important;
}
.settings-btn {
    display: inline-block;
    outline: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    padding: 2px 16px;
    height: 38px;
    min-width: 30px;
    min-height: 38px;
    border: none;
    color: #fff;
    transition: background-color .17s ease,color .17s ease;
  }
  .grid-settings-btn-on, .variable-settings-btn-on {
    background-color: rgb(88, 101, 242);
    :hover {
        background-color: rgb(71, 82, 196);
    }
  }
  .grid-settings-btn-off, .variable-settings-btn-off {
    border: 3px solid rgb(88, 101, 242) !important;
    background-color: white;
    color: rgb(88, 101, 242) !important;
    :hover {
        background-color: rgb(71, 82, 196);
        color: white;
    }
  }

  .selected-element {
    border: 3px dotted rgba(207, 132, 27) !important;
  }

  @font-face {
    font-family: 'OLDENG';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/OLDENG.ttf');
}

  .primary-btn {
    margin-top: 10px;
    background-color: rgb(88, 101, 242);
    :hover {
        background-color: rgb(71, 82, 196);
    }
  }
  
  #save-code-btn, #change-template-btn, #add-html-code-btn, #add-php-code-btn, #save-menu-settings-btn, #edit-code-btn, #save-template-btn, #edit-parent-table-btn, #edit-container-btn, #edit-whole-code-btn, #edit-table-row-btn, #edit-copy-style, #edit-paste-style {
    margin-top: 10px;
    background-color: rgb(88, 101, 242);
    :hover {
        background-color: rgb(71, 82, 196);
    }
  }
  
  .delete-btn, #save-btn {
      
      display: inline-block;
      outline: none;
      cursor: pointer;
      border-radius: 3px;
      font-size: 14px;
      font-weight: 500;
      line-height: 16px;
      padding: 2px 16px;
      height: 38px;
      min-width: 30px;
      min-height: 38px;
      border: none;
      color: #fff;
      background-color: rgb(88, 101, 242);
      transition: background-color .17s ease,color .17s ease;
      :hover {
          background-color: rgb(71, 82, 196);
      }
  
  }
  
  #delete-btn {
    background-color: rgb(242, 88, 93);
    :hover {
        background-color: rgb(242, 88, 93);
    }
  }
  
  
  .edit-textbox {
      color: rgb(36, 35, 42);
      font-size: 16px;
      line-height: 20px;
      min-height: 28px;
      border-radius: 4px;
      padding: 8px 16px;
      border: 2px solid transparent;
      box-shadow: rgb(0 0 0 / 12%) 0px 1px 3px, rgb(0 0 0 / 24%) 0px 1px 2px;
      background: rgb(251, 251, 251);
      transition: all 0.1s ease 0s;
      width: 100%;
      margin: 5px 0px;
      :focus{
          border: 1px solid rgb(124, 138, 255);
      }
  
  }
  
  .edit-img {
      width: 100%;
      height: 100%;
  }
  
  .edit-box-container {
          border: 2px solid rgb(124, 138, 255);
  }
  
  .display-code-modal, .edit-code-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .menu-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .menu-settings-modal-content {
    position: relative;
    top: 25%;
    left: 35%;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
  }
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  .display-code-modal-content, .edit-code-modal-content, .menu-settings-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
  }
  
  .settings-label {
    font-family: Tahoma;
    font-size: 11px;
    font-weight: bold;
    color: grey;
  }
  
  .edit-color-picker {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
    height: 50px;
  }
  
  
  
  
  /* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .sp-replacer {
    height: 50px;
    border-radius: 4px;
    padding: 4px 8px;
    border: 2px solid transparent;
    box-shadow: rgb(0 0 0 / 12%) 0px 1px 3px, rgb(0 0 0 / 24%) 0px 1px 2px;
    background: rgb(251, 251, 251);
    transition: all 0.1s ease 0s;
    width: 100%;
    margin: 5px 0px;
  }
  .sp-preview {
    width: 93%;
    height: 100%;
    border-radius: 4px;
  }
  .sp-dd {
    line-height: 35px;
  }
  .sp-button-container {
    display: none;
  }