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

  .cgps-field{
    padding: 0;

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

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

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

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

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

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

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

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

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

  .cgps-fieldset{

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

  .cgps-field-date,
  .cgps-field-datetime{

    label{
      display: block;
    }

    .cgps--to{
      margin-top: 4px;
      margin-left: 0;
    }
  }

  .cgps-field-sorter{

    ul li{
      padding: 5px;
    }

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

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

  .cgps-field-background{

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

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

  .cgps-field-border{

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

    input,
    select{
      width: 100%;
    }
  }

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

  .cgps-field-number{

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

  .cgps-field-backup{

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

  .cgps-field-fieldset{

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

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

    > .cgps-field{
      padding: 10px;

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

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

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

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