@import "../../core/include/variables.less";
@import "../../core/include/mixins.less";
// Modify this for custom colors, font-sizes, etc
@import "../../vendor/bootstrap/variables.less";
// Modify this for custom colors, font-sizes, etc
@import "../../vendor/bootstrap/mixins.less";
@import "../../vendor/bootstrap/grid.less";

body {
  background-color: #fff;
  margin: 0px;
}

html.ccm-panel-right {
  div#ccm-dashboard-content {
    margin-right: 320px;

    div.ccm-dashboard-form-actions-wrapper {
      padding: 0px 335px 15px 15px;
    }
  }
}

div#ccm-dashboard-content {

  tr {
    &.ccm-theme-active {
      td {
        background-color: #ddf4fb !important;
      }
    }
  }

  .transition(margin cubic-bezier(0.190, 1.000, 0.220, 1.000) 0.5s);

  .ccm-dashboard-section-menu {
    padding-bottom: 85px;
    li {
      margin-bottom: 4px;
    }
    h2 {
      display: block;
      width: 100%;
      padding: 0;
      margin-bottom: 10px;
      font-size: 21px;
      font-weight: 200;
      margin-top: 0px;
      line-height: inherit;
      color: #333;
      border-bottom: 1px solid #e5e5e5;
    }
  }

  position: relative;
  padding-right: 20px;
  padding-left: 95px;
  padding-bottom: 100px;

  header {
    margin-left: -95px;
    margin-right: -20px;
    padding: 34px 80px 34px 95px;

    h1 {
      font-size: 22px;
      font-weight: 600;
      color: #105192;
    }

    background-color: #f3f3f3;
    margin-bottom: 30px;
  }

  form.ccm-dashboard-content-form {
    margin-bottom: 120px;
  }

  div.ccm-dashboard-form-actions-wrapper {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    padding: 0px 15px 15px 15px;
    z-index: @index-level-dashboard-form-actions-wrapper;

    .transition(cubic-bezier(0.190, 1.000, 0.220, 1.000) 0.5s);

    div.ccm-dashboard-form-actions {
      .clearfix;
      background-color: #242729;
      padding: 20px;
      .border-radius(4px);
    }
  }

  div.ccm-dashboard-content-full {
    margin-left: -95px;
    margin-right: -20px;

    section {
      margin-left: 95px;
    }
  }

  header + div.ccm-dashboard-content-full {
    margin-top: -30px;
  }

  div.ccm-dashboard-header-buttons {
    position: absolute;
    top: 50px;
    right: 30px;
  }

}

/**
 * Attributes
 */
div.ccm-attribute-list-wrapper {
  padding-bottom: 20px;
}

/**
 * Result Messages
 */
div#ccm-dashboard-content {
  div#ccm-dashboard-result-message {
    margin-right: 20px;
    margin-left: 0px;
  }
}

/**
 * Help and notifications
 */
div#ccm-dashboard-content {
  div.ccm-notification-help {
    position: absolute;
    right: 0px;
    top: 122px;
    .border-right-radius(0px);

    z-index: @index-level-dashboard-help;
  }
}

/**
 * Responsive utilities
 */
@media (min-width: @screen-md) {
  div#ccm-dashboard-content {
    form.ccm-dashboard-content-form {
      width: 650px;
    }
  }
}

@media (max-width: @screen-md) {
  div#ccm-dashboard-content {
    padding-left: 20px;
  }
}

@media (max-width: @screen-sm) {
  div#ccm-dashboard-content {
    margin-right: 0px !important;

    div.ccm-dashboard-form-actions-wrapper {
      padding-right: 15px !important;
    }
  }
}