/*
Helper Class
*/

i.IR {
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  vertical-align: middle;
  background: #ccc;
}
i.IR.sprt-chevron-up {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat left -178px;
  width: 17px;
  height: 17px;
}
i.IR.sprt-chevron-down {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -21px -178px;
  width: 17px;
  height: 17px;
}

i.IR.sprt-relato-criador {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat 0 -215px;
  width: 38px;
  height: 35px;
}
i.IR.sprt-relato-colaborador {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -43px -215px;
  width: 38px;
  height: 35px;
}
i.IR.sprt-relato-autores {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -86px -215px;
  width: 38px;
  height: 35px;
}

i.IR.sprt-relato-autor {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -129px -215px;
  width: 38px;
  height: 35px;
}

i.IR.sprt-chevronbig-left {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat 0 0;
  width: 32px;
  height: 32px;
}
i.IR.sprt-chevronbig-right {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -37px 0;
  width: 32px;
  height: 32px;
}
i.IR.sprt-activities {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat 0 -270px;
  width: 32px;
  height: 32px;
}
i.IR.sprt-chevronmini-down {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -68px -270px;
  width: 12px;
  height: 12px;
}
i.IR.sprt-tags {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -37px -270px;
  width: 26px;
  height: 26px;
}
i.IR.sprt-author {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat 0 -322px;
  width: 16px;
  height: 19px;
}
i.IR.sprt-heart {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -33px -322px;
  width: 19px;
  height: 16px;
}
i.IR.sprt-hearton {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -101px -322px;
  width: 20px;
  height: 17px;
}
i.IR.sprt-editor {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -70px -322px;
  width: 16px;
  height: 15px;
}
i.IR.sprt-comunidades {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -85px -270px;
  width: 31px;
  height: 31px;
}
i.IR.sprt-cursos {
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -124px -270px;
  width: 31px;
  height: 31px;
}

i.IR.sprt-profile-local {
  width: 18px;
  height: 18px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat left -90px;
}
i.IR.sprt-profile-profissao {
  width: 18px;
  height: 18px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -20px -90px;
}
i.IR.sprt-profile-nascimento {
  width: 15px;
  height: 18px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -46px -90px;
}

i.IR.sprt-profile-facebook {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat left -126px;
}
i.IR.sprt-profile-twitter {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -74px -126px;
}
i.IR.sprt-profile-gplus {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -37px -126px;

}
i.IR.sprt-profile-linkedin {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -148px -126px;
}
i.IR.sprt-profile-instagram {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -111px -126px;
}
i.IR.sprt-profile-youtube {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -185px -126px;
}
i.IR.sprt-profile-link {
  width: 32px;
  height: 32px;
  background: url(/theme/assets/img/sprite-profile.png) no-repeat -222px -126px;
}

h1, h2, h3, h4, h5, h6 {
  span.small {
    display: block;
    font-size: 13px;
    font-weight: normal;
  }
}
/*

topo da pagina de perfil

estilos gerais de formatação

*/
.user-picture {
  margin: 20px auto;
  display: block;
}

.user-fullname {
  color: #eebe40;
  font-weight: bold;
  font-size: 28px;
  text-align: center;
  margin-bottom: 0;
  @media (min-width: 768px) {
    text-align: left;
  }
}

.user-details {
  border-bottom: 1px solid #e0e0e0;
  margin: 0 0 10px 0;
  ul {
    margin: 0;
    padding: 0 0 10px 0;
    overflow: hidden;
    li {
      display: inline-block;
      list-style: none;
      width: 49%;
      padding: 3px 0;
      color: #747474;
      font-size: 12px;
      @media (min-width: 768px) {
        width: auto;
        margin-right: 10px;
        &:last-child {
          margin-right: 0;
        }
      }
    }
  }
}

.user-sociallinks {
  border-bottom: 1px solid #e0e0e0;
  margin: 10px 0;
  ul {
    margin: 0;
    padding: 5px 0 15px 0;
    overflow: hidden;
    text-align: center;
    font-size: 0.1em;
    @media (min-width: 768px) {
      text-align: left;
    }
    li {
      display: inline-block;
      list-style: none;
      margin: 0 2px;
    }
  }
}

