@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 {

  padding-top: 35px;

  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: 50px;
  padding-left: 97px;
  padding-bottom: 100px;

  > header {
    margin-left: -97px;
    margin-right: -50px;
    margin-bottom: 30px;
    padding: 34px 80px 34px 97px;

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

    background-color: #f3f3f3;
    /**
     * since moving from margin to padding we dont' need this anymore

    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: -97px;
    margin-right: -50px;

    section {
      margin-left: 97px;
    }
  }

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

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

  }

}

/**
 * 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;
  }
}

/**
 * Header Help
 */

div#ccm-dashboard-content {
  div.ccm-notification-help-launcher {

    html.ccm-panel-open.ccm-panel-right & {
      .translate(0, 0);
    }

    position: absolute;
    z-index: @index-level-dashboard-help;

  }

  div.ccm-notification-help {
    position: absolute;
    z-index: @index-level-dashboard-help;
    html.ccm-panel-open.ccm-panel-right & {
      .translate(0, 0);
    }
  }
}


/**
 * Connect to community
 */
div#ccm-dashboard-content {
  iframe.ccm-marketplace-frame-connect {
    margin-left: -97px;
  }
}

/**
 * Add Functionality
 * - based on the Bootstrap 3 media.less Media object
 */
.ccm-ui {
  // clear floats
  .media-row {
    overflow: hidden;
    zoom: 1;
  }

  // proper spacing between instances of .media-row
  .media-row {
    margin-left: -5px;
    margin-top: 10px;
    padding: 5px 5px 0px 5px;
  }
  .media-row:first-child {
    margin-top: 0;
  }

  // .media-row image alignment
  .media-row {
    > .pull-left {
     margin-right: 10px;
    }
    > .pull-right {
     margin-left: 10px;
    }
  }

  // add background hover
  .media-row:hover {
    background: #f1f1f1;
  }
}

/**
 * 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;
  }

  div#ccm-dashboard-content {
    margin-right: 0px !important;

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

@import "./multilingual.less";
@import "./update.less";