/**
 * 05. Widget
 */
.control-section{

  .ectcsf-field{
    padding: 0;

    .ectcsf-title{
      float: none;
      width: 100%;
      margin-bottom: 6px;

      h4{
        display: block;
        font-size: 13px;
        line-height: 1;
        font-weight: 600;
        color: inherit;
      }
    }

    .ectcsf-fieldset{
      float: none;
      width: 100%;
    }
  }

  .ectcsf-help{
    top: -5px;
    right: -5px;
  }

  .ectcsf-field-select select{
    width: 100%;
  }

  .ectcsf-field-heading{
    color: inherit;
    font-size: 14px;
    line-height: 1em;
    margin-right: -15px;
    margin-left: -15px;
    padding: 15px;
  }

  .ectcsf-field-subheading{
    color: inherit;
    font-size: 11px;
    margin-right: -15px;
    margin-left: -15px;
    padding: 10px 15px;
  }

  .ectcsf-subtitle-text{
    margin-top: 4px;
    font-size: 12px;
  }

  .ectcsf-field-submessage .ectcsf-submessage{
    margin-right: -15px;
    margin-left: -15px;
    padding: 15px;
  }

  .ectcsf-fieldset{

    .ectcsf-field-submessage .ectcsf-submessage,
    .ectcsf-field-heading,
    .ectcsf-field-subheading{
      margin-left: 0;
      margin-right: 0;
    }
  }

  .ectcsf-field-date{

    .ectcsf--to{
      margin-left: 0;
    }
  }

  .ectcsf-field-sorter{

    ul li{
      padding: 5px;
    }

    .ectcsf-modules{
      float: none;
      width: 100%;
    }

    .ectcsf-modules:first-child{
      padding-right: 0;
      padding-bottom: 15px;
    }
  }

  .ectcsf-field-background{

    .ectcsf--background-attributes{
      flex-direction: column;
    }
  }

  .ectcsf-field-spacing{
    input{
      width: 90px;
    }
  }

  .ectcsf-field-border{

    .ectcsf--input{
      flex: 1 50%;
    }

    input,
    select{
      width: 100%;
    }
  }

  .ectcsf-field-spinner{
    input{
      width: 50px;
    }
  }

  .ectcsf-field-number{

    .ectcsf--wrap{
      width: 100%;
    }
  }

  .ectcsf-field-backup{

    .ectcsf-export-data{
      display: none;
    }
  }

  .ectcsf-field-fieldset{

    .ectcsf-fieldset-content{
      border-color: #e5e5e5;
    }
  }

  .ectcsf-tabbed-content,
  .ectcsf-sortable-content,
  .ectcsf-repeater-content,
  .ectcsf-fieldset-content,
  .ectcsf-cloneable-content,
  .ectcsf-accordion-content{

    > .ectcsf-field{
      padding: 10px;

      .ectcsf-title{
        margin-bottom: 5px;
      }

      h4{
        font-size: 12px;
      }
    }
  }

  .ectcsf-depend-hidden.ectcsf-depend-on{
    display: none !important;
  }

  .ectcsf-depend-visible.ectcsf-depend-on{
    border-top: 0 !important;
  }
}