.user-actions {
  margin: 10px 0;
  a.btn {
    padding: 7px 18px;
    font-size: 12px;
    display: block;
    width: 100%;
    margin: 10px 0;
    @media (min-width: 768px) {
      display: inline-block;
      width: auto;
      padding: 3px 18px;
    }
  }
}

.carousel-conquistas {
  background: url(/theme/assets/img/louros.png) no-repeat center;
  .carousel-inner {
    width: auto;
    margin: 0 15%;
  }
  .carousel-control {
    background: transparent;
    i.IR {
      width: 18px;
      height: 18px;
      position: absolute;
      left: 50%;
      top: 50%;
      margin: -9px 0 0 -9px;
      background: url(/theme/assets/img/sprite-profile.png) no-repeat left -52px;
    }
    i.IR.sprt-chevron-mini-right {
      background-position: -22px -52px;
    }
  }
}

.trofeu-ganho {
  .conquistas-title {
    overflow: hidden;
    .conquista-badge {
      float: left;
      vertical-align: middle;
      margin-right: 10px;
    }
    color: #000;
    font-weight: bold;
    font-size: 20px;
    min-height: 65px;
    vertical-align: middle;
  }
  .desc-trofeu {
    font-size: 12px;
    color: #000;
    margin: 15px 0;
  }
  a.btn-link {
    font-weight: bold;
    text-decoration: underline;
    font-size: 12px;
    &:hover {
      text-decoration: none;
    }
  }
}

.profile-menu {
  .nav {
    margin: 20px 0;
    font-weight: bold;
    .badge {
      background: #2d84b8;
    }
    .active {
      a, a:hover {
        background: #f0b51b;
        .badge {
          color: #f0b51b;
        }
      }

    }
  }
}

.user-profile {
  .nav.nav-pills {
    li {
      a {
        border-radius: 3px;
        &.active {
          background: #f0b51b;
          color: #fff;
        }
      }
    }
  }
  .box {
    border-radius: 3px;
    background: #fff;
    border: 1px solid #efefef;
    overflow: hidden;
    padding: 20px 25px;
  }
}

/*

  TIMELINE

*/

.profile-timeline {
  > .col-md-6:first-child {
    border-right: 2px solid #e4e5e9;
  }
  .timeline-section {
    h3.title {
      font-weight: bold;
      font-size: 24px;
      margin-top: 0;
    }
    position: relative;
    padding: 20px 0;
    border-bottom: 1px solid #dcdcdc;
    &:first-child:before {
      display: none;
    }
    &:before {
      content: ' ';
      background: #ccc;
      width: 13px;
      height: 13px;
      border: 2px solid #f2f9f2;
      position: absolute;
      right: -23px;
      top: -7px;
      border-radius: 50%;
    }
    .link-more {
      position: absolute;
      right: 0;
      top: 20px;
      font-size: 12px;
      font-weight: bold;
      text-decoration: underline;
      &:hover {
        text-decoration: none;
      }
    }
    .empty-section {
      font-size: 16px;
      background: #fff;
      color: #adadad;
      border: 2px dashed #adadad;
      text-align: center;
      padding: 17px;
    }
    .content {
      padding-top: 20px;
    }
  }
  .timeline-section.blue {
    h3.title {
      color: #498aca;
    }
    &:before {
      background: #2683bc;
    }
  }
  .timeline-section.green {
    h3.title {
      color: #449c84;
      i.IR.sprt-chevron-up {
        background: url(/theme/assets/img/sprite-profile.png) no-repeat -89px -178px;
      }
      i.IR.sprt-chevron-down {
        background: url(/theme/assets/img/sprite-profile.png) no-repeat -112px -178px;
      }
    }
    &:before {
      background: #449c84;
    }
  }
  .timeline-section.yellow {
    h3.title {
      color: #f7be3d;
      i.IR.sprt-chevron-up {
        background: url(/theme/assets/img/sprite-profile.png) no-repeat -43px -178px;
      }
      i.IR.sprt-chevron-down {
        background: url(/theme/assets/img/sprite-profile.png) no-repeat -66px -178px;
      }
    }
    &:before {
      background: #f7be3d;
    }
  }
  .timeline-collapse {
    h3.title {
      cursor: pointer;
    }
  }
  .timeline-section-about {
    .title {
      color: #444;
    }
    .content {
      color: #949494;
    }
  }
}

