/* === Group page styles === */

.pane-commons-bw-group {
  @extend .clearfix;
  border-top: 1px dotted #C5E2EA;
  margin-top: 25px;
  padding-top: 25px;
}

.commons-bw-partial-node-form {
  margin-left: 68px;
  margin-bottom: 2em;
  /* hide full form */
  a.full-form {
    display: none;
  }
  h3 {
    margin-left: -68px;
    color: #2A4E68;
    font-weight: 300;
    margin-bottom: 25px;
    margin-top: 20px;
    text-align: left;
  }
  .user-picture {
    margin-left: -68px;
    position: absolute;
    float: left;
  }
  .field-name-field-media fieldset {
    outline: none;
    border: 0px;
  }
  .field-name-field-media fieldset legend {
    background: inherit;
    padding: 0px;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    padding-bottom: 4px;
  }
  .field-name-field-media .panel-body {
    padding-left: 0px;
    padding-right: 0px;
    a {
      color: #30739C;
      text-decoration: underline;
    }
  }
  .form-type-media .preview {
    @extend .glyphicon;
    @extend .glyphicon-picture;
    font-size: 1.5em;
    color: #808080;
  }
}

#quicktabs-container-commons_bw {
  .quicktabs-tabpage {
    .view-filters,
    .attachment-before {
      display: block;
      clear: both;
      vertical-align: top;
      margin-bottom: 1.7em;
      padding: .5em .6em;
      font-size: .88em;
      @include border-radius(2px);
      background: #f5f5f5;
    }
  }
  .views-row {
    margin-bottom: 2em;
    a {
      color: #30739C;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }
    h2 {
      margin-bottom: 0px;
      margin-top: 0px;
      text-align: left;
    }
    h2 a {
      color: #2A4E68;
      font-weight: 300;
      font-size: 24px;
    }
    p.author-datetime {
      margin: 0px 0px 1.5em;
      color: #858585;
    }
    nav {
      margin-top: 1em;
      ul {
        margin-left: 0px;
      }
    }
  }
}

.expandable-form-toggle {
  float: right;
  position: relative;
  top: 0;
  right: 0;
  margin-top: .6em;
  overflow: hidden;

  &,
  &:before {
    width: 1.4em;
    height: 1.4em;
    text-align: center;
  }

  .expanded-form & {
    display: block;

    &:before {
      content: 'x';
      display: block;
    }
  }

  &:hover {
    text-decoration: none;
  }
}

.user-picture-available {
  margin-left: 68px;
  .user-picture {
    margin-left: -68px;
    position: absolute;
    float: left;
  }
}

.group-status-logo {
  background: url(../images/group-logo.png);
  background-repeat: no-repeat;
  width: 32px;
  height: 32px;
  display: block;
  margin-left: -40px;
  margin-top: 2px;
  float: left;
}

.node-group.group-status-unsupported .group-status-logo {
  background-position: -32px 0px;
}

.node-group.group-status-official .group-status-logo {
  background-position: 0px 0px;
}

.field-name-field-group-status {
  margin-top: 0.5em;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  .group-status-logo {
    background: url(../images/group-logo-small.png);
    width: 16px;
    height: 16px;
    margin-left: 0px;
    margin-right: 4px;
  }
}

/* sync settings page */

#groups-feeds-sync-settings {
  h3 {
    color: #000;
    font-size: 14px;
    font-weight: 600;
  }
  a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
  }
  a:hover {
    text-decoration: underline;
  }
}