/**
  *  Profile page 
  */
h3.profile-header {
  margin-top: 0;
}

.profile-top {
  margin-bottom: 20px;
}

.profile-detail-wrapper {
  border: 1px solid #ccc;
  background-color: #F8F8F8;
  width: 690px;
  float: left;
}

.profile-item,
.profile-item.user-points-wrapper > div > div,
.profile-item.profile-summary-wrapper > div > div {
  margin: 0 0 10px 0;
}

.profile-detail {
  margin-left: 170px;
  border-left: 1px solid #ccc;
}

.profile-heading {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  padding: 0 10px 10px 0;
}

.contrib-wrapper {
  padding-top: 10px;
  width: 225px;
  float: right;
  background: #F8F8F8;
  border: 1px solid #ccc;
  padding: 10px;
  min-height: 250px;
}

.contrib-type {
  padding: 5px 0 5px 25px;
  background-position: 5px 50%;
  font-size: 11px;
  line-height: 12px;
  font-weight: bold;
  background: transparent url(../images/sprite-profile-icons.png) no-repeat;
}

.item-solved-small {
  background-position: 0 2px;
}

.item-sc_forum-small {
  background-position: 0 -21px;
}

.item-comment-small {
  background-position: 0 -142px;
}

.item-blog-small {
  background-position: 0 -70px;
}

.item-idea-small {
  background-position: 0 -166px;
}

.item-article-small {
  background-position: 0 -46px;
}

.item-download-small {
  background-position: 0 -190px;
}

.item-event-small {
  background-position: 0 -93px;
}

.item-group-small {
  background-position: 0 -118px;
}

.item-video-small {
  background-position: 0 -214px;
}

.contrib-stat {
  float: right;
  font-size: 14px;
  font-weight: bold;
  margin-left: 5px;
}

.contrib-col-1 .contrib-type {
  border: 1px solid #E8E8E8;
  border-width: 1px 1px 0 0;
}

.contrib-col-2 .contrib-type {
  border: 1px solid #E8E8E8;
  border-width: 1px 0 0 0;
}

.profile-label,
.profile-item label {
  font-weight: bold;
  font-size: 11px;
  text-transform: uppercase;
  color: #000;
}

.profile-item .user-member .item-list ul {
  list-style: disc;
  margin: 0 0 0 20px;
}

.profile-item .user-member .item-list ul li {
  list-style: disc;
}

/**
  *  Profile 
  */
.profile h3 {
  border: none;
}

.profile {
  margin: 0 0;
  padding: 1px 0 0 0;
}

.views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 11px; 
}

#views-exposed-form-og-page .views-operator,
#views-exposed-form-og-page .views-widget,
#views-exposed-form-og-page .views-exposed-widget label {
  float: left;
  margin-right: 10px;
}

#views-exposed-form-og-page .views-exposed-form .views-exposed-widget {
  margin: 0;
  padding: 0;
}

#views-exposed-form-og-page .views-exposed-form .views-exposed-widget .form-submit {
  margin: 0;
}

#views-exposed-form-og-page .views-exposed-widget #edit-title {
  width: auto;
}

.view-id-og .views-table td {
  padding: 5px;
  vertical-align: top;
}

table.sticky-enabled td,
table.views-table td {
  padding: 5px;
  vertical-align: top;
}

tr.odd {
  background-color:#efefef;
  border-bottom:1px solid #CCCCCC;
  padding:0.1em 0.6em;
}

tr.even{
  background-color:#fff;
  border-bottom:1px solid #CCCCCC;
  padding:0.1em 0.6em;
}

/*
Rewards table
Someone in Visual design is working on a table "look".
Until they propose something, this will help the rewards table.
Kevin
*/

table.rewards {
  border-collapse:collapse;
}

.rewards tr {
  vertical-align:top;
}

.rewards td {
  border:1px solid #fff;
  padding:4px;
}

.profile-avatar {
  margin: 0 0 15px 0;
}

.profile-avatar img {
  display: block;
  border: 1px solid #999;
  padding: 5px;
  background: #efefef;
}

.profile-additional-info {
  clear: both;
}

/**
  *  Profile block 
  */
.profile-details {
  margin: 5px 0;
}

.profile-block-label {
  font-weight: bold;
}