.timeline-section-comunidades {
  .content {
    overflow: hidden;
  }
}

.relatos-list {
  margin: 0;
  padding: 0;
  li {
    display: table;
    list-style: none;
    overflow: hidden;
    padding: 8px 0;
    i.IR {
      float: left;
      display: table-cell;
      vertical-align: middle;
    }
    a {
      padding-left: 15px;
      vertical-align: middle;
      display: table-cell;
      color: #434343;
      font-size: 12px;
    }
  }
}

.carousel-multiple {
display:none;
}
.nbs-flexisel-container {
    position:relative;
    max-width:100%;
    overflow: hidden;
}
.nbs-flexisel-ul {
    position:relative;
    width:9999px;
    margin:0px;
    padding:0px;
    list-style-type:none;   
    text-align:center; 
}

.nbs-flexisel-inner {
    overflow:hidden;
    float:left;
    width:80%; 
    margin: 0 10%;
}

.nbs-flexisel-item {
    float:left;
    margin:0px;
    padding:0px;
    cursor:pointer;
    position:relative;
    line-height:0px;
}

/*** Navigation ***/

.nbs-flexisel-nav-left,
.nbs-flexisel-nav-right {
    position: absolute;
    cursor: pointer;
    z-index: 100;
}

.nbs-flexisel-nav-left {
    left: 0;
    background: url(/theme/assets/img/sprite-profile.png) no-repeat 0 0;
    width: 32px;
    height: 32px;
}

.nbs-flexisel-nav-right {
    right: 0;
    background: url(/theme/assets/img/sprite-profile.png) no-repeat -37px 0;
    width: 32px;
    height: 32px;
}

.carousel-multiple {
  li {
    text-align: center;
    overflow: hidden;
    .carousel-img {
      width: 99px;
      height: 99px;
      border-radius: 50%;
      margin: auto;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      margin-bottom: 17px;
    }
    img {
      display: block;
      margin: auto;
      margin-bottom: 17px;
    }
    a {
      font-size: 12px;
      color: #35a9e2;
      font-weight: bold;
      line-height: normal;
      display: block;
      margin: 0 5px;
    }
  }
  .carousel-control {
    .IR {
      position: absolute;
      left: 50%;
      top: 50%;
      margin: -16px 0 0 -16px;
    }
  }
}

table.table {
  border-bottom: 2px solid #444;
}
table.table thead {
  border-bottom: 4px solid #444;
}
table.table thead tr th {
  font-size: 18px;
  color: #454545;
  font-weight: bold;
  padding: 10px 0 20px 0;
  width: 25%;
}
table.table tbody tr td {
  padding: 35px 5px;
}
table.table tbody tr {
  border-bottom: 2px solid #444;
}
table.table tbody tr:last-child {
  border-bottom: none;
}

/*
  ATIVIDADES
 */

.activities-list {
  .activities-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 25px;
    margin-left: 37px;
  }
  .we-iframe-activities {
    border: none;
  }
  .activity {
    padding: 0;
    margin-bottom: 20px;
    a {
      color: #34a7e0;
    }
    .activity-info {
      padding: 20px 25px 0 25px;
      color: #434343;
      .author-picture {
        margin-right: 12px;
      }
      .share-info {
        font-size: 11px;
        text-align: right;
        font-weight: bold;
      }
    }
    .activity-content {
      padding: 20px 25px;
      color: #444;
      img, iframe {
        max-width: 100%;
        height: auto;
      }
      iframe {
        width:100%;
        height: 350px;
      }
      h2, h3, h4, h5, h6 {
        font-weight: bold;
        color: #444;
      }
      h2 {
        font-size: 24px;
      }
      .source {
        text-align: right;
        font-size: 12px;
        color: #c6c6c6;
        a {
          color: #c6c6c6;
        }
      }
    }
    .activity-footer {
      border-top: 1px solid #ebebeb;
      padding-top: 10px;
      .activity-footer-info {
        padding: 0 25px;
        .activity-tags {
          i.IR {
            margin-right: 10px;
          }
          a {
            color: #444;
            font-size: 12px;
          }
        }
        .activity-showcomments {
          font-weight: bold;
          font-size: 12px;
          text-align: right;
        }
      }
    }
    .activity-comment-list {
      .activity-comment {
        border-bottom: 1px solid #ebebeb;
        padding: 20px 25px;
        &:last-child {
          border: none;
        }
        .comment-info {
          font-size: 12px;
          .author-picture {
            margin-right: 10px;
          }
        }
        .comment-content {
          padding-left: 44px;
        }
      }
    }
    .activity-make-comment {
      padding: 20px 25px;
      background: #f5f5f5;
      .make-comment {
        cursor: pointer;
        font-weight: bold;
        color: #444;
        background: #fff;
        border-radius: 3px;
        padding: 10px;
        font-size: 14px;
      }
    }
  }
}

