//@import "chota/chota";

.global_setting_heading_section {
  h3 {
    &.setting_heading {
      cursor: pointer;
      color: var(--color-darkGrey);
      background-color: rgba(251, 78, 36, .2);
      font-size: 15px !important;
      line-height: 1.2 !important;
      font-weight: normal !important;
      padding: 0 8px;
      margin-bottom: 8px !important;
      border-radius: 5px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 15px;
    }

    a {
      &.setting_heading_toggle {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='%23fb4e24'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 000 2h6a1 1 0 100-2H7z' clip-rule='evenodd' /%3E%3C/svg%3E");
        width: 26px;
        height: 26px;
        background-repeat: no-repeat;
        background-size: contain;
        font-size: 0px;
      }
    }
  }


  h4 {
    &.setting_subheading {
      color: var(--color-darkGrey);
      background-color: rgba(251, 78, 36, .2);
      font-size: 22px;
      font-weight: 700;
      padding: 15px 20px;
      border-radius: 5px;
    }
  }

  .description {
    padding-left: 20px;
  }
}

.global_setting_heading_section_closed {
  h3 {
    &.setting_heading {
      margin: 0px !important;

      a {
        &.setting_heading_toggle {
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='%236648fe'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm1-11a1 1 0 10-2 0v2H7a1 1 0 100 2h2v2a1 1 0 102 0v-2h2a1 1 0 100-2h-2V7z' clip-rule='evenodd' /%3E%3C/svg%3E");
          width: 26px;
          height: 26px;
          background-repeat: no-repeat;
          background-size: contain;
        }
      }

    }
  }

  .description {
    display: none;
  }
}

#global_setting_group_actions {
  display: none;
  margin-bottom: 0px;

  @media screen and (max-width: 782px) {
    margin-top: 10px;
    text-align: center;
    .pull-right {
      float: none !important;
    }
  }
}

.form-table td fieldset.radio_fields {
  label {
    display: inline-block !important;
    margin-right: 10px !important;
  }

  &:last-child {
    margin-right: 0 !important;
  }
}

@import "chota/setting_fields/multicheck";
@import "chota/setting_fields/checkbox";
@import "chota/setting_fields/file";


/*
.xyz-filter-wrap{
  display: flex;

  .xyz-filter-selected-wrap{
    display: flex;

    .xyz-filter-selected{
      border-right: 0 !important;
      border-radius: 4px 0 0 4px !important;

    }

    .xyz-filter-selected-remove{
      border-radius: 0 4px 4px 0 !important;
      margin-left: 0 !important;
      cursor: pointer;
    }
  }
}*/


.setting-form-wrap {
  display: flex;

  @media screen and (max-width: 782px) {
    display: block;
  }

  .setting-tabs-nav{
    display: block;
    width: 250px;
    margin-right: 10px;

    a{
      display: block;
      text-align: left;
      border-radius: 0;
      margin-bottom: 5px;
      padding: 10px 15px;

      &.active{
        //border-bottom: 0;
        //border-left: 2px solid var(--color-darkGrey);
        border-bottom: 2px solid var(--color-darkGrey);

      }
      &:hover{
        //border-bottom: 0;
        //border-left: 2px solid var(--color-darkGrey);
      }
    }

  }

  #setting-tabs-contents{
     flex: 2;
  }

  .setting-select-wrapper {
    width: 100% !important;
    display: none;

    select {
      width: 100% !important;
    }

    .select2-container--cbx {
      width: 100% !important;
      max-width: 100% !important;
    }
  }

  @media screen and (max-width: 782px) {
    .setting-tabs {
      display: none !important;
    }
    .setting-select-wrapper {
      display: block !important;
    }
  }
}