.profile-name .user-level{
  background-position: left 50%;
  float: none;
  padding-left: 20px;
  margin-left: 40px;
}

.profile-name .user-badge {
  margin-top:  2px;
}

.profile-block-avatar {
  float: left;
  margin-right: 5px;
}

.profile-block-avatar img {
  display: block;
  border: 1px solid #999;
}

.profile-feed-items .feed-item-wrapper {
  padding: 10px;
}

.profile-feed-item-even {
  background-color: #E8F3FA;
  padding: 10px 18px;
}

.profile-feed-item-timestamp {
  color:#AAA;
}

.form-privatemsg-width {
  width: 100%;
}

/**
  *  Homebox overrides 
  */

.rewards-block {
  padding: 10px 10px;
}

.rewards-block-column {
  width: 50%;
  float: left;
  margin-bottom: 15px;
}

.rewards-block-padding {
  padding-left: 10px;
}

.rewards-block-label {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  margin-bottom: 3px;
}

.rewards-data {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  padding: 0 0 0 36px;
  line-height: 24px;
  min-height: 30px;
}

#rewards-life-balance {
  background: transparent url(../images/icon-rewards-lifetime.png) no-repeat top left;
}

#rewards-balance {
  background: transparent url(../images/icon-rewards-total.png) no-repeat top left;
}

a.rewards-redeem {
  font-size: 13px;
  line-height: 13px;
  font-weight: bold;
  display: block;
}

a#homebox-add-link {
  display: block;
  border: 1px solid #999;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 13px;
  color: #413710;
  text-shadow: #FEFFB0 0 1px 0;
  background-color: transparent;
  background-position: -340px -578px;
  text-align: center;
  width: 160px;
  margin-bottom: 10px;
}

a#homebox-add-link:hover {
  background-position: -340px -606px;
  color: #fff;
  text-shadow: none;
  border-color: #0A6893;
}



/*
** Columns/regions
*/

#homebox .homebox-column {
  margin: 0;
  padding: 5px 5px 1px 5px;
  background: none;
  background-color: #F4F4F4;
}

#homebox-column-1.homebox-column {
  margin-right: 5px;
}

#homebox .views-row-odd {
  background-color: #EBF6FC;
}

#homebox .views-row {
  padding: 5px 10px;
}

/*
** Portlets/boxes
*/
#homebox .homebox-portlet {
  margin: 0 0 5px 0;
  padding: 0;
  border: 1px solid #ccc;
  background-color: white;
}
#homebox .homebox-portlet .homebox-portlet-inner {
  border: none;
  overflow: hidden;
}
#homebox .portlet-content {
  padding: 0;
}
#homebox .homebox-portlet-collapsed .portlet-content {
  display: none;
}
#homebox .homebox-portlet .portlet-header {
  margin: 0;
  padding: 5px 10px;
  border-bottom: 1px solid #ddd;
  background: #FAFAFA;
  color: #666;
  font-size: 12px;
  font-weight: bold;
}
#homebox .homebox-draggable .portlet-header:hover {
  cursor: move;
}
#homebox .homebox-portlet .portlet-header .portlet-title {
  display: block;
  z-index: 9; /* IE is terrible */
  position: relative; /* IE is terrible */
}
#homebox .homebox-portlet .portlet-config {
  display: none;
  border-bottom: 1px solid #ddd;
}
#homebox .homebox-portlet div.views-exposed-widgets {
  padding: 0 7px;
}
#homebox div.view-header {
  text-align: right;
}
#homebox .portlet-maximized {
  clear: both;
}

/*
** Icons
*/
.portlet-icon {
  float: right;
  height: 16px;
  width: 16px;
  cursor: pointer;
  z-index: 10; /* IE is terrible */
  position: relative; /* IE is terrible */
}
/*.portlet-header .portlet-settings {
  background: url(images/settings.gif);
}
.portlet-plus {
  background: url(images/plus.gif);
}
.portlet-minus {
  background: url(images/minus.gif);
}
.portlet-close {
  background: url(images/close.gif);
}
.portlet-maximize {
  background: url(images/maximize.gif);
}
.portlet-maximized .portlet-minimize {
  background: url(images/minimize.gif);
}*/

.portlet-minus,
.portlet-maximize {
  display: none;
}