/*
  view-profile-comunidades
 */


.groups-list {
  .list-title {
    font-weight: bold;
    font-size: 24px;
    i.IR {
      margin-right: 10px;
    }
  }
  .list-content {
    padding-top: 10px;
    > .row {
      margin-bottom: 20px;
    }
    > .row:last-child {
      margin-bottom: 0;
    }
    .group {
      overflow: hidden;
      .group-image {
        float: left;
        margin-bottom: 15px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
      }
      .group-info {
        margin-left: 180px;
        .group-title {
          font-weight: bold;
          font-size: 18px;
          margin: 0 0 20px 0;
          line-height: 1.3em;
        }
        .group-desc {
          font-size: 12px;
          color: #444;
          margin-bottom: 15px;
        }
      }
      .group-actions {
        clear: both;
        text-align: right;
        .btn {
          font-size: 14px;
          margin: 0 3px;
          i.IR+span {
            margin-left: 10px;
          }
        }
        .btn.action-like {
          background: #f2f2f2;
        }
      }
    }
  }
}

/*

view-profile-cursos

 */

.courses-list {
  .list-title,
  .courses-title{
    font-weight: bold;
    font-size: 24px;
    i.IR {
      margin-right: 10px;
    }
  }
  .courses-title {
    .small {
      margin-left: 41px;
      a {
        text-decoration: underline;
      }
      a:hover {
        text-decoration: none;
      }
    }
  }
  .list-content {
    > .row {
      > .col-md-6:last-child {
        border-left: 2px solid #e4e5e9;
      }
    }
    padding-top: 10px;
    .course {
      margin-bottom: 20px;
      overflow: hidden;
      .course-image {
        float: left;
        margin-bottom: 15px;
        width: 160px;
      }
      .course-info {
        margin-left: 180px;
        > .inner {
          display: table;
          width: 100%;
          min-height: 160px;
        }
        .course-title {
          font-weight: bold;
          font-size: 18px;
          margin: 0 0 20px 0;
          line-height: 1.3em;
          display: table-cell;
          vertical-align: middle;
        }
      }
      .course-actions {
        clear: both;
        text-align: right;
        .btn {
          font-size: 14px;
          margin: 0 3px;
          i.IR+span {
            margin-left: 10px;
          }
        }
        .btn.action-like {
          background: #f2f2f2;
        }
      }
    }
  }
}

.formacao-list {
  .list-content {
    overflow: visible;
    .historico-formacao-title {
      font-weight: bold;
      font-size: 20px;
      .small {
        a {
          text-decoration: underline;
        }
        a:hover {
          text-decoration: none;
        }
      }
    }
    .formacao {
      color: #747474;
      font-size: 12px;
      padding: 20px 0;
      border-bottom: 1px solid #e1e1e1;
      position: relative;
      &:before {
        content: ' ';
        background: #3d9980;
        width: 13px;
        height: 13px;
        border: 2px solid #f2f9f2;
        position: absolute;
        left: -49px;
        top: 20px;
        border-radius: 50%;
      }
      h4 {
        font-weight: bold;
        margin: 0 0 12px 0;
      }
    }
    .formacao:first-child {
      &:before {
        background: #2479b0;
        top: 45px;
      }
    }
    .formacao:last-child {
      border-bottom: none;
      padding-bottom: 0;
      &:before {
        display: none;
      }
    }
    .formacao.lattes {
      font-weight: bold;
      font-size: 14px;
      i.IR {
        margin-right: 10px;
      }
    }
  }
}

/*

view-profile-relatos

 */

.relatos-list {
  padding: 20px 25px;
  .list-content {
    padding-top: 20px;
    > .row {
      margin-bottom: 20px;
    }
    > .row:last-child {
      margin-bottom: 0;
    }
    .relato {
      padding-bottom: 20px;
      border-bottom: 1px solid #ebebeb;
      position: relative;
      .relato-image {
        position: relative;
        overflow: hidden;
        border-radius: 3px;
        a {
          border-radius: 3px;
          max-width: 100%;
          height: auto;
          display: block;
          height: 245px;
          background-size: cover;
          background-repeat: no-repeat;
          background-position: center;
        }
        &:before {
          content: ' ';
          position: absolute;
          left: 0;
          bottom: 0;
          right: 0;
          top: 0;
          background: -moz-linear-gradient(top, rgba(0,0,0,0) 56%, rgba(0,0,0,0.75) 100%); /* FF3.6+ */
          background: -webkit-gradient(linear, left top, left bottom, color-stop(56%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.75))); /* Chrome,Safari4+ */
          background: -webkit-linear-gradient(top, rgba(0,0,0,0) 56%,rgba(0,0,0,0.75) 100%); /* Chrome10+,Safari5.1+ */
          background: -o-linear-gradient(top, rgba(0,0,0,0) 56%,rgba(0,0,0,0.75) 100%); /* Opera 11.10+ */
          background: -ms-linear-gradient(top, rgba(0,0,0,0) 56%,rgba(0,0,0,0.75) 100%); /* IE10+ */
          background: linear-gradient(to bottom, rgba(0,0,0,0) 56%,rgba(0,0,0,0.75) 100%); /* W3C */
          filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#bf000000',GradientType=0 ); /* IE6-9 */
        }
      }
      .relato-type {
        font-weight: bold;
        color: #fff;
        position: absolute;
        margin-top: -37px;
        left: 20px;
        i.IR {
          margin-right: 10px;
        }
      }
      .relato-title {
        font-size: 18px;
        font-weight: bold;
        margin: 15px 0 0 0;
      }
      .relato-info {
        margin: 15px 0 0 0;
      }
    }
  }
  .list-show-more {
    text-align: right;
    margin-top: 10px;
  }
}

/*

view-profile-trofeus

 */


.trofeus-list {
  .list-content {
    table.table {
      tr {
        td {
          vertical-align: middle;
        }
        td.trofeu-selo {
          text-align: center;
        }
        td.trofeu-desc {
          font-size: 14px;
          line-height: 1.3em;
          color: #444;
          .trofeu-desc-title {
            color: #1f83be;
            font-weight: bold;
            margin: 0;
          }
        }
        td.trofeu-data {
          text-align: center;
          color: #444;
          font-weight: bold;
        }
        td.trofeu-como {
          font-size: 14px;
          line-height: 1.3em;
          color: #444;
        }
      }
    }
  }
}

/*

COMPATIBILIDADE DE PERFIL / SUSANA

 */

.compatibilidade-perfil {
  text-align: center;
  margin-top: 30px;
  &> div {
    display: inline-block;
    vertical-align: top;
  }
  .aprender,
  .ensinar {
    h3 {
      font-size: 16px;
      font-weight: bold;
      color: #424242;
      margin: 0;
    }
    .badge-list {
      border: none;
      .badge {
        margin-top: 5px;
        background: #4a8bcd;
        max-width: 160px;
        overflow: hidden;
      }
    }
  }
  .aprender {
    text-align: right;
    .badge-list {
      .badge {
        float: right;
        clear: right;
      }
    }
  }
  .ensinar {
    text-align: left;
    .badge-list {
      .badge {
        float: left;
        clear: left;
        background: #479983;
      }
    }
  }
  .cp-center {
    width: 140px;
    position: relative;
    margin: 0 20px;
    .c100 {
      font-size: 140px;
      margin: 0;
      &:after {
        width: 0.915em;
        height: 0.915em;
        top: 0.04em;
        left: 0.04em;
      }
      .bar {
        border-color: #479983;
      }
    }
    .susana {
      position: absolute;
      top: -15px;
      left: 15px;
    }
    .porcentagem {
      text-align: center;
      font-weight: bold;
      color: #479983;
      font-size: 20px;
      clear: both;
      padding-top: 7px;
      line-height: 1em;
    }
    small {
      color: #8c8c8c;
      font-size: 11px;
    }
  }
}