/*
** Closed box/portlet class
*/
#homebox .homebox-portlet-closed {
  display: none;
}

/*
** Placeholder
*/
#homebox .homebox-placeholder {
  visibility: visible !important;
  margin: 5px 0;
  padding: 0;
  /*background: #FFFFDD;*/
  border: 3px dashed #ccc;
}
#homebox .homebox-placeholder * {
  visibility: hidden;
}



/* Page configure UI */
#homebox-add {
  margin: 0 0 5px 0;
  font-size: 12px;
  background-color: #efefef;
  padding: 5px 5px 0 5px;
}
#homebox-add ul {
  margin: 0;
  padding: 0;
}
#homebox-add li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  background: none;
  float: left;
  margin: 0 5px 5px 0;
}
#homebox-add .last {
  margin: 0;
}
#homebox-add a {
  display: block;
  width: 130px;
  height: 40px;
  background: #fff url(../images/icon-dashboard-add.png) no-repeat 121px 32px;
  padding: 5px;
  overflow: hidden;
  border-top: none;
  outline: none;
  border: 1px solid #789C3B;
  color: #385106;
}

/* customize the used state for better ui */
#homebox .used {
  background: #F0F0F0 url(../images/icon-dashboard-used.png) no-repeat 121px 32px;
  outline: none;
  border: 1px solid #ccc;
}

#homebox a.restore {
  background: #fff url(../images/icon-dashboard-reset.png) no-repeat 121px 32px;
  border: 1px solid #2362B4;
  outline: none;
  color: #004BAD;
  font-weight: bold;
}
.homebox-msg {
  margin-right: 10px;
}
#homebox-minimize-to-save {
  font-size: 90%;
  color: #999;
  font-style: italic;
  display: none;
  margin-right: 5px;
}
#homebox-changes-made {
  font-size: 80%;
  color: darkRed;
  font-style: italic;
  display: none;
}
#homebox-add {
  display: none;
}
#homebox-add a {
  font-weight: bold;
}
#homebox-add a.used {
  font-weight: normal;
}

#homebox-add a.used {
  color: #ccc;
}

#center #homebox-save-form {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  right: 0;
}
#homebox-buttons .form-submit {
  margin: 0;
  cursor: pointer;
}
.homebox-auto-save #homebox-save-form {
  display: none;
}

/**
 * accreditation
 */
.product-accreditation {
  margin-bottom: 10px;
  font-weight: bold;
}

.product-accreditation .item-list  ul {
  list-style: disc;
  margin: 5px 0 5px 20px;
  font-weight: normal;
  color: #666;
}

.product-accreditation .item-list ul li {
  list-style: disc;
}

/* certifications */
ul.profile-certifications {
  font-size: 13px;
  margin: 5px 0 5px 20px;
  color: #666;
}

ul.profile-certifications li {
  list-style: disc;
}

/* nested groups */
.og_groups ul li {
  padding: 4px 10px 4px 22px;
  background: transparent url(../images/group-parent.png) no-repeat 0px 4px;
}

.og_groups ul li ul li {
  padding-left: 36px;
  background: transparent url(../images/group-child.png) no-repeat 0px 4px;
}

/* status update */
.status-update-form-wrapper {
  margin-bottom: 15px;
}
.status-update-form-wrapper .form-item {
  margin: 0;
}
.status-update-form-wrapper .form-item .form-text {
  width: 340px;
  padding: 4px;
  margin-bottom: 5px;
}
.status-update-form-wrapper .status {
  font-size: 11px;
  color: #999;
}

.status-message {

}

.status-time {
  color: #999;
}

/* badgeville badges */
.external-badge-item-admin {
  position: relative;
  height: 50px;
  margin: 5px 0 5px 60px;
}

.external-badge-item-admin img {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  left: -60px;
  top: 0;
}

.external-badge-item-admin .external-badge-item-label {
  padding-top: 15px;
  font-weight: bold;
}

.external-badge-item {
  position: relative;
  height: 50px;
  margin: 5px 0 5px 60px;
}

.external-badge-item img {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  left: -60px;
  top: 0;
}

.external-badge-item .external-badge-item-label {
  padding-top: 15px;
  font-size: 13px;
  font-weight: bold;
}


